CN107315611A - A kind of application system regulation management method and device - Google Patents

A kind of application system regulation management method and device Download PDF

Info

Publication number
CN107315611A
CN107315611A CN201710500346.1A CN201710500346A CN107315611A CN 107315611 A CN107315611 A CN 107315611A CN 201710500346 A CN201710500346 A CN 201710500346A CN 107315611 A CN107315611 A CN 107315611A
Authority
CN
China
Prior art keywords
application system
rule
parameter configuration
cache
handled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710500346.1A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710500346.1A priority Critical patent/CN107315611A/en
Publication of CN107315611A publication Critical patent/CN107315611A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Abstract

The present invention provides a kind of application system regulation management method and device, and the above method comprises the following steps:Parameter configuration is carried out by parameter configuration interface, application system rule is set;The application system rule set is loaded, business is handled;In above-mentioned technical proposal, parameter configuration is carried out only by visualisation parameters configuration interface, you can generation application system rule, reduce the professional degree of operating personnel, substantially increase the convenience of rules modification, improve efficiency;Meanwhile, parameter configuration is carried out by parameter configuration interface, without changing code and the service of restarting, error rate is reduced, it is ensured that safety.

Description

A kind of application system regulation management method and device
Technical field
The invention belongs to regulation management field, more particularly to a kind of application system regulation management method and device.
Background technology
There are many general verification rules in IT application system exploitation, for example:The limitation of commencement date and deadline query context, the amount of money Mantissa's limitation etc., is individually developed by developer after field decimal point, and everyone, which writes, different realizes code, code Quality is difficult to ensure that serious causes system crash, is difficult to be protected safely, and after rule change, developer needs weight New modification code, restart application service and can come into force, later maintenance work is also sufficiently complex.
Therefore, above-mentioned technical problem is solved in the urgent need to a kind of application system regulation management scheme efficiently, safe.
The content of the invention
The present invention provides a kind of application system regulation management method and device, to solve the above problems.
The embodiment of the present invention provides a kind of application system regulation management method.The above method comprises the following steps:Pass through ginseng Number configuration interface carries out parameter configuration, sets application system rule;
The application system rule set is loaded, business is handled.
The embodiment of the present invention provides a kind of application system regulation management device, including setup module, processing module;Wherein, The setup module is connected with the processing module;
The setup module, for carrying out parameter configuration by parameter configuration interface, sets application system rule;
The processing module, for loading the application system set rule, is handled business.
Pass through following scheme:Parameter configuration is carried out by parameter configuration interface, application system rule is set;What loading was set The application system rule, is handled business.
In above-mentioned technical proposal, parameter configuration is carried out only by visualisation parameters configuration interface, you can generation application system System rule, reduces the professional degree of operating personnel, substantially increases the convenience of rules modification, improve efficiency;Meanwhile, pass through Parameter configuration interface carries out parameter configuration, without changing code and the service of restarting, reduces error rate, it is ensured that safety.
Pass through following scheme:When application system starts, the application system rule is loaded onto system cache;Calling system Application system rule in caching, handles business, improves system treatment effeciency.
In above-mentioned technical proposal, by being called to the application system rule in system cache, system is substantially increased Treatment effeciency.
Pass through following scheme:The effective time of system cache is set, every time during automatic refreshing, judges whether caching fails, If not failing, handled without follow-up renewal.
In above-mentioned technical proposal, by the effective time for setting system cache, it is to avoid the frequently processing of application system rule, protect The even running of system is demonstrate,proved.
Pass through following scheme:During business processing, to application system rule addition read lock;Or, updating system caching During, lock is write in addition, until the application system Policy Updates are finished.
In above-mentioned technical proposal, during by business processing;Or, the setting of lock mechanism, keeps away in updating system process of caching Application system rule is exempted from front and rear using inconsistent, has caused system fault, advantageously ensure that the even running of system.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 show the parameter management method process chart of the embodiment of the present invention 1;
Fig. 2 show the parameter management structure drawing of device of the embodiment of the present invention 2;
Fig. 3 show the parameter management structure drawing of device of the embodiment of the present invention 3.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Fig. 1 show the parameter management method process chart of the embodiment of the present invention 1, comprises the following steps:
Step 101:Parameter configuration is carried out by parameter configuration interface, application system rule is set;
Interface operation:
The modification of General System parameter is required for professional O&M/developer to modify, and the embodiment of the present invention is devised Html interface, reduces professional degree, improves visualization capability, and some is not possessed the personnel of IT knowledge can also conveniently, soon Prompt progress is inquired about, changes operation.
Step 102:The application system rule set is loaded, business is handled.
Further, when application system starts, the application system rule is loaded onto system cache;Calling system is cached In the application system rule, business is handled.
Wherein, cached by updating system, reload the parameter configuration in database, update the application system Rule.
Wherein, is set by defining cron expression formulas the automatic refreshing execution time, system cache is refreshed.
Further, the effective time of system cache is set, every time during automatic refreshing, judges whether caching fails, if not having There is failure, then handled without follow-up renewal.
Further, during business processing, to application system rule addition read lock.
Further, in updating system process of caching, lock is write in addition, until the application system Policy Updates are finished.
Specifically:
Quartz is the job scheduling an increased income framework, and it is write as by Java completely, and designed for J2SE and J2EE In;It provides huge flexibility without sacrificing simplicity, can be created simply with it to perform an operation Or complicated scheduling, it has many features, such as:Database support, cluster, plug-in unit, EJB operation prebuilds, JavaMail and It is other, support cron-like expression formulas etc..This method realizes periodic refreshing caching mechanism using Quartz.
This method embodiment proposes a kind of application system rule design based on caching, based on java but is not limited to java systems System, is object (Rule.java) by application system rules abstraction, by core, engineer develops, when other developers use only Need to introduce related bean.Application system rule starts with the startup of application system, store in reading database Configuration information, be loaded into JVM, and can timing/manual refreshing, reload database configuration information, without change code, The change of application system rule can be completed by restarting application system service.Daily 0 point of rule acquiescence (application liveness is low) is automatic Refresh, modify.
Further to improve the convenience of system, the embodiment of the present invention have also been devised http interfaces, and non-developer also may be used Easily to change the corresponding application system rule of system.
Application system rule can be loaded into Installed System Memory when container (application) starts and (cache), in processing business It can directly obtain, use from internal memory, system treatment effeciency can be improved.The caching of updating system is needed in application rule change, The embodiment of the present invention using timing, refresh two ways immediately.
1st, interface operation
The modification of General System parameter is required for professional O&M/developer to modify, and the embodiment of the present invention is devised Html interface, reduces professional degree, improves visualization capability, and some is not possessed the personnel of IT knowledge can also conveniently, soon Prompt progress is inquired about, changes operation.
2nd, automatic flush buffers
Automatic refresh is realized by spring quartz frameworks, automatic refresh can be set to hold with self-defined cron expression formulas The row time.Being generally located on application system asks the less period to perform.
3rd, manual refreshing is cached
According to system needs, operating personnel can select to be immediately performed, and system can trigger related bean, refresh slow immediately Deposit.
4th, concurrent processing
To ensure during flush buffers, the business handled is not influenceed, the embodiment of the present invention is used ReentrantReadWriteLock lock mechanisms ensure the concurrent of system.
When business processing is using rule, read lock can be added, it is ensured that be unable to flush buffers in use.Refreshing system During system caching, it can add and write lock, repel other read locks, the business of other use application system rules needs to wait for system and delayed Deposit and used after the completion of refreshing.
To ensure the even running of system, the effective time of system cache is set, can be first determined whether during automatic refreshing every time Whether system cache fails, if do not failed, and is handled without follow-up renewal.
Fig. 2 show the parameter management structure drawing of device of the embodiment of the present invention 2, including the first setup module, processing module; Wherein, first setup module is connected with the processing module;
First setup module, for carrying out parameter configuration by parameter configuration interface, sets application system rule;
The processing module, for obtaining the application system rule of setting from first setup module, and adds The application system rule is carried, business is handled.
Wherein, the processing module, when being additionally operable to business processing, to application system rule addition read lock;It is additionally operable to In updating system process of caching, lock is write in addition, until the application system Policy Updates are finished.
Fig. 3 show the parameter management structure drawing of device of the embodiment of the present invention 3, on the basis of Fig. 2, and addition second is set Module;Wherein, second setup module is connected with the processing module;
Second setup module, the effective time for setting system cache;
The processing module, is additionally operable to obtain the effective time of the system cache of setting from second setup module; When being additionally operable to every time automatic refresh, according to the effective time of the system cache, judge whether caching fails, if not failing, Then handled without follow-up renewal.
Pass through following scheme:Parameter configuration is carried out by parameter configuration interface, application system rule is set;What loading was set The application system rule, is handled business.
In above-mentioned technical proposal, parameter configuration is carried out only by visualisation parameters configuration interface, you can generation application system System rule, reduces the professional degree of operating personnel, substantially increases the convenience of rules modification, improve efficiency;Meanwhile, pass through Parameter configuration interface carries out parameter configuration, without changing code and the service of restarting, reduces error rate, it is ensured that safety.
Pass through following scheme:When application system starts, the application system rule is loaded onto system cache;Calling system Application system rule in caching, handles business, improves system treatment effeciency.
In above-mentioned technical proposal, by being called to the application system rule in system cache, system is substantially increased Treatment effeciency.
Pass through following scheme:The effective time of system cache is set, every time during automatic refreshing, judges whether caching fails, If not failing, handled without follow-up renewal.
In above-mentioned technical proposal, by the effective time for setting system cache, it is to avoid the frequently processing of application system rule, protect The even running of system is demonstrate,proved.
Pass through following scheme:During business processing, to application system rule addition read lock;Or, updating system caching During, lock is write in addition, until the application system Policy Updates are finished.
In above-mentioned technical proposal, during by business processing;Or, the setting of lock mechanism, keeps away in updating system process of caching Application system rule is exempted from front and rear using inconsistent, has caused system fault, advantageously ensure that the even running of system.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

1. a kind of application system regulation management method, it is characterised in that comprise the following steps:
Parameter configuration is carried out by parameter configuration interface, application system rule is set;
The application system rule set is loaded, business is handled.
2. according to the method described in claim 1, it is characterised in that when application system starts, application system rule is added It is loaded onto system cache;The application system rule in the system cache is called, the business is handled.
3. method according to claim 2, it is characterised in that by refreshing the system cache, reload database In parameter configuration, update application system rule.
4. method according to claim 3, it is characterised in that when automatic refreshing execution is set by defining cron expression formulas Between, the system cache is refreshed.
5. method according to claim 4, it is characterised in that set the effective time of the system cache, automatic every time During refreshing, judge whether system cache fails, if not failing, handled without follow-up renewal.
6. according to the method described in claim 1, it is characterised in that during business processing, application system rule addition is read Lock.
7. according to the method described in claim 1, it is characterised in that in updating system process of caching, lock is write in addition, until described Application system Policy Updates are finished.
8. a kind of application system regulation management device, it is characterised in that including the first setup module, processing module;Wherein, it is described First setup module is connected with the processing module;
First setup module, for carrying out parameter configuration by parameter configuration interface, sets application system rule;
The processing module, for obtaining the application system rule of setting from first setup module, and loads institute Application system rule is stated, business is handled.
9. device according to claim 8, it is characterised in that the processing module, when being additionally operable to business processing, to described Application system rule addition read lock;It is additionally operable in updating system process of caching, lock is write in addition, until application system rule is more Newly finish.
10. device according to claim 8, it is characterised in that also including the second setup module;Wherein, described second set Module is put with the processing module to be connected;
Second setup module, the effective time for setting system cache;
The processing module, is additionally operable to obtain the effective time of the system cache of setting from second setup module;Also use When automatic refreshing every time, according to the effective time of the system cache, judge whether system cache fails, if not failing, Then handled without follow-up renewal.
CN201710500346.1A 2017-06-26 2017-06-26 A kind of application system regulation management method and device Pending CN107315611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710500346.1A CN107315611A (en) 2017-06-26 2017-06-26 A kind of application system regulation management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710500346.1A CN107315611A (en) 2017-06-26 2017-06-26 A kind of application system regulation management method and device

Publications (1)

Publication Number Publication Date
CN107315611A true CN107315611A (en) 2017-11-03

Family

ID=60181166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710500346.1A Pending CN107315611A (en) 2017-06-26 2017-06-26 A kind of application system regulation management method and device

Country Status (1)

Country Link
CN (1) CN107315611A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920214A (en) * 2018-07-10 2018-11-30 Oppo(重庆)智能科技有限公司 A kind of application program operation method, application program running gear and mobile terminal
CN109783107A (en) * 2019-01-10 2019-05-21 深圳市小赢信息技术有限责任公司 A kind of visual rule generating method, device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120272221A1 (en) * 2011-04-22 2012-10-25 Microsoft Corporation Rule based data driven validation
CN103019726A (en) * 2012-12-19 2013-04-03 中国电子科技集团公司第十五研究所 Management method and device of software system service rules
CN103942228A (en) * 2013-01-23 2014-07-23 纽海信息技术(上海)有限公司 Rule engine, calculating method, service system and calling method
US20150268955A1 (en) * 2014-03-24 2015-09-24 Tata Consultancy Services Limited System and method for extracting a business rule embedded in an application source code
US20150293969A1 (en) * 2014-04-14 2015-10-15 Michael Aakolk In-memory based database view for a business rule management application
CN105653268A (en) * 2015-12-28 2016-06-08 中国民航信息网络股份有限公司 Rule engine debugging method and rule engine debugging system
CN106101090A (en) * 2016-06-07 2016-11-09 中国建设银行股份有限公司 Operational approach and rule engine system for regulation engine
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120272221A1 (en) * 2011-04-22 2012-10-25 Microsoft Corporation Rule based data driven validation
CN103019726A (en) * 2012-12-19 2013-04-03 中国电子科技集团公司第十五研究所 Management method and device of software system service rules
CN103942228A (en) * 2013-01-23 2014-07-23 纽海信息技术(上海)有限公司 Rule engine, calculating method, service system and calling method
US20150268955A1 (en) * 2014-03-24 2015-09-24 Tata Consultancy Services Limited System and method for extracting a business rule embedded in an application source code
US20150293969A1 (en) * 2014-04-14 2015-10-15 Michael Aakolk In-memory based database view for a business rule management application
CN105653268A (en) * 2015-12-28 2016-06-08 中国民航信息网络股份有限公司 Rule engine debugging method and rule engine debugging system
CN106101090A (en) * 2016-06-07 2016-11-09 中国建设银行股份有限公司 Operational approach and rule engine system for regulation engine
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920214A (en) * 2018-07-10 2018-11-30 Oppo(重庆)智能科技有限公司 A kind of application program operation method, application program running gear and mobile terminal
CN108920214B (en) * 2018-07-10 2021-03-26 Oppo(重庆)智能科技有限公司 Application program running method, application program running device and mobile terminal
CN109783107A (en) * 2019-01-10 2019-05-21 深圳市小赢信息技术有限责任公司 A kind of visual rule generating method, device and electronic equipment
CN109783107B (en) * 2019-01-10 2022-05-24 深圳市小赢信息技术有限责任公司 Visual rule generation method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN101495976B (en) Direct-update software transactional memory
CN103229144B (en) Preheating software is installed
US8627292B2 (en) STM with global version overflow handling
CN107832230B (en) Test method, equipment and system based on data tuning
EP1960879A1 (en) Protecting shared variables in a software transactional memory system
US8380660B2 (en) Database system, database update method, database, and database update program
CN101174217A (en) Method for implementing dynamic update of Java program
US9207967B2 (en) Using nonspeculative operations for lock elision
CN111538519A (en) Version upgrading method and device
EP2005306A1 (en) Array comparison and swap operations
CN102043859A (en) Data updating method and device
CN102521007B (en) Network management system object concurrency editing method based on affair scheduling
CN107315611A (en) A kind of application system regulation management method and device
US10360079B2 (en) Architecture and services supporting reconfigurable synchronization in a multiprocessing system
US20050039080A1 (en) Method and system for containing software faults
US9766926B2 (en) Method and system for optimizing parallel program execution based on speculation that an object written to is not shared
Charlton et al. Formal reasoning about runtime code update
US9038077B1 (en) Data transfer protection in a multi-tasking modeling environment
CN109960522B (en) Software upgrading method and device
US11321120B2 (en) Data backup method, electronic device and computer program product
Mishra et al. Hyflowcpp: A distributed transactional memory framework for c++
CN106776052A (en) Shared resource access method and device
JPH07152551A (en) Computer system and program executing method
CN112037016A (en) Service processing method, device and equipment
US20080320447A1 (en) Method of accessing web parameters

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171103