CN109740134A - Report generation method and device - Google Patents

Report generation method and device Download PDF

Info

Publication number
CN109740134A
CN109740134A CN201811540796.4A CN201811540796A CN109740134A CN 109740134 A CN109740134 A CN 109740134A CN 201811540796 A CN201811540796 A CN 201811540796A CN 109740134 A CN109740134 A CN 109740134A
Authority
CN
China
Prior art keywords
base values
index
target indicator
increased newly
index system
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.)
Pending
Application number
CN201811540796.4A
Other languages
Chinese (zh)
Inventor
崔蓝艺
李庆云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Taikang Online Property Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Online Property Insurance Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd, Taikang Online Property Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201811540796.4A priority Critical patent/CN109740134A/en
Publication of CN109740134A publication Critical patent/CN109740134A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides a kind of report generation method and device, server is after the report generation request for the carrying target indicator for receiving terminal device transmission, according to target indicator, the corresponding data of target indicator are extracted from index system, are sent according to after the corresponding data generation report of target indicator to terminal device.During being somebody's turn to do, since index system includes various indexs, user, which only needs the index of oneself concern being sent to server by terminal device, can be obtained report, it is not necessary to modify codes, process is simple, therefore report generation efficiency can be improved, and reduces report generation cost, timeliness requirement of each department to report is also effectively met, code is reduced and frequently changes to indicator consilience bring risk.

Description

