[go: up one dir, main page]

CN112463146B - Health risk financial preparation gold output method and device and electronic equipment - Google Patents

Health risk financial preparation gold output method and device and electronic equipment Download PDF

Info

Publication number
CN112463146B
CN112463146B CN202011459974.8A CN202011459974A CN112463146B CN 112463146 B CN112463146 B CN 112463146B CN 202011459974 A CN202011459974 A CN 202011459974A CN 112463146 B CN112463146 B CN 112463146B
Authority
CN
China
Prior art keywords
rule
criterion
formula
value
clicking
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.)
Active
Application number
CN202011459974.8A
Other languages
Chinese (zh)
Other versions
CN112463146A (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.)
China Life Insurance Co ltd
Original Assignee
China Life Insurance 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 China Life Insurance Co ltd filed Critical China Life Insurance Co ltd
Priority to CN202011459974.8A priority Critical patent/CN112463146B/en
Publication of CN112463146A publication Critical patent/CN112463146A/en
Application granted granted Critical
Publication of CN112463146B publication Critical patent/CN112463146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the specification provides a health risk financial preparation gold output method, a health risk financial preparation gold output device and electronic equipment; the method comprises the following steps: storing criteria, rules and elements configured dynamically and visually by a user through a front page by utilizing a cache framework OSCache; receiving a criterion code transmitted by a user; acquiring rules under corresponding criteria from OSCache according to the criterion codes; according to the rule, acquiring the value of the element required by the rule from the OSCache; wherein, the elements are basic elements for composing the judgment conditions and the preparation gold calculation formulas in the rule; if the determination condition is true, the value of the preparation under the rule is outputted by calculating the value of the element using the preparation calculation formula using the Java expression analyzer JEP. The method, the device and the electronic equipment provided by the specification can realize the visual and dynamic configuration of the preparation gold calculation rule on the front-end page by the user, and improve the flexibility and the accuracy of the preparation gold calculation.

Description

