WO2019127821A1 - 可视化报表的制作方法、装置、终端设备及存储介质 - Google Patents

可视化报表的制作方法、装置、终端设备及存储介质 Download PDF

Info

Publication number
WO2019127821A1
WO2019127821A1 PCT/CN2018/074648 CN2018074648W WO2019127821A1 WO 2019127821 A1 WO2019127821 A1 WO 2019127821A1 CN 2018074648 W CN2018074648 W CN 2018074648W WO 2019127821 A1 WO2019127821 A1 WO 2019127821A1
Authority
WO
WIPO (PCT)
Prior art keywords
report
data
template
visualization
obtaining
Prior art date
Application number
PCT/CN2018/074648
Other languages
English (en)
French (fr)
Inventor
沈杨
刘洋洋
谢翠萍
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019127821A1 publication Critical patent/WO2019127821A1/zh

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/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Definitions

  • the present application relates to the field of data visualization technologies, and in particular, to a method, a device, a terminal device, and a storage medium for creating a visual report.
  • the data stored in the data management system needs to be sent to a data visualization platform (such as tableau software) for visual processing, to obtain a visual image, and then the visual image is sent to the data management system to enable the data management system.
  • Visual report production based on acquired visualization images.
  • the data of the data management system needs to be imported into the data visualization platform for visual processing, and then the report is generated based on the visual image returned by the data visualization platform, so that the production process of the visual report is not synchronized and the production efficiency is low.
  • the embodiment of the present invention provides a method for manufacturing a visual report, so as to solve the problem that the current visualized report is not synchronized and the production efficiency is low.
  • an embodiment of the present application provides a method for manufacturing a visual report, including:
  • the report making request includes a report ID
  • the visual report template includes a template frame and at least one visualization module, each of the visualization modules includes a chart conversion tool and a data indicator;
  • a visualization report is obtained based on the template framework and at least one of the visualization images.
  • the embodiment of the present application provides a device for creating a visual report, including:
  • a report making request obtaining module configured to obtain a report making request; the report making request includes a report ID;
  • a report template obtaining module configured to obtain, according to the report ID, a visual report template corresponding to the report ID;
  • the visual report template includes a template frame and at least one visualization module, and each of the visualization modules includes a chart conversion tool And data indicators;
  • a target report data obtaining module configured to acquire target report data based on the data indicator
  • a visual image acquisition module configured to convert the target report data by using the chart conversion tool, and obtain a visualized image corresponding to each of the visualization modules
  • a visualization report obtaining module configured to acquire a visualization report based on the template frame and the at least one of the visualization images.
  • an embodiment of the present application provides a terminal device, including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor executes the computer The following steps are implemented when reading the instruction:
  • the visual report template includes a template frame and at least one visualization module, each of the visualization modules includes a chart conversion tool and a data indicator;
  • a visualization report is obtained based on the template framework and at least one of the visualization images.
  • an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores computer readable instructions, and when the computer readable instructions are executed by a processor, the following steps are implemented:
  • the visual report template includes a template frame and at least one visualization module, each of the visualization modules includes a chart conversion tool and a data indicator;
  • a visualization report is obtained based on the template framework and at least one of the visualization images.
  • a report creation request is obtained, and a corresponding visual report template is obtained based on the report ID in the report creation request, so that the user does not need to manually create a report.
  • the visual report template includes a template framework and at least one visualization module.
  • Each visualization module includes a chart conversion tool and a data indicator to obtain target report data based on the data indicator, and the target report data is not separately imported, thereby improving the target report data acquisition efficiency to a certain extent. It can improve the efficiency of report production.
  • the chart conversion tool is used to convert the target report data, obtain the visual image corresponding to each visualization module, improve the degree of data visualization, and the conversion process has real-time performance, which is beneficial to improve the conversion efficiency.
  • the visual report is obtained, which makes the report making process simple and convenient.
  • the method, the device, the terminal device and the storage medium of the visualization chart can realize the visual report without processing the data through the visualization platform, thereby improving the production efficiency of the visual report and saving the production time.
  • Embodiment 1 is a flow chart of a method for creating a visualized report in Embodiment 1.
  • FIG. 2 is a specific schematic diagram of step S40 of FIG. 1.
  • FIG. 3 is a flow chart of a method for creating a visualized report in the first embodiment.
  • FIG. 4 is a specific schematic diagram of step S311 in FIG. 3.
  • FIG. 5 is a flowchart of a method for creating a visualized report in Embodiment 1.
  • FIG. 6 is a schematic block diagram of a device for creating a visualized report in the second embodiment.
  • Figure 7 is a schematic diagram of a terminal device in Embodiment 4.
  • FIG. 1 is a flow chart showing a method of creating a visualized report in the embodiment.
  • the method for producing the visual report is applied to a terminal device of a financial institution such as a bank, a securities, an insurance, or another institution, such as a data management system installed for data processing, for each type that may be applied to the data management system.
  • the report is visualized to increase the visibility of the report data and the efficiency of the visualization process, which helps the user to analyze the data.
  • the method for manufacturing the visual report is specifically applied in a data management system of a brand marketing management system, which is used for data statistics of brand marketing data, and visual report production based on brand marketing data, which can effectively avoid brand marketing.
  • the data synchronization process is less sensitive and less efficient, and the user experience is better improved.
  • the method for manufacturing the visual report includes the following steps:
  • S10 Acquire a report making request, and the report making request includes a report ID.
  • the report creation request refers to an instruction for triggering the production data management system to generate a report.
  • the report ID is the identifier corresponding to the visual report template selected by the user.
  • the report is classified and managed in the form of a hierarchical list on the production interface of the visual report.
  • the financial statements include a balance sheet, a profit statement, and a financial change statement, which are convenient for the user to select. Improve user experience.
  • the visual report template includes a template frame and at least one visualization module, and each visualization module includes a chart conversion tool and a data indicator.
  • the server pre-stores a visual report template corresponding to each type of report
  • the visual report template includes a template frame and at least one visualization module.
  • the template frame refers to the area in the visual report template that needs to be filled with report data.
  • a visualization module is an area that displays a visual image in a visual report template.
  • a chart conversion tool is a tool for visualizing report data.
  • Data metrics refer to metrics corresponding to the template framework in the visual report template, such as media advertising costs.
  • the database is queried by the report ID, and the visual report template corresponding to the report ID is obtained, so that the user can directly call the pre-stored visual report template, and use the visual report template to generate a report, which is beneficial to improving the efficiency of the report.
  • the target report data refers to the report data corresponding to the data indicator in the database based on the data indicators in the visual report template.
  • the visual report template pre-stored in the server is associated with a data indicator, and each data indicator corresponds to an indicator ID and report data corresponding to the indicator ID, and the original report data stored in the database is obtained based on the indicator ID, and the data indicator is obtained.
  • the corresponding report data is the target report data.
  • the original report data is the original data collected and stored by the data management system.
  • the server updates the report data corresponding to the data indicator in the database in real time, so that the target report data of the visual report has real-time synchronization, and provides users with more reliable data.
  • the Hadoop big data platform is used to collect the business data formed by the financial institution or other institutions every day, and the statistical business data is time-marked to obtain the business data carrying the time annotation, that is, the original report data.
  • the Hadoop Big Data platform enables users to develop distributed programs without the knowledge of distributed underlying details, and to perform high-speed operations and storage to improve the efficiency of raw business data collection.
  • Hadoop refers to a distributed system infrastructure, and Hadoop implements a distributed file system (Hadoop Distributed File System, hereinafter referred to as HDFS).
  • HDFS is highly fault-tolerant and designed to be deployed on low-cost hardware and provides high throughput to access application data. It is suitable for applications with very large data sets, making it available on the Hadoop big data platform.
  • the original report data has the advantage of high collection efficiency.
  • the visual image refers to an image obtained by visualizing the report data corresponding to the data indicator in the visual report template.
  • the chart conversion tool may employ, but is not limited to, an Echarts tool.
  • Echarts tool Enterprise Charts, commercial-grade data chart
  • a pure Javascript chart library can run smoothly on PCs and mobile devices, compatible with most current browsers (IE6/7/8/9/10/11, chrome , Firefox, Safari, etc.), the underlying relying on the lightweight Canvas class library ZRender, can provide users with intuitive, vivid, highly personalized data visualization charts.
  • the Echarts tool can effectively improve the visualization of data and achieve higher interactivity.
  • step S40 the target report data is converted by using a chart conversion tool to obtain a visual image corresponding to each visualization module, which specifically includes the following steps:
  • the conversion function identifier is an identifier capable of uniquely identifying a chart conversion function corresponding to different images stored in the chart conversion tool.
  • the chart type configuration request is a request by the user to select the type of visualization desired. Specifically, after selecting the visual report template, the user displays the types of all the visual images through the pop-up chart type configuration interface. Since the application scenarios of different types of visual images are different, the visual effects are different, so the user can pass the chart type.
  • the configuration request determines the type of the visual image to be selected, and the operation process is simple and convenient, which is beneficial to improving the user experience.
  • the chart conversion tool stores conversion functions corresponding to different types of images, and each conversion function corresponds to a conversion function identifier, and the corresponding conversion function method can be called by the conversion function identifier.
  • the chart conversion tool includes, but is not limited to, a transfer function method corresponding to a graphic such as a pie chart, a histogram, and a line graph.
  • the conversion function method in the chart conversion tool is called to convert the target report data, load the corresponding visualization image, and display the visualization image in the visualization module.
  • the chart conversion tool obtains the target report data and updates the visual image in real time, so that the visual report has the advantages of strong timing and high reliability.
  • the method for creating the visual report further includes the following steps:
  • S311 Obtain a standard range corresponding to the data indicator based on the data indicator.
  • the historical data corresponding to the data indicator is searched, and the historical data is counted to obtain the standard range.
  • the scope of the standard can be applied to the annual plan of the enterprise to define whether the number of target reports corresponding to the data indicator is abnormal.
  • the standard range of the brand promotion fee per month can be set in advance, so as to provide reference for the brand promotion fee of the subsequent actual expenditure. .
  • S312 Determine whether the target report data is abnormal based on the target report data and the standard range.
  • the target report data is compared with the standard range to determine whether the target report data is abnormal. If the target report data does not fall within the standard range, it is determined that the target report data is abnormal; if the target report data falls within the standard range, it is determined that the target report data is normal.
  • the enterprise since the target report data is acquired in real time, the enterprise can acquire abnormal data in real time, increase the real-time synchronization of the data, and enable the enterprise to timely understand the current development trend, thereby determining whether or not a decision adjustment is needed. Optimize the production and operation activities of the company.
  • step S40 specifically includes: converting the target report data by using a chart conversion tool, obtaining a visual image corresponding to each visualization module, and highlighting the abnormal target report data in the visualization image.
  • each visualization module obtained by converting the target report data by using the chart conversion tool corresponds to
  • the target report data of the abnormality is highlighted in the visualized image, so that the abnormal target report data is more easily noticed by the user, so that the user can process the abnormal target report data.
  • the target report data with abnormality is marked in red, so that the user can visually see the abnormal data, and make adjustments in time to reduce Enterprise loss.
  • the standard range corresponding to the data indicator can be set not only in advance, but also automatically generated according to historical data, so that the standard range corresponding to the data indicator is real-time.
  • obtaining a standard range corresponding to the data indicator (ie, step S31) based on the data indicator specifically includes the following steps:
  • the historical data corresponding to the data indicator in the database is searched based on the data indicator to perform statistics on the historical data.
  • the historical data is specifically data in a certain period, and the historical data in the period is counted, so that the enterprise can obtain the current development trend in real time, and decide whether it is necessary to make decision adjustments and optimize the production and operation of the enterprise. activity.
  • S3112 Performing an average operation on the historical data to obtain a standard value corresponding to the data indicator.
  • the mean value operation is performed on the historical data in a certain period to obtain a standard value corresponding to the data indicator. If the period is 30 days and the current time is July 1st, the historical data corresponding to the data indicators for the 30 days from June 1st to June 30th will be selected, and the historical data of the 30 days will be averaged.
  • the calculation formula for the mean operation is a n represents the historical data of the nth day, Indicates the standard value.
  • the historical data corresponding to the data indicator may be periodically counted to control the terminal device to perform the operations of steps S311-S313 at a fixed time point. If abnormal data occurs after the statistics are completed, the reminder information is sent to the management.
  • the mailbox is used to achieve the purpose of monitoring abnormal data, thereby optimizing the production and operation activities of the enterprise.
  • the standard value corresponding to the data index is subtracted from a fixed value as the left boundary of the standard range, and the standard value is added as a fixed value as the right boundary of the standard range.
  • the fixed value will be formulated by the enterprise according to the development strategy of the enterprise. It can be understood that if the fixed value is 100 and the standard value corresponding to the cost of the media advertisement is 50, the standard range is [-50, 150].
  • the standard value is obtained by statistically obtaining historical data obtained in real time, the standard range is obtained based on the standard value corresponding to the data indicator, which greatly improves the accuracy of the data.
  • S50 Obtain a visual report based on the template framework and at least one visual image.
  • the visualization image acquired in step S40 is filled into the visualization module of the visualization report template, and the target report data corresponding to the data indicator acquired in step S30 is correspondingly filled into the template framework to obtain the visualization report.
  • the visual report can fill the visual image corresponding to each data indicator into the reserved area of the corresponding visualization module, so that the automatic visualization report production process is highly automated, which is beneficial to improving the efficiency of the report production.
  • the report creation request is obtained, and the corresponding visual report template is obtained based on the report ID in the report creation request, so that the user does not need to manually create the report, thereby improving the efficiency of the report production.
  • the visual report template includes a template framework and at least one visualization module. Each visualization module includes a chart conversion tool and a data indicator to obtain target report data based on the data indicator, and the target report data is not separately imported, thereby improving the target report data acquisition efficiency to a certain extent. It can improve the efficiency of report production.
  • the chart conversion tool is used to convert the target report data, obtain the visual image corresponding to each visualization module, improve the degree of data visualization, and the conversion process has real-time performance, which is beneficial to improve the conversion efficiency.
  • the visual report is obtained, which makes the report making process simple and convenient.
  • the method for creating the visual chart can realize the visual report without processing the data through the visualization platform, which is beneficial to improving the production efficiency of the visual report and saving the production time.
  • step S10 before step S10, the method further includes step S60: creating a visual report template in advance.
  • step S60 specifically includes the following steps:
  • S61 Acquire a report template creation request, where the report template creation request includes a report ID and a template type.
  • the report template creation request is a request for creating a visual report template.
  • the report ID is the identifier corresponding to the visual report template that the user wants to create. It can be understood that the report ID is consistent with the report ID in step S10.
  • the template type includes, but is not limited to, PPT, Word, Excel, etc., to meet the needs of users and improve the user experience.
  • S62 Determine at least one basic page according to the template type.
  • the type of the visual report template determined in step S61 is PPT. Since the number of PPT pages displayed by different reports is different, it is necessary to determine the number of basic pages. In this embodiment, if the user does not select the number of basic pages, the number of basic pages is set to 5 by default. If the default number is not enough, the user only needs to customize the batch parameters for batch addition.
  • S63 Divide each basic page to obtain a template frame, where the template frame includes at least one template area.
  • the template area includes, but is not limited to, a title area, a text area, and a chart area.
  • the user can form a coordinate system by using the lower left corner of the basic page as the origin.
  • the size and position of each template area can be configured, for example, the size of the title area is defined. It is 50mm*10mm, and defines the center position of the title area or the position of any corner, and the position in the basic page can be determined according to the position and size.
  • the size of the font and the font corresponding to the area may be directly configured, so that the user does not need to manually modify, thereby improving the production efficiency.
  • S64 Configure a visualization module for each template area to form a visual report template corresponding to the report ID.
  • each template area is configured with a visualization module
  • the visualization module includes a specific chart conversion tool and specific data indicators to form a visual report template corresponding to the report ID, so as to be subsequently invoked on the visual report template.
  • any template area in the visual report template can be called to convert the specific data index corresponding to the specific chart conversion tool to realize visual display of the data.
  • the visual report template is created in advance for the subsequent visual report creation call, so that the visual report template can be directly invoked in the process of creating the visual report without saving the program, saving time and reducing the workload. Improve work efficiency.
  • FIG. 6 is a schematic block diagram showing a device for creating a visual report corresponding to the method for creating a visualized report in the first embodiment.
  • the visual report creation device includes a report creation request acquisition module 10, a report template acquisition module 20, a target report data acquisition module 30, a visual image acquisition module 40, and a visualization report acquisition module 50.
  • the steps of the implementation functions of the report creation request acquisition module 10, the report template acquisition module 20, the target report data acquisition module 30, the visualized image acquisition module 40, and the visualization report acquisition module 50, and the method for creating the visualization report in the embodiment are as follows. Correspondingly, in order to avoid redundancy, the present embodiment will not be described in detail.
  • the report making request obtaining module 10 is configured to obtain a report making request, and the report making request includes a report ID.
  • the report template obtaining module 20 is configured to obtain a visual report template corresponding to the report ID based on the report ID; the visual report template includes a template frame and at least one visualization module, and each visualization module includes a chart conversion tool and a data indicator.
  • the target report data obtaining module 30 is configured to obtain target report data based on the data indicator.
  • the visual image acquisition module 40 converts the target report data by using a chart conversion tool to obtain a visual image corresponding to each visualization module.
  • the visual report obtaining module 50 is configured to obtain a visual report based on the template frame and the at least one visual image.
  • the chart conversion tool includes at least one chart transfer function.
  • the visual image acquisition module 40 includes a chart type configuration request unit 41, a conversion function acquisition unit 42, and a visualization image acquisition unit 43.
  • the chart type configuration request unit 41 is configured to acquire a chart type configuration request, and the chart type configuration request includes a conversion function identifier.
  • the conversion function obtaining unit 42 is configured to acquire a corresponding conversion function method based on the conversion function identifier.
  • the visualized image obtaining unit 43 is configured to call a conversion function method to convert the target report data, and obtain a visualized image corresponding to each visualization module.
  • the device for creating the visual report further includes a standard range obtaining unit 311, a target report data determining unit 312, and an abnormal data determining unit 313.
  • the standard range obtaining unit 311 is configured to acquire a standard range corresponding to the data indicator based on the data indicator.
  • the target report data judging unit 312 is configured to judge whether the target report data is abnormal based on the target report data and the standard range.
  • the abnormal data processing unit 313 is configured to highlight abnormal target report data in the visualized image when there is an abnormality in the target report data.
  • the standard range acquisition unit 311 includes a history data acquisition sub-unit 3111, a standard value acquisition sub-unit 3112, and a standard range acquisition sub-unit 3113.
  • the historical data acquisition sub-unit 3111 is configured to acquire historical data corresponding to the data indicator based on the data indicator.
  • the standard value acquisition sub-unit 3112 is configured to perform an average operation on the historical data to obtain a standard value corresponding to the data indicator.
  • the standard range acquisition sub-unit 3113 is configured to acquire a standard range corresponding to the data indicator based on the standard value.
  • the device for creating the visual report further includes a report template creating module 60, configured to pre-create a visual report template.
  • the report template report template 60 specifically includes a report template creation request acquisition unit 61, a basic page determination unit 62, a template frame acquisition unit 63, and a visualization module configuration unit 64.
  • the report template creation request obtaining unit 61 is configured to obtain a visual report template creation request, and the visual report template creation request includes a report ID and a template type.
  • the basic page determining unit 62 is configured to determine at least one basic page according to the template type.
  • the template frame obtaining unit 63 is configured to divide each basic page, obtain a template frame, and the template frame includes at least one template area.
  • the visualization module configuration unit 64 is configured to configure a visualization module for each template area to form a visual report template corresponding to the report ID.
  • the embodiment provides a computer readable storage medium on which computer readable instructions are stored.
  • the method for creating a visualized report in Embodiment 1 is implemented. I won't go into details here.
  • the computer readable instructions are executed by the processor, the functions of the modules/units in the device for creating the visual report in the embodiment 2 are implemented. To avoid repetition, details are not described herein again.
  • FIG. 7 is a schematic diagram of a terminal device according to an embodiment of the present application.
  • the terminal device 70 of this embodiment includes a processor 71, a memory 72, and computer readable instructions 73 stored in the memory 72 and operable on the processor 71.
  • the processor 71 executes the computer readable instructions 73, the steps in the embodiment of the method for fabricating the above various visual reports are implemented, such as steps S10 to S50 shown in FIG.
  • the processor 71 implements the functions of the modules/units in the various apparatus embodiments described above when the computer readable instructions 73 are executed, such as the functions of the modules 10 through 40 shown in FIG.
  • computer readable instructions 73 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 72 and executed by processor 71 to complete the application.
  • the one or more modules/units may be an instruction segment of a series of computer readable instructions 73 capable of performing a particular function, which is used to describe the execution of computer readable instructions 73 in the terminal device 70.
  • the terminal device 70 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 71, a memory 72. It will be understood by those skilled in the art that FIG. 7 is merely an example of the terminal device 70, and does not constitute a limitation of the terminal device 70, and may include more or less components than those illustrated, or may combine certain components or different components.
  • the terminal device may further include an input/output device, a network access device, a bus, and the like.
  • the processor 71 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 72 may be an internal storage unit of the terminal device 70, such as a hard disk or a memory of the terminal device 70.
  • the memory 72 may also be an external storage device of the terminal device 70, such as a plug-in hard disk provided on the terminal device 70, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on.
  • the memory 72 may also include both an internal storage unit of the terminal device 70 and an external storage device.
  • the memory 72 is used to store computer readable instructions 73 and other programs and data required by the terminal device.
  • the memory 72 can also be used to temporarily store data that has been or will be output.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium.
  • the computer readable instructions when executed by a processor, may implement the steps of the various method embodiments described above.
  • the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like.
  • the computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media.
  • a recording medium a USB flash drive
  • a removable hard drive a magnetic disk, an optical disk
  • a computer memory a read only memory (ROM, Read-Only) Memory
  • RAM random access memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请公开一种可视化报表的制作方法、装置、终端设备及存储介质。该可视化报表的制作方法包括:获取报表制作请求,该报表制作请求包括报表ID;基于报表ID,获取与报表ID相对应的可视化报表模板;可视化报表模板包括模板框架和至少一个可视化模块,每一可视化模块包括图表转换工具和数据指标;基于数据指标,获取目标报表数据;采用图表转换工具对目标报表数据进行转换,获取每一可视化模块对应的可视化图像;基于模板框架和至少一个可视化图像,获取可视化报表。该可视化报表的制作方法可实现无需使数据通过可视化平台进行处理即可制作可视化报表,有利于提高可视化报表的提高制作效率,节省制作时间。

