Product parameter importing method and device, equipment and medium
By pre-sampling and clustering analysis of commercial bank product parameters, dividing them into fixed and variable parameter groups and performing corresponding processing, a simplified product instantiation document is generated. This solves the batch reading problem caused by different commercial bank product parameter templates and realizes efficient batch processing and analysis of parameters.
Patent Information
- Application Number
- CN202211197714.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-09-29
AI Technical Summary
In the existing technology, commercial bank product instantiation document templates are different, making it difficult to read product parameters in batches, resulting in difficulties in product parameter analysis.
Through pre-sampling and cluster analysis, product parameters are divided into fixed parameter groups and variable parameter groups, and are processed respectively using fixed processing and differentiated processing to generate a simplified product instantiation document, which is then imported into the product parameter table using the configuration table.
Batch reading of product parameters is realized, which facilitates subsequent parameter analysis and improves processing efficiency.
Smart Images

Figure CN115496472B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a product parameter importing method, device, equipment and medium. Background Art
[0002] Commercial banks offer a wide variety of products, each of which includes various components and parameters. For example, for large-denomination certificates of deposit, a product instantiation document is typically generated for each product, containing all relevant parameters. However, these document templates vary, making it difficult to read product parameters in batches, hindering subsequent product parameter analysis. Summary of the Invention
[0003] In response to the above-mentioned problems in the prior art, the purpose of the present invention is to provide a product parameter import method, device, equipment and medium, which can improve and simplify product instantiation documents, and realize batch reading of product parameters, thereby facilitating subsequent product parameter analysis.
[0004] In order to solve the above problems, the present invention provides a method for importing product parameters, which is used for electronic devices and includes:
[0005] Receive the original product instantiation document to be imported;
[0006] Dividing the product parameters in the original product instantiation document to obtain a first product parameter group and a second product parameter group, wherein a change frequency of the product parameters in the first product parameter group is less than a threshold, and a change frequency of the product parameters in the second product parameter group is greater than the threshold;
[0007] Processing the product parameters in the first product parameter group based on a first processing rule, and processing the product parameters in the second product parameter group based on a second processing rule, to obtain a simplified product instantiation document;
[0008] Setting a configuration table, wherein the configuration table indicates the name of the simplified product instantiation document to which the processed product parameter belongs and the parameter field name and parameter value field name in the simplified product instantiation document;
[0009] Based on the simplified product instantiation document and the configuration table, the processed product parameters are imported into the product parameter table.
[0010] Furthermore, the first processing rule includes a solidification process, wherein, for each product parameter in the first product parameter group, the parameter value of the product parameter is set to a fixed value.
[0011] Further, the second processing rule comprises a differential processing, wherein for each product parameter in the second product parameter group, the parameter value of the product parameter is set as an actual value.
[0012] Further, the method further comprises:
[0013] Sampling the original product instantiation document to obtain a sampled product instantiation document;
[0014] Performing a cluster analysis on the product parameters in the sampled product instantiation document to determine a variation frequency of each product parameter;
[0015] Based on the variation frequency of each product parameter, determining the first product parameter group and the second product parameter group.
[0016] Further, the product is a large-denomination deposit product, and the original product instantiation document of each large-denomination deposit product comprises one or more product components, and each product component comprises one or more product parameters.
[0017] Further, the large-denomination deposit product comprises a corporate large-denomination deposit product, and the original product instantiation document of each corporate large-denomination deposit product comprises a corporate term deposit component, a corporate term medium component, a corporate term interest calculation component, a corporate term automatic transfer component, a corporate term withdrawal component, and a corporate term service restriction component.
[0018] Further, the product parameters in the corporate term medium component, the corporate term automatic transfer component, and the corporate term service restriction component belong to the first product parameter group, and the product parameters in the corporate term deposit component, the corporate term interest calculation component, and the corporate term withdrawal component belong to the second product parameter group.
[0019] Further, the large-denomination deposit product comprises a private large-denomination deposit product, and the original product instantiation document of each private large-denomination deposit product comprises a private deposit customer qualification component, a private deposit contract component, a private deposit deposit / withdrawal component, a private deposit term interest calculation component, a private deposit product financial planning signing component, a private deposit common quota management component, a private deposit product quota management component, and a private deposit general parameter component.
[0020] Further, the product parameters in the private deposit customer qualification component, the private deposit financial planning signing component, the private deposit common quota management component, and the private deposit general parameter component belong to the first product parameter group, and the product parameters in the private deposit contract component, the private deposit deposit / withdrawal component, the private deposit term interest calculation component, and the private deposit product quota management component belong to the second product parameter group.
[0021] Another aspect of the present application provides a product parameter importing device, which comprises:
[0022] a receiving module configured to receive an original product instantiation document to be imported;
[0023] a dividing module configured to divide product parameters in the original product instantiation document to obtain a first product parameter group and a second product parameter group, wherein a change frequency of a product parameter in the first product parameter group is less than a threshold value, and a change frequency of a product parameter in the second product parameter group is greater than the threshold value;
[0024] a processing module configured to process product parameters in the first product parameter group based on a first processing rule, and process product parameters in the second product parameter group based on a second processing rule, to obtain a simplified product instantiation document;
[0025] a setting module configured to set a configuration table, wherein the configuration table indicates a name of the simplified product instantiation document to which a processed product parameter belongs, and parameter field names and parameter value field names of the processed product parameter in the simplified product instantiation document;
[0026] an importing module configured to import the processed product parameter into a product parameter table based on the simplified product instantiation document and the configuration table.
[0027] Further, the first processing rule comprises a solidification processing, wherein for each product parameter in the first product parameter group, a parameter value of the product parameter is set as a fixed value.
[0028] Further, the second processing rule comprises a differentiation processing, wherein for each product parameter in the second product parameter group, a parameter value of the product parameter is set as an actual value.
[0029] Further, the original product instantiation document is sampled to obtain a sampled product instantiation document;
[0030] a clustering analysis is performed on product parameters in the sampled product instantiation document to determine a change frequency of each product parameter;
[0031] based on the change frequency of each product parameter, the first product parameter group and the second product parameter group are determined.
[0032] Further, the product is a large-denomination deposit product, the original product instantiation document of each large-denomination deposit product comprises one or more product components, and each product component comprises one or more product parameters.
[0033] Further, the large-denomination deposit certificate type products include the public large-denomination deposit certificate type products, and each of the public large-denomination deposit certificate type product original product instantiation document includes a public term deposit component, a public term medium component, a public term interest calculation component, a public term automatic transfer component, a public term withdrawal component and a public term service restriction component.
[0034] Further, the product parameters in the public term medium component, the public term automatic transfer component and the public term service restriction component belong to the first product parameter group, and the product parameters in the public term deposit component, the public term interest calculation component and the public term withdrawal component belong to the second product parameter group.
[0035] Further, the large-denomination deposit certificate type products include the private large-denomination deposit certificate type products, and each of the private large-denomination deposit certificate type product original product instantiation document includes a private deposit customer qualification component, a private deposit contract component, a private deposit deposit / withdrawal component, a private deposit term interest calculation component, a private deposit product financial planning signing component, a private deposit common quota management component, a private deposit product quota management component and a private deposit general parameter component.
[0036] Further, the product parameters in the private deposit customer qualification component, the private deposit financial planning signing component, the private deposit common quota management component and the private deposit general parameter component belong to the first product parameter group, and the product parameters in the private deposit contract component, the private deposit deposit / withdrawal component, the private deposit term interest calculation component and the private deposit product quota management component belong to the second product parameter group.
[0037] Another aspect of the present application provides an electronic device, which comprises a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the product parameter import method described above.
[0038] Another aspect of the present application provides a computer storage medium encoded with a computer program, wherein the computer readable storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the product parameter import method described above.
[0039] Another aspect of the present application provides a computer program product, which comprises computer instructions, and the computer instructions are executed to implement the product parameter import method described above.
[0040] Due to the above technical solutions, the present application has the following beneficial effects:
[0041] The product parameter import method according to the embodiment of the present application is based on the determination result after pre-sampling and clustering analysis, and according to the change frequency of the product parameters in the product instantiation document, the product parameters are divided into a solidified parameter group and a variable parameter group, and each product parameter in the solidified parameter group is subjected to solidification processing, and each product parameter in the variable parameter group is subjected to differentiation processing, so as to improve and simplify the product instantiation document, and make it convenient for batch processing. In addition, based on the mapping rule in the configuration table, all product parameters and their processed parameter values are found in the corresponding simplified product instantiation document, and the product parameter table is imported, so as to realize batch reading of the product parameters, and facilitate subsequent product parameter analysis work. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0043] Figure 1 is a flow chart of the product parameter import method provided by an embodiment of the present application;
[0044] Figure 2 is a schematic diagram of the parameter division function provided by an embodiment of the present application;
[0045] Figure 3 is a schematic diagram of the parameter processing function provided by an embodiment of the present application;
[0046] Figure 4 is a schematic diagram of the configuration table function provided by an embodiment of the present application;
[0047] Figure 5 is a schematic diagram of the parameter import function provided by an embodiment of the present application;
[0048] Figure 6 is a structural schematic diagram of the product parameter import device provided by an embodiment of the present application;
[0049] Figure 7 is a structural schematic diagram of the electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0050] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by a person of ordinary skill in the art without creative work belong to the scope of protection of the present application.
[0051] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, device, product or apparatus including a series of steps or units does not necessarily have to include only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or apparatuses.
[0052] The acquisition, storage, use, processing and the like of data in the technical solutions disclosed in the embodiments of the present application comply with the relevant provisions of national laws and regulations.
[0053] In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear and apparent, the embodiments of the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, and are not used to limit the embodiments of the present application.
[0054] Reference is made to the drawings accompanying the Figure 1 , which shows a flowchart of a product parameter import method provided by an embodiment of the present application, as shown in Figure 1 , the method can include the following steps:
[0055] S110: receiving an original product instantiation document to be imported.
[0056] The original product instantiation document to be imported can be a product instantiation document of a product operated by a commercial bank, and the product can be, for example, a large-denomination deposit certificate product. For different products, the product instantiation document can have different templates, each template including one or more product components, and each product component including one or more product parameters. Through these product components and product parameters, the instantiation document can store various information of the product.
[0057] Specifically, the large-denomination deposit product includes a public large-denomination deposit product, and each original product instantiation document of the public large-denomination deposit product includes a public fixed-term deposit component, a public fixed-term medium component, a public fixed-term interest calculation component, a public fixed-term automatic transfer component, a public fixed-term withdrawal component, and a public fixed-term service restriction component.
[0058] Specifically, the large-denomination deposit product includes a private large-denomination deposit product, and each original product instantiation document of the private large-denomination deposit product includes a private deposit customer qualification component, a private deposit contract component, a private deposit deposit-withdrawal component, a private deposit fixed-term interest calculation component, a private deposit product financial planning signing component, a private deposit common quota management component, a private deposit product quota management component, and a private deposit general parameter component.
[0059] The present application finds that some product parameters in the product instantiation documents of these products are completely consistent or basically similar, while some other product parameters vary greatly. Based on this, as will be described below, the present application conceives that different processing can be performed on these two types of different product parameters to improve and simplify the product instantiation documents, so that they are convenient for batch processing.
[0060] S120: dividing the product parameters in the original product instantiation document to obtain a first product parameter group and a second product parameter group, wherein the variation frequency of the product parameters in the first product parameter group is less than a threshold value, and the variation frequency of the product parameters in the second product parameter group is greater than the threshold value.
[0061] Specifically, the method samples the original product instantiation document in advance to obtain a sampled product instantiation document, and the sampled product can be a representative product selected from each product.
[0062] Then, the product parameters in the sampled product instantiation document are subjected to cluster analysis to determine the variation frequency of each product parameter. A reasonable threshold value can be used to distinguish the product parameters that are completely consistent or basically similar from the product parameters that vary greatly.
[0063] Based on the variation frequency of each product parameter, the first product parameter group and the second product parameter group are determined. The first product parameter group can also be referred to as a solidified parameter group, and the second product parameter group can also be referred to as a variable parameter group.
[0064] For example, for the public large-denomination deposit product, the present application determines through sampling and cluster analysis that the product parameters in the public fixed-term medium component, the public fixed-term automatic transfer component, and the public fixed-term service restriction component belong to the first product parameter group, and the product parameters in the public fixed-term deposit component, the public fixed-term interest calculation component, and the public fixed-term withdrawal component belong to the second product parameter group.
[0065] In addition, for the private large-denomination certificate product, the product parameters in the private deposit customer qualification component, the private deposit financial planning signing component, the private deposit common quota management component and the private deposit general parameter component are determined to belong to the first product parameter group through sampling and clustering analysis, and the product parameters in the private deposit contract component, the private deposit deposit-withdrawal component, the private deposit regular interest calculation component and the private deposit product quota management component belong to the second product parameter group.
[0066] Based on the determination result after the pre-sampling and clustering analysis, the application divides all the product parameters in all the original product instantiation documents into the first product parameter group or the second product parameter group, so as to improve the efficiency of batch processing.
[0067] Reference is made to the accompanying drawings Figure 2 which shows a schematic diagram of the parameter division function provided by an embodiment of the application, as shown in Figure 2 For each original product instantiation document of the public large-denomination certificate product to be imported, based on the determination result after the pre-sampling and clustering analysis, the product parameters in the public regular medium component, the public regular automatic transfer component and the public regular service restriction component are divided into the first product parameter group, and the product parameters in the public regular deposit component, the public regular interest calculation component and the public regular withdrawal component are divided into the second product parameter group for different processing. In addition, for each original product instantiation document of the private large-denomination certificate product to be imported, based on the determination result after the pre-sampling and clustering analysis, the product parameters in the private deposit customer qualification component, the private deposit financial planning signing component, the private deposit common quota management component and the private deposit general parameter component are divided into the first product parameter group, and the product parameters in the private deposit contract component, the private deposit deposit-withdrawal component, the private deposit regular interest calculation component and the private deposit product quota management component are divided into the second product parameter group for different processing.
[0068] S130: processing the product parameters in the first product parameter group based on the first processing rule, and processing the product parameters in the second product parameter group based on the second processing rule, to obtain a simplified product instantiation document.
[0069] Specifically, the first processing rule includes a solidification process, in which for each product parameter in the first product parameter group, the parameter value of the product parameter is set to a fixed value. Since the first product parameter group belongs to the solidification parameter group, the product parameters therein are completely consistent or basically similar, so the application can refer to the business rules to uniformly set the parameter values of these product parameters to fixed values, so as to simplify the product instantiation document.
[0070] Specifically, the second processing rule includes differential processing, wherein for each product parameter in the second product parameter group, the parameter value of the product parameter is set as the actual value. Since the second product parameter group belongs to the variable parameter group, the product parameters therein vary greatly, and thus the application can keep the parameter values of these product parameters as the actual values to avoid parameter distortion.
[0071] Referring to the accompanying drawings Figure 3 which shows a schematic diagram of the parameter processing function provided by an embodiment of the application, as Figure 3 As shown, for the public large-denomination certificate class product, the product parameters in the public fixed-term medium component, the public fixed-term automatic transfer component and the public fixed-term service restriction component divided into the first product parameter group are subjected to solidification processing to be unified as fixed values, and the product parameters in the public fixed-term deposit component, the public fixed-term interest calculation component and the public fixed-term withdrawal component divided into the second product parameter group are subjected to differential processing to keep their actual values. In addition, for the private large-denomination certificate class product, the product parameters in the private deposit customer qualification component, the private deposit financial planning signing component, the private deposit common quota management component and the private deposit general parameter component divided into the first product parameter group are subjected to solidification processing to be unified as fixed values, and the product parameters in the private deposit contract component, the private deposit deposit and withdrawal component, the private deposit fixed-term interest calculation component and the private deposit product quota management component divided into the second product parameter group are subjected to differential processing to keep their actual values.
[0072] S140: setting a configuration table, wherein the configuration table indicates the simplified product instantiation document name to which the processed product parameter belongs and the parameter field name and the parameter value field name thereof in the simplified product instantiation document.
[0073] Considering that the product parameters involved are complex and numerous, different product parameters can come from different original product instantiation documents and correspondingly belong to different simplified product instantiation documents, the application can obtain the parameter value of the corresponding parameter from the corresponding simplified product instantiation document based on the mapping rule by setting the configuration table.
[0074] Referring to the accompanying drawings Figure 4 which shows a schematic diagram of the configuration table function provided by an embodiment of the application, as Figure 4 As shown, each product parameter in the configuration table has a corresponding simplified product instantiation document name and the parameter field name and the parameter value field name thereof in the simplified product instantiation document, so that the product parameter and its processed parameter value can be found from the corresponding simplified product instantiation document based on the mapping rule.
[0075] S150: importing the processed product parameters into the product parameter table based on the simplified product instantiation document and the configuration table.
[0076] Since all product parameters and their processed parameter values can be found from the corresponding simplified product instantiation document based on the mapping rule in the configuration table, the product parameters and the corresponding processed parameter values can be imported into the product parameter table, so as to realize batch reading of the product parameters and facilitate subsequent product parameter analysis work.
[0077] Reference is made to the accompanying drawings Figure 5 which shows a schematic diagram of the parameter import function provided by an embodiment of the present application, as shown in Figure 5 After the processed parameter values of all product parameters are found from the corresponding simplified product instantiation document, the product parameters and the processed parameter values are imported into the product parameter table. Compared with generating one product instantiation document for one product, the product parameter table can display product parameters of all products, so as to realize batch reading of the product parameters and facilitate subsequent product parameter analysis work.
[0078] In summary, according to the product parameter import method of the embodiment of the present application, based on the determination result after pre-sampling and clustering analysis, the product parameters are divided into the fixed parameter group and the variable parameter group according to the change frequency of the product parameters in the product instantiation document, and each product parameter in the fixed parameter group is subjected to fixed processing, and each product parameter in the variable parameter group is subjected to differential processing, so as to improve and simplify the product instantiation document, so that it is convenient for batch processing. In addition, based on the mapping rule in the configuration table, all product parameters and their processed parameter values are found from the corresponding simplified product instantiation document, and are imported into the product parameter table, so as to realize batch reading of the product parameters and facilitate subsequent product parameter analysis work.
[0079] Reference is made to the accompanying drawings Figure 6 which shows a structure schematic diagram of the product parameter import device provided by an embodiment of the present application, as shown in Figure 6 The device 600 can include the following modules:
[0080] The receiving module 610 is configured to receive an original product instantiation document to be imported;
[0081] The dividing module 620 is configured to divide the product parameters in the original product instantiation document to obtain a first product parameter group and a second product parameter group, wherein the change frequency of the product parameters in the first product parameter group is less than a threshold value, and the change frequency of the product parameters in the second product parameter group is greater than the threshold value;
[0082] The processing module 630 is configured to process the product parameters in the first product parameter group based on a first processing rule and process the product parameters in the second product parameter group based on a second processing rule, to obtain a simplified product instantiation document;
[0083] The setting module 640 is configured to set a configuration table, where the configuration table indicates a name of the simplified product instantiation document to which the processed product parameters belong and parameter field names and parameter value field names of the processed product parameters in the simplified product instantiation document;
[0084] The importing module 650 is configured to import the processed product parameters into a product parameter table based on the simplified product instantiation document and the configuration table.
[0085] In one possible embodiment, the first processing rule includes a solidification processing, where for each product parameter in the first product parameter group, a parameter value of the product parameter is set to a fixed value.
[0086] In one possible embodiment, the second processing rule includes a differentiation processing, where for each product parameter in the second product parameter group, a parameter value of the product parameter is set to an actual value.
[0087] In one possible embodiment, the original product instantiation document is sampled to obtain a sampled product instantiation document;
[0088] The product parameters in the sampled product instantiation document are subjected to cluster analysis to determine a variation frequency of each product parameter;
[0089] Based on the variation frequency of each product parameter, the first product parameter group and the second product parameter group are determined.
[0090] In one possible embodiment, the product is a large-denomination certificate product, the original product instantiation document of each large-denomination certificate product includes one or more product components, and each product component includes one or more product parameters.
[0091] In one possible embodiment, the large-denomination certificate product includes a public large-denomination certificate product, and the original product instantiation document of each public large-denomination certificate product includes a public term deposit component, a public term medium component, a public term interest calculation component, a public term automatic transfer component, a public term withdrawal component, and a public term service restriction component.
[0092] In one possible embodiment, the product parameters in the public term medium component, the public term automatic transfer component, and the public term service restriction component belong to the first product parameter group, and the product parameters in the public term deposit component, the public term interest calculation component, and the public term withdrawal component belong to the second product parameter group.
[0093] In a possible embodiment, the large-denomination certificate-like products include private large-denomination certificate-like products, and each private large-denomination certificate-like product includes a private deposit customer qualification component, a private deposit contract component, a private deposit deposit-withdrawal component, a private deposit term interest calculation component, a private deposit product financial planning signing component, a private deposit common quota management component, a private deposit product quota management component, and a private deposit general parameter component.
[0094] In a possible embodiment, the product parameters in the private deposit customer qualification component, the private deposit financial planning signing component, the private deposit common quota management component, and the private deposit general parameter component belong to a first product parameter group, and the product parameters in the private deposit contract component, the private deposit deposit-withdrawal component, the private deposit term interest calculation component, and the private deposit product quota management component belong to a second product parameter group.
[0095] It should be noted that the apparatus provided in the above embodiments, when realizing the functions thereof, is only exemplified by the above division of the functional modules, and in actual applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the above-described functions. In addition, the apparatus provided in the above embodiments and the corresponding method embodiments belong to the same concept, and the specific implementation process is detailed in the corresponding method embodiments, which will not be described here.
[0096] An electronic device is also provided in an embodiment of the present application, and the electronic device includes a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the product parameter import method provided in the above method embodiments.
[0097] The memory can be used to store software programs and modules, and the processor can execute various function applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by functions, and the like; and the data storage area can store data created according to the use of the device, and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory can also include a memory controller to provide access of the processor to the memory.
[0098] The method embodiments provided in the embodiments of the present application can be executed in a terminal, a server, or a similar computing device, that is, the above electronic device can include a terminal, a server, or a similar computing device. Taking the case of running on a server as an example, as shown in FIG. 8, the server can include a processor 801 and a memory 802. The memory 802 stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor 801 to implement the product parameter import method provided in the above method embodiments.Figure 7 As shown in FIG. 7, which shows a structural schematic diagram of a server for implementing the product parameter import method according to an embodiment of the present application. The server 700 can be quite different in configuration or performance, and can include one or more central processing units (CPUs) 710 (e.g., one or more processors) and a memory 730, one or more storage media 720 (e.g., one or more mass storage devices) storing applications 723 or data 722. The memory 730 and the storage media 720 can be temporary or persistent storage. The programs stored in the storage media 720 can include one or more modules, each of which can include a series of instructions for operating on the server. Further, the central processing unit 710 can be configured to communicate with the storage media 720 to execute the series of instructions stored in the storage media 720 on the server 700. The server 700 can also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input / output interfaces 740, and / or one or more operating systems 721, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0099] The input / output interface 740 can be configured to receive or send data via a network. Examples of the network can include a wireless network provided by a communication provider of the server 700. In one example, the input / output interface 740 includes a network interface controller (NIC) that can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the input / output interface 740 can be a radio frequency (RF) module configured to communicate with the Internet through wireless communication, which can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0100] Those skilled in the art can understand that Figure 7 The structure shown is only schematic, and the server 700 can also include more or fewer components than shown, or have a different configuration or arrangement of the components shown. The various components shown here can be variously combined with one another or separated into further components. In general, the functions of the components as described herein can be split into separate components or shared between common components. For example, the functions of the controller 702 can be split into separate components or shared between common components. As a further example, in some embodiments, the functions of the controller 702 can be performed by the processor 704. Figure 7 Figure 7
[0101] One embodiment of the present application also provides a computer readable storage medium, which can be arranged in an electronic device to store at least one instruction or at least one program for implementing a product parameter import method. The at least one instruction or the at least one program is loaded and executed by the processor to implement the product parameter import method provided by the above method embodiment.
[0102] Optionally, in the embodiments of the present application, the storage medium can include but is not limited to: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0103] One embodiment of the present application also provides a computer program product or computer program, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to make the computer device execute the product parameter import method provided in the above various optional implementation examples.
[0104] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be executed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are possible or can be advantageous.
[0105] Each of the embodiments in the present specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiments.
[0106] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or can be instructed to relevant hardware by program. The program can be stored in a computer readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0107] The above description is merely preferred embodiments of the present application, and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for importing product parameters, characterized in that: The method is for an electronic device, and the method comprises: Receive the original product instantiation document to be imported; Dividing the product parameters in the original product instantiation document to obtain a first product parameter group and a second product parameter group, wherein a change frequency of the product parameters in the first product parameter group is less than a threshold, and a change frequency of the product parameters in the second product parameter group is greater than the threshold; Processing product parameters in the first product parameter group based on a first processing rule, and processing product parameters in the second product parameter group based on a second processing rule, to obtain a simplified product instantiation document, wherein the first processing rule includes solidification processing, the second processing rule includes differentiation processing, and wherein, for each product parameter in the first product parameter group, a parameter value of the product parameter is set to a fixed value, and for each product parameter in the second product parameter group, the parameter value of the product parameter is set to an actual value; Setting a configuration table, wherein the configuration table indicates the name of the simplified product instantiation document to which the processed product parameter belongs and the parameter field name and parameter value field name in the simplified product instantiation document; Based on the simplified product instantiation document and the configuration table, the processed product parameters are imported into the product parameter table.
2. The method according to claim 1, characterized in that The method further comprises: Sampling the original product instantiation document to obtain a sampled product instantiation document; Performing cluster analysis on the product parameters in the sampled product instantiation documents to determine the change frequency of each product parameter; The first product parameter group and the second product parameter group are determined based on the change frequency of each product parameter.
3. The method according to claim 1, characterized in that The product is a large-denomination certificate of deposit product. The original product instantiation document of each large-denomination certificate of deposit product includes one or more product components, and each product component includes one or more product parameters.
4. The method according to claim 3, characterized in that The large-denomination certificate of deposit products include large-denomination certificate of deposit products for corporate use, and the original product instantiation document of each large-denomination certificate of deposit product includes a corporate periodic deposit component, a corporate periodic medium component, a corporate periodic interest calculation component, a corporate periodic automatic transfer component, a corporate periodic withdrawal component, and a corporate periodic service restriction component.
5. The method according to claim 4, characterized in that The product parameters in the corporate periodic medium component, the corporate periodic automatic transfer component and the corporate periodic service restriction component belong to the first product parameter group, and the product parameters in the corporate periodic deposit component, the corporate periodic interest calculation component and the corporate periodic withdrawal component belong to the second product parameter group.
6. The method according to claim 3, characterized in that The large-denomination certificate of deposit products include large-denomination certificate of deposit products for private use, and the original product instantiation document of each large-denomination certificate of deposit product for private use includes a private deposit customer qualification component, a private deposit contract component, a private deposit deposit and withdrawal component, a private deposit periodic interest calculation component, a private deposit product financial management contract component, a private deposit common limit management component, a private deposit product limit management component and a private deposit general parameter component.
7. The method according to claim 6, characterized in that The product parameters in the private deposit customer qualification component, the private deposit product financial management contract component, the private deposit common limit management component and the private deposit general parameter component belong to the first product parameter group, and the product parameters in the private deposit contract component, the private deposit deposit and withdrawal component, the private deposit periodic interest calculation component and the private deposit product limit management component belong to the second product parameter group.
8. A product parameter importing device, characterized in that: The device comprises: A receiving module configured to receive an original product instantiation document to be imported; a partitioning module configured to partition the product parameters in the original product instantiation document to obtain a first product parameter group and a second product parameter group, wherein a change frequency of the product parameters in the first product parameter group is less than a threshold, and a change frequency of the product parameters in the second product parameter group is greater than the threshold; a processing module configured to process the product parameters in the first product parameter group based on a first processing rule, and to process the product parameters in the second product parameter group based on a second processing rule, to obtain a simplified product instantiation document, wherein the first processing rule includes a solidification process, and the second processing rule includes a differentiation process, and wherein, for each product parameter in the first product parameter group, a parameter value of the product parameter is set to a fixed value, and for each product parameter in the second product parameter group, the parameter value of the product parameter is set to an actual value; A setting module is configured to set a configuration table, wherein the configuration table indicates the name of the simplified product instantiation document to which the processed product parameter belongs and the parameter field name and parameter value field name in the simplified product instantiation document; The import module is configured to import the processed product parameters into the product parameter table based on the simplified product instantiation document and the configuration table.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the product parameter importing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement the product parameter importing method according to any one of claims 1 to 7.
11. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed, the product parameter importing method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Data processing method and device
CN111221855A
PDF document generation method and device, electronic equipment and storage medium
CN113688619A