Project demonstration method, device, computer equipment and storage medium

By configuring the output processor and mapping relationship, the problems of large memory usage and slow response speed in the financial company's interest demonstration system are solved, and faster data processing and demonstration are achieved.

CN112651842BActive Publication Date: 2024-12-31CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011590858.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2024-12-31
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

When the financial company's interest demonstration system handles multiple financial products, it leads to excessive memory usage and reduced response speed.

Method used

By obtaining the calculation items of each product type, configuring the output processor, determining the calculation algorithm, calculating the benefit results, and setting the mapping relationship between the calculation items and the output items, reducing the number of output items and the amount of data returned by the interface, improving the response speed .

Benefits of technology

Reduces memory usage, improves the response speed of the front-end system, and achieves faster data parsing and demonstration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112651842B_ABST
    Figure CN112651842B_ABST
Patent Text Reader

Abstract

The embodiment of the present application belongs to the field of research and development management, and relates to a demonstration method for a project, including obtaining the calculation items in each category of the product, configuring an output processor for the calculation items, determining the calculation algorithm of the calculation items from a preset algorithm database, and calculating the benefit result of the calculation item according to the calculation algorithm, processing the benefit result through the corresponding output processor to obtain the processing result, configuring the output item according to the calculation item, and setting the first mapping relationship between the calculation item and the output item, according to the first mapping relationship, outputting the processing result to the corresponding output item, and demonstrating the output item. The present application also provides a demonstration device, computer equipment and storage medium for a project. In addition, the present application also relates to blockchain technology, and the processing results can be stored in the blockchain. The present application can reduce the number of interface output items, reduce memory usage, and improve response speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of research and development management, and in particular to a project presentation method, device, computer equipment and storage medium. Background Art

[0002] The benefit demonstration is a simulation demonstration of the responsibilities and benefits of the product during the agreed period by the financial company based on the company's actuarial and other hypothetical situations. It can show the benefit data in detail for the corresponding scenarios within each agreed period, which is conducive to users to intuitively understand the protection responsibilities and benefits of the financial products.

[0003] The benefit demonstration algorithm system is at the forefront of the insurance process. It features a large number of calls, supports high concurrency in various sales activities every year, and needs to support rapid product launches. In the prior art, each financial product uses a common list of benefit items when demonstrating benefits, that is, products that have been launched in the past, even if they have been offline, but new products still need to output the benefit items of the products that have been launched in the past and feedback them to the front end. With the development of financial companies' business, the system has more and more access channels. At the same time, with the large increase in the number of new products being developed, other product benefit items appear in the development and maintenance process, which will increase the amount of calculations, further resulting in more memory usage, making the interface response to the front-end system slower. Summary of the invention

[0004] The purpose of the embodiments of the present application is to propose a project demonstration method, device, computer equipment and storage medium to solve the problem in the related art that project demonstration occupies a large amount of memory and reduces the response speed.

[0005] In order to solve the above technical problems, the present application embodiment provides a project presentation method, which adopts the following technical solution:

[0006] Obtaining calculation items in each category of products, and configuring output processors for the calculation items;

[0007] Determine a calculation algorithm for the calculation item from a preset algorithm database, and calculate a benefit result of the calculation item according to the calculation algorithm;

[0008] Processing the benefit result through the corresponding output processor to obtain the processing result;

[0009] configuring an output item according to the calculation item, and setting a first mapping relationship between the calculation item and the output item; and

[0010] According to the first mapping relationship, the processing result is output to the corresponding output item, and the output item is demonstrated.

[0011] Furthermore, the step of obtaining the calculation items in each category of products and configuring an output processor for the calculation items includes:

[0012] Counting the calculation items in each category of the product, removing duplicate calculation items between different categories of the product, and configuring an output processor for the calculation items after removing duplicates;

[0013] The different computing items of the different types are uniformly named, and an output processor is configured for the uniformly named computing items.

