CN116227452A - Method, apparatus, device and storage medium for analyzing templates using assembled cards - Google Patents

Method, apparatus, device and storage medium for analyzing templates using assembled cards Download PDF

Info

Publication number
CN116227452A
CN116227452A CN202310031781.XA CN202310031781A CN116227452A CN 116227452 A CN116227452 A CN 116227452A CN 202310031781 A CN202310031781 A CN 202310031781A CN 116227452 A CN116227452 A CN 116227452A
Authority
CN
China
Prior art keywords
template
card
target
component
analysis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310031781.XA
Other languages
Chinese (zh)
Other versions
CN116227452B (en
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.)
E Fund Management Co ltd
Original Assignee
E Fund Management 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 E Fund Management Co ltd filed Critical E Fund Management Co ltd
Priority to CN202310031781.XA priority Critical patent/CN116227452B/en
Publication of CN116227452A publication Critical patent/CN116227452A/en
Application granted granted Critical
Publication of CN116227452B publication Critical patent/CN116227452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a method, a device, equipment and a storage medium for analyzing templates by using assembled cards, wherein the method comprises the following steps: receiving a catalog creation instruction, and generating a chapter catalog composed of a plurality of chapter information in a first display area of a blank analysis template according to the catalog creation instruction; receiving a card association instruction, and associating corresponding card templates for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template; receiving global parameter information set for the blank analysis template, and generating a chart in the card template by utilizing component templates in the card template according to the global parameter information so as to form a target analysis report; the invention can efficiently and automatically generate the analysis report.

Description

