CN115480800A - Business data processing method, electronic device and medium - Google Patents

Business data processing method, electronic device and medium Download PDF

Info

Publication number
CN115480800A
CN115480800A CN202211123699.1A CN202211123699A CN115480800A CN 115480800 A CN115480800 A CN 115480800A CN 202211123699 A CN202211123699 A CN 202211123699A CN 115480800 A CN115480800 A CN 115480800A
Authority
CN
China
Prior art keywords
service
data
business
processing method
domain
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
CN202211123699.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.)
Bank of China Financial Technology Co Ltd
Original Assignee
Bank of China Financial 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 Bank of China Financial Technology Co Ltd filed Critical Bank of China Financial Technology Co Ltd
Priority to CN202211123699.1A priority Critical patent/CN115480800A/en
Publication of CN115480800A publication Critical patent/CN115480800A/en
Pending legal-status Critical Current

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a business data processing method, which comprises the following steps: acquiring service information, determining a data set and data operation information required by the service according to the service information, acquiring the data set required by the service through page configuration, transmitting the data set and the data operation information required by the service into a rule engine, processing data by the rule engine to generate a service result set, and updating the service result set to a target service domain. Compared with the prior art, the method and the device have the advantages that the data required by the service are obtained through page configuration, the service domain is updated through the rule engine, the stored code does not need to be modified, and the method and the device can adapt to any service scene.

Description