[0014] Furthermore, the step of setting a first mapping relationship between the calculation item and the output item includes:

[0015] The corresponding calculation item is split into sub-calculation items according to the calculation algorithm, and a first mapping relationship between the sub-calculation items and the output items is set.

[0016] Furthermore, the step of processing the benefit result through the corresponding output processor includes:

[0017] Determine the calculation items to be output according to the output items, and respectively calculate the benefit results of the calculation items in different types of the products;

[0018] The benefit result is input into the output processor for cumulative calculation.

[0019] Furthermore, before the step of determining the calculation algorithm of the calculation item from the preset algorithm database and calculating the benefit result of the calculation item according to the calculation algorithm, the method further includes:

[0020] A second mapping relationship table between the types of the products and the calculation items is configured, wherein the second mapping relationship table is also configured with an output processor corresponding to the calculation item.

[0021] Furthermore, the step of processing the benefit result through the corresponding output processor includes:

[0022] The output processor corresponding to the calculation item is called according to the second mapping relationship table, and the benefit result is input into the output processor for calculation.

[0023] Furthermore, after the step of determining the calculation algorithm of the calculation item from the preset algorithm database and calculating the benefit result, the method further includes:

[0024] When the calculation item is single among the different types of the products, the benefit result is directly output to the corresponding output item according to the first mapping relationship.

[0025] In order to solve the above technical problems, the present application also provides a demonstration device for a project, which adopts the following technical solution:

[0026] The acquisition module is used to obtain the calculation items in each category of the product;

[0027] A calculation module, used to determine the calculation algorithm of the calculation item from a preset algorithm database, calculate the benefit result, and process it through the corresponding output processor;

[0028] a configuration module, configured to configure an output processor for the computing item, configure an output item according to the computing item, and set a first mapping relationship between the computing item and the output item; and

[0029] A demonstration module is used to output the processing result to the corresponding output item according to the first mapping relationship, and to demonstrate the output item.

[0030] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0031] The computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the project demonstration method as described above when executing the computer-readable instructions.

[0032] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0033] The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the project demonstration method as described above.

[0034] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0035] The present application obtains the calculation items in each type of product, configures an output processor for the calculation items, determines the calculation algorithm of the calculation item from a preset algorithm database, calculates the benefit result of the calculation item according to the calculation algorithm, processes the benefit result through the corresponding output processor to obtain the processing result, configures the output item according to the calculation item, and sets a first mapping relationship between the calculation item and the output item. Finally, according to the first mapping relationship, the processing result is output to the corresponding output item, and the output item is demonstrated; The present application configures the output processor and the output item according to the calculation item, sets a mapping relationship between the calculation item and the output item, processes the benefit result of the calculation item through the output processor, and outputs the processing result to the corresponding output item for demonstration, which can reduce the number of interface output items, reduce the amount of returned data, reduce memory usage, enable the front-end system to perform analysis faster, and improve response speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0038] Figure 2 A flowchart of an embodiment of a method for presenting a subject according to the present application;

[0039] Figure 3 yes Figure 2 A flowchart of a specific implementation of step S201;

[0040] Figure 4 is a structural schematic diagram of an embodiment of a demonstration device according to the project of the present application;

[0041] Figure 5 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0043] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0045] In order to solve the problem that project demonstration occupies a large amount of memory and reduces the response speed in the related art, this application provides a project demonstration method that can be applied to Figure 1 In the system architecture 100 shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0046] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0047] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV), laptop computers, desktop computers, etc.

[0048] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0049] It should be noted that the project demonstration method provided in the embodiment of the present application is generally executed by a server and a terminal device, and accordingly, the project demonstration device is generally set in the server and the terminal device.

[0050] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0051] Continue to refer Figure 2 , showing a flowchart of an embodiment of a method for demonstrating a project according to the present application, comprising the following steps:

[0052] Step S201, obtaining calculation items in each category of products, and configuring output processors for the calculation items.

[0053] In this embodiment, the product may be an insurance product, which can provide customers with one or more protection responsibilities. Customers can enjoy the rights and interests corresponding to the protection responsibilities of the insurance product, and the rights and interests enjoyed can bring benefits to customers accordingly. A product may contain different types, that is, an insurance product may contain different types of insurance, and a product is composed of a combination of multiple types of insurance. The calculation items are the benefit items that the insurance product brings to customers.

[0054] The output processor can realize the intersection of calculation items between different types in the product and support a variety of different algorithms. Specifically, the same calculation items between different types can be accumulated.

[0055] In some optional implementations of this embodiment, the steps of obtaining the computing items in each category of products and configuring the output processor for the computing items are specifically as follows:

[0056] Step S301, counting the calculation items in each category of products, removing duplicate calculation items between different categories of products, and configuring output processors for the calculation items after removing duplicates.

[0057] There may be the same calculation items between different types of products. The same calculation items are removed. For example, the product includes three types: main insurance A, supplementary insurance B and supplementary insurance C. The calculation items in main insurance A include a, b, c and x, the calculation items in supplementary insurance B include a, b and y, and the calculation items in supplementary insurance C include a, b and c. Calculation item a is the same calculation item between main insurance A, supplementary insurance B and supplementary insurance C, calculation item b is the same calculation item between main insurance A, supplementary insurance B and supplementary insurance C, and calculation item c is the same calculation item between main insurance A and supplementary insurance C. Therefore, the same calculation items between different types are a, b and c. Output processors are configured for calculation items a, b and c respectively. It should be noted that different output processors are configured for different calculation items.

[0058] Step S302: uniformly name different computing items of different types, and configure output processors for the uniformly named computing items.

[0059] There may be different calculation items between different types of products, that is, the calculation items are single in the product. These calculation items are uniformly named, and the single calculation items between different types are treated as the same calculation items. Output processors are configured for them, so that accumulation between single calculation items can be achieved.

[0060] As described in the above example, calculation item x only exists in the main insurance A, and calculation item y only exists in the supplementary insurance B. In this case, both calculation item x and calculation item y are uniformly named as calculation item d, and an output processor is configured for calculation item d.

[0061] By configuring output processors for calculation items, you can associate calculation items of different types in the product and implement cross-calculation of calculation items of different types in the product.

[0062] Step S202, determining a calculation algorithm for the calculation project from a preset algorithm database, and calculating a benefit result of the calculation project according to the calculation algorithm.

[0063] Each calculation item has its corresponding calculation algorithm. The calculation algorithms of the same calculation item may be different between different categories. The benefit results of each calculation item in each category are calculated separately. The benefit result is the income of the calculation item, that is, the income of the benefit item in the insurance product.

[0064] Specifically, calculations are performed according to a calculation algorithm corresponding to the calculation project to obtain a benefit result of the calculation project.

[0065] The calculation algorithm of the calculation item is provided by the actuary. The calculation item and the corresponding calculation algorithm are saved through a table and stored in a preset algorithm database. The calculation algorithm of each calculation item is obtained from the preset algorithm database according to the calculation item, and the benefit result of the calculation item is calculated according to the calculation algorithm.

[0066] It should be understood that the calculation algorithms for the same calculation items of different types may be the same or different. For example, the calculation algorithm for the term premium of each insurance type is the same, specifically term premium = annual premium * insured amount / basic insured amount; the calculation algorithm for the transfer-in universal insurance premium of each insurance type is different. The calculation algorithm for the transfer-in universal insurance premium of product A is: transfer-in universal insurance premium = profit-added survival benefit of the current year + profit-added special survival benefit of the current year + profit-added maturity survival benefit of the current year; the calculation algorithm for the transfer-in universal insurance premium of product B is: transfer-in universal insurance premium = profit-added survival benefit of the current year + profit-added maturity survival benefit of the current year.

