CN113688173A - Report information processing method and device, electronic equipment and storage medium - Google Patents

Report information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113688173A
CN113688173A CN202010426980.7A CN202010426980A CN113688173A CN 113688173 A CN113688173 A CN 113688173A CN 202010426980 A CN202010426980 A CN 202010426980A CN 113688173 A CN113688173 A CN 113688173A
Authority
CN
China
Prior art keywords
report
information processing
template
self
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010426980.7A
Other languages
Chinese (zh)
Inventor
陈倩雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010426980.7A priority Critical patent/CN113688173A/en
Publication of CN113688173A publication Critical patent/CN113688173A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention provides a report information processing method, which comprises the following steps: displaying a user interface, wherein the user interface also comprises an editing control component and an association component; triggering a self-defined report library process through an editing control assembly, and determining a report library matched with the application environment; triggering a self-defined report template process through the editing control assembly, and determining a corresponding self-defined report template; based on the association component, creating and executing a report task through the self-defined report template to form preview information in the report editing environment; and displaying the preview information through the user interface. The invention also provides a processing device, an electronic device and a storage medium. The invention can realize that the report matched with the use environment can be automatically generated, the efficiency of report information processing is improved, and meanwhile, a user can visually check and regulate the generation process of the report through a user interface, thereby facilitating the user to manage the generated report in time.

Description