Method, apparatus, device and storage medium for analyzing templates using assembled cards
Technical Field
The present invention relates to the field of computer data processing technology, and in particular, to a method, an apparatus, a device, and a storage medium for analyzing templates using assembled cards.
Background
Many enterprises are faced with the need to generate a large number of analysis reports, such as product analysis reports, personnel analysis reports, enterprise analysis reports; in the prior art, a worker is required to manually compile an analysis report, and because the report generally contains a large amount of data and charts, the worker is required to spend a large amount of time to perform operations such as data query, data statistics, chart drawing and arrangement; therefore, the process of generating the analysis report consumes a great deal of manpower and material resources, and has very low efficiency; therefore, how to efficiently generate an analysis report is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a storage medium for using an assembled card analysis template, which can efficiently and automatically generate an analysis report.
According to one aspect of the present invention, there is provided a method of analyzing templates using an assembled card, the method comprising:
receiving a catalog creation instruction, and generating a chapter catalog composed of a plurality of chapter information in a first display area of a blank analysis template according to the catalog creation instruction;
receiving a card association instruction, and associating corresponding card templates for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template;
and receiving global parameter information set for the blank analysis template, and generating a chart in the card template by utilizing component templates in the card template according to the global parameter information so as to form a target analysis report.
Optionally, before the receiving the card association instruction and associating the corresponding card template for each chapter information according to the card association instruction, the method further includes:
when a target component template in a component library is detected to be dragged into a blank card template, binding information of the target component template and the blank card template is formed, and position information of the target component template in the blank card template is formed;
receiving card attribute information set for the blank card template;
and forming a card template based on the binding information, the position information and the card attribute information, and storing the formed card template in a card library.
Optionally, before the forming of the binding information of the target component template and the blank card template and the forming of the position information of the target component template in the blank card template when the target component template in the component library is detected to be dragged into the blank card template, the method further includes:
when a component creation instruction is received, acquiring a target control from a control library according to the component creation instruction;
associating target indexes for the target control according to the component creation instruction to form a component template, and storing the formed component template into the component library;
the target control is used for generating a chart of a specified style based on the index value of the target index.
Optionally, the receiving global parameter information set for the blank analysis template, generating a chart in the card template according to the global parameter information and by using component templates in the card template, so as to form a target analysis report, and specifically includes:
sequentially traversing each card template in the blank analysis templates, and acquiring a target component template in the currently traversed card template;
acquiring control parameters and index parameters associated with the target component template;
according to the global parameter and the index parameter, acquiring original data from a preset database, and calculating an index value by utilizing the original data;
generating a chart of a specified style in the target component template by utilizing the index value according to the global parameter and the control parameter so as to form a target component;
forming a card according to all components formed in the currently traversed card template;
and forming the target analysis report according to all the cards formed in the blank analysis template.
Optionally, after receiving global parameter information set for the blank analysis template, generating a chart in the card template according to the global parameter information and using component templates in the card template to form a target analysis report, the method further includes:
and when the preset operation for the target chapter information is detected in the first display area of the target analysis report, displaying a card associated with the target chapter information in the second display area of the target analysis report.
Optionally, after receiving global parameter information set for the blank analysis template, generating a chart in the card template according to the global parameter information and using component templates in the card template to form a target analysis report, the method further includes:
when a modification instruction is received, the updated global parameters are analyzed from the modification instruction;
and generating a chart in the card template again by utilizing the component templates in the card template according to the updated global parameters so as to form an updated target analysis report.
In order to achieve the above object, the present invention also provides an apparatus for analyzing templates using an assembled card, the apparatus comprising:
the chapter module is used for receiving a catalog creation instruction and generating a chapter catalog composed of a plurality of chapter information in a first display area of the blank analysis template according to the catalog creation instruction;
the card module is used for receiving a card association instruction and associating a corresponding card template for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template;
and the reporting module is used for receiving the global parameter information set for the blank analysis template, generating a chart in the card template according to the global parameter information and utilizing the component templates in the card template to form a target analysis report.
Optionally, the apparatus further includes:
the updating module is used for analyzing the updated global parameters from the modification instruction when the modification instruction is received; and generating a chart in the card template again by utilizing the component templates in the card template according to the updated global parameters so as to form an updated target analysis report.
In order to achieve the above object, the present invention further provides a computer device, which specifically includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of using an assembled card analysis template described above when the computer program is executed.
In order to achieve the above object, the present invention also provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described method of using an assembled card analysis template.
According to the method, the device, the equipment and the storage medium for analyzing the template by using the assembled card, the analysis report is scattered and recombined, and a plurality of complex analysis functions are disassembled to each specific index for configuration according to the five dimensions of the index, the control, the component, the card and the template, so that the problem of generating the analysis report of different styles can be solved under the condition of no page development; in addition, through the flexible control of each dimension, the requirement that a user can rapidly and efficiently configure different analysis reports according to analysis requirements is realized.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. In the drawings:
FIG. 1 is a schematic flow chart of an alternative method for using an assembled card analysis template according to the first embodiment;
FIG. 2 is a schematic diagram showing an alternative construction of an apparatus for analyzing templates using assembled cards according to the second embodiment;
fig. 3 is a schematic diagram of an alternative hardware architecture of a computer device according to the third embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
The embodiment of the invention provides a method for analyzing a template by using an assembled card, which is applied to an analysis report platform, as shown in fig. 1, and specifically comprises the following steps:
step S101: and receiving a catalog creation instruction, and generating a chapter catalog composed of a plurality of chapter information in a first display area of the blank analysis template according to the catalog creation instruction.
Specifically, the blank analysis template is a template for generating an analysis report, and the blank analysis template includes: a first display area and a second display area; the first display area is used for displaying a chapter catalog composed of a plurality of chapter information; the second display area is used for displaying the card associated with each chapter information respectively; it should be noted that, one chapter information may be associated with one or more cards, and specific content information of the report is displayed in the card; in this embodiment, a streaming display manner may be adopted for the card, and when a user clicks the target chapter information in the first display area, the card associated with the target chapter information is displayed in the second display area; by this embodiment, a scheme of assembling an analysis report using a card is formed. Preferably, the first display area is located on the left side of the blank analysis template, and the second display area is located on the right side of the blank analysis template.
In practical application, a user can trigger the target creation instruction through the analysis report platform, wherein the target creation instruction comprises N pieces of chapter information, when the analysis report platform receives the target creation instruction, a blank analysis template is displayed in a report editing interface of the analysis report platform, and a chapter catalog is generated in a first display area of the blank analysis target based on the N pieces of chapter information.
Step S102: receiving a card association instruction, and associating corresponding card templates for each chapter information according to the card association instruction; wherein all associated card templates may be displayed in sequence within a second display area of the blank analysis template.
In this embodiment, a plurality of card templates may be created in advance, each including one or more component templates for forming a chart; in addition, text content describing the card template is also contained in the card template.
Specifically, before step S102, the method further includes:
step A1: when a target component template in a component library is detected to be dragged into a blank card template, binding information of the target component template and the blank card template is formed, and position information of the target component template in the blank card template is formed;
wherein, the component templates in the component library are generated according to the following steps B1 to B2. The component template is used for acquiring target data from a preset database, calculating an index value of an index based on the target data, and finally generating a chart of a specified style in the component template by utilizing a control associated with the component template and according to the index value so as to obtain a final component.
Specifically, a vue-grid-layout tool can be utilized to support a user to perform free layout of component templates, including: size, position, etc.; a plurality of component templates can be placed in one card template, and after a user selects a required component template and adjusts the position of each component template on a blank card template, the component templates can be selected for storage; the analysis report platform can save the information of the component templates on the card template, including the position, the size and the like, into a card library through a self-defined data structure body.
Step A2: receiving card attribute information set for the blank card template;
preferably, the card attribute information includes: card ID, card title, card description, and grouping to which the card belongs.
Step A3: and forming a card template based on the binding information, the position information and the card attribute information, and storing the formed card template in a card library.
It should be noted that, in practical application, the user may directly call the card template existing in the card library, and when the user cannot obtain the desired card template in the card library, the card editor of the analysis report platform may also generate the desired card template according to the above-mentioned modes from step A1 to step A3, and store the generated card template in the card library.
Further, before the step A1, the method further includes:
step B1: when a component creation instruction is received, acquiring a target control from a control library according to the component creation instruction;
step B2: associating target indexes for the target control according to the component creation instruction to form a component 5 template, and storing the formed component template into the component library;
the target control is used for generating a chart of a specified style based on the index value of the target index.
In this embodiment, the indexes are divided into a single index and a composite index; specifically, a single index refers to an index that can be directly extracted from a database or cache, and can be obtained by configuring SQL query statements
Realizing; the composite index is an index which can be obtained through complex mathematical operation and can be realized through a mode of programming 0.
In this embodiment, the user may configure the index through the index editor in the analysis report platform, and the process of configuring the index specifically includes: basic information of configuration indexes and parameter information of the configuration indexes; wherein, the liquid crystal display device comprises a liquid crystal display device,
the basic information includes a parameter name and the like, and the parameter information includes a rule for acquiring the original data and is based on the original
Generating rules of index values by the initial data; the index value of an index can be calculated by calling the rule.
In addition, when the index value of the index is input into the corresponding control, a chart of a specified style can be generated in the component; wherein the chart includes the following patterns: bar graphs, line graphs, tables, pie charts, combo graphs, and the like. It should be noted that various kinds can be generated by a control editor in the analysis report platform
And when the generated control cannot meet the service requirement of the user, only one control needs to be rapidly developed through the control 0 editor.
Step S103: and receiving global parameter information set for the blank analysis template, and generating a chart in the card template by utilizing component templates in the card template according to the global parameter information so as to form a target analysis report.
Specifically, the receiving global parameter information set for the blank analysis template includes: 5 step C1: receiving template attribute information for the blank analysis template; wherein the template is
The sex information includes: template name, analysis object information, and time range information;
step C2: and determining global parameters with mapping relation with the template attribute information by using a preset mapping table.
In this embodiment, the analysis report platform dynamically provides the default global parameters according to the template attribute information; when the analysis reporting platform is applied to a fund company, the global parameters include: fund codes, fund managers, reporting dates, market indexes, fund classifications, etc.; the global parameters are applied to the whole analysis template, and when the global parameters are modified, the data loaded by the analysis template can be dynamically imaged.
Further, step S103 specifically includes:
step D1: sequentially traversing each card template in the blank analysis templates, and acquiring a target component template in the currently traversed card template;
step D2: acquiring general parameters, control parameters and index parameters associated with the target component template;
the control parameters are used for generating a chart of a specified style by utilizing the index values, and the general parameters are used for setting information and styles of components;
preferably, the general parameters include: component name, component description, component style;
the control parameters include: chart name, chart label, chart style;
the index parameters include: index name, index calculation function.
Step D3: according to the global parameter and the index parameter, acquiring original data from a preset database, and calculating an index value by utilizing the original data;
step D4: generating a chart of a specified style in the target component template by utilizing the index value according to the global parameter and the control parameter so as to form a target component;
step D5: forming a card according to all components formed in the currently traversed card template;
it should be noted that, since there are one or more component templates in one card template, corresponding components can be formed based on each component template in the currently traversed card template in the manner of the steps D2 to D4, so that cards corresponding to the currently traversed card template are formed based on all the formed components;
step D6: and forming the target analysis report according to all the cards formed in the blank analysis template.
When the analysis report platform is applied to one fund company, the target analysis report is a final research perspective analysis report of research analysis on different fund products or fund managers. The target analysis report may be freely composed by a plurality of cards.
In this embodiment, when an analysis report is generated based on an analysis template, the analysis is performed according to the sequence of analyzing the card included in the analysis template, analyzing the component included in the card, analyzing the control used by the component again, and analyzing the index associated with the control finally, so as to obtain all the indexes to be calculated in the analysis template, and batch calculating all the indexes in the analysis template by calling the interface of the index calculation server. After receiving the task of index calculation, the index calculation service supports batch calculation of the indexes through a thread pool, each index is independently started to calculate in calculation, and after all index values of all indexes in an analysis template are calculated, the index values are uniformly returned to the analysis report platform.
In addition, an index calculation service for calculating an index provides the following three interfaces: single value interface, time sequence interface and customized interface; the single-value interface is used for calculating the index value of one index in a time range, the time sequence interface is used for calculating a plurality of index values of one index in a plurality of time ranges respectively, and the customized interface is used for calculating the index value of one index according to a set rule; all indexes can provide services to the outside uniformly through the three index calculation service interfaces.
Further, after step S103, the method further includes:
and when the preset operation for the target chapter information is detected in the first display area of the target analysis report, displaying a card associated with the target chapter information in the second display area of the target analysis report.
In this embodiment, the analysis report includes a first display area and a second display area; wherein a chapter catalog including a plurality of chapter information is displayed in the first display area, and each card associated with each chapter information may be sequentially displayed in the second display area.
Still further, after step S103, the method further includes:
step E1: when a modification instruction is received, the updated global parameters are analyzed from the modification instruction;
step E2: and generating a chart in the card template again by utilizing the component templates in the card template according to the updated global parameters so as to form an updated target analysis report.
In this embodiment, because the preset card template, component template, control and index are used, when an analysis report needs to be updated, only the updated global parameter needs to be input, so that the updated analysis report can be automatically generated.
In the embodiment, the analysis report is scattered and recombined, and a plurality of complex analysis functions are disassembled to each specific index for configuration according to five dimensions of indexes, controls, components, cards and templates, so that the problem of generating analysis reports of different styles can be solved under the condition of no page development; in addition, through the flexible control of each dimension, the requirement that a user can rapidly and efficiently configure different analysis reports according to analysis requirements is realized.
Example two
The embodiment of the invention provides a device using an assembled card analysis template, as shown in fig. 2, which specifically comprises the following components:
a chapter module 201, configured to receive a catalog creation instruction, and generate a chapter catalog composed of a plurality of chapter information in a first display area of a blank analysis template according to the catalog creation instruction;
the card module 202 is configured to receive a card association instruction, and associate a corresponding card template for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template;
and the report module 203 is configured to receive global parameter information set for the blank analysis template, generate a chart in the card template according to the global parameter information and by using a component template in the card template, so as to form a target analysis report.
Specifically, the device further comprises:
the generating module is used for forming binding information of the target component template and the blank card template and forming position information of the target component template in the blank card template when the target component template in the component library is detected to be dragged into the blank card template; receiving card attribute information set for the blank card template; and forming a card template based on the binding information, the position information and the card attribute information, and storing the formed card template in a card library.
The component module is used for acquiring a target control from a control library according to the component creation instruction when the component creation instruction is received; associating target indexes for the target control according to the component creation instruction to form a component template, and storing the formed component template into the component library; the target control is used for generating a chart of a specified style based on the index value of the target index.
Further, the report module 203 is specifically configured to:
sequentially traversing each card template in the blank analysis templates, and acquiring a target component template in the currently traversed card template;
acquiring control parameters and index parameters associated with the target component template;
according to the global parameter and the index parameter, acquiring original data from a preset database, and calculating an index value by utilizing the original data;
generating a chart of a specified style in the target component template by utilizing the index value according to the global parameter and the control parameter so as to form a target component;
forming a card according to all components formed in the currently traversed card template;
and forming the target analysis report according to all the cards formed in the blank analysis template.
Still further, the apparatus further comprises:
and the interaction module is used for displaying a card associated with the target chapter information in a second display area of the target analysis report when a preset operation for the target chapter information is detected in the first display area of the target analysis report.
The updating module is used for analyzing the updated global parameters from the modification instruction when the modification instruction is received; and generating a chart in the card template again by utilizing the component templates in the card template according to the updated global parameters so as to form an updated target analysis report.
Example III
The present embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by a plurality of servers) that can execute a program. As shown in fig. 3, the computer device 30 of the present embodiment includes at least, but is not limited to: a memory 301, a processor 302, which may be communicatively connected to each other via a system bus. It is noted that FIG. 3 only shows a computer device 30 having components 301-302, but it should be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may alternatively be implemented.
In this embodiment, the memory 301 (i.e., storage medium) includes flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 301 may be an internal storage unit of the computer device 30, such as a hard disk or memory of the computer device 30. In other embodiments, the memory 301 may also be an external storage device of the computer device 30, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 30. Of course, the memory 301 may also include both internal storage units of the computer device 30 and external storage devices. In this embodiment, the memory 301 is typically used to store an operating system and various types of application software installed on the computer device 30. In addition, the memory 301 can also be used to temporarily store various types of data that have been output or are to be output.
The processor 302 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other chip that uses an assembled card analysis template in some embodiments. The processor 302 is generally used to control the overall operation of the computer device 30.
Specifically, in the present embodiment, the processor 302 is configured to execute a program of a method of using an assembled card analysis template stored in the memory 301, and the program of the method of using an assembled card analysis template, when executed, implements the steps of:
receiving a catalog creation instruction, and generating a chapter catalog composed of a plurality of chapter information in a first display area of a blank analysis template according to the catalog creation instruction;
receiving a card association instruction, and associating corresponding card templates for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template;
and receiving global parameter information set for the blank analysis template, and generating a chart in the card template by utilizing component templates in the card template according to the global parameter information so as to form a target analysis report.
The specific embodiment process of the above method steps can be referred to as embodiment one, and the description of this embodiment is not repeated here.
Example IV
The present embodiment also provides a computer storage medium, such as a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor, performs the following method steps:
receiving a catalog creation instruction, and generating a chapter catalog composed of a plurality of chapter information in a first display area of a blank analysis template according to the catalog creation instruction;
receiving a card association instruction, and associating corresponding card templates for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template;
and receiving global parameter information set for the blank analysis template, and generating a chart in the card template by utilizing component templates in the card template according to the global parameter information so as to form a target analysis report.
The specific embodiment process of the above method steps can be referred to as embodiment one, and the description of this embodiment is not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method of analyzing templates using an assembled card, the method comprising:
receiving a catalog creation instruction, and generating a chapter catalog composed of a plurality of chapter information in a first display area of a blank analysis template according to the catalog creation instruction;
receiving a card association instruction, and associating corresponding card templates for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template;
and receiving global parameter information set for the blank analysis template, and generating a chart in the card template by utilizing component templates in the card template according to the global parameter information so as to form a target analysis report.
2. The method of claim 1, wherein prior to said receiving a card association instruction and associating a corresponding card template for each chapter information according to the card association instruction, the method further comprises:
when a target component template in a component library is detected to be dragged into a blank card template, binding information of the target component template and the blank card template is formed, and position information of the target component template in the blank card template is formed;
receiving card attribute information set for the blank card template;
and forming a card template based on the binding information, the position information and the card attribute information, and storing the formed card template in a card library.
3. The method of using an assembled card analysis template of claim 2, wherein when the target component template in the component library is detected to be dragged into a blank card template, binding information of the target component template and the blank card template is formed, and before forming position information of the target component template in the blank card template, the method further comprises:
when a component creation instruction is received, acquiring a target control from a control library according to the component creation instruction;
associating target indexes for the target control according to the component creation instruction to form a component template, and storing the formed component template into the component library;
the target control is used for generating a chart of a specified style based on the index value of the target index.
4. The method of claim 3, wherein the receiving global parameter information set for the blank analysis template, generating a chart in the card template according to the global parameter information and using component templates in the card template to form a target analysis report, specifically comprises:
sequentially traversing each card template in the blank analysis templates, and acquiring a target component template in the currently traversed card template;
acquiring control parameters and index parameters associated with the target component template;
according to the global parameter and the index parameter, acquiring original data from a preset database, and calculating an index value by utilizing the original data;
generating a chart of a specified style in the target component template by utilizing the index value according to the global parameter and the control parameter so as to form a target component;
forming a card according to all components formed in the currently traversed card template;
and forming the target analysis report according to all the cards formed in the blank analysis template.
5. The method of using an assembled card analysis template of claim 4, wherein after the receiving global parameter information set for the blank analysis template, generating a chart in the card template from the global parameter information and using component templates in the card template to form a target analysis report, the method further comprises:
and when the preset operation for the target chapter information is detected in the first display area of the target analysis report, displaying a card associated with the target chapter information in the second display area of the target analysis report.
6. The method of using an assembled card analysis template according to any one of claims 1 to 5, wherein after the receiving global parameter information set for the blank analysis template, generating a chart in the card template from the global parameter information and using component templates in the card template to form a target analysis report, the method further comprises:
when a modification instruction is received, the updated global parameters are analyzed from the modification instruction;
and generating a chart in the card template again by utilizing the component templates in the card template according to the updated global parameters so as to form an updated target analysis report.
7. An apparatus for analyzing templates using an assembled card, the apparatus comprising:
the chapter module is used for receiving a catalog creation instruction and generating a chapter catalog composed of a plurality of chapter information in a first display area of the blank analysis template according to the catalog creation instruction;
the card module is used for receiving a card association instruction and associating a corresponding card template for each chapter information according to the card association instruction; wherein, all the associated card templates can be sequentially displayed in the second display area of the blank analysis template;
and the reporting module is used for receiving the global parameter information set for the blank analysis template, generating a chart in the card template according to the global parameter information and utilizing the component templates in the card template to form a target analysis report.
8. The apparatus for using an assembled card analysis template of claim 7, further comprising:
the updating module is used for analyzing the updated global parameters from the modification instruction when the modification instruction is received; and generating a chart in the card template again by utilizing the component templates in the card template according to the updated global parameters so as to form an updated target analysis report.
9. A computer device, the computer device comprising: memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 6 when the computer program is executed.
10. A computer storage medium having stored thereon a computer program, which when executed by a processor realizes the steps of the method according to any of claims 1 to 6.
CN202310031781.XA 2023-01-05 2023-01-05 Method, apparatus, device and storage medium for analyzing templates using assembled cards Active CN116227452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310031781.XA CN116227452B (en) 2023-01-05 2023-01-05 Method, apparatus, device and storage medium for analyzing templates using assembled cards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310031781.XA CN116227452B (en) 2023-01-05 2023-01-05 Method, apparatus, device and storage medium for analyzing templates using assembled cards

