[go: up one dir, main page]

CN113377823A - Value data processing method, device, equipment and storage medium - Google Patents

Value data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113377823A
CN113377823A CN202110721159.2A CN202110721159A CN113377823A CN 113377823 A CN113377823 A CN 113377823A CN 202110721159 A CN202110721159 A CN 202110721159A CN 113377823 A CN113377823 A CN 113377823A
Authority
CN
China
Prior art keywords
pricing
data
rule
value data
value
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
CN202110721159.2A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202110721159.2A priority Critical patent/CN113377823A/en
Publication of CN113377823A publication Critical patent/CN113377823A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • 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/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a value data processing method, a device, equipment and a storage medium, when a pricing rule changes, only the updated pricing rule needs to be updated to a pricing rule set, if data elements corresponding to the pricing rule also change, corresponding service data is updated in a pricing reality object set, a pricing main body processing part does not need to modify the service data and/or the change of the pricing rule, only value data calculation processing needs to be carried out on the service data according to the updated pricing rule, and finally a value data result is obtained. The scheme adopts the rule engine and designs a matched data structure, realizes the configuration of data elements and pricing rules on a data level, greatly reduces program change when the pricing rules are changed, improves the service demand response speed and reduces the cost.

Description

Value data processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method, an apparatus, a device, and a storage medium for processing value data.
Background
With the rapid development of computer technology, computer and internet technology are widely applied in various industries, and in the financial field such as banks, higher requirements are provided for the construction of corresponding information management systems in order to optimize internal operation mechanisms and full system resource allocation, improve pricing level and market risk management capacity, and gradually raise the requirements of commercial banks on internal fund transfer pricing management.
In the prior art, the technical scheme of pricing for internal fund transfer is mainly realized according to the following procedures: (1) acquiring an account to be priced from a database; (2) classifying according to a pricing account; (3) pricing the classified pricing accounts; (4) and adjusting and calculating the initial pricing price according to the adjusting parameters to obtain a final price, and finally completing the transfer pricing. In the scheme, the business process and the pricing logic need to be organized in a serial computing mode.
However, when the pricing logic changes, frequent changes are required, the change range is not controllable, the pricing rule changes frequently, and new functions are often completed by patching at present, which causes the problems of complex code logic, low operation and maintenance efficiency and high cost.
Disclosure of Invention
Embodiments of the present invention provide a value data processing method, apparatus, device, and storage medium, which are used to solve the problems of complex code logic, low operation and maintenance efficiency, and high cost caused by a new function being completed in a patching manner in the prior art.
In a first aspect, an embodiment of the present invention provides a value data processing method, where the method includes:
acquiring an updated pricing rule from a pricing rule set, wherein the pricing rule set is used for storing the updated pricing rule of the service personnel;
obtaining business data from a pricing fact object set, the pricing fact object set for storing business data corresponding to data elements in the pricing rules;
according to the pricing rule, value data calculation processing is carried out on the service data to obtain a value data result;
and outputting the value data result.
In a specific embodiment, the performing value data calculation processing on the service data according to the pricing rule to obtain a value data result includes:
according to the pricing rule and the service data, rule adaptation processing and pricing strategy execution are sequentially carried out to obtain a corresponding pricing execution result;
and generating the value data result according to the pricing execution result and a preset internal and external interest rate data management rule, wherein the value data result comprises at least one internal transfer value component and a numerical value corresponding to each internal transfer value component.
In one embodiment, before obtaining the updated pricing rules from the set of pricing rules, the method further comprises:
receiving pricing rule configuration information sent by terminal equipment of service personnel, wherein the pricing rule configuration information comprises updated rule information;
and processing the updated rule information according to the preset rule grammar in a rule engine according to the pricing rule configuration information to obtain the pricing rules stored in the pricing rule set.
In one embodiment, before obtaining the business data from the set of pricing facts objects, the method further comprises:
receiving external data sent by other terminal equipment;
and storing the external data in the pricing fact object set as business data according to a preset binary data structure comprising data elements and element values.
In one embodiment, the business data is all or a portion of the data in the set of pricing facts objects.
In a second aspect, an embodiment of the present invention provides a value data processing apparatus, including:
the first obtaining module is used for obtaining updated pricing rules from a pricing rule set, and the pricing rule set is used for storing the updated pricing rules of business personnel;
a second obtaining module, configured to obtain service data from a pricing fact object set, where the pricing fact object set is used to store service data corresponding to data elements in the pricing rule;
the processing module is used for calculating and processing the value data of the service data according to the pricing rule to obtain a value data result;
and the output module is used for outputting the value data result.
In a specific embodiment, the processing module is specifically configured to:
according to the pricing rule and the service data, rule adaptation processing and pricing strategy execution are sequentially carried out to obtain a corresponding pricing execution result;
and generating the value data result according to the pricing execution result and a preset internal and external interest rate data management rule, wherein the value data result comprises at least one internal transfer value component and a numerical value corresponding to each internal transfer value component.
In one embodiment, the apparatus further comprises:
the first receiving module is used for receiving pricing rule configuration information sent by terminal equipment of business personnel, wherein the pricing rule configuration information comprises updated rule information;
and the processing module is also used for processing the updated rule information according to the preset rule grammar in a rule engine according to the pricing rule configuration information to obtain the pricing rule stored in the pricing rule set.
In one embodiment, the apparatus further comprises:
the second receiving module is used for receiving external data sent by other terminal equipment;
the processing module is further configured to store the external data in the pricing fact object set as business data according to a preset binary data structure including data elements and element values.
In one embodiment, the business data is all or a portion of the data in the set of pricing facts objects.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
a processor, a memory, and an interactive interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the value data processing method of any of the first aspects via execution of the executable instructions.
In a fourth aspect, an embodiment of the present invention provides a readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the value data processing method according to any one of the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is used to implement the value data processing method according to any one of the first aspect.
According to the value data processing method, device, equipment and storage medium provided by the embodiment of the invention, when the pricing rule changes, only the updated pricing rule needs to be updated to the pricing rule set, if the data elements corresponding to the pricing rule also change, the corresponding service data is updated in the pricing reality object set, the pricing main body processing part does not need to modify the service data and/or the pricing rule, only the value data calculation processing is carried out on the service data according to the updated pricing rule, and finally the value data result is obtained. The scheme adopts the rule engine and designs a matched data structure, realizes the configuration of data elements and pricing rules on a data level, greatly reduces program change when the pricing rules are changed, improves the service demand response speed and reduces the cost.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic view of an application flow of a value data processing method according to the present invention;
FIG. 2 is a flowchart of a first embodiment of a value data processing method according to the present invention;
FIG. 3 is a schematic diagram of an organization of a data structure provided by an embodiment of the invention;
fig. 4 is a schematic diagram of service data conversion according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of an example of a value data processing method according to the present invention;
FIG. 6 is a schematic diagram of a distributed computing environment provided by embodiments of the present invention;
FIG. 7 is a schematic diagram of two computing modes, a distributed and a single computing environment, provided by embodiments of the present invention;
FIG. 8 is a schematic structural diagram of a first embodiment of a value data processing apparatus according to the present invention;
FIG. 9 is a schematic structural diagram of a second embodiment of a value data processing apparatus according to the present invention;
fig. 10 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments based on the embodiments in the present invention, which can be made by those skilled in the art in light of the present disclosure, are within the scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, in order to optimize internal operation mechanisms and system-wide resource allocation and improve pricing level and market risk management capacity, commercial banks have gradually increased requirements for internal fund transfer pricing management. However, the current processing scheme of internal fund transfer pricing does not distinguish the business process from the pricing logic, and basically adopts a serial computing mode to process, so that the processing efficiency is low and the universality is poor. Meanwhile, if the business rules change and need to be changed frequently, the whole internal fund transfer pricing process can be readjusted, and the problems of poor timeliness and the like are more obvious.
Aiming at the problems, the invention provides a value data processing method, which has the core thought that: in order to meet the flexible pricing requirement of commercial banks on large-data volume business data, in order to quickly respond to business changes when pricing rules change and reduce program changes, the inventor finds that decoupling the pricing rules from business processes is a more reasonable technical idea in the experimental process. The rule engine can be adopted and a matched dynamic data structure is designed, so that the data elements of the data level and the pricing rules of the rule level can be configured, the program change is greatly reduced, and the service demand response speed is improved.
The explanation of the professional vocabulary involved in the scheme is as follows:
internal funds transfer pricing: when the operating units apply funds, the capital costs need to be paid to the fund center through fund transfer pricing. When absorbing funds, revenue may be obtained from the funding center. The specific capital cost or income is determined by the management department according to the pricing strategy, and the internal interest balance is calculated into the profit list of the operating unit. The internal fund transfer pricing can play a role in fairly evaluating profit contribution, separating interest rate risks, optimizing full-line resource allocation, guiding reasonable product pricing and the like.
A rule engine: a rules engine is a component embedded in an application that accepts data input, interprets business rules, and makes business decisions based on the business rules. The specific implementation mode is that the service data is stored in a fact data set module, the service decision is logically changed into rules, the rules are stored in a rule set module, and after the data is matched with the service rules, the decision is executed according to the preset logic. The rule engine realizes that the business decision is separated from the application code program, and when the requirement changes, the business decision can be responded by modifying the rule file without involving code change.
The distributed computing framework: in order to meet the huge computing requirements, GB, TB and even larger data sets are processed in a parallel and distributed mode. The distributed computing framework combines a programming model and a basic framework, completes automatic task distribution and parallelization by writing programs running on a plurality of machines, and simultaneously establishes a certain fault-tolerant, scheduling and monitoring mechanism, thereby achieving the purpose of increasing the computing capacity of the machines which can be transversely expanded.
Fig. 1 is a schematic view of an application flow of the value data processing method provided by the present invention, and as shown in fig. 1, the value data processing method is a technical scheme based on a rule engine, and is mainly applied to an internal value data processing device, which is a software logic module and can be operated in an electronic device with data processing capabilities such as a server, a service platform, and a computer of a bank, and the scheme is not limited to a specific hardware form.
Based on fig. 1, it can be seen that the value data processing method provided by the present invention decouples parts of the service data and the service rules, and in the internal implementation of the internal value data processing apparatus, a pricing fact object set and a pricing rule set are designed, contents in the two sets can be configured according to changes of the external data and the service rules, and other pricing rules are matched, and results of pricing policy execution and final value data generation (also referred to as pricing results) do not need to be modified, that is, parts of the processing process in the program implementation process do not need to be modified regardless of changes of the external service rules.
Wherein, the pricing fact object set and the pricing rule set can be stored in different databases or different areas in the same database, and interact with external devices to realize the update or configuration of the service data and the pricing regulation.
The following describes the processing method of the account information provided by the present invention in detail through several specific embodiments.
Fig. 2 is a flowchart of a first embodiment of a value data processing method provided by the present invention, and as shown in fig. 2, the value data processing method specifically includes the following steps:
s101: the updated pricing rules are obtained from a set of pricing rules for storing business personnel updated pricing rules.
S102: business data is obtained from a set of pricing facts objects that store business data corresponding to data elements in the pricing rules.
In this embodiment, when value data processing for internal fund transfer is required, the internal value data processing device first obtains a pricing rule after change from a pricing rule set, where the pricing rule set may be stored in a database, and a service person may update the pricing rule in the pricing rule set according to a new service rule or a service rule of an added new element.
Further, driven by pricing rules, corresponding business data may be obtained from the set of pricing facts objects. The business data in the pricing fact object set is driven according to rules, there are cases where only the business rules are changed but the elements of various business data are not changed, there may be cases where new data elements are added to new business rules, and then the business data of the newly added data elements are also updated in the business data in the pricing fact object set. The pricing fact object set and the pricing rules may be stored in different areas in the same database, or may be stored in different databases, which is not limited to this solution.
S103: and performing value data calculation processing on the service data according to the pricing rule to obtain a value data result.
In this step, the internal value data processing device performs rule adaptation processing and pricing strategy execution in sequence according to the pricing rules and the service data to obtain corresponding pricing execution results. And then generating a value data result according to the pricing execution result and a preset internal and external interest rate data management rule, wherein the value data result comprises at least one internal transfer value component and a numerical value corresponding to each internal transfer value component.
In a specific implementation mode, pricing fact object sets and pricing rule sets are adapted in a pricing rule matching module, each fact object set can be adapted to a plurality of pricing rule combinations, and screening strategies such as priority selection and uniqueness check of the pricing rules can be set according to needs. And the matched and screened results enter a pricing strategy execution module, a pricing strategy is executed according to the pricing rule combination, the execution results are reflected on the service data, and the state of the fact object can be updated immediately. And finally, according to the internal and external interest rate data management rules (also called internal and external interest rate price management methods), further generating complete internal fund transfer value components and value results, namely value data results.
Optionally, in a specific embodiment, the business data is all data or part of data in the pricing fact object set. In order to improve the processing efficiency, all the service data may be processed in parallel by the multiple distributed internal data processing apparatuses, and finally, the service data is collected and output, that is, in this scheme, the service data calculated by the node may be all the data to be processed, or may be a part of the data, which is not limited in this scheme.
S104: and outputting a value data result.
In the step, the value data result is output according to a uniform data outlet, namely the whole internal fund transfer pricing process is completed. Specifically, the output may be performed by displaying or transmitting to a designated device for displaying, and the like, which is not limited in this embodiment.
According to the value data processing method provided by the embodiment, aiming at the flexibility and the timeliness pain point in the service scene, the rule engine is used, the pricing rule is decoupled from the service process, the rule is opened and configured to the pricing manager, and the rule is configured and used immediately. The data elements and the pricing rules of the data layer can be configured, program change is greatly reduced when the pricing rules are changed, the service demand response speed is improved, and the cost is reduced.
On the basis of the foregoing embodiment, in a specific implementation manner of the value data processing method provided by the present invention, before S101, the method further includes the following steps:
receiving pricing rule configuration information sent by terminal equipment of service personnel, wherein the pricing rule configuration information comprises updated rule information; and processing the updated rule information according to the preset rule grammar in a rule engine according to the pricing rule configuration information to obtain the pricing rules stored in the pricing rule set.
In the scheme, after a new service rule or a new service is set, a service or a developer configures new rule information and configures a new pricing rule, then the pricing rule configuration information is input into the internal value data processing device through terminal equipment, the device processes the new pricing rule configuration information into a pricing rule set according to the grammar predefined by a rule engine after receiving the new pricing rule configuration information, and legality check is carried out at a rule level, so that the situation that the configuration is unavailable is prevented. And finally, the new pricing rules stored in the pricing rule set can be directly obtained from the pricing rule set after internal value calculation is carried out subsequently.
On the basis of the foregoing embodiment, in a specific implementation manner of the value data processing method provided by the present invention, before S102, the method further includes the following steps:
and receiving external data sent by other terminal equipment, and storing the external data in the pricing fact object set as service data according to a preset binary data structure comprising data elements and element values.
In the scheme, data related to external services can be input through other terminal devices, the electronic device in the scheme receives the input external data and needs to perform unified processing according to a preset data structure, differences among external data sources are shielded at a factual object level, and the service data uniformly processed into the same data structure are stored in a factual pricing object set.
This data structure is described in detail below. In order to better meet the flexible configuration and quick effectiveness requirements of the internal value data processing device, the invention designs a dynamic data structure for storing pricing fact objects. Fig. 3 is a schematic diagram of an organization form of a data structure according to an embodiment of the present invention, and as shown in fig. 3, the data structure uses a variable length set as a container and stores < data elements (i.e., element names) and element values > binary groups organized in a key-value pair form. The data structure can support dynamic addition and deletion of the data elements on the premise of not influencing the program logic. The dependence condition is that the description information of the matched data structure is required to be provided when the data is accessed.
Taking banking business as an example, various business data of the bank have different attributes, for example, loan data needs to record overdue information, and corresponding elements include whether the loan data is overdue, overdue interest rate and the like; the buyback data needs to record the information of the delivered securities, and the corresponding elements comprise the type of the securities, the delivery conditions and the like. Fig. 4 is a schematic diagram of service data conversion provided in the embodiment of the present invention, and as shown in fig. 4, description information on an original data structure is configured while data is accessed, a data element name is described in an agreed form, a program is loaded into a dynamic data structure in the present solution after data is analyzed according to the description information, and the data is provided to a rule engine in a uniform pricing fact object set for rule matching and policy execution.
The workflow of the value data processing method provided by the invention is explained by a specific example.
The technical scheme provided by the application mainly converts the business data into an extensible dynamic data structure, abstracts the business rules into a configurable entry rule text, and realizes data processing of fund transfer pricing by matching in a rule engine. The data processing scheme is suitable for internal fund transfer pricing of batch scenes and instant scenes, and the solution meeting the requirements of large-scale data dynamic regulation rule on scene flexibility and timeliness is provided.
Taking commercial bank demand deposit as an example, advanced scientific management strategies need to distinguish a part with small internal drawing probability in the near term, namely a stable part in the demand deposit, which can be used as a fund source of high-profit assets of banks, so that incentive strategies are implemented in internal fund transfer pricing. In order to respond to the business requirements, the system adds stable deposit incentive pricing rules, but the actual business data does not contain relevant elements, and the data structure needs to be expanded.
Fig. 5 is a schematic flow chart of an example of a value data processing method provided by the present invention, and as shown in fig. 5, when the business rule changes and a new data element needs to be relied on to enable a new business rule to take effect, the business scenario and the processing flow are as follows:
service scene: the general service plans to promote the fine management of the service type 1, and needs to add a differentiated pricing data element to the service and configure a corresponding service rule; through communication, the data source system can provide the data elements, namely the newly added elements in the graph, according to the requirement.
The treatment process comprises the following steps:
step1. data change: adding the configuration of new elements in the original data structure description of the service type 1, analyzing source system data by an access program of an internal value data processing device according to the updated configuration information, and loading the source system data into a dynamic data structure;
step2. rule adjustment: business personnel configure business rules based on the newly added elements as required, an internal value data processing device is processed into a pricing rule set (including pricing rules corresponding to the newly added elements) according to the grammar predefined by a rule engine, and validity verification is carried out according to preset logic;
and step3, a pricing main body program module of the internal value data processing device does not need to carry out adaptive modification aiming at the change of a data source and a rule, a pricing rule is obtained from a pricing rule set, service data is obtained from a pricing reality object set, and a new value data result (namely a pricing result) is obtained according to normal flow calculation.
In Step1 and Step2, if the newly added data elements and the adjusted service rules conform to the standardized internal fund transfer pricing mode, the data access program and the rule processing program do not need to be modified by codes, and if a special service scene exists, the modification range is controllable, and rapid iterative upgrade can be realized.
In addition to the scheme, in order to meet large-scale data volume calculation, the internal value data processing device based on the rule engine can be combined with a distributed calculation framework, business data and pricing rules are distributed to each calculation node, the internal value data processing device is respectively deployed on each calculation node, and a new bank internal fund transfer pricing method based on the rule engine and distributed calculation is achieved by utilizing the parallel calculation capacity of multiple nodes.
Fig. 6 is a schematic diagram of a distributed computing environment provided by an embodiment of the present invention, and as shown in fig. 6, the workflow in the distributed computing environment is as follows:
and step1, receiving multi-source and multi-type service data files and pricing rule texts of service configuration, and then distributing the service data and the pricing rules to each computing node. It should be understood that the pricing rules in the sets of pricing rules in the various computing nodes are the same, but the traffic data in the sets of pricing facts in each computing node is different.
Step2, completing the value data calculation process of a single node on the single calculation node according to the technical scheme, and particularly, completing communication, monitoring and scheduling among the nodes by depending on a distributed calculation framework in the scheme.
And step3, finally, merging and collecting the value data results generated on each computing node, and inputting the value data results into an external storage in a file form through a uniform outlet.
In addition, the invention provides a solution for meeting the business trial calculation requirement, which is used for feeding back the calculation result after the rule is modified in real time and providing business personnel for debugging the pricing rule scheme before large-scale calculation; meanwhile, the method can also support the calculation of a small amount of data and is used for a temporary calculation scene with small traffic.
Fig. 7 is a schematic diagram of two computing modes of a distributed computing environment and a single computing environment according to an embodiment of the present invention, as shown in fig. 7, the two computing modes have substantially the same main program parts, and the difference lies in the deployment manner and the usage scenario, the present invention provides a mode selection function for service to be selected as needed, and the internal fund transfer pricing device shown in fig. 7 is also the internal value data processing device in the other embodiments described above.
According to the value data processing method provided by the embodiment of the invention, when the pricing demand changes, the data layer can be updated to the latest data element by modifying the data structure description; and modifying the business rule, and updating the rule level into the latest pricing rule. Therefore, the service requirement can be quickly responded without changing the program.
Furthermore, for a large-scale data scene, the advantage of parallel computing can be exerted, and the timeliness requirement of computing one by one and releasing the internal price daily is met. Besides, an instant calculation scheme is provided, and a business debugging pricing rule scheme or a small data temporary calculation scene can be met.
FIG. 8 is a schematic structural diagram of a first embodiment of a value data processing apparatus according to the present invention; as shown in fig. 8, the value data processing device 10 includes:
a first obtaining module 11, configured to obtain an updated pricing rule from a pricing rule set, where the pricing rule set is used for storing a pricing rule updated by a business worker;
a second obtaining module 12, configured to obtain service data from a pricing fact object set, where the pricing fact object set is used to store service data corresponding to data elements in the pricing rules;
the processing module 13 is used for performing value data calculation processing on the service data according to the pricing rule to obtain a value data result;
and the output module 14 is used for outputting the value data result.
The value data processing device provided by this embodiment is used for executing the technical solution in any of the foregoing method embodiments, and its implementation principle and technical effect are similar, when the pricing rule changes, only the updated pricing rule needs to be updated to the pricing rule set, if the data element corresponding to the pricing rule also changes, the corresponding service data is updated in the pricing reality object set, the pricing main body processing part does not need to modify the service data and/or the change of the pricing rule, only needs to perform value data calculation processing on the service data according to the updated pricing rule to obtain the value data result, and adopts the rule engine and designs the matched data structure to implement the configuration of the data element and the pricing rule in the data layer, greatly reduces the program change when the pricing rule changes, and improves the service demand response speed, the cost is reduced.
In a specific implementation of the value data processing device 10, the processing module 13 is specifically configured to:
according to the pricing rule and the service data, rule adaptation processing and pricing strategy execution are sequentially carried out to obtain a corresponding pricing execution result;
and generating the value data result according to the pricing execution result and a preset internal and external interest rate data management rule, wherein the value data result comprises at least one internal transfer value component and a numerical value corresponding to each internal transfer value component.
FIG. 9 is a schematic structural diagram of a second embodiment of a value data processing apparatus according to the present invention; as shown in fig. 9, the value data processing apparatus 10 further includes:
the first receiving module 15 is configured to receive pricing rule configuration information sent by terminal equipment of a service person, where the pricing rule configuration information includes updated rule information;
the processing module 13 is further configured to process the updated rule information according to a rule syntax preset in a rule engine according to the pricing rule configuration information, so as to obtain the pricing rules stored in the pricing rule set.
Optionally, the second receiving module 16 is configured to receive external data sent by other terminal devices;
the processing module 13 is further configured to store the external data in the pricing fact object set as business data according to a preset binary data structure including data elements and element values.
Optionally, the business data is all data or part of data in the pricing fact object set.
The value data processing apparatus provided in this embodiment is configured to execute the technical solution in any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of an electronic device provided in the present invention. As shown in fig. 10, the electronic apparatus 100 includes:
a processor 111, a memory 112, and an interactive interface 113;
the memory 112 is used for storing executable instructions of the processor 111;
wherein the processor 111 is configured to perform the solution in any of the method embodiments described above via execution of the executable instructions.
Alternatively, the memory 112 may be separate or integrated with the processor 111.
Optionally, when the memory 112 is a device independent from the processor 111, the electronic device 100 may further include:
and the bus is used for connecting the devices.
The electronic device is configured to execute the technical solution provided by any of the foregoing method embodiments, and the implementation principle and technical effect of the electronic device are similar to those in the foregoing method embodiments, and are not described herein again.
An embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the value data processing method provided in any of the foregoing embodiments.
An embodiment of the present invention further provides a computer program product, which includes a computer program, and the computer program is used for implementing the value data processing method provided in any one of the foregoing method embodiments when being executed by a processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. A method of value data processing, the method comprising:
acquiring an updated pricing rule from a pricing rule set, wherein the pricing rule set is used for storing the updated pricing rule of the service personnel;
obtaining business data from a pricing fact object set, the pricing fact object set for storing business data corresponding to data elements in the pricing rules;
according to the pricing rule, value data calculation processing is carried out on the service data to obtain a value data result;
and outputting the value data result.
2. The method according to claim 1, wherein performing a value data calculation process on the business data according to the pricing rule to obtain a value data result comprises:
according to the pricing rule and the service data, rule adaptation processing and pricing strategy execution are sequentially carried out to obtain a corresponding pricing execution result;
and generating the value data result according to the pricing execution result and a preset internal and external interest rate data management rule, wherein the value data result comprises at least one internal transfer value component and a numerical value corresponding to each internal transfer value component.
3. The method according to claim 1 or 2, wherein prior to obtaining updated pricing rules from the set of pricing rules, the method further comprises:
receiving pricing rule configuration information sent by terminal equipment of service personnel, wherein the pricing rule configuration information comprises updated rule information;
and processing the updated rule information according to the preset rule grammar in a rule engine according to the pricing rule configuration information to obtain the pricing rules stored in the pricing rule set.
4. The method according to claim 1 or 2, wherein prior to obtaining business data from a set of pricing facts objects, the method further comprises:
receiving external data sent by other terminal equipment;
and storing the external data in the pricing fact object set as business data according to a preset binary data structure comprising data elements and element values.
5. The method according to claim 1 or 2, wherein the business data is all or part of the data in the set of pricing facts objects.
6. A value data processing apparatus, comprising:
the first obtaining module is used for obtaining updated pricing rules from a pricing rule set, and the pricing rule set is used for storing the updated pricing rules of business personnel;
a second obtaining module, configured to obtain service data from a pricing fact object set, where the pricing fact object set is used to store service data corresponding to data elements in the pricing rule;
the processing module is used for calculating and processing the value data of the service data according to the pricing rule to obtain a value data result;
and the output module is used for outputting the value data result.
7. The apparatus of claim 6, wherein the processing module is specifically configured to:
according to the pricing rule and the service data, rule adaptation processing and pricing strategy execution are sequentially carried out to obtain a corresponding pricing execution result;
and generating the value data result according to the pricing execution result and a preset internal and external interest rate data management rule, wherein the value data result comprises at least one internal transfer value component and a numerical value corresponding to each internal transfer value component.
8. The apparatus of claim 6 or 7, further comprising:
the first receiving module is used for receiving pricing rule configuration information sent by terminal equipment of business personnel, wherein the pricing rule configuration information comprises updated rule information;
and the processing module is also used for processing the updated rule information according to the preset rule grammar in a rule engine according to the pricing rule configuration information to obtain the pricing rule stored in the pricing rule set.
9. The method of claim 6 or 7, wherein the apparatus further comprises:
the second receiving module is used for receiving external data sent by other terminal equipment;
the processing module is further configured to store the external data in the pricing fact object set as business data according to a preset binary data structure including data elements and element values.
10. The apparatus of claim 6 or 7, wherein the business data is all or part of the pricing fact object set.
11. An electronic device, comprising:
a processor, a memory, and an interactive interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the value data processing method of any of claims 1 to 4 via execution of the executable instructions.
12. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the value data processing method according to any one of claims 1 to 4.
13. A computer program product, comprising a computer program which, when executed by a processor, is adapted to carry out the value data processing method of any one of claims 1 to 4.
CN202110721159.2A 2021-06-28 2021-06-28 Value data processing method, device, equipment and storage medium Pending CN113377823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721159.2A CN113377823A (en) 2021-06-28 2021-06-28 Value data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721159.2A CN113377823A (en) 2021-06-28 2021-06-28 Value data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113377823A true CN113377823A (en) 2021-09-10