Report generation method and device
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of report generation method and device.
Background technique
With the continuous development of technology, in order to grasp service condition, report is established for the business, becomes and quickly grasps industry One of major way of business can open-and-shut grasp business by report.
For insurance industry, business can be divided into according to different dimensions by different types.For example, according to guarantor Insurance is divided into property insurance and life insurance by the object that dangerous product is protected;According to different department, insurance company, business is divided into management Department, operation department, Finance Department etc.;According to source of insuring, business is divided into insure business, wechat of computer client and is insured industry Business, application program (Application, APP) are insured business etc..Under normal conditions, the report of different business includes different Index.For being classified according to department's dimension to business, administrative department, which focuses more on, can touch up to client's sum and can manage The sum of client, wherein can touch up to client includes that can manage client;Operation department, which focuses more on, can manage client's sum.In order to Report is quickly generated, then engineering department passes through batch configuration according to dimension, the SQL script different to different business developments Obtain the SQL script of various different business;Finally, obtaining report according to SQL script.
In above-mentioned report generation mode, when some dimension Added Business, need to spend a large amount of manpower for the business Newly-increased SQL script, low efficiency and easy error;When the index that some business of some dimension includes changes, for example, increasing When adding index, deleting index or modification index, a large amount of manpower is also needed for business modification SQL, also has low efficiency And the problem of being easy error.
Summary of the invention
The embodiment of the present invention provides a kind of report generation method and device, improves report generation efficiency and speed to realize Purpose.
In a first aspect, a kind of report form generation method provided by the invention, comprising:
The report generation request that receiving terminal apparatus is sent, the report generation request includes: at least one target indicator;
According at least one described target indicator, determine that each target refers at least one described target indicator from index system Corresponding data are marked, the index system includes base values and combined index, and the combined index is referred to according to the basis It marks to determine, each base values in the index system corresponds to corresponding data;
According to the corresponding data of at least one described target indicator, report is generated;
The report is sent to the terminal device.
In a kind of feasible design,
The index system further include: the functional relation table of the combined index and the base values, the combination refer to Mark is to carry out operation to the base values according to the function in the functional relation table to obtain;
If target indicator extracts the target indicator according to the target indicator for combined index from index system Corresponding data, comprising:
According to the target indicator, multiple bases corresponding with the target indicator are obtained from the functional relation table and are referred to Mark;
According to the multiple base values, the corresponding data of the multiple base values are obtained from the index system;
According to the functional relation of the target indicator and the multiple base values, and, the multiple base values pair The data answered determine the corresponding data of the target indicator.
In a kind of feasible design, described at least one target indicator according to, extracted from index system it is described to Before few corresponding data of a target indicator, the method also includes:
Generate the index system.
In a kind of feasible design, the method also includes:
It receives the index that second terminal equipment is sent and updates request, the index updates request for requesting in the index The first base values to be increased newly is added in system;
The described first base values to be increased newly and first base values pair to be increased newly are added in the index system The mapping relations for the data answered;
According to the functional relation of the described first base values to be increased newly and corresponding combined index, the functional relation is updated Table.
In a kind of feasible design, described first base values to be increased newly and described of being added in the index system After the mapping relations of the corresponding data of first base values to be increased newly, further includes:
Determine have the relationship of base values in the described first base values to be increased newly and the index system;
According to the relationship for having base values in the described first base values to be increased newly and the index system, second is determined Base values to be increased newly;
The mapping relations of the described first base values to be increased newly and corresponding data are added in the index system, with And the mapping relations of second base values to be increased newly and corresponding data.
It is described that the described first base values and correspondence to be increased newly is added in the index system in a kind of feasible design Data mapping relations, and, after the mapping relations of second base values to be increased newly and corresponding data, also wrap It includes:
According to the existing base values, determining combined index corresponding with the existing base values;
According to the described first base values to be increased newly and the described second base values to be increased newly, the combined index pair is updated The functional relation table answered.
In a kind of feasible design, the method also includes:
According to the described first base values to be increased newly and/or second base values to be increased newly, updates at least one and go through History report, at least one described history report include the existing base values.
Second aspect, the embodiment of the present invention provide a kind of report generation device, comprising:
Receiving module, for the report generation request that receiving terminal apparatus is sent, the report generation request includes: at least One target indicator;
Processing module, for determining at least one described target from index system according at least one described target indicator The corresponding data of each target indicator in index, the index system include base values and combined index, and the combined index is It is determined according to the base values, each base values in the index system corresponds to corresponding data, according to institute The corresponding data of at least one target indicator are stated, report is generated;
Sending module, for sending the report to the terminal device.
In a kind of feasible design,
The index system further include: the functional relation table of the combined index and the base values, the combination refer to Mark is to carry out operation to the base values according to the function in the functional relation table to obtain;
When the target indicator is combined index, the processing module is according to the target indicator, from index system When extracting the corresponding data of the target indicator, it is specifically used for being obtained from the functional relation table according to the target indicator Multiple base values corresponding with the target indicator;According to the multiple base values, institute is obtained from the index system State the corresponding data of multiple base values;According to the functional relation of the target indicator and the multiple base values, and, institute The corresponding data of multiple base values are stated, determine the corresponding data of the target indicator.
In a kind of feasible design, the processing module is mentioned from index system according at least one described target indicator Before taking before the corresponding data of at least one described target indicator, the index system is also generated.
In a kind of feasible design,
The receiving module, the index for being also used to receive the transmission of second terminal equipment update request, and the index update is asked It asks for requesting to add the first base values to be increased newly in the index system;
The processing module is also used to add the described first base values to be increased newly and described in the index system The mapping relations of the corresponding data of one base values to be increased newly, refer to according to the described first base values to be increased newly with corresponding combine Target functional relation updates the functional relation table.
In a kind of feasible design, the processing module is adding the described first base to be increased newly in the index system After the mapping relations of plinth index and the corresponding data of first base values to be increased newly, it is also used to determine described first to new Increase the relationship for having base values in base values and the index system;According to the described first base values to be increased newly with it is described Have the relationship of base values in index system, determines the second base values to be increased newly;In the index system described in addition The mapping relations of first base values to be increased newly and corresponding data, and, second base values to be increased newly and corresponding The mapping relations of data.
In a kind of feasible design, the processing module is adding the described first base to be increased newly in the index system The mapping relations of plinth index and corresponding data, and, the mapping of second base values to be increased newly and corresponding data is closed It after system, is also used to according to the existing base values, determining combined index corresponding with the existing base values;According to institute The first base values to be increased newly and the described second base values to be increased newly are stated, the corresponding functional relation of the combined index is updated Table.
In a kind of feasible design, the processing module is also used to according to the described first base values to be increased newly and/or institute The second base values to be increased newly is stated, at least one history report is updated, at least one described history report includes the existing base Plinth index.
The third aspect, the embodiment of the present invention provide a kind of server, including processor, memory and are stored in the storage On device and the computer program that can run on a processor, the processor realized when executing described program first aspect as above or The described in any item methods of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, instruction are stored in the storage medium, when its When being run on computer, so that computer executes first aspect or the described in any item methods of first aspect as above.
Report generation method and device provided in an embodiment of the present invention, server is in the carrying for receiving terminal device transmission After the report generation request of target indicator, according to target indicator, the corresponding data of target indicator, root are extracted from index system It is sent according to after the corresponding data generation report of target indicator to terminal device.During being somebody's turn to do, since index system includes various each The index of sample, user, which only needs the index of oneself concern being sent to server by terminal device, can be obtained report, be not necessarily to Code is modified, process is simple, therefore report generation efficiency can be improved, and reduces report generation cost, also effectively meets each Timeliness requirement of a department to report, reduces code and frequently changes to indicator consilience bring risk.Safeguard index body When being, index increase, index deletion, index modification etc. can be arbitrarily carried out to the index in index system, in maintenance process It is not necessary to modify codes, therefore can reduce the workload of report generation, improve report generation efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of running environment schematic diagram of report form generation method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of report form generation method provided in an embodiment of the present invention;
Fig. 3 is the example schematic of index system in a kind of report form generation method provided in an embodiment of the present invention;
Fig. 4 is the flow chart that index system is updated in a kind of report form generation method provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of report generation device provided by one embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of running environment schematic diagram of report form generation method provided in an embodiment of the present invention.The present embodiment includes: Server and multiple terminal devices.Index system is stored on server, for raw in the report for receiving terminal device transmission After request, generates corresponding report and be sent to terminal device.When specific implementation, business can be drawn according to different dimensions It is divided into different types.
For example, multiple insurance companies are divided into insurance company A, insurance company B, insurance company by subsidiary company dimension C ..., for a specific insurance company, such as insurance company A, the index system of design insurance company A, insurance company's A packet Administrative department, operation department, Finance Department etc. are included, it can be suitable for insurance company A's for the index system of insurance company A design Any one department.That is, index system and different department goal index of the server according to insurance company A, for difference Department generate different reports.It is one terminal device of each Department formation, as the first terminal in figure is set when specific implementation Standby, second terminal equipment, third terminal equipment etc..Assuming that the terminal device of operation department is first terminal equipment, then need to give birth to When at report, first terminal equipment sends the report generation request for carrying target indicator to server, and server receives report After generating request, the corresponding data of target indicator are extracted from index system, then according to the corresponding data of target indicator, are Operational department pupil is at report and is sent to first terminal equipment.
For another example, from the dimension of insurance products, the insurance products of insurance company A are divided into life insurance insurance products, wealth Insurance products, Education annuity insurance product, annuity products etc. are produced, for the insurance products of every kind of different type, design Index system, the index system include to buy client's sum of the insurance products, amount for which loss settled, close interest to the insurance products Number of users etc..The index system is suitable for any one department of insurance company A.After the good index system of server design, if Receive second terminal equipment, it is assumed that second terminal equipment is the corresponding terminal device of Finance Department, then generates and report for Finance Department Table is simultaneously sent to second terminal equipment, if receiving third terminal equipment, it is assumed that third terminal equipment is that administrative department is corresponding Terminal device then generates report for administrative department and is sent to third terminal equipment.
In above-described embodiment, server is equivalent to big data platform, and terminal device is, for example, the computer, each of each department Mobile phone, notebook of department personnel etc., the embodiment of the present invention is not intended to limit.In the following, on the basis of above-mentioned Fig. 1, to this Report form generation method described in inventive embodiments is described in detail.Illustratively, reference can be made to Fig. 2.
Fig. 2 is a kind of flow chart of report form generation method provided in an embodiment of the present invention.The executing subject of the present embodiment is Report generation device, the device can realize that the device can be electronics by way of software, hardware or software and hardware combining Equipment it is some or all of, be also possible to some or all of server.This implementation is applied to clothes with the report form generation method It is illustrated for business device, the present embodiment includes:
101, the report generation request that server receiving terminal equipment is sent, the report generation request includes: at least one A target indicator.
In the embodiment of the present invention, index system is stored on server.The index system includes at least one mapping relations, Each mapping relations are used to indicate an index and corresponding data, which can be understood as this and refer to target value.From For the angle of index, index system includes base values and combined index, and the combined index is according to the base values Come what is determined, each base values in the index system corresponds to corresponding data.It is available based on the index system Multiple reports.Therefore, the user of terminal device will can carry the report generation of target indicator by terminal device according to demand Request is sent to server.
102, server determines at least one described target indicator from index system according at least one described target indicator In the corresponding data of each target indicator.
In this step, server is extracted from index system according to the target indicator in the report generation request received Target indicator out, and data corresponding with the target indicator.For example, it is assumed that co-existing in 100 indexs, user in index system 10 indexs therein are paid close attention to, then index mark of 10 indexs etc. is carried in report generation request, is set by terminal Preparation gives server.After server receives report generation request, according to 10 target indicators, mentioned from index system Take out those target indicators and 10 corresponding data of target indicator.
103, according to the corresponding data of at least one described target indicator, report is generated.
In this step, server generates report according to the corresponding data of the target indicator extracted.Continue to continue to use above-mentioned Example, then server generates report according to the corresponding data of 10 target indicators.If the demand of user changes, for example, Assuming that 10 target indicators of user's concern include index a, index b, index c, index d, index e, index f, index g, index H, index i, index j.After a period of time, target indicator is revised as index a, index b, index c, index d, index e, referred to by user Mark f, index g, index h, index k and index l, then by index a, index b, index c, index d, index e, index f, index g, refer to Mark h, index k and index l, which are carried, is sent to server in report generation request, is regenerated by server according to those indexs Report.
104, server sends the report to the terminal device.
After generating report, which is sent to terminal device by server.
Report form generation method provided in an embodiment of the present invention, server refer in the carrying target for receiving terminal device transmission After target report generation request, according to target indicator, the corresponding data of target indicator are extracted from index system, according to target The corresponding data of index are sent after generating report to terminal device.During being somebody's turn to do, since index system includes various fingers Mark, user, which only needs the index of oneself concern being sent to server by terminal device, can be obtained report, and it is not necessary to modify generations Code, process is simple, therefore report generation efficiency can be improved, and reduces report generation cost, also effectively meets each department Timeliness requirement to report, reduces code and frequently changes to indicator consilience bring risk.It, can when safeguarding index system With the index in index system is arbitrarily carried out index increase, index delete, index modification etc., in maintenance process it is not necessary to modify Code, therefore the workload of report generation can be reduced, improve report generation efficiency.
In the following, the index system in above-described embodiment is described in detail.Illustratively, reference can be made to Fig. 3, Fig. 3 are these The example schematic of index system in a kind of report form generation method that inventive embodiments provide.
As shown in figure 3, index system includes base values and combination in report form generation method provided in an embodiment of the present invention Index.The mapping relations of index and data, i.e., each index, especially base values, then in index system are not illustrated in figure There is also the corresponding data of base values.In the following, base values and combined index are described in detail respectively.
Firstly, base values.
In the embodiment of the present invention, it is the most basic element of composing indexes system that base values, which is also referred to as first grade index, One index system contains at least one base values.
Secondly, combined index.
In the embodiment of the present invention, combined index is to carry out operation at least two base values to obtain.For example, sharing four A base values, respectively base values a, base values b, base values c and base values d.There are three combined indexs altogether: group Close index A=a+b, combined index B=b+c, combined index C=a+B.According to Fig. 3, combined index can be respectively multiple layers Grade, level-one combined index carry out what operation obtained to base values, and second level combined index is at least one level-one combined index What operation obtained, if second level combined index includes a level-one combined index, which further includes at least one Base values.For example, second level combined index X=first class index 2+ base values N;Similarly, three-level index be at least one two Grade index operation obtains ....
In the embodiment of the present invention, for base values, need to store the corresponding number of each base values in index system According to.And for combined index, the corresponding data of the combined index can also be stored in index system.Alternatively, can not also deposit The corresponding data of combined index system are stored up, at this point, index system further includes the functional relation table of combined index and base values, Combined index is to carry out operation to base values according to the function in functional relation table to obtain.Illustratively, reference can be made to table 1, Table 1 is the functional relation table in a kind of report form generation method provided in an embodiment of the present invention.
Table 1
Table 1 is please referred to, jc0036, jc0037 and jc0075 are three base values, and kjy001 is combined index, kjy001 =jc0036+jc0037+jc0075, the calculation formula are combined index kjy001 for base values, jc0036, jc0037 With the functional relation of jc0075.
In the present embodiment, if the target indicator is combined index, server is according to the target indicator, from index body When extracting the corresponding data of the target indicator in system, be according to the target indicator, obtained from the functional relation table with The corresponding multiple base values of the target indicator;According to the multiple base values, from the index system described in acquisition The corresponding data of multiple base values;According to the functional relation of the target indicator and the multiple base values, and, it is described The corresponding data of the base values, determine the corresponding data of the target indicator.
Illustratively, table 1 and Fig. 1 are please referred to, it is assumed that terminal device is carried into the report generation request that server is sent Target indicator be kjy001, then server receive the report generation request after, functional relation is obtained from table 1, according to letter Number relationship determines base values, i.e. jc0036, jc0037 and jc0075.Then, according to those base values, from index system Obtain the corresponding data of each base values.Assuming that jc0036=200, jc0037=500, jc0075=600 then get this After a little data, according to those data and functional relation, target indicator, the i.e. corresponding data of kjy001, kjy001=are calculated Jc0036+jc0037+jc0075=200+500+600=1300.
In above-described embodiment, server according at least one target indicator, extracted from index system it is described at least one Before the corresponding data of target indicator, the index system is also generated.
Illustratively, user can in advance be sent base values, combined index and functional relation table by terminal device To server, server carries out integration processing to those indexs, the basis for being sent different terminal equipment according to functional relation table Index, combined index are integrated into the tree of a level, and in the tree, the bottom is basic index, from the bottom up It is followed successively by level-one combined index, second level combined index, three-level combined index etc., to obtain index system.
After index system is established, inevitably need to modify to index system, for example, it is desired to base values or Combined index such as is modified, deletes at the operation, alternatively, needing newly-increased base values or combined index etc..
In the following, being carried out in detail for adding base values to be increased newly in index system to how to update index system Explanation.
In a kind of feasible implementation, server is during updating index system, server receiving terminal equipment The index of transmission updates request, and the index update is requested for requesting the addition first in the index system basic wait increase newly Index, adds the described first base values to be increased newly in the index system and first base values to be increased newly is corresponding The mapping relations of data, according to the functional relation of the described first base values to be increased newly and corresponding combined index, described in update Functional relation table.
Illustratively, it is assumed that Finance Department need use base values to be increased newly, for index system, this first to Newly-increased base values may be an existing base values, and only terminal device (i.e. the terminal device of Finance Department) is not known It has included the first foundation index in index system on server;Alternatively, first base values to be increased newly may be one First base values to be increased newly, and first base values to be increased newly is not present in completely new base values that is, in index system It is independent when with other base values, without any relationship;Alternatively, first base values to be increased newly may be one completely new Base values, i.e., be not present first base values increase in index system, but first index to be increased newly and other bases Plinth index has certain relationship.After terminal device sends index update request to server, in server judge index system With the presence or absence of the first base values to be increased newly, and if it exists, do not update index system then, first basis to be increased newly refers to if it does not exist Mark, and this is first independent when newly-increased base values is with other base values then adds this first to new in index system Increase base values and the corresponding data of the first base values increase, and the first base values and data to be increased newly of preservation Mapping relations.
In above-described embodiment, if first index to be increased newly is not present in index system, but first index to be increased newly There is certain relationship with other base values, then server determines the described first base values to be increased newly and the index system In have base values relationship;According to base values existing in the described first base values to be increased newly and the index system Relationship determines the second base values to be increased newly;The described first base values and correspondence to be increased newly is added in the index system Data mapping relations, and, the mapping relations of second base values to be increased newly and corresponding data.For example, it is assumed that Base values is jc0038, indicates that member's quantity, the first index to be increased newly are jc0080, indicates bean vermicelli sum, still, part powder Silk is bundled with member, then also needs to add the second index to be increased newly in index system, which is jc0081, Indicate the bean vermicelli quantity for being bundled with member.
In above-described embodiment, server adds the described first base values to be increased newly and corresponding in the index system The mapping relations of data, and, after the mapping relations of second base values to be increased newly and corresponding data, also according to institute State existing base values, determining combined index corresponding with the existing base values;Referred to according to the described first basis to be increased newly Mark and the described second base values to be increased newly, update the corresponding functional relation table of the combined index.
Illustratively, server adds first after newly-increased base values in index system, if first base to be increased newly The addition of plinth index, cause to be also required in some combined indexs addition should index increase, then according to the index to be increased newly with it is right The functional relation for the first combined index answered, renewal function relation table.With continued reference to table 1, it is assumed that the first base values to be increased newly Guideline code be jc0076, index name be act on behalf of life insurance, it is a part that can manage client's sum that this, which acts on behalf of life insurance,.Cause Function kjy001=jc0036+jc0037+jc0075 in functional relation table is updated to kjy001 after increasing jc0076 newly by this =jc0036+jc0037+jc0075+jc0076.
In above-described embodiment, the report generated before being updated to index system is referred to as history report, and update refers to During mark system, if the first index to be increased newly and/or the second index to be increased newly of addition have an impact to history report, take Device be engaged according to the described first base values to be increased newly and/or second base values to be increased newly, updates at least one history report Table, at least one described history report include the existing base values.For example, it is assumed that the first base values to be increased newly of addition Afterwards, the first combined index is caused to change, for example, the first combined index does not include first to new before index system updates Increase base values, includes index to be increased newly comprising the first combined index after update.Therefore, it is necessary to include to for target indicator The history report of first combined index is updated.In renewal process, server according to the described first base values to be increased newly with The functional relation of first combined index, and, the corresponding data of first base values to be increased newly update at least one History report, at least one described history report include existing base values.
In the following, being carried out for for insurance purchase Scenario Design index system to above-mentioned index system update method It is described in detail.
Illustratively, reference can be made to Fig. 4, Fig. 4 are more New Sets in a kind of report form generation method provided in an embodiment of the present invention The flow chart of system, the present embodiment include:
201, the first base values to be increased newly of newly-increased insurance purchase scene is determined.
With continued reference to Fig. 1, in the present embodiment, administrative department, operation department, wealth of the index system suitable for insurance company A Any one department such as business department.The index system includes that user buys scene index.Purchase scene can be understood as purchase canal Road, including PC (personal computer, PC) end are bought, are bought by application program (application, APP) Deng.Wherein, the end PC is bought to user under the guidance of business personnel or self-service computer or self-service machine by insurance company is purchased The insurance products bought;APP purchase refers to that insurance company develops APP, and user is bought by downloading and installing the APP by the APP Insurance products.
In the present embodiment, after establishing index system for insurance company A, the purchase scene which includes includes PC End purchase scene, APP buy scene.With the development of technology, there is the newly-increased scene bought by wechat.At this point, operation department Terminal device to server send index update request.After server receives index update request, the newly-increased guarantor is determined Danger purchase scene, i.e. the first base values to be increased newly of wechat purchase scene.
202, it whether there is the first base values to be increased newly in judge index system.
In this step, server judges in the first base values to be increased newly and index system whether is already present base values Repeat, if repeat, terminate, if repeat and first base values to be increased newly it is unrelated with existing base values, execute 203;If the first base values to be increased newly is related to the existing base values in index system, 208 are executed.
It should be noted that the first base values to be increased newly can be to be multiple, if any one is not present in index system First base values to be increased newly then illustrates that the first base values to be increased newly is not repeated with base values existing in index system; If index system includes the first base values to be increased newly of first part, and the first basis to be increased newly for not including second part refers to Mark, then the base values to be increased newly of the first of the second part is also required to execute step 203.
Step 203 adds the first base values to be increased newly in index system.
In this step, server adds the first base values to be increased newly in index system and the first basis to be increased newly refers to Mark the mapping relations of corresponding data.
204, server update functional relation table.
In this step, if the addition of those the first base values to be increased newly, cause to be also required to add in some combined indexs First base values to be increased newly is then closed according to first base values to be increased newly with the function of corresponding first combined index System, renewal function relation table.
Table 2
Please refer to table 2, increase newly wechat purchase scene before, the base values for including in index system include jc38, jc39, Jc0036, index system further include combined index kjy001, kcd001, wherein kcd001=kjy001+ (jc0038- jc0039)+jc0036.After newly-increased wechat purchase scene, newly-increased first base values jc0080 to be increased newly is needed.But there is portion Bean vermicelli is divided to be bundled with member, therefore, it is necessary to determine the second base values to be increased newly according to the first base values to be increased newly jc0081.Since jc0080, jc0081 have an impact combined index kcd001.Therefore, it is necessary to kcd001 and base values Functional relation be updated, be updated to kjy001+ (jc0038-jc0039)+(jc0080-jc0081)+jc0036.It is real When border is realized, server can develop a configuration file, and user only needs to repair the functional relation in the configuration file Change, alternatively, Modification growth function relationship on the terminal device, and modified functional relation is sent to server, so that clothes Device be engaged according to the modified functional relation more new configuration file.
205, functional relation table is parsed.
In this step, server parses functional relation table, is resolved to the formula that server can identify.
206, judge whether to complete parsing, if so, executing 207;If not completing parsing, execute
In this step, server judge whether can correct analytical function relation table, if being capable of correct analytical function relationship Table then executes 207;If cannot correct analytical function relation table, illustrate occur mistake, return step when renewal function relationship 204 renewal function relation tables again.
207, report is generated according to updated index system.
208, determine have the relationship of base values in the first base values to be increased newly and index system.
209, it according to the relationship for having base values in the first base values to be increased newly and index system, determines second to new Increase base values.
210, the mapping relations of the first base values to be increased newly and corresponding data are added in index system, and, the The mapping relations of two base values to be increased newly and corresponding data execute step 204 later.
Following is apparatus of the present invention embodiment, can be used for executing embodiment of the present invention method.For apparatus of the present invention reality Undisclosed details in example is applied, embodiment of the present invention method is please referred to.
Fig. 5 is the structural schematic diagram of report generation device provided by one embodiment of the present invention, which can be by soft The mode of part and/or hardware is realized.As shown in figure 5, report generation device 100 includes:
Receiving module 11, for the report generation request that receiving terminal apparatus is sent, report generation request include: to A few target indicator;
Processing module 12, for determining at least one described mesh from index system according at least one described target indicator The corresponding data of each target indicator in index are marked, the index system includes base values and combined index, the combined index It is to be determined according to the base values, each base values in the index system corresponds to corresponding data, according to The corresponding data of described at least one target indicator, generate report;
Sending module 13, for sending the report to the terminal device.
In a kind of feasible implementation, the index system further include: the combined index and the base values Functional relation table, the combined index are to carry out operation to the base values according to the function in the functional relation table to obtain 's;
When the target indicator is combined index, the processing module 12 is according to the target indicator, from index body When extracting the corresponding data of the target indicator in system, with specific reference to the target indicator, the mesh is extracted from index system When marking the corresponding data of index, it is specifically used for being obtained and the target from the functional relation table according to the target indicator The corresponding multiple base values of index;According to the multiple base values, the multiple basis is obtained from the index system The corresponding data of index;According to the functional relation of the target indicator and the multiple base values, and, the multiple basis The corresponding data of index determine the corresponding data of the target indicator.
In a kind of feasible implementation, the processing module 12, according at least one described target indicator, from index Before being extracted before the corresponding data of at least one described target indicator in system, the index system is also generated.
In a kind of feasible implementation, the receiving module 11 is also used to receive the index of second terminal equipment transmission Request is updated, the index updates request and adds the first base values to be increased newly in the index system for requesting;
The processing module 12 is also used to add the described first base values to be increased newly and described in the index system The mapping relations of the corresponding data of first base values to be increased newly, according to the described first base values to be increased newly and corresponding combination The functional relation of index updates the functional relation table.
In a kind of feasible implementation, the processing module 12 is also used to described in the addition in the index system After the mapping relations of first base values to be increased newly and the corresponding data of first base values to be increased newly, it is also used to determine Has the relationship of base values in first base values to be increased newly and the index system;According to the described first base to be increased newly Have the relationship of base values in plinth index and the index system, determines the second base values to be increased newly;In the index body The mapping relations of the described first base values to be increased newly and corresponding data are added in system, and, described second to newly-increased basis The mapping relations of index and corresponding data.
In a kind of feasible implementation, the processing module 12, added in the index system described first to The mapping relations of newly-increased base values and corresponding data, and, second base values to be increased newly and corresponding data It after mapping relations, is also used to according to the existing base values, determining combined index corresponding with the existing base values; According to the described first base values to be increased newly and the described second base values to be increased newly, the corresponding function of the combined index is updated Relation table.
In a kind of feasible implementation, the processing module 12 is also used to according to the described first base values to be increased newly And/or second base values to be increased newly, at least one history report is updated, at least one described history report includes described Existing base values.
Fig. 6 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.As shown in fig. 6, the server 200 wraps It includes:
At least one processor 21 and memory 22;
The memory 22 stores computer executed instructions;
At least one described processor 21 executes the computer executed instructions that the memory 22 stores so that it is described at least One processor 21 executes report form generation method as described above.
The specific implementation process of processor 21 can be found in above method embodiment, and it is similar that the realization principle and technical effect are similar, Details are not described herein again for the present embodiment.
Optionally, which further includes communication component 23.Wherein, processor 21, memory 22 and communication component 23 can be connected by bus 24.
The embodiment of the present invention also provides a kind of storage medium, and computer executed instructions, institute are stored in the storage medium It states when computer executed instructions are executed by processor for realizing report form generation method as described above.
In the above-described embodiment, it should be understood that described device and method, it can be real by another way It is existing.For example, apparatus embodiments described above are merely indicative, for example, the division of the module, only one kind are patrolled Function division is collected, there may be another division manner in actual implementation, such as multiple modules may be combined or can be integrated into Another system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling or Direct-coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of device or module can be electricity Property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned module at Unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated module realized in the form of software function module, can store and computer-readable deposit at one In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are with so that an electronics is set Standby (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute the present invention The part steps of each embodiment the method.
It should be understood that above-mentioned processor can be central processing unit (Central Processing Unit, CPU), may be used also To be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC) etc..General processor can be microprocessor or The processor is also possible to any conventional processor etc..It can be embodied directly in conjunction with the step of invention disclosed method hard Part processor executes completion, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage can also be USB flash disk, mobile hard disk, read-only memory, disk or CD etc..
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control Bus etc..For convenient for indicating, the bus in attached drawing of the present invention does not limit only a bus or a type of bus.
Above-mentioned storage medium can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.Storage medium can be any usable medium that general or specialized computer can access.
A kind of illustrative storage medium is coupled to processor, believes to enable a processor to read from the storage medium Breath, and information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.It processor and deposits Storage media can be located in specific integrated circuit (Application Specific Integrated Circuits, ASIC). Certainly, pocessor and storage media can also be used as discrete assembly and be present in terminal or server.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of report form generation method characterized by comprising
The report generation request that receiving terminal apparatus is sent, the report generation request includes: at least one target indicator;
According at least one described target indicator, each target indicator pair at least one described target indicator is determined from index system The data answered, the index system include base values and combined index, the combined index be according to the base values come Determining, each base values in the index system corresponds to corresponding data;
According to the corresponding data of at least one described target indicator, report is generated;
The report is sent to the terminal device.
2. the method according to claim 1, wherein the index system further include: the combined index and institute The functional relation table of base values is stated, the combined index is according to the function in the functional relation table to the base values Carry out what operation obtained;
If target indicator is combined index, according to the target indicator, it is corresponding that the target indicator is extracted from index system Data, comprising:
According to the target indicator, multiple base values corresponding with the target indicator are obtained from the functional relation table;
According to the multiple base values, the corresponding data of the multiple base values are obtained from the index system;
According to the functional relation of the target indicator and the multiple base values, and, the multiple base values is corresponding Data determine the corresponding data of the target indicator.
3. method according to claim 1 or 2, which is characterized in that described at least one target indicator according to, from finger Before extracting the corresponding data of at least one described target indicator in mark system, the method also includes:
Generate the index system.
4. method according to claim 1 or 2, which is characterized in that the method also includes:
It receives the index that second terminal equipment is sent and updates request, the index updates request for requesting in the index system The first base values to be increased newly of middle addition;
The described first base values to be increased newly is added in the index system and first base values to be increased newly is corresponding The mapping relations of data;
According to the functional relation of the described first base values to be increased newly and corresponding combined index, the functional relation table is updated.
5. according to the method described in claim 4, it is characterized in that, described add described first to new in the index system After the mapping relations for increasing base values and the corresponding data of first base values to be increased newly, further includes:
Determine have the relationship of base values in the described first base values to be increased newly and the index system;
According to the relationship for having base values in the described first base values to be increased newly and the index system, determine second to new Increase base values;
The mapping relations of the described first base values to be increased newly and corresponding data are added in the index system, and, institute State the mapping relations of the second base values to be increased newly and corresponding data.
6. according to the method described in claim 5, it is characterized in that, described add described first to new in the index system Increase the mapping relations of base values and corresponding data, and, second base values to be increased newly and corresponding data are reflected It penetrates after relationship, further includes:
According to the existing base values, determining combined index corresponding with the existing base values;
According to the described first base values to be increased newly and the described second base values to be increased newly, it is corresponding to update the combined index Functional relation table.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
According to the described first base values to be increased newly and/or second base values to be increased newly, at least one history report is updated Table, at least one described history report include the existing base values.
8. a kind of report generation device characterized by comprising
Receiving module, for the report generation request that receiving terminal apparatus is sent, the report generation request includes: at least one Target indicator;
Processing module, for determining at least one described target indicator from index system according at least one described target indicator In the corresponding data of each target indicator, the index system includes base values and combined index, and the combined index is basis The base values determines that each base values in the index system corresponds to corresponding data, according to it is described extremely Few corresponding data of a target indicator, generate report;
Sending module, for sending the report to the terminal device.
9. a kind of computer equipment, including processor, memory and it is stored on the memory and can runs on a processor Computer program, which is characterized in that the processor is realized when executing described program such as any one of the claims 1-7 institute The method stated.
10. a kind of storage medium, which is characterized in that instruction is stored in the storage medium, when run on a computer, So that computer executes the method according to claim 1 to 7.
CN201811540796.4A 2018-12-17 2018-12-17 Report generation method and device Pending CN109740134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811540796.4A CN109740134A (en) 2018-12-17 2018-12-17 Report generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811540796.4A CN109740134A (en) 2018-12-17 2018-12-17 Report generation method and device