Description

可视化报表的制作方法、装置、终端设备及存储介质
本专利申请以2017年12月26日提交的申请号为201711431208.9,名称为“可视化报表的制作方法、装置、终端设备及存储介质”的中国发明专利申请为基础,并要求其优先权。
技术领域
本申请涉及数据可视化技术领域,尤其涉及一种可视化报表的制作方法、装置、终端设备及存储介质。
背景技术
当前数据管理系统报表制作过程中,需将数据管理系统存储的数据发送给数据可视化平台(如tableau软件)进行可视化处理,获取可视化图像,再将可视化图像发送给数据管理系统,以使数据管理系统基于获取的可视化图像进行可视化报表制作。当前可视化报表制作过程中,需将数据管理系统的数据并导入数据可视化平台进行可视化处理,再基于数据可视化平台返回的可视化图像制作报表,使得可视化报表的制作过程同步性不强,制作效率低。
发明内容
本申请实施例提供一种可视化报表的制作方法,以解决当前可视化报表的制作过程同步性不强,制作效率低的问题。
第一方面,本申请实施例提供一种可视化报表的制作方法,包括:
获取报表制作请求;所述报表制作请求包括报表ID;
基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
基于所述数据指标,获取目标报表数据;
采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
第二方面,本申请实施例提供一种可视化报表的制作装置,包括:
报表制作请求获取模块,用于获取报表制作请求;所述报表制作请求包括报表ID;
报表模板获取模块,用于基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
目标报表数据获取模块,用于基于所述数据指标,获取目标报表数据;
可视化图像获取模块,采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
可视化报表获取模块,用于基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
第三方面,本申请实施例提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
获取报表制作请求,所述报表制作请求包括报表ID;
基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
基于所述数据指标,获取目标报表数据;
采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:
获取报表制作请求,所述报表制作请求包括报表ID;
基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
基于所述数据指标,获取目标报表数据;
采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
本申请实施例提供的可视化报表的制作方法、装置、终端设备及存储介质中,通过获取报表制作请求,基于报表制作请求中的报表ID获取对应的可视化报表模板,以使用户无需手动制作报表,提高报表的制作效率。可视化报表模板包括模板框架和至少一个可视化模块,每一可视化模块包括图表转 换工具和数据指标,以便基于数据指标获取目标报表数据,无需另行导入目标报表数据,提高目标报表数据获取效率,在一定程度上可提高报表的制作效率。之后,采用图表转换工具对目标报表数据进行转换,获取每一可视化模块对应的可视化图像,提高数据可视化程度,转换过程具有实时性,有利于提高转换效率。最后,基于模板框架和至少一个可视化图像,获取可视化报表,使得报表的制作过程简单方便。该可视化图表的制作方法、装置、终端设备及存储介质,可实现无需使数据通过可视化平台进行处理即可制作可视化报表,有利于提高可视化报表的提高制作效率,节省制作时间。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是实施例1中可视化报表的制作方法的一流程图。
图2是图1中步骤S40的一具体示意图。
图3是实施例1中可视化报表的制作方法的一流程图。
图4是图3中步骤S311的一具体示意图。
图5是实施例1中可视化报表的制作方法的一流程图。
图6是实施例2中可视化报表的制作装置的原理框图。
图7是实施例4中终端设备的示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
实施例1
图1示出本实施例中可视化报表的制作方法的流程图。该可视化报表的制作方法应用在银行、证券、保险等金融机构或者其他机构的终端设备中,如安装有用于进行数据处理的数据管理系统中,用于对数据管理系统中可能应用到的各类型报表进行可视化处理,增加报表数据的可视度和可视化处理效率,有助于用户分析数据。本实施例中,该可视化报表的制作方法具体应用在品牌营销管理系统这一数据管理系统中,用于对品牌营销数据进行数据统计,并基于品牌营销数据进行可视化报表制作,可有效避免品牌营销数据可视化处理的同步性不强、效率低的问题,更好的提升用户体验度。如图1所示,该可视化报表的制作方法包括如下步骤:
S10:获取报表制作请求,报表制作请求包括报表ID。
其中,报表制作请求是指用于触发制作数据管理系统制作报表的指令。报表ID是用户选择的可视化报表模板对应的标识。本实施例中,在可视化报表的制作界面上以分级列表的形式对报表进行分类管理,例如,财务报表的大类下包括资产负债表、利润表和财务变动表等报表,方便用户选择使用,提升用户体验度。
S20:基于报表ID,获取与报表ID相对应的可视化报表模板,可视化报表模板包括模板框架和至少一个可视化模块,每一可视化模块包括图表转换工具和数据指标。
具体地,服务器会预先存储有与各类型报表相对应的可视化报表模板,该可视化报表模板包括模板框架和至少一个可视化模块。其中,模板框架是指可视化报表模板中需要填充报表数据的区域。可视化模块是指在可视化报表模板中显示可视化图像的区域。图表转换工具是指用于将报表数据可视化的工具。数据指标是指可视化报表模板中的模板框架所对应的指标,例如:媒体广告费用。本实施例中,通过报表ID查询数据库,获取与报表ID对应的可视化报表模板,以使用户可直接调用预先存储的可视化报表模板,利用该可视化报表模板制作报表,有利于提高报表的制作效率。
S30:基于数据指标,获取目标报表数据。
其中,数据指标包括但不限于企业预先设置的费用科目,如媒体广告费用和创意制作等。目标报表数据是指基于可视化报表模板中的数据指标在数据库中查找与该数据指标对应的报表数据。具体地,服务器中预先存储的可视化报表模板关联存储有数据指标,每个数据指标对应一个指标ID和与指标ID对应的报表数据,基于指标ID查找数据库所存储的原始报表数据,获取与数据指标对应的报表数据即目标报表数据。其中,原始报表数据是数据管理系统采集存储的原始数据。本实施例中,服务器会实时更新数据库中与数据指标对应的报表数据,以使该可视化报表的目标报表数据具有实时同步性,为用户提供更可靠的数据。
本实施例中,采用Hadoop大数据平台采集金融机构或其他机构每天形成的业务数据,并对统计的业务数据进行时间标注,以获取携带时间标注的业务数据即原始报表数据。Hadoop大数据平台可使用户在不了解分布式底层细节的情况下,开发分布式程序,并进行高速运算和存储,以提高原始业务数据的采集效率。其中,Hadoop是指一种分布式系统基础架构,Hadoop实现了 一个分布式文件系统(Hadoop Distributed File System,以下简称HDFS)。HDFS有高容错性的特点,并设计用来部署在低廉的硬件上,且可提供高吞吐量来访问应用程序的数据,适合有着超大数据集的应用程序,使得采用Hadoop大数据平台获取到的原始报表数据具有采集效率高的优点。
S40:采用图表转换工具对目标报表数据进行转换,获取每一可视化模块对应的可视化图像。
其中,可视化图像是指对与可视化报表模板中的数据指标对应的报表数据进行可视化处理所得到的图像。本实施例中,图表转换工具可以采用但不限于Echarts工具。ECharts(Enterprise Charts,商业级数据图表),一个纯Javascript的图表库,可以流畅的运行在PC和移动设备上,兼容当前绝大部分浏览器(IE6/7/8/9/10/11,chrome,firefox,Safari等),底层依赖轻量级的Canvas类库ZRender,能够给用户提供直观,生动,可高度个性化定制的数据可视化图表。采用Echarts工具可有效提高数据的可视化程度,交互性更高。
在一具体实施方式中,如图2所示,步骤S40中,采用图表转换工具对目标报表数据进行转换,获取每一可视化模块对应的可视化图像,具体包括如下步骤:
S41:获取图表类型配置请求,图表类型配置请求包括转换函数标识。
其中,转换函数标识是能够唯一识别图表转换工具中所存储的不同图像所对应的图表转换函数的标识。图表类型配置请求是用户选择所需可视化图像的类型的请求。具体地,用户在选择可视化报表模板之后,通过弹出的图表类型配置界面显示所有可视化图像的类型,由于不同类型的可视化图像的应用场景不同,所体现的可视化效果也不同,因此用户可通过图表类型配置 请求确定所要选择的可视化图像的类型,操作过程简单方便,有利于提升用户体验。
S42:基于转换函数标识,获取对应的转换函数方法。
具体地,图表转换工具中存储有不同类型图像所对应的转换函数,每个转换函数都对应一转换函数标识,通过转换函数标识,可调用对应的转换函数方法。本实施例中,图表转换工具中包括但不限于饼图、柱状图和折线图等图形所对应的转换函数方法。
S43:调用转换函数方法对目标报表数据进行转换,获取每一可视化模块对应的可视化图像。
具体地,调用图表转换工具中的转换函数方法对目标报表数据进行转换,加载对应的可视化图像,并在可视化模块中显示该可视化图像。本实施例中,该图表转换工具会实时获取目标报表数据并更新可视化图像,以使可视化报表具有时序性强,可靠性高的优点。
在一具体实施方式中,如图3所示,步骤S30之后,该可视化报表的制作方法还包括如下步骤:
S311:基于数据指标,获取与数据指标相对应的标准范围。
具体地,基于数据指标,查找与数据指标对应的历史数据,并对历史数据进行统计,以获取标准范围。该标准范围可应用在企业年度规划中,用于限定与该数据指标相对应的目标报表数量是否异常的指标。以数据指标为品牌宣传费为例,在通过品牌营销管理系统制作企业年度支出计划时,可以预先设置的每个月的品牌宣传费的标准范围,以给后续实际支出的品牌宣传费提供参考依据。
S312:基于目标报表数据和标准范围,判断目标报表数据是否存在异常。
具体地,通过目标报表数据与标准范围进行比较,判断目标报表数据是否存在异常。其中,若目标报表数据没有落在标准范围内时,则确定该目标报表数据存在异常;若目标报表数据落在标准范围内时,则确定该目标报表数据属于正常情况。本实施例中,由于目标报表数据是实时获取的,因此,企业能够实时获取异常数据,增加了数据的实时同步性,并能使企业及时了解当前的发展趋势,从而决定是否需要进行决策调整,优化企业的生产经营活动。
S313:若目标报表数据存在异常,则步骤S40具体包括:采用图表转换工具对目标报表数据进行转换,获取每一可视化模块对应的可视化图像,并在可视化图像中突出显示异常目标报表数据。
可以理解地,若目标报表数据没有落在标准范围内时,则确定该目标报表数据存在异常,则在步骤S40中,在采用图表转换工具对目标报表数据进行转换所得到的每一可视化模块对应的可视化图像时,其可视化图像中突出显示异常的目标报表数据,以使异常的目标报表数据更容易被用户关注到,以使用户针对异常的目标报表数据进行处理。其中,将存在异常的目标报表数据突出显示的方式有很多种,例如:将存在异常的目标报表数据以红色进行标注,以使用户能够直观的看到存在异常的数据,及时地作出调整,减少企业损失。
在一具体实施方式中,与数据指标相对应的标准范围不仅可以预先设置,还可以根据历史数据自动生成,以使数据指标相对应的标准范围具有实时性。如图4所示,基于数据指标,获取与数据指标相对应的标准范围(即步骤S31)具体包括如下步骤:
S3111:基于数据指标,获取与数据指标相对应的历史数据。
具体地,基于数据指标查找数据库中与该数据指标相对应的历史数据,以便对历史数据进行统计。本实施例中,历史数据具体为某一周期内的数据,通过统计该周期内的历史数据,从而使企业能够实时获取到当前的发展趋势,并决定是否需要进行决策调整,优化企业的生产经营活动。
S3112:对历史数据进行均值运算,获取与数据指标相对应的标准值。
具体地,通过某一周期内的对历史数据进行均值运算以获取与数据指标对应的标准值。如设周期为30天,当前时间为7月1日,则选取6月1日-6月30日这30天与数据指标对应的历史数据,并对这30天内的历史数据进行均值运算,其中,均值运算的计算公式为
Figure PCTCN2018074648-appb-000001
a n表示第n天的历史数据,
Figure PCTCN2018074648-appb-000002
表示标准值。本实施例中,可定时统计与数据指标对应的历史数据,以控制终端设备在一固定时间点执行步骤S311-S313的操作,若在统计完成之后,出现异常的数据,则发送提醒信息到管理员邮箱,以达到监控异常数据的目的,从而优化企业的生产经营活动。
S3113:基于标准值,获取与数据指标相对应的标准范围。
具体地,将与数据指标对应的标准值减去一固定数值作为标准范围的左边界,将标准值加上一固定数值作为标准范围的右边界。其中,固定数值由企业会根据本企业的发展策略相应制定。可以理解地,设固定数值为100,媒体广告的费用所对应的标准值为50,则标准范围为[-50,150]。本实施例中中,由于标准值是由实时获取到的历史数据进行统计得到的,因此,基于数据指标对应的标准值获取标准范围,极大地提高了数据的准确性。
S50:基于模板框架和至少一个可视化图像,获取可视化报表。
具体地,将步骤S40获取到的可视化图像填充到可视化报表模板的可视化模块中,将步骤S30获取到的与数据指标对应的目标报表数据相应的填充 到模板框架中,以获取可视化报表。可以理解地,该可视化报表可将每一数据指标对应的可视化图像填充到相应的可视化模块中预留的区域上,使自动可视化报表的制作过程自动化程度高,有利于提高报表的制作效率。
本实施例所提供的该可视化图表的制作方法中,通过获取报表制作请求,基于报表制作请求中的报表ID获取对应的可视化报表模板,以使用户无需手动制作报表,提高报表的制作效率。可视化报表模板包括模板框架和至少一个可视化模块,每一可视化模块包括图表转换工具和数据指标,以便基于数据指标获取目标报表数据,无需另行导入目标报表数据,提高目标报表数据获取效率,在一定程度上可提高报表的制作效率。之后,采用图表转换工具对目标报表数据进行转换,获取每一可视化模块对应的可视化图像,提高数据可视化程度,转换过程具有实时性,有利于提高转换效率。最后,基于模板框架和至少一个可视化图像,获取可视化报表,使得报表的制作过程简单方便。该可视化图表的制作方法,可实现无需使数据通过可视化平台进行处理即可制作可视化报表,有利于提高可视化报表的提高制作效率,节省制作时间。
在一具体实施方式中,步骤S10之前,还包括步骤S60:预先创建可视化报表模板。如图5所示,步骤S60具体包括如下步骤:
S61:获取报表模板创建请求,报表模板创建请求包括报表ID和模板类型。
其中,报表模板创建请求是用于创建可视化报表模板的请求。报表ID是指用户所要创建的可视化报表模板对应的标识。可以理解地,该报表ID与步骤S10中的报表ID保持一致。本实施例中,模板类型包括但不限于PPT、Word、Excel等类型,以满足用户的需求,提升用户体验。
S62:根据模板类型确定至少一个基本页面。
例如,步骤S61确定的可视化报表模板的类型为PPT,由于不同报表所对应展示的PPT页面的数量是不同的,因此需要确定基本页面的数量。本实施例中,若用户没有选择基本页面的数量,则会默认将基本页面的数量设定为5,若默认的数量不够时,则用户只需自定义批量参数进行批量添加即可。
S63:对每一基本页面进行划分,获取模板框架,模板框架包括至少一个模板区域。
其中,模板区域包括但不限于标题区域、文字区域和图表区域。具体地,用户在配置模板区域时,可以基本页面左下角为原点形成坐标系,则在对每一基本页面进行划分时,可配置每个模板区域对应的大小和位置,如定义标题区域的大小为50mm*10mm,并定义标题区域的中心位置或任一个角的位置,即可根据该位置和大小确定在基本页面中的位置。进一步地,在配置标题区域和文字区域时,也可直接配置该区域多对应字体和字体的大小,以使用户无需手动修改,提高制作效率。
S64:给每一模板区域配置一可视化模块,以形成与报表ID相对应的可视化报表模板。
具体地,给每一模板区域配置一可视化模块,该可视化模块包括一具体的图表转换工具和具体的数据指标,以形成与报表ID相对应的可视化报表模板,以便于后续调用该可视化报表模板上,可使该可视化报表模板中任一模板区域可调用该具体的图表转换工具对应具体的数据指标进行转换处理,以实现对数据的可视化显示。
本实施例中,通过预先创建可视化报表模板为后续可视化报表制作调用,以使可视化报表的制作过程中,可直接调用预先创建好的可视化报表模板而 无需再次编辑程序,节省时间,降低工作量,提高工作效率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例2
图6示出与实施例1中可视化报表的制作方法一一对应的可视化报表的制作装置的原理框图。如图6所示,该可视化报表的制作装置包括报表制作请求获取模块10、报表模板获取模块20、目标报表数据获取模块30、可视化图像获取模块40和可视化报表获取模块50。其中,报表制作请求获取模块10、报表模板获取模块20、目标报表数据获取模块30、可视化图像获取模块40和可视化报表获取模块50的实现功能与实施例中可视化报表的制作方法对应的步骤一一对应,为避免赘述,本实施例不一一详述。
报表制作请求获取模块10,用于获取报表制作请求,报表制作请求包括报表ID。
报表模板获取模块20,用于基于报表ID,获取与报表ID相对应的可视化报表模板;可视化报表模板包括模板框架和至少一个可视化模块,每一可视化模块包括图表转换工具和数据指标。
目标报表数据获取模块30,用于基于数据指标,获取目标报表数据。
可视化图像获取模块40,采用图表转换工具对目标报表数据进行转换,获取每一可视化模块对应的可视化图像。
可视化报表获取模块50,用于基于模板框架和至少一个可视化图像,获取可视化报表。
优选地,图表转换工具包括至少一个图表转换函数。
可视化图像获取模块40包括图表类型配置请求单元41、转换函数获取单元42和可视化图像获取单元43。
图表类型配置请求单元41,用于获取图表类型配置请求,图表类型配置请求包括转换函数标识。
转换函数获取单元42,用于基于转换函数标识,获取对应的转换函数方法。
可视化图像获取单元43,用于调用转换函数方法对目标报表数据进行转换,获取每一可视化模块对应的可视化图像。
优选地,该可视化报表的制作装置还包括标准范围获取单元311、目标报表数据判断单元312和异常数据判断单元313。
标准范围获取单元311,用于基于数据指标,获取与数据指标相对应的标准范围。
目标报表数据判断单元312,用于基于目标报表数据和标准范围,判断目标报表数据是否存在异常。
异常数据处理单元313,用于在目标报表数据存在异常时,在可视化图像中突出显示异常的目标报表数据。
优选地,标准范围获取单元311包括历史数据获取子单元3111、标准值获取子单元3112和标准范围获取子单元3113。
历史数据获取子单元3111,用于基于数据指标,获取与数据指标相对应的历史数据。
标准值获取子单元3112,用于对历史数据进行均值运算,获取与数据指标相对应的标准值。
标准范围获取子单元3113,用于基于标准值,获取与数据指标相对应的 标准范围。
优选地,该可视化报表的制作装置还包括报表模板创建模块60,用于预先创建可视化报表模板。
报表模板报建模板60具体包括报表模板创建请求获取单元61、基本页面确定单元62、模板框架获取单元63和可视化模块配置单元64。
报表模板创建请求获取单元61,用于获取可视化报表模板创建请求,可视化报表模板创建请求包括报表ID和模板类型。
基本页面确定单元62,用于根据模板类型确定至少一个基本页面。
模板框架获取单元63,用于对每一基本页面进行划分,获取模板框架,模板框架包括至少一个模板区域。
可视化模块配置单元64,用于给每一模板区域配置一可视化模块,以形成与报表ID相对应的可视化报表模板。
实施例3
本实施例提供一计算机可读存储介质,该计算机可读存储介质上存储有计算机可读指令,该计算机可读指令被处理器执行时实现实施例1中可视化报表的制作方法,为避免重复,这里不再赘述。或者,该计算机可读指令被处理器执行时实现实施例2中可视化报表的制作装置中各模块/单元的功能,为避免重复,这里不再赘述。
实施例4
图7是本申请一实施例提供的终端设备的示意图。如图7所示,该实施例的终端设备70包括:处理器71、存储器72以及存储在存储器72中并可在处理器71上运行的计算机可读指令73。处理器71执行计算机可读指令73时实现上述各个可视化报表的制作方法实施例中的步骤,例如图1所示的步骤 S10至S50。或者,处理器71执行计算机可读指令73时实现上述各装置实施例中各模块/单元的功能,例如图6所示模块10至40的功能。
示例性的,计算机可读指令73可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器72中,并由处理器71执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令73的指令段,该指令段用于描述计算机可读指令73在终端设备70中的执行过程。
终端设备70可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备可包括,但不仅限于,处理器71、存储器72。本领域技术人员可以理解,图7仅仅是终端设备70的示例,并不构成对终端设备70的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备还可以包括输入输出设备、网络接入设备、总线等。
所称处理器71可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器72可以是终端设备70的内部存储单元,例如终端设备70的硬盘或内存。存储器72也可以是终端设备70的外部存储设备,例如终端设备70上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器72还可以既包括终端设备70的内部存储单元也包括外部存储设备。存储器72用于存 储计算机可读指令73以及终端设备所需的其他程序和数据。存储器72还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利 实践,计算机可读介质不包括是电载波信号和电信信号。
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种可视化报表的制作方法,其特征在于,包括:
    获取报表制作请求,所述报表制作请求包括报表ID;
    基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
    基于所述数据指标,获取目标报表数据;
    采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
    基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
  2. 如权利要求1所述的可视化报表的制作方法,其特征在于,所述图表转换工具包括至少一个图表转换函数;
    所述采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像,包括:
    获取图表类型配置请求,所述图表配置请求包括转换函数标识;
    基于所述转换函数标识,获取对应的转换函数方法;
    调用所述转换函数方法对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像。
  3. 如权利要求1所述的可视化报表的制作方法,其特征在于,在所述基于所述数据指标,获取目标报表数据的步骤之后,所述可视化报表的制作方法还包括:
    基于所述数据指标,获取与所述数据指标相对应的标准范围;
    基于所述目标报表数据和所述标准范围,判断所述目标报表数据是否存在异常;
    若所述目标报表数据存在异常,则所述采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像,还包括:在所述可视化图像中突出显示异常的所述目标报表数据。
  4. 如权利要求3所述的可视化报表的制作方法,其特征在于,所述基于所述数据指标,获取与所述数据指标相对应的标准范围,包括:
    基于所述数据指标,获取与所述数据指标相对应的历史数据;
    对所述历史数据进行均值运算,获取与所述数据指标相对应的标准值;
    基于所述标准值,获取与所述数据指标相对应的标准范围。
  5. 如权利要求1所述的可视化报表的制作方法,其特征在于,在所述获取报表制作请求的步骤之前,所述可视化报表的制作方法还包括:预先创建可视化报表模板;
    所述预先创建可视化报表模板包括:
    获取报表模板创建请求,所述报表模板创建请求包括所述报表ID和模板类型;
    根据所述模板类型确定至少一个基本页面;
    对每一所述基本页面进行划分,获取所述模板框架,所述模板框架包括至少一个模板区域;
    给每一所述模板区域配置一所述可视化模块,以形成与所述报表ID相对应的可视化报表模板。
  6. 一种可视化报表的制作装置,其特征在于,包括:
    报表制作请求获取模块,用于获取报表制作请求,所述报表制作请求包 括报表ID;
    报表模板获取模块,用于基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
    目标报表数据获取模块,用于基于所述数据指标,获取目标报表数据;
    可视化图像获取模块,采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
    可视化报表获取模块,用于基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
  7. 如权利要求6所述的可视化报表的制作装置,其特征在于,所述可视化报表的制作装置还包括:
    标准范围获取单元,用于基于所述数据指标,获取与所述数据指标相对应的标准范围;
    目标报表数据判断单元,用于基于所述目标报表数据和所述标准范围,判断所述目标报表数据是否存在异常;
    异常数据处理单元,用于在所述目标报表数据存在异常时,在所述可视化图像中突出显示异常的所述目标报表数据。
  8. 如权利要求7所述的可视化报表的制作装置,其特征在于,所述标准范围获取单元包括:
    历史数据获取子单元,用于基于所述数据指标,获取与所述数据指标相对应的历史数据;
    标准值获取子单元,用于对所述历史数据进行均值运算,获取与所述数据指标相对应的标准值;
    标准值获取子单元,用于基于所述标准值,获取与所述数据指标相对应的标准范围。
  9. 如权利要求6所述的可视化报表的制作装置,其特征在于,所述可视化报表的制作装置还包括:
    报表模板创建请求获取单元,用于获取报表模板创建请求,所述报表模板创建请求包括所述报表ID和模板类型;
    基本页面确定单元,用于根据所述模板类型确定至少一个基本页面;
    模板框架获取单元,用于对每一所述基本页面进行划分,获取所述模板框架,所述模板框架包括至少一个模板区域;
    可视化模块配置单元,用于给每一所述模板区域配置一所述可视化模块,以形成与所述报表ID相对应的可视化报表模板。
  10. 如权利要求6所述的可视化报表的制作装置,其特征在于,所述可视化图像获取模块包括:
    图表类型配置请求获取单元,用于获取图表类型配置请求,所述图表配置请求包括转换函数标识;
    转换函数获取单元,用于基于所述转换函数标识,获取对应的转换函数方法;
    可视化图像获取单元,用于调用所述转换函数方法对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像。
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:
    获取报表制作请求,所述报表制作请求包括报表ID;
    基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
    基于所述数据指标,获取目标报表数据;
    采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
    基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
  12. 如权利要求11所述的终端设备,其特征在于,所述图表转换工具包括至少一个图表转换函数,包括:
    所述采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像,包括:
    获取图表类型配置请求,所述图表配置请求包括转换函数标识;
    基于所述转换函数标识,获取对应的转换函数方法;
    调用所述转换函数方法对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像。
  13. 如权利要求11所述的终端设备,其特征在于,在所述基于所述数据指标,获取目标报表数据的步骤之后,所述处理器执行所述计算机可读指令时还实现如下步骤:
    基于所述数据指标,获取与所述数据指标相对应的标准范围;
    基于所述目标报表数据和所述标准范围,判断所述目标报表数据是否存在异常;
    若所述目标报表数据存在异常,则所述采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像,还包括: 在所述可视化图像中突出显示异常的所述目标报表数据。
  14. 如权利要求13所述的终端设备,其特征在于,所述基于所述数据指标,获取与所述数据指标相对应的标准范围,包括:
    基于所述数据指标,获取与所述数据指标相对应的历史数据;
    对所述历史数据进行均值运算,获取与所述数据指标相对应的标准值;
    基于所述标准值,获取与所述数据指标相对应的标准范围。
  15. 如权利要求11所述的终端设备,其特征在于,在所述获取报表制作请求的步骤之前,所述处理器执行所述计算机可读指令时还实现如下步骤:预先创建可视化报表模板;
    所述预先创建可视化报表模板包括:
    获取报表模板创建请求,所述报表模板创建请求包括所述报表ID和模板类型;
    根据所述模板类型确定至少一个基本页面;
    对每一所述基本页面进行划分,获取所述模板框架,所述模板框架包括至少一个模板区域;
    给每一所述模板区域配置一所述可视化模块,以形成与所述报表ID相对应的可视化报表模板。
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:
    获取报表制作请求,所述报表制作请求包括报表ID;
    基于所述报表ID,获取与所述报表ID相对应的可视化报表模板;所述可视化报表模板包括模板框架和至少一个可视化模块,每一所述可视化模块包括图表转换工具和数据指标;
    基于所述数据指标,获取目标报表数据;
    采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像;
    基于所述模板框架和至少一个所述可视化图像,获取可视化报表。
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述图表转换工具包括至少一个图表转换函数;
    所述采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像,包括:
    获取图表类型配置请求,所述图表配置请求包括转换函数标识;
    基于所述转换函数标识,获取对应的转换函数方法;
    调用所述转换函数方法对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像。
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,在所述基于所述数据指标,获取目标报表数据的步骤之后,所述计算机可读指令被处理器执行时还实现如下步骤:
    基于所述数据指标,获取与所述数据指标相对应的标准范围;
    基于所述目标报表数据和所述标准范围,判断所述目标报表数据是否存在异常;
    若所述目标报表数据存在异常,则所述采用所述图表转换工具对所述目标报表数据进行转换,获取每一所述可视化模块对应的可视化图像,还包括:在所述可视化图像中突出显示异常的所述目标报表数据。
  19. 如权利要求18所述的计算机可读存储介质,其特征在于,所述基于所述数据指标,获取与所述数据指标相对应的标准范围,包括:
    基于所述数据指标,获取与所述数据指标相对应的历史数据;
    对所述历史数据进行均值运算,获取与所述数据指标相对应的标准值;
    基于所述标准值,获取与所述数据指标相对应的标准范围。
  20. 如权利要求16所述的计算机可读存储介质,其特征在于,在所述获取报表制作请求的步骤之前,所述计算机可读指令被处理器执行时还实现如下步骤:预先创建可视化报表模板;
    所述预先创建可视化报表模板包括:
    获取报表模板创建请求,所述报表模板创建请求包括所述报表ID和模板类型;
    根据所述模板类型确定至少一个基本页面;
    对每一所述基本页面进行划分,获取所述模板框架,所述模板框架包括至少一个模板区域;
    给每一所述模板区域配置一所述可视化模块,以形成与所述报表ID相对应的可视化报表模板。
PCT/CN2018/074648 2017-12-26 2018-01-31 可视化报表的制作方法、装置、终端设备及存储介质 WO2019127821A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711431208.9 2017-12-26
CN201711431208.9A CN108170655A (zh) 2017-12-26 2017-12-26 可视化报表的制作方法、装置、终端设备及存储介质

Publications (1)

Publication Number Publication Date
WO2019127821A1 true WO2019127821A1 (zh) 2019-07-04

Family

ID=62521085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/074648 WO2019127821A1 (zh) 2017-12-26 2018-01-31 可视化报表的制作方法、装置、终端设备及存储介质

Country Status (2)

Country Link
CN (1) CN108170655A (zh)
WO (1) WO2019127821A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471730A (zh) * 2019-08-08 2019-11-19 携程旅游信息技术(上海)有限公司 基于Echarts的展示方法、系统、大屏系统和介质

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876255A (zh) * 2018-08-02 2018-11-23 平安科技(深圳)有限公司 仓库资产盘点方法、装置、计算机设备及存储介质
CN109145278A (zh) * 2018-09-10 2019-01-04 深圳市泰洲科技有限公司 报表生成方法、装置、计算机设备及存储介质
CN109388462B (zh) * 2018-09-28 2024-05-28 中国平安财产保险股份有限公司 报表共享方法、装置、计算机设备及存储介质
CN109388791B (zh) * 2018-09-28 2024-05-14 中国平安财产保险股份有限公司 图表动态展示方法、装置、计算机设备及存储介质
CN109491743A (zh) * 2018-11-05 2019-03-19 上海鋆创信息技术有限公司 可视化报表生成方法、装置、电子设备和存储介质
CN109902122A (zh) * 2019-01-25 2019-06-18 深圳市买买提信息科技有限公司 一种数据可视化方法、装置、电子设备以及计算机可读存储介质
CN110263307A (zh) * 2019-04-15 2019-09-20 重庆金融资产交易所有限责任公司 报表生成方法、服务器及计算机可读存储介质
CN110717319B (zh) * 2019-09-24 2023-10-20 车智互联(北京)科技有限公司 一种自助报表生成方法、装置、计算设备和系统
CN111062816B (zh) * 2019-12-04 2024-01-23 中国建设银行股份有限公司 账户资产监管方法及装置
CN113127547A (zh) * 2019-12-31 2021-07-16 新奥数能科技有限公司 一种数据处理方法、装置、智能终端及存储介质
CN113326679A (zh) * 2020-02-28 2021-08-31 拓尔思天行网安信息技术有限责任公司 可视化图表页面制作方法、装置、设备及存储介质
CN111563369A (zh) * 2020-05-11 2020-08-21 中冶赛迪重庆信息技术有限公司 一种屏幕可视化方法、装置、电子设备及介质
CN112364074B (zh) * 2020-10-30 2023-04-07 浪潮通用软件有限公司 一种时序数据可视化方法、设备及介质
CN112463801A (zh) * 2020-12-11 2021-03-09 绿瘦健康产业集团有限公司 一种报表推送方法、装置、终端设备及存储介质
CN112767103A (zh) * 2020-12-30 2021-05-07 北京知因智慧科技有限公司 财务数据分析方法、装置和电子设备
CN112651216A (zh) * 2020-12-31 2021-04-13 中国农业银行股份有限公司 一种图表创建方法和相关装置
CN113505575A (zh) * 2021-07-09 2021-10-15 中国工商银行股份有限公司 数据处理方法、装置、设备及存储介质
CN113888294A (zh) * 2021-08-24 2022-01-04 福建省账捷达网络科技有限公司 一种财务自助处理方法、系统、装置及存储介质
CN114676190B (zh) * 2022-05-27 2022-10-11 太平金融科技服务(上海)有限公司深圳分公司 数据展示方法、装置、计算机设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663024A (zh) * 2012-03-22 2012-09-12 北京英孚斯迈特信息技术有限公司 一种用于企业数据统一平台的数据门户系统
CN104866599A (zh) * 2015-06-01 2015-08-26 北京京东尚科信息技术有限公司 可视化报表的生产方法和系统
CN106372175A (zh) * 2016-08-31 2017-02-01 五八同城信息技术有限公司 报表的处理方法、装置和服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589897B (zh) * 2014-11-17 2018-12-21 金蝶软件(中国)有限公司 基于xbrl的报表展示方法和系统
US10061763B2 (en) * 2016-04-04 2018-08-28 Accenture Global Solutions Limited Document presentation interface based on intelligent mapping
CN105843945A (zh) * 2016-04-08 2016-08-10 联动优势科技有限公司 一种报表生成方法及系统
CN106407172B (zh) * 2016-11-21 2019-06-07 成都鼎桥通信技术有限公司 一种基于xml的报表生成方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663024A (zh) * 2012-03-22 2012-09-12 北京英孚斯迈特信息技术有限公司 一种用于企业数据统一平台的数据门户系统
CN104866599A (zh) * 2015-06-01 2015-08-26 北京京东尚科信息技术有限公司 可视化报表的生产方法和系统
CN106372175A (zh) * 2016-08-31 2017-02-01 五八同城信息技术有限公司 报表的处理方法、装置和服务器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HU, SHUAI: "System Analysis and Design of the Visualized Reporting Tool", CHINESE MASTER'S THESES, no. 12, 15 December 2010 (2010-12-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471730A (zh) * 2019-08-08 2019-11-19 携程旅游信息技术(上海)有限公司 基于Echarts的展示方法、系统、大屏系统和介质

