CN109522031A - The deployment and upgrade method of air control strategy - Google Patents

The deployment and upgrade method of air control strategy Download PDF

Info

Publication number
CN109522031A
CN109522031A CN201810996591.0A CN201810996591A CN109522031A CN 109522031 A CN109522031 A CN 109522031A CN 201810996591 A CN201810996591 A CN 201810996591A CN 109522031 A CN109522031 A CN 109522031A
Authority
CN
China
Prior art keywords
strategy
version number
air control
deployment
new version
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.)
Withdrawn
Application number
CN201810996591.0A
Other languages
Chinese (zh)
Inventor
谢世明
蒋纪匀
毛玮
陈帅
黄倩
华杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai You And I Loan Internet Financial Information Service Co Ltd
Original Assignee
Shanghai You And I Loan Internet Financial Information Service 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 Shanghai You And I Loan Internet Financial Information Service Co Ltd filed Critical Shanghai You And I Loan Internet Financial Information Service Co Ltd
Priority to CN201810996591.0A priority Critical patent/CN109522031A/en
Publication of CN109522031A publication Critical patent/CN109522031A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Abstract

The invention discloses the deployment and upgrade method of a kind of air control strategy, comprising: S1 creates new strategy execution corresponding with new version number, wherein policy instance is directed toward new strategy execution when the new version number of generation strategy example;S2, when regulative strategy example, policy instance is searched and calls the corresponding strategy execution of new version number, to return the result;Wherein, when the new version number of generation strategy example, the id of policy instance is constant.Above-mentioned technical proposal of the invention can facilitate air control strategy personnel quickly to develop and dispose, and it is quick to dispose process, strategy use person's unaware, without matching again.

Description

The deployment and upgrade method of air control strategy
Technical field
The present invention relates to field of computer technology, it particularly relates to a kind of deployment and upgrade method of air control strategy.
Background technique
In financial field, after air control strategy personnel define air control strategy, by relevant code or matched by operation maintenance personnel It sets deployment or is upgraded in production.Deployment process may include restarting service, and air control strategy use person needs are again after deployment With new strategy.Whole flow process takes a long time, and is not suitable for the reality that air control strategy needs quickly develop, adjust, coming into force.
Summary of the invention
In view of the above problems in the related art, the present invention proposes the deployment and upgrade method of a kind of air control strategy.
The technical scheme of the present invention is realized as follows:
According to an aspect of the invention, there is provided a kind of deployment and upgrade method of air control strategy, comprising:
S1 creates new strategy execution corresponding with new version number when the new version number of generation strategy example, wherein Policy instance is directed toward new strategy execution;
S2, when regulative strategy example, the corresponding strategy execution of new version number is searched and called to policy instance, to return to knot Fruit;
Wherein, when the new version number of generation strategy example, the id of policy instance is constant.
According to an embodiment of the invention, S1 includes: when the new version number of generation strategy example, generation strategy is defined new The new version number of version number, policy definition corresponds to workflow defining;The corresponding workflow defining of new version number is for tactful Example uses.
According to an embodiment of the invention, wherein, showing current version number and the corresponding work of current version number by the page Make the content of stream definition.
According to an embodiment of the invention, the different editions number that are defined by page Review Policies and different editions number it Between switch.
According to an embodiment of the invention, wherein, strategy execution is invisible.
According to an embodiment of the invention, passing through API Calls policy instance in S2.
Above-mentioned technical proposal of the invention, policy instance itself id in upgrading, change version is constant, only changes version Number and version number corresponding to strategy execution, so the user of strategy is to the version change unaware of policy instance, thus Facilitate air control strategy personnel quickly can develop and dispose, deployment process is quick, strategy use person's unaware, without matching again.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the deployment of air control strategy according to an embodiment of the present invention and the flow chart of upgrade method;
Fig. 2 is the system schematic of the deployment for supporting air control strategy and upgrade method according to an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art's every other embodiment obtained belong to what the present invention protected Range.
As shown in Figure 1, the deployment and upgrade method of air control strategy according to an embodiment of the present invention, comprising the following steps:
S10 creates new strategy execution corresponding with new version number when the new version number of generation strategy example, wherein Policy instance is directed toward new strategy execution;
S20, when regulative strategy example, the corresponding strategy execution of new version number is searched and called to policy instance, to return to knot Fruit;
Wherein, when the new version number of generation strategy example, the id of policy instance is constant.
Above-mentioned technical proposal of the invention, policy instance itself id in upgrading, change version is constant, only changes version Number and version number corresponding to strategy execution, so the user of strategy is to the version change unaware of policy instance, thus Facilitate air control strategy personnel quickly can develop and dispose, deployment process is quick, strategy use person's unaware, without matching again.
According to an embodiment of the invention, step S10 is specifically included: S12 is raw when the new version number of generation strategy example At the new version number of policy definition, the new version number of policy definition corresponds to workflow defining;S14, the corresponding work of new version number Make stream definition for being used by policy instance.
According to an embodiment of the invention, showing current version number and the corresponding workflow of current version number by the page The content of definition.
According to an embodiment of the invention, the different editions number that are defined by page Review Policies and different editions number it Between switch.
According to an embodiment of the invention, strategy execution is invisible.
According to an embodiment of the invention, passing through API (Application Programming in step S20 Interface, application programming interface) regulative strategy example.
In order to preferably describe technical solution of the present invention, it is described in detail below by specific embodiment.
The activiti workflow engine of open source can be used in policy definition and strategy execution, realizes mainly include following five Divide content:
1) system assembly strategy defines, and air control strategy personnel can create or edit existing policy definition.Creation every time Or Editing Strategy saves when defining can generate a new policy definition version.The version has corresponded to an activiti workflow Definition, air control strategy personnel do not perceive the presence of workflow defining.And activiti workflow defining can not be changed or be covered, institute Version can only be increased with policy definition, the activiti work trip definition of existing version cannot be changed, facilitate air control strategy personnel Do version tracking and rollback.
2) air control strategy personnel can define in Review Policies and switchover policy defines version on the page.It is shown on the page Show activiti workflow defining content and the version number of current version.Air control strategy personnel can issue on the page, creation One policy instance.The policy instance uses the corresponding activiti workflow of current page version.Issuing process second on UI Grade is completed.
3) when one policy instance of publication creation, it will create a new policy instance, while will create one can be in The strategy execution that activiti engine executes, policy definition version corresponding activiti work when which is directed toward publication Stream definition.Strategy execution is not invisible to air control strategy personnel and strategy use person.System uses delay loading mode, so only There is the strategy execution being actually invoked just can occupying system resources.
4) policy instance is visible to air control strategy personnel and strategy use person.Strategy use person can be inquired by API can Policy instance simultaneously passes through API Calls policy instance.Air control strategy personnel can check/change strategy example institute by the page Version.The version one that the policy definition of the corresponding strategy execution behind of the available edition and example of policy instance is possessed It causes.When air control strategy personnel's change strategy instance version, system will create the strategy execution of new version policy definition, policy instance It is directed toward the newly created strategy execution.Policy instance id itself is constant, so when change strategy, strategy use person's unaware.It rises Grade process second grade on UI is completed.
5) when strategy use person passes through API Calls policy instance, policy instance searches corresponding strategy execution, and calls Activiti engine executes the strategy execution, and the person that returns result to API Calls.
As shown in Fig. 2, in order to support quick deployment way, system has used four tier model architectures.Strategy use person is logical Cross API Calls policy instance (layer 1).Policy instance is upgrading, itself id is constant when changing version, only changes version and version Strategy execution (layer 2) corresponding to this, so version change unaware of the user of strategy to policy instance.Policy definition (layer 3) includes the workflow defining content (layer 4) of multiple versions.When policy definition is issued, a new policy instance is generated, it should Example is visible to tactful user.
In conclusion the present invention provides the methods that kind of air control strategy quick (second grade) can be disposed and upgrade, using visual The mode of change is directly completed in air control system, do not need operation maintenance personnel participation, facilitate air control strategy personnel can quickly develop and Deployment.Deployment process is quick, strategy use person's unaware, without matching again.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of deployment and upgrade method of air control strategy characterized by comprising
S1 creates new strategy execution corresponding with new version number, wherein described when the new version number of generation strategy example Policy instance is directed toward the new strategy execution;
S2, when calling the policy instance, the corresponding strategy execution of the new version number is searched and called to the policy instance, with It returns the result;
Wherein, when the new version number of generation strategy example, the id of the policy instance is constant.
2. the deployment and upgrade method of air control strategy according to claim 1, which is characterized in that S1 includes:
When the new version number of generation strategy example, the new version number that generation strategy defines, the new version number of the policy definition Corresponding to workflow defining;
The corresponding workflow defining of the new version number by the policy instance for being used.
3. the deployment and upgrade method of air control strategy according to claim 2, which is characterized in that wherein, aobvious by the page Show the content of current version number and the corresponding workflow defining of current version number.
4. the deployment and upgrade method of air control strategy according to claim 3, which is characterized in that checked by the page The different editions number of policy definition simultaneously switch between the different editions number.
5. the deployment and upgrade method of air control strategy according to claim 3, which is characterized in that wherein, the strategy is held Behavior is invisible.
6. the deployment and upgrade method of air control strategy according to claim 1, which is characterized in that in S2, pass through API tune With the policy instance.
CN201810996591.0A 2018-08-29 2018-08-29 The deployment and upgrade method of air control strategy Withdrawn CN109522031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810996591.0A CN109522031A (en) 2018-08-29 2018-08-29 The deployment and upgrade method of air control strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810996591.0A CN109522031A (en) 2018-08-29 2018-08-29 The deployment and upgrade method of air control strategy