Business data processing method, electronic device and medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an electronic device, and a medium for processing service data.
Background
With the rapid development of the internet, the data volume of each business system is increasingly huge, for example, an index management system of each company, a cost allocation system of the financial industry and the like need to perform processing such as data acquisition, cleaning, processing, calculation and the like on a large amount of source data, the processing rules are often complex and variable, a large amount of labor cost is needed to modify corresponding stored process codes or sql scripts to achieve system modification and upgrade, and for scenes with changed data processing modes, a large amount of labor resources are often needed to be consumed to modify.
In the prior art, many insurance companies use the ETL to extract, convert and process data to be apportioned when allocating expenses, but facing a new accounting criterion such as i17, large-area transformation and upgrade of apportionment rules are needed, a pasting layer and a model layer are needed to be redefined, and a conversion and storage process is modified.
Referring to fig. 2, in a specific service data processing process, when a rule changes, operations of delineating a source data table, extracting data to a source layer, designing a model layer, and compiling and storing processes to realize data conversion and load a processing result to the model layer are sequentially performed each time.
However, the business data processing method in the prior art has the following defects:
after each upgrade, the storage process must be rewritten, and for a complex service scenario, the coding amount is large, and coding errors are easy to occur, and a large amount of development and testing time needs to be invested.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a service data processing method, electronic equipment and a medium.
The purpose of the invention can be realized by the following technical scheme:
according to a first aspect of the present invention, the present invention provides a business data processing method, including the following steps:
acquiring service information, determining a data set and data operation information required by the service according to the service information, acquiring the data set required by the service through page configuration, transmitting the data set and the data operation information required by the service into a rule engine, processing data by the rule engine to generate a service result set, and updating the service result set to a target service domain.
Preferably, the page configuration process specifically includes:
configuring a display page to generate structured configuration information; the configuration information includes a template page, a service domain, and a program code corresponding to the template page and the service domain.
Preferably, the process of acquiring the data set required by the service through page configuration specifically includes:
determining a main service domain, an associated service domain and a query condition where a data set required by a service is located on a template page, calling the corresponding main service domain and the associated service domain from the service domain by a background program code, and acquiring the data set required by the service according to the query condition.
Preferably, the query condition includes an association condition, a value field, and a screening field, condition, and range between the main service domain and the association service domain.
Preferably, the data operation information includes operation information between data in a data set required by a service.
Preferably, the rules engine includes Drools and QLexpress.
According to a second aspect of the present invention, there is provided an electronic apparatus comprising: one or more processors, memory, and one or more programs stored in the memory, the one or more programs including instructions for performing the business data processing method of any of claims 1-6.
According to a third aspect of the present invention, the present invention is a computer readable storage medium comprising one or more programs for execution by one or more processors of an electronic device, the one or more programs including instructions for performing the business data processing method as described in any one of the above.
Compared with the prior art, the invention at least comprises the following beneficial effects:
1. according to the business data processing method provided by the invention, the data required by the business is obtained in a page configuration mode, and the modification of the code in the bottom data processing process is realized, so that the possibility of system errors caused by coding is reduced, the reliability of the program is improved, the version upgrading speed is greatly increased, the transformation and the upgrading of the business system can be realized without consuming a large amount of human resources to modify the storage process or sql script, and the cost of the human resources is reduced.
2. The business data processing method provided by the invention is equivalent to acquiring data required by the business in a multi-table association query mode by means of designating the main business domain and the associated business domain, and then processing the extracted data according to any rule by combining with a powerful rule engine, thereby covering all data processing scenes.
Drawings
Fig. 1 is a schematic diagram of a business data processing method provided by the present invention;
FIG. 2 is a schematic diagram of a business data processing method in the prior art;
FIG. 3 is a schematic diagram of a rules engine of the embodiment shown in FIG. 1;
FIG. 4 is a diagram of a template page of the embodiment shown in FIG. 1.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
Interpretation of terms
1. A rule engine: the rule engine is developed by an inference engine, is a component embedded in an application program, and realizes the separation of business decisions from application program codes and the writing of the business decisions by using a predefined semantic module. And receiving data input, interpreting business rules, and making business decisions according to the business rules.
2. And (4) service domain: the business domain mark establishes the mapping relation between the bottom data and the business information, and restricts the visibility of the business domain to the bottom data by specifying the value field in the data table.
Examples
According to an aspect of the present invention, referring to fig. 1, the present invention relates to a business data processing method, including the following steps:
acquiring service information, determining a data set and data operation information required by the service according to the service information, acquiring the data set required by the service through page configuration, transmitting the data set and the data operation information required by the service into a rule engine, processing data by the rule engine to generate a service result set, and updating the service result set to a target service domain.
Specifically, the page configuration process is as follows:
and configuring the display page to generate structured configuration information. The configuration information comprises a template page, a service domain and program codes corresponding to the template page and the service domain.
Specifically, the process of acquiring the data set required by the service through page configuration specifically includes:
determining a main service domain, an associated service domain and a query condition where a data set required by the service is located on a template page, calling the corresponding main service domain and the associated service domain from the service domain by a background program code, and acquiring the data set required by the service according to the query condition.
Preferably, the query condition includes an association condition between the main service domain and the associated service domain, a value field, and a filter field, condition, and range.
As an optional implementation, the data operation information includes operation information between data in the data set required by the service.
As an alternative embodiment, the rules engine includes Drools and QLexpress.
Any combination of the above alternative embodiments may result in a more preferred embodiment, and all alternative embodiments may be combined to result in a most preferred embodiment, as described below.
Referring to fig. 3 and 4, acquiring service information: determining a data set required by generating the service of the service information according to the service information by the vehicle insurance IBNR allocated by the branch office, wherein the data set comprises: each branch IBNR apportions proportions, rolls over the annual net settled claims and reimbursement reserves for pending claims that have been filed.
Determining a main service domain and an associated service domain where a data set required by a service is located in a template page, in this embodiment, the main service domain is S1000300 (pending service domain has not been reported), and the associated service domains include S1000000 (test data service domain), S1000002 (test data service domain 2), and S1000003 (test data service domain 3); and specifying the association condition, the value field, the screening field, the condition and the range between the main service domain and the associated service domain.
And the program code of the background calls the corresponding main service domain and the associated service domain from the service domain, and obtains a data set required by the service according to the associated condition, the value field, the screening field, the condition and the range.
The method comprises the steps of inputting operation information among data in a data set required by a business, inputting operation information of addition, subtraction, multiplication and division among split IBNR (International Business Nurse sharing ratio), rolling annual net settled claim and published pending claim repayment reserve fund for each branch in the embodiment, inputting the operation information and the data set required by the business into a rule engine Drools, automatically generating a business result set by the rule engine, and updating the business result set to a target business domain.
In summary, the invention obtains the data required by the service by the page configuration mode, and realizes the modification of the code in the bottom data processing process, thereby reducing the possibility of system errors caused by coding, improving the reliability of the program, greatly improving the version upgrading speed, realizing the transformation and upgrading of the service system without consuming a large amount of human resources to modify the storage process or sql script, and reducing the cost of human resources.
By means of specifying the main service domain and the associated service domain, multi-table associated query (supporting left join, right join, statistical functions and grouping query) is realized, and generation of any query SQL (structured query language) is supported in a configuration mode, so that the problem of access is solved. And by combining with a powerful rule engine, the extracted data can be processed according to any rule, and all data processing scenes can be covered.
According to a second aspect of the present invention, the present embodiment provides an electronic apparatus, comprising: one or more processors, memory, and one or more programs stored in the memory, the one or more programs including instructions for performing the business data processing method as described in any one of the above.
According to a third aspect of the present invention, the present embodiment provides a computer-readable storage medium, which includes one or more programs for execution by one or more processors of an electronic device, the one or more programs including instructions for executing the business data processing method as described in any one of the above.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and those skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A business data processing method is characterized by comprising the following steps:
acquiring service information, determining a data set and data operation information required by the service according to the service information, acquiring the data set required by the service through page configuration, transmitting the data set and the data operation information required by the service into a rule engine, processing data by the rule engine to generate a service result set, and updating the service result set to a target service domain.
2. The business data processing method according to claim 1, wherein the page configuration process specifically comprises:
configuring a display page to generate structured configuration information; the configuration information includes a template page, a service domain, and a program code corresponding to the template page and the service domain.
3. The business data processing method according to claim 2, wherein the process of acquiring the data set required by the business through the page configuration specifically comprises:
determining a main service domain, an associated service domain and a query condition where a data set required by a service is located on a template page, calling the corresponding main service domain and the associated service domain from the service domain by a background program code, and acquiring the data set required by the service according to the query condition.
4. The business data processing method of claim 3, wherein the query condition comprises an association condition between the main business domain and the associated business domain, a value field, and a filter field, condition, and range.
5. The business data processing method according to claim 1, wherein the data operation information includes operation information between data in a data set required by a business.
6. The business data processing method of claim 1, wherein the rules engine comprises Drools and QLexpress.
7. An electronic device, comprising: one or more processors, memory, and one or more programs stored in the memory, the one or more programs including instructions for performing the business data processing method of any of claims 1-6.
8. A computer readable storage medium comprising one or more programs for execution by one or more processors of an electronic device, the one or more programs comprising instructions for performing the business data processing method of any of claims 1-6.
CN202211123699.1A 2022-09-15 2022-09-15 Business data processing method, electronic device and medium Pending CN115480800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211123699.1A CN115480800A (en) 2022-09-15 2022-09-15 Business data processing method, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211123699.1A CN115480800A (en) 2022-09-15 2022-09-15 Business data processing method, electronic device and medium