Also Published As

Publication number Publication date
CN108170655A (zh) 2018-06-15

Similar Documents

Publication Publication Date Title
WO2019127821A1 (zh) 可视化报表的制作方法、装置、终端设备及存储介质
WO2019109485A1 (zh) 基于eCharts工具的图表制作方法、装置、设备及介质
WO2020215894A1 (zh) 一种告警方法、装置及系统
US10209956B2 (en) Automatic event group actions
US20170019487A1 (en) Automated service discovery in i.t. environments
US10198155B2 (en) Interface for automated service discovery in I.T. environments
JP2020527788A (ja) 疾患予測方法および装置、コンピューター装置及び可読記憶媒体
WO2019056681A1 (zh) 数据实时监控方法、装置、终端设备及存储介质
WO2022179123A1 (zh) 数据更新及展示方法、装置、电子设备及存储介质
WO2020087830A1 (zh) 数据分析方法、装置、服务器及存储介质
CN111414376A (zh) 一种数据预警方法和装置
WO2022088632A1 (zh) 用户数据监控分析方法、装置、设备及介质
CN109670091B (zh) 一种基于数据标准的元数据智能维护方法和装置
WO2021051589A1 (zh) 数据存储方法、装置、电子设备及存储介质
WO2013073377A1 (ja) 情報拡散規模予測装置、情報拡散規模予測方法、および情報拡散規模予測プログラム
CN114169536B (zh) 数据管控方法及相关装置
WO2023240830A1 (zh) 一种信息管理方法、装置、设备及介质
US11947613B2 (en) System and method for efficiently querying data using temporal granularities
CN111401023B (zh) 一种报表生成方法、装置、服务器及存储介质
CN110941536B (zh) 监控方法及系统、第一服务器集群
WO2019080419A1 (zh) 标准知识库的构建方法、电子装置及存储介质
WO2019232916A1 (zh) 项目控制方法、装置、电子设备及介质
CN114298805A (zh) 告警信息生成方法和设备
CN113672660A (zh) 一种数据查询方法、装置及设备
CN114756468A (zh) 一种测试数据的创建方法、装置、设备及存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.10.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18894341

Country of ref document: EP

Kind code of ref document: A1