Family

ID=77579607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721159.2A Pending CN113377823A (en) 2021-06-28 2021-06-28 Value data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113377823A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119089A (en) * 2021-11-25 2022-03-01 上海浦东发展银行股份有限公司 An internal funds transfer pricing system, method, apparatus and medium
CN117076542A (en) * 2023-08-29 2023-11-17 中国中金财富证券有限公司 Data processing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094199A1 (en) * 2005-08-30 2007-04-26 International Business Machines Corporation System and method for automatically processing dynamic business rules in a content management system
CN107977441A (en) * 2017-12-08 2018-05-01 中国银行股份有限公司 The method for processing business and transaction processing system of rule-based engine
CN110825488A (en) * 2019-09-29 2020-02-21 山东中创软件工程股份有限公司 Business processing method and device, electronic equipment and storage medium
CN112308570A (en) * 2020-11-24 2021-02-02 中国工商银行股份有限公司 Method and device for generating business rule output value

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094199A1 (en) * 2005-08-30 2007-04-26 International Business Machines Corporation System and method for automatically processing dynamic business rules in a content management system
CN107977441A (en) * 2017-12-08 2018-05-01 中国银行股份有限公司 The method for processing business and transaction processing system of rule-based engine
CN110825488A (en) * 2019-09-29 2020-02-21 山东中创软件工程股份有限公司 Business processing method and device, electronic equipment and storage medium
CN112308570A (en) * 2020-11-24 2021-02-02 中国工商银行股份有限公司 Method and device for generating business rule output value

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119089A (en) * 2021-11-25 2022-03-01 上海浦东发展银行股份有限公司 An internal funds transfer pricing system, method, apparatus and medium
CN117076542A (en) * 2023-08-29 2023-11-17 中国中金财富证券有限公司 Data processing method and related device
CN117076542B (en) * 2023-08-29 2024-06-07 中国中金财富证券有限公司 Data processing method and related device