Health risk financial preparation gold output method and device and electronic equipment
Technical Field
One or more embodiments of the present disclosure relate to the field of data processing technologies, and in particular, to a health risk financial preparation gold output method and an electronic device.
Background
Health insurance financial preparation is prepared according to the accurate calculation result, and the preparation is extracted by an insurance company operating health insurance business after taking effect of the policy. In recent years, health insurance business has been rapidly developed, and people are more deeply aware of the importance of health risk management, both for individuals and for families, and a guarantee mechanism is required to cope with unknown health risks, so that health insurance business is rapidly growing. With the increase of the amount of insurance policy, the workload of health risk financial preparation gold calculation is increased.
At present, two main calculation modes of health risk financial preparation gold are: first, the summary is calculated step by hand. However, since the basic data for calculating health risk financial preparation is too many, the preparation is classified into dangerous types and calculated on a single-by-single basis according to the underwriting years. Therefore, the method has the characteristics of more data content, large calculation workload and high precision requirement, and the calculation result is extremely easy to generate human errors and takes long time. Second, the way to develop it separately, i.e., for each preparation to be calculated, is developed separately directly in the system back-end code. However, since the health risk financial preparation calculation has a plurality of different criteria, and a plurality of preparation calculation formulas are all arranged under the criteria, the code quantity of single development is not small. Secondly, since the calculation of health risk financial preparation is greatly influenced by medical insurance policies, the calculation method is often changed or adjusted due to the change of the policies, and in this case, the system needs to be redeveloped, so that development cost and development period are increased, and flexibility and adaptability are poor.
Based on this, there is a need for a method that can reduce system repetitive development, dynamically visualize configuration preparation gold calculation formulas on the front-end page, and realize flexible calculation and output of preparation gold.
Disclosure of Invention
In view of this, it is an object of one or more embodiments of the present disclosure to provide a health risk financial preparation gold output method, apparatus and electronic device, which overcome the deficiencies in the prior art.
In view of the above, one or more embodiments of the present specification provide a health risk financial preparation gold output method, including:
Storing a criterion configured dynamically and visually by a user through a front-end page, a rule under the criterion and elements required in the rule by utilizing a cache framework OSCache;
Receiving a criterion code transmitted by a user;
Acquiring rules under corresponding criteria from the OSCache according to the criterion codes;
Acquiring the value of the element from OSCache according to the element required in the rule; wherein the elements are basic elements composing the judgment conditions and the preparation gold calculation formulas in the rule;
If the determination condition is true, a Java expression analyzer JEP is used to calculate the element values and the preparation gold calculation formula, so as to obtain an output item under the rule and output the output item.
Based on the same inventive concept, one or more embodiments of the present specification further provide a health risk financial preparation gold output device, including:
A storage module configured to store a criterion configured by a user through a front-end page dynamic visualization, a rule under the criterion, and an element required in the rule using the cache frame OSCache;
A receiving module configured to receive a criterion code entered by a user;
a first obtaining module configured to obtain, from the OSCache, a rule under a corresponding criterion according to the criterion code;
A second obtaining module configured to obtain a value of an element from the OSCache according to the element required in the rule; wherein the elements are basic elements for composing the judgment conditions and the preparation gold calculation formulas in the rule;
And a calculation and output module configured to calculate, using a Java expression analyzer JEP, the value of the element and the preparation gold calculation formula if the determination condition is true, to obtain an output item under the rule and output the output item.
Based on the same inventive concept, one or more embodiments of the present specification also provide an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method as described in any one of the above when executing the program.
As can be seen from the foregoing, the health risk preparation gold output method, apparatus and electronic device provided in one or more embodiments of the present disclosure may support a user's visual and dynamic configuration of preparation gold calculation rules, rules and elements through a front-end page, and stores user-configured information using the high-performance cache framework OSCache, and automatically calculates and outputs desired results quickly using the Java expression analyzer JEP. The problems that a system needs to be redeveloped, manual dry pre-processing exists, financial data difference exists, and time is consumed in the prior art for preparing gold calculation can be solved; the convenience and the flexibility of the preparation gold calculation are improved, the calculation result error caused by human factors is reduced, and the accuracy and the effectiveness of the calculation result are ensured.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are required for the description of the embodiments or of the prior art will be briefly described, while it is apparent that the drawings in the description below are only one or more embodiments of the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow diagram of a health risk financial preparation gold export method in accordance with one or more embodiments of the present disclosure;
FIG. 2 is a flow diagram of a configuration of elements in one or more embodiments of the present disclosure;
FIG. 3 is a flow diagram of a formula configuration in one or more embodiments of the present description;
FIG. 4 is a flow diagram of criteria and rule configurations under criteria in one or more embodiments of the present description;
FIG. 5 is a flow diagram of a health risk financial preparation gold output method in accordance with one or more embodiments of the present disclosure;
FIG. 6 is a schematic diagram of a health risk financial preparation gold output device structure in accordance with one or more embodiments of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to one or more embodiments of the present disclosure.
Detailed Description
For the purposes of promoting an understanding of the principles and advantages of the disclosure, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same.
It is noted that unless otherwise defined, technical or scientific terms used in one or more embodiments of the present disclosure should be taken in a general sense as understood by one of ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and the like, as used in one or more embodiments of the present specification, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items.
One or more embodiments of the present specification provide a health risk financial preparation gold output method, referring to fig. 1, comprising the steps of:
Step S101, storing a rule configured dynamically and visually by a user through a front-end page and elements required by the rule by utilizing a cache framework OSCache;
Step S102, receiving a criterion code transmitted by a user;
Step S103, acquiring rules under corresponding criteria from OSCache according to the criteria codes;
Step S104, obtaining the value of the element from OSCache according to the element required in the rule; wherein the elements are basic elements for composing the judgment conditions and the preparation gold calculation formulas in the rule;
Step S105, if the determination condition is true, calculating by using the prepared gold calculation formula and the element value using a Java expression analyzer JEP, obtaining an output item under the rule, and outputting the output item. The judgment condition is a condition for judging whether to calculate by using a current preparation gold calculation formula, and if the judgment condition is false, the current rule is skipped and the next rule is entered. For example: the judgment conditions are as follows: and if the contract is cleared, the judgment result is true, and if the contract is not cleared, the judgment result is false.
It can be seen that the health risk financial preparation gold output method of one or more embodiments of the present description can support the visual and dynamic configuration of preparation gold calculation criteria, rules and elements by a user through a front-end page, and store information of the user configuration by using a high-performance cache framework OSCache, and can quickly and automatically calculate and output a required result by using a Java expression analyzer JEP. The problems that a system needs to be redeveloped, manual intervention exists, financial data difference exists, time is consumed and the like in the prior art preparation calculation can be solved; the convenience and the flexibility of the preparation gold calculation are improved, the calculation result error caused by human factors is reduced, and the accuracy and the effectiveness of the calculation result are ensured.
The technical scheme of the present disclosure is further described in detail below through specific examples.
First, the user can dynamically and visually configure the information required for health risk financial preparation calculation through the front-end page of the system, including the criteria, the rules under the criteria, and the elements required in the rules.
The specific configuration flow is as follows: firstly, configuring elements, reconfiguring formulas, further configuring criteria, and finally configuring rules under the criteria. The following describes in detail a specific flow of user dynamic visualization configuration through a front-end page with reference to fig. 2 to 4 by means of specific embodiments.
Firstly, configuring elements, wherein the elements are basic elements of a judgment condition and health risk finance preparation gold calculation formula in the rule. The values of the elements required in the rule are the values of the elements required in the judging condition and the values of the elements required by the health risk financial preparation gold calculation formula. Referring to FIG. 2, a flow chart of element configuration in one embodiment of the present description includes the steps of:
step S201, clicking an element management menu on the front-end interface.
Step S202, clicking the new addition in the element management menu interface.
Step S203, filling in element information, including: element name, element value rule, element value type; the element value rule is divided into a fixed value (for example, constant) and a fixed value (for example, obtained from SQL), and the element value type comprises a numerical value type, a Boolean type, a character string type and a date type.
Step S204, judging whether the element value rule is a fixed value or not; if the element value rule is a fixed value, step S205 is entered; if the element value rule is not a fixed value (i.e. is obtained from SQL), step S206 is proceeded with.
Step S205, the value of the element is input in the element value setting.
Step S206, inputting SQL sentences in the element value setting.
Step S207, clicking and storing.
Step S208, checking whether the element audit state is 'not audit' or 'audit failed'; if the element auditing state is "not audited" or "audit not passed", then step S209 is entered; if the element auditing state is 'auditing passing', ending and not entering the subsequent steps.
Step S209, judging whether the element needs to be modified; if the element needs modification, go to step S210; if the element does not need to be modified, the process proceeds to step S211.
Step S210, clicking element modification, entering an element modification interface, and entering step S203.
Step S211, judging whether the element is deleted; if the element is not deleted, the step S212 is entered; if the element is deleted, the process is ended, and the subsequent steps are not performed.
Step S212, whether to submit a reexamination or not; if the re-audit is submitted, the step S208 is entered; if the re-audit is not submitted, ending.
Then, a calculation formula of health risk financial preparation is configured, referring to fig. 3, which is a flowchart of formula configuration in one embodiment of the present specification, including the steps of:
step S301, clicking a formula management menu on the front end interface.
Step S302, clicking the new addition in the formula management menu interface.
Step S303, filling in a health risk finance preparation gold calculation formula name and formula content; wherein, the formula content is composed of operators, functions and configured element names; in addition, in order to simplify the difficulty of user operation, the front-end interface has common operators and functions for user selection (which can be realized through the configuration JEP), and the operators include +, -,/,%, =, (), and the functions include if, abs, avg, max, min, round.
Step S304, clicking for storage.
Step S305, checking whether the formula audit state is 'not audit' or 'audit failed'; if the formula auditing state is "not audited" or "audit is not passed", step S306 is entered; if the formula auditing state is 'auditing passing', ending and not entering the subsequent steps.
Step S306, judging whether the formula needs to be modified; if the formula needs to be modified, go to step S307; if the formula does not need to be modified, the process proceeds to step S308.
Step S307, clicking formula modification, entering a formula modification interface, and entering step S303.
Step S308, judging whether the formula is deleted; if the formula is not deleted, go to step S309; if the formula is deleted, the process is ended, and the subsequent steps are not carried out.
Step S309, whether to submit a re-audit; if the re-audit is submitted, the step S305 is entered; if the re-audit is not submitted, ending.
Further, the criteria are configured, and finally the rules under the criteria are configured. The criteria for health risk financial preparation, among others, generally include: legal guidelines and generally accepted accounting guidelines GAAP guidelines. Under legal guidelines, 5 preparation costs of legal unexpired liability preparation costs, legal reported pending claims preparation costs, legal unreported pending claims preparation costs, legal premium preparation costs, etc. need to be calculated; under the GAAP criterion, 5 preparation points of GAAP unexpired liability preparation points, GAAP reported pending claim preparation points, GAAP reported unreported pending claim preparation points, GAAP claim cost preparation points, and GAAP premium less preparation points need to be calculated. Wherein, each preparation gold is calculated as a rule, and 5 rules are respectively arranged under legal rules and GAAP rules. Referring to fig. 4, a flow chart illustrating criteria and rule configuration under criteria in one embodiment of the present description includes the steps of:
Step S401, clicking a criterion management menu on the front end interface.
And step S402, clicking the new addition in the criterion management menu interface.
Step S403, filling in a criterion code and a criterion name; wherein one criterion code corresponds to one criterion name.
Step S404, clicking for storage.
Step S405, clicking the rule management under the criterion.
Step S406, clicking the new addition in the rule management menu interface.
Step S407, filling rule information, including rule serial number, rule name, rule code, source system, judging condition, selecting configured preparation gold calculation formula; the rule sequence number is a sequence number allocated to all rules in a rule, and corresponds to a rule name, a rule code and a health risk financial preparation gold calculation formula; the determination condition is a condition for determining whether or not to perform calculation using the current preparation gold calculation formula, and if the determination condition is TRUE (TRUE), the calculation is performed using the current preparation gold calculation formula, and if the determination condition is FALSE (FALSE), the calculation is not performed using the current preparation gold calculation formula.
Step S408, clicking for saving.
Step S409, judging whether the rule needs to be modified; if the rule needs to be modified, the process proceeds to step S410; if the rule does not need to be modified, the process advances to step S411.
Step S410, click rule modification, enter rule modification interface, enter step S407.
Step S411, judging whether the rule is deleted; if the rule is deleted, the process proceeds to step S412; if the rule is not deleted, the process advances to step S413.
Step S412, judging whether a new rule is needed; if the new addition is needed, the step S406 is entered; if no new addition is needed, ending and not entering the subsequent steps.
Step S413, click the back button.
Step S414, checking whether the criterion auditing state is "not audited" or "audit failed"; if the formula audit status is "not audited" or "audit not passed", then step S415 is entered; if the formula auditing state is 'auditing passing', ending and not entering the subsequent steps.
Step S415, judging whether the rule needs to be modified; if the rule needs to be modified, the process proceeds to step S410; if the rule does not need to be modified, the process proceeds to step S416.
Step S416, whether to submit a reexamination or not; if the re-audit is submitted, the step S414 is entered; if the re-audit is not submitted, ending.
Furthermore, after the user dynamically and visually completes the configuration of the information required by the health risk financial preparation gold calculation on the front-end page of the system, the back-end of the system can store the information configured by the user by OSCache so as to carry out automatic calculation subsequently. The OSCache is a widely adopted high-performance Java2 platform Enterprise edition (J2 EE) cache framework, OSCache can be used for any Java application's common cache solution. By utilizing OSCache to store the rule configured by the front-end page before the user, the rule under the rule and the elements required in the rule, the rule can be prevented from being reloaded from the database during each calculation, the speed of preparing the gold during the calculation of the system is improved, the time consumption is reduced, and the system performance is improved.
Further, referring to fig. 5, a specific flowchart of a health risk financial preparation gold output method in one embodiment of the present disclosure includes the following steps:
in step S501, the back end receives the criterion code transmitted from the front end by the user.
Step S502, searching corresponding criteria by the back end according to the criteria codes transmitted by the user from the front end.
In this step, one criterion code corresponds to one criterion name, and the back end can search the criterion details corresponding to the criterion code according to the criterion code transmitted by the user from the front end.
Step S503, the backend determines whether the criterion is already in the cache frame OSCache.
In step S504, if the criterion is in the cache frame OSCache, the backend obtains the criterion details from OSCache.
In this step, the criterion includes in detail a criterion code, a criterion name, and a rule under the criterion.
In addition, the rules under the criteria include: rule serial number, rule name, rule code, source system, health risk financial preparation gold calculation formula name, health risk financial preparation gold calculation formula, decision condition, etc.
Step S505, according to the step S503, if the criterion is not in the cache frame OSCache, the back end obtains the corresponding criterion details from the rule table of the database according to the criterion code transmitted by the user. The rule table of the database contains rules under various criteria, including: rule serial number, rule name, rule code, source system, health risk financial preparation gold calculation formula name, health risk financial preparation gold calculation formula, decision condition, etc.
And step S506, the back end stores the corresponding criterion details acquired from the rule table of the database into OSCache, and returns the criterion details.
Step S507, the back end judges whether each rule under the criterion has been processed.
Step S508, if each rule under the criterion is not processed, the back end analyzes and sorts the unprocessed rules and sequentially processes the unprocessed rules. And the head-end acquires the values of the elements required in the rules to be processed from the OSCache.
If there is no element value required in the rule to be processed OSCache, the element value is obtained from the element table in the database and stored in OSCache. Specific: judging the value rule of the element; if the value rule of the element is a fixed value, directly acquiring the value of the element from a database element table; if the value rule of the element is not a fixed value (namely, the element is obtained from SQL), a corresponding SQL sentence is obtained from the database element table, and the value of the element is obtained by executing the SQL sentence.
Step S509, the back end determines whether the element value rule is a fixed value.
Step S510, if the value rule of the element is a fixed value, the back end directly acquires the value of the element from OSCache; when the element value rule is a fixed value, the element value type may be: numerical, boolean, string, and date.
In step S511, if the element value rule is not a fixed value (i.e. is obtained from SQL), the back end obtains a corresponding SQL statement from OSCache, and the value of the element is obtained by executing the SQL statement. When the element value rule is not a fixed value, the element value type may be: numerical, boolean, string, and date.
In step S512, the back end determines whether the determination condition is true.
In this step, the back end determines whether the determination condition is true based on the determination condition and the value of the determination element (the element in the determination condition may also be referred to as a determination element) acquired from OSCache. For example: the judgment conditions are as follows: "whether the contract is cleared" is a determination element, if the value of the determination element is "no" that is "the contract is not cleared", the determination result is TRUE (TRUE), and the subsequent calculation of health risk financial preparation gold is performed; if the value of the determination element is "yes", that is, "the contract has been cleared", the determination result is FALSE (FALSE), and no subsequent calculation is performed, and the health risk financial preparation gold of the contract under the rule is set to 0.
In step S513, if the determination condition is true, the back end uses the Java expression analyzer JEP to calculate by using the preparation calculation formula and the values of the elements required by the preparation calculation formula, so as to obtain the value of health risk financial preparation under the rule.
In this step JEP (Java Expression Parser, java expression analyzer) is a Java library for converting and calculating mathematical expressions, by which the result of inputting an arbitrary formula in the form of a string can be rapidly calculated.
Step S514, if the judging condition is false, skipping the rule, and if each rule under the criterion is processed, the back end judges again, and if not, the next rule is calculated.
Step 515, if the back end has processed each rule under the criterion, an output item is obtained. The output items include: a rule number, a rule name, a calculation process of the preparation under the rule, a value of the preparation under the rule, and the like.
And step S516, the back end stores the output item into a database, and outputs the output item to a front end page for calling and displaying.
In this step, the output mode may be displayed on a designated device, or transmitted to a designated mobile terminal (for example, a mobile phone of a user), or the like.
Therefore, the health risk financial preparation gold output method provided by the embodiment of the specification can support the visual and dynamic configuration of the user on the health risk financial preparation gold calculation rule, rule and element through the front-end page, and can adjust and update the health risk financial preparation gold calculation rule, rule and element for many times at any time, so that the convenience and flexibility of calculation are improved, the working efficiency of financial management is improved, and even if the health risk financial preparation gold calculation formula or rule is changed, the redevelopment is not needed; in addition, the high-performance cache framework OSCache is utilized to store information configured by a user, and then the Java expression analyzer JEP is utilized to rapidly and automatically calculate and output a required result, so that the problems of manual intervention, industrial financial data difference, long time consumption and the like in the health risk financial preparation gold calculation in the prior art can be solved, calculation result errors caused by human factors are reduced, accuracy and timeliness of calculation results are guaranteed, and flexible calculation and output of the health risk financial preparation gold are realized.
It is understood that the method may be performed by any apparatus, device, platform, cluster of devices having computing, processing capabilities.
It should be noted that the methods of one or more embodiments of the present description may be performed by a single device, such as a computer or server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of one or more embodiments of the present description, the devices interacting with each other to accomplish the described methods.
It should be noted that the foregoing describes specific embodiments of the present invention. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. Furthermore, 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 are also possible or may be advantageous.
Based on the same inventive concept, one or more embodiments of the present specification also provide a health risk financial preparation gold output device. Referring to fig. 6, the health risk financial preparation gold output device comprises:
A storage module 601 configured to store, with the cache framework OSCache, criteria configured by a user through front-end page dynamic visualization, rules under the criteria, and elements required in the rules;
a receiving module 602 configured to receive a criterion code entered by a user;
A first obtaining module 603 configured to obtain, according to the criterion code, a rule under a corresponding criterion from the OSCache;
A second obtaining module 604 configured to obtain a value of an element from the OSCache according to the element required in the rule; wherein the elements are basic elements for composing the judgment conditions and the preparation gold calculation formulas in the rules;
The calculation and output module 605 is configured to calculate, using the Java expression analyzer JEP, the value of the element and the preparation gold calculation formula, if the determination condition is true, to obtain an output item under the rule and output the output item.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in one or more software and/or hardware components when implementing one or more embodiments of the present disclosure.
The device of the foregoing embodiment is configured to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, corresponding to the method of any embodiment, one or more embodiments of the present disclosure further provide an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the health risk financial preparation gold output method of any embodiment.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device according to the embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage, dynamic storage, etc. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the disclosure, including the claims, is limited to these examples; combinations of features of the above embodiments or in different embodiments are also possible within the spirit of the disclosure, steps may be implemented in any order, and there are many other variations from different aspects of one or more embodiments described above which are not provided in detail for the sake of brevity.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present disclosure is intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Any omissions, modifications, equivalents, improvements, and the like, which are within the spirit and principles of the one or more embodiments of the disclosure, are therefore intended to be included within the scope of the disclosure.