[0067] Step S203, processing the benefit result through the corresponding output processor to obtain a processing result.

[0068] Specifically, the output processor corresponding to the calculation item is called, and the benefit result is input into the output processor for calculation.

[0069] Each calculation item is equipped with an output processor, which links calculation items of different types. Specifically, the calculation items to be output are determined according to the output items, and the benefit results of the calculation items in different types of products are calculated respectively, and the benefit results are input into the output processor for cumulative calculation.

[0070] For example, the product includes main insurance A, supplementary insurance B and supplementary insurance C. The calculation items in main insurance A include a, b, c and x, the calculation items in supplementary insurance B include a, b and y, and the calculation items in supplementary insurance C include a, b and c. The configured output items are a, b, c, d. It should be noted that d is the output item corresponding to the special calculation items x and y. The benefit results of calculation item a in main insurance A, supplementary insurance B and supplementary insurance C are a1, a2 and a3 respectively. A1, a2 and a3 are input into the output processor for cumulative calculation, and the processing result corresponding to output item a is a1+ a2+ a3.

[0071] This embodiment can reduce the number of output items for display, further reduce the amount of returned data, and reduce response time by calculating the benefit results of the corresponding calculation items according to the output items and inputting the benefit results into the output processor for cumulative calculation.

[0072] Step S204: configure the output item according to the calculation item, and set a first mapping relationship between the calculation item and the output item.

[0073] In this embodiment, by sorting out different products, the calculation items of each type of each product are obtained, and the output items are configured according to the calculation items. It should be noted that the output items are customized and can be set according to actual needs. For example, traditional insurance products only output the benefit values ​​related to premiums and survival benefits, while universal insurance only requires benefit output values ​​such as universal account value and transferred universal insurance premiums.

[0074] The calculation items are the benefit items in the product combing process, and the output items are the benefit items displayed to the outside world. The mapping relationship between the calculation items and the output items is set. The mapping relationship between the calculation items and the output items can be reflected by setting a mapping table, as shown in Table 1 below. It should be noted that the mapping relationship can be one calculation item corresponding to one output item, and one output item corresponding to multiple calculation items.

[0075] Table 1

[0076] Serial number Calculation Project Output Project 1 Calculation project name The corresponding output project name 2 Calculation project name The corresponding output project name 3 Calculation project name The corresponding output project name

[0077] In this embodiment, the calculation project can be split into multiple sub-calculation items according to the algorithm complexity, which will not affect the output project. Specifically, the corresponding calculation project is split into sub-calculation items according to the calculation algorithm, and a first mapping relationship between the sub-calculation items and the output item is set.

[0078] Split calculation items with complex algorithms. For example, if the calculation item is the transfer of universal insurance premiums, the transfer of universal insurance premiums = the current year's survival insurance benefit of the profit-added benefit + the current year's special survival insurance benefit of the profit-added benefit + the current year's maturity survival benefit of the profit-added benefit, then split the transfer of universal insurance premiums into three sub-calculation items: the current year's survival insurance benefit of the profit-added benefit, the current year's special survival insurance benefit of the profit-added benefit, and the current year's maturity survival benefit of the profit-added benefit, and perform the calculation. It should be noted that the split calculation item is the parent calculation item. If the parent calculation item is split into different sub-calculation items, the output processor configured for the parent calculation item and the sub-calculation item should be the same.

[0079] In this embodiment, the calculation efficiency can be improved by splitting the calculation items of the complex calculation algorithm.

[0080] Step S205: output the processing result to a corresponding output item according to the first mapping relationship, and demonstrate the output item.

[0081] In this embodiment, the first mapping relationship is a mapping relationship between a calculation item and an output item. After the benefit result of the calculation item is input into the output processor for calculation, the result is output to the corresponding output item for demonstration.

[0082] It should be emphasized that in order to further ensure the privacy and security of the above processing results, the processing results can also be stored in a blockchain node.