Similar Documents

Publication Publication Date Title
CN108446975B (en) Quota management method and device
CN111861717B (en) Contract account management method, device, equipment and storage medium
CN112258306B (en) Account information checking method, device, electronic equipment and storage medium
US11727498B2 (en) Fund allocation configuration
CN111091358B (en) Unified processing method and system for multiple payment channels
EP1770620A2 (en) Method for modelling processing procedures
US11164163B1 (en) Performance optimized automated processing and routing system
CN108921680A (en) Financial data accreditation method, apparatus, computer equipment and storage medium
CN113377823A (en) Value data processing method, device, equipment and storage medium
CN112017042A (en) Resource quota determining method and device based on tweed distribution and electronic equipment
US20070239586A1 (en) System and methd of rebalancing a portfolio of separately managed accounts
CN109919751A (en) A kind of generation method of financial scenario, apparatus and system
CN113988874A (en) Bank multi-type fund use method and device
CN112907362A (en) Loan transaction processing method and device, electronic equipment and storage medium
CN111178867A (en) Data splitting method and data splitting device
CN111429125B (en) Account management method and device, storage medium and electronic equipment
CN114219629A (en) Fund collection method, device, equipment and medium
CN113888148A (en) Method and device for scheduling resources based on scheduling network
CN109191185A (en) A kind of visitor&#39;s heap sort method and system
CN111429251A (en) Method and device for processing data under multiple modes
CN110264334A (en) Odd corpus distribution method and system
US10235719B2 (en) Centralized GAAP approach for multidimensional accounting to reduce data volume and data reconciliation processing costs
TWM630723U (en) Automated Debt Processing System
CN109767248B (en) Customer demand information processing method, device and system
US20220351166A1 (en) System and Method for High-Speed Payment Matching on a Processing Cluster

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

Application publication date: 20210910