Claims (10)

1. A health risk financial preparation gold output method, comprising:
Storing a criterion configured dynamically and visually by a user through a front-end page, a rule under the criterion and elements required in the rule by utilizing a cache framework OSCache;
Receiving a criterion code transmitted by a user;
Acquiring rules under corresponding criteria from the OSCache according to the criterion codes;
acquiring the value of the element from OSCache according to the element required in the rule; wherein the elements are basic elements for composing the judgment conditions and the preparation gold calculation formulas in the rule;
if the judging condition is true, calculating by using a Java expression analyzer JEP by using the preparation gold calculation formula and the value of the element to obtain an output item under the rule and outputting the output item;
Wherein, the rule, rule under the rule and configuration flow of the required elements in the rule comprise: firstly, configuring elements, reconfiguring formulas, and finally configuring criteria and rules under the criteria;
The configuration element includes: step S201, clicking an element management menu on a front-end interface; step S202, clicking a new addition in an element management menu interface; step S203, filling in element information, including: element name, element value rule, element value type; step S204, judging whether the element value rule is a fixed value or not; if the element value rule is a fixed value, step S205 is entered; if the element value rule is not a fixed value, step S206 is entered; step S205, inputting the value of the element in element value setting; step S206, inputting SQL sentences in element value setting; step S207, clicking and storing; step S208, checking whether the auditing state of the element is 'non-auditing' or 'auditing failed'; if the auditing state of the element is "not audited" or "audit is not passed", step S209 is entered; if the auditing state of the element is 'auditing passing', ending without entering the subsequent steps; step S209, judging whether the element needs to be modified; if the element needs modification, go to step S210; if the element does not need to be modified, the step S211 is entered; step S210, clicking element modification, entering an element modification interface, and entering step S203; step S211, judging whether the element is deleted; if the element is not deleted, the step S212 is entered; if the element is deleted, ending, and not entering the subsequent step; step S212, whether to submit a reexamination or not; if the re-audit is submitted, the step S208 is entered; if the re-audit is not submitted, ending;
The configuration formula comprises: step S301, clicking a formula management menu on a front end interface; step S302, clicking a new increment in a formula management menu interface; step S303, filling in a health risk finance preparation gold calculation formula name and formula content; wherein, the formula content is composed of operators, functions and configured element names; step S304, clicking and storing; step S305, checking whether the auditing state of the formula is 'non-auditing' or 'auditing failed'; if the auditing state of the formula is "not audited" or "audit is not passed", step S306 is entered; if the auditing state of the formula is 'auditing passing', ending without entering the subsequent steps; step S306, judging whether the formula needs to be modified; if the formula needs to be modified, go to step S307; if the formula does not need to be modified, the step S308 is entered; step S307, clicking formula modification, entering a formula modification interface, and entering step S303; step S308, judging whether the formula is deleted; if the formula is not deleted, go to step S309; if the formula is deleted, ending, and not entering the subsequent step; step S309, whether to submit a re-audit; if the re-audit is submitted, the step S305 is entered; if the re-audit is not submitted, ending;
The configuration criteria and rules under the criteria include: step S401, clicking a criterion management menu on a front-end interface; step S402, clicking a new addition in a criterion management menu interface; step S403, filling in a criterion code and a criterion name; wherein, a criterion code corresponds to a criterion name; step S404, clicking for storage; step S405, clicking rule management under the criterion; step S406, clicking a new addition in the rule management menu interface; step S407, filling rule information, including rule serial number, rule name, rule code, source system, judging condition, selecting configured preparation gold calculation formula; step S408, clicking for storage; step S409, judging whether the rule needs to be modified; if the rule needs to be modified, the process proceeds to step S410; if the rule does not need to be modified, the process proceeds to step S411; step S410, clicking on the rule modification, entering a rule modification interface, and entering step S407; step S411, judging whether the rule is deleted; if the rule is deleted, the process proceeds to step S412; if the rule is not deleted, the process proceeds to step S413; step S412, judging whether a new rule is needed; if the new addition is needed, the step S406 is entered; if no new addition is needed, ending, and not entering the subsequent steps; step S413, clicking a return button; step S414, checking whether the auditing state of the criterion is 'non-auditing' or 'auditing failed'; if the audit status of the criterion is "not audited" or "audit not passed", step S415 is entered; if the auditing state of the criterion is 'auditing passing', ending without entering the subsequent steps; step S415, judging whether the rule included in the criterion needs to be modified; if the rule included in the criterion needs to be modified, the step S410 is entered; if the rule included in the criterion does not need to be modified, the step goes to step S416; step S416, whether to submit a reexamination or not; if the re-audit is submitted, the step S414 is entered; if the re-audit is not submitted, ending.
2. The method of claim 1, wherein the criteria comprise: a criterion code, a criterion name;
The rules under the criteria include: rule serial number, rule name, rule code, source system, prepare gold calculation formula name, prepare gold calculation formula, and judge condition;
the elements include: element name, element value rule, element value type, element value.
3. The method according to claim 1, wherein the method further comprises: acquiring configuration information sent by a user through a front-end page, wherein the configuration information comprises:
element configuration information, comprising: element name, element value rule, element value type, element value;
Formula configuration information, including: preparing a gold calculation formula name and a gold calculation formula; wherein the preparation gold calculation formula consists of at least one of the following: element names, operators, and functions;
criterion configuration information, comprising: a criterion code, a criterion name;
Rule configuration information under criteria, including: rule serial number, rule name, rule code, source system, decision condition, configured preparation calculation formula under corresponding rule.
4. The method of claim 1, wherein the outputting the item comprises: a rule sequence number, a rule name, a calculation process of the preparation gold under the rule, and a value of the preparation gold under the rule.
5. The method of claim 1, wherein obtaining the value of the element from the OSCache comprises:
judging the value rule of the element;
If the value rule of the element is a fixed value, directly acquiring the value of the element from OSCache; and
If the value rule of the element is obtained from the structured query language SQL, obtaining a corresponding SQL sentence from OSCache, and obtaining the value of the element by executing the SQL sentence.
6. The method according to claim 1, wherein the determination condition is a condition for determining whether or not to perform calculation using a preparation gold calculation formula, the method further comprising:
and if the judging condition is false, skipping the current rule and entering the next rule.
7. The method according to claim 1, wherein the method further comprises:
If the rule under the corresponding rule cannot be obtained from OSCache according to the rule code transmitted by the user, the rule under the corresponding rule is obtained from the rule table of the database according to the rule code transmitted by the user and stored in OSCache.
8. The method according to claim 1, wherein the method further comprises:
If the value of the element cannot be obtained from OSCache according to the element required in the rule, the value of the element is obtained from the element table in the database and stored in OSCache.
9. A health risk financial preparation gold output device comprising:
A storage module configured to store a criterion configured by a user through a front-end page dynamic visualization, a rule under the criterion, and an element required in the rule using the cache frame OSCache; wherein, the rule, rule under the rule and configuration flow of the required elements in the rule comprise: firstly, configuring elements, reconfiguring formulas, and finally configuring criteria and rules under the criteria; the configuration element includes: step S201, clicking an element management menu on a front-end interface; step S202, clicking a new addition in an element management menu interface; step S203, filling in element information, including: element name, element value rule, element value type; step S204, judging whether the element value rule is a fixed value or not; if the element value rule is a fixed value, step S205 is entered; if the element value rule is not a fixed value, step S206 is entered; step S205, inputting the value of the element in element value setting; step S206, inputting SQL sentences in element value setting; step S207, clicking and storing; step S208, checking whether the auditing state of the element is 'non-auditing' or 'auditing failed'; if the auditing state of the element is "not audited" or "audit is not passed", step S209 is entered; if the auditing state of the element is 'auditing passing', ending without entering the subsequent steps; step S209, judging whether the element needs to be modified; if the element needs modification, go to step S210; if the element does not need to be modified, the step S211 is entered; step S210, clicking element modification, entering an element modification interface, and entering step S203; step S211, judging whether the element is deleted; if the element is not deleted, the step S212 is entered; if the element is deleted, ending, and not entering the subsequent step; step S212, whether to submit a reexamination or not; if the re-audit is submitted, the step S208 is entered; if the re-audit is not submitted, ending; the configuration formula comprises: step S301, clicking a formula management menu on a front end interface; step S302, clicking a new increment in a formula management menu interface; step S303, filling in a health risk finance preparation gold calculation formula name and formula content; wherein, the formula content is composed of operators, functions and configured element names; step S304, clicking and storing; step S305, checking whether the auditing state of the formula is 'non-auditing' or 'auditing failed'; if the auditing state of the formula is "not audited" or "audit is not passed", step S306 is entered; if the auditing state of the formula is 'auditing passing', ending without entering the subsequent steps; step S306, judging whether the formula needs to be modified; if the formula needs to be modified, go to step S307; if the formula does not need to be modified, the step S308 is entered; step S307, clicking formula modification, entering a formula modification interface, and entering step S303; step S308, judging whether the formula is deleted; if the formula is not deleted, go to step S309; if the formula is deleted, ending, and not entering the subsequent step; step S309, whether to submit a re-audit; if the re-audit is submitted, the step S305 is entered; if the re-audit is not submitted, ending; the configuration criteria and rules under the criteria include: step S401, clicking a criterion management menu on a front-end interface; step S402, clicking a new addition in a criterion management menu interface; step S403, filling in a criterion code and a criterion name; wherein, a criterion code corresponds to a criterion name; step S404, clicking for storage; step S405, clicking rule management under the criterion; step S406, clicking a new addition in the rule management menu interface; step S407, filling rule information, including rule serial number, rule name, rule code, source system, judging condition, selecting configured preparation gold calculation formula; step S408, clicking for storage; step S409, judging whether the rule needs to be modified; if the rule needs to be modified, the process proceeds to step S410; if the rule does not need to be modified, the process proceeds to step S411; step S410, clicking on the rule modification, entering a rule modification interface, and entering step S407; step S411, judging whether the rule is deleted; if the rule is deleted, the process proceeds to step S412; if the rule is not deleted, the process proceeds to step S413; step S412, judging whether a new rule is needed; if the new addition is needed, the step S406 is entered; if no new addition is needed, ending, and not entering the subsequent steps; step S413, clicking a return button; step S414, checking whether the auditing state of the criterion is 'non-auditing' or 'auditing failed'; if the audit status of the criterion is "not audited" or "audit not passed", step S415 is entered; if the auditing state of the criterion is 'auditing passing', ending without entering the subsequent steps; step S415, judging whether the rule included in the criterion needs to be modified; if the rule included in the criterion needs to be modified, the step S410 is entered; if the rule included in the criterion does not need to be modified, the step goes to step S416; step S416, whether to submit a reexamination or not; if the re-audit is submitted, the step S414 is entered; if the re-audit is not submitted, ending;
A receiving module configured to receive a criterion code entered by a user;
A first obtaining module configured to obtain, according to the criterion code, a rule under a corresponding criterion from the OSCache;
A second obtaining module configured to obtain a value of an element from the OSCache according to the element required in the rule; wherein the elements are basic elements for composing the judgment conditions and the preparation gold calculation formulas in the rule;
And a calculation and output module configured to calculate, using a Java expression analyzer JEP, the value of the element and the preparation gold calculation formula if the determination condition is true, to obtain an output item under the rule and output the output item.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 8 when the program is executed by the processor.
CN202011459974.8A 2020-12-11 2020-12-11 Health risk financial preparation gold output method and device and electronic equipment Active CN112463146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459974.8A CN112463146B (en) 2020-12-11 2020-12-11 Health risk financial preparation gold output method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459974.8A CN112463146B (en) 2020-12-11 2020-12-11 Health risk financial preparation gold output method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112463146A CN112463146A (en) 2021-03-09
CN112463146B true CN112463146B (en) 2024-05-31

