CN111752899B - Environment report generation method and device, electronic equipment and storage medium - Google Patents

Environment report generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111752899B
CN111752899B CN202010597403.4A CN202010597403A CN111752899B CN 111752899 B CN111752899 B CN 111752899B CN 202010597403 A CN202010597403 A CN 202010597403A CN 111752899 B CN111752899 B CN 111752899B
Authority
CN
China
Prior art keywords
service
report
chart
component
user
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.)
Active
Application number
CN202010597403.4A
Other languages
Chinese (zh)
Other versions
CN111752899A (en
Inventor
张潮
周政男
林久人
晏平仲
秦东明
陆涛
刘慧灵
刘曼曼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
3Clear Technology Co Ltd
Original Assignee
3Clear Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 3Clear Technology Co Ltd filed Critical 3Clear Technology Co Ltd
Priority to CN202010597403.4A priority Critical patent/CN111752899B/en
Publication of CN111752899A publication Critical patent/CN111752899A/en
Application granted granted Critical
Publication of CN111752899B publication Critical patent/CN111752899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an environment report generation method, an environment report generation device, an electronic device and a storage medium, wherein the method comprises the following steps: determining a plurality of environment analysis modules according to the historical environment report, and respectively packaging each environment analysis module into a corresponding service component; acquiring a service component selected by a user and typesetting information corresponding to the service component; creating a report template according to the service components and the typesetting information; acquiring title information edited by a user, and generating a report directory according to the title information; and acquiring the service content corresponding to each service component, and respectively embedding the service content corresponding to each service component into each service component to obtain an environment report. The present application encapsulates the analysis functions used by the environmental reports into business components. The user selects the required service components in a self-defined mode, the self-defined report template is formed by combining the service components, the mode of combining the service components is flexible and convenient, the generation efficiency of the environmental report is improved, different report templates do not need to be developed, and the development cost is reduced.

Description

Environment report generation method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of environmental protection, and particularly relates to an environmental report generation method and device, electronic equipment and a storage medium.
Background
With the rapid advance of industrialization, environmental issues are receiving increasingly wide public attention. The demands for analyzing environmental pollution, evaluating air quality, researching pollution prevention and the like are great, and a large amount of environmental reports are often generated in the process of analyzing and researching the environment.
Currently, in the related art, an environment report is usually generated by using a fixed report template, which is difficult to satisfy different requirements of a user on the report, and is limited by a fixed template typesetting mode, so that difficulty of making the environment report by the user is greatly increased. In order to meet different requirements of users, a large number of fixed templates with different typesetting modes need to be developed, and the development cost is very high.
Disclosure of Invention
The application provides an environment report generation method, an environment report generation device, electronic equipment and a storage medium. The user selects the required service components in a self-defined mode, the self-defined report template is formed by combining the service components, the mode of combining the service components is flexible and convenient, the generation efficiency of the environmental report is improved, different report templates do not need to be developed, and the development cost is reduced.
The embodiment of the first aspect of the present application provides an environmental report generation method, where the method includes;
determining a plurality of environment analysis modules according to the historical environment report, and respectively packaging each environment analysis module into a corresponding service component;
acquiring the service component selected by the user and the typesetting information corresponding to the service component;
creating a report template according to the service components and the corresponding typesetting information;
acquiring title information edited by a user, and generating a report directory according to the title information;
and acquiring the service content corresponding to each service component submitted by the user, and respectively embedding the service content corresponding to each service component into each service component to obtain an environment report.
In some embodiments of the present application, the creating a report template according to the service component and the corresponding typesetting information thereof includes:
generating a template initial page;
arranging the business components at the positions indicated by the position information in the template initial page according to the position information included in the typesetting information corresponding to the business components;
and setting the attributes of the service components according to the attribute parameters included in the typesetting information to obtain a report template.
In some embodiments of the present application, the method further comprises:
acquiring an existing file selected by a user, wherein the existing file comprises a Word file or a PDF file;
and arranging the file content of the existing file in the initial page of the template.
In some embodiments of the present application, the method further comprises:
acquiring a history template selected by the user;
and adjusting the service components in the historical template according to the component adjustment information submitted by the user to obtain the current report template.
In some embodiments of the present application, the method further comprises:
if the service content is the chart content, inquiring whether the currently stored chart collection set contains the service content;
if the chart collection set does not contain the service content, determining the environmental analysis topic to which the service content belongs;
and storing the service content in a chart subset corresponding to the environment analysis topic to which the service content belongs.
In some embodiments of the present application, the method further comprises:
and displaying the report template, the report catalogue and the chart subset corresponding to different environment analysis topics in the same interface.
In some embodiments of the present application, said embedding the service content corresponding to each service component into each service component respectively includes:
if the business content corresponding to the business component is in the chart subset corresponding to the environment analysis topic, playing a mobile animation of the business content in the interface, wherein the mobile animation is used for showing a moving process of the business content moving from the chart subset to the business component in the report template;
and when the mobile animation is played until the service content moves to the service component, embedding the service content into the service component.
An embodiment of a second aspect of the present application provides an environmental report generating apparatus, the apparatus comprising;
the packaging module is used for determining a plurality of environment analysis modules according to the historical environment report and packaging each environment analysis module into a corresponding service component;
the component acquisition module is used for acquiring the service components selected by the user and the typesetting information corresponding to the service components;
the template creating module is used for creating a report template according to the service components and the corresponding typesetting information;
the catalog generation module is used for acquiring title information edited by a user and generating a report catalog according to the title information;
and the content embedding module is used for acquiring the service content corresponding to each service component submitted by the user, and respectively embedding the service content corresponding to each service component into each service component to obtain an environment report.
Embodiments of the third aspect of the present application provide an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method of the first aspect.
An embodiment of a fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, the program being executable by a processor to implement the method of the second aspect.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
in the embodiment of the application, some analysis functions required to be used in the environment report are packaged into business components. When the environment report needs to be generated, a user can select a needed service component from all service components obtained by encapsulation in a customized manner, a customized report template is formed by combining the selected service components, the user can flexibly use the service components to generate the report template according to the own idea, the use by the user is facilitated, the generation efficiency of the environment report is improved, different report templates do not need to be developed, and the development cost is reduced.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings.
In the drawings:
FIG. 1 is a flow chart illustrating a method for generating an environmental report according to an embodiment of the present application;
FIG. 2 illustrates an interface diagram of a client for generating an environment report provided by an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an environmental report generation apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a storage medium provided in an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
An environment report generation method, an environment report generation apparatus, an electronic device, and a storage medium according to embodiments of the present application are described below with reference to the accompanying drawings.
The embodiment of the application provides an environment report generation method, which encapsulates environment analysis functions of some analysis texts, graphs, tables and the like which are required to be used in an environment report into business components, for example, encapsulates a function of creating a pollution transmission track into a business component, or encapsulates a function of analyzing a pollution map into a business component and the like. When the environment report needs to be generated, a user can select the required service components from all the service components obtained by encapsulation in a customized manner, the selected service components are combined to form a customized report template, then the environment report is automatically generated according to the report template, and the user can flexibly use the service components to generate the report template according to the own idea, so that the environment report generation method is convenient for the user to use, the generation efficiency of the environment report is improved, different report templates do not need to be developed, and the development cost is reduced.
Referring to fig. 1, the method specifically includes the following steps;
step 101: and determining a plurality of environment analysis modules according to the historical environment report, and respectively packaging each environment analysis module into a corresponding service component.
A large number of historical environmental reports are obtained, which are environmental research reports that have been generated in the past. The environment analysis module is a functional module which analyzes and processes report contents in the forms of texts, diagrams, tables and the like in the research and analysis report of the environmental aspect.
The environment analysis module may include a text editing module, a module for creating a contamination transfer trajectory, a contamination map analysis module, and the like. The text editing module is used for editing text in the environment aspect, and the module comprises a large number of professional vocabularies in the environment aspect and setting functions of attributes such as fonts, colors and sizes of characters. The module for creating the pollution transmission track is used for creating a forward track or a backward track of the pollution transmission, and the module comprises a function for acquiring pollution data and meteorological data, a model or a function for creating the pollution transmission track, and the like. The pollution map analysis module is used for analyzing the pollution map and comprises functions of zooming in, zooming out or labeling the pollution map.
After a plurality of environment analysis modules are determined, for each environment analysis module, data, functions and the like included by the environment analysis module are packaged into business components corresponding to the environment analysis module through programming. For example, for a module for creating a pollution transmission track, a function for acquiring pollution data and meteorological data and a model or a function for creating the pollution transmission track, which are included in the module, are programmatically encapsulated into corresponding business components of the module.
The functional modules which can be used by the research and analysis report in the environment aspect are packaged into the service components through the operation of the step, so that the functional modules can be displayed to a user in a component form, the service components support drag-and-drop operation, and the user can click and drag the service components through a mouse when using a certain service component, thereby being very convenient for the user to use.
The execution main body of the embodiment of the application is a terminal, a client for generating the environment report is installed on the terminal, and all the service components generated in the step can be stored in a server corresponding to the client, or all the service components generated in the step can be directly stored on the terminal. The client maintains a component list, which contains the identification, name and/or icon of each service component, so that the user can select the service component that he needs to use from the component list.
Step 102: and acquiring the service component selected by the user and the typesetting information corresponding to the service component.
When a user needs to generate an environment report, a client used for generating the environment report on a terminal is opened, an interface of the client comprises a 'selection component' key used for triggering a display component list, when the 'selection component' key is monitored to be clicked by the user, the component list is displayed and monitored in real time, and when the user is monitored to click an identifier, a name and/or an icon of a certain service component, the service component is obtained. Specifically, if the service component is stored in the server, the service component is obtained from the server according to the identifier, the name and/or the icon clicked by the user. And if the service component is stored in the terminal, acquiring the service component from a local memory according to the identification, the name and/or the icon clicked by the user.
The typesetting information corresponding to the service component comprises position information, attribute parameters and the like. The location information is used to indicate the location of the business component in a subsequently generated report template. When the user selects the service component from the component list, the identifier, the name and/or the icon of the service component may be dragged to a position where the user needs to use the service component, and the coordinate of the position in the subsequent report template or the coordinate of the position in the current interface is the position information included in the layout information. The attribute parameters are parameter values of attributes that need to be set for the service component, for example, if the service component is a service component for editing a text, the attribute parameters may include the length and width of the service component, and the font, color, size, and the like of the text. And after the user drags the service component to the position indicated by the position information, the attribute parameters of the service component can be set through a parameter setting interface provided by the service component.
Step 103: and creating a report template according to the service components and the corresponding typesetting information.
Firstly, generating a template initial page, and arranging the business components at the positions indicated by the position information in the template initial page according to the position information included in the obtained typesetting information corresponding to the business components. The user can drag the business component to the position where the user needs to use, and in the process of dragging the business component, the moving animation of the business component can be played in the current interface, and the moving animation of the business component is used for showing the moving process of the business component moving from the component list to the position where the user needs to use. And inserting the business component into the position when the moving animation of the business component is played until the business component reaches the required position.
After the service component is inserted into the position, the attribute parameters submitted by the user can be obtained from the parameter setting interface of the service component, and the attribute setting is performed on the service component according to the attribute parameters included in the typesetting information. Any business component selected by the user is arranged in the template initial page in the mode, and the attribute setting is carried out on each business component, so that the report template generated by the user in a self-defined mode is obtained.
According to the method and the device, the functional modules in the environment aspect are packaged into the service components, the user can create the self-defined report template by dragging the service components, the service components are convenient to use by the user, the service components are operated in a dragging mode, interaction is simple, the personalized requirements of the user can be met without developing different report templates, and development cost is reduced.
In the process of generating the environment report by the user, the user may need to use existing files of some environment aspects, and the content in the existing files needs to be added to the report template. The interface of the client side in the embodiment of the application provides an interface for selecting the existing files for the user, and the user can upload the selected existing files from the interface. The terminal obtains the existing files selected by the user, wherein the existing files comprise txt files, Word files or PDF files and the like. Analyzing the existing file selected by the user, identifying the file content included in the existing file, and arranging the file content of the existing file in the initial page of the template. And then adjusting the initial page of the template according to the service components selected by the user and the typesetting information corresponding to the service components to obtain the final report template.
The file contents of the existing files selected by the user are arranged in the initial page of the template, and the user adds the service components required to be used among the file contents according to the requirement of the user. The existing files of the user are fully utilized, the generation time of the report template is greatly shortened, and the generation efficiency of the environmental report is improved.
In the embodiment of the present application, a history template list may be further maintained in the client, where the history template list includes one or more history templates, and the history templates are report templates used by the user in the past. The user can also directly select a historical template from the historical template list, and when the terminal monitors that the user clicks a certain historical template in the historical template list, the historical template selected by the user is obtained. And displaying the historical template in the current interface, wherein a user can add a new service component in the historical template, delete the original service component in the historical template or modify the attribute parameters of the original service component. Specifically, the terminal obtains component adjustment information submitted by the user, where the component adjustment information includes an identifier, a name, and/or an icon of a service component newly added by the user and corresponding typesetting information, or the component adjustment information includes an identifier, a name, and/or an icon of a service component that the user needs to delete, or the component adjustment information includes an identifier, a name, and/or an icon of an original service component that the user needs to modify and an attribute parameter that needs to be modified. And the terminal adjusts the service components in the historical template according to the component adjustment information submitted by the user to obtain the current report template.
And the historical template is used, and the business components in the historical template are adjusted according to the user requirements to generate a new report template, so that the generation time of the report template is shortened, and the generation efficiency of the environmental report is improved.
After the report template is generated in any mode, the report template can be displayed so that a user can preview the report template, and the user can conveniently check whether the report template meets the requirements of the user. The report template may also be stored in a historical template list to facilitate later generation of a new template using the report template.
Step 104: and acquiring title information edited by a user, and generating a report directory according to the title information.
The title information comprises title contents and title serial numbers, interfaces for editing titles are provided for users in the interfaces of the client, the terminal receives the title contents and the title serial numbers edited by the users from the interfaces, and a report directory is generated according to the title contents and the title serial numbers edited by the users. For each title in the report catalog, it can be added to the report template at the corresponding location by user editing.
Each title in the generated report list corresponds to an operation key, and the operation keys include a delete key, an add next key and the like. The user may click on a delete key corresponding to a title to delete the title, or may click on an add next key corresponding to a title to add a next title to the title.
Step 105: and acquiring the service content corresponding to each service component submitted by a user, and respectively embedding the service content corresponding to each service component into each service component to obtain an environment report.
After generating the report template through the operation of the above step 101 and step 103, for each service component in the report template, the user can edit the service content of the service component through the operation interface provided by the service component. For example, a business component for text editing provides a user with a text entry box in which the user can edit a word. The business component for analyzing the pollution map provides an interface for inserting the pollution map for a user, the user can insert the pollution map through the interface, and the pollution map can be labeled through a labeling tool provided by the business component.
When the user edits the service content through the interface provided by the service component, the terminal acquires the service content edited by the user and embeds the acquired service content into the service component. After the business content is embedded in this way for each business component included in the report template, the final environmental report is obtained.
The embodiment of the application also stores a chart collection, wherein the chart collection stores graphs and/or tables and the like of the environmental aspects collected by the user. The user can select a chart to be used from the chart collection to be embedded into the business component, and the user can click a certain chart in the chart collection and drag the certain chart to a certain business component in the report template so as to embed the chart into the business component.
The charts contained in the chart collection set are classified according to different environment analysis topics, the environment analysis topics comprise air quality topics, particulate matter topics, ozone topics, meteorological topics and the like, each environment analysis topic corresponds to one chart subset, and charts which belong to the environment analysis topics and are collected by a user are stored in the chart subsets corresponding to the environment analysis topics.
And if the service content corresponding to a certain service component is in the chart subset corresponding to the environment analysis topic, playing the mobile animation of the service content in the interface, wherein the mobile animation of the service content is used for showing the moving process of the service content from the chart subset to the service component in the report template. And when the moving animation of the service content is played until the service content moves to the service component, the service content is embedded into the service component.
And if the service content embedded in a certain service component is the chart content, inquiring whether the currently stored chart collection set contains the service content. If the chart collection set does not contain the service content, determining the environmental analysis topic to which the service content belongs; and storing the service content in a chart subset corresponding to the environment analysis topic to which the service content belongs.
According to the embodiment of the application, the report template, the report catalog and the chart subset corresponding to different environment analysis topics can be displayed in the same interface, as shown in fig. 2. Therefore, a user can browse the report template, the report catalog and the chart subset corresponding to different environment analysis topics in the same interface, the user can conveniently generate the environment report in a dragging mode, frequent page skipping is not needed, and the generation efficiency of the environment report is improved.
After the environment report is generated in the manner provided by the embodiment of the present application, the environment report may also be exported to an environment report in any file format, such as an environment report in a doc format, or an environment report in a pdf format, and the like.
In the embodiment of the application, some analysis functions required to be used in the environment report are packaged into business components. When the environment report needs to be generated, a user can select a needed service component from all service components obtained by encapsulation in a customized manner, a customized report template is formed by combining the selected service components, the user can flexibly use the service components to generate the report template according to the own idea, the use by the user is facilitated, the generation efficiency of the environment report is improved, different report templates do not need to be developed, and the development cost is reduced.
An environment report generation apparatus is provided in an embodiment of the present application, and is configured to execute the environment report generation method in the foregoing embodiment, as shown in fig. 3, the apparatus includes;
the packaging module 301 is configured to determine multiple environment analysis modules according to the historical environment report, and package each environment analysis module into a corresponding service component;
the component obtaining module 302 is configured to obtain a service component selected by a user and typesetting information corresponding to the service component;
the template creating module 303 is configured to create a report template according to the service component and the corresponding typesetting information thereof;
the catalog generation module 304 is used for acquiring the title information edited by the user and generating a report catalog according to the title information;
the content embedding module 305 is configured to obtain service content corresponding to each service component submitted by a user, and embed the service content corresponding to each service component into each service component respectively to obtain an environment report.
The template creating module 303 is used for generating a template initial page; arranging the business components at the positions indicated by the position information in the initial page of the template according to the position information included in the typesetting information corresponding to the business components; and setting the attributes of the service components according to the attribute parameters included in the typesetting information to obtain a report template.
The device also includes: the existing file arrangement module is used for acquiring an existing file selected by a user, wherein the existing file comprises a Word file or a PDF file; arranging the file content of the existing file in the initial page of the template.
The device also includes: the history template adjusting module is used for acquiring a history template selected by a user; and adjusting the service components in the historical template according to the component adjustment information submitted by the user to obtain the current report template.
The device also includes: the storage module is used for inquiring whether the currently stored chart collection set contains the business content or not if the business content is the chart content; if the chart collection set does not contain the service content, determining the environment analysis topic to which the service content belongs; and storing the service content in a chart subset corresponding to the environment analysis topic to which the service content belongs.
The device also includes: and the display module is used for displaying the report template, the report catalogue and the chart subset corresponding to different environment analysis topics in the same interface.
The animation playing module is used for playing the mobile animation of the business content in the interface if the business content corresponding to the business component is in the chart subset corresponding to the environment analysis topic, and the mobile animation is used for displaying the moving process of the business content from the chart subset to the business component in the report template; and when the mobile animation is played until the service content moves to the service component, the service content is embedded into the service component.
The environment report generation device provided by the above embodiment of the present application and the environment report generation method provided by the embodiment of the present application have the same inventive concept and have the same beneficial effects as the method adopted, operated or implemented by the application program stored in the environment report generation device.
The embodiment of the present application further provides an electronic device corresponding to the environmental report generation method provided in the foregoing embodiment, so as to execute the environmental report generation method. The embodiments of the present application are not limited.
Referring to fig. 4, a schematic diagram of an electronic device provided in some embodiments of the present application is shown. As shown in fig. 4, the electronic device 2 includes: the system comprises a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected through the bus 202; the memory 201 stores a computer program that can be executed on the processor 200, and the processor 200 executes the environment report generation method provided by any of the foregoing embodiments when executing the computer program.
The Memory 201 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 202 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used for storing a program, and the processor 200 executes the program after receiving an execution instruction, and the environment report generation method disclosed in any of the foregoing embodiments of the present application may be applied to the processor 200, or implemented by the processor 200.
The processor 200 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 200. The Processor 200 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the environment report generation method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 5, the computer readable storage medium is an optical disc 30, on which a computer program (i.e., a program product) is stored, and when the computer program is executed by a processor, the computer program executes the method for generating an environment report provided by any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above-mentioned embodiment of the present application and the environment report generation method provided by the embodiment of the present application have the same beneficial effects as the method adopted, executed or implemented by the application program stored in the computer-readable storage medium.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. In addition, this application is not directed to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present application as described herein, and any descriptions of specific languages are provided above to disclose the best modes of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the creation apparatus of a virtual machine according to embodiments of the present application. The present application may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. An environmental report generation method, characterized in that the method comprises;
determining a plurality of environment analysis modules according to the historical environment report, and respectively packaging data and functions included by each environment analysis module into service components corresponding to each environment analysis module through programming, wherein each environment analysis module comprises a text editing module, a module for creating a pollution transmission track and a pollution map analysis module;
acquiring a service component selected by a user and typesetting information corresponding to the service component, wherein the typesetting information comprises position information, and the position information is used for indicating the position of the service component in a subsequently generated report template; the business component supports a dragging operation, and is moved to the position indicated by the position information under the dragging operation of a user;
creating a report template according to the service components and the corresponding typesetting information;
acquiring title information edited by a user, and generating a report directory according to the title information;
acquiring service content corresponding to each service component submitted by the user, and respectively embedding the service content corresponding to each service component into each service component to obtain an environment report;
if the service content is the chart content, inquiring whether the currently stored chart collection set contains the service content; if the chart collection set does not contain the service content, determining the environmental analysis topic to which the service content belongs; storing the service content in a chart subset corresponding to the environment analysis topic to which the service content belongs; the chart collection set comprises a chart subset, a chart collection set and a chart analysis topic, wherein the charts contained in the chart collection set are classified according to different environment analysis topics, the environment analysis topics comprise air quality topics, particulate matter topics, ozone topics and meteorological topics, and each environment analysis topic corresponds to one chart subset; and the chart in the chart collection set is moved to a corresponding business component in a report template through the dragging operation of a user, so that the dragged chart is embedded into the corresponding business component.
2. The method of claim 1, wherein creating a report template according to the business components and the corresponding layout information thereof comprises:
generating a template initial page;
arranging the business components at the positions indicated by the position information in the template initial page according to the position information included in the typesetting information corresponding to the business components;
and setting the attributes of the service components according to the attribute parameters included in the typesetting information to obtain a report template.
3. The method of claim 2, further comprising:
acquiring an existing file selected by a user, wherein the existing file comprises a Word file or a PDF file;
and arranging the file content of the existing file in the initial page of the template.
4. The method of claim 1, further comprising:
acquiring a history template selected by the user;
and adjusting the service components in the historical template according to the component adjustment information submitted by the user to obtain the current report template.
5. The method of claim 1, further comprising:
and displaying the report template, the report catalogue and the chart subset corresponding to different environment analysis topics in the same interface.
6. The method according to claim 5, wherein said embedding the service content corresponding to each service component into each service component respectively comprises:
if the business content corresponding to the business component is in the chart subset corresponding to the environment analysis topic, playing a mobile animation of the business content in the interface, wherein the mobile animation is used for showing a moving process of the business content moving from the chart subset to the business component in the report template;
and when the mobile animation is played until the service content moves to the service component, embedding the service content into the service component.
7. An environmental report generation apparatus, characterized in that the apparatus comprises;
the packaging module is used for determining a plurality of environment analysis modules according to the historical environment report, and packaging data and functions included by each environment analysis module into service components corresponding to each environment analysis module through programming, wherein each environment analysis module comprises a text editing module, a module for creating a pollution transmission track and a pollution map analysis module;
the device comprises a component acquisition module, a service component selection module and a report module, wherein the component acquisition module is used for acquiring a service component selected by a user and typesetting information corresponding to the service component, the typesetting information comprises position information, and the position information is used for indicating the position of the service component in a report template generated subsequently; the business component supports a dragging operation, and is moved to the position indicated by the position information under the dragging operation of a user;
the template creating module is used for creating a report template according to the service components and the corresponding typesetting information;
the catalog generation module is used for acquiring title information edited by a user and generating a report catalog according to the title information;
a content embedding module, configured to obtain service content corresponding to each service component submitted by the user, and embed the service content corresponding to each service component into each service component, respectively, to obtain an environment report; if the service content is the chart content, inquiring whether the currently stored chart collection set contains the service content; if the chart collection set does not contain the service content, determining the environmental analysis topic to which the service content belongs; storing the service content in a chart subset corresponding to the environment analysis topic to which the service content belongs; the chart collection set comprises a chart subset, a chart collection set and a chart analysis topic, wherein the charts contained in the chart collection set are classified according to different environment analysis topics, the environment analysis topics comprise air quality topics, particulate matter topics, ozone topics and meteorological topics, and each environment analysis topic corresponds to one chart subset; and the chart in the chart collection set is moved to a corresponding business component in a report template through the dragging operation of a user, so that the dragged chart is embedded into the corresponding business component.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method according to any of claims 1-6.
CN202010597403.4A 2020-06-28 2020-06-28 Environment report generation method and device, electronic equipment and storage medium Active CN111752899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010597403.4A CN111752899B (en) 2020-06-28 2020-06-28 Environment report generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010597403.4A CN111752899B (en) 2020-06-28 2020-06-28 Environment report generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111752899A CN111752899A (en) 2020-10-09
CN111752899B true CN111752899B (en) 2021-06-15

Family

ID=72677576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010597403.4A Active CN111752899B (en) 2020-06-28 2020-06-28 Environment report generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111752899B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112733509B (en) * 2021-01-12 2022-10-04 深圳平安医疗健康科技服务有限公司 Actuarial report generation method, actuarial report generation device, actuarial report generation equipment and actuarial report generation medium
CN112882665A (en) * 2021-02-20 2021-06-01 厦门熵基科技有限公司 Method and device for generating printing template, electronic equipment and storage medium
CN113076731A (en) * 2021-04-28 2021-07-06 企查查科技有限公司 Report file generation method and device, computer equipment and storage medium
CN113268968A (en) * 2021-04-28 2021-08-17 企查查科技有限公司 Report file generation method and device, computer equipment and storage medium
CN113743059A (en) * 2021-07-22 2021-12-03 南方电网深圳数字电网研究院有限公司 Method, device and equipment for generating job file and storage medium
CN114999604A (en) * 2022-06-20 2022-09-02 上海妙一生物科技有限公司 Visit report generation method and device for clinical research project
CN114935996B (en) * 2022-07-20 2023-01-17 灵智信息服务(深圳)有限公司 Method, computer device and storage medium for online processing of documents

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595225A (en) * 2018-05-03 2018-09-28 东北大学 A kind of gauge package and its definition and automatic loading method
CN109558395A (en) * 2018-10-17 2019-04-02 中国光大银行股份有限公司 Data processing system and data digging method
CN109766374A (en) * 2018-12-26 2019-05-17 科大国创软件股份有限公司 A kind of credit joint supervising platform
CN110738035A (en) * 2019-09-18 2020-01-31 平安科技(深圳)有限公司 document template generation method and device
CN110865808A (en) * 2019-10-17 2020-03-06 福建天泉教育科技有限公司 Learning component management method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10693898B2 (en) * 2018-01-31 2020-06-23 Splunk Inc. Systems data validation
WO2020014614A1 (en) * 2018-07-13 2020-01-16 Raytheon Company Policy engine for cyber anomaly detection
CN109245718A (en) * 2018-10-24 2019-01-18 九州能源有限公司 A kind of photovoltaic plant information analysis cloud platform and system
CN109726596A (en) * 2019-03-20 2019-05-07 河北省省直劳动能力鉴定中心 A kind of appraisal of labor capacity plateform system
CN110597586A (en) * 2019-08-19 2019-12-20 北京邮电大学 Method and device for large screen layout of componentized layout based on dragging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595225A (en) * 2018-05-03 2018-09-28 东北大学 A kind of gauge package and its definition and automatic loading method
CN109558395A (en) * 2018-10-17 2019-04-02 中国光大银行股份有限公司 Data processing system and data digging method
CN109766374A (en) * 2018-12-26 2019-05-17 科大国创软件股份有限公司 A kind of credit joint supervising platform
CN110738035A (en) * 2019-09-18 2020-01-31 平安科技(深圳)有限公司 document template generation method and device
CN110865808A (en) * 2019-10-17 2020-03-06 福建天泉教育科技有限公司 Learning component management method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
环境影响报告书生成***的研究;王玉红 等;《江苏科技信息》;20171231(第3期);第23-26页 *

Also Published As

Publication number Publication date
CN111752899A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN111752899B (en) Environment report generation method and device, electronic equipment and storage medium
CN109801347B (en) Method, device, equipment and medium for generating editable image template
AU2020203136B2 (en) System and method for the generation of an adaptive user interface in a website building system
CN108491205B (en) Front-end webpage development method and system based on component tree
US20130326333A1 (en) Mobile Content Management System
CN110489116B (en) Page rendering method and device and computer storage medium
CN108259620B (en) Advertisement editing and previewing method, intelligent terminal, system and storage device
US20020143818A1 (en) System for generating a structured document
US20090112724A1 (en) Method and equipment for exposing an advertisement using application
JP2004005568A (en) Updating of high-speed gui style of legacy application
CN106933887B (en) Data visualization method and device
CN104239298A (en) Text message recommendation method, server, browser and system
CN113609820A (en) Method, device and equipment for generating word file based on extensible markup language file
CN113452613B (en) Method, device, electronic equipment and storage medium for acquiring page routing address
US10606935B2 (en) Transforming a website for dynamic web content management
US10331800B2 (en) Search results modulator
US20200005387A1 (en) Method and system for automatically generating product visualization from e-commerce content managing systems
CN101290633A (en) Content management integration method and system
CN113885745A (en) Visual flow chart arranging method and device, readable medium and computer equipment
CN106951405B (en) Data processing method and device based on typesetting engine
CN113887442A (en) OCR training data generation method, device, equipment and medium
CN115587075B (en) Layout file processing method and device, terminal equipment and storage medium
CN110633251B (en) File conversion method and equipment
CN115618144B (en) Dynamic layout method, system, equipment and medium based on webpage
CN109739587B (en) Method and device for generating display template of broadcast controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20201009

Assignee: Beijing Zhongke Sanqing Environmental Technology Co.,Ltd.

Assignor: 3CLEAR TECHNOLOGY Co.,Ltd.

Contract record no.: X2022980012305

Denomination of invention: A method, device, electronic device and storage medium for generating an environmental report

Granted publication date: 20210615

License type: Common License

Record date: 20220815