CN111538715A - Method and device for migrating wind control scheme and electronic equipment - Google Patents

Method and device for migrating wind control scheme and electronic equipment Download PDF

Info

Publication number
CN111538715A
CN111538715A CN202010256324.7A CN202010256324A CN111538715A CN 111538715 A CN111538715 A CN 111538715A CN 202010256324 A CN202010256324 A CN 202010256324A CN 111538715 A CN111538715 A CN 111538715A
Authority
CN
China
Prior art keywords
wind control
target
control strategy
scene
strategy
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
CN202010256324.7A
Other languages
Chinese (zh)
Other versions
CN111538715B (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 Information 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 CN202010256324.7A priority Critical patent/CN111538715B/en
Publication of CN111538715A publication Critical patent/CN111538715A/en
Application granted granted Critical
Publication of CN111538715B publication Critical patent/CN111538715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/185Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Artificial Intelligence (AREA)
  • Development Economics (AREA)
  • Mathematical Physics (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Game Theory and Decision Science (AREA)
  • Computing Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Control Of Eletrric Generators (AREA)
  • Feedback Control In General (AREA)

Abstract

The embodiment of the specification provides a migration method and device of a wind control scheme and electronic equipment. The method comprises the following steps: and deriving a target wind control strategy applied in the first scene. Deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy. And importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.

Description

Method and device for migrating wind control scheme and electronic equipment
Technical Field
The present disclosure relates to the field of wind control technologies, and in particular, to a migration method and apparatus for a wind control scheme, and an electronic device.
Background
The deep learning model has been used more and more widely in the field of wind control by virtue of the capability of mechanically processing information. At present, a wind control system in a business form depends on a large number of different wind control models for risk identification, and the wind control models have dependency relationships on strategies, events, rules and variables, so that the bottom layer wind control configuration is complicated and complicated. When mature wind control schemes in other business scenes need to be released into one business scene, a great deal of energy and cost are needed to comb and migrate the wind control configuration.
Therefore, how to simply and efficiently realize scene migration of the wind control scheme is a technical problem which needs to be solved urgently at present.
Disclosure of Invention
The embodiment of the specification aims to provide a method and a device for migrating a wind control scheme and electronic equipment, and scene migration of the wind control scheme can be simply, efficiently, simply and efficiently realized.
In order to achieve the above object, the embodiments of the present specification are implemented as follows:
in a first aspect, a migration method of a wind control scheme is provided, including:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
In a second aspect, a migration apparatus of a wind control scheme is provided, including:
the first derivation module is used for deriving a target wind control strategy applied in a first scene;
the second derivation module is used for deriving a wind control model used by the target wind control strategy and dependent data of the wind control model based on the target wind control strategy;
and the import module is used for importing the wind control model used by the target wind control strategy and the dependent data of the wind control model into a wind control executable file of a second scene as the wind control configuration of the target wind control strategy, so that the target wind control strategy can be executed aiming at the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
In a third aspect, an electronic device is provided that includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
In a fourth aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
In the scheme of the embodiment of the description, the wind control strategy is used as the granularity, the wind control model in the first scene and the dependent data of the wind control model are combed, so that the wind control model of the target wind control strategy to be migrated and the corresponding dependent data are imported into the wind control executable file in the second scene, and the wind control scheme corresponding to the target wind control strategy is simply and efficiently launched into the second scene.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative efforts.
Fig. 1 is a schematic diagram of a migration method of a wind control scheme provided in an embodiment of the present disclosure.
Fig. 2 is a data export schematic diagram of a migration method of a wind control scheme provided in an embodiment of the present specification.
Fig. 3 is a schematic structural diagram of a migration apparatus of a wind control scheme provided in an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of this specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
As described above, in a wind control system in a current service form, a large number of different wind control models are set for risk identification, and the wind control models have dependency relationships on policies, events, rules, and variables, which leads to complicated and complicated wind control configuration at the bottom layer. When mature wind control schemes in other business scenes need to be released into one business scene, a great deal of energy and cost are needed to comb and migrate the wind control configuration. Therefore, the technical scheme is provided, and the scene migration of the wind control scheme can be simply and efficiently realized.
Fig. 1 is a flowchart of a migration method of a wind control scheme according to an embodiment of the present disclosure. The method shown in fig. 1 may be performed by a corresponding apparatus, comprising:
and step S102, deriving a target wind control strategy applied in the first scene.
The first scene may set a plurality of different wind control policies, and the target wind control policy in this step may be one or more of the plurality of different wind control policies set by the first scene. A wind control strategy may be considered a wind control scheme. In the solutions of the embodiments of the present description, the same wind control scheme may be applicable to different service scenarios, and thus there is a need for a scenario migration of a target wind control policy.
And step S104, deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy.
It should be understood that the wind control model used in the first scenario by the target wind control strategy may not be limited to one, and is not specifically limited herein.
By way of exemplary introduction, the dependency data of the wind control model may include, but is not limited to, wind control attributes involved in the wind control model and variable expression rules of the wind control model. For example, the wind control model is specifically used for identifying the risk of number stealing, and the corresponding variable expression rule is specifically a formula for calculating the model input value according to the last login place and the current login place of the user, so that the login place related to the user login event serves as the risk attribute corresponding to the wind control model A, B.
In the process of using the wind control model, the wind control attribute value of the wind control object needs to be obtained according to the wind control attribute related to the wind control model, and the wind control attribute value is re-expressed according to the variable expression rule of the wind control model to be input into the wind control model, so that an output result of the wind control model for the wind control object is obtained, and the output result can be used for judging whether the wind control object has risks.
Therefore, the step can derive a wind control model used in the first scene and a variable expression rule of the wind control model according to a target wind control strategy; and then, deriving the wind control attribute associated with the variable expression rule from the wind control execution event of the target wind control strategy corresponding to the first scene.
And step S106, importing the wind control model used by the target wind control strategy and the dependency data of the wind control model as the wind control configuration of the target wind control strategy into the wind control executable file of the second scene, so that the wind control executable file of the second scene can execute the target wind control strategy aiming at the second scene after loading the wind control configuration of the target wind control strategy.
Specifically, the wind control executable file of the second scenario may store corresponding wind control configurations for different wind control strategies, and selectively load the wind control configurations of any wind control strategy according to actual requirements. It should be noted that, the relationship between the first scenario and the second scenario is not specifically limited herein. The second scenario and the first scenario may belong to the same service scenario or may belong to different service scenarios, and even the first scenario may be a test scenario of the second scenario.
In the migration method of the wind control scheme in the embodiment of the description, the wind control strategy is used as the granularity, the wind control model in the first scene and the dependent data of the wind control model are combed, so that the wind control model of the target wind control strategy to be migrated and the corresponding dependent data are imported into the wind control executable file in the second scene, and the wind control scheme corresponding to the target wind control strategy is simply and efficiently launched into the second scene.
Specifically, before importing the wind control model used by the target wind control strategy and the dependency data of the wind control model as the wind control configuration of the target wind control strategy into the wind control executable file of the second scene, it is further necessary to avoid a conflict between the existing wind control strategy in the second scene and the target wind control strategy.
For this purpose, the step S106 may further include:
s1062, determining whether the original wind control strategy in the wind control executable file of the second scene conflicts with the target wind control strategy.
The original wind control strategy which conflicts with the target wind control strategy in the wind control executable file of the second scene is as follows:
and the wind control strategy conflicts with the wind control configuration information of the target wind control strategy. For example, the logic of the wind control model of the target wind control strategy conflicts with the logic of the wind control model of the original wind control strategy of the second scenario. The embodiment of the specification can respectively determine whether logic conflict exists by performing model simulation on the dependent data of the two wind control models.
And/or the presence of a gas in the gas,
a wind control policy that conflicts with the naming of the target wind control policy in the wind control executable. That is, the original wind control strategy with the same name as the target wind control strategy exists in the wind control executable file of the second scene. This is the case when the wind control configuration of the original wind control policy is updated, that is, the scheme in the embodiment of this specification may update the wind control configuration of the original wind control policy corresponding to the same-named second scene by using the wind control configuration of the target wind control policy.
And S1064, if the target wind control strategy does not exist, importing the wind control configuration information of the target wind control strategy into a wind control executable file of the second scene.
And S1066, if the current wind control configuration information exists, replacing the wind control configuration information of the original wind control strategy with the wind control configuration information of the target wind control strategy, or creating a new wind control executable file for the second scene, and importing the wind control configuration information of the target wind control strategy into the new wind control executable file.
In this step, if the update condition is satisfied, replacing the conflicting wind control configuration information of the original wind control strategy with the wind control configuration information of the target wind control strategy, otherwise, creating a new wind control executable file for the second scene, and importing the wind control configuration information of the target wind control strategy into the new wind control executable file. It should be noted here that each of the wind-control executable files of the second scenario may run independently.
In addition, the method in this embodiment of the present specification may also determine, based on a user operation, whether to replace a wind control configuration of a target wind control policy with a wind control configuration of an original wind control policy that has a conflict, or determine whether to create a new wind control executable file for the first service scene, and import the wind control configuration of the target wind control policy into the new wind control executable file.
In addition, on the basis, the method in the embodiment of the present specification may further store the wind control model used by the target wind control policy and the dependency data of the wind control model as the wind control configuration of the target wind control policy in a preset wind control policy database, so that the wind control scheme may be subsequently delivered to any scene by using the data in the wind control policy database.
The migration method of the embodiments of the present disclosure is described in detail below with reference to a specific implementation manner.
The migration method in the embodiments of the present specification mainly includes two parts, a data export process and a data import process.
Referring to fig. 3, assuming that the wind control scheme of the present implementation is already applied to the first scenario, the third scenario, and the fourth scenario, a data export process will be described below by taking as an example that the wind control configuration data for the wind control scheme in the first scenario is imported into the second application scenario. The data export process comprises the following steps:
the method comprises the steps of firstly, deriving a wind control scheme, aiming at a target wind control strategy in a first scene, and determining a wind control model used by the target wind control strategy and a variable expression rule of the wind control model according to the target wind control strategy.
As can be appreciated from fig. 3, the target wind control strategy of the present implementation uses three wind control models, namely, the wind control model A, B, C. The wind control models A, B use variable table rules 1 and 2, and the wind control model C uses variable expression rule 3.
And step three, deriving the risk attribute related to the variable expression rule of the wind control model from the wind control execution event.
As can be seen from fig. 3, in the present implementation, the wind control model A, B corresponds to the wind control attributes 1, 2, and 3 under the variable expression rule 1, corresponds to the wind control attributes 1, 3, and 4 under the variable expression rule 2, and corresponds to the wind control attribute 5 under the variable expression rule 3.
The wind control model A-variable expression rule 1-wind control attributes 1, 2 and 3, the wind control model A-variable expression rule 2-wind control attributes 1, 3 and 4, the wind control model B-variable expression rule 1-wind control attributes 1, 2 and 3, the wind control model B-variable expression rule 2-wind control attributes 1, 3 and 4 and the wind control model C-variable expression rule 3-wind control attribute 5 are data needing to be exported in the second scene.
Here, the above-described "wind control model C-variable expression rule 3-wind control attribute 5" is taken as an example. When the section of data indicates that the wind control model C is used, the value of the wind control attribute 5 needs to be extracted from the wind control object, and the value of the wind control attribute 5 is input into the wind control model C according to the variable expression rule 3.
After that, the data import flow is executed. The data import process mainly comprises the following steps:
it is detected whether there is a logical conflict between the wind control model A, B, C and the existing wind control models in the second scenario, respectively.
If any of the wind control models A, B, C have conflicts, possible options for solving the logical conflict, such as [ replace ], [ new ], [ copy ], etc., which do not affect the normal operation of the wind control system in the second scenario are given. And selecting the operation to be executed from the options by the user aiming at the wind control model with conflict in the first scene.
And if the conflict does not exist, determining whether the name of the target wind control strategy has uniqueness in the wind control executable file of the second scene.
If the target wind control strategy does not exist in the wind control executable file of the second scene, an option [ import ] is given to the user.
If the target wind control strategy already exists in the wind control executable file of the second scene, judging whether the target wind control strategy of the second scene is on-line; if not, giving options [ replace ] and [ new ], otherwise giving options [ copy ] and [ new ].
It can be seen from the foregoing implementation manner that, in the method in the embodiment of the present specification, the wind control schemes can be migrated across scenes or the configuration data of the wind control schemes in the same scene is updated through a program, and the data combing is more efficient, so that the time and cost required for the case are greatly reduced, and the probability of data errors is reduced. Meanwhile, on the premise of not influencing the normal work of the wind control system, the right of solving conflict in the importing process is given to the user, and various unexpected emergencies can be well dealt with.
The above is a description of the method of the embodiments of the present specification. It will be appreciated that appropriate modifications may be made without departing from the principles outlined herein, and such modifications are intended to be included within the scope of the embodiments herein.
Correspondingly to the migration method, an embodiment of the present specification further provides a migration apparatus of a wind control scheme. Fig. 3 is a structural diagram of a migration apparatus according to an embodiment of the present disclosure, including:
a first derivation module 310, which derives a target wind control strategy applied in a first scene;
a second deriving module 320, configured to derive, based on the target wind control policy, a wind control model used by the target wind control policy and dependency data of the wind control model;
the importing module 330 is configured to import the wind control model used by the target wind control policy and the dependent data of the wind control model into a wind control executable file of a second scene as a wind control configuration of the target wind control policy, so that the target wind control policy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control policy.
The migration device of the wind control scheme in the embodiment of the present description combs the wind control model and the dependent data of the wind control model in the first scene with the wind control strategy as a granularity, so as to import the wind control model of the target wind control strategy to be migrated and the corresponding dependent data into the wind control executable file of the second scene, thereby simply and efficiently launching the wind control scheme corresponding to the target wind control strategy into the second scene.
Optionally, the dependency data of the wind control model includes: the wind control attribute related to the wind control model and the variable expression rule of the wind control model. When the first derivation module 310 is executed, specifically, according to the target wind control strategy, deriving a wind control model used in the first scene of the target wind control strategy and a variable expression rule of the wind control model; and then, deriving a wind control attribute associated with the variable expression rule from a wind control execution event corresponding to the target wind control strategy in the first scene, wherein the wind control attribute associated with the variable expression rule is the wind control attribute related to the wind control model.
Optionally, the importing module 330 specifically includes, when executed: determining whether an original wind control strategy in a wind control executable file of a second scene conflicts with the target wind control strategy; if the target wind control strategy does not exist, the wind control configuration information of the target wind control strategy is imported into the wind control executable file of the second scene; and if so, replacing the wind control configuration information of the target wind control strategy with the conflicting wind control configuration information of the original wind control strategy, or creating a new wind control executable file for the second scene and importing the wind control configuration information of the target wind control strategy into the newly created wind control executable file.
The original wind control strategy in the wind control executable file of the second scene, which conflicts with the target wind control strategy, is as follows: and the wind control strategy conflicts with the wind control configuration information of the target wind control strategy and/or conflicts with the naming of the target wind control strategy in a wind control executable file.
Optionally, the importing module 330 replaces the wind control configuration information of the target wind control policy with the wind control configuration information of the original wind control policy that has a conflict, where the replacing includes: determining whether an original wind control strategy which conflicts with a target wind control strategy is in an online state in a second scene;
if yes, caching a copy of the wind control configuration information of the target wind control strategy, and covering the cached copy with the wind control configuration information of the original wind control strategy which conflicts with the target wind control strategy in a wind control executable file after the original wind control strategy which conflicts with the target wind control strategy is offline in the second scene; and if not, directly covering the wind control configuration information of the target wind control strategy with the wind control configuration information of the original wind control strategy which conflicts with the target wind control strategy in the wind control executable file.
Optionally, the embodiments of this specification further include:
and the interaction module is used for determining whether the wind control configuration of the target wind control strategy replaces the wind control configuration of the original wind control strategy which conflicts with the target wind control strategy or determining whether to newly build a wind control executable file aiming at the first service scene and importing the wind control configuration of the target wind control strategy into the newly built wind control executable file if the wind control executable file of the first service scene determines that the original wind control strategy which conflicts with the target wind control strategy exists.
Optionally, the embodiments of this specification further include:
and the storage module is used for storing the wind control model used by the target wind control strategy and the dependent data of the wind control model into a preset wind control strategy database as the wind control configuration of the target wind control strategy.
The above is a description of the method of the embodiments of the present specification. It will be appreciated that appropriate modifications may be made without departing from the principles outlined herein, and such modifications are intended to be included within the scope of the embodiments herein.
Obviously, the migration apparatus according to the embodiment of the present specification may be an execution subject of the migration method shown in fig. 1, and thus can implement the function of the migration method implemented in fig. 1. Since the principle is the same, the detailed description is omitted here.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 4, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program, and the migration device is formed on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
The electronic device in the embodiment of the description combs the wind control model and the dependent data of the wind control model in the first scene by using the wind control strategy as the granularity, so as to import the wind control model of the target wind control strategy to be migrated and the corresponding dependent data into the wind control executable file of the second scene, and thus, the wind control scheme corresponding to the target wind control strategy is simply and efficiently launched into the second scene.
The migration method disclosed in the embodiment of fig. 1 in this specification can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present specification may be embodied directly in a hardware decoding processor, or in a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It should be understood that the electronic device according to the embodiment of the present disclosure may implement the functions of the migration apparatus according to the embodiments shown in fig. 1 to fig. 3, and details are not described herein.
Of course, besides the software implementation, the electronic device in this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Furthermore, the present specification embodiments also propose a computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a portable electronic device comprising a plurality of application programs, are capable of causing the portable electronic device to perform the method of the embodiment shown in fig. 1, and in particular to perform the following method:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
It should be understood that the above-mentioned instructions, when executed by a portable electronic device including a plurality of application programs, can enable the migration apparatus described above to implement the functions of the embodiment shown in fig. 1, and will not be described in detail herein.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification. Moreover, all other embodiments obtained by a person skilled in the art without making any inventive step shall fall within the scope of protection of this document.

Claims (11)

1. A migration method of a wind control scheme comprises the following steps:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
2. The method of claim 1, wherein the first and second light sources are selected from the group consisting of,
the dependent data of the wind control model comprises:
the wind control attribute related to the wind control model and the variable expression rule of the wind control model.
3. The method of claim 2, wherein the first and second light sources are selected from the group consisting of,
deriving a wind control model used by the target wind control strategy in the first scene and dependent data of the wind control model based on the target wind control strategy, including:
deriving a wind control model used in the first scene and a variable expression rule of the wind control model according to the target wind control strategy;
and deriving the wind control attribute associated with the variable expression rule from the wind control execution event of the target wind control strategy corresponding to the first scene, wherein the wind control attribute associated with the variable expression rule is the wind control attribute related to the wind control model.
4. The method of claim 1, wherein the first and second light sources are selected from the group consisting of,
importing the wind control model used by the target wind control strategy and the dependent data of the wind control model into a wind control executable file of a second scene as the wind control configuration of the target wind control strategy, wherein the steps of:
determining whether an original wind control strategy in a wind control executable file of a second scene conflicts with the target wind control strategy;
if the target wind control strategy does not exist, the wind control configuration information of the target wind control strategy is imported into the wind control executable file of the second scene;
and if so, replacing the wind control configuration information of the target wind control strategy with the conflicting wind control configuration information of the original wind control strategy, or creating a new wind control executable file for the second scene and importing the wind control configuration information of the target wind control strategy into the newly created wind control executable file.
5. The method of claim 4, wherein the first and second light sources are selected from the group consisting of,
the original wind control strategy in the wind control executable file of the second scene, which conflicts with the target wind control strategy, is as follows: and the wind control strategy conflicts with the wind control configuration information of the target wind control strategy and/or conflicts with the naming of the target wind control strategy in a wind control executable file.
6. The method of claim 4, wherein the first and second light sources are selected from the group consisting of,
replacing the wind control configuration information of the target wind control strategy with the wind control configuration information of the original wind control strategy with conflict, wherein the method comprises the following steps:
determining whether an original wind control strategy which conflicts with a target wind control strategy is in an online state in a second scene;
if yes, caching a copy of the wind control configuration information of the target wind control strategy, and covering the cached copy with the wind control configuration information of the original wind control strategy which conflicts with the target wind control strategy in a wind control executable file after the original wind control strategy which conflicts with the target wind control strategy is offline in the second scene;
and if not, directly covering the wind control configuration information of the target wind control strategy with the wind control configuration information of the original wind control strategy which conflicts with the target wind control strategy in the wind control executable file.
7. The method of claim 4, wherein the first and second light sources are selected from the group consisting of,
in the process of importing the wind control configuration of the target wind control strategy into the wind control executable file of the second service scene, if it is determined that an original wind control strategy which conflicts with the target wind control strategy exists in the wind control executable file of the first service scene, whether the wind control configuration of the target wind control strategy replaces the wind control configuration of the original wind control strategy which conflicts with the target wind control strategy is determined based on user operation, or whether a wind control executable file is newly built for the first service scene is determined, and the wind control configuration of the target wind control strategy is imported into the newly built wind control executable file.
8. The method of claim 1, further comprising:
and storing the wind control model used by the target wind control strategy and the dependent data of the wind control model into a preset wind control strategy database as the wind control configuration of the target wind control strategy.
9. A migration apparatus of a wind control scheme, comprising:
the first derivation module is used for deriving a target wind control strategy applied in a first scene;
the second derivation module is used for deriving a wind control model used by the target wind control strategy and dependent data of the wind control model based on the target wind control strategy;
and the import module is used for importing the wind control model used by the target wind control strategy and the dependent data of the wind control model into a wind control executable file of a second scene as the wind control configuration of the target wind control strategy, so that the target wind control strategy can be executed aiming at the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
10. An electronic device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
11. A computer-readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
deriving a target wind control strategy applied in a first scene;
deriving a wind control model used by the target wind control strategy and dependent data of the wind control model based on the target wind control strategy;
and importing the wind control model used by the target wind control strategy and the dependent data of the wind control model as the wind control configuration of the target wind control strategy into a wind control executable file of a second scene, so that the target wind control strategy can be executed for the second scene after the wind control executable file of the second scene loads the wind control configuration of the target wind control strategy.
CN202010256324.7A 2020-04-02 2020-04-02 Method and device for migrating wind control scheme and electronic equipment Active CN111538715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010256324.7A CN111538715B (en) 2020-04-02 2020-04-02 Method and device for migrating wind control scheme and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010256324.7A CN111538715B (en) 2020-04-02 2020-04-02 Method and device for migrating wind control scheme and electronic equipment

Publications (2)

Publication Number Publication Date
CN111538715A true CN111538715A (en) 2020-08-14
CN111538715B CN111538715B (en) 2023-04-07

Family

ID=71952142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010256324.7A Active CN111538715B (en) 2020-04-02 2020-04-02 Method and device for migrating wind control scheme and electronic equipment

Country Status (1)

Country Link
CN (1) CN111538715B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491930A (en) * 2020-12-16 2021-03-12 平安养老保险股份有限公司 System risk dynamic monitoring method, system, computer equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150348054A1 (en) * 2012-09-13 2015-12-03 Nec Corporation Risk analysis device, risk analysis method and program storage medium
US20160085779A1 (en) * 2014-09-19 2016-03-24 Benefitfocus.Com, Inc. Systems and methods for dynamically intercepting and adjusting persistence behaviors via runtime configuration
US20180191599A1 (en) * 2012-10-26 2018-07-05 Syntel, Inc. System and method for evaluation of migration of applications to the cloud
US20180247312A1 (en) * 2017-02-28 2018-08-30 Early Warning Services, Llc Authentication and security for mobile-device transactions
US20180293665A1 (en) * 2013-07-01 2018-10-11 Nader Mdeway Consumer-Centered Risk Analysis and Insurance Purchasing Systems and Methods
US20180300740A1 (en) * 2017-04-12 2018-10-18 International Business Machines Corporation Predicting cost of an infrastructure stack described in a template
CN109472609A (en) * 2018-11-09 2019-03-15 阿里巴巴集团控股有限公司 A kind of air control method for determining reason and device
US20190244148A1 (en) * 2018-02-08 2019-08-08 GeminiRE Computer architecture for characterizing and managing risk
CN110162333A (en) * 2019-05-10 2019-08-23 中信银行股份有限公司 Multi-service scene tactical management platform based on Drools regulation engine
CN110659108A (en) * 2019-09-20 2020-01-07 深圳市发掘科技有限公司 Cloud system virtual machine task migration method and device and server
US10565647B1 (en) * 2014-08-19 2020-02-18 Next Level Derivatives Llc Secure multi-server interest rate based instrument trading system and methods of increasing efficiency thereof
US20200106793A1 (en) * 2018-10-02 2020-04-02 Olympus Infotech, LLC Methods, systems, and computer program products for continuous cyber risk monitoring

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150348054A1 (en) * 2012-09-13 2015-12-03 Nec Corporation Risk analysis device, risk analysis method and program storage medium
US20180191599A1 (en) * 2012-10-26 2018-07-05 Syntel, Inc. System and method for evaluation of migration of applications to the cloud
US20180293665A1 (en) * 2013-07-01 2018-10-11 Nader Mdeway Consumer-Centered Risk Analysis and Insurance Purchasing Systems and Methods
US10565647B1 (en) * 2014-08-19 2020-02-18 Next Level Derivatives Llc Secure multi-server interest rate based instrument trading system and methods of increasing efficiency thereof
US20160085779A1 (en) * 2014-09-19 2016-03-24 Benefitfocus.Com, Inc. Systems and methods for dynamically intercepting and adjusting persistence behaviors via runtime configuration
US20180247312A1 (en) * 2017-02-28 2018-08-30 Early Warning Services, Llc Authentication and security for mobile-device transactions
US20180300740A1 (en) * 2017-04-12 2018-10-18 International Business Machines Corporation Predicting cost of an infrastructure stack described in a template
US20190244148A1 (en) * 2018-02-08 2019-08-08 GeminiRE Computer architecture for characterizing and managing risk
US20200106793A1 (en) * 2018-10-02 2020-04-02 Olympus Infotech, LLC Methods, systems, and computer program products for continuous cyber risk monitoring
CN109472609A (en) * 2018-11-09 2019-03-15 阿里巴巴集团控股有限公司 A kind of air control method for determining reason and device
CN110162333A (en) * 2019-05-10 2019-08-23 中信银行股份有限公司 Multi-service scene tactical management platform based on Drools regulation engine
CN110659108A (en) * 2019-09-20 2020-01-07 深圳市发掘科技有限公司 Cloud system virtual machine task migration method and device and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491930A (en) * 2020-12-16 2021-03-12 平安养老保险股份有限公司 System risk dynamic monitoring method, system, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111538715B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN110704037A (en) Rule engine implementation method and device
CN109032590B (en) Configuration method, device, terminal and storage medium of visual development environment
US11699073B2 (en) Network off-line model processing method, artificial intelligence processing device and related products
CN113206830B (en) Data processing method and device and electronic equipment
CN111177113A (en) Data migration method and device, computer equipment and storage medium
CN111124872A (en) Branch detection method and device based on difference code analysis and storage medium
CN111177703B (en) Method and device for determining data integrity of operating system
CN113986241A (en) Configuration method and device of business rules based on knowledge graph
CN111538715B (en) Method and device for migrating wind control scheme and electronic equipment
CN111338716A (en) Data processing method and device based on rule engine and terminal equipment
CN115238247A (en) Data processing method based on zero trust data access control system
CN111144837A (en) Flow arrangement method and device, storage medium and electronic equipment
CN112256672B (en) Database change approval method and device
CN112395199B (en) Distributed software instance testing method based on cloud computing and software development platform
CN112947907B (en) Method for creating code branches
CN112712125A (en) Event stream pattern matching method and device, storage medium and processor
CN108509773B (en) Source code reinforcing method and device
CN110647463A (en) Method and device for restoring test breakpoint and electronic equipment
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
CN115965065A (en) Model calculation method, device and equipment
CN113535206B (en) Multi-version code upgrading method and system
CN112100226B (en) Data query method and computer readable storage medium
CN112966974A (en) Project configuration method, device, equipment and medium
CN113377419A (en) Business processing method and device, readable storage medium and electronic equipment
CN115033551A (en) Database migration method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40035486

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant