CN110297855A - Report Dynamic Display method, apparatus, computer equipment and storage medium - Google Patents

Report Dynamic Display method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN110297855A
CN110297855A CN201910428938.6A CN201910428938A CN110297855A CN 110297855 A CN110297855 A CN 110297855A CN 201910428938 A CN201910428938 A CN 201910428938A CN 110297855 A CN110297855 A CN 110297855A
Authority
CN
China
Prior art keywords
transaction
statistics
data
displaying
dimension
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
CN201910428938.6A
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910428938.6A priority Critical patent/CN110297855A/en
Publication of CN110297855A publication Critical patent/CN110297855A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The embodiment of the invention discloses a kind of report Dynamic Display method, apparatus, computer equipment and storage mediums.The present invention applies the data sheet field in data displaying.The described method includes: detecting the displaying instruction that user selects in current page, the first screening conditions are generated according to showing to instruct, wherein displaying instruction includes: that statistics time, statistics role and statistical dimension, statistical dimension include amount of money dimension and quantity dimension;The transaction journal No. the first for meeting the first screening conditions is filtered out from presetting database;Corresponding first transaction data is obtained from block chain according to transaction journal No. the first;Statistics is grouped to the first transaction data according to preset rules and obtains statistical data;The chart of bar graph form is generated to show in the page according to statistical data by chart visualization component.Method by implementing the embodiment of the present invention can check the report of different dimensions on the same page, reduce report page redundancy, improve the usage experience of user.

Description