Family

ID=74803492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459974.8A Active CN112463146B (en) 2020-12-11 2020-12-11 Health risk financial preparation gold output method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112463146B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115689467A (en) * 2022-08-24 2023-02-03 中国平安财产保险股份有限公司 Automatic check method, device, equipment and storage medium for prepared gold

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674519A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing communication business payment metering
CN101702651A (en) * 2009-11-04 2010-05-05 中国科学院声学研究所 A rule-based system and method for supporting multi-party business settlement processing
CN103530111A (en) * 2013-08-20 2014-01-22 山东中创软件工程股份有限公司 Process definition acquiring method and device
CN104268428A (en) * 2014-10-14 2015-01-07 国家电网公司 Visual configuration method for index calculation
CN104463611A (en) * 2015-01-07 2015-03-25 上海瀚银信息技术有限公司 Agent management system
CN110647549A (en) * 2019-09-29 2020-01-03 北京卓信智恒数据科技股份有限公司 Data index analyzing and executing method and device based on business dynamic modeling
CN111538942A (en) * 2020-04-21 2020-08-14 招商局金融科技有限公司 Expression processing method, electronic device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720698B1 (en) * 2000-12-20 2010-05-18 Guaranty Fund Management Services Method and apparatus for performing assessments
US7627504B2 (en) * 2002-10-31 2009-12-01 Thomson Reuters (Tax and Accounting) Services, Inc. Information processing system for determining tax information
US20150293764A1 (en) * 2014-04-10 2015-10-15 Omprakash VISVANATHAN Method and system to compose and execute business rules

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674519A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing communication business payment metering
CN101702651A (en) * 2009-11-04 2010-05-05 中国科学院声学研究所 A rule-based system and method for supporting multi-party business settlement processing
CN103530111A (en) * 2013-08-20 2014-01-22 山东中创软件工程股份有限公司 Process definition acquiring method and device
CN104268428A (en) * 2014-10-14 2015-01-07 国家电网公司 Visual configuration method for index calculation
CN104463611A (en) * 2015-01-07 2015-03-25 上海瀚银信息技术有限公司 Agent management system
CN110647549A (en) * 2019-09-29 2020-01-03 北京卓信智恒数据科技股份有限公司 Data index analyzing and executing method and device based on business dynamic modeling
CN111538942A (en) * 2020-04-21 2020-08-14 招商局金融科技有限公司 Expression processing method, electronic device and storage medium