Publications (2)

Publication Number Publication Date
CN116227452A true CN116227452A (en) 2023-06-06
CN116227452B CN116227452B (en) 2024-03-22

Family

ID=86579799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310031781.XA Active CN116227452B (en) 2023-01-05 2023-01-05 Method, apparatus, device and storage medium for analyzing templates using assembled cards

Country Status (1)

Country Link
CN (1) CN116227452B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818074A (en) * 2017-09-27 2018-03-20 阿里巴巴集团控股有限公司 A kind of generation method of data report, device and electronic equipment
CN109523228A (en) * 2018-10-25 2019-03-26 平安科技(深圳)有限公司 A kind of work report management method, terminal device and computer readable storage medium
CN111859856A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium
CN114036918A (en) * 2021-11-12 2022-02-11 招商银行股份有限公司 Information analysis method, system, terminal device and storage medium
CN114092370A (en) * 2021-11-19 2022-02-25 北京字节跳动网络技术有限公司 Image display method and device, computer equipment and storage medium
CN114357961A (en) * 2021-12-25 2022-04-15 上海瑞和工程咨询有限公司 Project feasibility research report generation method, device, equipment and storage medium
CN114398433A (en) * 2022-01-20 2022-04-26 平安国际智慧城市科技股份有限公司 Chart information report generation method and device, electronic equipment and storage medium
CN114818637A (en) * 2022-04-08 2022-07-29 中国工商银行股份有限公司 Report generation method and device, processor and electronic equipment
EP4081967A1 (en) * 2019-12-24 2022-11-02 nChain Licensing AG Destination addressing for transactions associated with a distributed ledger
CN115470754A (en) * 2022-09-19 2022-12-13 北京火山引擎科技有限公司 Data analysis method and device, computer readable medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818074A (en) * 2017-09-27 2018-03-20 阿里巴巴集团控股有限公司 A kind of generation method of data report, device and electronic equipment
CN109523228A (en) * 2018-10-25 2019-03-26 平安科技(深圳)有限公司 A kind of work report management method, terminal device and computer readable storage medium
EP4081967A1 (en) * 2019-12-24 2022-11-02 nChain Licensing AG Destination addressing for transactions associated with a distributed ledger
CN111859856A (en) * 2020-06-30 2020-10-30 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium
CN114036918A (en) * 2021-11-12 2022-02-11 招商银行股份有限公司 Information analysis method, system, terminal device and storage medium
CN114092370A (en) * 2021-11-19 2022-02-25 北京字节跳动网络技术有限公司 Image display method and device, computer equipment and storage medium
CN114357961A (en) * 2021-12-25 2022-04-15 上海瑞和工程咨询有限公司 Project feasibility research report generation method, device, equipment and storage medium
CN114398433A (en) * 2022-01-20 2022-04-26 平安国际智慧城市科技股份有限公司 Chart information report generation method and device, electronic equipment and storage medium
CN114818637A (en) * 2022-04-08 2022-07-29 中国工商银行股份有限公司 Report generation method and device, processor and electronic equipment
CN115470754A (en) * 2022-09-19 2022-12-13 北京火山引擎科技有限公司 Data analysis method and device, computer readable medium and electronic equipment