Report Dynamic Display method, apparatus, computer equipment and storage medium
Technical field
The present invention relates to technical field of data processing more particularly to a kind of report Dynamic Display method, apparatus, computer to set Standby and storage medium.
Background technique
As science and technology and expanding economy, the technology of block chain have graduallyd mature, it is applied in various industries.Especially In trade, the problem of transaction trust can be efficiently solved based on block chain technology, it is greatly promoted trade Development.However, in the trading platform based on block chain, business transaction report, bank financing report, platform transaction report etc. It is the static statement counted with quantity dimension or amount of money dimension.When user checks the report of two dimensions simultaneously, need same When open two report pages;And in the report page of amount of money dimension, according to the currency type of user's selection, it is also necessary to open with not With the report page of currency type statistics;And the user of different role, the report page opened be not also identical.More report pages cause Page redundancy, the usage experience of user are poor.
Summary of the invention
The embodiment of the invention provides a kind of report Dynamic Display method, apparatus, computer equipment and storage mediums, it is intended to It solves in the trading platform based on block chain, report page redundancy, the problem of user experience difference.
In a first aspect, the embodiment of the invention provides a kind of report Dynamic Display methods comprising: user is current for detection The displaying instruction of page selection, instructs according to the displaying and generates the first screening conditions, wherein the displaying instruction includes: system Counting time, statistics role and statistical dimension, the statistical dimension includes amount of money dimension and quantity dimension;From presetting database In filter out the transaction journal No. the first for meeting first screening conditions;According to the transaction journal No. first from block chain Obtain corresponding first transaction data;Statistics is grouped to first transaction data according to time classified statistic rule to obtain Statistical data;The chart of bar graph form is generated in the page according to the statistical data by chart visualization component It shows.
Second aspect, the embodiment of the invention also provides a kind of report Dynamic Display devices comprising: first generates list Member, the displaying instruction selected for detecting user in current page, instructs according to the displaying and generates the first screening conditions, In, displaying instruction includes: statistics time, statistics role and statistical dimension, the statistical dimension include amount of money dimension with And quantity dimension;First screening unit, for filtering out the first friendship for meeting first screening conditions from presetting database Easy serial number;First acquisition unit, for obtaining corresponding first transaction from block chain according to the transaction journal No. first Data;First statistic unit is obtained for being grouped statistics to first transaction data according to time classified statistic rule Statistical data;First display unit, for generating bar graph form according to the statistical data by chart visualization component Chart in the page to show.
The third aspect, the embodiment of the invention also provides a kind of computer equipments comprising memory and processor, it is described Computer program is stored on memory, the processor realizes the above method when executing the computer program.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the storage medium storage There is computer program, the computer program can realize the above method when being executed by a processor.
The embodiment of the invention provides a kind of report Dynamic Display method, apparatus, computer equipment and storage mediums.Its In, which comprises the displaying instruction that detection user selects in current page generates the first screening according to displaying instruction Condition, wherein it includes the amount of money that the displaying instruction, which includes: statistics time, statistics role and statistical dimension, the statistical dimension, Dimension and quantity dimension;The transaction journal No. the first for meeting first screening conditions is filtered out from presetting database;Root Corresponding first transaction data is obtained from block chain according to the transaction journal No. first;According to time classified statistic rule to institute It states the first transaction data and is grouped statistics and obtain statistical data;It is generated by chart visualization component according to the statistical data The chart of bar graph form in the page to show.The embodiment of the present invention in the page due to providing different displaying instructions For selection by the user, it selects different displayings to instruct according to user and dynamically shows different reports in the same page, it can be real Report redundancy is now reduced, user's operation, the effect improved the user experience are simplified.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of report Dynamic Display method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of report Dynamic Display method provided in an embodiment of the present invention;
Fig. 3 is the page schematic diagram in report Dynamic Display method provided in an embodiment of the present invention;
Fig. 4 is the sub-process schematic diagram of report Dynamic Display method provided in an embodiment of the present invention;
Fig. 5 is another page schematic diagram in report Dynamic Display method provided in an embodiment of the present invention;
Fig. 6 is the sub-process schematic diagram of report Dynamic Display method provided in an embodiment of the present invention;
Fig. 7 is the sub-process schematic diagram of report Dynamic Display method provided in an embodiment of the present invention;
Fig. 8 be another embodiment of the present invention provides report Dynamic Display method flow diagram;
Fig. 9 is the another page schematic diagram in report Dynamic Display method provided in an embodiment of the present invention;
Figure 10 is the schematic block diagram of report Dynamic Display device provided in an embodiment of the present invention;
Figure 11 is the schematic block diagram of the specific member of report Dynamic Display device provided in an embodiment of the present invention;
Figure 12 be another embodiment of the present invention provides report Dynamic Display device schematic block diagram;And
Figure 13 is the schematic block diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Fig. 1 and Fig. 2 are please referred to, Fig. 1 is that the application scenarios of report Dynamic Display method provided in an embodiment of the present invention are illustrated Figure.Fig. 2 is the schematic flow chart of report Dynamic Display method provided in an embodiment of the present invention.The report Dynamic Display method is answered With in terminal 10, by interacting realization between terminal and server 20.The report Dynamic Display method that the present invention is shown, base It is all static statement as provided by existing trading platform in the trading platform of block chain, user checks different reports When table, need to open multiple report pages, so as to cause page redundancy, the usage experience of user is poor.It is proposed through the invention Report Dynamic Display method, can be provided on the same page role selecting function, time selection function, dimension selection function with And currency type selection function, it requires accordingly to show corresponding statistical conditions in the same page according to the displaying of user's selection, no It needs to open multiple report pages, improves the usage experience of user.
Fig. 2 is the flow diagram of report Dynamic Display method provided in an embodiment of the present invention.As shown, this method packet Include following steps S110-S150.
The displaying instruction that S110, detection user select in current page generates the first screening item according to displaying instruction Part, wherein the displaying instruction includes: statistics time, statistics role and statistical dimension, and the statistical dimension includes amount of money dimension Degree and quantity dimension.
In one embodiment, it shows and refers to report generation condition selected by user, including: statistics year Part, statistical dimension and statistics role, the statistical dimension include quantity dimension and amount of money dimension, and the statistics role includes buying Side and the seller, statistics time for including in time calculate from the registration of the account of user.For example, select statistics the time for 2018, statistical dimension is quantity, and statistics role is that the displaying of buyer instructs, which shows that instruction shows instruction display for default In the page, each displaying instruction is selected by combobox, and the page is as shown in Figure 3.
In one embodiment, as shown in figure 4, the step S110 may include step: S111-S113.
If S111, detecting that user has selected statistical dimension to instruct for the displaying of the amount of money in current page, in the page The displaying instruction of middle load statistics currency type is for selection by the user.
In one embodiment, if user has selected the displaying of amount of money dimension when selection shows instruction in statistical dimension Instruction, then loading displaying instruction options of the combobox of a currency type as statistics currency type, in the page then for user's choosing It selects different currency types to be shown, the user used currency type in passing transaction is contained in the statistics currency type, for example, beautiful Member and RMB, the page are as shown in Figure 5.
After the completion of S112, the displaying instruction selection to be checked for measuring statistics currency type, instructed according to all displayings of user's selection Generate the first screening conditions.
In one embodiment, the first screening conditions are referred to for filtering out the condition for showing that instruction is required, specific Form is Json data.After user chooses statistics currency type, first is generated according to the selected all displaying instructions of user Screening conditions.For example, user A001 select displaying instruction include: statistics the time for, statistical dimension in 2018 be the amount of money, statistics Currency type is dollar, statistics role is buyer, then the first screening conditions generated are then " companyId ": " A001 ", " Year ": " 2018 ", " summaryType ": " 1 ", " currency ": " 0 ", " companyType ": " 0 ", wherein " CompanyId " indicates identifier, that is, ID of user, the identity for the unique identification user;" year " indicates the statistics time;" SummaryType " indicates statistical dimension, wherein 0 represents quantity dimension, 1 represents amount of money dimension;" currency ": " 0 " indicates system Currency type is counted, wherein 0 represents dollar, 1 coin on behalf of the people;" companyType " indicates statistics role, wherein 0 represents buyer, 1 table Show the seller.
S120, the transaction journal No. the first for meeting first screening conditions is filtered out from presetting database.
In one embodiment, presetting database refers to the database of the trading platform based on block chain, the preset data Store the All Activity record of trading platform in library, every transaction record includes a transaction journal No. first.Specifically Ground filters out the All Activity record for belonging to the user identifier, then according to statistics after obtaining the first screening conditions first Role screens transaction record of the user as buyer or the transaction record as the seller, then further according to the screening of statistics time The transaction record in specific time, finally obtains transaction journal No. the first of the transaction record in the time, and first filtered out is handed over Easy serial number is then qualified transaction journal No. first.
S130, corresponding first transaction data is obtained from block chain according to the transaction journal No. first.
In one embodiment, it since every transaction record includes a transaction journal No. first, is trading Cheng Hou regard the transaction journal No. first as keyword (key), and the first transaction data corresponding to the transaction journal No. first is made It for value (value), is formed key-value pair (key-value), and by first transaction data by being stored in block chain after private key encryption In.So can be got from server 20 when user needs to call the first transaction data by transaction journal No. the first Value corresponding with the transaction journal No. first, and the first number of deals can be obtained by being decrypted with public key corresponding to private key According to.
In one embodiment, as shown in fig. 6, the step S130 may include step: S131-S132.
S131, inquired from block chain according to the transaction journal No. first it is corresponding with the transaction journal No. first Value.
S132, the value inquired is decrypted to obtain the first transaction data according to the public key of pre-configuration.
In one embodiment, when the first transaction data refers to transaction amount, transaction currency type and the transaction of the transaction Between it is equal with related data of trading.Private key refers to that the key distributed by rivest, shamir, adelman, rivest, shamir, adelman exist Two different keys are used when encryption and decryption, are referred to as public key and private key, pass through the data of public key encryption There is private key that could decrypt, only has public key that could decrypt by the data of private key encryption.Private key is generated by random number algorithm, public key It is generated according to private key, public key and private key pair distribution, wherein disclosed in public key spoon, private key is that individual holds and tightly protects. Public key and private key are pre-configured, and the first transaction data is deposited into block chain after passing through private key encryption, then passing through first Transaction journal number inquired in block chain with value corresponding to the transaction journal No. first, i.e., it is quick by keyword (key) It finds value (value), which is the first transaction data through private key encryption, therefore the public key by being pre-configured can be to the warp First transaction data of private key encryption is decrypted to get the first transaction data.
S140, it statistics is grouped to first transaction data according to time classified statistic rule obtains statistical data.
In one embodiment, after getting the first transaction data, then the first transaction according to preset rules to getting Data are grouped statistics, and time classified statistic rule is the rule counted as statistical unit to data using the time, specifically First transaction data is grouped by ground according to the habit that habit of transaction and user read report according to month, and grouping is completed The first transaction data is summed again afterwards to obtain the statistical data of every month.
In one embodiment, as shown in fig. 7, the step S140 may include step: S141-S142.
S141, first transaction data is grouped as unit of month;
S142, sum counting to first transaction data after grouping obtains statistical data.
In one embodiment, the first transaction data is grouped as unit of month, for example, January, 2 months, March, January First transaction data is referred to group in January, and first transaction data in 2 months is referred to 2 months groups, and first transaction data in March is returned Class is to group in March;It sums respectively to the first transaction data of each group after the completion of grouping, counts each group of the first transaction The sum of data, for example, be after the transaction amount in 10,000,000,2 months adds up after the transaction amount in January is cumulative be 20,000,000, March It is 30,000,000 after the transaction amount of part is cumulative, so that completing classified statistic obtains statistical data.Wherein, it hands over according to month first The method that easy data are grouped is Java Collectors.groupingBy ();Statistical dimension is the summation method of quantity For List.size (), total stroke count of trading is calculated by this method;Statistical dimension is that the summation method of the amount of money is DoubleStream.sum () calculates transaction total amount by this method, it is of course possible to which understanding can also be that other can The group technology or summation method of realization.
S150, the chart of bar graph form is generated in the page according to the statistical data by chart visualization component It is shown in face.
In one embodiment, chart visualization component refers to that, based on the echarts component under vue.js, vue.js is one The gradual frame of the web interface of a building data-driven can realize that the data of response are bound and combined by simple API View component, have it is easy to get started, convenient for third party library or existing Item increasing the advantages of;Echarts is a use The open source that JavaScript is realized visualizes library, and bottom relies on the vector graphics library ZRender of lightweight, it is possible to provide and it is intuitive, it is raw It is dynamic, it can interact, personalized data visualization chart.Specifically, after obtaining statistical data, according to statistical data It is generated by chart visualization component and is shown in the page by the histogram that month shows, wherein if what statistical data was counted It is quantity dimension, then shows the histogram of total number of transaction in each month, if what statistical data counted is amount of money dimension, Show the histogram of total transaction amount of each month.
In one embodiment, as shown in figure 8, further comprising the steps of: S160-S164 after the step S150.
S160, displaying instruction is formed on the chart, the displaying instruction includes Transaction Details.
If S161, the displaying instruction for detecting that user selects are Transaction Details, are instructed and generated according to the displaying of user's selection Second screening conditions.
S162, the transaction journal No. the second for meeting second screening conditions is filtered out from presetting database.
S163, the second transaction data is obtained from block chain according to the transaction journal No. second.
S164, Transaction Details chart is generated in same institute according to second transaction data by chart visualization component It states in the page and shows.
In one embodiment, show that instruction further includes Transaction Details, Transaction Details refer to that every transaction is completed specific Situation comprising: transaction journal number, transaction currency type, transaction amount, counterparty side, trade date and remarks.Transaction Details Displaying instruction by detecting whether histogram in the page is triggered by user's click, touched according to the histogram in different months The displaying instruction of hair generates the first different screening conditions.For example, user A001 clicks the column in January in default page Figure has selected the displaying instruction of the Transaction Details in January, is referred to according to the displaying instruction and the displaying of Transaction Details of default page Enable generate the first screening conditions, it is as follows: " companyId ": " A001 ", " companyType ": " 0 ", " year ": " 2018 " with And " month ": " 1 ", wherein " month " represents statistics month, the use when checking details.After obtaining the second screening conditions User A001 is filtered out from presetting database in all second transaction journals in January, 2018 according to the second screening conditions Number, corresponding second transaction data of transaction journal No. the second is then obtained from block chain by transaction journal No. the second, finally By Visual Chart generate with transaction journal No. the second, transaction currency type, transaction amount, counterparty side, trade date and Remarks composition Transaction Details chart shown in the same page, as shown in Figure 9.
Invention demonstrates a method a kind of report Dynamic Display methods, are referred to by detection user in the displaying that current page selects Enable, instructed according to displayings and generate the first screening conditions, wherein displayings instruction include: count the time, count role with And statistical dimension, the statistical dimension include amount of money dimension and quantity dimension;It is filtered out from presetting database described in meeting Transaction journal No. first of the first screening conditions;Corresponding first is obtained from block chain according to the transaction journal No. first to hand over Easy data;Statistics is grouped to first transaction data according to time classified statistic rule and obtains statistical data;Pass through figure Table visualization component generates the chart of bar graph form according to the statistical data to show in the page, it is possible to reduce report Table redundancy simplifies user's operation, improves the user experience.
Figure 10 is a kind of schematic block diagram of report Dynamic Display device 200 provided in an embodiment of the present invention.Such as Figure 10 institute Show, corresponds to the above report Dynamic Display method, the present invention also provides a kind of report Dynamic Display devices 200.Report dynamic Show that device 200 includes unit for executing above-mentioned report Dynamic Display method, the device can be configured in desktop computer, Tablet computer, laptop computer, etc. in terminals.Specifically, referring to Fig. 10, the report Dynamic Display device 200 includes: first raw At unit 210, the first screening unit 220, first acquisition unit 230, the first statistic unit 240 and the first display unit 250.
First generation unit 210, the displaying instruction selected for detecting user in current page, instructs according to the displaying Generate the first screening conditions, wherein the displaying instruction includes: statistics time, statistics role and statistical dimension, the statistics Dimension includes amount of money dimension and quantity dimension.
In one embodiment, as shown in figure 11, first generation unit 210 includes: loading unit 211 and generates sub Unit 212.
Loading unit 211, if for detecting that user has selected statistical dimension to instruct for the displaying of the amount of money in current page, The displaying of load statistics currency type instructs for selection by the user in the page.
Subelement 212 is generated, after the completion of the displaying instruction selection to be checked for measuring statistics currency type, according to user's selection All displaying instructions generate the first screening conditions.
First screening unit 220, for filtering out the first friendship for meeting first screening conditions from presetting database Easy serial number.
First acquisition unit 230 is handed over for obtaining corresponding first from block chain according to the transaction journal No. first Easy data.
In one embodiment, as shown in figure 11, the first acquisition unit 230 includes: that query unit 231 and decryption are single Member 232.
Query unit 231, for being inquired from block chain according to the transaction journal No. first and first transaction flow The corresponding value of water number;
Decryption unit 232 is decrypted the value inquired to obtain the first number of deals for the public key according to pre-configuration According to.
First statistic unit 240, for being grouped system to first transaction data according to time classified statistic rule Meter obtains statistical data.
In one embodiment, as shown in figure 11, first statistic unit 240 includes: that grouped element 241 and summation are single Member 242.
Grouped element 241, for being grouped as unit of month to first transaction data;
Summation unit 242 obtains statistical data for carrying out summation statistics to first transaction data after grouping.
First display unit 250, for generating bar graph form according to the statistical data by chart visualization component Chart to be shown in the page.
In one embodiment, as shown in figure 12, the report Dynamic Display device further include: it is raw to form unit 260, second At unit 261, the second screening unit 262, second acquisition unit 263 and the second display unit 264.
Unit 260 is formed, shows instruction for being formed on the chart, the displaying instruction includes Transaction Details.
Second generation unit 261 selects if the displaying instruction for detecting that user selects is Transaction Details according to user Displaying instruction generate the second screening conditions.
Second screening unit 262 filters out from presetting database for root and meets the second of second screening conditions Transaction journal number.
Second acquisition unit 263, for obtaining the second transaction data from block chain according to the transaction journal No. second.
Second display unit 264, it is detailed for generating transaction according to second transaction data by chart visualization component Feelings chart in the same page to show.
It should be noted that it is apparent to those skilled in the art that, above-mentioned report Dynamic Display device 200 and each unit specific implementation process, can with reference to the corresponding description in preceding method embodiment, for convenience of description and Succinctly, details are not described herein.
Above-mentioned report Dynamic Display device can be implemented as a kind of form of computer program, which can be It is run in computer equipment as shown in fig. 13 that.
Figure 13 is please referred to, Figure 13 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The calculating Machine equipment 500 can be terminal, wherein terminal can be smart phone, tablet computer, laptop, desktop computer, individual Digital assistants and wearable device etc. have the electronic equipment of communication function.
Refering to fig. 13, which includes processor 502, memory and the net connected by system bus 501 Network interface 505, wherein memory may include non-volatile memory medium 503 and built-in storage 504.
The non-volatile memory medium 503 can storage program area 5031 and computer program 5032.The computer program 5032 include program instruction, which is performed, and processor 502 may make to execute a kind of report Dynamic Display method.
The processor 502 is for providing calculating and control ability, to support the operation of entire computer equipment 500.
The built-in storage 504 provides environment for the operation of the computer program 5032 in non-volatile memory medium 503, should When computer program 5032 is executed by processor 502, processor 502 may make to execute a kind of report Dynamic Display method.
The network interface 505 is used to carry out network communication with other equipment.It will be understood by those skilled in the art that in Figure 13 The structure shown, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to application scheme The restriction of computer equipment 500 thereon, specific computer equipment 500 may include more more or fewer than as shown in the figure Component perhaps combines certain components or with different component layouts.
Wherein, the processor 502 is for running computer program 5032 stored in memory, to realize following step Rapid: the displaying instruction that detection user selects in current page instructs according to the displaying and generates the first screening conditions, wherein institute It states and shows that instructing includes: the statistics time, count role and statistical dimension, the statistical dimension include amount of money dimension and quantity Dimension;The transaction journal No. the first for meeting first screening conditions is filtered out from presetting database;It is handed over according to described first Easy serial number obtains corresponding first transaction data from block chain;According to time classified statistic rule to first number of deals Statistical data is obtained according to statistics is grouped;Bar graph form is generated according to the statistical data by chart visualization component Chart in the page to show.
In one embodiment, processor 502 is realizing the displaying instruction for detecting user and selecting in current page, according to When the displaying instruction generates the first screening conditions step, be implemented as follows step: if detecting, user selects in current page It has selected the displaying that statistical dimension is the amount of money to instruct, the displaying of load statistics currency type instructs for selection by the user in the page; After the completion of the displaying instruction selection to be checked for measuring statistics currency type, the first screening item is generated according to all displayings instruction of user's selection Part.
In one embodiment, processor 502 described is obtained according to the transaction journal No. first from block chain realizing When corresponding first transaction data step, it is implemented as follows step: being looked into from block chain according to the transaction journal No. first Ask value corresponding with the transaction journal No. first;The value inquired is decrypted according to the public key of pre-configuration to obtain One transaction data.
In one embodiment, processor 502 realize it is described according to time classified statistic rule to first number of deals According to when being grouped statistics and obtaining statistical data, it is implemented as follows step: to first transaction data as unit of month It is grouped;Summation statistics is carried out to first transaction data after grouping and obtains statistical data.
In one embodiment, processor 502 is realizing the chart visualization component that passes through according to statistical data life At the chart of bar graph form in the page show step after, also realization following steps: formed on the chart There is displaying to instruct, the displaying instruction includes Transaction Details;If the displaying instruction for detecting that user selects is Transaction Details, according to The displaying instruction of user's selection generates the second screening conditions;It is filtered out from presetting database and meets second screening conditions Transaction journal No. second;The second transaction data is obtained from block chain according to the transaction journal No. second;It is visual by chart Change component and Transaction Details chart is generated to show in the same page according to second transaction data.
It should be appreciated that in the embodiment of the present application, processor 502 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or Person's processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, It is that relevant hardware can be instructed to complete by computer program.The computer program includes program instruction, computer journey Sequence can be stored in a storage medium, which is computer readable storage medium.The program instruction is by the department of computer science At least one processor in system executes, to realize the process step of the embodiment of the above method.
Therefore, the present invention also provides a kind of storage mediums.The storage medium can be computer readable storage medium.This is deposited Storage media is stored with computer program, and wherein computer program includes program instruction.The program instruction makes when being executed by processor Processor executes following steps: the displaying instruction that detection user selects in current page generates first according to displaying instruction Screening conditions, wherein the displaying instruction includes: that statistics time, statistics role and statistical dimension, the statistical dimension include Amount of money dimension and quantity dimension;The first transaction journal for meeting first screening conditions is filtered out from presetting database Number;Corresponding first transaction data is obtained from block chain according to the transaction journal No. first;It is advised according to time classified statistic Statistics then is grouped to first transaction data and obtains statistical data;By chart visualization component according to the statistical number According to the chart of generation bar graph form to be shown in the page.
In one embodiment, the processor realizes the detection user in current page executing described program instruction The displaying of selection instructs, and when instructing the first screening conditions step of generation according to the displaying, is implemented as follows step: if detection Statistical dimension has been selected to instruct for the displaying of the amount of money in current page to user, the displaying of load statistics currency type in the page Instruction is for selection by the user;After the completion of the displaying instruction selection to be checked for measuring statistics currency type, according to all displayings of user's selection Instruction generates the first screening conditions.
In one embodiment, the processor is realized described according to first transaction flow in the instruction of execution described program When water number obtains corresponding first transaction data step from block chain, it is implemented as follows step: according to first transaction Serial number inquires value corresponding with the transaction journal No. first from block chain;According to the public key of pre-configuration to being inquired Value be decrypted to obtain the first transaction data.
In one embodiment, the processor is realized described according to time classified statistic rule in the instruction of execution described program When being then grouped statistics to first transaction data and obtaining statistical data step, it is implemented as follows step: is with month Unit is grouped first transaction data;Summation is carried out to first transaction data after grouping to be counted Data.
In one embodiment, the processor is realized described by chart visualization component in the instruction of execution described program After generating the chart of bar graph form according to the statistical data to show step in the page, following step is also realized It is rapid: displaying instruction to be formed on the chart, the displaying instruction includes Transaction Details;If detecting the displaying of user's selection Instruction is Transaction Details, generates the second screening conditions according to the displaying instruction of user's selection;Symbol is filtered out from presetting database Close transaction journal No. the second of second screening conditions;The second friendship is obtained from block chain according to the transaction journal No. second Easy data;Transaction Details chart is generated in the same page according to second transaction data by chart visualization component Middle displaying.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), magnetic disk Or the various computer readable storage mediums that can store program code such as CD.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.This hair Unit in bright embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the present invention Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with It is that two or more units are integrated in one unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in one storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing skill The all or part of part or the technical solution that art contributes can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, terminal or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of report Dynamic Display method characterized by comprising
The displaying instruction that detection user selects in current page, instructs according to the displaying and generates the first screening conditions, wherein institute It states and shows that instructing includes: the statistics time, count role and statistical dimension, the statistical dimension include amount of money dimension and quantity Dimension;
The transaction journal No. the first for meeting first screening conditions is filtered out from presetting database;
Corresponding first transaction data is obtained from block chain according to the transaction journal No. first;
Statistics is grouped to first transaction data according to time classified statistic rule and obtains statistical data;
The chart of bar graph form is generated to show in the page according to the statistical data by chart visualization component.
2. report Dynamic Display method according to claim 1, which is characterized in that the detection user selects in current page The displaying instruction selected, instructs according to the displaying and generates the first screening conditions, comprising:
If detecting, user has selected statistical dimension to instruct for the displaying of the amount of money in current page, and statistics is loaded in the page The displaying instruction of currency type is for selection by the user;
After the completion of the displaying instruction selection to be checked for measuring statistics currency type, the first sieve is generated according to all displayings instruction of user's selection Select condition.
3. report Dynamic Display method according to claim 1, which is characterized in that described according to first transaction journal Number corresponding first transaction data is obtained from block chain, comprising:
Value corresponding with the transaction journal No. first is inquired from block chain according to the transaction journal No. first;
The value inquired is decrypted according to the public key of pre-configuration to obtain the first transaction data.
4. report Dynamic Display method according to claim 1, which is characterized in that described according to time classified statistic rule Statistics is grouped to first transaction data and obtains statistical data, comprising:
First transaction data is grouped as unit of month;
Summation statistics is carried out to first transaction data after grouping and obtains statistical data.
5. report Dynamic Display method according to claim 1, which is characterized in that described to pass through chart visualization component root After generating the chart of bar graph form according to the statistical data to show in the page, further includes:
Displaying instruction is formed on the chart, the displaying instruction includes Transaction Details;
If the displaying instruction for detecting that user selects is Transaction Details, the second screening item is generated according to the displaying instruction of user's selection Part;
The transaction journal No. the second for meeting second screening conditions is filtered out from presetting database;
The second transaction data is obtained from block chain according to the transaction journal No. second;
Transaction Details chart is generated in the same page according to second transaction data by chart visualization component It shows.
6. a kind of report Dynamic Display device characterized by comprising
First generation unit, the displaying instruction selected for detecting user in current page, according to displayings instruction generation the One screening conditions, wherein the displaying instruction includes: statistics time, statistics role and statistical dimension, the statistical dimension packet Include amount of money dimension and quantity dimension;
First screening unit, for filtering out the first transaction journal for meeting first screening conditions from presetting database Number;
First acquisition unit, for obtaining corresponding first transaction data from block chain according to the transaction journal No. first;
First statistic unit is united for being grouped statistics to first transaction data according to time classified statistic rule It counts;
First display unit, for by chart visualization component according to the statistical data generate bar graph form chart with It is shown in the page.
7. report Dynamic Display device according to claim 6, which is characterized in that first generation unit includes:
Loading unit, if for detecting that user has selected statistical dimension to instruct for the displaying of the amount of money in current page, described The displaying of load statistics currency type instructs for selection by the user in the page;
Subelement is generated, after the completion of the displaying instruction selection to be checked for measuring statistics currency type, according to all exhibitions of user's selection Show that instruction generates the first screening conditions.
8. report Dynamic Display device according to claim 6, which is characterized in that the first acquisition unit includes:
Query unit, it is opposite with the transaction journal No. first for being inquired from block chain according to the transaction journal No. first The value answered;
Decryption unit is decrypted the value inquired to obtain the first transaction data for the public key according to pre-configuration.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and processor, on the memory It is stored with computer program, the processor is realized as described in any one of claim 1-5 when executing the computer program Method.
10. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program can realize method according to any one of claims 1 to 5 when being executed by a processor.
CN201910428938.6A 2019-05-22 2019-05-22 Report Dynamic Display method, apparatus, computer equipment and storage medium Pending CN110297855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910428938.6A CN110297855A (en) 2019-05-22 2019-05-22 Report Dynamic Display method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910428938.6A CN110297855A (en) 2019-05-22 2019-05-22 Report Dynamic Display method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110297855A true CN110297855A (en) 2019-10-01

Family

ID=68027080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910428938.6A Pending CN110297855A (en) 2019-05-22 2019-05-22 Report Dynamic Display method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110297855A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908649A (en) * 2019-10-14 2020-03-24 成都西山居世游科技有限公司 Detachable and combinable chart drawing method and system
CN111026759A (en) * 2019-12-11 2020-04-17 中盈优创资讯科技有限公司 Hbase-based report generation method and device
CN111192120A (en) * 2019-12-02 2020-05-22 泰康保险集团股份有限公司 Method, system, equipment and storage medium for managing expenses of aged-care community
CN111209312A (en) * 2020-01-02 2020-05-29 微民保险代理有限公司 Page data processing method and device, computer equipment and storage medium
CN111325544A (en) * 2020-02-21 2020-06-23 嘉兴壹传网络科技有限公司 Mobile payment management system and management method thereof
CN112148778A (en) * 2020-09-24 2020-12-29 普华云创科技(北京)有限公司 Data statistical result display method and system
CN112861484A (en) * 2021-02-20 2021-05-28 山东旗帜信息有限公司 Method, equipment and storage medium for editing report form through headless browser
CN113032079A (en) * 2021-03-31 2021-06-25 北京晟世天安科技有限公司 Novel condition control chart display method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016041373A1 (en) * 2014-09-16 2016-03-24 中兴通讯股份有限公司 Data query method and device
CN106408382A (en) * 2016-09-08 2017-02-15 北京小度信息科技有限公司 Order page displaying method, information issuing method and apparatus
CN109359280A (en) * 2018-09-12 2019-02-19 深圳市随手科技有限公司 Method for exhibiting data, device, computer equipment and storage medium
CN109684414A (en) * 2018-12-26 2019-04-26 百度在线网络技术(北京)有限公司 Synchronous method, device, equipment and the storage medium of block data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016041373A1 (en) * 2014-09-16 2016-03-24 中兴通讯股份有限公司 Data query method and device
CN106408382A (en) * 2016-09-08 2017-02-15 北京小度信息科技有限公司 Order page displaying method, information issuing method and apparatus
CN109359280A (en) * 2018-09-12 2019-02-19 深圳市随手科技有限公司 Method for exhibiting data, device, computer equipment and storage medium
CN109684414A (en) * 2018-12-26 2019-04-26 百度在线网络技术(北京)有限公司 Synchronous method, device, equipment and the storage medium of block data

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908649A (en) * 2019-10-14 2020-03-24 成都西山居世游科技有限公司 Detachable and combinable chart drawing method and system
CN111192120B (en) * 2019-12-02 2023-09-15 泰康保险集团股份有限公司 Pension community cost management method, system, equipment and storage medium
CN111192120A (en) * 2019-12-02 2020-05-22 泰康保险集团股份有限公司 Method, system, equipment and storage medium for managing expenses of aged-care community
CN111026759A (en) * 2019-12-11 2020-04-17 中盈优创资讯科技有限公司 Hbase-based report generation method and device
CN111026759B (en) * 2019-12-11 2024-03-12 中盈优创资讯科技有限公司 Report generation method and device based on Hbase
CN111209312A (en) * 2020-01-02 2020-05-29 微民保险代理有限公司 Page data processing method and device, computer equipment and storage medium
CN111209312B (en) * 2020-01-02 2023-11-03 微民保险代理有限公司 Page data processing method, device, computer equipment and storage medium
CN111325544A (en) * 2020-02-21 2020-06-23 嘉兴壹传网络科技有限公司 Mobile payment management system and management method thereof
CN112148778A (en) * 2020-09-24 2020-12-29 普华云创科技(北京)有限公司 Data statistical result display method and system
CN112861484A (en) * 2021-02-20 2021-05-28 山东旗帜信息有限公司 Method, equipment and storage medium for editing report form through headless browser
CN112861484B (en) * 2021-02-20 2023-03-14 山东旗帜信息有限公司 Method, equipment and storage medium for editing report form through headless browser
CN113032079A (en) * 2021-03-31 2021-06-25 北京晟世天安科技有限公司 Novel condition control chart display method
CN113032079B (en) * 2021-03-31 2024-03-29 北京晟世天安科技有限公司 Novel condition control chart display method

Similar Documents

Publication Publication Date Title
CN110297855A (en) Report Dynamic Display method, apparatus, computer equipment and storage medium
US10223748B2 (en) Systems and user interfaces for holistic, data-driven investigation of bad actor behavior based on clustering and scoring of related data
Bershova et al. The non-linear market impact of large trades: Evidence from buy-side order flow
Fry-McKibbin et al. Contagion and global financial crises: Lessons from nine crisis episodes
US11810100B2 (en) Payment milestones for improved financial health
US11294863B2 (en) Data conversion and distribution systems
US11386488B2 (en) System and method for combining product specific data with customer and merchant specific data
US8521542B1 (en) Systems and methods for classifying account data using artificial neural networks
WO2020150611A1 (en) Systems and methods for entity performance and risk scoring
US20190179682A1 (en) Systems and methods for providing an interactive map of an event driven funding path for affecting a directed event
Sänger et al. Interactive reputation systems: how to cope with malicious behavior in feedback mechanisms
CN109785043A (en) Price monitoring method, apparatus, computer equipment and storage medium
US10614402B2 (en) Human steering dashboard to analyze 360-degree market view for merchants based on financial transactions
Lin et al. Blockchain mechanism and distributional characteristics of cryptos
US20190147545A1 (en) Cognitive management of multiple subaccounts
US11615438B2 (en) Exporter
US20170236140A1 (en) Messaging system related to the management, analysis, tracking, and evaluation of referrals
US11257108B2 (en) Systems and methods for dynamic product offerings
CN113706294A (en) Credit limit analysis method, device, equipment and medium
CA3081254A1 (en) Data conversion and distribution systems
CN110162550A (en) Visualize statistical graph generation method, device, computer equipment and storage medium
CN110415101A (en) Products Show test method, device, computer equipment and storage medium
Harks et al. A unified framework for pricing in nonconvex resource allocation games
Lillo et al. Analysis of bank leverage via dynamical systems and deep neural networks
US9223457B2 (en) Visualization of information using landmasses

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191001

WD01 Invention patent application deemed withdrawn after publication