Publications (1)

Publication Number Publication Date
CN109740134A true CN109740134A (en) 2019-05-10

Family

ID=66360296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811540796.4A Pending CN109740134A (en) 2018-12-17 2018-12-17 Report generation method and device

Country Status (1)

Country Link
CN (1) CN109740134A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112053058A (en) * 2020-09-02 2020-12-08 平安银行股份有限公司 Index model generation method and device
CN112183041A (en) * 2020-09-28 2021-01-05 建信金融科技有限责任公司 Report form adjusting method, device, equipment and storage medium based on indexes
CN112862334A (en) * 2021-02-20 2021-05-28 平安国际智慧城市科技股份有限公司 Index system construction method and device based on syntax analysis tree and computer equipment
CN114564954A (en) * 2022-03-01 2022-05-31 天元大数据信用管理有限公司 Index management method and system for maintaining index uniqueness
CN114676190A (en) * 2022-05-27 2022-06-28 太平金融科技服务(上海)有限公司深圳分公司 Data display method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631969A (en) * 2013-12-20 2014-03-12 北京中电普华信息技术有限公司 Generation method and device of report data
CN105608151A (en) * 2015-12-17 2016-05-25 浪潮通用软件有限公司 Financial statement analysis device and method
CN107451109A (en) * 2017-07-05 2017-12-08 北京京东尚科信息技术有限公司 Report form generation method and system
CN108170718A (en) * 2017-12-05 2018-06-15 北京先进数通信息技术股份公司 A kind for the treatment of method and apparatus of achievement data
CN108875048A (en) * 2018-06-27 2018-11-23 中国建设银行股份有限公司 Report form generation method, device, electronic equipment and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631969A (en) * 2013-12-20 2014-03-12 北京中电普华信息技术有限公司 Generation method and device of report data
CN105608151A (en) * 2015-12-17 2016-05-25 浪潮通用软件有限公司 Financial statement analysis device and method
CN107451109A (en) * 2017-07-05 2017-12-08 北京京东尚科信息技术有限公司 Report form generation method and system
CN108170718A (en) * 2017-12-05 2018-06-15 北京先进数通信息技术股份公司 A kind for the treatment of method and apparatus of achievement data
CN108875048A (en) * 2018-06-27 2018-11-23 中国建设银行股份有限公司 Report form generation method, device, electronic equipment and readable storage medium storing program for executing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112053058A (en) * 2020-09-02 2020-12-08 平安银行股份有限公司 Index model generation method and device
CN112183041A (en) * 2020-09-28 2021-01-05 建信金融科技有限责任公司 Report form adjusting method, device, equipment and storage medium based on indexes
CN112862334A (en) * 2021-02-20 2021-05-28 平安国际智慧城市科技股份有限公司 Index system construction method and device based on syntax analysis tree and computer equipment
CN114564954A (en) * 2022-03-01 2022-05-31 天元大数据信用管理有限公司 Index management method and system for maintaining index uniqueness
CN114564954B (en) * 2022-03-01 2024-04-12 天元大数据信用管理有限公司 Index management method and system for maintaining index uniqueness
CN114676190A (en) * 2022-05-27 2022-06-28 太平金融科技服务(上海)有限公司深圳分公司 Data display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109740134A (en) Report generation method and device
US7475032B1 (en) Systems and methods for creating financial advice applications
CN104572968B (en) A kind of method for updating pages and device
CN108282539A (en) Decentralization storage system based on double-layer network
CN109325525A (en) Sample attribute assessment models training method, device and server
US8370371B1 (en) Business constructs
CN110750654A (en) Knowledge graph acquisition method, device, equipment and medium
CN103106069A (en) Method and system for identifying components of bundled software product
CN110795697B (en) Method and device for acquiring logic expression, storage medium and electronic device
US20130333045A1 (en) Security level visualization device
CN104991921A (en) Data query method, client and server
CN113360580A (en) Abnormal event detection method, device, equipment and medium based on knowledge graph
CN110502519A (en) A kind of method, apparatus of data aggregate, equipment and storage medium
CN114862571A (en) Service simulation method, device, equipment and storage medium of ESOP system
CN113254542A (en) Data visualization processing method and device and electronic equipment
CN111813829A (en) Data resolution method, device, electronic equipment and storage medium
CN111612616A (en) Block chain account evaluation method and device, terminal device and computer readable medium
WO2022089235A1 (en) Product demonstration method and apparatus, computer device, and storage medium
CN105447032A (en) Method and system for processing message and subscription information
CN109284452A (en) The online methods of exhibiting of electronic protocol, device, electronic equipment, storage medium
CN109542432A (en) Air control rule editing method and terminal device
CN107908676A (en) A kind of data display update method, terminal and computer-readable medium
CN111815272B (en) Application auditing method and device, electronic equipment and storage medium
WO2022036165A1 (en) Universal blockchain data model
CN111882415A (en) Training method and related device of quality detection model

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510