CN111260477A - Writing and reading method and processing system for product object data information - Google Patents
Writing and reading method and processing system for product object data information Download PDFInfo
- Publication number
- CN111260477A CN111260477A CN201911215524.1A CN201911215524A CN111260477A CN 111260477 A CN111260477 A CN 111260477A CN 201911215524 A CN201911215524 A CN 201911215524A CN 111260477 A CN111260477 A CN 111260477A
- Authority
- CN
- China
- Prior art keywords
- product
- model
- code
- definition
- layer table
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/06—Asset management; Financial planning or analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the application provides a method for writing and reading product object data information and a processing system, wherein the writing method comprises the following steps: establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; receiving first data information for a product object; extracting product codes and model configuration data of the product objects from the first data information; the model configuration data comprises service attribute field parameters; and writing the product code and the service attribute field parameters into a product object data table by combining the product model definition layer table, the product model layer table and the product object definition layer table. Through the embodiment of the application, the unified management on the definition of the insurance products is realized, the online speed of the definition of the insurance products is improved, and all the insurance products can be flexibly defined.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method for writing and reading product object data information and a processing system.
Background
Insurance products are a complex of tangible products and intangible services offered by insurance companies to the market. The insurance product refers to a financial instrument created by an insurance company and used by a customer to choose to trade in an insurance market in a narrow sense.
With the rapid development of the internet, the competitive pressure among insurance companies includes slow online of insurance products, disordered codes, difficulty in operation bottleneck test, the need of building a test case for each special product, unreusable cases, manual test data creation, difficulty in development, individual processing of products, premium division of major and minor risks, premium algorithm, package special check, no independent product special processing, various product types, universal risks, serious risks, dividend risks, accidental risks and the like, and numerous combinations and numerous packages are provided.
Disclosure of Invention
In view of the above problems, it is proposed to provide a method for writing and reading data information of a product object and a processing system, which overcome or at least partially solve the above problems, comprising:
a method for writing product object data information, the method comprising:
establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
receiving first data information for a product object;
extracting product codes and model configuration data of the product objects from the first data information; wherein the model configuration data comprises a service attribute field parameter;
and writing the product code and the service attribute field parameter into a preset product object data table by combining the product model definition layer table, the product model layer table and the product object definition layer table.
Optionally, the step of writing the product code and the service attribute field parameter into the preset product object data table in combination with the product model definition layer table, the product model layer table, and the product object definition layer table includes:
determining a product model code corresponding to the product object from the data information of the product object;
determining a basic model code corresponding to the product model code from the product model layer table;
determining an object definition code corresponding to the basic model code from the product model definition layer table, and establishing a corresponding relation between the object definition code and the product code;
determining a field code corresponding to the object definition code from the product object definition layer table;
and writing the service attribute field parameters into the data table fields corresponding to the field codes in the preset product object data table.
Optionally, the basic model code includes a fixed model code and a dynamic model code, the service attribute field parameter includes a fixed service attribute field parameter and a dynamic service attribute field parameter, the fixed service attribute field parameter corresponds to the fixed model code, and the dynamic service attribute field parameter corresponds to the dynamic model code.
Optionally, the product model code corresponds to a product type of the product object, and the base model code corresponds to a transaction type of the product type.
Optionally, the product object is a product object for insurance business, and the product type includes any one or more of the following items:
the life insurance type, the red insurance type, the universal insurance type and the continuous insurance type;
the transaction type includes any one or more of:
policy definition items, risk category definition items, responsibility definition items and claim settlement record definition items.
Optionally, the policy definition item, the risk category definition item, and the base model code corresponding to the responsibility definition item are fixed model codes, and the base model code corresponding to the claim record definition item is dynamic model codes.
A method of reading product object data information, the method comprising:
establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
receiving a data information reading request aiming at a product object; the data information reading request comprises a product code corresponding to the product object;
searching a service attribute field parameter corresponding to the product code from a preset product object data table;
and generating second data information corresponding to the service attribute field parameters, and issuing.
A system for processing product object data information, the system comprising writing means and reading means:
the writing apparatus includes:
the first model table establishing module is used for establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
the first data information receiving module is used for receiving first data information aiming at the product object;
the extraction module is used for extracting the product code and the model configuration data of the product object from the first data information; wherein the model configuration data comprises a service attribute field parameter;
a write-in module, configured to write the product code and the service attribute field parameter into the product object data table in combination with the product model definition layer table, the product model layer table, and the product object definition layer table;
the reading apparatus includes:
the information receiving module is used for receiving a data information reading request aiming at the product object; the data information reading request comprises a product code corresponding to the product object;
the searching module is used for searching the service attribute field parameter corresponding to the product code from a preset product object data table;
and the reading module is used for generating second data information corresponding to the service attribute field parameters and issuing the second data information.
An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the method for writing and reading product object data information as described above.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for writing, reading of product object data information as described above. The embodiment of the application has the following advantages:
in the embodiment of the application, by establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table, receiving first data information for a product object, extracting product codes and model configuration data of the product object from the first data information, wherein the model configuration data can include service attribute field parameters, and writing the product codes and the service attribute field parameters into the product object data table in combination with the product model definition layer table, the product model layer table and the product object definition layer table, the unified management of insurance product definition is realized, the online speed of insurance product definition is improved, and all insurance products can be flexibly defined.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a diagram illustrating a model definition of product object data information according to an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a model mapping of product object data information according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a method for writing product object data information according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating steps of a method for reading data information of a product object according to an embodiment of the present application;
fig. 5 is a block diagram of a system for processing product object data information according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the rapid development of the internet, the competition pressure between insurance companies is getting bigger and bigger, and there are two main stresses, namely the pressure inside the company and the pressure outside the company.
The external pressure mainly comes from traditional competitors, in particular, the market competition is increasingly intense, and market participants develop full-range competition in the fields of products, channels, operation, investment, customer service and the like.
The external pressure comes from new participants, and particularly, the internet company is a new participant in the industry by using strong user entrance control force and occupies the initiative of the internet channel.
The external pressure comes from new technologies, and particularly, as new technologies (such as mobile internet, big data and the like) are continuously mature, consumers are more actively promoted.
The internal pressure is mainly reflected in that the product is slow to be online and run, the product codes are disordered, the operation has a bottleneck and is difficult to test, a test case needs to be built for each special product, the case cannot be reused, test data is manually created, the product development is difficult, the product is subjected to individual processing, the premium division of main and auxiliary risks, the premium algorithm and package special verification, the product is not subjected to special processing independently, the product is various in types, universal risks, heavy risks, dividend risks, accident risks and the like, and the combination is numerous and the package is numerous.
To cope with the above two pressures, three product models can be used: an easy-to-protect product model, a Chinese soft product model, and an IBM product model.
The easy-to-protect product model is characterized in that a classification mode is used for modeling, then a large amount of storage processes and java codes are used for calculation and rule processing, and a foreground definition interface is possessed; the advantages are 1) the calculation is java code and storage process, the processing speed is high, 2) the service user can configure the product: if the type is supported by the system, the configuration can be carried out by a actuarian or an operator; the disadvantages are (1) poor expandability; (2) the definition is complex; (3) the actuarial data table is too large.
The Chinese soft product model is characterized in that (1) a model of a comparison plane is compared, and (2) a database table and an SQL statement are used for defining products, rules and calculation; the advantages are (1) simple configuration, strong expandability, (2) developing products capable of being rapidly configured: the development is simple, (3) the data sheet is designed to be independent for each product, and the data volume is small; the disadvantage is mainly performance issues.
The IBM product model is characterized in that (1) the IBM product model is modeled by using a tree classification mode, (2) the IBM product model is only defined and does not include implementation, and the IBM product model has the advantages of (1) reference model and modeling tool, and (2) strong definition capability and expansion capability and the IBM product model has the defects of (1) difficulty in landing; (2) national conditions, enterprises, finance, and regulatory differences.
Specifically, in the process of bringing a product online, product data can be stored in the following manner:
three tables are stored in the database, MAPP (product table), MRISK (risk species table), MDUTY (liability sheet).
The data for the three tables are as follows:
MAPP (product table):
ID: running water number
PRODUCTD: product coding
PRODUCTNAME: product name
VALIDE: period of validity
FLAG: whether or not to exempt from claims
ID | PRODUCTID | PRODUCTNAME | VALIDATE | FLAG |
1 | P000001 | Taikang safe and life accident risk | 1Y | 1 |
MRISK (risk species table):
ID: running water number
RISKID: coding of dangerous seeds
RISKNAME: name of dangerous species
PRODUCTD: product coding
PREM: premium fee
MDUTY (responsibility table):
ID: running water number
DUTYID: responsibility encoding
DUTYNAME: name of responsibility
PRODUCTD: product coding
RISKID: coding of dangerous seeds
PREM: premium fee
ID | DUTYID | DUTYNAME | PRODUCTID | RISKID | PREM |
1 | D000001 | Accidental injury of airplane | P000001 | R000001 | 5 |
2 | D000002 | Other accidental injuries | P000001 | R000001 | 5 |
3 | D000003 | Accident of airplane | P000001 | R000002 | 10 |
4 | D000004 | Other accidents | P000001 | R000002 | 10 |
When the program acquires the data information, the program needs to directly read the database to acquire the information, and if additional information needs to be added, the table structure needs to be modified.
Referring to fig. 1, a model definition diagram of product object data information provided in an embodiment of the present application is shown, where a product may be defined as two layers, namely a product layer and a model layer, specifically, the product layer may be further divided into an object definition layer and an object layer, and the model layer may be divided into a model definition layer and a model layer.
The model definition layer is responsible for defining the type and the whole structure of a product and can be stored through a model definition layer table, data in the model layer is related to the model table and can be stored through a product model layer table, the object definition layer can be used for defining the field attribute of a sub-model in the model definition layer and can be stored through a product object definition layer table related to product definition, the object layer can be data related to the object definition layer, and the object definition layer and the object layer are related to each other and can be stored through a product object data table. .
Referring to fig. 2, a model corresponding diagram of product object data information provided in an embodiment of the present application is shown, where a model definition layer is responsible for defining types of products and their overall structures, for example, all products may be divided into four types: a life insurance product model, a red product model, a universal insurance product model and a continuous insurance product model.
The model layer defines information of sub-models corresponding to the product model, as shown in fig. 2, for the life insurance product model, the model corresponds to two types of models, namely a fixed model and a dynamic model, wherein the fixed model includes three sub-models, which may be: insurance definition model, risk species definition model and responsibility definition model. The dynamic model comprises a special model corresponding to the life insurance product, and specifically can define a model for the claim records, and all product models can be defined by a fixed model and the dynamic model.
Referring to fig. 3, a flowchart of a method for writing product object data information according to an embodiment of the present application is shown, which may specifically include the following steps:
301, establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
before writing in the product object data information, a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table can be established;
the product model definition layer table can be shown as the following table and can be used for storing the corresponding relation between the product model code and the basic model code;
ID | base model coding | Name of basic model |
1 | MB0001 | Policy definition model |
2 | MB0002 | Dangerous species definition model |
3 | MB0003 | Responsibility definition model |
4 | MB0004 | Claims definition record model |
The product model layer table may be as shown in the following table, and may be used to store the correspondence between the product model code and the base model code;
ID | product model coding | Insurance model name | Type (B) | Base model coding |
1 | MM0001 | Life insurance product model | Fixed model | MB0001 |
2 | MM0001 | Life insurance product model | Fixed model | MB0002 |
3 | MM0001 | Life insurance product model | Fixed model | MB0003 |
4 | MM0001 | Life insurance product model | Dynamic model | MB0004 |
The product object definition layer table may be as shown in the following table, and may be used to store the correspondence between the object definition code and the field code:
the product object data table may be as shown in the following table, and may be used to store the correspondence between the field codes and the service attribute field parameters:
the first data information is specific content contained in the product object, such as a name of the product, an explanation of the product, or a use method of the product.
Before the product is written specifically, the first data information of the product object may be received first, and in the actual receiving process, the first data information of the product object sent by the external client may be received, the first data information of the product object stored in the receiving and storing device in advance may also be directly read, and the first data information of the product object may also be received in other manners, which is not limited in this embodiment.
In an embodiment of the present application, the product object is a product object for insurance business, and the product type includes any one or more of the following items:
the life insurance type, the red insurance type, the universal insurance type and the continuous insurance type;
the transaction type includes any one or more of:
policy definition items, risk category definition items, responsibility definition items and claim settlement record definition items.
In an embodiment of the application, the base model code corresponding to the policy definition item, the risk category definition item, and the responsibility definition item is a fixed model code, and the base model code corresponding to the claim record definition item is a dynamic model code.
the product code may be code information unique to each product, and each product has only one product code.
In practical applications, the model configuration data is specific data information of a product, and may include a name of the product, an explanation of the product, or a method of using the product, and one model configuration data corresponds to one product code.
The service attribute field parameter is a parameter which is filled in detail during storage.
The product code may be located in a first data byte of the model configuration data, after receiving first data information of the product object, the data packet corresponding to the model configuration data may be extracted first, and then the model configuration data and the data of the corresponding first data byte are separated, that is, the product code and the model configuration data of the product object are extracted, where the model configuration data includes a service attribute field parameter.
In an embodiment of the present application, the service attribute field parameters include a fixed service attribute field parameter and a dynamic service attribute field parameter, where the fixed service attribute field parameter corresponds to a fixed model code, and the dynamic service attribute field parameter corresponds to a dynamic model code.
And step 304, writing the product code and the service attribute field parameter into a preset product object data table by combining the product model definition layer table, the product model layer table and the product object definition layer table.
The preset product object data table is a preset data table and is used for storing all data information of the product.
After the product code and the model configuration data of the product object are extracted, combining the product model definition layer table, the product model layer table and the product object definition layer table, obtaining a space corresponding to the product code and the corresponding service attribute field parameter, and further writing the product code and the corresponding service attribute field parameter into the corresponding space.
As an embodiment, writing the product code and the service attribute field parameter into the preset product object data table further includes the following sub-steps:
substep S11, determining a product model code corresponding to the product object from the data information of the product object;
the product model code is a code corresponding to a product model, the product model may be composed of a plurality of small models, each product corresponds to a model, and each model has a code corresponding to the product model.
The product model code may be included in the data information of the product object through a single data packet, and after receiving the data information of the product object, the data packet corresponding to the product model code may be extracted from the data information of the product object, the data packet corresponding to the product model code may be parsed, and the product model code corresponding to the product object may be determined.
In an embodiment of the present application, the product model code corresponds to a product type of the product object, and the base model code corresponds to an item type of the product type.
Substep S12, determining a basic model code corresponding to the product model code from the product model layer table;
wherein the base model is a small model constituting the product model, and the small model may include a plurality of small model structures.
The basic model coding is the coding corresponding to the basic model, and the basic model coding correspond one to one.
The base model code corresponding to the product model code may be determined in a stored model correspondence table, for example, as shown in the following table:
ID | insurance model coding | Insurance model name | Type (B) | Corresponding code |
1 | MM0001 | Life insurance product model | Fixed model | MB0001 |
2 | MM0001 | Life insurance product model | Fixed model | MB0002 |
3 | MM0001 | Life insurance product model | Fixed model | MB0003 |
4 | MM0001 | Life insurance product model | Dynamic model | MB0004 |
In a specific implementation, a product model layer table is obtained, the content of the product model layer table is identified, then a product model code corresponding to a product object is determined from the product model layer table, and a base model code corresponding to the product model code is obtained, for example, as shown in the above table, if the product model code is identified as MM0001, the base model code corresponding to the product model code is determined as MB0001, MB0002, MB0003, and MB 0004.
In one embodiment of the present application, the base model encoding includes fixed model encoding and dynamic model encoding.
Substep S13, determining an object definition code corresponding to the basic model code from the product model definition layer table, and establishing a corresponding relation between the object definition code and the product code;
the object definition code is a code corresponding to a small model structure.
In a specific implementation, a product model definition layer table is obtained, contents of the product model definition layer table are identified, and then a base model code corresponding to the product model code is determined from the product model definition layer table.
Substep S14, determining a field code corresponding to the object definition code from the product object definition layer table;
wherein one field code may correspond to one piece of content of the product information.
In a specific implementation, the product object definition layer table is obtained first, the content of the product object definition layer table is identified, and then the object definition code is determined from the product object definition layer table, specifically, the field code corresponding to the object definition code may be obtained from the object data definition table.
And a substep S15, writing the service attribute field parameter into the data table field corresponding to the field code in the product object data table.
After determining the field code corresponding to the object definition code, the service attribute field parameter may be written into the data table field corresponding to the field code.
In the embodiment of the application, first data information aiming at a product object is received by establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; and extracting product codes and model configuration data of the product objects from the first data information, wherein the model configuration data comprise service attribute field parameters, and writing the product codes and the service attribute field parameters into a product object data table by combining a product model definition layer table, a product model layer table and a product object definition layer table, so that the online speed of insurance product definition is improved, the unified management of the insurance product definition is realized, and all insurance products can be flexibly defined.
Referring to fig. 4, a flowchart illustrating steps of a method for reading product object data information according to an embodiment of the present application is shown, which may specifically include the following steps:
receiving a data information reading request aiming at a product object, for example, a product inquiry request of a client; the data information reading request includes a product code corresponding to the product object, for example, a policy underwriting of the customer, and the policy underwriting includes a product number used for referring to a specific product.
and searching a product code in a preset product object data table, and searching a service attribute field corresponding to the product code.
And 404, generating second data information corresponding to the service attribute field parameters, and issuing.
And the second data information is the product information stored in the product object data table corresponding to the service attribute field parameter.
And after the service attribute field corresponding to the product code is found in the preset product object data table, extracting second data information corresponding to the service attribute field and sending the second data information to the client.
In the embodiment of the application, first data information aiming at a product object is received by establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; and extracting product codes and model configuration data of the product objects from the first data information, wherein the model configuration data comprise service attribute field parameters, and writing the product codes and the service attribute field parameters into a product object data table by combining a product model definition layer table, a product model layer table and a product object definition layer table, so that the online speed of insurance product definition is improved, the unified management of the insurance product definition is realized, and all insurance products can be flexibly defined.
Referring to fig. 5, a block diagram of a system for processing product object data information according to an embodiment of the present application is shown, where the system includes a writing device 510 and a reading device 520:
the writing device 510 may include the following modules:
a first model table establishing module 511, configured to establish a product model definition layer table, a product model layer table, a product object definition layer table, and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
a first data information receiving module 512, configured to receive first data information for a product object;
an extracting module 513, configured to extract the product code and the model configuration data of the product object from the first data information; wherein the model configuration data comprises a service attribute field parameter;
a writing module 514, configured to write the product code and the service attribute field parameter into the product object data table in combination with the product model definition layer table, the product model layer table, and the product object definition layer table.
In an embodiment of the present application, the writing module 514 further includes the following sub-modules:
the product model code confirming submodule is used for confirming the product model code corresponding to the product object from the data information of the product object;
the basic model code confirming submodule is used for confirming the basic model code corresponding to the product model code from the product model layer table;
the product code corresponding sub-module is used for determining an object definition code corresponding to the basic model code from the product model definition layer table and establishing a corresponding relation between the object definition code and the product code;
the field code corresponding submodule is used for determining the field code corresponding to the object definition code from the product object definition layer table;
and the service attribute field parameter writing submodule is used for writing the service attribute field parameter into a data table field corresponding to the field code in the product object data table.
In an embodiment of the present application, the basic model code includes a fixed model code and a dynamic model code, the service attribute field parameter includes a fixed service attribute field parameter and a dynamic service attribute field parameter, the fixed service attribute field parameter corresponds to the fixed model code, and the dynamic service attribute field parameter corresponds to the dynamic model code.
In an embodiment of the present application, the product model code corresponds to a product type of the product object, and the base model code corresponds to a transaction type of the product type.
In an embodiment of the present application, the product object is a product object for insurance business, and the product type includes any one or more of the following items:
the life insurance type, the red insurance type, the universal insurance type and the continuous insurance type;
the transaction type includes any one or more of:
policy definition items, risk category definition items, responsibility definition items and claim settlement record definition items.
In an embodiment of the application, the policy definition item, the risk category definition item, and the base model code corresponding to the responsibility definition item are fixed model codes, and the base model code corresponding to the claim record definition item is a dynamic model code.
The reading device 520 may include the following modules:
an information receiving module 521, configured to receive a data information reading request for a product object; the data information reading request comprises a product code corresponding to the product object;
a searching module 522, configured to search, from a preset product object data table, a service attribute field parameter corresponding to the product code;
the reading module 523 is configured to generate the second data information corresponding to the service attribute field parameter, and issue the second data information.
In the embodiment of the application, a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table are established; the method comprises the steps of receiving first data information aiming at a product object, extracting product codes and model configuration data of the product object from the first data information, wherein the model configuration data comprise business attribute field parameters, writing the product codes and the business attribute field parameters into a product object data table by combining a product model definition layer table, a product model layer table and a product object definition layer table, improving the online speed of insurance product definition, realizing the unified management of the insurance product definition, and flexibly defining all insurance products.
For the system embodiment of the present application, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present application further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the method for writing and reading data information of a product object as described above.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program implements the steps of the method for writing and reading data information of a product object as described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for writing and reading the product object data information and the processing system are introduced in detail, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A method for writing product object data information, the method comprising:
establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
receiving first data information for a product object;
extracting product codes and model configuration data of the product objects from the first data information; wherein the model configuration data comprises a service attribute field parameter;
and writing the product code and the service attribute field parameter into the product object data table by combining the product model definition layer table, the product model layer table and the product object definition layer table.
2. The method of claim 1, wherein writing the product code and the service attribute field parameter to the product object data table in combination with the product model definition layer table, the product model layer table, and the product object definition layer table comprises:
determining a product model code corresponding to the product object from the data information of the product object;
determining a basic model code corresponding to the product model code from the product model layer table;
determining an object definition code corresponding to the basic model code from the product model definition layer table, and establishing a corresponding relation between the object definition code and the product code;
determining a field code corresponding to the object definition code from the product object definition layer table;
and writing the service attribute field parameters into the data table fields corresponding to the field codes in the product object data table.
3. The method according to claim 1 or 2, wherein the base model coding comprises a fixed model coding and a dynamic model coding, and the service attribute field parameters comprise a fixed service attribute field parameter and a dynamic service attribute field parameter, the fixed service attribute field parameter corresponding to the fixed model coding and the dynamic service attribute field parameter corresponding to the dynamic model coding.
4. The method of claim 2, wherein the product model code corresponds to a product type of the product object and the base model code corresponds to a transaction type of the product type.
5. The method of claim 4, wherein the product object is a product object for insurance services, and wherein the product type comprises any one or more of:
the life insurance type, the red insurance type, the universal insurance type and the continuous insurance type;
the transaction type includes any one or more of:
policy definition items, risk category definition items, responsibility definition items and claim settlement record definition items.
6. The method according to claim 5, wherein the policy definition item, the risk definition item, and the base model code corresponding to the responsibility definition item are fixed model codes, and the base model code corresponding to the claims record definition item is dynamic model code.
7. A method for reading product object data information, the method comprising:
establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
receiving a data information reading request aiming at a product object; the data information reading request comprises a product code corresponding to the product object;
searching a service attribute field parameter corresponding to the product code from a preset product object data table;
and generating second data information corresponding to the service attribute field parameters, and issuing.
8. A system for processing product object data information, the system comprising writing means and reading means:
the writing apparatus includes:
the first model table establishing module is used for establishing a product model definition layer table, a product model layer table, a product object definition layer table and a product object data table; the product model layer table is used for storing the corresponding relation between the product model code and the basic model code, the product model definition layer table is used for storing the corresponding relation between the basic model code and the object definition code, the product object definition layer table is used for storing the corresponding relation between the object definition code and the field code, and the product object data table is used for storing the corresponding relation between the field code and the service attribute field parameter;
the first data information receiving module is used for receiving first data information aiming at the product object;
the extraction module is used for extracting the product code and the model configuration data of the product object from the first data information; wherein the model configuration data comprises a service attribute field parameter;
a write-in module, configured to write the product code and the service attribute field parameter into the product object data table in combination with the product model definition layer table, the product model layer table, and the product object definition layer table;
the reading apparatus includes:
the information receiving module is used for receiving a data information reading request aiming at the product object; the data information reading request comprises a product code corresponding to the product object;
the searching module is used for searching the service attribute field parameter corresponding to the product code from a preset product object data table;
and the reading module is used for generating second data information corresponding to the service attribute field parameters and issuing the second data information.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of a method for writing and reading product object data information according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of a method for writing and reading product object data information according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911215524.1A CN111260477B (en) | 2019-12-02 | 2019-12-02 | Writing and reading method and processing system for product object data information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911215524.1A CN111260477B (en) | 2019-12-02 | 2019-12-02 | Writing and reading method and processing system for product object data information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111260477A true CN111260477A (en) | 2020-06-09 |
CN111260477B CN111260477B (en) | 2023-07-25 |
Family
ID=70948536
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911215524.1A Active CN111260477B (en) | 2019-12-02 | 2019-12-02 | Writing and reading method and processing system for product object data information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111260477B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070214020A1 (en) * | 2003-03-18 | 2007-09-13 | Balaji Srinivasan | Modeling of insurance product data |
US20120053964A1 (en) * | 2010-08-30 | 2012-03-01 | Williams Sarah A | Systems and methods for online insurance financial planning |
US20150178851A1 (en) * | 2013-12-19 | 2015-06-25 | Guidewire Software, Inc. | Insurance product model relationships |
CN105303287A (en) * | 2014-05-30 | 2016-02-03 | 艾玛迪斯简易股份公司 | A method and a system for managing a record data structure |
JP2016170469A (en) * | 2015-03-11 | 2016-09-23 | ニッセイ情報テクノロジー株式会社 | Insurance application system, insurance application method and program |
CN108257013A (en) * | 2016-12-28 | 2018-07-06 | 平安科技(深圳)有限公司 | Insurance products define method and device |
CN109445759A (en) * | 2018-09-28 | 2019-03-08 | 中国平安人寿保险股份有限公司 | Generation method, device, computer equipment and the storage medium of insurance products |
CN109460527A (en) * | 2018-09-25 | 2019-03-12 | 中国平安人寿保险股份有限公司 | Product data configuration method, device, computer equipment and storage medium |
-
2019
- 2019-12-02 CN CN201911215524.1A patent/CN111260477B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070214020A1 (en) * | 2003-03-18 | 2007-09-13 | Balaji Srinivasan | Modeling of insurance product data |
US20120053964A1 (en) * | 2010-08-30 | 2012-03-01 | Williams Sarah A | Systems and methods for online insurance financial planning |
US20150178851A1 (en) * | 2013-12-19 | 2015-06-25 | Guidewire Software, Inc. | Insurance product model relationships |
CN105303287A (en) * | 2014-05-30 | 2016-02-03 | 艾玛迪斯简易股份公司 | A method and a system for managing a record data structure |
JP2016170469A (en) * | 2015-03-11 | 2016-09-23 | ニッセイ情報テクノロジー株式会社 | Insurance application system, insurance application method and program |
CN108257013A (en) * | 2016-12-28 | 2018-07-06 | 平安科技(深圳)有限公司 | Insurance products define method and device |
CN109460527A (en) * | 2018-09-25 | 2019-03-12 | 中国平安人寿保险股份有限公司 | Product data configuration method, device, computer equipment and storage medium |
CN109445759A (en) * | 2018-09-28 | 2019-03-08 | 中国平安人寿保险股份有限公司 | Generation method, device, computer equipment and the storage medium of insurance products |
Non-Patent Citations (1)
Title |
---|
崔新友;杨柳;雷磊;: "保险业数据仓库的设计" * |
Also Published As
Publication number | Publication date |
---|---|
CN111260477B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107230008B (en) | Risk information output and risk information construction method and device | |
TWI673666B (en) | Method and device for data risk control | |
US9959311B2 (en) | Natural language interface to databases | |
US10409796B2 (en) | Systems and methods for providing searchable customer call indexes | |
EP3168758A1 (en) | Data storage method, query method and device | |
CN108256113B (en) | Data blood relationship mining method and device | |
US20170083615A1 (en) | Robust and Readily Domain-Adaptable Natural Language Interface to Databases | |
CN107016001A (en) | A kind of data query method and device | |
CN107729330B (en) | Method and apparatus for acquiring data set | |
CN110019542B (en) | Generation of enterprise relationship, generation of organization member database and identification of same name member | |
CN110879808B (en) | Information processing method and device | |
CN107506179B (en) | Interface prototype data generation method and computer equipment | |
CN110941488A (en) | Task processing method, device, equipment and storage medium | |
CN104064182A (en) | A voice recognition system and method based on classification rules | |
CN111435367A (en) | Knowledge graph construction method, system, equipment and storage medium | |
CN116340989A (en) | Data desensitization method and device, electronic equipment and storage medium | |
TWI707287B (en) | Contract risk quantification method, withholding risk quantification method, device and equipment | |
CN112579710A (en) | Data warehouse management method and device, electronic equipment and storage medium | |
CN111260477A (en) | Writing and reading method and processing system for product object data information | |
CN114398562B (en) | Shop data management method, device, equipment and storage medium | |
CA3063175A1 (en) | Data storage method and apparatus | |
CN115758537A (en) | BIM-based digital engineering data standardization processing method and system | |
CN110020930A (en) | A kind of financial data system construction method and apparatus | |
CN114255134A (en) | Account number disassembling method and device and storage medium | |
CN111190986B (en) | Map data comparison method and device |
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 |