Publications (1)

Publication Number Publication Date
CN115480800A true CN115480800A (en) 2022-12-16

Family

ID=84423901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211123699.1A Pending CN115480800A (en) 2022-09-15 2022-09-15 Business data processing method, electronic device and medium

Country Status (1)

Country Link
CN (1) CN115480800A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383449A (en) * 2023-04-13 2023-07-04 江西数字网联信息安全技术有限公司 CRUD data sequence implementation method, system and equipment based on linked list

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383449A (en) * 2023-04-13 2023-07-04 江西数字网联信息安全技术有限公司 CRUD data sequence implementation method, system and equipment based on linked list

Similar Documents

Publication Publication Date Title
CN110968325B (en) Applet conversion method and device
US11922146B2 (en) Systems and method for creating enterprise software
CN111399853A (en) Templated deployment method of machine learning model and custom operator
CN104375875B (en) Method and compiler for the compiling optimization of application program
CN110780879B (en) Decision execution method, device, equipment and medium based on intelligent compiling technology
CN107301179A (en) The method and apparatus of data base read-write separation
CN112015402A (en) Method and device for quickly establishing service scene and electronic equipment
CN111091469A (en) Information processing method and device, electronic equipment and computer readable medium
CN115480800A (en) Business data processing method, electronic device and medium
CN114490116B (en) Data processing method and device, electronic equipment and storage medium
CN114489950A (en) Component adapting method and device, electronic equipment and storage medium
US20210124752A1 (en) System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface
CN111949259A (en) Risk decision configuration method, system, electronic equipment and storage medium
CN111859985A (en) AI customer service model testing method, device, electronic equipment and storage medium
CN110908976A (en) Accumulation fund data acquisition method and system
CN112114817B (en) COBOL language-based data dictionary field information acquisition method and device
CN110728584B (en) Information processing method and device, readable storage medium and electronic equipment
CN116360761B (en) Automatic marketing method and system for private domain and public domain based on data labels
CN113205421A (en) Accounting method and device for financial products
CN117215457A (en) Data processing method, apparatus, computer device, storage medium, and program product
CN116069427A (en) Rendering model of dynamic form generator for thousands of resources and thousands of surfaces
CN117742779A (en) Method, device, equipment and storage medium for checking resource configuration information
CN114911860A (en) Data interface generation method, data access method, data interface generation device, data access device, electronic equipment and medium
CN115222269A (en) Rule judging method and related equipment
CN115587148A (en) Business-meaning-free data access method and device suitable for low-code platform

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