CN109118370A - Product construction method, device, computer equipment and storage medium based on model - Google Patents
Product construction method, device, computer equipment and storage medium based on model Download PDFInfo
- Publication number
- CN109118370A CN109118370A CN201810988127.7A CN201810988127A CN109118370A CN 109118370 A CN109118370 A CN 109118370A CN 201810988127 A CN201810988127 A CN 201810988127A CN 109118370 A CN109118370 A CN 109118370A
- Authority
- CN
- China
- Prior art keywords
- product
- model
- request
- sub
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010276 construction Methods 0.000 title claims abstract description 43
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 230000006870 function Effects 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 16
- 238000000034 method Methods 0.000 claims description 15
- 241000208340 Araliaceae Species 0.000 claims description 7
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 7
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 7
- 235000008434 ginseng Nutrition 0.000 claims description 7
- 238000005538 encapsulation Methods 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 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
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000013079 data visualisation Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012887 quadratic function Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised 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
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 data processing fields, disclose a kind of product construction method, device, computer equipment and storage medium based on model, the product construction method based on model includes: to obtain product building request, constructs the preset model of the sub- product of request according to the product;Model addition request is obtained, according to the parameter of the sub- preset model of product described in model addition request;It obtains product and merges request, according to the subfunction of the sub- preset model of product described in product merging request, the subfunction is merged according to the parameter of the sub- preset model of product and obtains constructor;Product adjustment request is obtained, the parameter of the constructor is adjusted according to the product adjustment request, the earning rate of the constructor is made to reach target yield, obtains target building product.Product construction method provided by the invention based on model realizes the building of structuring product by way of preset model, improves the efficiency of building.
Description
Technical field
The invention belongs to data processing fields, are to be related to a kind of product construction method based on model, dress more specifically
It sets, computer equipment and storage medium.
Background technique
Structuring product refers to product made of two or more sub- product mixes, such as by bond and Option combination
Made of structuring product.Currently, the building of domestic structuring product is all by way of using the filling of excel table under line
It constructs, since the Field Count being related to is more, and needs to merge the combined corresponding function of structuring product manually, because
The process of this building is more many and diverse, inefficient.
Summary of the invention
The embodiment of the present invention provides a kind of product construction method, device, computer equipment and storage medium based on model,
To solve the problems, such as the inefficient of structuring product building.
A kind of product construction method based on model, comprising:
Product building request is obtained, the preset model of the sub- product of request is constructed according to the product;
Model addition request is obtained, according to the parameter of the sub- preset model of product described in model addition request;
Obtain product merge request, according to the product merge request described in the sub- preset model of product subfunction,
Merge the subfunction according to the parameter of the sub- preset model of product and obtains constructor;
Product adjustment request is obtained, the parameter of the constructor is adjusted according to the product adjustment request, makes the structure
The earning rate for building function reaches target yield, obtains target building product.
A kind of product construction device based on model, comprising:
Model obtains module, and for obtaining product building request, it is preset to construct the sub- product of request according to the product
Model;
Parameter acquisition module, for obtaining model addition request, according to sub- product described in model addition request
The parameter of preset model;
Function merging module merges request for obtaining product, according to sub- product described in product merging request
The subfunction of preset model merges the subfunction according to the parameter of the sub- preset model of product and obtains constructor;
Product adjusts module, for obtaining product adjustment request, adjusts the building letter according to the product adjustment request
Several parameters makes the earning rate of the constructor reach target yield, obtains target building product.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing
The computer program run on device, the processor realize the above-mentioned product building based on model when executing the computer program
The step of method.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter
Calculation machine program realizes the step of above-mentioned product construction method based on model when being executed by processor.
Above-mentioned product construction method, device, computer equipment and storage medium based on model, by obtaining product building
Request constructs the preset model of the sub- product of request according to product;Then model addition request is obtained, is added and is requested according to model
Obtain the parameter of the preset model of sub- product;Then it obtains product and merges request, it is preset to merge the sub- product of request according to product
The subfunction of model merges subfunction according to the parameter of the preset model of sub- product and obtains constructor;Finally obtain product adjustment
Request adjusts the parameter of constructor according to product adjustment request, so that the earning rate of constructor is reached target yield, obtain
Target constructs product.By providing the preset model of sub- product of structuring product, user is allow to add sub- product by selection
The mode of preset model realizes freely constructing for structuring product, and building process is easier, improve structuring product structure
The efficiency built.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is an application environment schematic diagram of the product construction method in one embodiment of the invention based on model;
Fig. 2 is a flow chart of the product construction method in one embodiment of the invention based on model;
Fig. 3 is another flow chart of the product construction method in one embodiment of the invention based on model;
Fig. 4 is another flow chart of the product construction method in one embodiment of the invention based on model;
Fig. 5 is another flow chart of the product construction method in one embodiment of the invention based on model;
Fig. 6 is a functional block diagram of the product construction device in one embodiment of the invention based on model;
Fig. 7 is a schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Product construction method provided by the present application based on model, can be applicable in the application environment such as Fig. 1, wherein visitor
Family end is communicated by network with server-side, and server-side obtains product building request by client, is asked according to product building
It asks and obtains the preset model return client of sub- product;The model for obtaining client adds request, adds request according to model
The parameter of the sub- preset model of product;Then the product for obtaining client merges request, merges the sub- product of request according to product
The subfunction of preset model merges subfunction according to the parameter of the preset model of sub- product and obtains constructor;Finally obtain client
The product adjustment request at end adjusts the parameter of constructor according to product adjustment request, the earning rate of constructor is made to reach mesh
Earning rate is marked, target building product is obtained and returns to client.Wherein, client can be, but not limited to be various personal computers,
Laptop, smart phone, tablet computer and portable wearable device.Server-side can be with independent server either
The server cluster of multiple servers composition is realized.
Optionally, the product construction method provided by the present application based on model, can also be used alone in the client,
In, client can be, but not limited to be various personal computers, laptop, smart phone, tablet computer and it is portable can
Wearable device.I.e. the product construction method based on model is applied in individual client.
In one embodiment, it as shown in Fig. 2, providing a kind of product construction method based on model, individually answers in this way
It is illustrated, includes the following steps: for client
S10: product building request is obtained, the preset model of the sub- product of request is constructed according to product.
Wherein, product building request refers to the request for needing to carry out structuring product building of user's triggering.Sub- product is pre-
The basic model that model refers to the composed structure product being preset in client is set, since structuring product is by two or more
Sub- product mix forms, therefore the preset model of sub- product is at least two.Optionally, the preset model of sub- product passes through function model
To realize.Wherein, function model refers to the model that the function for establishing earning rate to structuring product calculates, such as can be primary
Function model, quadratic function models, exponential Function Model, logarithmic function model or multi-stage model etc..It is alternatively possible to
The form of function model is pre-configured in client to realize the foundation of the preset model of sub- product.
Specifically, client obtains product building request, when getting product building request, is constructed and is requested according to product
The preset model of sub- product is obtained, then provides a user the preset model of sub- product of acquisition.Optionally, the preset model of sub- product passes through
The form of list shown in client, user can be carried out by sub- product preset model of the client to display selection and
Addition.
In one embodiment, the preset model of sub- product further includes the degree of association and priority, in step S10, according to product structure
Build the preset model of the sub- product of request, comprising:
The degree of association that the preset model of the sub- product of request is constructed according to product obtains the sub- preset mould of product according to the degree of association
Type;
Alternatively, constructing the priority of the preset model of the sub- product of request according to product, sub- product is obtained according to priority
Preset model.
Wherein, the degree of association refers to the degree of association between the preset model of sub- product.It is alternatively possible to according to the preset mould of sub- product
Structuring product frequency of use that type is composed assesses its degree of association.For example, if the frequency of use of a certain structuring product
It is 30%, then accordingly the degree of association of the sub- product of the structuring product form is 30%.Priority refers to client to user
The priority level of recommendation.It is alternatively possible to be carried out according to indexs such as user's frequency of use or earning rates to structuring product preferential
Grade mark.
Specifically, when obtaining the preset model of sub- product according to the degree of association, can according to the size order of the degree of association come
The preset model of sub- product is obtained, it is preferential to obtain the big preset model of sub- product of the degree of association or the big sub- product of the degree of association is pre-
Model is set to show in client first.Such as when being shown with the form of list, the big preset model of sub- product of the degree of association is put
In the display made above of list.It, can be according to the height of priority when obtaining the preset model of sub- product according to priority
Compliance obtains the preset model of sub- product, preferential to obtain the high preset model of sub- product of priority, or son that priority is high
The preset model of product is shown in client first.It is such as when being shown with the form of list, the high sub- product of priority is preset
Model shows before list, or when showing corresponding priority mark when client shows the preset model of sub- product.
The preset model of sub- product is obtained by the degree of association or priority, and more effective reference can be provided for user,
Improve the building efficiency of structuring product.
S20: model addition request is obtained, the parameter of the preset model of the sub- product of request is added according to model.
Wherein, model addition request, which refers to, adds the request of sub- product model in client, i.e. user carries out according to demand
Structuring product freely constructs.
Specifically, client obtains the information for the preset model of sub- product that user selects according to demand, i.e. model addition is asked
It asks.For example, the combination of the sub- product of user A to be selected and the sub- product of B constructs structuring product, then add to client transmission
Add the preset model of the sub- product of A and add the request of the preset model of the sub- product of B, client is rung according to specific addition request
It answers, adds the corresponding sub- preset model of product.Wherein, the preset model of sub- product includes sub- name of product ginseng related to sub- product
Number.In the preset model of the sub- product of addition, the parameter of the preset model of sub- product of client acquisition user's input, such as number,
The parameters such as price and product time limit.Optionally, since the preset model of sub- product represents a type of sub- product, sub- production
The preset model of product includes the sub- product of multiple same types.It is alternatively possible to according to the title of sub- product in client list
Form is shown, and user can according to need the specific sub- product of selection.
S30: obtaining product and merge request, the subfunction of the preset model of the sub- product of request is merged according to product, according to
The parameter of the sub- preset model of product merges subfunction and obtains constructor.
Wherein, product merges request and refers to the request that the preset model of sub- product to user's selection merges, that is, carries out
The combination of structuring product constructs.Subfunction refers to the corresponding function of the preset model of sub- product.Optionally, the preset model of sub- product
The mark having the same in the database that client connects of subfunction corresponding thereto, can be by sub- product according to the mark
Preset model obtains corresponding subfunction.Constructor refers to merged as subfunction made of function, that is, the structuring that constructs produces
The corresponding function of product.
It optionally, is piecewise function by the constructor that subfunction merges.Wherein, piecewise function refers to is becoming certainly
Measure the different value range of x, the corresponding function for having different analytic expressions.For example, if structuring product is closed by two subfunctions
And it forms, corresponding subfunction are as follows:
Subfunction one: y=kx, (x >=0)
Subfunction two: { y=n (x-a), (x>=a) }, { y=0, (0<x<a) }
Then two above subfunction is merged, available constructor are as follows:
{ y=n (x-a)+kx, (x>=a) }, { y=kx, (0<x<a) }.
Optionally, in the client, the automatic merging of subfunction can be realized by the critical point of subfunction.Such as
In above-mentioned example, the critical point of subfunction is 0 and a, before and after the two critical points, is respectively carried out two subfunctions automatic
It is added, constructor can be obtained.
Specifically, client obtains product merging request, and when receiving product merging request, client is selected according to user
The preset model of sub- product selected obtains subfunction corresponding thereto from database, then according to the preset mould of sub- product of input
The parameter of type obtains the critical point of subfunction, is finally merged according to the critical point of subfunction automatically, obtains constructor.
S40: obtaining product adjustment request, and the parameter of constructor is adjusted according to product adjustment request, makes constructor
Earning rate reaches target yield, obtains target building product.
Wherein, product adjustment request refers to the request that user is adjusted the structuring product of building.Target yield
Refer to the desired earning rate of user, is voluntarily determined by user.For example, user thinks that 10% earning rate meets expection, then 10%
Earning rate, that is, target yield.It is alternatively possible to target yield be obtained by client, when the corresponding income of constructor
When rate meets or exceeds target yield, target building product is obtained.Further, if obtaining target building product, client
Prompting message is sent, the building of user structure product is prompted to complete.
Optionally, the parameter adjustment of constructor is realized by adjusting the preset model of sub- product corresponding parameter.
Specifically, client obtains product adjustment request, is adjusted according to parameter of the product adjustment request to constructor
It is whole, the earning rate of constructor is then recalculated according to the parameter of constructor adjusted, and to the income of constructor
Rate is compared with target yield, if the earning rate of constructor obtains target structure up to or over target yield
Build product.The building that prompting message prompting structure product can be sent is completed.
In the corresponding embodiment of Fig. 2, by obtaining product building request, it is pre- that the sub- product of request is constructed according to product
Set model;Then model addition request is obtained, the parameter of the preset model of the sub- product of request is added according to model;Then it obtains
Product merges request, the subfunction of the preset model of the sub- product of request is merged according to product, according to the preset model of sub- product
Parameter merges subfunction and obtains constructor;Product adjustment request is finally obtained, constructor is adjusted according to product adjustment request
Parameter, so that the earning rate of constructor is reached target yield, obtain target building product.By providing structuring product
The sub- preset model of product, allow user in such a way that the sub- preset model of product is added in selection realize structuring product from
By constructing, building process is easier, improves the efficiency of structuring product building.
The building of structuring product is closely related with the price parameter of sub- product, for example, being hook target with the price of gold
Sub- product is just closely related with the price of gold, needs to know price parameter just and can be carried out the calculating of constructor.Implement one
In example, the parameter of the sub- preset model of product includes price parameter, wherein price parameter refers to the corresponding son of the preset model of sub- product
The price of product.In step S20, i.e., the parameter of the preset model of the sub- product of request is added according to model, as shown in figure 3,
Specifically includes the following steps:
S21: request price acquisition request is added according to model.
Wherein, price acquisition request refers to the request for obtaining the price parameter of sub- product of the sub- preset model of product.
Specifically, after client receives model addition request, price acquisition request is obtained.Optionally, user can be with
" inquiry ", which is clicked, by client generates price acquisition request.
S22: the corresponding sub- name of product of the preset model of sub- product is sent to by inquiry interface according to price acquisition request.
Wherein, inquiry interface is an interface of the external system being connected with client, can be obtained from the interface
The price parameter of the corresponding sub- product of the sub- preset model of product.It is alternatively possible to the corresponding sub- product of the preset model of sub- product
Name be referred to as into ginseng, be to take part in building vertical inquiry interface with the price of sub- product.Due to being obtained when connecting different external systems
Price parameter it is different, therefore can connect multiple external systems, user made to can choose the price ginseng of different external systems
Number, obtains different building products.Optionally, after obtaining price request, client shows that the name list of external system supplies
User selects.
Specifically, when client receives price acquisition request, the corresponding sub- ProductName of the preset model of sub- product is obtained
Claim.Optionally, sub- name of product refers to that user selects the title of specific sub- product.Then the sub- ProductName that client will acquire
Title is sent to inquiry interface.
S23: the price parameter of the preset model of sub- product returned from inquiry interface is obtained.
Specifically, after the title of the corresponding sub- product of the preset model of sub- product is sent to inquiry interface by client
External system is accessed according to inquiry interface, the price parameter returned from external system is obtained by inquiry interface.
In the corresponding embodiment of Fig. 3, request price acquisition request is added according to model, is then obtained according to price
The corresponding sub- name of product of the preset model of sub- product is sent to inquiry interface by request, obtains the sub- product returned from inquiry interface
The price parameter of preset model.Price parameter is obtained by way of establishing interface, is replaced and is inquired the price under line, structure can be improved
Change the efficiency of product building.
In one embodiment, after step S30, that is, product merging request is being obtained, request is merged according to product
The subfunction of the sub- preset model of product, according to the parameter of the preset model of sub- product merge subfunction obtain constructor the step of it
Afterwards, as shown in figure 4, the product construction method provided in an embodiment of the present invention based on model further include:
S51: chart display request is obtained, request chart configuration-direct is shown according to chart, wherein chart configuration refers to
Enabling includes preset subtype.
Wherein, chart display request, which refers to, shows the request of the product constructed by chart in client.Optionally,
Chart display request can send while product merges request in client and generate.Chart configuration-direct refers in client
Hold the instruction of allocation map table type, including preset subtype.Preset subtype refers to the display structure preset in client
Change the subtype, such as histogram, line chart and pie chart etc. of product.
Specifically, client, which is obtained, merges the chart display request that request generates simultaneously with product, aobvious when getting chart
When showing request, client obtains chart configuration-direct.
S52: the package module file formed based on business level data drawing list is called according to preset subtype.
Wherein, package module file is that the pre-stored chart module in business level data drawing list carries out secondary encapsulation
After be formed by file, package module file includes at least one chart module, the corresponding subtype of each chart module, root
Corresponding package module file can be called according to corresponding subtype, to show corresponding figure by business level data drawing list
Table.Business level data drawing list (Enterprise Charts, abbreviation ECharts), the chart library of a pure Javascript can
With provide it is intuitive, lively, can interact, can height personalized customization data visualization chart.
Specifically, client is by preset subtype come structured product, therefore client is being got
After chart configuration-direct, the corresponding package module file formed based on ECharts is called according to preset subtype.Wherein,
Corresponding package module file can be called according to the ID of preset subtype, optionally, the ID of preset subtype can be with
It is the corresponding title of preset subtype, e.g. line chart, histogram and pie chart etc..
S53: the parameter based on package module file acquisition constructor and constructor, the parameter based on constructor will
Constructor is shown on chart configuration interface.
Wherein, chart configuration interface refers to the configuration interface for showing corresponding chart in client.
Specifically, client is after calling corresponding with preset subtype package module file, the building that will acquire
The parameter of function and corresponding constructor is input in corresponding package module file, it can according to the ginseng of constructor
Number shows constructor on chart configuration interface.It is earning rate since constructor is corresponding, is to show earning rate
Show on the chart configuration interface of client.
In the corresponding embodiment of Fig. 4, by obtaining chart display request, the configuration of request chart is shown according to chart
Instruction;Then the preset subtype calling for including according to chart configuration-direct is formed corresponding based on business level data drawing list
Package module file;Parameter based on package module file acquisition constructor and constructor, finally according to constructor
Parameter shows constructor on chart configuration interface.The figure in client is shown by the structuring product that will be being constructed
On table configuration interface, the structuring product that family is intuitive to see building can be used, facilitate the decision of user, improve structuring and produce
The building efficiency of product.
In one embodiment, after the step s 40, that is, product adjustment request is being obtained, is being adjusted according to product adjustment request
After the step of parameter of constructor makes the earning rate of constructor reach target yield, obtains target building product, such as
Shown in Fig. 5, the product construction method provided in an embodiment of the present invention based on model further include:
S61: obtaining the customized request of user, according to customized request user identifier.
Wherein, customized request refers to that target building product is set as the request of customized structuring product by user.It can
Selection of land, user can generate customized request by clicking the corresponding button of client after obtaining target building product, for example,
User can be by generating customized request when " preservation " button of click client.User identifier refers to for distinguishing different use
The mark at family, such as user account.
Specifically, client obtains the customized request of user, when receiving customized request, obtains user identifier.
Optionally, when receiving customized request, login instruction is sent, user is stepped on by input user account and user password
Land verifying, if being verified, client obtains user identifier again.
S62: target building product is set as by customized building product based on user identifier.
Specifically, user identifier and target the building product that client will acquire are bound and are stored in the database,
It is customized building product with the target building product after user identifier binding.Optionally, client is by customized building
While product is stored in database, shown in the self defined area of client, user can be looked by client
It sees and edits, by adjusting the constructor of customized building product and the parameter of constructor, available new building is produced
Product.
In the corresponding embodiment of Fig. 5, by obtaining the customized request of user, marked according to customized request user
Know, is then based on user identifier for target building product and is set as customized building product.By it is customized building product setting,
User can accordingly adjust the parameter of constructor on the basis of customized building product, and desired structuring can be obtained and produce
Product improve the building efficiency of structuring product.
In one embodiment, before step S10, that is, product building request is being obtained, request is constructed according to product
Before the step of sub- product preset model, the product construction method provided in an embodiment of the present invention based on model further include: pass through
Historical data obtains the sub- product that frequency of use reaches preset value, converts the preset model of sub- product for the sub- product.
Wherein, history data store is in the database that client connects, interrecord structure product and corresponding sub- product
The data of frequency of use.Preset value is the frequency of use that can be converted into the preset model of sub- product set according to historical data
Minimum can be limited specifically according to the actual situation;Such as be set as 20%, i.e., the son that frequency of use is more than 20% is produced
Product are set as the preset model of sub- product.
Specifically, historical data is counted, counts the frequency of use of every seed products.Optionally, group product quilt
When combination producing target constructs product, access times are increase accordingly once.Wherein, frequency of use can be used by it number with
The access times of all sub- products are compared and are obtained.If the frequency of use of certain sub- product is more than preset value, by the sub- product
It is converted into the preset model of sub- product.It is alternatively possible to which the corresponding general purpose function of the sub- product is set as the preset model of sub- product
Subfunction, while the preset model of sub- product corresponding parameter, such as number, product time limit and price are set etc., after setting
It is stored in the database of client connection and updates the data of the preset model of sub- product.
In the present embodiment, the sub- product that frequency of use reaches preset value is obtained by historical data, which is turned
The preset model of sub- product is turned to, the specific aim of sub- product selection can be increased, reduce the time of user's selection, structuring is improved and produce
The building efficiency of product.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
In one embodiment, a kind of product construction device based on model is provided, it should the product construction device based on model
It is corresponded with the product construction method in above-described embodiment based on model.As shown in fig. 6, dress should be constructed based on the product of model
It sets and obtains module 10, parameter acquisition module 20, function merging module 30 and product adjustment module 40 including model.Each functional module
Detailed description are as follows:
Model obtains module 10, for obtaining product building request, constructs the preset mould of the sub- product of request according to product
Type.
Parameter acquisition module 20 adds the preset mould of the sub- product of request according to model for obtaining model addition request
The parameter of type.
Function merging module 30 merges request for obtaining product, merges the preset mould of the sub- product of request according to product
The subfunction of type merges subfunction according to the parameter of the preset model of sub- product and obtains constructor.
Product adjusts module 40, and for obtaining product adjustment request, the ginseng of constructor is adjusted according to product adjustment request
Number, makes the earning rate of constructor reach target yield, obtains target building product.
Further, the preset model of sub- product includes the degree of association and priority, and model obtains module 10 and is also used to according to production
Product construct the degree of association of the preset model of the sub- product of request, and it is preset to obtain sub- product according to the degree of association of the preset model of sub- product
Model;Alternatively, the priority for constructing the preset model of the sub- product of request according to product, according to the preset model of sub- product
Priority obtains the sub- preset model of product.
Further, the preset model of sub- product includes price parameter, and parameter acquisition module 20 further includes that price request obtains
Unit, title transmission unit and price parameter acquiring unit.
Price request acquiring unit, for adding request price acquisition request according to model.
Title transmission unit, for being sent the corresponding sub- name of product of the preset model of sub- product according to price acquisition request
To inquiry interface.
Price parameter acquiring unit, for obtaining the price parameter of the preset model of sub- product returned from inquiry interface.
Further, the product construction device based on model further includes chart display module, and chart display module includes: to refer to
Enable acquiring unit, file call unit and chart display unit;
Instruction acquisition unit requests for obtaining chart display, shows request chart configuration-direct according to chart,
In, chart configuration-direct includes preset subtype.
File call unit, for calling the package module formed based on business level data drawing list according to preset subtype
File.
Chart display unit is based on structure for the parameter based on package module file acquisition constructor and constructor
The parameter for building function shows constructor on chart configuration interface.
Further, the product construction device based on model further includes custom block, and custom block includes: that request obtains
Take unit and customized unit.
Request unit, for obtaining the customized request of user, according to customized request user identifier.
Customized unit, for target building product to be set as customized building product based on user identifier.
Further, the product construction device based on model further includes model conversation unit, and model conversation unit is for leading to
It crosses historical data and obtains the sub- product that frequency of use reaches preset value, convert the preset model of sub- product for sub- product.
Specific restriction about the product construction device based on model may refer to above for the product based on model
The restriction of construction method, details are not described herein.Modules in the above-mentioned product construction device based on model can whole or portion
Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of computer equipment
In processor in, can also be stored in a software form in the memory in computer equipment, in order to processor calling hold
The corresponding operation of the above modules of row.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure chart
It can be as shown in Figure 7.The computer equipment includes processor, the memory, network interface, display screen connected by system bus
And input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The storage of the computer equipment
Device includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.
The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The computer is set
Standby network interface is used to communicate with external server by network connection.To realize when the computer program is executed by processor
A kind of product construction method based on model.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Product building request is obtained, the preset model of the sub- product of request is constructed according to product;
Model addition request is obtained, the parameter of the preset model of the sub- product of request is added according to model;
It obtains product and merges request, the subfunction of the preset model of the sub- product of request is merged according to product, according to sub- production
The parameter of the preset model of product merges subfunction and obtains constructor;
Product adjustment request is obtained, the parameter of constructor is adjusted according to product adjustment request, makes the income of constructor
Rate reaches target yield, obtains target building product.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Product building request is obtained, the preset model of the sub- product of request is constructed according to product;
Model addition request is obtained, the parameter of the preset model of the sub- product of request is added according to model;
It obtains product and merges request, the subfunction of the preset model of the sub- product of request is merged according to product, according to sub- production
The parameter of the preset model of product merges subfunction and obtains constructor;
Product adjustment request is obtained, the parameter of constructor is adjusted according to product adjustment request, makes the income of constructor
Rate reaches target yield, obtains target building product.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of product construction method based on model characterized by comprising
Product building request is obtained, the preset model of the sub- product of request is constructed according to the product;
Model addition request is obtained, according to the parameter of the sub- preset model of product described in model addition request;
Obtain product merge request, according to the product merge request described in the sub- preset model of product subfunction, according to
The parameter of the preset model of sub- product merges the subfunction and obtains constructor;
Product adjustment request is obtained, the parameter of the constructor is adjusted according to the product adjustment request, makes the building letter
Several earning rates reach target yield, obtain target building product.
2. the product construction method based on model as described in claim 1, which is characterized in that the sub- preset model of product is also
Including the degree of association and priority;
It is described that the preset model of the sub- product of request is constructed according to the product, comprising:
According to the degree of association of the sub- preset model of product described in product building request, according to degree of association acquisition
The sub- preset model of product;
Alternatively, the priority of the sub- preset model of product according to product building request, is obtained according to the priority
Take the preset model of sub- product.
3. the product construction method based on model as described in claim 1, which is characterized in that the sub- preset model of product
Parameter includes price parameter;
The parameter of the sub- preset model of product according to model addition request, comprising:
Request price acquisition request is added according to the model;
The corresponding sub- name of product of the sub- preset model of product is sent to inquiry interface according to the price acquisition request;
Obtain the price parameter of the sub- preset model of product returned from the inquiry interface.
4. the product construction method based on model as described in claim 1, which is characterized in that asked in acquisition product merging
It asks, according to the subfunction of the sub- preset model of product described in product merging request, according to the sub- preset model of product
Parameter merge the step of subfunction obtains constructor after, the method also includes:
Chart display request is obtained, request chart configuration-direct is shown according to the chart, wherein the chart configuration refers to
Enabling includes preset subtype;
The package module file formed based on business level data drawing list is called according to the preset subtype;
Based on the parameter of constructor and constructor described in the package module file acquisition, the ginseng based on the constructor
Number shows the constructor on chart configuration interface.
5. the product construction method based on model as described in claim 1, which is characterized in that asked in acquisition product adjustment
It asks, the parameter of the constructor is adjusted according to the product adjustment request, the earning rate of the constructor is made to reach target
Earning rate, after obtaining the step of target constructs product, the method also includes:
The customized request for obtaining user, according to the customized request user identifier;
Target building product is set as customized building product based on the user identifier.
6. the product construction method based on model as described in claim 1, which is characterized in that asked in acquisition product building
Before the step of asking, constructing the sub- product of request preset model according to the product, the method also includes:
The sub- product that frequency of use reaches preset value is obtained by historical data, converts the preset mould of sub- product for the sub- product
Type.
7. a kind of product construction device based on model characterized by comprising
Model obtains module, for obtaining product building request, constructs the preset model of the sub- product of request according to the product;
Parameter acquisition module, it is preset according to sub- product described in model addition request for obtaining model addition request
The parameter of model;
Function merging module merges request for obtaining product, preset according to sub- product described in product merging request
The subfunction of model merges the subfunction according to the parameter of the sub- preset model of product and obtains constructor;
Product adjusts module and adjusts the constructor according to the product adjustment request for obtaining product adjustment request
Parameter makes the earning rate of the constructor reach target yield, obtains target building product.
8. the product construction device based on model as claimed in claim 7, which is characterized in that the product structure based on model
Building device further includes chart display module, and the chart display module includes: instruction acquisition unit, file call unit and chart
Display unit;
Described instruction acquiring unit shows that the configuration of request chart refers to according to the chart for obtaining chart display request
It enables, wherein the chart configuration-direct includes preset subtype;
The file call unit, for calling the encapsulation formed based on business level data drawing list according to the preset subtype
Module file;
The chart display unit, for the ginseng based on constructor and constructor described in the package module file acquisition
Number, the parameter based on the constructor show the constructor on chart configuration interface.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
The step of product construction method described in 6 any one based on model.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In product building of the realization as described in any one of claim 1 to 6 based on model when the computer program is executed by processor
The step of method.
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 true CN109118370A (en) | 2019-01-01 |
CN109118370B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112182886A (en) * | 2020-09-30 | 2021-01-05 | 同济大学建筑设计研究院(集团)有限公司 | Engineering model generation method and device, computer equipment and storage medium |
CN116166243A (en) * | 2023-03-22 | 2023-05-26 | 平安银行股份有限公司 | Financial product generation method, computer device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090144186A1 (en) * | 2007-11-30 | 2009-06-04 | Reuters Sa | Financial Product Design and Implementation |
CN106067083A (en) * | 2016-05-30 | 2016-11-02 | 上海二三四五网络控股集团股份有限公司 | Intellectual investment system data processing method based on magnanimity finance data |
US20160378437A1 (en) * | 2015-06-23 | 2016-12-29 | Open Text S.A. | Compositional entity modeling systems and methods |
CN107730386A (en) * | 2017-07-28 | 2018-02-23 | 上海壹账通金融科技有限公司 | Generation method, device, storage medium and the computer equipment of investment combination product |
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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090144186A1 (en) * | 2007-11-30 | 2009-06-04 | Reuters Sa | Financial Product Design and Implementation |
US20160378437A1 (en) * | 2015-06-23 | 2016-12-29 | Open Text S.A. | Compositional entity modeling systems and methods |
CN106067083A (en) * | 2016-05-30 | 2016-11-02 | 上海二三四五网络控股集团股份有限公司 | Intellectual investment system data processing method based on magnanimity finance data |
US20180060885A1 (en) * | 2016-08-30 | 2018-03-01 | International Business Machines Corporation | Segmentation based estimation method for demand models under censored data |
CN107730386A (en) * | 2017-07-28 | 2018-02-23 | 上海壹账通金融科技有限公司 | Generation method, device, storage medium and the computer equipment of investment combination product |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112182886A (en) * | 2020-09-30 | 2021-01-05 | 同济大学建筑设计研究院(集团)有限公司 | Engineering model generation method and device, computer equipment and storage medium |
CN112182886B (en) * | 2020-09-30 | 2023-04-07 | 同济大学建筑设计研究院(集团)有限公司 | Engineering model generation method and device, computer equipment and storage medium |
CN116166243A (en) * | 2023-03-22 | 2023-05-26 | 平安银行股份有限公司 | Financial product generation method, computer device and storage medium |
CN116166243B (en) * | 2023-03-22 | 2023-08-04 | 平安银行股份有限公司 | Financial product generation method, computer device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109118370B (en) | 2024-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107391578B (en) | Grid method based dynamic coordinate conversion method for network map service | |
CN108228169A (en) | Chart production method, apparatus, equipment and medium based on eCharts tools | |
CN109799989A (en) | Loose-leaf production method, device, computer equipment and storage medium | |
CN110399420A (en) | A kind of deriving method, electronic equipment and the medium of configurableization Excel format | |
CN106506563B (en) | Account setup method, apparatus and bank service system | |
CN109118370A (en) | Product construction method, device, computer equipment and storage medium based on model | |
CN106408170A (en) | Electronic worksheet processing method, workflow engine and electronic worksheet system | |
CN107844698A (en) | Financial APP authority setting method, device, equipment and storage medium | |
CN106506654A (en) | A kind of policy template implementation method of high flexibility | |
CN105956718A (en) | Water resource optimization allocation method and system for irrigated area | |
CN110535679A (en) | Management method, framework, network slice sales platform and the management system of slice | |
CN110121082A (en) | Show method, apparatus, equipment and the readable storage medium storing program for executing of direct broadcasting room ranking information | |
CN112306471A (en) | Task scheduling method and device | |
CN108921309A (en) | Meeting room subscribes optimization method, system, readable storage medium storing program for executing and computer equipment | |
CN108389079A (en) | The formulation of charging policy and querying method, device, terminal and readable storage medium storing program for executing | |
CN109344376A (en) | Product construction method, device, computer equipment and storage medium based on template | |
CN109285048A (en) | Processing method, device, computer equipment and the storage medium of product building | |
CN109741776A (en) | Initial method, device, equipment and the medium of blocky Static RAM | |
CN109360259A (en) | A kind of cloud rendering method of the synergetic office work of buildings model | |
CN109255532A (en) | Product construction method, device, computer equipment and storage medium based on chart | |
CN112435021A (en) | Transaction request processing method, device, equipment and medium based on artificial intelligence | |
CN107977277A (en) | The method, apparatus and computer equipment of third party system are integrated in ERP system | |
JP2007179306A (en) | Production planning method and device for joint product item | |
CN108681837A (en) | Flexible production management method, device, terminal device and readable storage medium storing program for executing | |
CN109902205A (en) | FPGA device information processing method, device, computer 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 |