[0083] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0084] The present application obtains the calculation items in each type of product, configures an output processor for the calculation items, determines the calculation algorithm of the calculation item from a preset algorithm database, calculates the benefit result of the calculation item according to the calculation algorithm, processes the benefit result through the corresponding output processor to obtain the benefit result, configures the output item according to the calculation item, and sets a first mapping relationship between the calculation item and the output item. Finally, according to the first mapping relationship, the processing result is output to the corresponding output item, and the output item is demonstrated; The present application configures the output processor and the output item according to the calculation item, sets a mapping relationship between the calculation item and the output item, processes the benefit result of the calculation item through the output processor, and outputs the processing result to the corresponding output item for demonstration, which can reduce the number of interface output items, reduce the amount of returned data, reduce memory usage, enable the front-end system to perform analysis faster, and improve response speed.

[0085] In some optional implementations of this embodiment, before step 203, the following steps are further included:

[0086] A second mapping relationship table between product types and calculation items is configured, wherein the second mapping relationship table is also configured with an output processor corresponding to the calculation item.

[0087] Specifically, the mapping relationship between each category in the configuration product and the computing items contained in each category can be displayed by designing a relationship table between product categories and computing items, as shown in Table 2 below. The relationship table can ensure that only clear computing items are configured for each category.

[0088] Table 2

[0089] Insurance code Matching insurance Calculation Project Corresponding output processor Output processor processing result formatting type Main or additional insurance Supplementary insurance or main insurance Name of all calculation items Specific output processors for each calculation project 0. Keep two decimal places by default. 1. Do not process the result.

[0090] As shown in Table 2, the relationship table is configured with product categories, computing items that need to be demonstrated for each category, and output processors corresponding to the computing items, and the benefit results of each computing item in each category are calculated.

[0091] In this embodiment, the output processor corresponding to the calculation item is called according to the second mapping relationship table, and the benefit result is input into the output processor for calculation. According to the configuration in the relationship table, the corresponding output processor can be called for calculation. When there are new products, there will be new calculation items. By configuring the relationship table between product types and calculation items and the mapping relationship table between calculation items and output items, the calculation of the calculation items of new products and the demonstration of output items can be supported.

[0092] In some optional implementations, when the calculation items are single between different types of products, the benefit result is directly output to the corresponding output item according to the first mapping relationship. Single means that the calculation items do not have the same items between different types.

[0093] Specifically, the calculation items corresponding to the output items are not the same between different types. After calculating the benefit result of the calculation item, it can be obtained by direct mapping, that is, the benefit result is output to the output item separately for demonstration. This method can improve the calculation efficiency and reduce the memory occupied by the calculation.

[0094] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0095] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0096] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0097] Further references Figure 4 , as a response to the above Figure 2 The present application provides an embodiment of a project demonstration device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0098] like Figure 4 As shown, the project demonstration device 400 described in this embodiment includes: an acquisition module 401, a calculation module 402, a processing module 403, a configuration module 404 and a demonstration module 405. Among them:

[0099] The acquisition module 401 is used to acquire the calculation items in each category of the product and configure an output processor for the calculation items;

[0100] The calculation module 402 is used to determine the calculation algorithm of the calculation project from the preset algorithm database, and calculate the benefit result of the calculation project according to the calculation algorithm;

[0101] The processing module 403 is used to process the benefit result through the corresponding output processor to obtain a processing result;

[0102] The configuration module 404 is used to configure the output item according to the calculation item and set a first mapping relationship between the calculation item and the output item;

[0103] The demonstration module 405 is used to output the processing result to the corresponding output item according to the first mapping relationship, and demonstrate the output item.

[0104] It should be emphasized that in order to further ensure the privacy and security of the above processing results, the processing results can also be stored in a blockchain node.