Report information processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to information processing technologies, and in particular, to a method and an apparatus for processing report information, an electronic device, and a storage medium.
Background
At present, the data report can conveniently check the difference and the prediction trend of data, effectively express the data relation and enable a user to more conveniently compare the data or observe the data change. The report is linked to the working data that generated it. At present, common data report types include column diagrams (histograms), line graphs, pie charts, bar charts, radar charts and the like, but in the prior art, in the process of generating reports, the template content of a product planning report needs to be determined first, a template document is output, then an interactive draft is designed according to the template document in an interactive mode, and finally a developer develops the report according to the interactive draft. The contents of different reports have certain repeatability, but each report template needs to be redesigned and developed, so that the workload is large, the efficiency of report information processing is influenced, and the waiting time of a user in using the reports is increased.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for processing report information, and a technical solution of an embodiment of the present invention is implemented as follows:
the embodiment of the invention provides a report information processing method, which comprises the following steps:
displaying a user interface, wherein the user interface comprises a person-name visual angle picture for observing the report editing environment by a first person-name visual angle, and the user interface also comprises an editing control component and an associated component;
triggering a self-defined report library process through the editing control assembly, and determining a report library matched with the application environment;
triggering a self-defined report template process through the editing control assembly, and determining a corresponding self-defined report template;
based on the association component, creating and executing a report task through the self-defined report template to form preview information in the report editing environment;
and displaying the preview information through the user interface so as to realize that the report generated by the report task is viewed through the first-person visual angle.
The embodiment of the invention also provides a report information processing device, which comprises:
the information transmission device is used for displaying a user interface, the user interface comprises a person-name view angle picture for observing the report editing environment by a first person-name view angle, and the user interface also comprises an editing control component and an associated component;
the information processing device is used for triggering the self-defined report library process through the editing control component and determining the report library matched with the application environment;
the information processing device is used for triggering a self-defined report template process through the editing control assembly and determining a corresponding self-defined report template;
the information processing device is used for creating and executing a report task through the self-defined report template based on the associated component to form preview information in the report editing environment;
and the information processing device is used for displaying the preview information through the user interface so as to realize the purpose of viewing the report generated by the report task through the first person visual angle.
In the above-mentioned scheme, the first step of the method,
the information processing device is used for determining parameters of different chart information to be displayed in the application environment of the report form through the editing control component;
the information processing device is used for determining a report library matched with an application environment based on the parameters of the different chart information, wherein the chart information parameters comprise: a chart type parameter, a chart coordinate parameter, and a chart timeframe parameter.
In the above-mentioned scheme, the first step of the method,
the information processing device is used for triggering a self-defined report template process to call a query interface through the editing control assembly so as to obtain all report templates in the database;
the information processing device is used for determining layout objects in the self-defined report template based on different layout objects in all report templates;
and the information processing device is used for triggering a dragging component process and dragging the display position of the layout object in the custom report template to form a corresponding custom report template.
In the above-mentioned scheme, the first step of the method,
the information processing device is used for determining the initial positions and the end positions of different layout objects in the user-defined report template through the dragging component process;
the information processing device is used for determining coordinate parameters of different layout objects in the self-defined report template based on the initial positions and the end positions of the different layout objects in the self-defined report template;
and the information processing device is used for determining the corresponding self-defined report template based on the coordinate parameters of the different layout objects in the self-defined report template.
In the above-mentioned scheme, the first step of the method,
the information processing device is used for determining the output size of the report information;
the information processing device is used for determining new coordinate parameters of different layout objects in each page of the output report information according to the output size of the report information;
the information processing device is used for adjusting element position rows in the output report information according to the new coordinate parameters of the different layout objects;
and the information processing device is used for rendering the adjusted report information to form the report information to be output, which is matched with the use environment.
In the above-mentioned scheme, the first step of the method,
the information processing device is used for calling an interface matched with the report task through a service process based on the association component;
the information processing device is used for executing the one-time report task through the corresponding interface according to the type of the report task based on the interface matched with the report task;
and the information processing device is used for executing the periodic report tasks through the corresponding interface.
In the above-mentioned scheme, the first step of the method,
the information processing device is used for sending the user identification, the generated report and the corresponding report template to the block chain network so as to ensure that the user identification, the generated report and the corresponding report template are sent to the block chain network
And the node of the block chain network fills the user identification, the generated report and the corresponding report template into a new block, and when the new block is identified in a consistent manner, the new block is added to the tail part of the block chain.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is used for realizing the report information processing method of the preorder when the executable instruction stored in the memory is operated.
The embodiment of the invention also provides a computer-readable storage medium, which stores executable instructions and is characterized in that the executable instructions are executed by the processor to realize the report information processing method of the preamble.
The embodiment of the invention has the following beneficial effects:
displaying a user interface, wherein the user interface comprises a person view angle picture for observing the report editing environment by a first person view angle, and the user interface also comprises an editing control component and an associated component; triggering a self-defined report library process through the editing control assembly, and determining a report library matched with the application environment; triggering a self-defined report template process through the editing control assembly, and determining a corresponding self-defined report template; based on the association component, creating and executing a report task through the self-defined report template to form preview information in the report editing environment; displaying the preview information through the user interface to realize that the report generated by the report task is viewed through the first person visual angle; therefore, the report matched with the use environment can be automatically generated, the efficiency of report information processing is improved, meanwhile, a user can visually check and regulate the generation process of the report through a user interface, the user can manage the generated report in time conveniently, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic view of a usage scenario of a report information processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a structure of a report information processing apparatus according to an embodiment of the present invention;
fig. 3 is an optional flowchart of the report information processing method according to the embodiment of the present invention;
FIG. 4 is a diagram illustrating a data structure of a report information processing method according to an embodiment of the present invention
Fig. 5 is an optional flowchart of the report information processing method according to the embodiment of the present invention;
fig. 6 is an optional front-end display diagram of the report information processing method according to the embodiment of the present invention;
fig. 7 is an optional flowchart of the report information processing method according to the embodiment of the present invention;
fig. 8 is an optional front-end display diagram of the report information processing method according to the embodiment of the present invention;
fig. 9 is an optional flowchart of the report information processing method according to the embodiment of the present invention;
fig. 10 is a schematic structural diagram of a report information processing apparatus 100 according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a block chain in the block chain network 200 according to an embodiment of the present invention.
Fig. 12 is a functional architecture diagram of a blockchain network 200 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
2) Terminals, including but not limited to: the system comprises a common terminal and a special terminal, wherein the common terminal is in long connection and/or short connection with a sending channel, and the special terminal is in long connection with the sending channel.
3) The client and the carrier for realizing the specific function in the terminal, for example, a mobile client (APP) is a carrier for realizing the specific function in the mobile terminal, for example, a function of executing report making or a function of displaying a report.
4) Reports (forms for reporting to the high organization) are tables reporting or presenting to the upper level, including: tables, charts, etc. to dynamically display data.
5) A Mini Program (Program) is a Program developed based on a front-end-oriented Language (e.g., JavaScript) and implementing a service in a hypertext Markup Language (HTML) page, and software downloaded by a client (e.g., a browser or any client embedded in a browser core) via a network (e.g., the internet) and interpreted and executed in a browser environment of the client saves steps installed in the client. For example, applets for implementing various services such as air ticket purchase, report making, data presentation, and the like can be downloaded and run in the social network client.
6) The runtime environment, the engine for interpreting and executing code, for example, for an applet, may be the JavaScript Core of the iOS platform, the X5 JS Core of the android platform.
7) The rendering environment, the control for rendering the view, for example, for the rendering environment of the applet, may be wkwwebview of the iOS platform, X5 of the android platform (based on Chrome 53/57 kernel).
8) A Component (Component), which is a functional module of a view of an applet, also called the front-end Component, buttons, titles, tables, sidebars, content, and footers in a page, includes modular code to facilitate reuse among different pages of the applet.
9) And the third-party application process is a component which is developed for the instant messaging client based on a third-party development framework (such as Vue development framework) and can be used by the instant messaging client for report making.
10) Transactions (transactions), equivalent to the computer term "Transaction," include operations that need to be committed to a blockchain network for execution and do not refer solely to transactions in the context of commerce, which embodiments of the present invention follow in view of the convention colloquially used in blockchain technology.
For example, a deployment (deployment) transaction is used to install a specified smart contract to a node in a blockchain network and is ready to be invoked; the Invoke (Invoke) transaction is used to append records of the transaction in the blockchain by invoking the smart contract and to perform operations on the state database of the blockchain, including update operations (including adding, deleting, and modifying key-value pairs in the state database) and query operations (i.e., querying key-value pairs in the state database).
11) A Block chain (Block chain) is an encrypted, chained transaction storage structure formed of blocks (blocks).
For example, the header of each block may include hash values of all transactions in the block, and also include hash values of all transactions in the previous block, so as to achieve tamper resistance and forgery resistance of the transactions in the block based on the hash values; newly generated transactions, after being filled into the tiles and passing through the consensus of nodes in the blockchain network, are appended to the end of the blockchain to form a chain growth.
12) A Block chain Network (Block chain Network) incorporates new blocks into a set of nodes of a Block chain in a consensus manner.
13) Ledger (legger) is a general term for blockchains (also called Ledger data) and state databases synchronized with blockchains.
Wherein, the blockchain records the transaction in the form of a file in a file system; the state database records the transactions in the blockchain in the form of different types of Key (Key) Value pairs for supporting fast query of the transactions in the blockchain.
14) Intelligent Contracts (Smart Contracts), also known as Chain codes (Chain codes) or application codes, are programs deployed in nodes of a blockchain network, which execute intelligent Contracts called in received transactions to perform operations of updating or querying key-value data of the account database.
15) Consensus (Consensus), a process in a blockchain network, is used to agree on transactions in blocks among the nodes involved, the agreed blocks are to be appended to the end of the blockchain, and the mechanisms to achieve Consensus include Proof of workload (Po W), Proof of rights and interests (PoS, Proof of stamp), Proof of equity authorization (D PoS, released Proof of stamp), Proof of Elapsed Time (Po ET, Proof of Elapsed Time), etc.
16) Polling is a way for the CPU to decide how to provide services to peripheral devices, also known as Programmed I/O. The concept of the polling method is: the CPU sends out inquiry at regular time to inquire each peripheral equipment whether it needs its service or not in sequence, if so, the peripheral equipment gives service, and after the service is over, the peripheral equipment asks the next peripheral equipment, and then the process is repeated.
17) HTTP, a simple request-response protocol, typically runs on top of TCP. It specifies what messages the client may send to the server and what responses to get. The headers of the request and response messages are given in ASCII code form; and the message content has a MIME-like format.
18) This document refers to a Database (DB), which is a "repository that organizes, stores, and manages data according to a data structure. Is an organized, shared, and uniformly managed data collection stored long term in a computer. The database is a data set which is stored together in a certain mode, can be shared by a plurality of users, has the redundancy as small as possible, is independent from an application program, can be regarded as an electronic file cabinet, namely a place for storing electronic files, and can be used for adding, inquiring, updating, deleting and the like of data in the files.
The report information processing method provided by the embodiment of the present invention is described below by taking a use environment of report information processing as an example, where fig. 1 is a schematic view of a use scene of the report information processing method provided by the embodiment of the present invention, referring to fig. 1, a terminal (including a terminal 10-1 and a terminal 10-2) is provided with a client capable of displaying a corresponding report, a user can obtain different report information through the corresponding client and display the report information, and the report information is adjusted and modified in the client; or different report information is obtained and displayed through the small program loaded in the instant messaging software; the terminal is connected to the server 200 through a network 300, and the network 300 may be a wide area network or a local area network, or a combination of the two, and uses a wireless link to realize data transmission. As an example, the server 200 is configured to lay the report information processing apparatus to implement the report information processing method provided by the present invention, so as to display a user interface, where the user interface includes a person-view picture for observing the report editing environment at a first person view, and the user interface further includes an editing control component and an associated component; triggering a self-defined report library process through the editing control assembly, and determining a report library matched with the application environment; triggering a self-defined report template process through the editing control assembly, and determining a corresponding self-defined report template; based on the association component, creating and executing a report task through the self-defined report template to form preview information in the report editing environment; and displaying the preview information through the user interface so as to realize that the report generated by the report task is viewed through the first-person visual angle. In some embodiments of the present invention, the different reporting templates and reporting libraries maintained in the server 200 may be written in software code environments of different programming languages, and the code objects may be different types of code entities. For example, in the software code of C language, one code object may be one function. In the software code of JAVA language, a code object may be a class, and the OC language of IOS terminal may be a target code. In the software code of C + + language, a code object may be a class or a function to execute text processing instructions from different terminals. In which no distinction is made in the present application between the sources of text information to be processed by the name prediction model.
As will be described in detail below, the structure of the report information processing apparatus according to the embodiment of the present invention may be implemented in various forms, such as a dedicated terminal with a processing function of the report information processing apparatus, or a server with a processing function of the report information processing apparatus, such as the server 200 in the foregoing fig. 1. Fig. 2 is a schematic diagram of a composition structure of a report information processing apparatus according to an embodiment of the present invention, and it can be understood that fig. 2 only shows an exemplary structure of the report information processing apparatus, and not a whole structure, and a part of the structure or the whole structure shown in fig. 2 may be implemented as needed.
The report information processing device provided by the embodiment of the invention comprises: at least one processor 201, memory 202, user interface 203, and at least one network interface 204. The various components in the report information processing apparatus are coupled together by a bus system 205. It will be appreciated that the bus system 205 is used to enable communications among the components. The bus system 205 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 205 in fig. 2.
The user interface 203 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 202 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The memory 202 in embodiments of the present invention is capable of storing data to support operation of the terminal (e.g., 10-1). Examples of such data include: any computer program, such as an operating system and application programs, for operating on a terminal (e.g., 10-1). The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program may include various application programs.
In some embodiments, the report information processing apparatus provided in the embodiments of the present invention may be implemented by a combination of software and hardware, and as an example, the report information processing apparatus provided in the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the report information processing method provided in the embodiments of the present invention. For example, a processor in the form of a hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
As an example of the report information processing apparatus provided by the embodiment of the present invention implemented by combining software and hardware, the report information processing apparatus provided by the embodiment of the present invention may be directly embodied as a combination of software modules executed by the processor 201, where the software modules may be located in a storage medium, the storage medium is located in the memory 202, the processor 201 reads executable instructions included in the software modules in the memory 202, and the report information processing method provided by the embodiment of the present invention is completed by combining necessary hardware (for example, including the processor 201 and other components connected to the bus 205).
By way of example, the Processor 201 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor or the like.
As an example of the report information processing apparatus provided by the embodiment of the present invention implemented by hardware, the apparatus provided by the embodiment of the present invention may be implemented by directly using the processor 201 in the form of a hardware decoding processor, for example, the apparatus may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components to implement the report information processing method provided by the embodiment of the present invention.
The memory 202 in the embodiment of the present invention is used to store various types of data to support the operation of the report information processing apparatus. Examples of such data include: any executable instructions for operating on the report information processing apparatus, such as executable instructions, a program implementing the slave report information processing method of the embodiment of the present invention may be included in the executable instructions.
In other embodiments, the report information processing apparatus provided in the embodiment of the present invention may be implemented in a software manner, and fig. 2 illustrates the report information processing apparatus stored in the memory 202, which may be software in the form of programs, plug-ins, and the like, and includes a series of modules, as an example of the programs stored in the memory 202, the report information processing apparatus may include the following software modules: an information transmission module 2081 and an information processing module 2082. When the software modules in the report information processing apparatus are read into the RAM by the processor 201 and executed, the report information processing method provided by the embodiment of the present invention is implemented, wherein the functions of each software module in the report information processing apparatus include:
the information transmission module 2081 is used for displaying a user interface, the user interface comprises a personal view angle picture for observing the report editing environment by a first personal view angle, and the user interface also comprises an editing control component and an associated component;
the information processing device 2082 is used for triggering the self-defined report library process through the editing control component and determining the report library matched with the application environment;
the information processing device 2082 is used for triggering a self-defined report template process through the editing control assembly and determining a corresponding self-defined report template;
the information processing device 2082 is configured to create and execute a report task through the custom report template based on the association component, and form preview information in the report editing environment;
the information processing device 2082 is configured to display the preview information through the user interface, so as to view the report generated by the report task through the first-person viewing angle.
The report information processing method provided by the embodiment of the invention is described with reference to the report information processing device shown in fig. 2, wherein the data report can conveniently check the difference and the predicted trend of the data, so that the data comparison or the data change trend becomes clear at a glance, and the data relationship can be quickly and effectively expressed. At present, common data report types include column diagrams (histograms), line graphs, pie charts, bar graphs, radar charts, funnel graphs, data maps, waterfall graphs and the like, but in the prior art, in the process of generating reports, the template content of product planning reports needs to be determined at first, template documents are output, then interactive manuscripts are interactively designed according to the template documents, and finally developers develop the reports according to the interactive manuscripts, and the process needs to be participated by multiple persons, and the serial working mode from product output report requirements to interactive manuscripts design and development at last has blocking performance. The contents of different reports have certain repeatability, but each report template needs to be redesigned and developed, so that the workload is large, and the efficiency of report information processing is influenced.
In order to overcome the above-mentioned defects, an embodiment of the present invention provides a method for processing report information, referring to fig. 3, fig. 3 is an optional schematic flow chart of the method for processing report information provided in the embodiment of the present invention, and it can be understood that the steps shown in fig. 3 may be executed by various electronic devices operating a report information processing apparatus, for example, a mobile phone or a tablet computer with a report information processing function. The special terminal with the report information processing apparatus can be packaged in the terminal 10-1 shown in fig. 1 to execute the corresponding software module in the report information processing apparatus shown in fig. 2 in the foregoing sequence. The following is a description of the steps shown in fig. 3.
Step 301: the report information processing apparatus displays a user interface.
The user interface comprises a person view angle picture for observing the report editing environment by a first person view angle, and the user interface also comprises an editing control component and an associated component.
Referring to fig. 4, fig. 4 is a data structure diagram of a report information processing method in an embodiment of the present invention, where a cloud data layer supports data storage of an elastic search and mysql; certainly, the cloud data layer can also be located in the block chain network to realize data support of the service layer, and the formed report information is stored in the block chain network. The service layer provides web service and report service, and supports the functions of data analysis processing, data access, report task creation and execution, report generation and the like; based on the functions provided by the service layer, the page display of the report center and the report center is realized on the display layer, a user accesses the report center through a PC (personal computer) end to configure the report to construct a report library, the report template is customized on the report center, a report task is created based on the report template to generate a report, and the content of the report is viewed online and offline.
In some embodiments of the present invention, before triggering the custom report library process, the following services need to be deployed and started at the cloud server:
a) web services: the HTTP-based service system is used for receiving a request sent to a web server by a browser through a URL, processing corresponding service logics such as database interaction and request forwarding, and returning response information to the browser. b) Report service: and receiving a web service forwarding request for processing the creation, execution and report generation of the report task. c) pdf service: and saving the page content of the specified url in a pdf format, and generating a pdf report document to ensure the reading experience of the user.
Step 302: and the report information processing device triggers a self-defined report library process through the editing control component to determine the report library matched with the application environment.
In some embodiments of the present invention, the editing control component triggers a custom report library process to determine a report library matched with an application environment, and the process can be implemented in the following manner:
determining parameters of different chart information to be displayed in the application environment of the report form through the editing control assembly; determining a report library matched with the application environment based on the parameters of the different chart information, wherein the chart information parameters comprise: a chart type parameter, a chart coordinate parameter, and a chart timeframe parameter. Referring to fig. 5 and fig. 6, fig. 5 is an optional schematic flow chart of the report information processing method according to the embodiment of the present invention, and fig. 6 is an optional front-end display schematic diagram of the report information processing method according to the embodiment of the present invention, it can be understood that the steps shown in fig. 5 may be executed by various electronic devices operating the report information processing apparatus, for example, a mobile phone or a tablet computer with a report information processing function. The special terminal with the report information processing apparatus can be packaged in the terminal 10-1 shown in fig. 1 to execute the corresponding software module in the report information processing apparatus shown in fig. 2 in the foregoing sequence. The following is a description of the steps shown in fig. 5.
Step 501: and displaying the chart center chart management page through a user-defined report library process.
Furthermore, a chart library component required by a user can be generated by customizing the chart library process for selection when a subsequent report form template is edited.
Step 502: and entering a chart editing process through a displayed chart management page, and determining chart information such as a chart type, parameters, a time range of a coordinate level and the like.
Step 503: judging whether to save, if so, executing step 504, otherwise, executing step 501
Step 504: and sending a storage request to the server, and storing the data into a report library matched with the determined application environment.
Therefore, the report library matched with the use environment can be determined according to the chart type parameter, the chart coordinate parameter and the chart time range parameter, and repeated processing caused by improper selection of the report library is reduced. Meanwhile, through accessing the report center page for interaction, relevant interfaces such as report library query, report storage, report editing, report deletion and the like provided by web services can be called, and a report maintenance self-defined report library is managed.
Step 303: the report information processing device triggers the self-defined report template process through the editing control component and determines the corresponding self-defined report template.
In some embodiments of the present invention, the editing control component triggers a custom report template process to determine a corresponding custom report template, which can be implemented in the following manner:
triggering a self-defined report template process to call a query interface through the editing control assembly, and acquiring all report templates in the database; determining layout objects in the self-defined report template based on different layout objects in all report templates; and triggering a dragging component process, and dragging the display position of the layout object in the self-defined report template to form a corresponding self-defined report template. The initial positions and the termination positions of different layout objects in the self-defined report template can be determined through the dragging component process; determining coordinate parameters of different layout objects in the self-defined report template based on the initial positions and the end positions of the different layout objects in the self-defined report template; and determining the corresponding self-defined report template based on the coordinate parameters of the different layout objects in the self-defined report template.
Referring to fig. 7 and 8, fig. 7 is an optional schematic flow chart of the report information processing method according to the embodiment of the present invention, and fig. 8 is an optional front-end display schematic diagram of the report information processing method according to the embodiment of the present invention, it can be understood that the steps shown in fig. 7 may be executed by various electronic devices operating the report information processing apparatus, for example, a mobile phone or a tablet computer with a report information processing function. The special terminal with the report information processing apparatus can be packaged in the terminal 10-1 shown in fig. 1 to execute the corresponding software module in the report information processing apparatus shown in fig. 2 in the foregoing sequence. The following is a description of the steps shown in fig. 7.
Step 701: and displaying a report template management page of the report center through a self-defined report template process.
Step 702: and accessing the report template editing page, summarizing and inquiring in the corresponding server to obtain a chart library configured by the user, and displaying in the component library.
Step 703: and acquiring a component selected by a user from the component library, dragging the selected component into an editing panel, editing the data statistics of different types of text and diagram display through a text box, and finishing the custom layout of the report.
Step 704: and judging whether page saving processing is carried out or not, if so, executing step 705, otherwise, executing step 701.
Step 705: and sending a storage request to the server, storing the storage request into a data table of the database report template, and finishing determining the corresponding self-defined report template.
Step 706: and judging whether page preview processing is carried out or not, if so, executing step 707, otherwise, executing step 701.
Step 707: and sending a preview request to a server, acquiring report template data, performing paging calculation, and displaying the report template in a paging manner.
And in the process of determining the layout objects in the self-defined report template based on different layout objects in all report templates, a) accessing a report central report template management page, calling a report template library query interface of a web service, and acquiring all current report templates. b) And entering a new report template/edit page into a template edit page, wherein a page left side column component library consists of a text box and a component library, and the component library is obtained by calling a report library query interface of web service. And quoting a ReactDND dragging component, and supporting the dragging of the selection component to be placed in the right editing panel. c) And the editing panel realizes the visual dragging layout function of the component based on the exact-grid-layout. The editing panel page maintains an object array to store layout information and associated components of all selected components, the report component in the object is associated with a report unique identifier, and the text box component is associated with text information. Layout object eg: { x: 0, y: 0, w: 12, h: 2, the upper left corner of the editable area of the editing panel is the origin [0, 0], x is the horizontal coordinate offset to the right of the origin, y is the vertical coordinate offset to the lower side of the origin, w is the editable area aspect ratio (12 is the maximum width), and h is the editable area height ratio (the default row height is 150 px). For convenience of explanation, { w: 12, h: 2 as a default value, x and y are obtained by calculation of a layout information object array and the default value and are initialized to be { x: 0, y: 0}. d) The position information calculation method of the next component is as follows: first, nextW is known to be 12, occupying the maximum width of the panel, so nextX has and can only be 0; in the second step, the maximum depth max (y + h) of the layout information object array is counted, and nextY ═ max (y + h) is obtained. For example, the existing layout information object array is [ { x: 0, y: 0, w: 12, h: 2}, { x: 0, y: 2, w: 12 h: 3, when the next component is selected, nextX ═ 0, nextY ═ max (y + h) ═ max (2, 5) ═ 5, so that the next component layout information is { x: 0, y: 5, w: 12, h: 2, the layout can be changed by dragging and zooming operations. e) And when the report template is saved, processing the layout information and the associated component object array as a request body, calling a report template saving interface of the web service, and saving the self-defined template. f) And when the report template is previewed, calling interfaces of report template query, report query and the like of the web service, acquiring layout information and associated component information of the report template, and calculating a paging rendering template page by taking A4 as a standard according to the layout information. The paging calculation method comprises the following steps: recalculating the layout object array of each page according to the paging, storing the layout object array in the pageData object by taking the page number as a key value, and reading the layout object array of each page by traversing the pageData to render the page during previewing. The calculation scheme comprises the following steps: firstly, calculating the height limit H of the A4 page which can be used for component layout, counting a layout information object array, and sequencing the components according to the depth deep which is y + h to obtain a new object array deep array; secondly, initializing the page to be 1, and setting the cumulative height sumH of the current page to be 0; and thirdly, traversing the depeArray, wherein the height of each layout object is h, and storing the component layout objects with sumH + h not exceeding the limit into pageData which is { 1: [ obj1, obj2] }; and fourthly, after the limit H is exceeded, adding 1 to the page, keeping the sum H equal to 0, and repeating the third step to finally obtain the pageData of the page layout object.
Step 304: and the report information processing device creates and executes a report task through the self-defined report template based on the associated component to form preview information in the report editing environment.
In some embodiments of the present invention, based on the association component, a report task is created and executed through the self-defined report template to form preview information in the report editing environment, and the preview information can be formed through the following manners:
based on the association component, calling an interface matched with the report task through a service process; based on the interface matched with the report task, executing the one-time report task through the corresponding interface according to the type of the report task; or executing the periodic report task through a corresponding interface.
Step 305: and the report information processing device displays the preview information through the user interface so as to realize that the report generated by the report task is viewed through the first person visual angle.
Thus, the physician generates a user-defined report and stores it in the server in pdf document format, where the generated chart can be used as a component of the report template compilation.
Referring to fig. 9, fig. 9 is an optional flowchart of the report information processing method according to the embodiment of the present invention, and it can be understood that the steps shown in fig. 9 may be executed by various electronic devices operating the report information processing apparatus, for example, a mobile phone or a tablet computer with a report information processing function. The special terminal with the report information processing apparatus can be packaged in the terminal 10-1 shown in fig. 1 to execute the corresponding software module in the report information processing apparatus shown in fig. 2 in the foregoing sequence. The following is a description of the steps shown in fig. 9.
Step 901: and displaying a report task management page of the report center, and inquiring the server to obtain a report task list.
Step 902: selecting a self-defined report template, configuring a name, generating task information such as time, message notification and the like.
The report information processing device supports single/periodic task type new report task.
Step 903: and judging whether to save the corresponding report task, if so, executing the step 904, otherwise, executing the step 902.
Step 904: the server of the report information processing device receives the report task creation request and forwards the report task creation request to the report service, and the service process stores the data to the database task table.
Step 905: the report information processing device receives a single report task execution request and a polling waiting period report task timing generation time through a report service process.
Step 906: the report information processing device judges whether the report generation task is to be executed at the current time through the report service process, if so, the step 907 is executed, and if not, the step 905 is executed.
Step 907: reading the report task configuration to generate a report, storing the report on a server in a pdf format, and storing the current configuration information and the storage path into a database report generation record table.
Step 908: and through the report task recording page of the report center, the server queries the task recording table to obtain report generation recording information.
Step 909: and judging whether the page carries out report downloading operation, if so, executing step 910, otherwise, executing step 908.
Step 910: and the server receives the downloading request, inquires the record table to obtain a storage path, and downloads the report to the local.
Step 911: and judging whether the page carries out report form preview operation or not, if so, executing step 912, otherwise, executing step 908.
Step 912: and the server receives the preview request, inquires the record table to obtain the task configuration information and the report data, calculates the paging and displays the report page.
As shown in fig. 6 and fig. 8 in conjunction with the foregoing sequence, referring to fig. 6, on the report task management page, the report task is created and executed by invoking the report task list query, the report template library query, the report task saving, and the report task execution interface of the web service. The report task is divided into a single report task and a periodic report task, and the single report task has two execution modes: executing when the request is created and executing when the request is executed, receiving the web service forwarding request by the report service, and creating and executing a report task; and executing the periodic report tasks at regular time, sending a task creation request by the web service, storing the report tasks by the report service after receiving the request, polling all the periodic report tasks, and triggering and executing at regular time. Each time a reporting task is executed, the reporting service saves the execution record and invokes the pdf service to generate a report.
Further, after the report is generated, a report task query interface of the web service can be called to obtain report task screening conditions, and report template query and a report query interface of the web service are called based on the screening conditions to query the layout information of the report template and the statistical data of the report. And (5) calculating paging according to the layout object array and rendering the page content of the report template as same as the report template preview.
Meanwhile, the user can query the page url of the report task and send a request to the pdf service through the report service. The pdf service is realized based on a puppeteer library, a page object is newly established after a browser instance object is created, a goto method of the page object is called to access a specified page after url is received, the page content of a report template is rendered as the same as the report task preview execution process, when page rendering is completed, the pdf service generates a pdf file with the size of A4 by calling the pdf method of the page object, the page content is stored under the specified path of a server, and after a user clicks a downloading operation component (such as an icon shown by a downloader function) through a control component in a display interface, the storage path in a report record table is read by a web service, and the pdf report document in the server is downloaded and obtained.
In some embodiments of the present invention, in order to implement storing corresponding data through a blockchain network, the report information processing method provided by the present invention further includes:
sending the user ID, the generated report and the corresponding report template to the blockchain network so as to enable the user ID, the generated report and the corresponding report template to be transmitted to the blockchain network
And the node of the block chain network fills the user identification, the generated report and the corresponding report template into a new block, and when the new block is identified in a consistent manner, the new block is added to the tail part of the block chain.
The embodiment of the present invention may be implemented by combining a Cloud technology, where the Cloud technology (Cloud technology) is a hosting technology for unifying series resources such as hardware, software, and a network in a wide area network or a local area network to implement calculation, storage, processing, and sharing of data, and may also be understood as a generic term of a network technology, an information technology, an integration technology, a management platform technology, an application technology, and the like applied based on a Cloud computing business model. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, photo-like websites and more portal websites, so cloud technology needs to be supported by cloud computing.
It should be noted that cloud computing is a computing mode, and distributes computing tasks on a resource pool formed by a large number of computers, so that various application systems can obtain computing power, storage space and information services as required. The network that provides the resources is referred to as the "cloud". Resources in the "cloud" appear to the user as being infinitely expandable and available at any time, available on demand, expandable at any time, and paid for on-demand. As a basic capability provider of cloud computing, a cloud computing resource pool platform, which is called an Infrastructure as a Service (IaaS) for short, is established, and multiple types of virtual resources are deployed in a resource pool and are used by external clients selectively. The cloud computing resource pool mainly comprises: a computing device (which may be a virtualized machine, including an operating system), a storage device, and a network device.
As shown in fig. 1, the report information processing method provided in the embodiment of the present invention can be implemented by a corresponding cloud device, for example: the terminals (including the terminal 10-1 and the terminal 10-2) are connected to the server 200 located at the cloud end through a network 300, and the network 300 may be a wide area network or a local area network, or a combination of the two. It should be noted that the server 200 may be a physical device or a virtualized device.
In some embodiments of the present invention, the report information processing method further includes:
receiving data synchronization requests of other nodes in the blockchain network;
responding to the data synchronization request, and verifying the authority of the other nodes;
and when the authority of the other nodes passes the verification, controlling the data synchronization between the current node and the other nodes so as to realize that the other nodes acquire the user identification, the generated report and the corresponding report template.
Further, in some embodiments of the present invention, in response to a query request, parsing the query request to obtain a corresponding object identifier;
acquiring authority information in a target block in a block chain network according to the object identifier;
checking the matching of the authority information and the object identification;
when the authority information is matched with the object identification, acquiring corresponding resource transaction data and a target object matched with the screening condition in the block chain network;
and responding to the query instruction, pushing the acquired corresponding resource transaction data and the target object matched with the screening condition to a corresponding client so as to realize that the client acquires the corresponding resource transaction data stored in the block chain network and the target object matched with the screening condition.
Referring to fig. 10, fig. 10 is a schematic structural diagram of the reporting information processing apparatus 100 according to the embodiment of the present invention, which includes a blockchain network 200 (exemplarily showing a consensus node 210-1 to a consensus node 210-3), an authentication center 300, a service agent 400, and a service agent 500, which are respectively described below.
The type of blockchain network 200 is flexible and may be, for example, any of a public chain, a private chain, or a federation chain. Taking a public link as an example, electronic devices such as user terminals and servers of any service entity can access the blockchain network 200 without authorization; taking a federation chain as an example, an electronic device (e.g., a terminal/server) under the jurisdiction of a service entity after obtaining authorization may access the blockchain network 200, and at this time, become a client node in the blockchain network 200.
In some embodiments, the client node may act as a mere watcher of the blockchain network 200, i.e., provides functionality to support a business entity to initiate a transaction (e.g., for uplink storage of data or querying of data on a chain), and may be implemented by default or selectively (e.g., depending on the specific business requirements of the business entity) with respect to the functions of the consensus node 210 of the blockchain network 200, such as a ranking function, a consensus service, and an accounting function, etc. Therefore, the data and the service processing logic of the service subject can be migrated into the block chain network 200 to the maximum extent, and the credibility and traceability of the data and service processing process are realized through the block chain network 200.
Consensus nodes in blockchain network 200 receive transactions submitted from client nodes (e.g., client node 410 shown in fig. 10 as being attributed to business entity 400 and business entity 500) of different business entities (e.g., business entity 400 and business entity 500 shown in fig. 10, and client node 510 shown in fig. 10 as being attributed to system 500 of electronic devices), perform the transactions to update the ledger or query the ledger, and various intermediate or final results of performing the transactions may be returned for display in the business entity's client nodes.
For example, the client node 410/510 may subscribe to events of interest in the blockchain network 200, such as transactions occurring in a particular organization/channel in the blockchain network 200, and the corresponding transaction notifications are pushed by the consensus node 210 to the client node 410/510, thereby triggering the corresponding business logic in the client node 410/510.
An exemplary application of the blockchain network is described below, taking an example that a plurality of service agents access the blockchain network to realize management of report information processing results.
Referring to fig. 10, a plurality of business entities involved in the management link, for example, the business entity 400 may be an artificial intelligence-based report information processing apparatus, the business entity 500 may be a display system with a report information processing function, and registers and obtains a respective digital certificate from the certificate authority 300, where the digital certificate includes a public key of the business entity and a digital signature signed by the certificate authority 300 for the public key and identity information of the business entity, and is used to be attached to a transaction together with the digital signature of the business entity for the transaction, and is sent to the blockchain network, so that the blockchain network takes out the digital certificate and the signature from the transaction, verifies the reliability of the message (i.e. whether the message is not tampered) and the identity information of the business entity sending the message, and the blockchain network verifies according to the identity, for example, whether the blockchain network has the right to initiate the transaction. Clients running on electronic devices (e.g., terminals or servers) hosted by the business entity may request access from the blockchain network 200 to become client nodes.
The client node 410 of the business entity 400 is used to obtain resource transaction data corresponding to different objects; determining the level information of the different objects according to the resource transaction data, and determining a basic object in the different objects according to the level information; determining difference characteristic vectors matched with the different objects according to the resource transaction data; determining an incidence relation network between the different objects based on the difference feature vectors matched with the different objects; determining a clustering result of an incidence relation network among the different objects in response to the basic object; and determining a target object matched with the basic object in the different objects according to the clustering result and the corresponding level information of the incidence relation network among the different objects, and sending the user identification, the generated report and the corresponding report template to the block chain network 200.
The user identifier, the generated report and the corresponding report template are sent to the blockchain network 200, business logic may be set in the client node 410 in advance, when a corresponding report information processing result is formed, the client node 410 automatically sends the user identifier, the generated report and the corresponding report template to the blockchain network 200, or business personnel of the business main body 400 logs in the client node 410, manually packages the user identifier, the generated report and the corresponding report template, and sends the user identifier, the generated report and the corresponding report template to the blockchain network 200. During sending, the client node 410 generates a transaction corresponding to the update operation according to the user identifier, the generated report and the corresponding report template, specifies an intelligent contract to be invoked to implement the update operation and parameters passed to the intelligent contract in the transaction, and also carries a digital certificate of the client node 410 and a signed digital signature (for example, a digest of the transaction is encrypted using a private key in the digital certificate of the client node 410), and broadcasts the transaction to the consensus node 210 in the blockchain network 200.
When the transaction is received in the consensus node 210 in the blockchain network 200, the digital certificate and the digital signature carried by the transaction are verified, after the verification is successful, whether the service agent 400 has the transaction right is determined according to the identity of the service agent 400 carried in the transaction, and the transaction fails due to any verification judgment of the digital signature and the right verification. After successful verification, node 210 signs its own digital signature (e.g., by encrypting the digest of the transaction using the private key of node 210-1) and continues to broadcast in blockchain network 200.
After receiving the transaction successfully verified, the consensus node 210 in the blockchain network 200 fills the transaction into a new block and broadcasts the new block. When a new block is broadcasted by the consensus node 210 in the block chain network 200, performing a consensus process on the new block, if the consensus is successful, adding the new block to the tail of the block chain stored in the new block, updating the state database according to a transaction result, and executing a transaction in the new block: and for the transaction of submitting and updating the user identifier, the generated report and the corresponding report template, adding the key value pair comprising the user identifier, the generated report and the corresponding report template into the state database.
The service person of the service agent 500 logs in the client node 510, inputs the report information processing result or the target object query request, the client node 510 generates a transaction corresponding to the update operation/query operation according to the report information processing result or the target object query request, specifies an intelligent contract that needs to be called to implement the update operation/query operation and parameters transferred to the intelligent contract in the transaction, and the transaction also carries the digital certificate of the client node 510 and a signed digital signature (for example, a digest of the transaction is encrypted by using a private key in the digital certificate of the client node 510), and broadcasts the transaction to the consensus node 210 in the blockchain network 200.
After receiving the transaction in the consensus node 210 in the blockchain network 200, verifying the transaction, filling the block and making the consensus consistent, adding the filled new block to the tail of the blockchain stored in the new block, updating the state database according to the transaction result, and executing the transaction in the new block: for the submitted transaction for updating a certain user identifier, the generated report and a corresponding report template, updating a key value pair corresponding to the report information processing result in the state database according to the manual identification result; and for the submitted transaction for inquiring a certain report information processing result, inquiring the key value pair corresponding to the report information processing result from the state database, and returning the transaction result.
It should be noted that fig. 10 exemplarily shows a process of directly linking the user identifier, the generated report and the corresponding report template, but in other embodiments, for a case that the data size of the report information processing result is large, the client node 410 may link the hash of the report information processing result and the hash of the corresponding report information processing result in pairs, and store the original report information processing result and the corresponding report information processing result in the distributed file system or the database. After obtaining the report information processing result and the corresponding report information processing result from the distributed file system or the database, the client node 510 may perform verification in combination with the corresponding hash in the blockchain network 200, thereby reducing the workload of uplink operation.
As an example of a block chain, referring to fig. 11, fig. 11 is a schematic structural diagram of a block chain in a block chain network 200 according to an embodiment of the present invention, where a header of each block may include hash values of all transactions in the block and also include hash values of all transactions in a previous block, a record of a newly generated transaction is filled in the block and is added to a tail of the block chain after being identified by nodes in the block chain network, so as to form a chain growth, and a chain structure based on hash values between blocks ensures tamper resistance and forgery prevention of transactions in the block.
An exemplary functional architecture of a blockchain network provided by the embodiment of the present invention is described below, referring to fig. 12, fig. 12 is a functional architecture schematic diagram of a blockchain network 200 provided by the embodiment of the present invention, which includes an application layer 201, a consensus layer 202, a network layer 203, a data layer 204, and a resource layer 205, which are described below respectively.
The resource layer 205 encapsulates the computing, storage, and communication resources that implement each node 210 in the blockchain network 200.
The data layer 204 encapsulates various data structures that implement the ledger, including blockchains implemented in files in a file system, state databases of the key-value type, and presence certificates (e.g., hash trees of transactions in blocks).
The network layer 203 encapsulates the functions of a Point-to-Point (P2P) network protocol, a data propagation mechanism and a data verification mechanism, an access authentication mechanism and service agent identity management.
Wherein the P2P network protocol implements communication between nodes 210 in the blockchain network 200, the data propagation mechanism ensures propagation of transactions in the blockchain network 200, and the data verification mechanism implements reliability of data transmission between nodes 210 based on cryptography methods (e.g., digital certificates, digital signatures, public/private key pairs); the access authentication mechanism is used for authenticating the identity of the service subject added into the block chain network 200 according to an actual service scene, and endowing the service subject with the authority of accessing the block chain network 200 when the authentication is passed; the business entity identity management is used to store the identity of the business entity that is allowed to access blockchain network 200, as well as the permissions (e.g., the types of transactions that can be initiated).
The consensus layer 202 encapsulates the functions of the mechanism for the nodes 210 in the blockchain network 200 to agree on a block (i.e., a consensus mechanism), transaction management, and ledger management. The consensus mechanism comprises consensus algorithms such as POS, POW and DP OS, and the pluggable consensus algorithm is supported.
The transaction management is configured to verify a digital signature carried in the transaction received by the node 210, verify identity information of the service entity, and determine whether the node has an authority to perform the transaction (read related information from the identity management of the service entity) according to the identity information; for the service agents authorized to access the blockchain network 200, the service agents all have digital certificates issued by the certificate authority, and the service agents sign the submitted transactions by using private keys in the digital certificates of the service agents, so that the legal identities of the service agents are declared.
The ledger administration is used to maintain blockchains and state databases. For the block with the consensus, adding the block to the tail of the block chain; executing the transaction in the acquired consensus block, updating the key-value pairs in the state database when the transaction comprises an update operation, querying the key-value pairs in the state database when the transaction comprises a query operation and returning a query result to the client node of the business entity. Supporting query operations for multiple dimensions of a state database, comprising: querying the block based on the block vector number (e.g., hash value of the transaction); inquiring the block according to the block hash value; inquiring a block according to the transaction vector number; inquiring the transaction according to the transaction vector number; inquiring account data of a business main body according to an account (vector number) of the business main body; and inquiring the block chain in the channel according to the channel name.
The application layer 201 encapsulates various services that the blockchain network can implement, including tracing, crediting, and verifying transactions.
Therefore, when a user changes the terminal, the report and the corresponding report template generated by the user through processing of different terminals can be obtained only through the block chain network, the user can conveniently and accurately display the generated report and the corresponding report template in different terminals in time, and convenience and safety of report information processing are improved.
By the report information processing method provided by the invention, not only can the adaptive report template be automatically selected according to different report use environments, but also a user can actively initiate a single/periodic report task, after the task is successfully executed, the system can generate a specific statistical report or a periodic statistical report and inform the user of previewing and downloading for viewing in real time, the report management is convenient and quick, the used cloud system can also support mysql, elastic search and other multi-language technologies for data storage and query, other languages can be effectively expanded for data query and storage by adding server report information processing modes of different languages, the high expansibility is achieved, and the use experience of the user is effectively improved.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A report information processing method is characterized by comprising the following steps:
displaying a user interface, wherein the user interface comprises a person-name visual angle picture for observing the report editing environment by a first person-name visual angle, and the user interface also comprises an editing control component and an associated component;
triggering a self-defined report library process through the editing control assembly, and determining a report library matched with the application environment;
triggering a self-defined report template process through the editing control assembly, and determining a corresponding self-defined report template;
based on the association component, creating and executing a report task through the self-defined report template to form preview information in the report editing environment;
and displaying the preview information through the user interface so as to realize that the report generated by the report task is viewed through the first-person visual angle.
2. The method of claim 1, wherein triggering a custom report library process to determine a report library matching an application environment via the edit control component comprises:
determining parameters of different chart information to be displayed in the application environment of the report form through the editing control assembly;
determining a report library matched with the application environment based on the parameters of the different chart information, wherein the chart information parameters comprise: a chart type parameter, a chart coordinate parameter, and a chart timeframe parameter.
3. The method of claim 1, wherein said triggering a custom report template process to determine a corresponding custom report template via said editing control component comprises:
triggering a self-defined report template process to call a query interface through the editing control assembly, and acquiring all report templates in the database;
determining layout objects in the self-defined report template based on different layout objects in all report templates;
and triggering a dragging component process, and dragging the display position of the layout object in the self-defined report template to form a corresponding self-defined report template.
4. The method of claim 3, wherein the triggering a drag component process to drag the display location of the layout object in the custom report template to form a corresponding custom report template comprises:
determining initial positions and termination positions of different layout objects in the self-defined report template through the dragging component process;
determining coordinate parameters of different layout objects in the self-defined report template based on the initial positions and the end positions of the different layout objects in the self-defined report template;
and determining the corresponding self-defined report template based on the coordinate parameters of the different layout objects in the self-defined report template.
5. The method of claim 4, further comprising:
determining the output size of the report information;
determining new coordinate parameters of different layout objects in each page of the output report information according to the output size of the report information;
adjusting element position rows in the output report information according to the new coordinate parameters of the different layout objects;
and rendering the adjusted report information to form the report information to be output, which is matched with the use environment.
6. The method of claim 1, wherein creating and executing a reporting task based on the association component via the custom reporting template to form preview information in the reporting authoring environment comprises:
based on the association component, calling an interface matched with the report task through a service process;
based on the interface matched with the report task, executing the one-time report task through the corresponding interface according to the type of the report task; or
And executing the periodic report tasks through the corresponding interfaces.
7. The method according to any one of claims 1-6, further comprising:
sending the user ID, the generated report and the corresponding report template to the blockchain network so as to enable the user ID, the generated report and the corresponding report template to be transmitted to the blockchain network
And the node of the block chain network fills the user identification, the generated report and the corresponding report template into a new block, and when the new block is identified in a consistent manner, the new block is added to the tail part of the block chain.
8. A report information processing apparatus, characterized in that the apparatus comprises:
the information transmission device is used for displaying a user interface, the user interface comprises a person-name view angle picture for observing the report editing environment by a first person-name view angle, and the user interface also comprises an editing control component and an associated component;
the information processing device is used for triggering the self-defined report library process through the editing control component and determining the report library matched with the application environment;
the information processing device is used for triggering a self-defined report template process through the editing control assembly and determining a corresponding self-defined report template;
the information processing device is used for creating and executing a report task through the self-defined report template based on the associated component to form preview information in the report editing environment;
and the information processing device is used for displaying the preview information through the user interface so as to realize the purpose of viewing the report generated by the report task through the first person visual angle.
9. An electronic device, characterized in that the electronic device comprises:
a memory for storing executable instructions;
a processor, configured to implement the report information processing method according to any one of claims 1 to 7 when executing the executable instructions stored in the memory.
10. A computer-readable storage medium storing executable instructions, wherein the executable instructions, when executed by a processor, implement the report information processing method according to any one of claims 1 to 7.
CN202010426980.7A 2020-05-19 2020-05-19 Report information processing method and device, electronic equipment and storage medium Pending CN113688173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010426980.7A CN113688173A (en) 2020-05-19 2020-05-19 Report information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010426980.7A CN113688173A (en) 2020-05-19 2020-05-19 Report information processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113688173A true CN113688173A (en) 2021-11-23

Family

ID=78576376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010426980.7A Pending CN113688173A (en) 2020-05-19 2020-05-19 Report information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113688173A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836132A (en) * 2021-11-29 2021-12-24 中航金网(北京)电子商务有限公司 Method and device for checking multi-end report forms
CN115082046A (en) * 2022-08-23 2022-09-20 江苏荣泽信息科技股份有限公司 Block chain-based enterprise one-set table tracing management system
CN117422058A (en) * 2023-12-18 2024-01-19 佳瑛科技有限公司 Visual graphic report generation method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836132A (en) * 2021-11-29 2021-12-24 中航金网(北京)电子商务有限公司 Method and device for checking multi-end report forms
CN115082046A (en) * 2022-08-23 2022-09-20 江苏荣泽信息科技股份有限公司 Block chain-based enterprise one-set table tracing management system
CN115082046B (en) * 2022-08-23 2022-11-08 江苏荣泽信息科技股份有限公司 Block chain-based enterprise table tracing management system
CN117422058A (en) * 2023-12-18 2024-01-19 佳瑛科技有限公司 Visual graphic report generation method
CN117422058B (en) * 2023-12-18 2024-03-12 佳瑛科技有限公司 Visual graphic report generation method

Similar Documents

Publication Publication Date Title
US10705942B1 (en) Simulated testing of API
US11601398B2 (en) Multiplexed data exchange portal interface in scalable data networks
US9430449B2 (en) Systems, methods, and media for managing editable previews of webpages
US10102306B2 (en) Patching base document object model (DOM) with DOM-differentials to generate high fidelity replay of webpage user interactions
CN107979632B (en) Processing method, device and system for push information
US9805209B2 (en) Systems and methodologies for managing document access permissions
CN108762760B (en) Software interface self-defining method, device, computer equipment and storage medium
CN113688173A (en) Report information processing method and device, electronic equipment and storage medium
US9864671B1 (en) Systems and methods of live experimentation on content provided by a web site
CN108780448A (en) Web page editing in domain
US20220191203A1 (en) Methods and apparatus for establishing shared memory spaces for data access and distribution
CN110708202B (en) Configuration method, device, equipment and storage medium of plug-in node
CN112612452B (en) API platform realization method, device, equipment and storage medium
US10656939B2 (en) Modeling lifetime of hybrid software application using application manifest
CN111752561B (en) Block development method, block sharing method, page building method and page building system
CN113746719A (en) Task information processing method and device, electronic equipment and storage medium
CN112766998A (en) Data processing method and device for business activities
US10341420B1 (en) Approaches for preparing and delivering bulk data to clients
CN112836186A (en) Page control method and device
CN112995014A (en) Method and device for mass sending of messages
CN116431200A (en) Configuration method, device, equipment and storage medium for application data configuration information
US20220244989A1 (en) Setting task permissions for software services in distributed computing environments
CN113743055A (en) Text information processing method and device, electronic equipment, server and storage medium
JP2022542203A (en) Mini-program batch processing method, device, electronic device and readable storage medium
CN111324271A (en) Multimedia information processing method and device, electronic equipment and storage medium

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