Publications (1)

Publication Number Publication Date
CN109522031A true CN109522031A (en) 2019-03-26

Family

ID=65770816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810996591.0A Withdrawn CN109522031A (en) 2018-08-29 2018-08-29 The deployment and upgrade method of air control strategy

Country Status (1)

Country Link
CN (1) CN109522031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568604A (en) * 2021-09-26 2021-10-29 深圳万顺叫车云信息技术有限公司 Method and device for updating wind control strategy and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100109A (en) * 2015-08-19 2015-11-25 华为技术有限公司 Method and device for deploying security access control policy
CN105373523A (en) * 2015-10-14 2016-03-02 浪潮软件集团有限公司 Workflow solution method based on user-defined form and Activiti
US20160378550A1 (en) * 2015-06-29 2016-12-29 International Business Machines Corporation Optimization of application workflow in mobile embedded devices
CN108418851A (en) * 2018-01-12 2018-08-17 阿里巴巴集团控股有限公司 Policy issue system, method, apparatus and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160378550A1 (en) * 2015-06-29 2016-12-29 International Business Machines Corporation Optimization of application workflow in mobile embedded devices
CN105100109A (en) * 2015-08-19 2015-11-25 华为技术有限公司 Method and device for deploying security access control policy
CN105373523A (en) * 2015-10-14 2016-03-02 浪潮软件集团有限公司 Workflow solution method based on user-defined form and Activiti
CN108418851A (en) * 2018-01-12 2018-08-17 阿里巴巴集团控股有限公司 Policy issue system, method, apparatus and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
联系我:WWW.LFUPING.CN: "Activiti修改流程定义", 《HTTPS://BLOG.CSDN.NET/LIFUPINGCN/ARTICLE/DETAILS/61919981》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568604A (en) * 2021-09-26 2021-10-29 深圳万顺叫车云信息技术有限公司 Method and device for updating wind control strategy and computer readable storage medium
CN113568604B (en) * 2021-09-26 2022-01-07 深圳万顺叫车云信息技术有限公司 Method and device for updating wind control strategy and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101645010B (en) System and method for automatically generating code
US9256419B2 (en) Dynamic software updates
US7954087B2 (en) Template integration
CN104615466B (en) A kind of cloud platform dispositions method and system
US8464208B2 (en) Capturing and utilizing specific module dependency information
US9251498B2 (en) Facilitating deployment of customizations of enterprise applications
CN101739278B (en) Enterprise-level application software updating method and system
US20070162892A1 (en) Template-based configuration architecture
CN103778178A (en) Method and system for reconfiguring snapshot of virtual machine (VM)
CN106201614A (en) A kind of universal method and system that multiple similar software can be carried out chain type upgrading
US20080051921A1 (en) Method for modifying configuration of business system
CN104331285A (en) Automatic code generation method and system
CN107992355A (en) A kind of method, apparatus and virtual machine of application deployment software
CN103744680A (en) Method and device for business process processing
CN110134706A (en) SQL statement automatic optimization method, device, computer equipment and storage medium
CN102215264B (en) Method and device for supporting multi-tenancy data and service customized running
CN109522031A (en) The deployment and upgrade method of air control strategy
CN107463390B (en) Software upgrading method and upgrading server
CA3187583A1 (en) Providing triggers based on one-to-many or many-to-one relationships in a system of record
CN102156650B (en) Method and device capable of implementing automatic analysis of patch
US8539479B2 (en) System and method for application function consolidation
CN102200907A (en) Method and device for individually configuring portal application program
US20090249278A1 (en) METHOD AND SYSTEM FOR IMPLEMENTING A COMPLETE SAP SYSTEM LANDSCAPE ON IBM SYSTEM i
CN102043855B (en) Method and system for integrating configuration management and defect management
US7844583B2 (en) Method and system for obtaining files from a set of sources

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190326