[0105] The demonstration device of the above-mentioned project configures the output processor and the output project according to the calculation project, and sets the mapping relationship between the calculation project and the output project. The benefit result of the calculation project is processed by the output processor, and the processing result is output to the corresponding output project for demonstration. This can reduce the number of interface output projects, reduce the amount of returned data, reduce memory usage, enable the front-end system to parse faster, and improve response speed.

[0106] In this embodiment, the acquisition module 401 includes: a statistical submodule and a configuration submodule, the statistical submodule is used to count the calculation items in each type of the product; the configuration submodule is used to deduplicate the same calculation items between different types of the product, configure an output processor for the deduplicated calculation items, and uniformly name the different calculation items between the different types, and configure an output processor for the uniformly named calculation items.

[0107] This embodiment configures output processors for computing items, so that computing items of different types in products can be associated, thereby achieving crossover of computing items of different types in products.

[0108] In some optional implementations of this embodiment, the configuration module 404 is further used to split the corresponding computing project into sub-computing projects according to a computing algorithm, and set a first mapping relationship between the sub-computing project and the output project.

[0109] This embodiment can improve the calculation efficiency by splitting the calculation items of the complex calculation algorithm.

[0110] In some optional implementations of this embodiment, the calculation module 402 is further used to:

[0111] Determine the calculation items to be output according to the output items, and respectively calculate the benefit results of the calculation items in different types of the products;

[0112] The benefit result is input into the output processor for cumulative calculation.

[0113] This embodiment can reduce the number of output items for display, further reduce the amount of returned data, and reduce response time by calculating the benefit results of the corresponding calculation items according to the output items and inputting the benefit results into the output processor for cumulative calculation.

[0114] In this embodiment, the configuration module 404 is further used to configure a second mapping relationship table between the types of the product and the calculation items, wherein the second mapping relationship table is also configured with an output processor corresponding to the calculation item.

[0115] This embodiment can support the calculation of calculation items of new products and the demonstration of output items through the configured second mapping relationship table.

[0116] In this embodiment, the processing module 403 is further used to:

[0117] The output processor corresponding to the calculation item is called according to the second mapping relationship table, and the benefit result is input into the output processor for calculation.

[0118] In some optional implementations, the calculation module 402 is further used for: when the calculation item is single among the different types of the products, directly outputting the benefit result to the corresponding output item according to the first mapping relationship.

[0119] The method of this embodiment can improve the computing efficiency and reduce the memory occupied by the computing.

[0120] To solve the above technical problems, the present application also provides a computer device. Figure 5 , Figure 5 This is a basic structural block diagram of the computer device in this embodiment.

[0121] The computer device 5 includes a memory 51, a processor 52, and a network interface 53 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 5 with components 51-53, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0122] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0123] The memory 51 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 51 can be an internal storage unit of the computer device 5, such as a hard disk or memory of the computer device 5. In other embodiments, the memory 51 can also be an external storage device of the computer device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 5. Of course, the memory 51 can also include both the internal storage unit of the computer device 5 and its external storage device. In this embodiment, the memory 51 is generally used to store the operating system and various application software installed on the computer device 5, such as computer-readable instructions of the demonstration method of the project, etc. In addition, the memory 51 can also be used to temporarily store various types of data that have been output or are to be output.

[0124] The processor 52 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 52 is generally used to control the overall operation of the computer device 5. In this embodiment, the processor 52 is used to run computer-readable instructions stored in the memory 51 or process data, such as computer-readable instructions for running the demonstration method of the project.

[0125] The network interface 53 may include a wireless network interface or a wired network interface. The network interface 53 is generally used to establish a communication connection between the computer device 5 and other electronic devices.

[0126] This embodiment implements the steps of the demonstration method of the above-mentioned embodiment project when the processor executes computer-readable instructions stored in the memory. By configuring the output processor and the output project according to the calculation project, and setting the mapping relationship between the calculation project and the output project, the benefit result of the calculation project is processed by the output processor, and the processing result is output to the corresponding output project for demonstration. This can reduce the number of interface output projects, reduce the amount of returned data, reduce memory usage, enable the front-end system to parse faster, and improve the response speed.

[0127] The present application also provides another implementation mode, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor so that the at least one processor executes the steps of the project demonstration method as described above, by configuring the output processor and the output project according to the calculation project, and setting the mapping relationship between the calculation project and the output project, the benefit result of the calculation project is processed by the output processor, and the processing result is output to the corresponding output project for demonstration, which can reduce the number of interface output projects, reduce the amount of returned data, and reduce memory usage, so that the front-end system can perform parsing faster and improve the response speed.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0129] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A project demonstration method, characterized in that: The steps include: Obtaining calculation items in each category of products, and configuring output processors for the calculation items; Determine a calculation algorithm for the calculation item from a preset algorithm database, and calculate a benefit result of the calculation item according to the calculation algorithm; Processing the benefit result through the corresponding output processor to obtain a processing result; configuring an output item according to the calculation item, and setting a first mapping relationship between the calculation item and the output item; and According to the first mapping relationship, the processing result is output to the corresponding output item, and the output item is demonstrated; The step of setting a first mapping relationship between the calculation item and the output item comprises: Splitting the corresponding calculation item into sub-calculation items according to the calculation algorithm, and setting a first mapping relationship between the sub-calculation items and the output items; The splitting step is to split the calculation project into multiple sub-calculation items for calculation according to the algorithm complexity of the calculation algorithm, the split calculation project is a parent calculation project, and the output processor configured for the parent calculation project and the sub-calculation project is the same; The step of obtaining the calculation items in each category of the product and configuring an output processor for the calculation items comprises: Counting the calculation items in each category of the product, removing duplicate calculation items between different categories of the product, and configuring an output processor for the calculation items after removing duplicates; The different computing items of the different types are uniformly named, and output processors are configured for the uniformly named computing items, wherein different computing items are configured with different output processors.

2. The project presentation method according to claim 1, characterized in that: The step of processing the benefit result through the corresponding output processor comprises: Determine the calculation items to be output according to the output items, and respectively calculate the benefit results of the calculation items in different types of the products; The benefit result is input into the output processor for cumulative calculation.

3. The project presentation method according to claim 1, characterized in that: Before the step of processing the benefit result through the corresponding output processor to obtain the processing result, the step further includes: A second mapping relationship table between the types of the products and the calculation items is configured, wherein the second mapping relationship table is also configured with an output processor corresponding to the calculation item.

4. The project presentation method according to claim 3, characterized in that: The step of processing the benefit result through the corresponding output processor comprises: The output processor corresponding to the calculation item is called according to the second mapping relationship table, and the benefit result is input into the output processor for calculation.

5. The method for demonstrating a project according to any one of claims 1 to 4, characterized in that: After the step of determining the calculation algorithm of the calculation item from the preset algorithm database and calculating the benefit result, the following step is further included: When the calculation item is single among the different types of the products, the benefit result is directly output to the corresponding output item according to the first mapping relationship.

6. A demonstration device for a project, characterized in that: The project demonstration device implements the steps of the project demonstration method according to any one of claims 1 to 5 when executed, and the project demonstration device comprises: An acquisition module, used to acquire the calculation items in each category of the product and configure an output processor for the calculation items; A calculation module, used to determine a calculation algorithm for the calculation item from a preset algorithm database, and calculate a benefit result of the calculation item according to the calculation algorithm; A processing module, used for processing the benefit result through the corresponding output processor to obtain a processing result; a configuration module, configured to configure an output item according to the calculation item, and set a first mapping relationship between the calculation item and the output item; and A demonstration module is used to output the processing result to the corresponding output item according to the first mapping relationship, and to demonstrate the output item.

7. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the project presentation method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the method for presenting an item according to any one of claims 1 to 5.