Also Published As

Publication number Publication date
CN112463146A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN111177176B (en) Data detection method, device and storage medium
CN111177231B (en) Report generation method and report generation device
CN110704398A (en) Database migration method and device from MySQL to Oracle and computer equipment
CN110781183B (en) Processing method and device for incremental data in Hive database and computer equipment
CN111694632A (en) Service data display method, device, equipment and storage medium
CN117407513B (en) Question processing method, device, equipment and storage medium based on large language model
CN111159215A (en) Mapping method and device of Java class and relational database and computing equipment
CN110727865A (en) Problem locating method, device, electronic device and storage medium for retrieval strategy
CN111813846B (en) Data analysis processing system and data processing method
CN112463146B (en) Health risk financial preparation gold output method and device and electronic equipment
CN113609128A (en) Method and device for generating database entity class, terminal equipment and storage medium
CN113760969A (en) Data query method and device based on elastic search
WO2019018146A1 (en) Generating a semantic diff
WO2023220973A1 (en) Data processing method and apparatus, and electronic device and computer-readable storage medium
CN112905931B (en) Page information display method and device, electronic equipment and storage medium
CN113485782B (en) Page data acquisition method, device, electronic device and medium
CN112069214B (en) Rule processing method, device, equipment and storage medium
CN110069532A (en) Data query method, apparatus, computer readable storage medium and electronic equipment
CN113779362A (en) Data searching method and device
CN111831317A (en) Method, apparatus, electronic device, and storage medium for obtaining dependencies between services
CN111143398B (en) Extra-large set query method and device based on extended SQL function
CN115391619A (en) Data analysis method and device, electronic equipment and storage medium
CN114153868A (en) Method, device, electronic device and storage medium for obtaining inspection rule file
CN110297825B (en) Data processing method, device, computer equipment and storage medium
CN112580980A (en) Service processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant