CN109118370B - Model-based product construction method, device, computer equipment and storage medium - Google Patents
Model-based product construction method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109118370B CN109118370B CN201810988127.7A CN201810988127A CN109118370B CN 109118370 B CN109118370 B CN 109118370B CN 201810988127 A CN201810988127 A CN 201810988127A CN 109118370 B CN109118370 B CN 109118370B
- Authority
- CN
- China
- Prior art keywords
- product
- sub
- request
- construction
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000010276 construction Methods 0.000 title claims abstract description 170
- 230000006870 function Effects 0.000 claims description 102
- 238000000034 method Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 14
- 238000005538 encapsulation Methods 0.000 claims description 8
- 238000004806 packaging method and process Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 abstract description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 2
- 239000010931 gold Substances 0.000 description 2
- 229910052737 gold Inorganic materials 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013079 data visualisation Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000008571 general function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/067—Enterprise or organisation modelling
-
- 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)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Game Theory and Decision Science (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Operations Research (AREA)
- General Physics & Mathematics (AREA)
- Technology Law (AREA)
- Educational Administration (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention belongs to the field of data processing, and discloses a product construction method, a device, computer equipment and a storage medium based on a model, wherein the product construction method based on the model comprises the following steps: acquiring a product construction request, and acquiring a sub-product preset model according to the product construction request; obtaining a model adding request, and obtaining parameters of the sub-product preset model according to the model adding request; obtaining a product merging request, obtaining a sub-function of the sub-product preset model according to the product merging request, and merging the sub-functions according to parameters of the sub-product preset model to obtain a construction function; and acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request to enable the yield of the construction function to reach the target yield, so as to obtain the target construction product. The product construction method based on the model realizes construction of the structured product in the form of the preset model, and improves construction efficiency.
Description
Technical Field
The invention belongs to the field of data processing, and in particular relates to a product construction method, a device, computer equipment and a storage medium based on a model.
Background
Structured products refer to products that are combined from two or more sub-products, such as structured products that are combined from bonds and options. At present, the domestic structuring products are built by filling an excel form offline, and because the number of the related fields is large, and functions corresponding to the combined structuring products are required to be combined manually, the building process is complex, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a product construction method, a device, computer equipment and a storage medium based on a model, which are used for solving the problem of low efficiency of construction of a structured product.
A model-based product construction method, comprising:
Acquiring a product construction request, and acquiring a sub-product preset model according to the product construction request;
obtaining a model adding request, and obtaining parameters of the sub-product preset model according to the model adding request;
Obtaining a product merging request, obtaining a sub-function of the sub-product preset model according to the product merging request, and merging the sub-functions according to parameters of the sub-product preset model to obtain a construction function;
and acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request to enable the yield of the construction function to reach the target yield, so as to obtain the target construction product.
A model-based product build apparatus comprising:
the model acquisition module is used for acquiring a product construction request and acquiring a sub-product preset model according to the product construction request;
the parameter acquisition module is used for acquiring a model adding request and acquiring parameters of the sub-product preset model according to the model adding request;
The function merging module is used for acquiring a product merging request, acquiring a sub-function of the sub-product preset model according to the product merging request, and merging the sub-function according to parameters of the sub-product preset model to obtain a construction function;
the product adjustment module is used for acquiring a product adjustment request, adjusting parameters of the construction function according to the product adjustment request, enabling the yield of the construction function to reach the target yield, and obtaining the target construction product.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the model-based product construction method described above when the computer program is executed.
A computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the model-based product construction method described above.
According to the product construction method, the device, the computer equipment and the storage medium based on the model, the sub-product preset model is obtained according to the product construction request by obtaining the product construction request; then obtaining a model adding request, and obtaining parameters of a sub-product preset model according to the model adding request; then obtaining a product merging request, obtaining a sub-function of a sub-product preset model according to the product merging request, and obtaining a construction function according to the parameter merging sub-function of the sub-product preset model; and finally, acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request, so that the yield of the construction function reaches the target yield, and obtaining the target construction product. By providing the sub-product preset model of the structured product, a user can freely construct the structured product by selecting and adding the sub-product preset model, the construction process is simple and convenient, and the construction efficiency of the structured product is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of an application environment of a model-based product construction method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of model-based product construction in accordance with an embodiment of the present invention;
FIG. 3 is another flow chart of a model-based product build method in accordance with an embodiment of the present invention;
FIG. 4 is another flow chart of a model-based product build method in accordance with an embodiment of the present invention;
FIG. 5 is another flow chart of a model-based product build method in accordance with an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a model-based product build apparatus in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of a computer device in accordance with an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The product construction method based on the model provided by the application can be applied to an application environment as shown in figure 1, wherein a client communicates with a server through a network, the server acquires a product construction request through the client, acquires a sub-product preset model according to the product construction request and returns to the client; obtaining a model adding request of a client, and obtaining parameters of a sub-product preset model according to the model adding request; then obtaining a product merging request of the client, obtaining a sub-function of a sub-product preset model according to the product merging request, and obtaining a construction function according to the parameter merging sub-function of the sub-product preset model; and finally, obtaining a product adjustment request of the client, adjusting parameters of the construction function according to the product adjustment request, enabling the yield of the construction function to reach the target yield, and obtaining a target construction product to return to the client. The clients may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server may be implemented by a stand-alone server or a server cluster formed by a plurality of servers.
Optionally, the model-based product construction method provided by the application can also be independently applied to a client, wherein the client can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. I.e. the model-based product build method is applied in a separate client.
In one embodiment, as shown in fig. 2, a model-based product construction method is provided, which is described by taking a client as an example, and includes the following steps:
s10: and obtaining a product construction request, and obtaining a sub-product preset model according to the product construction request.
The product construction request refers to a request triggered by a user and needing to perform structured product construction. The sub-product preset model refers to a basic model of a component structured product preset in a client, and the number of sub-product preset models is at least two because the structured product is formed by combining more than two sub-products. Alternatively, the sub-product preset model is implemented by a function model. The function model refers to a model for establishing function calculation of the yield of the structured product, and can be, for example, a primary function model, a secondary function model, an exponential function model, a logarithmic function model, a piecewise function model, or the like. Alternatively, the creation of the sub-product preset model may be implemented in the form of a pre-configured function model in the client.
Specifically, the client acquires a product construction request, acquires a sub-product preset model according to the product construction request when the product construction request is acquired, and provides the acquired sub-product preset model for a user. Optionally, the sub-product preset model is displayed on the client in the form of a list, and the user can select and add the displayed sub-product preset model through the client.
In one embodiment, the sub-product preset model further includes a degree of association and a priority, and in step S10, the sub-product preset model is obtained according to a product construction request, including:
Acquiring the association degree of the sub-product preset model according to the product construction request, and acquiring the sub-product preset model according to the association degree;
or the priority of the sub-product preset model is obtained according to the product construction request, and the sub-product preset model is obtained according to the priority.
The association degree refers to the association degree between the child product preset models. Alternatively, the degree of association can be evaluated based on the frequency of use of the structured product combined from the sub-product pre-set models. For example, if the frequency of use of a certain structured product is 30%, the association of the sub-products of the structured product composition is 30% accordingly. The priority refers to a priority level recommended to the user by the client. Optionally, the structured product may be prioritized according to an index such as a frequency of use or a rate of return of the user.
Specifically, when the sub-product preset model is acquired according to the association degree, the sub-product preset model can be acquired according to the order of the association degree, and the sub-product preset model with large association degree is preferentially acquired, or the sub-product preset model with large association degree is preferentially displayed at the client. For example, when the child product is displayed in a list form, the child product preset model with a high degree of association is displayed in the front of the list. When the sub-product preset model is acquired according to the priority, the sub-product preset model can be acquired according to the priority, the sub-product preset model with high priority is preferentially acquired, or the sub-product preset model with high priority is preferentially displayed on the client. For example, when displayed in the form of a list, the sub-product preset model with a high priority is displayed in front of the list, or a corresponding priority label is displayed when the sub-product preset model is displayed at the client.
The sub-product preset model is obtained through the association degree or the priority, so that more effective reference can be provided for a user, and the construction efficiency of the structured product is improved.
S20: and obtaining a model adding request, and obtaining parameters of a sub-product preset model according to the model adding request.
The model adding request refers to a request for adding the child product model at the client, namely, the user freely builds the structured product according to the requirement.
Specifically, the client acquires information of a sub-product preset model selected by a user according to requirements, namely a model adding request. For example, if the user wants to select a combination mode of the sub-product a and the sub-product B to construct a structured product, a request for adding the sub-product a preset model and the sub-product B preset model is sent to the client, and the client responds according to the specific adding request and adds the corresponding sub-product preset model. The sub-product preset model comprises a sub-product name and related parameters of the sub-product. When adding the sub-product preset model, the client acquires parameters of the sub-product preset model input by a user, such as parameters of the number of copies, the price, the product period and the like. Alternatively, since the sub-product pre-set model represents one type of sub-product, the sub-product pre-set model includes a plurality of sub-products of the same type. Alternatively, the sub-products may be displayed in a list form on the client according to the names of the sub-products, and the user may select a specific sub-product according to the needs.
S30: and obtaining a product merging request, obtaining a sub-function of the sub-product preset model according to the product merging request, and merging the sub-functions according to parameters of the sub-product preset model to obtain a construction function.
The product merging request refers to a request for merging sub-product preset models selected by a user, namely, the combination construction of the structured products is carried out. The sub-functions refer to functions corresponding to the sub-product preset model. Optionally, the sub-product preset model and the corresponding sub-function have the same identifier in the database connected with the client, and according to the identifier, the corresponding sub-function can be obtained by the sub-product preset model. The constructed function refers to a function formed by merging sub-functions, namely, a function corresponding to the constructed structured product.
Optionally, the construction function obtained by sub-function merging is a piecewise function. The piecewise function is a function corresponding to different analytical expressions in different value ranges of the argument x. For example, if the structured product is formed by combining two sub-functions, the corresponding sub-functions are:
Sub-function one: y=kx, (x > =0)
And a sub-function II: { y=n (x-a), (x > =a) }, { y=0, (0 < x < a) }
Combining the two sub-functions to obtain a construction function:
{y=n(x-a)+kx,(x>=a)},{y=kx,(0<x<a)}。
Alternatively, in the client, automatic merging of the sub-functions may be achieved by the critical points of the sub-functions. For example, in the above example, the critical points of the sub-functions are 0 and a, and before and after the two critical points, the two sub-functions are automatically added to obtain the construction function.
Specifically, the client acquires a product merging request, when the product merging request is received, the client acquires a corresponding sub-function from the database according to the sub-product preset model selected by the user, acquires a critical point of the sub-function according to the input parameters of the sub-product preset model, and finally performs automatic merging according to the critical point of the sub-function to obtain a construction function.
S40: and acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request, so that the yield of the construction function reaches the target yield, and obtaining the target construction product.
The product adjustment request refers to a request of a user for adjusting the constructed structured product. The target rate of return refers to the rate of return desired by the user, as determined by the user. For example, if the user considers that a 10% yield is expected, the 10% yield is the target yield. Optionally, the target yield can be obtained through the client, and when the yield corresponding to the construction function reaches or exceeds the target yield, the target construction product is obtained. Further, if the target building product is obtained, the client sends a prompt message to prompt the user that the building of the structured product is completed.
Optionally, the parameter adjustment of the construction function is implemented by adjusting parameters corresponding to the child product preset model.
Specifically, the client acquires a product adjustment request, adjusts parameters of the construction function according to the product adjustment request, recalculates the yield of the construction function according to the adjusted parameters of the construction function, compares the yield of the construction function with a target yield, and obtains a target construction product if the yield of the construction function reaches or exceeds the target yield. A hint message may be sent to hint completion of the construction of the structured product.
In the embodiment corresponding to fig. 2, obtaining a sub-product preset model according to the product construction request by obtaining the product construction request; then obtaining a model adding request, and obtaining parameters of a sub-product preset model according to the model adding request; then obtaining a product merging request, obtaining a sub-function of a sub-product preset model according to the product merging request, and obtaining a construction function according to the parameter merging sub-function of the sub-product preset model; and finally, acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request, so that the yield of the construction function reaches the target yield, and obtaining the target construction product. By providing the sub-product preset model of the structured product, a user can freely construct the structured product by selecting and adding the sub-product preset model, the construction process is simple and convenient, and the construction efficiency of the structured product is improved.
The construction of the structured product is closely related to the price parameters of the sub-products, for example, the sub-products using the price of gold as the hook target are closely related to the price of gold, and the price parameters need to be known to calculate the construction function. In an embodiment, the parameters of the sub-product preset model include price parameters, where the price parameters refer to prices of sub-products corresponding to the sub-product preset model. In step S20, that is, obtaining parameters of the sub-product preset model according to the model addition request, as shown in fig. 3, specifically includes the following steps:
S21: and acquiring a price acquisition request according to the model addition request.
Wherein the price acquisition request refers to a request for acquiring price parameters of sub-products of the sub-product preset model.
Specifically, after receiving the model addition request, the client acquires a price acquisition request. Alternatively, the user may generate a price acquisition request by clicking "Inquiry" on the client.
S22: and sending the names of the sub-products corresponding to the sub-product preset model to the price inquiring interface according to the price obtaining request.
The price inquiring interface is an interface of an external system connected with the client, and can acquire price parameters of the sub-product corresponding to the sub-product preset model from the interface. Optionally, the name of the sub-product corresponding to the sub-product preset model may be used as an entry, and the price of the sub-product may be used as an exit to establish a price-inquiring interface. Because the price parameters obtained when different external systems are connected are different, a plurality of external systems can be connected, so that a user can select the price parameters of the different external systems to obtain different construction products. Optionally, after acquiring the price request, the client displays a list of names of the external systems for the user to select.
Specifically, when the client receives the price acquisition request, the name of the sub-product corresponding to the sub-product preset model is acquired. Alternatively, the child product name refers to the name of the particular child product selected by the user. And then the client sends the acquired name of the sub-product to the price inquiring interface.
S23: and acquiring the price parameters of the sub-product preset model returned from the price inquiring interface.
Specifically, after the client sends the name of the sub-product corresponding to the sub-product preset model to the price inquiring interface, the client can access the external system according to the price inquiring interface, and the price parameter returned from the external system can be obtained through the price inquiring interface.
In the embodiment corresponding to fig. 3, a price acquisition request is acquired according to the model addition request, and then the name of the sub-product corresponding to the sub-product preset model is sent to the price inquiry interface according to the price acquisition request, so that the price parameters of the sub-product preset model returned from the price inquiry interface are acquired. The price parameters are obtained by establishing an interface form, so that the off-line price polling is replaced, and the construction efficiency of the structured product can be improved.
In an embodiment, after step S30, that is, after obtaining a product merging request, obtaining a sub-function of a sub-product preset model according to the product merging request, and obtaining a building function according to a parameter merging sub-function of the sub-product preset model, as shown in fig. 4, the model-based product building method provided by the embodiment of the present invention further includes:
s51: and acquiring a chart display request, and acquiring a chart configuration instruction according to the chart display request, wherein the chart configuration instruction comprises a preset chart type.
Wherein the diagramming request refers to a request for diagramming a product being built at a client. Alternatively, the diagramming request may be generated at the same time that the client sends the product merge request. The chart configuration instruction refers to an instruction for configuring a chart type at a client, and includes a preset chart type. The preset chart type refers to a chart type preset at the client to display a structured product, such as a histogram, a line graph, a pie chart, and the like.
Specifically, the client acquires a graph display request generated simultaneously with the product merging request, and when acquiring the graph display request, the client acquires a graph configuration instruction.
S52: and calling the encapsulation module file formed based on the business-level data chart according to the preset chart type.
The package module file is a file formed by secondarily packaging chart modules in the business-level data chart, wherein the package module file is stored in advance and comprises at least one chart module, each chart module corresponds to a chart type, and the corresponding package module file can be called according to the corresponding chart type, so that the corresponding chart is displayed through the business-level data chart. A business-level data chart (ENTERPRISE CHARTS, ECharts for short), a purely Javascript chart library, can provide visual, vivid, interactive, highly personalized, customizable data visualization charts.
Specifically, the client displays the structured product through the preset chart type, so that after the client acquires the chart configuration instruction, the client calls the corresponding encapsulation module file formed based on ECharts according to the preset chart type. The corresponding encapsulation module file may be called according to the ID of the preset chart type, and optionally, the ID of the preset chart type may be a name corresponding to the preset chart type, for example, a line graph, a bar graph, a pie chart, and the like.
S53: and acquiring the construction function and parameters of the construction function based on the packaging module file, and displaying the construction function on the chart configuration interface based on the parameters of the construction function.
The chart configuration interface is used for displaying a corresponding chart on the client.
Specifically, after calling the packaging module file corresponding to the preset chart type, the client inputs the acquired construction function and the parameters of the corresponding construction function into the corresponding packaging module file, and the construction function can be displayed on the chart configuration interface according to the parameters of the construction function. Since the build function corresponds to the rate of return, the rate of return is displayed on the client's chart configuration interface.
In the embodiment corresponding to fig. 4, the chart configuration instruction is acquired according to the chart display request by acquiring the chart display request; then, a corresponding encapsulation module file formed based on the business-level data chart is called according to a preset chart type included in the chart configuration instruction; and acquiring the construction function and parameters of the construction function based on the packaging module file, and finally displaying the construction function on the chart configuration interface according to the parameters of the construction function. By displaying the structured product being constructed on the chart configuration interface of the client, a user can intuitively see the constructed structured product, the decision of the user is convenient, and the construction efficiency of the structured product is improved.
In an embodiment, after step S40, that is, after obtaining the product adjustment request, adjusting parameters of the building function according to the product adjustment request, so that the yield of the building function reaches the target yield, and obtaining the target building product, as shown in fig. 5, the model-based product building method provided by the embodiment of the present invention further includes:
S61: and acquiring a user-defined request of the user, and acquiring a user identifier according to the user-defined request.
The custom request refers to a request of setting a target building product as a custom structured product by a user. Alternatively, the user may generate the custom request by clicking on a corresponding button of the client after obtaining the target build product, e.g., the user may generate the custom request by clicking on a "save" button of the client. User identification refers to identification for distinguishing between different users, such as user account numbers.
Specifically, the client acquires a user-defined request of the user, and when the user-defined request is received, acquires the user identification. Optionally, when receiving the user-defined request, sending a login instruction, and performing login verification by the user through inputting a user account and a user password, and if the verification is passed, obtaining the user identifier by the client.
S62: and setting the target building product as a custom building product based on the user identification.
Specifically, the client binds the obtained user identifier with the target building product and stores the target building product in the database, and the target building product after binding with the user identifier is the custom building product. Optionally, the client stores the custom built product in the database, and simultaneously displays the custom built product in a custom area of the client, so that a user can view and edit the custom built product through the client, and can obtain a new built product by adjusting a built function of the custom built product and parameters of the built function.
In the embodiment corresponding to fig. 5, the user identifier is obtained according to the user request by obtaining the user's user-defined request, and then the target building product is set as the user-defined building product based on the user identifier. Through the setting of the self-defined building products, the user can correspondingly adjust the parameters of the building function on the basis of the self-defined building products, so that the desired structured products can be obtained, and the building efficiency of the structured products is improved.
In an embodiment, before step S10, that is, before the step of obtaining the product construction request and obtaining the sub-product preset model according to the product construction request, the model-based product construction method provided by the embodiment of the invention further includes: and obtaining a sub-product with the use frequency reaching a preset value through historical data, and converting the sub-product into a sub-product preset model.
The historical data are stored in a database connected with the client, and the data of the use frequency of the structured product and the corresponding sub-products are recorded. The preset value is the lowest value which is set according to the historical data and can be converted into the use frequency of the sub-product preset model, and can be specifically limited according to actual conditions; for example, 20%, i.e., a sub-product whose frequency of use exceeds 20%, is set as a sub-product preset model.
Specifically, statistics is performed on the historical data, and the use frequency of each sub-product is counted. Alternatively, when the sub-products are combined to generate the target build product, the number of uses thereof is increased correspondingly. Wherein the frequency of use can be derived from the number of uses compared to the number of uses of all sub-products. And if the using frequency of a certain sub-product exceeds a preset value, converting the sub-product into a sub-product preset model. Alternatively, the general function corresponding to the sub-product may be set as a sub-function of the sub-product preset model, and parameters corresponding to the sub-product preset model, such as the number of copies, the product deadline, and the price, may be set, and then stored in a database connected to the client, and the data of the sub-product preset model may be updated.
In this embodiment, the sub-product with the use frequency reaching the preset value is obtained through the historical data, and is converted into the sub-product preset model, so that the pertinence of sub-product selection can be increased, the time of user selection is reduced, and the construction efficiency of the structured product is improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, a model-based product construction apparatus is provided, which corresponds to the model-based product construction method in the above embodiment one by one. As shown in fig. 6, the model-based product constructing apparatus includes a model acquisition module 10, a parameter acquisition module 20, a function merging module 30, and a product adjustment module 40. The functional modules are described in detail as follows:
The model obtaining module 10 is configured to obtain a product construction request, and obtain a sub-product preset model according to the product construction request.
The parameter obtaining module 20 is configured to obtain a model addition request, and obtain parameters of a sub-product preset model according to the model addition request.
The function merging module 30 is configured to obtain a product merging request, obtain a sub-function of the sub-product preset model according to the product merging request, and obtain a construction function according to the parameter merging sub-function of the sub-product preset model.
The product adjustment module 40 is configured to obtain a product adjustment request, adjust parameters of the building function according to the product adjustment request, and make the yield of the building function reach the target yield, so as to obtain the target building product.
Further, the sub-product preset model includes a relevance and a priority, and the model obtaining module 10 is further configured to obtain a relevance of the sub-product preset model according to the product construction request, and obtain the sub-product preset model according to the relevance of the sub-product preset model; or the method is used for acquiring the priority of the sub-product preset model according to the product construction request, and acquiring the sub-product preset model according to the priority of the sub-product preset model.
Further, the sub-product preset model includes price parameters, and the parameter acquisition module 20 further includes a price request acquisition unit, a name transmission unit, and a price parameter acquisition unit.
And the price request acquisition unit is used for acquiring a price acquisition request according to the model addition request.
And the name sending unit is used for sending the name of the sub-product corresponding to the sub-product preset model to the price inquiring interface according to the price obtaining request.
And the price parameter acquisition unit is used for acquiring price parameters of the sub-product preset model returned from the price inquiry interface.
Further, the model-based product construction apparatus further includes a graph display module including: the device comprises an instruction acquisition unit, a file calling unit and a chart display unit;
The instruction acquisition unit is used for acquiring a chart display request and acquiring a chart configuration instruction according to the chart display request, wherein the chart configuration instruction comprises a preset chart type.
And the file calling unit is used for calling the encapsulation module file formed based on the business-level data chart according to the preset chart type.
And the chart display unit is used for acquiring the construction function and parameters of the construction function based on the encapsulation module file, and displaying the construction function on the chart configuration interface based on the parameters of the construction function.
Further, the model-based product construction apparatus further includes a customization module, the customization module including: a request acquisition unit and a custom unit.
The request acquisition unit is used for acquiring the user-defined request of the user and acquiring the user identification according to the user-defined request.
And the custom unit is used for setting the target building product as the custom building product based on the user identification.
Further, the model-based product construction device further comprises a model conversion unit, wherein the model conversion unit is used for obtaining the sub-product with the use frequency reaching the preset value through the historical data and converting the sub-product into a sub-product preset model.
For specific limitations on the model-based product build apparatus, reference may be made to the limitations of the model-based product build method hereinabove, and will not be described in detail herein. The various modules in the model-based product building apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is for communicating with an external server via a network connection. The computer program is executed by a processor to implement a model-based product construction method.
In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of when executing the computer program:
Obtaining a product construction request, and obtaining a sub-product preset model according to the product construction request;
obtaining a model adding request, and obtaining parameters of a sub-product preset model according to the model adding request;
obtaining a product merging request, obtaining a sub-function of a sub-product preset model according to the product merging request, and obtaining a construction function according to the parameter merging sub-function of the sub-product preset model;
And acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request, so that the yield of the construction function reaches the target yield, and obtaining the target construction product.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Obtaining a product construction request, and obtaining a sub-product preset model according to the product construction request;
obtaining a model adding request, and obtaining parameters of a sub-product preset model according to the model adding request;
obtaining a product merging request, obtaining a sub-function of a sub-product preset model according to the product merging request, and obtaining a construction function according to the parameter merging sub-function of the sub-product preset model;
And acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request, so that the yield of the construction function reaches the target yield, and obtaining the target construction product.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Claims (6)
1. A method of model-based product construction, comprising:
obtaining a product construction request, and obtaining a sub-product preset model according to the product construction request, wherein the sub-product preset model refers to a basic model of a structured product preset in a client, and the sub-product preset model is at least two;
obtaining a model adding request, and obtaining parameters of the sub-product preset model according to the model adding request;
Obtaining a product merging request, obtaining a sub-function of the sub-product preset model according to the product merging request, and merging the sub-functions according to parameters of the sub-product preset model to obtain a construction function;
acquiring a product adjustment request, and adjusting parameters of the construction function according to the product adjustment request to enable the yield of the construction function to reach a target yield so as to obtain a target construction product;
wherein the parameters of the sub-product preset model comprise price parameters;
the obtaining parameters of the sub-product preset model according to the model adding request comprises the following steps:
acquiring a price acquisition request according to the model addition request;
Transmitting the name of the sub-product corresponding to the sub-product preset model to a price inquiring interface according to the price obtaining request;
Acquiring price parameters of the sub-product preset model returned from the price inquiry interface;
The child product preset model further comprises a relevance and a priority;
The obtaining the sub-product preset model according to the product construction request comprises the following steps:
acquiring the association degree of the sub-product preset model according to the product construction request, and acquiring the sub-product preset model according to the association degree;
Or acquiring the priority of the sub-product preset model according to the product construction request, and acquiring the sub-product preset model according to the priority;
after the step of obtaining the product merging request, obtaining the sub-functions of the sub-product preset model according to the product merging request, and merging the sub-functions according to the parameters of the sub-product preset model to obtain the construction function, the method further comprises:
Acquiring a chart display request, and acquiring a chart configuration instruction according to the chart display request, wherein the chart configuration instruction comprises a preset chart type;
Calling a packaging module file formed based on a business-level data chart according to the preset chart type;
And acquiring the construction function and parameters of the construction function based on the packaging module file, and displaying the construction function on a chart configuration interface based on the parameters of the construction function.
2. The model-based product building method according to claim 1, wherein after the step of obtaining a product adjustment request, adjusting parameters of the building function according to the product adjustment request to make a yield of the building function reach a target yield, the method further comprises:
Acquiring a user-defined request of a user, and acquiring a user identifier according to the user-defined request;
and setting the target building product as a custom building product based on the user identification.
3. The model-based product construction method according to claim 1, wherein before the step of acquiring a product construction request, acquiring a sub-product preset model according to the product construction request, the method further comprises:
And obtaining a sub-product with the use frequency reaching a preset value through historical data, and converting the sub-product into a sub-product preset model.
4. A model-based product building apparatus, comprising:
The model acquisition module is used for acquiring a product construction request, and acquiring sub-product preset models according to the product construction request, wherein the sub-product preset models refer to basic models of the structured products preset in the client, and the sub-product preset models are at least two;
the parameter acquisition module is used for acquiring a model adding request and acquiring parameters of the sub-product preset model according to the model adding request;
The function merging module is used for acquiring a product merging request, acquiring a sub-function of the sub-product preset model according to the product merging request, and merging the sub-function according to parameters of the sub-product preset model to obtain a construction function;
The product adjustment module is used for acquiring a product adjustment request, adjusting parameters of the construction function according to the product adjustment request, enabling the yield of the construction function to reach a target yield, and obtaining a target construction product;
Wherein, the sub-product preset model comprises price parameters, and the parameter acquisition module further comprises:
A price request acquisition unit for acquiring a price acquisition request according to the model addition request;
The name sending unit is used for sending the name of the sub-product corresponding to the sub-product preset model to the price inquiring interface according to the price obtaining request;
the price parameter acquisition unit is used for acquiring price parameters of the sub-product preset model returned from the price inquiry interface;
The model acquisition module is further used for acquiring the relevance of the sub-product preset model according to the product construction request and acquiring the sub-product preset model according to the relevance of the sub-product preset model; or the method is used for acquiring the priority of the sub-product preset model according to the product construction request and acquiring the sub-product preset model according to the priority of the sub-product preset model;
the model-based product construction apparatus further includes a graph display module including: the device comprises an instruction acquisition unit, a file calling unit and a chart display unit;
the instruction acquisition unit is used for acquiring a chart display request and acquiring a chart configuration instruction according to the chart display request, wherein the chart configuration instruction comprises a preset chart type;
The file calling unit is used for calling the encapsulation module file formed based on the business-level data chart according to the preset chart type;
And the chart display unit is used for acquiring the construction function and parameters of the construction function based on the encapsulation module file and displaying the construction function on a chart configuration interface based on the parameters of the construction function.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the model-based product construction method according to any one of claims 1 to 3 when the computer program is executed.
6. A computer-readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the model-based product construction method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810988127.7A CN109118370B (en) | 2018-08-28 | 2018-08-28 | Model-based product construction method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810988127.7A CN109118370B (en) | 2018-08-28 | 2018-08-28 | Model-based product construction method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109118370A CN109118370A (en) | 2019-01-01 |
CN109118370B true CN109118370B (en) | 2024-05-28 |
Family
ID=64860357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810988127.7A Active CN109118370B (en) | 2018-08-28 | 2018-08-28 | Model-based product construction method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109118370B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112182886B (en) * | 2020-09-30 | 2023-04-07 | 同济大学建筑设计研究院(集团)有限公司 | Engineering model generation method and device, computer equipment and storage medium |
CN116166243B (en) * | 2023-03-22 | 2023-08-04 | 平安银行股份有限公司 | Financial product generation method, computer device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106067083A (en) * | 2016-05-30 | 2016-11-02 | 上海二三四五网络控股集团股份有限公司 | Intellectual investment system data processing method based on magnanimity finance data |
CN107730386A (en) * | 2017-07-28 | 2018-02-23 | 上海壹账通金融科技有限公司 | Generation method, device, storage medium and the computer equipment of investment combination product |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090144186A1 (en) * | 2007-11-30 | 2009-06-04 | Reuters Sa | Financial Product Design and Implementation |
US10019238B2 (en) * | 2015-06-23 | 2018-07-10 | Open Text Sa Ulc | Compositional entity modeling systems and methods |
US20180060885A1 (en) * | 2016-08-30 | 2018-03-01 | International Business Machines Corporation | Segmentation based estimation method for demand models under censored data |
-
2018
- 2018-08-28 CN CN201810988127.7A patent/CN109118370B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106067083A (en) * | 2016-05-30 | 2016-11-02 | 上海二三四五网络控股集团股份有限公司 | Intellectual investment system data processing method based on magnanimity finance data |
CN107730386A (en) * | 2017-07-28 | 2018-02-23 | 上海壹账通金融科技有限公司 | Generation method, device, storage medium and the computer equipment of investment combination product |
Also Published As
Publication number | Publication date |
---|---|
CN109118370A (en) | 2019-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109510723B (en) | Gateway equipment, and transaction management and control system and method of Internet of things | |
CN109166058B (en) | Customized house source information recommendation method and system | |
CN106506563B (en) | Account setup method, apparatus and bank service system | |
US10063490B2 (en) | Method and system of operating an online application service in a deployment environment to facilitate run-time experimentation with user interface configurations | |
CN110347494B (en) | Context information management method, device, system and computer readable storage medium | |
CN109118370B (en) | Model-based product construction method, device, computer equipment and storage medium | |
US20150169733A1 (en) | Systems and methods for linking a database of objective metrics to a performance summary | |
CN109857791B (en) | Data batch processing method and device | |
CN111428884A (en) | Federal modeling method, device and readable storage medium based on forward law | |
CN111865634B (en) | Method and device for generating configuration file of site in Internet of things system | |
CN106998314B (en) | Account interaction method and device | |
CN111402066A (en) | Data processing method, server and storage medium | |
CN109344376B (en) | Template-based product construction method and device, computer equipment and storage medium | |
CN112416195A (en) | Method and device for generating device control function | |
CN112785418A (en) | Credit risk modeling method, credit risk modeling device, credit risk modeling equipment and computer readable storage medium | |
CN109285048B (en) | Processing method and device for product construction, computer equipment and storage medium | |
CN113852723B (en) | Number scheduling method, equipment and storage medium | |
CN115358853A (en) | Order processing system, method, device, equipment and storage medium | |
CN115755737A (en) | Single crystal furnace system control method and device, computer equipment and storage medium | |
CN116112457A (en) | Method, device, computer equipment and storage medium for notifying message | |
CN116226116A (en) | Joint learning task viewing method and device, electronic equipment and storage medium | |
CN114386038A (en) | Data processing method, device, equipment and storage medium | |
US20180300656A1 (en) | Reservation system and reservation method thereof | |
CN112306589B (en) | Data processing method, system and equipment | |
CN115409629A (en) | Data processing method and device, electronic equipment and storage medium |
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 |