Also Published As

Publication number Publication date
CN116227452B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
EP3839758B1 (en) Data quality analysis
US8452723B2 (en) Dataset previews for ETL transforms
US20170329786A1 (en) Data flow design with static and dynamic elements
US8630969B2 (en) Systems and methods for implementing business rules designed with cloud computing
CN108241529B (en) Salary calculation method, application server and computer readable storage medium
CN107679056B (en) Method for generating SQL (structured query language) statement, electronic device and readable storage medium
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
CN110806866A (en) Generation method and device of front-end management system
CN111752565A (en) Interface generation method and device, computer equipment and readable storage medium
WO2019071898A1 (en) Electronic device, database query script generation method and storage medium
CN111984882A (en) Data processing method, system and equipment
US20150317297A1 (en) System and method for managing data and data models
CN112099801A (en) Excel analysis method and system based on metadata driving
CN111061733B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN116227454A (en) Universal automatic report generation method and system
CN116227452B (en) Method, apparatus, device and storage medium for analyzing templates using assembled cards
CN110352405B (en) Computer-readable medium, computing system, method, and electronic device
CN110781235A (en) Big data based purchase data processing method and device, terminal and storage medium
CN115409014A (en) Document template generation method and device, computer equipment and storage medium
CN115905397A (en) Visual display method, device, system and medium for business data
US20230385745A1 (en) Computer methods and software for processing sap erp tasks
WO2021028891A1 (en) Scalable interactive data collection system
CN115357604B (en) Data query method and device
CN114741637A (en) Method, device and equipment for generating form page and readable storage medium
CN117290069A (en) Index data processing method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant