CN111784119A - Risk control strategy migration method, strategy package generation method and device - Google Patents

Risk control strategy migration method, strategy package generation method and device Download PDF

Info

Publication number
CN111784119A
CN111784119A CN202010533163.1A CN202010533163A CN111784119A CN 111784119 A CN111784119 A CN 111784119A CN 202010533163 A CN202010533163 A CN 202010533163A CN 111784119 A CN111784119 A CN 111784119A
Authority
CN
China
Prior art keywords
risk control
policy
information
target
package
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.)
Granted
Application number
CN202010533163.1A
Other languages
Chinese (zh)
Other versions
CN111784119B (en
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.)
Alipay Hangzhou Digital Service Technology Co ltd
Original Assignee
Alipay Hangzhou Information 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010533163.1A priority Critical patent/CN111784119B/en
Publication of CN111784119A publication Critical patent/CN111784119A/en
Application granted granted Critical
Publication of CN111784119B publication Critical patent/CN111784119B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0635Risk analysis of enterprise or organisation activities
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Game Theory and Decision Science (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

本说明书实施例提供了一种风控策略迁移方法、策略包生成方法以及装置,该迁移方法通过先获取策略提供端生成的风控策略包,风控策略包中包括:多个策略信息以及所述多个策略信息之间的索引关系信息,然后根据该索引关系信息,将上述多个策略信息均导入目标风控系统,以在目标风控系统中运行该目标策略规则,对目标类型的风险进行防控。

Figure 202010533163

This specification provides a risk control strategy migration method, a strategy package generation method, and an apparatus. The migration method first obtains a risk control strategy package generated by a strategy provider. The risk control strategy package includes multiple strategy information and index relationship information between the multiple strategy information. Then, based on the index relationship information, the multiple strategy information is imported into the target risk control system to run the target strategy rule in the target risk control system and control the risk of the target type.

Figure 202010533163

Description

风控策略迁移方法、策略包生成方法及装置Risk control strategy migration method, strategy package generation method and device

技术领域technical field

本说明书实施例涉及风控技术领域,尤其涉及一种风控策略迁移方法、策略包生成方法以及装置。The embodiments of this specification relate to the technical field of risk control, and in particular, to a method for migrating a risk control strategy, a method for generating a strategy package, and an apparatus.

背景技术Background technique

随着互联网技术的发展,越来越多的业务都可以在线上处理,如转账、支付等,极大地方便了用户的工作和生活。然而,在享受便利的同时,也面临着各种各样的风险,这也就对网络业务平台的风控系统提出了很高的要求,需要在风控系统中部署大量的风控策略规则,以应对业务处理过程中可能存在的风险。With the development of Internet technology, more and more businesses can be processed online, such as transfers and payments, which greatly facilitates the work and life of users. However, while enjoying the convenience, it also faces various risks, which also puts forward high requirements for the risk control system of the network business platform. It is necessary to deploy a large number of risk control policy rules in the risk control system. In order to deal with the risks that may exist in the process of business processing.

发明内容SUMMARY OF THE INVENTION

本说明书实施例提供了一种风控策略迁移方法、策略包生成方法以及装置。The embodiments of this specification provide a method for migrating a risk control strategy, a method for generating a strategy package, and an apparatus.

第一方面,本说明书实施例提供了一种风控策略迁移方法,包括:获取风控策略包,所述风控策略包包括:多个策略信息以及所述多个策略信息之间的索引关系信息,所述多个策略信息包括目标策略规则、所述目标策略规则配置的变量以及所述变量配置的参数;根据所述索引关系信息,将所述多个策略信息均导入目标风控系统,以在所述目标风控系统中运行所述目标策略规则。In a first aspect, an embodiment of this specification provides a method for migrating a risk control strategy, including: acquiring a risk control strategy package, where the risk control strategy package includes: a plurality of strategy information and an index relationship between the plurality of strategy information information, the multiple policy information includes target policy rules, variables configured by the target policy rules, and parameters configured by the variables; according to the index relationship information, the multiple policy information is imported into the target risk control system, to run the target policy rule in the target risk control system.

第二方面,本说明书实施例提供了一种风控策略包生成方法,用于生成上述第一方面提供的风控策略迁移方法中所述的风控策略包。所述方法包括:响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包,所述风控策略包用于导入第二风控系统对所述目标类型的风险进行防控。In a second aspect, the embodiments of this specification provide a method for generating a risk control strategy package, which is used to generate the risk control strategy package described in the method for migrating a risk control strategy provided in the first aspect. The method includes: in response to a policy package generation instruction triggered by a user, determining a target policy rule in the first risk control system, where the target policy rule is used to identify the risk of the target type; based on a preset data blood relationship information database, obtain The index relationship information of the target policy rule; according to the index relationship information, determine the configuration information of the target policy rule, the configuration information includes: the variable configured by the target policy rule and the parameter configured by the variable; The target policy rule, the configuration information of the target policy rule, and the index relationship information are derived from the first risk control system to generate the risk control policy package, which is used to import the second risk control policy package. The risk control system controls the risk of the target type.

第三方面,本说明书实施例提供了一种风控策略迁移方法,包括:响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息,并根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成风控策略包;响应于所述用户触发的策略包导入指令,根据所述风控策略包中的索引关系信息,将所述目标策略规则以及所述目标策略规则的配置信息均导入第二风控系统,以在所述第二风控系统中运行所述目标策略规则。In a third aspect, the embodiments of this specification provide a method for migrating a risk control strategy, including: in response to a strategy package generation instruction triggered by a user, determining a target strategy rule in the first risk control system, where the target strategy rule is used to identify The risk of the target type; based on the preset data blood relationship information database, the index relationship information of the target policy rule is obtained, and according to the index relationship information, the configuration information of the target policy rule is determined, and the configuration information includes: The variable configured by the target policy rule and the parameter configured by the variable; the target policy rule, the configuration information of the target policy rule and the index relationship information are derived from the first risk control system to generate a risk control system. strategy package; in response to the strategy package import instruction triggered by the user, according to the index relationship information in the risk control strategy package, import the target strategy rule and the configuration information of the target strategy rule into the second risk control system , to run the target policy rule in the second risk control system.

第四方面,本说明书实施例提供了一种风控策略迁移装置,包括:获取模块,用于获取风控策略包,所述风控策略包包括:多个策略信息以及所述多个策略信息之间的索引关系信息,所述多个策略信息包括目标策略规则、所述目标策略规则配置的变量以及所述变量配置的参数;导入模块,用于根据所述索引关系信息,将所述多个策略信息均导入目标风控系统,以在所述目标风控系统中运行所述目标策略规则。In a fourth aspect, an embodiment of this specification provides an apparatus for migrating a risk control strategy, including: an acquisition module configured to acquire a risk control strategy package, where the risk control strategy package includes: a plurality of strategy information and the plurality of strategy information The index relationship information between them, the multiple policy information includes target policy rules, variables configured by the target policy rules, and parameters configured by the variables; an import module is used to import the multiple policy information according to the index relationship information. Each policy information is imported into the target risk control system to run the target policy rules in the target risk control system.

第五方面,本说明书实施例提供了一种风控策略包生成装置,用于生成上述第一方面提供的风控策略迁移方法中所述的风控策略包,所述装置包括:规则确定模块,用于响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;关系信息获取模块,用于基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;配置信息获取模块,用于根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;导出模块,用于将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包,所述风控策略包用于导入第二风控系统对所述目标类型的风险进行防控。In a fifth aspect, the embodiments of this specification provide a device for generating a risk control strategy package, which is used to generate the risk control strategy package described in the method for migrating a risk control strategy provided in the first aspect. The device includes: a rule determination module , for determining the target policy rule in the first risk control system in response to the policy package generation instruction triggered by the user, and the target policy rule is used to identify the risk of the target type; the relationship information acquisition module is used for based on preset data. A blood relationship information base, to obtain the index relationship information of the target policy rule; a configuration information acquisition module, configured to determine the configuration information of the target policy rule according to the index relationship information, and the configuration information includes: the target policy rule The configured variable and the parameter configured by the variable; the export module is used to export the target policy rule, the configuration information of the target policy rule and the index relationship information from the first risk control system, and generate the The risk control strategy package is used to import the second risk control system to prevent and control the risk of the target type.

第六方面,本说明书实施例提供了一种风控策略迁移装置,包括:策略包导出模块,用于响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息,并根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成风控策略包;策略包导入模块,用于响应于所述用户触发的策略包导入指令,根据所述风控策略包中的索引关系信息,将所述目标策略规则以及所述目标策略规则的配置信息均导入第二风控系统,以在所述第二风控系统中运行所述目标策略规则。In a sixth aspect, the embodiments of this specification provide an apparatus for migrating a risk control strategy, including: a strategy package export module, configured to determine a target strategy rule in the first risk control system in response to a strategy package generation instruction triggered by a user, so that the The target policy rule is used to identify the risk of the target type; based on a preset data lineage information database, the index relationship information of the target policy rule is obtained, and according to the index relationship information, the configuration information of the target policy rule is determined, The configuration information includes: the variable configured by the target policy rule and the parameter configured by the variable; Export in the system to generate a risk control strategy package; a strategy package import module is used to, in response to a strategy package import instruction triggered by the user, according to the index relationship information in the risk control strategy package, import the target strategy rules and all The configuration information of the target policy rule is imported into the second risk control system to run the target policy rule in the second risk control system.

第七方面,本说明书实施例提供了一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述第一方面提供的风控策略迁移方法、第二方面提供的策略包生成方法或第三方面提供的风控策略迁移方法的步骤。In a seventh aspect, the embodiments of this specification provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the above-mentioned first program when the processor executes the program Steps of the method for migrating a risk control strategy provided by the aspect, the method for generating a strategy package provided by the second aspect, or the method for migrating the risk control strategy provided by the third aspect.

第八方面,本说明书实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述第一方面提供的风控策略迁移方法、第二方面提供的策略包生成方法或第三方面提供的风控策略迁移方法的步骤。In an eighth aspect, the embodiments of this specification provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the risk control strategy migration method provided in the first aspect, and the method provided in the second aspect. The steps of the strategy package generation method or the risk control strategy migration method provided by the third aspect.

本说明书一个实施例提供的风控策略包生成方法,通过从第一风控系统中确定目标策略规则,然后基于预设的数据血缘信息库,获取目标策略规则的索引关系信息,进而基于索引关系信息,确定目标策略规则的配置信息,再将目标策略规则、目标策略规则的配置信息,及其索引关系信息一起打包成风控策略包,快速地从风控系统中导出。这样可以使得策略规则、策略规则的配置信息以及索引关系信息一起作为一个独立的文件存在,并可以脱离系统转移,有利于实现风控策略规则的跨系统应用。In the method for generating a risk control strategy package provided by an embodiment of this specification, a target strategy rule is determined from a first risk control system, and then based on a preset data lineage information database, the index relationship information of the target strategy rule is obtained, and then based on the index relationship information, determine the configuration information of the target policy rules, and then package the target policy rules, the configuration information of the target policy rules, and their index relationship information together into a risk control policy package, which can be quickly exported from the risk control system. In this way, the policy rules, the configuration information of the policy rules, and the index relationship information can exist together as an independent file, and can be transferred out of the system, which is conducive to realizing the cross-system application of the risk control policy rules.

进一步,本说明书一个实施例提供的风控策略迁移方法,通过获取风控策略包,风控策略包中包括有多个策略信息以及多个策略信息之间的索引关系信息,多个策略信息包括目标策略规则、该目标策略规则配置的变量以及变量配置的参数,进而根据该索引关系信息,将上述多个策略信息均导入目标风控系统,以在目标风控系统中运行该目标策略规则,对目标类型的风险进行风控。通过将脱离原本所在风控系统、以独立文件存在的风控策略包导入到目标风控系统,有效地实现了风控策略规则的跨系统应用,并且用户可以在1人日内自行快速完成风控策略包的导入,无需有风险运营经验的专业人员参与,有效地提高了风控策略的部署效率,降低了人力成本。Further, in the method for migrating a risk control strategy provided by an embodiment of this specification, by acquiring a risk control strategy package, the risk control strategy package includes a plurality of strategy information and index relationship information between the plurality of strategy information, and the plurality of strategy information includes The target policy rule, the variable configured by the target policy rule, and the parameter configured by the variable, and then according to the index relationship information, the above-mentioned multiple policy information is imported into the target risk control system, so as to run the target policy rule in the target risk control system, Risk control of the target type of risk. By importing the risk control strategy package, which is separated from the original risk control system and exists as an independent file, into the target risk control system, the cross-system application of the risk control strategy rules is effectively realized, and the user can quickly complete the risk control within 1 day. The introduction of the strategy package does not require the participation of professionals with risk operation experience, which effectively improves the deployment efficiency of risk control strategies and reduces labor costs.

附图说明Description of drawings

图1为本说明书实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of this specification;

图2为本说明书实施例第一方面提供的一种风控策略包生成方法的流程图;FIG. 2 is a flowchart of a method for generating a risk control strategy package according to the first aspect of the embodiment of the present specification;

图3为本说明书实施例第一方面提供的策略规则的逐层依赖关系示意图;FIG. 3 is a schematic diagram of a layer-by-layer dependency relationship of a policy rule provided by the first aspect of the embodiment of the present specification;

图4为本说明书实施例第二方面提供的一种风控策略迁移方法的流程图;4 is a flowchart of a method for migrating a risk control strategy according to the second aspect of the embodiment of the present specification;

图5为本说明书实施例第三方面提供的一种风控策略迁移方法的流程图;FIG. 5 is a flowchart of a method for migrating a risk control strategy provided by the third aspect of the embodiment of the present specification;

图6为本说明书实施例第四方面提供的一种风控策略包生成装置的模块框图;6 is a block diagram of a module of an apparatus for generating a risk control strategy package provided by the fourth aspect of the embodiment of the present specification;

图7为本说明书实施例第五方面提供的一种风控策略迁移装置的模块框图;FIG. 7 is a block diagram of a module of an apparatus for migrating a risk control strategy provided by the fifth aspect of the embodiment of the present specification;

图8为本说明书实施例第六方面提供的一种风控策略迁移装置的模块框图;8 is a block diagram of a module of an apparatus for migrating a risk control strategy provided by the sixth aspect of the embodiment of the present specification;

图9为本说明书实施例第七方面提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to a seventh aspect of an embodiment of the present specification.

具体实施方式Detailed ways

随着网络业务的越来越多样化,对风控系统的要求也越来越高,需要配置大量的风控策略来实现对各类风险的识别,以保证业务系统的正常运行。但是对于某些小型网络平台来讲,无法投入大量的人力和财力来开发自己的风控引擎,需要从第三方平台购买相关风控产品。考虑到购买方在购买产品后的前期风险运营能力较弱,为了帮助购买方快速启动风险运营,产品方会派驻有风险运营经验的专业人员为购买方部署风控策略。由于风控策略作为精细化风险运营配置,其中信息层级较多,逐层校验和依赖关系复杂,部署风控策略需要依靠专业人员,消耗大概10-20个人日(即一个人做10-20个工作日),效率低,人力成本高,且无法同时为多个购买方提供服务。With the increasing diversification of network services, the requirements for risk control systems are getting higher and higher, and a large number of risk control strategies need to be configured to identify various risks and ensure the normal operation of business systems. However, for some small network platforms, it is impossible to invest a lot of manpower and financial resources to develop their own risk control engines, and they need to purchase relevant risk control products from third-party platforms. Considering that the buyer's early risk operation capability after purchasing the product is relatively weak, in order to help the buyer quickly start the risk operation, the product side will dispatch professionals with risk operation experience to deploy the risk control strategy for the buyer. As the risk control strategy is a refined risk operation configuration, there are many layers of information, and the layer-by-layer verification and dependencies are complex. The deployment of the risk control strategy needs to rely on professionals, which consumes about 10-20 person-days (that is, one person does 10-20 person-days). working days), low efficiency, high labor costs, and inability to serve multiple buyers at the same time.

有鉴于此,本说明书实施例提供了一种风控策略包生成方法,通过从第一风控系统中确定目标策略规则,然后基于预设的数据血缘信息库,获取目标策略规则的索引关系信息;根据所获取的索引关系信息,确定该目标策略规则的配置信息,包括:目标策略规则配置的变量以及变量配置的参数,接着将上述的目标策略规则、目标策略规则的配置信息以及索引关系信息从第一风控系统中导出,生成风控策略包。这样,该风控策略包就可以被独立应用于区别于第一风控系统的其他第二风控系统,对第二风控系统中目标类型的风险进行防控。In view of this, the embodiments of this specification provide a method for generating a risk control strategy package, by determining the target strategy rule from the first risk control system, and then obtaining the index relationship information of the target strategy rule based on a preset data lineage information database. According to the obtained index relationship information, determine the configuration information of this target policy rule, including: the variable of the target policy rule configuration and the parameter of the variable configuration, then the above-mentioned target policy rule, the configuration information of the target policy rule and the index relationship information Export from the first risk control system to generate a risk control strategy package. In this way, the risk control strategy package can be independently applied to other second risk control systems different from the first risk control system to prevent and control the risks of target types in the second risk control system.

进一步地,本说明书实施例还提供了一种风控策略迁移方法,通过先获取风控策略包,风控策略包中包括:多个策略信息以及多个策略信息之间的索引关系信息,上述多个策略信息包括目标策略规则、目标策略规则配置的变量以及变量配置的参数,目标策略规则用于对目标类型的风险进行识别;然后根据该索引关系信息,将上述多个策略信息均导入目标风控系统,以在目标风控系统中运行风控策略包中的目标策略规则,对目标类型的风险进行防控。Further, the embodiments of this specification also provide a method for migrating a risk control strategy. By first acquiring a risk control strategy package, the risk control strategy package includes: a plurality of strategy information and index relationship information between the plurality of strategy information. The multiple policy information includes target policy rules, variables configured by the target policy rules, and parameters configured by the variables, and the target policy rules are used to identify the risk of the target type; then, according to the index relationship information, import the above multiple policy information into the target The risk control system runs the target policy rules in the risk control policy package in the target risk control system to prevent and control the risks of the target type.

通过本说明书实施例提供的风控策略包生成方法能够将某种风险类型的策略规则做成策略包,快速地从风控系统中导出,使得策略规则、策略规则的配置信息以及策略规则的索引关系信息一起作为一个独立的文件存在,并可以脱离系统在多个独立系统间迁移,有利于实现风控策略规则的跨系统应用。进一步,通过本说明书实施例提供的风控策略迁移方法,将脱离原本所在的风控系统的风控策略包,导入到目标风控系统,实现风控策略规则的跨系统应用。这样就可以根据用户的需求导出相应风险类型的风控策略包,提供给用户,用户可以在1人日内(即一个人在一个工作日内)自行快速完成风控策略包的导入,无需有风险运营经验的专业人员参与,有效地提高了风控策略的部署效率,降低了人力成本。并且,可以将同一风控策略包提供给多个不同用户,同时帮助多个用户部署风控策略,提高部署效率。With the method for generating a risk control policy package provided by the embodiments of this specification, a policy rule of a certain risk type can be made into a policy package and quickly derived from the risk control system, so that the policy rule, the configuration information of the policy rule and the index of the policy rule The relationship information exists together as an independent file, and can be migrated between multiple independent systems without the system, which is conducive to the realization of cross-system application of risk control policy rules. Further, through the risk control strategy migration method provided in the embodiments of this specification, the risk control strategy package that is separated from the original risk control system is imported into the target risk control system, so as to realize the cross-system application of the risk control strategy rules. In this way, the risk control strategy package of the corresponding risk type can be exported according to the user's needs and provided to the user. The user can quickly complete the import of the risk control strategy package within one person-day (that is, one person within one working day) without risk. The participation of professionals with operational experience can effectively improve the deployment efficiency of risk control strategies and reduce labor costs. In addition, the same risk control strategy package can be provided to multiple different users, helping multiple users to deploy risk control strategies at the same time, improving deployment efficiency.

需要说明的是,本说明书实施例提出的风控策略包为可执行并用于风险识别的策略规则,以及策略规则依赖的变量、累积策略、参数等信息的集合。风控策略包可以脱离风控系统存在和转移,以独立的文件形态存在。血缘信息是指策略包中各层信息的关联索引信息,可以表达策略规则与变量,以及其他信息之间的索引调用关系。It should be noted that the risk control strategy package proposed in the embodiments of this specification is an executable strategy rule used for risk identification, and a set of information such as variables, accumulated strategies, and parameters that the strategy rules depend on. The risk control strategy package can exist and transfer separately from the risk control system, and exists in the form of an independent file. The blood relationship information refers to the associated index information of each layer of information in the policy package, which can express the index calling relationship between policy rules, variables, and other information.

图1示出了本说明书实施例提供的一种示例性应用场景示意图。图1中,策略提供端100配置有第一风控系统和风控策略包生成装置,风控策略包生成装置用于实现本说明书实施例在以下第一方面提供的风控策略包生成方法,策略需求端101配置有第二风控系统和风控策略迁移装置,风控策略迁移装置用于实现本说明书实施例在以下第二方面提供的风控策略迁移方法。第一风控系统与第二风控系统为不同且相互独立的风控系统。第一风控系统中部署有目标策略规则,用于对目标类型的风险进行识别,策略提供端100通过配置的风控策略包生成装置,可以在相关人员的触发下从第一风控系统中导出该目标策略规则的风控策略包,用于在其他风控系统中部署目标策略规则。例如,如图1所示,若策略提供端100将导出的风控策略包提供给有需求的策略需求端101,策略需求端101可以通过风控策略迁移装置将该风控策略包导入第二风控系统,使得风控策略包中的目标策略规则在第二风控系统101中在线运转,以防范目标类型的风险。FIG. 1 shows a schematic diagram of an exemplary application scenario provided by an embodiment of this specification. In FIG. 1 , the strategy provider 100 is configured with a first risk control system and a risk control strategy package generation device, and the risk control strategy package generation device is used to implement the wind control strategy package generation method provided by the embodiments of this specification in the following first aspect. The strategy The demand side 101 is configured with a second wind control system and a wind control strategy migration device, and the wind control strategy migration device is used to implement the wind control strategy migration method provided by the embodiments of this specification in the following second aspect. The first wind control system and the second wind control system are different and independent wind control systems. Target policy rules are deployed in the first risk control system to identify the risks of target types. The policy provider 100 can, through the configured risk control policy package generating device, be triggered by relevant personnel from the first risk control system. Export the risk control policy package of the target policy rule, which is used to deploy the target policy rule in other risk control systems. For example, as shown in FIG. 1 , if the policy provider 100 provides the exported risk control policy package to the policy demander 101 in need, the policy demander 101 can import the risk control policy package into the second via the risk control policy migration device. The risk control system enables the target policy rules in the risk control policy package to run online in the second risk control system 101 to prevent the risk of the target type.

需要说明的是,本说明书实施例中,策略提供端100和策略需求端101为不同的设备,例如,具体可以是服务器,也可以是终端设备。此外,策略提供端可以将生成的风控策略包提供给一个或多个不同的策略需求端,图1中示出的策略需求端的数量仅为示意,具体可以根据实际应用场景确定,此处不作限制。It should be noted that, in the embodiment of this specification, the policy provider 100 and the policy demander 101 are different devices, for example, a server or a terminal device. In addition, the policy provider can provide the generated risk control policy package to one or more different policy demanders. The number of policy demanders shown in FIG. 1 is for illustration only, and can be determined according to the actual application scenario. limit.

为了更好的理解本说明书实施例提供的技术方案,下面通过附图以及具体实施例对本说明书实施例的技术方案做详细的说明,应当理解本说明书实施例以及实施例中的具体特征是对本说明书实施例技术方案的详细的说明,而不是对本说明书技术方案的限定,在不冲突的情况下,本说明书实施例以及实施例中的技术特征可以相互组合。In order to better understand the technical solutions provided by the embodiments of the present specification, the technical solutions of the embodiments of the present specification will be described in detail below with reference to the accompanying drawings and specific embodiments. The detailed description of the technical solutions of the embodiments is not a limitation on the technical solutions of the present specification, and the embodiments of the present specification and the technical features in the embodiments may be combined with each other under the condition of no conflict.

第一方面,图2示出了本说明书实施例提供的一种风控策略包生成方法的流程图。该风控策略包生成方法应用于策略提供端,请参阅图2,所述方法可以至少包括以下步骤S200至步骤S206。In a first aspect, FIG. 2 shows a flowchart of a method for generating a risk control strategy package provided by an embodiment of this specification. The method for generating a risk control policy package is applied to a policy provider, please refer to FIG. 2 , and the method may at least include the following steps S200 to S206 .

步骤S200,响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,目标策略规则用于识别目标类型的风险。Step S200, in response to a policy package generation instruction triggered by the user, determine a target policy rule in the first risk control system, where the target policy rule is used to identify the risk of the target type.

用户即第一风控系统的运营人员执行用于触发策略包生成指令的操作后,就可以启动步骤S200至步骤S206的策略包生成流程。举例来讲,在一种应用场景中,可以在策略提供端中预先配置的用户界面上显示用于触发策略包生成指令的导出按钮,用户点击该导出按钮,即可以触发策略包生成指令。当然,在本说明书其他实施例中,也可以通过其他方式触发策略包生成指令,此处不作限制。After the user, that is, the operator of the first risk control system, executes the operation for triggering the strategy package generation instruction, the strategy package generation process from steps S200 to S206 can be started. For example, in an application scenario, an export button for triggering the policy package generation instruction may be displayed on the user interface preconfigured in the policy provider, and the user clicks the export button to trigger the policy package generation instruction. Of course, in other embodiments of this specification, the policy package generation instruction may also be triggered in other ways, which is not limited here.

在生成风控策略包之前,需要先确定目标策略规则。目标策略规则即为需要生成风控策略包的策略规则。策略规则(Rule)是运行于风控系统中用于识别风险的规则,通常由比较符和变量组成,例如,某策略规则为若账户A在一天内的登录次数超过M次,则判定账户A存在风险。Before generating the risk control policy package, you need to determine the target policy rules. The target policy rule is the policy rule that needs to generate the risk control policy package. Policy rules (Rule) are rules that run in the risk control system to identify risks. They are usually composed of comparators and variables. For example, a policy rule is that if account A has logged in more than M times in a day, account A will be determined. There is a risk.

本说明书实施例中,确定目标策略规则的实施方式有多种,下面主要列举三种示例性实施方式进行说明,在具体实施过程中,可以根据实际应用场景采用其他确定方式,此处不作限制。In the embodiments of this specification, there are various implementations for determining the target policy rule, and three exemplary implementations are mainly listed below for description.

第一种,用户可以在第一风控系统的策略规则库中选择策略规则,将用户选择的策略规则作为目标策略规则。First, the user can select a policy rule in the policy rule base of the first risk control system, and use the policy rule selected by the user as the target policy rule.

第二种,用户可以在策略提供端中预先配置的用户界面上输入风险类型即目标类型,查询第一风控系统中与该风险类型匹配的策略规则,将匹配的策略规则作为目标策略规则,或者,匹配的策略规则有多个,用户可以从中选择一个或多个作为目标策略规则。需要说明的是,若确定的目标策略规则有多个,则可以针对每个目标策略规则,分别生成相应的风控策略包。Second, the user can enter the risk type, that is, the target type, on the user interface preconfigured in the policy provider, query the policy rule matching the risk type in the first risk control system, and use the matching policy rule as the target policy rule. Alternatively, there are multiple matching policy rules, and the user can select one or more of them as the target policy rule. It should be noted that, if there are multiple target policy rules determined, a corresponding risk control policy package may be separately generated for each target policy rule.

第三种,策略提供端可以在线接收策略需求端发送的风控策略请求,风控策略请求中包括控策略需求端身份信息、风险类型等信息。策略提供端可以在识别完风控策略请求后,基于风控策略请求创建策略包生成任务,展示在预先配置的用户界面上的任务列表中。任务列表中不仅可以包括策略包生成任务,也可以包括策略包生成任务的状态,例如状态类型可以包括已完成、未处理以及正在处理等。这样用户就可以通过任务列表了解各个任务的完成状态,并且选择未处理的任务,触发针对该任务的策略包生成指令。将任务中包含的风险类型作为目标类型,与系统中的策略规则对应风险类型进行匹配,将匹配的策略规则作为目标策略规则,生成相应的风控策略包后,反馈给策略需求端。并且,将任务列表中该任务的状态更新为已完成。Third, the policy provider can receive the risk control policy request sent by the policy demander online, and the risk control policy request includes information such as the identity information of the control policy demander and the risk type. After identifying the risk control policy request, the policy provider can create a policy package generation task based on the risk control policy request, and display it in the task list on the pre-configured user interface. The task list may include not only the strategy package generation task, but also the status of the strategy package generation task. For example, the status type may include completed, unprocessed, and being processed. In this way, the user can know the completion status of each task through the task list, and select an unprocessed task to trigger a policy package generation instruction for the task. Take the risk type contained in the task as the target type, match the risk type corresponding to the policy rule in the system, use the matched policy rule as the target policy rule, generate the corresponding risk control policy package, and feed it back to the policy demand side. Also, update the status of the task in the task list to Completed.

步骤S202,基于预设的数据血缘信息库,获取目标策略规则的索引关系信息。Step S202 , based on a preset data lineage information database, obtain the index relationship information of the target policy rule.

在运用策略规则识别风险的过程中,计算策略规则需要先确定策略规则的配置信息。可以理解的是,策略规则的配置信息可以包括:策略规则配置的变量以及变量配置的参数。其中,参数用于封装上游系统传过来的属性数据。计算策略规则需要逐层计算这些配置信息的值,才能计算最终的策略规则,以给出风控决策。例如,某策略规则为:当用户ID=“123”时,则认为该用户是白名单用户,那么该策略规则配置的变量为:用户ID,该变量配置的参数即为从上游系统传入的属性数据中解析出的用户ID值。In the process of using policy rules to identify risks, the calculation of policy rules needs to determine the configuration information of the policy rules first. It can be understood that the configuration information of the policy rule may include: variables configured by the policy rule and parameters configured by the variables. Among them, the parameters are used to encapsulate the attribute data sent by the upstream system. To calculate policy rules, it is necessary to calculate the values of these configuration information layer by layer to calculate the final policy rules to give risk control decisions. For example, a policy rule is: when user ID="123", the user is considered to be a whitelisted user, then the variable configured in the policy rule is: user ID, and the parameter configured in this variable is the parameter passed in from the upstream system The user ID value parsed from the attribute data.

当然,除了上述的基本信息以外,策略规则的配置信息还可以包括其他信息,需要根据具体的策略规则确定。例如,在一种应用场景中,目标策略规则的配置信息除了包括策略规则配置的变量以及变量配置的参数以外,还包括变量配置的累积策略,以及该累积策略配置的变量和参数。本说明书实施例中,累积策略用于统计用户的历史行为数据。例如,统计用户历史登录时间明细等。Of course, in addition to the above-mentioned basic information, the configuration information of the policy rule may also include other information, which needs to be determined according to the specific policy rule. For example, in an application scenario, the configuration information of the target policy rule includes, in addition to the variables configured by the policy rule and parameters configured by the variables, the cumulative policy configured by the variable, and the variables and parameters configured by the cumulative policy. In the embodiment of this specification, the accumulation strategy is used to count the historical behavior data of the user. For example, statistics of user history login time details, etc.

图3中示出了一种策略规则与其配置信息的示例性逐层依赖关系示意图。如图3所示,策略规则(Rule)依赖于变量(Variable),变量(Variable)依赖于参数(Parameter)和累积策略(velocity),累积策略(velocity)又依赖于参数和变量。当然,图3所示的逐层依赖关系仅为示意,具体逐层依赖关系需要根据实际的目标策略规则确定。FIG. 3 shows a schematic diagram of an exemplary layer-by-layer dependency relationship between a policy rule and its configuration information. As shown in Figure 3, the policy rule (Rule) depends on the variable (Variable), the variable (Variable) depends on the parameter (Parameter) and the accumulation policy (velocity), and the accumulation policy (velocity) depends on the parameter and the variable. Of course, the layer-by-layer dependency shown in FIG. 3 is only for illustration, and the specific layer-by-layer dependency needs to be determined according to the actual target policy rules.

例如,某策略规则为当用户七天内登录次数为0次,就判定该用户为不活跃用户,那么,该策略规则配置的变量为:用户七天内的登录次数,该变量配置有累积策略为:统计用户历史登录时间明细,且配置有参数:用户ID。上游系统传入用户ID后,就可以将用户ID传入策略规则配置的累积策略信息层级,触发累积策略查询该用户ID的历史登录时间明细,计算该用户ID七天内的登录次数,将计算结果赋值给上述变量,进而就可以计算策略规则,以给出风控决策。For example, a policy rule determines that the user is an inactive user when the number of logins in seven days is 0. Then, the variable configured in this policy rule is: the number of logins of the user in seven days, and the variable is configured with a cumulative policy of: Count the details of the user's historical login time, and configure the parameter: user ID. After the user ID is passed in from the upstream system, the user ID can be passed into the cumulative policy information level configured by the policy rule, trigger the cumulative policy to query the historical login time details of the user ID, calculate the number of logins for the user ID within seven days, and then calculate the result. Assign values to the above variables, and then the policy rules can be calculated to give risk control decisions.

又例如,某策略规则需要统计区域S的用户一天内的登录次数,那么该策略规则配置的变量包括:变量V1:区域S,以及变量V2:区域S的用户一天内的登录次数。其中,变量V2配置有用于统计区域S的用户历史登录时间明细的累积策略,且该累积策略又依赖于变量V1,也就是说,该累积策略配置有前置条件,即若上游系统传入的用户ID当前所在区域为区域S时则触发累积策略统计,若传入的用户ID当前所在区域不是区域S则不会触发累积策略统计。基于累积策略的统计结果计算区域S的用户一天内的登录次数,赋值给变量V2,才能计算最终的策略规则。For another example, if a policy rule needs to count the number of logins of users in area S in one day, the variables configured in the policy rule include: variable V1: area S, and variable V2: the number of logins of users in area S in one day. Among them, the variable V2 is configured with an accumulation strategy used to count the details of the user's historical login time in the area S, and the accumulation strategy depends on the variable V1, that is, the accumulation strategy is configured with preconditions, that is, if the If the current region of the user ID is in region S, the cumulative policy statistics will be triggered. If the current region of the incoming user ID is not in region S, the cumulative policy statistics will not be triggered. Calculate the number of login times of users in area S in one day based on the statistical result of the accumulated policy, and assign it to the variable V2 to calculate the final policy rule.

可以理解的是,策略规则与策略规则的配置信息之间是具有索引关系的。例如,策略规则R依赖于变量1和变量2,变量2依赖于参数P和累积策略T,累积策略T依赖于变量1和参数P,那么,从顶层的策略规则R到底层的参数P之间各信息层级的逐层依赖关系即为策略规则的索引关系信息。It can be understood that there is an index relationship between the policy rules and the configuration information of the policy rules. For example, policy rule R depends on variable 1 and variable 2, variable 2 depends on parameter P and accumulation policy T, and accumulation policy T depends on variable 1 and parameter P, then, from the top policy rule R to the bottom parameter P The layer-by-layer dependency relationship of each information level is the index relationship information of the policy rule.

为了便于获取第一风控系统中包含的策略规则的索引关系信息,可以为预先为第一风控系统中的策略规则配置数据血缘信息库。具体可以在逐层创建策略规则的信息时,为其构建索引关联关系,即血缘关系,将构建的索引关联关系与策略规则的标识信息对应存储到数据血缘信息库中。这样数据血缘信息库中就存储有第一风控系统中的各个策略规则的索引关系信息,以便在策略包生成过程中,确定目标策略规则后,就可以从数据血缘信息库中查找并获取目标策略规则的索引关系信息,进而执行以下步骤S204。In order to facilitate obtaining the index relationship information of the policy rules included in the first risk control system, a data lineage information database may be pre-configured for the policy rules in the first risk control system. Specifically, when the information of the policy rule is created layer by layer, an index association relationship, that is, a blood relationship, can be constructed for it, and the constructed index association relationship and the identification information of the policy rule can be correspondingly stored in the data blood relationship information database. In this way, the data lineage information database stores the index relationship information of each policy rule in the first risk control system, so that in the process of generating the policy package, after the target policy rule is determined, the target can be searched and obtained from the data lineage information database. The index relationship information of the policy rule, and then the following step S204 is performed.

步骤S204,根据索引关系信息,确定目标策略规则的配置信息。Step S204: Determine the configuration information of the target policy rule according to the index relationship information.

根据目标策略规则的索引关系信息,就可以梳理出计算目标策略规则所依赖的各个信息层级的信息,即目标策略规则的配置信息,可以包括目标策略规则配置的变量、变量配置的参数和累积策略、以及累积策略配置的变量和参数等。According to the index relationship information of the target policy rule, the information of each information level on which the target policy rule is calculated can be sorted out, that is, the configuration information of the target policy rule, which can include the variables configured by the target policy rule, the parameters configured by the variable, and the accumulation policy. , as well as the variables and parameters of the cumulative policy configuration, etc.

步骤S206,将目标策略规则、目标策略规则的配置信息以及索引关系信息从第一风控系统中导出,生成风控策略包,风控策略包用于导入第二风控系统对目标类型的风险进行防控。Step S206, exporting the target policy rule, the configuration information of the target policy rule and the index relationship information from the first risk control system to generate a risk control policy package, and the risk control policy package is used to import the risk of the second risk control system to the target type control.

确定目标策略规则、以及目标策略规则的配置信息后,将这些信息与目标策略规则的索引关系信息一起打包导出,就可以生成完整的风控策略包。风控策略包是一个独立的文件,可以将其导入第二风控系统,实现在第二风控系统中运转该风控策略包中的目标策略规则,识别目标类型的风险。After determining the target policy rule and the configuration information of the target policy rule, package and export these information together with the index relationship information of the target policy rule, and then a complete risk control policy package can be generated. The risk control strategy package is an independent file that can be imported into the second risk control system, so that the target strategy rules in the risk control strategy package can be run in the second risk control system to identify the risks of the target type.

可以理解的是,策略规则与策略规则的配置信息之间有着相互调用的顺次依赖关系的,在部署策略规则时必须按照依赖关系逐层创建,才能保证策略规则的正常运转。风控策略包中包含的索引关系信息能够在导入策略包时起到校验和导入信息排序的作用,以保障一个文件即可完成策略规则以及策略规则的配置信息的导入。It can be understood that if there is a sequential dependency relationship between the policy rules and the configuration information of the policy rules, they must be created layer by layer according to the dependency relationship when deploying the policy rules to ensure the normal operation of the policy rules. The index relationship information contained in the risk control policy package can play the role of checking and sorting the imported information when importing the policy package, so as to ensure that the import of policy rules and configuration information of policy rules can be completed with one file.

本说明书实施例提供的风控策略包生成方法,能够将策略规则做成策略包,快速地从风控系统中导出,使得策略规则、策略规则的配置信息以及索引关系信息一起作为一个独立的文件存在,并可以脱离系统在多个独立系统间迁移,有利于实现风控策略规则的跨系统应用,提高风控策略的部署效率。The method for generating a risk control policy package provided by the embodiments of this specification can make policy rules into policy packages and quickly export them from the risk control system, so that policy rules, configuration information of policy rules, and index relationship information can be regarded as an independent file. It exists and can be migrated between multiple independent systems without the system, which is conducive to realizing the cross-system application of risk control policy rules and improving the deployment efficiency of risk control policies.

第二方面,图4示出了本说明书实施例提供的一种风控策略迁移方法的流程图。该风控策略迁移方法应用于策略需求端,请参阅图4,所述方法可以至少包括以下步骤S400至步骤S402。In the second aspect, FIG. 4 shows a flowchart of a method for migrating a risk control strategy provided by an embodiment of the present specification. The risk control policy migration method is applied to the policy demand side, please refer to FIG. 4 , the method may at least include the following steps S400 to S402.

步骤S400,获取风控策略包,风控策略包包括:多个策略信息以及上述多个策略信息之间的索引关系信息,上述多个策略信息包括目标策略规则、目标策略规则配置的变量以及变量配置的参数。Step S400, obtaining a risk control strategy package, where the risk control strategy package includes: a plurality of strategy information and index relationship information between the plurality of strategy information, where the plurality of strategy information includes a target strategy rule, a variable configured by the target strategy rule, and a variable Configured parameters.

本说明书实施例中,需要部署目标策略规则的风控系统为目标风控系统,风控策略包是从不同于目标风控系统的其他风控系统导出的。例如,风控策略包可以由策略需求端的相关人员线下从策略提供端获取后,再上传到目标风控系统,或者,也可以由策略提供端根据策略需求端发送的风控策略需求生成相应的风控策略包后,线上反馈给策略需求端,再由相关人员上传至目标风控系统,此处不作限制。风控策略包的具体生成过程可以参照上述第一方面提供的方法实施例的内容,此处不再赘述。In the embodiments of this specification, the risk control system that needs to deploy target policy rules is the target risk control system, and the risk control policy package is derived from other risk control systems different from the target risk control system. For example, the risk control strategy package can be obtained offline by the relevant personnel at the strategy demand side from the strategy provider side, and then uploaded to the target risk control system, or the strategy provider side can also generate the corresponding risk control strategy requirements according to the risk control strategy requirements sent by the strategy demand side. After creating the risk control strategy package, it will be fed back to the strategy demand side online, and then uploaded to the target risk control system by the relevant personnel, which is not limited here. For the specific generation process of the risk control strategy package, reference may be made to the content of the method embodiment provided in the first aspect, and details are not described herein again.

举例来讲,在一种应用场景中,策略需求端遇到风险向策略提供端请求帮助;策略提供端的策略运营人员根据对应风险类型按照上述第一方面提供的策略包生成方法导出风控策略包,再将风控策略包作为解决方案交给策略需求端;策略需求端的相关人员就可以在目标风控系统中导入风控策略包,使目标策略规则在线运转,防范相应风险。For example, in an application scenario, the policy demand side requests help from the policy provider side when encountering risks; the policy operator at the policy provider side derives the risk control policy package according to the corresponding risk type and according to the policy package generation method provided in the first aspect above. , and then deliver the risk control strategy package as a solution to the strategy demand side; the relevant personnel on the strategy demand side can import the risk control strategy package into the target risk control system, so that the target strategy rules can be run online to prevent corresponding risks.

具体实施过程中,管理目标风控系统的相关人员如运营人员,也可以称之为目标风控系统的用户,可以选择一个或多个风控策略包上传至目标风控系统。例如,可以先从本地选择一个或多个风控策略包,然后再点击预设的上次按钮将选择的风控策略包上传。During the specific implementation process, relevant personnel who manage the target risk control system, such as operators, may also be referred to as users of the target risk control system, and can select one or more risk control strategy packages to upload to the target risk control system. For example, one or more risk control strategy packages can be selected locally, and then click the preset Last button to upload the selected risk control strategy packages.

在一种可选的实施例中,上述获取风控策略包的过程可以包括:对用户选择的风控策略包的文件格式进行校验;若校验通过,则上传该风控策略包,将风控策略包上传到预先配置的中间存储位置,等待进一步将该风控策略包中包含的策略信息创建到目标风控系统;若校验不通过,则无法上传该风控策略包。可以理解的是,风控策略包的文件格式应为风控策略包生成即打包的固有格式,若文件格式不符合要求,表示该风控策略包存在错误,就无法通过校验。In an optional embodiment, the above process of obtaining the risk control strategy package may include: verifying the file format of the risk control strategy package selected by the user; if the verification passes, uploading the risk control strategy package, and uploading the The risk control strategy package is uploaded to the pre-configured intermediate storage location, and the policy information contained in the risk control strategy package is waiting to be further created to the target risk control system; if the verification fails, the risk control strategy package cannot be uploaded. It is understandable that the file format of the risk control strategy package should be the inherent format that the risk control strategy package is generated and packaged. If the file format does not meet the requirements, it means that the risk control strategy package has errors and cannot pass the verification.

在一种可选的实施例中,上述获取风控策略包的过程可以包括:基于上传的风控策略包创建导入任务,并将风控策略包中的多个策略信息均预置到该导入任务中,处于待创建状态;若监测到用于触发该导入任务开启的导入指令,则执行以下步骤S402,将目标策略规则以及目标策略规则的配置信息,即目标策略规则配置的变量以及变量配置的参数等,均创建到目标风控系统中,完成策略包信息的逐层创建,保证目标策略规则在目标风控系统中的正常运转。In an optional embodiment, the above process of obtaining the risk control strategy package may include: creating an import task based on the uploaded risk control strategy package, and presetting multiple policy information in the risk control strategy package into the import In the task, it is in a state to be created; if the import instruction for triggering the opening of the import task is monitored, the following step S402 is performed, and the configuration information of the target policy rule and the target policy rule, that is, the variable and variable configuration of the target policy rule configuration All parameters, etc., are created into the target risk control system to complete the layer-by-layer creation of the policy package information to ensure the normal operation of the target policy rules in the target risk control system.

步骤S402,根据索引关系信息,将上述多个策略信息均导入目标风控系统,以在目标风控系统中运行目标策略规则。In step S402, according to the index relationship information, import the above-mentioned multiple policy information into the target risk control system, so as to run the target policy rules in the target risk control system.

可以理解的是,目标策略规则用于对目标类型的风险进行识别,目标策略规则的运行需要依赖多个信息层级。将风控策略包中的目标策略规则,以及目标策略规则的配置信息均作为策略信息,则风控策略包包括了多个策略信息以及这些策略信息之间的索引关系信息。It can be understood that the target policy rules are used to identify risks of target types, and the operation of the target policy rules needs to rely on multiple information levels. Taking the target policy rules in the risk control policy package and the configuration information of the target policy rules as policy information, the risk control policy package includes multiple policy information and index relationship information between these policy information.

在一种实施方式中,目标策略规则的配置信息可以包括:目标策略规则配置的变量以及变量配置的参数。此时,上述多个策略信息包括风控策略包中的目标策略规则、变量和参数。在另一种实施方式中,目标策略规则的配置信息可以包括:目标策略规则配置的变量、变量配置的参数和累积策略、以及累积策略配置的变量和参数。此时,上述多个策略信息包括风控策略包中的目标策略规则、变量、累积策略和参数。可以理解的是,这些信息之间有着相互调用的顺次依赖关系的,需要按照依赖关系逐层创建,才能保证目标策略规则的正常运转。In one embodiment, the configuration information of the target policy rule may include: variables configured by the target policy rule and parameters configured by the variables. In this case, the above-mentioned multiple policy information includes target policy rules, variables and parameters in the risk control policy package. In another embodiment, the configuration information of the target policy rule may include: variables configured by the target policy rule, parameters configured by the variables and the cumulative policy, and variables and parameters configured by the cumulative policy. At this time, the above-mentioned multiple policy information includes target policy rules, variables, accumulation policies and parameters in the risk control policy package. It is understandable that if these pieces of information have sequential dependencies of mutual calls, they need to be created layer by layer according to the dependencies to ensure the normal operation of the target policy rules.

本说明书实施例中,风控策略包中还打包有用于反应上述多个策略信息之间的索引关联关系的索引关系信息,也就是从目标策略规则层级到参数层级的索引关联关系。In the embodiment of the present specification, the risk control strategy package is also packaged with index relationship information for reflecting the index relationship between the above-mentioned multiple policy information, that is, the index relationship from the target policy rule level to the parameter level.

因此,按照风控策略包中的索引关系信息,就可以明确运行目标策略规则识别风险所涉及的各信息层级的调用顺序,以便逐层创建。Therefore, according to the index relationship information in the risk control strategy package, it is possible to specify the calling sequence of each information level involved in running the target strategy rule to identify risks, so as to create layer by layer.

在本说明书一可选的实施例中,通过导入风控策略包迁移风控策略的过程实现了边校验目标风控系统中的索引关系,边导入数据,提高了风控策略部署效率。具体来讲,上述根据索引关系信息,将多个策略信息均导入目标风控系统的过程可以包括:根据风控策略包中包含的索引关系信息,确定风控策略包中每个策略信息依赖的前置信息;针对每个策略信息,执行导入步骤,导入步骤包括:检测该策略信息的前置信息是否已在目标风控系统中生效,若是,则在目标风控系统中创建该策略信息,若否,则判定该策略信息导入失败,并显示失败提示信息。需要说明的是,风控策略包中每个策略信息均依赖有前置信息,例如目标策略规则依赖的前置信息为变量信息,变量依赖的前置信息为参数信息,或者为参数信息以及累积策略信息,参数依赖的前置信息可以为上游业务系统传递的业务数据如账户ID数据等等。In an optional embodiment of this specification, the process of importing the risk control strategy package and migrating the risk control strategy realizes the verification of the index relationship in the target risk control system while importing data, which improves the deployment efficiency of the risk control strategy. Specifically, the above process of importing multiple policy information into the target risk control system according to the index relationship information may include: determining, according to the index relationship information contained in the risk control policy package, which policy information in the risk control policy package depends on. Pre-information; for each policy information, an import step is performed, and the import step includes: detecting whether the pre-information of the policy information has taken effect in the target risk control system, and if so, creating the policy information in the target risk control system, If not, it is determined that the import of the policy information has failed, and a failure prompt message is displayed. It should be noted that each policy information in the risk control policy package depends on pre-information. For example, the pre-information that the target policy rule depends on is variable information, and the pre-information that variable depends on is parameter information, or parameter information and cumulative information. The policy information and the pre-parameter-dependent pre-information can be business data such as account ID data transmitted by the upstream business system.

具体来讲,检测待导入策略信息的前置信息是否已在目标风控系统中生效可以检测该前置信息是否已在目标风控系统中发布上线,若已发布上线,则判定该前置信息已在目标风控系统中生效,也就是已经在目标风控系统中运行,若还未发布上线,则判定该前置信息还未在目标风控系统中生效。当然,在具体实施过程中,可以根据实际应用场景采用其他实施方式判定前置信息是否已在目标风控系统中生效,此处不作限制。Specifically, to detect whether the pre-information of the strategy information to be imported has taken effect in the target risk control system can detect whether the pre-information has been released online in the target risk control system. It has already taken effect in the target risk control system, that is, it is already running in the target risk control system. If it has not been released online, it is determined that the pre-information has not yet taken effect in the target risk control system. Of course, in the specific implementation process, other implementations may be used according to actual application scenarios to determine whether the pre-information has taken effect in the target risk control system, which is not limited here.

举例来讲,假设步骤S400获取的风控策略包中的目标策略规则为若区域S内的用户一天的登录次数超过N次,则判定区域S的用户存在X类风险。则该风控策略包中包括的策略信息可以有:上述目标策略规则;变量V1:区域S,变量V2:区域S内的用户一天的登录次数;累积策略T:统计区域S的用户历史登录时间明细;参数P1:用户ID,参数P2:区域标识。其中,目标策略规则的前置信息包括:变量V1和变量V2,变量V1的前置信息可以是:参数P2,变量V2的前置信息包括:上述累积策略T以及参数P1;累积策略T的前置信息可以包括:变量V1以及参数P1;参数P1的前置信息可以为:上游系统传入的用户ID数据;参数P2的前置信息可以为:上游系统传入的区域标识数据。针对其中每个策略信息,均需要先检测到其前置信息已在目标风控系统中生效,才能完成导入,在目标风控系统中创建该策略信息。For example, it is assumed that the target policy rule in the risk control policy package obtained in step S400 is that if users in area S log in more than N times a day, it is determined that users in area S have X type of risk. The policy information included in the risk control policy package may include: the above target policy rules; variable V1: area S, variable V2: the number of logins of users in area S in one day; cumulative policy T: count the historical login time of users in area S Details; Parameter P1: User ID, Parameter P2: Area ID. The pre-information of the target policy rule includes: variable V1 and variable V2, the pre-information of variable V1 may be: parameter P2, and the pre-information of variable V2 includes: the above-mentioned accumulation strategy T and parameter P1; The setting information may include: variable V1 and parameter P1; the pre-information of parameter P1 may be: user ID data passed in by the upstream system; the pre-information of parameter P2 may be: area identification data passed in by the upstream system. For each policy information, it is necessary to detect that its pre-information has taken effect in the target risk control system before completing the import, and create the policy information in the target risk control system.

进一步地,为了方便用户监控风控策略包的导入完成情况,在本说明书一可选的实施例中,上述风控策略迁移方法还包括:若风控策略包中所有策略信息均导入完成即完成在目标系统中的创建,则显示用于表示风控策略包导入完成的提示信息。举例来讲,可以在策略需求端中预先配置的用户界面上展示任务状态列表,任务状态列表中展示有所创建的导入任务的任务状态。任务状态可以包括未导入状态、导入中状态以及导入完成状态,在监测到风控策略包中所有策略信息均导入完成时,则将相应导入任务的任务状态由导入中状态更新为导入状态,作为用于表示该风控策略包导入完成的提示信息。或者,任务状态也可以以进度条的形式展示,在监测到风控策略包中所有策略信息均导入完成时,进度条完成并显示“finish”等表示完成的字样,作为用于表示风控策略包导入完成的提示信息。Further, in order to facilitate the user to monitor the import completion of the risk control strategy package, in an optional embodiment of this specification, the above-mentioned risk control strategy migration method further includes: if all the strategy information in the risk control strategy package is imported and completed, it is completed. Created in the target system, a prompt message indicating that the import of the risk control policy package is completed will be displayed. For example, the task status list can be displayed on the user interface preconfigured in the policy demand side, and the task status list of the created import task can be displayed in the task status list. The task status can include non-importing status, importing status, and importing completed status. When it is monitored that all the policy information in the risk control policy package has been imported, the task status of the corresponding importing task is updated from the importing status to the importing status, as Indicates the prompt information indicating that the import of the risk control policy package is completed. Alternatively, the task status can also be displayed in the form of a progress bar. When it is monitored that all policy information in the risk control strategy package has been imported, the progress bar is completed and displays words such as “finish” indicating completion, which is used to indicate the risk control strategy. A message indicating that the package import is complete.

风控策略包中所有策略信息均导入完成后,即在目标风控系统中创建好该风控策略包中所有的策略信息后,目标策略规则可正式执行,到线上防控风险。通过本说明书实施例提供的风控策略迁移方法,用户可以在系统中一键导入风控策略包,无需有风险运营经验的专业人员参与,有效地提高了风控策略的部署效率,降低了人力成本。After all the strategy information in the risk control strategy package is imported, that is, after all the strategy information in the risk control strategy package is created in the target risk control system, the target strategy rules can be formally implemented to prevent and control risks online. Through the risk control strategy migration method provided in the embodiments of this specification, users can import the risk control strategy package in the system with one key, without the participation of professionals with risk operation experience, which effectively improves the deployment efficiency of risk control strategies and reduces manpower cost.

另外,在本说明书一可选的实施例中,若在一次导入过程中,风控策略包中存在有一个或多个策略信息导入失败,则可以针对导入失败的策略信息再次进行导入,这样就可以实现一次上传多次导入,进一步提高风控策略的迁移效率。具体来讲,上述根据索引关系信息,将多个策略信息均导入目标风控系统的过程还可以包括:若上述多个策略信息中存在有策略信息导入失败,则针对导入失败的策略信息,再次执行上述导入步骤,直至该风控策略包中所有策略信息均导入目标风控系统。In addition, in an optional embodiment of this specification, if one or more policy information fails to be imported in the risk control policy package during an import process, the policy information that fails to be imported may be imported again, so that It can upload and import multiple times at one time, which further improves the migration efficiency of risk control strategies. Specifically, the above process of importing multiple policy information into the target risk control system according to the index relationship information may further include: if there is a policy information import failure in the above multiple policy information, for the policy information that failed to be imported, re-import the policy information. Perform the above import steps until all policy information in the risk control policy package is imported into the target risk control system.

具体来讲,对于导入失败的策略信息,用户可以根据失败原因提示解决该策略信息的前置依赖,例如,某策略信息导入失败的原因是由于其依赖的前置信息还未发布上线,这样可以等待其依赖的前置信息发布上线后,再对该策略信息进行导入。当然,除了前置依赖未生效的原因以外,实际应用场景中,还可能存在其他导入失败原因如网络异常原因等等,用户可以在根据失败原因提示处理好后,针对导入失败的策略信息再次进行导入。Specifically, for the policy information that fails to be imported, the user can prompt to resolve the pre-dependency of the policy information according to the failure reason. For example, the reason for the import failure of a certain policy information is that the pre-reliance information it depends on has not been released online. Import the policy information after waiting for the pre-information it depends on to be released and online. Of course, in addition to the reason why the pre-dependency does not take effect, in the actual application scenario, there may be other reasons for import failure, such as network abnormality, etc., after the user can deal with the failure reasons according to the prompt, the import failure policy information can be processed again. import.

用户解决导致策略信息导入失败的问题后,可以再次触发对应于该风控策略包的导入指令,从而针对风控策略包中未导入成功的策略信息,再次执行上述导入步骤。举例来讲,用户可以点击预先配置的用户界面上的导入按钮,触发对所创建的导入任务的导入指令,开启对该导入任务下的风控策略包中策略信息的导入过程,本次导入结束后,若该导入任务下存在未导入成功的策略信息,用户可以在解决导致策略信息导入失败的问题后,通过再次点击上述导入按钮,再次对未导入成功的策略信息进行导入,直至该导入任务下所有策略信息均导入成功,完成创建。After the user solves the problem that causes the policy information import failure, the user can trigger the import instruction corresponding to the risk control policy package again, so that the above import steps are performed again for the policy information in the risk control policy package that has not been successfully imported. For example, the user can click the import button on the pre-configured user interface to trigger the import instruction for the created import task, and start the import process of the policy information in the risk control policy package under the import task, and the import is over. After that, if there is policy information that has not been successfully imported under the import task, after solving the problem that caused the import failure of policy information, the user can click the above import button again to import the policy information that was not successfully imported again until the import task is completed. All the following policy information has been imported successfully, and the creation is completed.

当然,在本说明书其他实施例中,也可以是若风控策略包中存在有策略信息导入失败,则判定整个风控策略包导入失败,结束导入,即结束本次风控策略迁移流程。Of course, in other embodiments of this specification, if the import of policy information in the risk control strategy package fails, it is determined that the import of the entire risk control strategy package fails, and the import is ended, that is, the current risk control strategy migration process is ended.

本说明书实施例提供的风控策略迁移方法通过将脱离原本所在风控系统、以独立文件存在的风控策略包导入到目标风控系统,有效地实现了风控策略规则的跨系统应用。并且,用户可以在1人日内自行快速完成风控策略包的导入,无需有风险运营经验的专业人员参与,有效地提高了风控策略的部署效率,降低了人力成本。The risk control strategy migration method provided by the embodiments of this specification effectively realizes the cross-system application of the risk control strategy rules by importing the risk control strategy package that is separated from the original risk control system and exists as an independent file into the target risk control system. In addition, users can quickly complete the import of the risk control strategy package within one person day, without the participation of professionals with risk operation experience, which effectively improves the deployment efficiency of risk control strategies and reduces labor costs.

第三方面,图5示出了本说明书实施例提供的一种风控策略迁移方法的流程图。该风控策略迁移方法应用于策略迁移端,策略迁移端为用于为不同风控系统之间迁移风控策略规则提供服务的设备。请参阅图5,所述方法可以至少包括以下步骤S500至步骤S506。In a third aspect, FIG. 5 shows a flowchart of a method for migrating a risk control strategy provided by an embodiment of the present specification. The risk control policy migration method is applied to a policy migration end, and the policy migration end is a device used to provide services for migrating risk control policy rules between different risk control systems. Referring to FIG. 5 , the method may include at least the following steps S500 to S506.

步骤S500,响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,目标策略规则用于识别目标类型的风险。Step S500, in response to a policy package generation instruction triggered by the user, determine a target policy rule in the first risk control system, where the target policy rule is used to identify the risk of the target type.

步骤S502,基于预设的数据血缘信息库,获取目标策略规则的索引关系信息,并根据索引关系信息,确定目标策略规则的配置信息,配置信息包括:目标策略规则配置的变量以及所述变量配置的参数。Step S502, based on the preset data blood relationship information database, obtain the index relationship information of the target policy rule, and according to the index relationship information, determine the configuration information of the target policy rule, the configuration information includes: the variable configured by the target policy rule and the variable configuration parameter.

步骤S504,将目标策略规则、目标策略规则的配置信息以及索引关系信息从第一风控系统中导出,生成风控策略包。Step S504, the target policy rule, the configuration information of the target policy rule and the index relationship information are derived from the first risk control system to generate a risk control policy package.

步骤S506,响应于用户触发的策略包导入指令,根据风控策略包中的索引关系信息,将目标策略规则以及目标策略规则的配置信息均导入第二风控系统,以在第二风控系统中运行目标策略规则。Step S506, in response to the policy package import instruction triggered by the user, import the target policy rule and the configuration information of the target policy rule into the second risk control system according to the index relationship information in the risk control policy package, so that the second risk control system Run the target policy rule in .

需要说明的是,步骤S500至步骤S504的实施过程与上述第一方面提供的步骤S200至步骤S206的实施过程类似,具体可以参照上述第一方面提供的实施例的相应描述,此处不再赘述。步骤S506的实施过程与上述第二方面提供的步骤S402的实施过程类似,具体可以参照上述第一方面提供的实施例的相应描述,此处不再赘述。It should be noted that the implementation process of step S500 to step S504 is similar to the implementation process of step S200 to step S206 provided in the first aspect. For details, please refer to the corresponding description of the embodiment provided in the first aspect, which will not be repeated here. . The implementation process of step S506 is similar to the implementation process of step S402 provided in the foregoing second aspect, and for details, reference may be made to the corresponding description of the embodiments provided in the foregoing first aspect, which will not be repeated here.

可以理解的是,步骤S500以及步骤S506中的用户为同时具有从第一风控系统中导出策略包,以及向第二风控系统导入策略包权限的用户,例如可以是第一风控系统或第二风控系统的具有上述权限的运营人员,或者,也可以是具有上述权限的第三方操作人员。步骤S506中,用户可以通过点击预先配置的导入按钮或者其他触发操作,触发策略包导入指令,此处不作限制。It can be understood that the user in step S500 and step S506 is a user who has the authority to export the policy package from the first risk control system and import the policy package to the second risk control system, for example, the first risk control system or the user. The operator of the second risk control system with the above-mentioned authority may also be a third-party operator with the above-mentioned authority. In step S506, the user can trigger the policy package import instruction by clicking a preconfigured import button or other trigger operations, which is not limited here.

第四方面,基于与前述第一方面实施例提供的风控策略包生成方法同样的发明构思,本说明书实施例还提供了一种风控策略包生成装置。如图6所示,该风控策略包生成装置60包括:In a fourth aspect, based on the same inventive concept as the method for generating a risk control strategy package provided by the embodiments of the first aspect, the embodiments of this specification further provide an apparatus for generating a risk control strategy package. As shown in FIG. 6 , the device 60 for generating the risk control strategy package includes:

规则确定模块61,用于响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;关系信息获取模块62,用于基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;配置信息获取模块63,用于根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;导出模块64,用于将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包,所述风控策略包用于导入第二风控系统对所述目标类型的风险进行防控。The rule determination module 61 is used to determine the target policy rule in the first risk control system in response to the policy package generation instruction triggered by the user, and the target policy rule is used to identify the risk of the target type; the relationship information acquisition module 62 is used for Based on the preset data lineage information database, the index relationship information of the target policy rule is acquired; the configuration information acquisition module 63 is configured to determine the configuration information of the target policy rule according to the index relationship information, and the configuration information includes : the variable configured by the target policy rule and the parameter configured by the variable; the export module 64 is used to convert the target policy rule, the configuration information of the target policy rule and the index relationship information from the first wind The risk control strategy package is generated, and the risk control strategy package is used to import the second risk control system to prevent and control the risk of the target type.

在一种可选的实施例中,上述配置信息还包括所述变量配置的累积策略以及所述累积策略配置的变量和参数,所述累积策略用于统计用户的历史行为数据。In an optional embodiment, the above-mentioned configuration information further includes an accumulation policy configured by the variable and variables and parameters configured by the accumulation policy, and the accumulation policy is used to count historical behavior data of the user.

需要说明的是,本说明书实施例所提供的风控策略包生成装置60,其中各个模块执行操作的具体方式已经在上述第一方面提供的方法实施例中进行了详细描述,具体实施过程可以参照上述第一方面提供的方法实施例,此处将不做详细阐述说明。It should be noted that, in the device 60 for generating a risk control strategy package provided in the embodiment of this specification, the specific manner in which each module performs operations has been described in detail in the method embodiment provided in the first aspect, and the specific implementation process can refer to The method embodiments provided in the first aspect above will not be described in detail here.

第五方面,基于与前述第二方面实施例提供的风控策略迁移方法同样的发明构思,本说明书实施例还提供了一种风控策略迁移装置。如图7所示,该风控策略迁移装置70包括:In the fifth aspect, based on the same inventive concept as the wind control strategy migration method provided by the embodiments of the second aspect, the embodiments of this specification further provide a wind control strategy migration device. As shown in FIG. 7 , the risk control strategy migration device 70 includes:

获取模块71,用于获取风控策略包,所述风控策略包包括:多个策略信息以及所述多个策略信息之间的索引关系信息,所述多个策略信息包括目标策略规则、所述目标策略规则配置的变量以及所述变量配置的参数;导入模块72,用于根据所述索引关系信息,将所述多个策略信息均导入目标风控系统,以在所述目标风控系统中运行所述目标策略规则。The obtaining module 71 is configured to obtain a risk control strategy package, where the risk control strategy package includes: a plurality of strategy information and index relationship information between the plurality of strategy information, the plurality of strategy information including target strategy rules, all The variable configured by the target policy rule and the parameter configured by the variable; the import module 72 is used to import the plurality of policy information into the target risk control system according to the index relationship information, so as to be stored in the target risk control system. Run the target policy rule in .

在一种可选的实施例中,上述导入模块72包括:确定子模块721,用于根据所述索引关系信息,确定所述风控策略包中每个策略信息依赖的前置信息;第一导入子模块722,用于针对所述每个策略信息,执行导入步骤,所述导入步骤包括:检测所述策略信息的前置信息是否已在所述目标风控系统中生效,若是,则在所述目标风控系统中创建所述策略信息,若否,则判定所述策略信息导入失败,并显示失败提示信息。In an optional embodiment, the importing module 72 includes: a determining sub-module 721, configured to determine, according to the index relationship information, pre-information on which each policy information in the risk control policy package depends; first The import sub-module 722 is configured to perform an import step for each policy information, and the import step includes: detecting whether the pre-information of the policy information has taken effect in the target risk control system; The policy information is created in the target risk control system, if not, it is determined that the import of the policy information fails, and a failure prompt message is displayed.

在一种可选的实施例中,上述导入模块72还包括:第二导入子模块723,用于若所述多个策略信息中存在有策略信息导入失败,则针对导入失败的策略信息,再次执行所述导入步骤,直至所述风控策略包中所有策略信息均导入所述目标风控系统。In an optional embodiment, the importing module 72 further includes: a second importing sub-module 723, configured to, if there is a policy information import failure in the plurality of policy information, for the policy information that fails to import, again The importing step is performed until all policy information in the risk control policy package is imported into the target risk control system.

在一种可选的实施例中,上述风控策略迁移装置70还包括:提示模块73,用于若所述风控策略包中所有策略信息均导入完成,则显示用于表示所述风控策略包导入完成的提示信息。In an optional embodiment, the above-mentioned risk control strategy migration device 70 further includes: a prompt module 73, configured to display a message indicating that the risk control strategy package has been imported if all the strategy information in the risk control strategy package is imported. The prompt message that the import of the policy package is completed.

在一种可选的实施例中,上述获取模块71包括:格式校验子模块711,用于对用户选择的风控策略包的文件格式进行校验,若校验通过,则上传所述风控策略包。In an optional embodiment, the above obtaining module 71 includes: a format verification sub-module 711, which is used to verify the file format of the risk control strategy package selected by the user, and if the verification is passed, upload the wind control strategy package. control strategy package.

在一种可选的实施例中,上述获取模块71包括:任务创建子模块712,用于基于上传的风控策略包创建导入任务,并将所述风控策略包中的所述多个策略信息均预置到所述导入任务中;指令监测子模块713,用于若监测到用于触发所述导入任务开启的导入指令,则执行所述根据所述索引关系信息,将所述多个策略信息均导入目标风控系统的步骤。In an optional embodiment, the above obtaining module 71 includes: a task creation sub-module 712, configured to create an import task based on the uploaded risk control strategy package, and convert the multiple strategies in the risk control strategy package The information is all preset into the import task; the instruction monitoring sub-module 713 is configured to execute the according to the index relationship information, if an import command for triggering the opening of the import task is detected, Steps for importing policy information into the target risk control system.

在一种可选的实施例中,上述风控策略包是根据以下步骤生成的:响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则;基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包。In an optional embodiment, the above-mentioned risk control strategy package is generated according to the following steps: in response to a strategy package generation instruction triggered by a user, determining a target strategy rule in the first risk control system; based on a preset data lineage information base, to obtain the index relationship information of the target policy rule; according to the index relationship information, determine the configuration information of the target policy rule, the configuration information includes: the variable configured by the target policy rule and the variable configuration The parameters of the target policy rule, the configuration information of the target policy rule and the index relationship information are derived from the first risk control system to generate the risk control policy package.

在一种可选的实施例中,上述配置信息还包括所述变量配置的累积策略以及所述累积策略配置的变量和参数,所述累积策略用于统计用户的历史行为数据。In an optional embodiment, the above-mentioned configuration information further includes an accumulation policy configured by the variable and variables and parameters configured by the accumulation policy, and the accumulation policy is used to count historical behavior data of the user.

需要说明的是,本说明书实施例所提供的风控策略迁移装置70,其中各个模块执行操作的具体方式已经在上述第二方面提供的方法实施例中进行了详细描述,具体实施过程可以参照上述第二方面提供的方法实施例,此处将不做详细阐述说明。It should be noted that, in the wind control strategy migration device 70 provided in the embodiment of this specification, the specific manner in which each module performs operations has been described in detail in the method embodiment provided in the second aspect above, and the specific implementation process may refer to the above The method embodiments provided by the second aspect will not be described in detail here.

第六方面,基于与前述第三方面实施例提供的风控策略迁移方法同样的发明构思,本说明书实施例还提供了一种风控策略迁移装置,运行于策略迁移端,策略迁移端为用于为不同风控系统之间迁移风控策略规则提供服务的设备。如图8所示,该风控策略迁移装置80包括:In the sixth aspect, based on the same inventive concept as the risk control strategy migration method provided by the embodiments of the third aspect, the embodiments of this specification also provide a risk control strategy migration device, which runs on the policy migration end, and the policy migration end is used for A device that provides services for migrating risk control policy rules between different risk control systems. As shown in FIG. 8 , the risk control strategy migration device 80 includes:

策略包导出模块81,用于响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息,并根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成风控策略包;The strategy package export module 81 is used to determine the target strategy rule in the first risk control system in response to the strategy package generation instruction triggered by the user, and the target strategy rule is used to identify the risk of the target type; based on the preset data blood relationship information library, obtain the index relationship information of the target policy rule, and determine the configuration information of the target policy rule according to the index relationship information, the configuration information includes: the variable configured by the target policy rule and the variable configuration parameters; export the target policy rule, the configuration information of the target policy rule and the index relationship information from the first risk control system to generate a risk control policy package;

策略包导入模块82,用于响应于所述用户触发的策略包导入指令,根据所述风控策略包中的索引关系信息,将所述目标策略规则以及所述目标策略规则的配置信息均导入第二风控系统,以在所述第二风控系统中运行所述目标策略规则。The policy package import module 82 is configured to import both the target policy rule and the configuration information of the target policy rule according to the index relationship information in the risk control policy package in response to the policy package import instruction triggered by the user A second risk control system to run the target policy rule in the second risk control system.

需要说明的是,本说明书实施例所提供的风控策略迁移装置80,其中各个模块执行操作的具体方式已经在上述第三方面提供的方法实施例中进行了详细描述,具体实施过程可以参照上述第三方面提供的方法实施例,此处将不做详细阐述说明。It should be noted that, in the wind control strategy migration device 80 provided by the embodiments of this specification, the specific manners of performing operations of each module have been described in detail in the method embodiments provided in the third aspect, and the specific implementation process can refer to the above The method embodiments provided by the third aspect will not be described in detail here.

第七方面,基于与前述实施例同样的发明构思,本说明书实施例还提供了一种电子设备。如图9所示,该电子设备包括存储器904、一个或多个处理器902及存储在存储器904上并可在处理器902上运行的计算机程序,处理器902执行该程序时实现前文第一方面提供的风控策略包生成方法的任一实施例的步骤,前文第二方面提供的风控策略迁移方法的任一实施例的步骤,或者前文第三方面提供的风控策略迁移方法的任一实施例的步骤。In a seventh aspect, based on the same inventive concept as the foregoing embodiments, the embodiments of the present specification further provide an electronic device. As shown in FIG. 9 , the electronic device includes a memory 904, one or more processors 902, and a computer program stored in the memory 904 and executable on the processor 902. When the processor 902 executes the program, the aforementioned first aspect is implemented Steps of any embodiment of the provided wind control strategy package generation method, steps of any embodiment of the wind control strategy migration method provided in the second aspect above, or any of the risk control strategy migration methods provided in the third aspect above Example steps.

其中,在图9中,总线架构(用总线900来代表),总线900可以包括任意数量的互联的总线和桥,总线900将包括由处理器902代表的一个或多个处理器和存储器904代表的存储器的各种电路链接在一起。总线900还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口905在总线900和接收器901和发送器903之间提供接口。接收器901和发送器903可以是同一个元件,即收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器902负责管理总线900和通常的处理,而存储器904可以被用于存储处理器902在执行操作时所使用的数据。9, the bus architecture (represented by bus 900), bus 900 may include any number of interconnected buses and bridges, bus 900 will include one or more processors represented by processor 902 and memory 904 The various circuits of the memory are linked together. The bus 900 may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. Bus interface 905 provides an interface between bus 900 and receiver 901 and transmitter 903 . Receiver 901 and transmitter 903 may be the same element, a transceiver, providing a means for communicating with various other devices over a transmission medium. The processor 902 is responsible for managing the bus 900 and general processing, while the memory 904 may be used to store data used by the processor 902 in performing operations.

可以理解的是,图9所示的结构仅为示意,本说明书实施例提供的电子设备还可包括比图9中所示更多或者更少的组件,或者具有与图9所示不同的配置。图9中所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 9 is only for illustration, and the electronic device provided by the embodiments of the present specification may further include more or less components than those shown in FIG. 9 , or have different configurations from those shown in FIG. 9 . . Each component shown in FIG. 9 may be implemented in hardware, software, or a combination thereof.

第八方面,基于与前述实施例同样的发明构思,本说明书实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前文第一方面提供的风控策略包生成方法的任一实施例的步骤,前文第二方面提供的风控策略迁移方法的任一实施例的步骤,或者,前文第三方面提供的风控策略迁移方法的任一实施例的步骤。In an eighth aspect, based on the same inventive concept as the foregoing embodiments, the embodiments of the present specification further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, realizes the above-mentioned first aspect. Steps of any embodiment of the wind control strategy package generation method, steps of any embodiment of the wind control strategy migration method provided in the second aspect above, or any implementation of the risk control strategy migration method provided in the third aspect above example steps.

需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts among the various embodiments, refer to each other Can.

上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的设备。The specification is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce A device that implements the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令设备的制造品,该指令设备实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising the instruction apparatus, the instructions The device implements the functions specified in the flow or flows of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本说明书的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本说明书范围的所有变更和修改。While the preferred embodiments of this specification have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of this specification.

显然,本领域的技术人员可以对本说明书进行各种改动和变型而不脱离本说明书的精神和范围。这样,倘若本说明书的这些修改和变型属于本说明书权利要求及其等同技术的范围之内,则本说明书也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to this specification without departing from the spirit and scope of this specification. Thus, provided that these modifications and variations of the present specification fall within the scope of the claims of the present specification and technical equivalents thereof, the present specification is also intended to include these modifications and variations.

Claims (24)

1.一种风控策略迁移方法,包括:1. A risk control strategy migration method, comprising: 获取风控策略包,所述风控策略包包括:多个策略信息以及所述多个策略信息之间的索引关系信息,所述多个策略信息包括目标策略规则、所述目标策略规则配置的变量以及所述变量配置的参数;Obtain a risk control policy package, where the risk control policy package includes: multiple policy information and index relationship information between the multiple policy information, where the multiple policy information includes target policy rules, and the target policy rules configured variables and parameters configured by said variables; 根据所述索引关系信息,将所述多个策略信息均导入目标风控系统,以在所述目标风控系统中运行所述目标策略规则。According to the index relationship information, the plurality of policy information is imported into the target risk control system, so as to run the target policy rule in the target risk control system. 2.根据权利要求1所述的方法,所述根据所述索引关系信息,将所述多个策略信息均导入目标风控系统,包括:2. The method according to claim 1, wherein importing the plurality of policy information into a target risk control system according to the index relationship information, comprising: 根据所述索引关系信息,确定所述风控策略包中每个策略信息依赖的前置信息;According to the index relationship information, determine the pre-information on which each policy information in the risk control policy package depends; 针对所述每个策略信息,执行导入步骤,所述导入步骤包括:检测所述策略信息的前置信息是否已在所述目标风控系统中生效,若是,则在所述目标风控系统中创建所述策略信息,若否,则判定所述策略信息导入失败,并显示失败提示信息。For each strategy information, an importing step is performed, and the importing step includes: detecting whether the pre-information of the strategy information has taken effect in the target risk control system, and if so, in the target risk control system Create the policy information, if not, it is determined that the import of the policy information fails, and a failure prompt message is displayed. 3.根据权利要求2所述的方法,所述根据所述索引关系信息,将所述多个策略信息均导入目标风控系统,还包括:3. The method according to claim 2, wherein according to the index relationship information, importing the plurality of policy information into a target risk control system, further comprising: 若所述多个策略信息中存在有策略信息导入失败,则针对导入失败的策略信息,再次执行所述导入步骤,直至所述风控策略包中所有策略信息均导入所述目标风控系统。If there is a strategy information import failure in the plurality of strategy information, the import step is performed again for the strategy information that failed to import, until all the strategy information in the risk control strategy package is imported into the target risk control system. 4.根据权利要求1所述的方法,还包括:4. The method of claim 1, further comprising: 若所述风控策略包中所有策略信息均导入完成,则显示用于表示所述风控策略包导入完成的提示信息。If all the policy information in the risk control strategy package has been imported, a prompt message indicating that the import of the risk control strategy package is complete is displayed. 5.根据权利要求1所述的方法,所述获取风控策略包,包括:5. The method according to claim 1, said obtaining a risk control strategy package, comprising: 对用户选择的风控策略包的文件格式进行校验,若校验通过,则上传所述风控策略包。The file format of the risk control strategy package selected by the user is verified, and if the verification is passed, the risk control strategy package is uploaded. 6.根据权利要求1所述的方法,所述获取风控策略包,包括:6. The method according to claim 1, said obtaining a risk control strategy package, comprising: 基于上传的风控策略包创建导入任务,并将所述风控策略包中的所述多个策略信息均预置到所述导入任务中;Create an import task based on the uploaded risk control strategy package, and preset the multiple policy information in the risk control strategy package into the import task; 若监测到用于触发所述导入任务开启的导入指令,则执行所述根据所述索引关系信息,将所述多个策略信息均导入目标风控系统的步骤。If an import instruction for triggering the opening of the import task is detected, the step of importing the plurality of policy information into the target risk control system according to the index relationship information is performed. 7.根据权利要求1所述的方法,所述风控策略包是根据以下步骤生成的:7. The method according to claim 1, wherein the risk control strategy package is generated according to the following steps: 响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则;In response to the policy package generation instruction triggered by the user, determine the target policy rule in the first risk control system; 基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;Obtain the index relationship information of the target policy rule based on a preset data lineage information database; 根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;According to the index relationship information, the configuration information of the target policy rule is determined, and the configuration information includes: a variable configured by the target policy rule and a parameter configured by the variable; 将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包。The target policy rule, the configuration information of the target policy rule and the index relationship information are derived from the first risk control system to generate the risk control policy package. 8.根据权利要求7所述的方法,所述配置信息还包括所述变量配置的累积策略以及所述累积策略配置的变量和参数,所述累积策略用于统计用户的历史行为数据。8 . The method according to claim 7 , wherein the configuration information further comprises a cumulative strategy configured by the variable and variables and parameters configured by the cumulative strategy, the cumulative strategy being used to count historical behavior data of users. 9 . 9.一种风控策略包生成方法,用于生成权利要求1-6中任一项所述的风控策略包,所述方法包括:9. A method for generating a risk control strategy package, for generating the risk control strategy package according to any one of claims 1-6, the method comprising: 响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;In response to the policy package generation instruction triggered by the user, determine a target policy rule in the first risk control system, where the target policy rule is used to identify the risk of the target type; 基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;Obtain the index relationship information of the target policy rule based on a preset data lineage information database; 根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;According to the index relationship information, the configuration information of the target policy rule is determined, and the configuration information includes: a variable configured by the target policy rule and a parameter configured by the variable; 将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包,所述风控策略包用于导入第二风控系统对所述目标类型的风险进行防控。The target policy rule, the configuration information of the target policy rule, and the index relationship information are derived from the first risk control system to generate the risk control policy package, which is used to import the first risk control policy package. The second risk control system controls the risk of the target type. 10.根据权利要求9所述的方法,所述配置信息还包括所述变量配置的累积策略以及所述累积策略配置的变量和参数,所述累积策略用于统计用户的历史行为数据。10 . The method according to claim 9 , wherein the configuration information further comprises a cumulative strategy configured by the variable and variables and parameters configured by the cumulative strategy, the cumulative strategy being used to count historical behavior data of users. 11 . 11.一种风控策略迁移方法,包括:11. A method for migrating a risk control strategy, comprising: 响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;In response to the policy package generation instruction triggered by the user, determine a target policy rule in the first risk control system, where the target policy rule is used to identify the risk of the target type; 基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息,并根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;Based on a preset data lineage information database, the index relationship information of the target policy rule is obtained, and according to the index relationship information, the configuration information of the target policy rule is determined, and the configuration information includes: the target policy rule configuration The variables of and the parameters configured by the variables; 将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成风控策略包;Deriving the target policy rule, the configuration information of the target policy rule and the index relationship information from the first risk control system to generate a risk control policy package; 响应于所述用户触发的策略包导入指令,根据所述风控策略包中的索引关系信息,将所述目标策略规则以及所述目标策略规则的配置信息均导入第二风控系统,以在所述第二风控系统中运行所述目标策略规则。In response to the policy package import instruction triggered by the user, according to the index relationship information in the risk control policy package, both the target policy rule and the configuration information of the target policy rule are imported into the second risk control system, so as to be in the second risk control system. The target policy rule is run in the second risk control system. 12.一种风控策略迁移装置,包括:12. A risk control strategy migration device, comprising: 获取模块,用于获取风控策略包,所述风控策略包包括:多个策略信息以及所述多个策略信息之间的索引关系信息,所述多个策略信息包括目标策略规则、所述目标策略规则配置的变量以及所述变量配置的参数;an obtaining module, configured to obtain a risk control strategy package, where the risk control strategy package includes: a plurality of strategy information and index relationship information between the plurality of strategy information, the plurality of strategy information including target strategy rules, the Variables configured by the target policy rule and parameters configured by the variables; 导入模块,用于根据所述索引关系信息,将所述多个策略信息均导入目标风控系统,以在所述目标风控系统中运行所述目标策略规则。The import module is configured to import the plurality of policy information into the target risk control system according to the index relationship information, so as to run the target policy rules in the target risk control system. 13.根据权利要求12所述的装置,所述导入模块包括:13. The apparatus of claim 12, the import module comprising: 确定子模块,用于根据所述索引关系信息,确定所述风控策略包中每个策略信息依赖的前置信息;A determination submodule, configured to determine the pre-information on which each policy information in the risk control policy package depends, according to the index relationship information; 第一导入子模块,用于针对所述每个策略信息,执行导入步骤,所述导入步骤包括:检测所述策略信息的前置信息是否已在所述目标风控系统中生效,若是,则在所述目标风控系统中创建所述策略信息,若否,则判定所述策略信息导入失败,并显示失败提示信息。The first import sub-module is configured to perform an import step for each policy information, and the import step includes: detecting whether the pre-information of the policy information has taken effect in the target risk control system, and if so, then The policy information is created in the target risk control system, if not, it is determined that the import of the policy information fails, and a failure prompt message is displayed. 14.根据权利要求13所述的装置,所述导入模块还包括:14. The apparatus of claim 13, the import module further comprising: 第二导入子模块,用于若所述多个策略信息中存在有策略信息导入失败,则针对导入失败的策略信息,再次执行所述导入步骤,直至所述风控策略包中所有策略信息均导入所述目标风控系统。The second importing sub-module is configured to perform the importing step again for the policy information that fails to import if the policy information fails to be imported in the plurality of policy information, until all the policy information in the risk control policy package is Import the target risk control system. 15.根据权利要求12所述的装置,还包括:15. The apparatus of claim 12, further comprising: 提示模块,用于若所述风控策略包中所有策略信息均导入完成,则显示用于表示所述风控策略包导入完成的提示信息。A prompt module, configured to display prompt information indicating that the import of the risk control strategy package is completed if all the policy information in the risk control strategy package is imported. 16.根据权利要求12所述的装置,所述获取模块包括:16. The apparatus of claim 12, the acquisition module comprising: 格式校验子模块,用于对用户选择的风控策略包的文件格式进行校验,若校验通过,则上传所述风控策略包。The format verification sub-module is used to verify the file format of the risk control strategy package selected by the user, and if the verification is passed, upload the risk control strategy package. 17.根据权利要求12所述的装置,所述获取模块包括:17. The apparatus of claim 12, the acquisition module comprising: 任务创建子模块,用于基于上传的风控策略包创建导入任务,并将所述风控策略包中的所述多个策略信息均预置到所述导入任务中;a task creation submodule, used for creating an import task based on the uploaded risk control strategy package, and presetting the plurality of strategy information in the risk control strategy package into the import task; 指令监测子模块,用于若监测到用于触发所述导入任务开启的导入指令,则执行所述根据所述索引关系信息,将所述多个策略信息均导入目标风控系统的步骤。The instruction monitoring sub-module is configured to execute the step of importing the plurality of policy information into the target risk control system according to the index relationship information if an import instruction for triggering the opening of the import task is monitored. 18.根据权利要求12所述的装置,所述风控策略包是根据以下步骤生成的:18. The device according to claim 12, wherein the risk control strategy package is generated according to the following steps: 响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则;In response to the policy package generation instruction triggered by the user, determine the target policy rule in the first risk control system; 基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;Obtain the index relationship information of the target policy rule based on a preset data lineage information database; 根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;According to the index relationship information, the configuration information of the target policy rule is determined, and the configuration information includes: a variable configured by the target policy rule and a parameter configured by the variable; 将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包。The target policy rule, the configuration information of the target policy rule and the index relationship information are derived from the first risk control system to generate the risk control policy package. 19.根据权利要求18所述的装置,所述配置信息还包括所述变量配置的累积策略以及所述累积策略配置的变量和参数,所述累积策略用于统计用户的历史行为数据。19. The apparatus according to claim 18, wherein the configuration information further comprises a cumulative strategy configured by the variable and variables and parameters configured by the cumulative strategy, the cumulative strategy being used to count historical behavior data of users. 20.一种风控策略包生成装置,用于生成权利要求1-6中任一项所述的风控策略包,所述装置包括:20. A device for generating a risk control strategy package for generating the risk control strategy package according to any one of claims 1-6, the device comprising: 规则确定模块,用于响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;a rule determination module, configured to determine a target policy rule in the first risk control system in response to a policy package generation instruction triggered by a user, where the target policy rule is used to identify the risk of the target type; 关系信息获取模块,用于基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息;A relationship information acquisition module, configured to acquire the index relationship information of the target policy rule based on a preset data blood relationship information database; 配置信息获取模块,用于根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;a configuration information acquisition module, configured to determine configuration information of the target policy rule according to the index relationship information, where the configuration information includes: a variable configured by the target policy rule and a parameter configured by the variable; 导出模块,用于将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成所述风控策略包,所述风控策略包用于导入第二风控系统对所述目标类型的风险进行防控。An export module, configured to export the target policy rule, the configuration information of the target policy rule and the index relationship information from the first risk control system to generate the risk control policy package, the risk control policy The package is used to import the second risk control system to prevent and control the risk of the target type. 21.根据权利要求20所述的装置,所述配置信息还包括所述变量配置的累积策略以及所述累积策略配置的变量和参数,所述累积策略用于统计用户的历史行为数据。21. The apparatus according to claim 20, wherein the configuration information further comprises a cumulative strategy configured by the variable and variables and parameters configured by the cumulative strategy, the cumulative strategy being used to count historical behavior data of users. 22.一种风控策略迁移装置,包括:22. A risk control strategy migration device, comprising: 策略包导出模块,用于响应于用户触发的策略包生成指令,确定第一风控系统中的目标策略规则,所述目标策略规则用于识别目标类型的风险;基于预设的数据血缘信息库,获取所述目标策略规则的索引关系信息,并根据所述索引关系信息,确定所述目标策略规则的配置信息,所述配置信息包括:所述目标策略规则配置的变量以及所述变量配置的参数;将所述目标策略规则、所述目标策略规则的配置信息以及所述索引关系信息从所述第一风控系统中导出,生成风控策略包;The policy package export module is used to determine the target policy rule in the first risk control system in response to the policy package generation instruction triggered by the user, and the target policy rule is used to identify the risk of the target type; based on the preset data blood relationship information database , obtain the index relationship information of the target policy rule, and determine the configuration information of the target policy rule according to the index relationship information, the configuration information includes: the variable configured by the target policy rule and the variable configured by the variable parameters; exporting the target policy rule, the configuration information of the target policy rule and the index relationship information from the first risk control system to generate a risk control policy package; 策略包导入模块,用于响应于所述用户触发的策略包导入指令,根据所述风控策略包中的索引关系信息,将所述目标策略规则以及所述目标策略规则的配置信息均导入第二风控系统,以在所述第二风控系统中运行所述目标策略规则。The policy package import module is used to import the target policy rule and the configuration information of the target policy rule into the first step according to the index relationship information in the risk control policy package in response to the policy package import instruction triggered by the user. A second risk control system to run the target policy rule in the second risk control system. 23.一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1-11中任一项所述方法的步骤。23. An electronic device comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the program described in any one of claims 1-11 when the processor executes the program steps of the method. 24.一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-11中任一项所述方法的步骤。24. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any one of claims 1-11.
CN202010533163.1A 2020-06-12 2020-06-12 Wind control strategy migration method, strategy package generation method and device Active CN111784119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010533163.1A CN111784119B (en) 2020-06-12 2020-06-12 Wind control strategy migration method, strategy package generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010533163.1A CN111784119B (en) 2020-06-12 2020-06-12 Wind control strategy migration method, strategy package generation method and device

Publications (2)

Publication Number Publication Date
CN111784119A true CN111784119A (en) 2020-10-16
CN111784119B CN111784119B (en) 2022-06-03

Family

ID=72756182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010533163.1A Active CN111784119B (en) 2020-06-12 2020-06-12 Wind control strategy migration method, strategy package generation method and device

Country Status (1)

Country Link
CN (1) CN111784119B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113888181A (en) * 2021-10-25 2022-01-04 支付宝(杭州)信息技术有限公司 Business processing and risk detection strategy system construction method, device and equipment
CN115879766A (en) * 2022-12-09 2023-03-31 北京奇艺世纪科技有限公司 A method, device, electronic device and storage medium for generating a risk control scheme

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108074179A (en) * 2017-12-07 2018-05-25 深圳乐信软件技术有限公司 Financial air control tactics configuring method, system, server and storage medium
CN108460523A (en) * 2018-02-12 2018-08-28 阿里巴巴集团控股有限公司 A kind of air control rule generating method and device
CN108764674A (en) * 2018-05-16 2018-11-06 普信恒业科技发展(北京)有限公司 A kind of risk control method and device of rule-based engine
CN109063952A (en) * 2018-06-15 2018-12-21 阿里巴巴集团控股有限公司 Strategy generating and risk control method and device
CN109741066A (en) * 2018-11-30 2019-05-10 广东康美通信息服务有限公司 Method, electronic equipment, storage medium and the system of automatic stay customer account
CN110288462A (en) * 2019-05-31 2019-09-27 北京随信云链科技有限公司 Air control system, air control method, computer readable storage medium and calculating equipment
US20190333141A1 (en) * 2018-04-27 2019-10-31 Jpmorgan Chase Bank, N.A. System and method for implementing customer exposure management tool
CN110827026A (en) * 2019-11-05 2020-02-21 武汉飞象云科技有限公司 Rule chain-based dynamic wind control processing system for heat deployment in aggregated payment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108074179A (en) * 2017-12-07 2018-05-25 深圳乐信软件技术有限公司 Financial air control tactics configuring method, system, server and storage medium
CN108460523A (en) * 2018-02-12 2018-08-28 阿里巴巴集团控股有限公司 A kind of air control rule generating method and device
US20190333141A1 (en) * 2018-04-27 2019-10-31 Jpmorgan Chase Bank, N.A. System and method for implementing customer exposure management tool
CN108764674A (en) * 2018-05-16 2018-11-06 普信恒业科技发展(北京)有限公司 A kind of risk control method and device of rule-based engine
CN109063952A (en) * 2018-06-15 2018-12-21 阿里巴巴集团控股有限公司 Strategy generating and risk control method and device
CN109741066A (en) * 2018-11-30 2019-05-10 广东康美通信息服务有限公司 Method, electronic equipment, storage medium and the system of automatic stay customer account
CN110288462A (en) * 2019-05-31 2019-09-27 北京随信云链科技有限公司 Air control system, air control method, computer readable storage medium and calculating equipment
CN110827026A (en) * 2019-11-05 2020-02-21 武汉飞象云科技有限公司 Rule chain-based dynamic wind control processing system for heat deployment in aggregated payment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113888181A (en) * 2021-10-25 2022-01-04 支付宝(杭州)信息技术有限公司 Business processing and risk detection strategy system construction method, device and equipment
CN115879766A (en) * 2022-12-09 2023-03-31 北京奇艺世纪科技有限公司 A method, device, electronic device and storage medium for generating a risk control scheme

Also Published As

Publication number Publication date
CN111784119B (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN113361838B (en) Business risk control method, device, electronic device and storage medium
US11461679B2 (en) Message management using machine learning techniques
CN115469833B (en) Method and device for realizing dynamic rule engine, electronic equipment and storage medium
CN110222533A (en) Distributed data security application method, system and electronic equipment
CN110601896B (en) Data processing method and equipment based on block chain nodes
CN111083013B (en) Test method and device based on flow playback, electronic equipment and storage medium
CN111897587B (en) Internet of things application configuration method, device, computer equipment and storage medium
CN115185496A (en) Service arrangement method based on Flowable workflow engine
US20250036498A1 (en) Automated performance testing in a containerized environment
CN111784119A (en) Risk control strategy migration method, strategy package generation method and device
CN106779404B (en) Flow early warning method and device
US20200349527A1 (en) Machine learning risk assessment utilizing calendar data
CN113741868A (en) Business calculation task processing method and device, computer equipment and storage medium
US20210110330A1 (en) Skill-set score based intelligent case assignment system
CN116897345A (en) Methods and devices for processing contract tasks
CN115185514A (en) Zero code modeling processing method and device and related equipment
CN113608751A (en) Operation method, device, device and storage medium of reasoning service platform
CN113128980A (en) Software outsourcing order auditing method and system
AU2021236966A1 (en) Event correlation in fault event management
US20200097870A1 (en) Work task commitment manager
US20140019193A1 (en) Issue Processing Systems and Methods
CN115509761A (en) Application arranging method and storage medium
CN114971570A (en) Activity qualification verification method and device
CN115955481B (en) Emergency response method and device
CN115686593B (en) Software data management and control method and device based on data integration

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310000 Zhejiang Province, Hangzhou City, Xihu District, Xixi Road 543-569 (continuous odd numbers) Building 1, Building 2, 5th Floor, Room 518

Patentee after: Alipay (Hangzhou) Digital Service Technology Co.,Ltd.

Country or region after: China

Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: Alipay (Hangzhou) Information Technology Co., Ltd.

Country or region before: China

CP03 Change of name, title or address