Industrial chain development analysis report online real-time generation method and system
Through the online real-time generation system to collect and integrate data from multiple data sources, build an industrial chain relationship map, and use intelligent computing analysis module to generate report data and charts, it solves the problem of time-consuming data collection and analysis in traditional report writing methods, and realizes minute-level generation and real-time update of industrial chain development analysis reports, improving the accuracy and reference value of the report.
Patent Information
- Application Number
- CN202411924688.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-22
AI Technical Summary
The traditional industrial analysis report is time-consuming to collect, organize and analyze data, which is difficult to meet the rapidly changing needs of the market, and lacks a comprehensive grasp and real-time update of industrial data, resulting in a decrease in the practicality and reference value of the report.
A method and system for online real-time generation of industrial chain development analysis reports is adopted. By collecting and integrating the data required for industrial chain analysis from multiple data sources, a tree-like system diagram and industrial chain relationship map are built, and a smart computing analysis module is used to generate report data and charts, and the report content is updated in real time.
It has achieved minute-level generation of industrial chain development analysis reports, significantly shortened the report production time, improved the accuracy and efficiency of data processing and analysis, ensured the real-time and comprehensiveness of the report, and enhanced its reference value and decision-making support capabilities.
Smart Images

Figure CN119862873A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of big data and artificial intelligence, and specifically relates to a method and system for online real-time generation of industrial chain development analysis reports. Background Art
[0002] At present, global science and technology are developing rapidly, and emerging industrial technologies are changing rapidly, driving the development of all industries at an unprecedented speed. In order to gain insight into the industrial market situation and seize industrial development opportunities, it is often necessary to accurately and timely analyze the development of each link in the upstream and downstream of the industrial chain of key industries, and form professional industrial development reports, so as to provide digital and scientific decision-making basis for the development decisions of enterprises, governments and other departments.
[0003] However, the traditional way of writing industry analysis reports has many shortcomings. On the one hand, the process of data collection, collation and analysis is cumbersome and time-consuming, resulting in a long report production cycle, which is difficult to meet the rapidly changing needs of the market. On the other hand, traditional reports often rely on the data foundation accumulated by industry analysts, lack a comprehensive grasp of industry data and update and supplement real-time data, which also greatly reduces the practicality and reference value of the report. Summary of the invention
[0004] The purpose of the present invention is to solve the problems existing in the prior art and to provide a method and system for online real-time generation of an industrial chain development analysis report.
[0005] The specific technical solutions adopted by the present invention are as follows:
[0006] In a first aspect, the present invention provides a method for online real-time generation of an industrial chain development analysis report, which comprises:
[0007] S1. According to the preset industrial chain analysis dimensions, collect the analysis data required for each analysis dimension from external data sources to form an industrial database; the analysis dimensions include enterprise information and industrial chain development information;
[0008] S2. For the target industry, each industrial link involved in the target industry is constructed into a tree-like system diagram according to a hierarchical structure; then all enterprise information is extracted from the industrial database, and the attribute information of each industrial link in the tree-like system diagram is calculated with the enterprise information of each enterprise for semantic similarity; then each enterprise is associated with the industrial link with its own semantic similarity exceeding the threshold as an on-chain enterprise, and at the same time, each enterprise is associated with its own administrative division according to the address of the enterprise, so as to preliminarily construct an industrial chain relationship map with industrial links, enterprises and administrative divisions as graph nodes on the basis of the tree-like system diagram; then for each industrial link and on-chain enterprise on the industrial chain relationship map, the relevant industrial chain development information is extracted from the industrial database and associated with the industrial chain relationship map, so as to form a multi-data heterogeneous industrial chain development map;
[0009] S3. Obtain the preset indicator system of the report to be generated and the conditional parameters, text template and chart format corresponding to each indicator field. First, for the conditional parameters of each indicator field, extract the data that meets the conditional parameters from the industrial chain development map and calculate the indicator value. Then, fill the conditional parameters and the calculated indicator value into the text template corresponding to this indicator field to generate a complete report statement. Finally, transmit the conditional parameters and the calculated indicator value to the chart generation server, and the chart generation server generates a report chart in the specified chart format.
[0010] S4. Obtain a report template for the report to be generated, and render the generated report statements and chart contents into predefined placeholders in the report template to generate an industrial chain development report document.
[0011] As a preferred embodiment of the first aspect above, in S1, the analysis dimensions in the industry database include enterprise information, investment and financing events, industry information, local policies and technical patents.
[0012] As a preferred embodiment of the first aspect, in S2, the specific method of constructing various industrial links involved in the target industry into a tree-like system diagram according to the hierarchical structure is:
[0013] For the target industry, the various segments involved in the industry are grouped according to the general industry standards, and a tree diagram of the industry is constructed based on the upstream and downstream relationships or hierarchical inclusion relationships of each segment. Each node in the tree diagram represents a segment in the industry, and the position of the node in the tree diagram represents the upstream and downstream path of the segment in the industry.
[0014] As a preferred embodiment of the above-mentioned first aspect, in S2, the screenshot method for calculating the semantic similarity between the attribute information of each industrial link in the tree system diagram and the corporate information of each enterprise is: after splicing all the fields in the attribute information of the industrial link, a first word embedding feature vector is generated through a word embedding model, and then after splicing all the fields in the corporate information of the enterprise, a second word embedding feature vector is generated through a word embedding model, and the cosine similarity between the first word embedding feature vector and the second word embedding feature vector is calculated as the semantic similarity between this group of industrial links and the enterprises.
[0015] As a preferred embodiment of the first aspect, in S2, for each industrial link and enterprise on the industrial chain relationship map, extracting the respective relevant industrial chain development information from the industrial database and associating it with the industrial chain relationship map is performed as follows:
[0016] Based on the structured data of four categories of industrial chain development information dimensions, namely, investment and financing events, industrial information, local policies and technical patents in the industrial database, titles and content texts are extracted from them and semantic similarity matching calculations are performed with the keywords defined in each industrial link and / or enterprise on the industrial chain on the industrial chain relationship map to obtain the matching score between the industrial chain development information and the industrial link and / or enterprise on the chain. According to a preset score threshold, the industrial chain development information is associated with the industrial link or enterprise on the chain whose matching score exceeds the score threshold, thereby integrating the latest information related to the industrial chain on the industrial chain relationship map.
[0017] As a preferred embodiment of the above-mentioned first aspect, in S3, the chart generation server is built using Node.js, and Echarts or G6 is used as the graph visual analysis engine. The conditional parameters corresponding to each indicator field and the calculated indicator values are transmitted to the chart generation server via the http protocol, and the chart generation server generates a graphic file in the specified chart format.
[0018] As a preferred embodiment of the above-mentioned first aspect, in S4, a chapter framework is preset in the report template of the industrial chain development report document, and report statements and charts that need to be replaced with actual content are preset in each chapter, and each report sentence and each chart corresponds to an indicator field under fixed conditional parameters; after receiving the generated report statements and chart contents, the placeholders in the template are rendered and modified according to the mapping relationship, and the placeholders are filled and replaced with corresponding report statements or charts, and finally an industrial chain development report document in word or pdf format is generated.
[0019] In a second aspect, the present invention provides an online real-time generation system for an industrial chain development analysis report, which comprises:
[0020] The industrial data collection and processing module is used to collect the analytical data required for each analysis dimension from external data sources according to the preset industrial chain analysis dimension to form an industrial database; the analysis dimension includes enterprise information and industrial chain development information;
[0021] The industrial chain map generation module is used to construct the various industrial links involved in the target industry into a tree-like system diagram according to the hierarchical structure for the target industry; then extract all enterprise information from the industrial database, and calculate the semantic similarity between the attribute information of each industrial link in the tree-like system diagram and the enterprise information of each enterprise; then associate each enterprise as an on-chain enterprise to the industrial link with its own semantic similarity exceeding the threshold, and at the same time associate each enterprise with its own administrative division according to the address of the enterprise, so as to preliminarily construct an industrial chain relationship map with industrial links, enterprises and administrative divisions as graph nodes on the basis of the tree-like system diagram; then, for each industrial link and on-chain enterprise on the industrial chain relationship map, extract the relevant industrial chain development information from the industrial database and associate it to the industrial chain relationship map, so as to form a multi-data heterogeneous industrial chain development map;
[0022] The intelligent computing and analysis module is used to obtain the preset indicator system of the report to be generated and the conditional parameters, text templates and chart forms corresponding to each indicator field. First, for the conditional parameters of each indicator field, the data satisfying the conditional parameters are extracted from the industrial chain development map and the indicator values are calculated. Then, the conditional parameters and the calculated indicator values are filled into the text template corresponding to this indicator field to generate a complete report statement. Finally, the conditional parameters and the calculated indicator values are transmitted to the chart generation server, and the chart generation server generates a report chart in the specified chart form.
[0023] The document rendering generation module is used to obtain the report template of the report to be generated, and render the generated report statements and chart contents into the predefined placeholders in the report template to generate an industrial chain development report document.
[0024] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for online real-time generation of an industrial chain development analysis report as described in any of the schemes in the first aspect above is implemented.
[0025] In a fourth aspect, the present invention provides a computer electronic device comprising a memory and a processor;
[0026] The memory is used to store computer programs;
[0027] The processor is used to implement the online real-time generation method of the industrial chain development analysis report as described in any of the solutions of the first aspect above when executing the computer program.
[0028] Compared with the prior art, the present invention has the following beneficial effects:
[0029] 1. In view of the problem that data collection and analysis of industrial chain development analysis reports take a long time and data cannot be updated timely and effectively according to actual information, the present invention designs a set of efficient data collection and intelligent analysis processing methods. This method extracts the data required for industrial analysis from multiple industrial data sources, performs intelligent calculation and analysis according to preset logic and algorithms, and can automatically generate the data points and chart content required in the report. This design process greatly reduces the burden of manual data collection and processing, and improves the accuracy and efficiency of data processing and analysis.
[0030] 2. Based on the above design process, the present invention realizes an automatic generation system for an industrial chain development analysis report document. The system can receive the industry to be studied in real time. Through the industrial chain system design and the distribution of enterprises in each link, it can automatically monitor and integrate the enterprise information intelligence, local policies and other industrial information in each link of the industrial chain to generate the final report document, which significantly shortens the report production time.
[0031] 3. The present invention ensures the comprehensiveness and real-time nature of the data in the report by constructing a timely and comprehensive data collection and processing update process. Based on the daily update of the data, the daily content update generation of the industrial chain development trend report document can be realized. This real-time nature can not only improve the reference value of the report, but also provide users with a more comprehensive and in-depth analysis of the industrial chain development trend, which can support industry analysts to make more timely and accurate decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of the steps of a method for online real-time generation of an industrial chain development analysis report;
[0033] Figure 2 This is a tree-like system diagram of the smart photovoltaic industry exemplarily constructed in an embodiment of the present invention.
[0034] Figure 3 A schematic diagram of the module composition of an online real-time generation system for industrial chain development analysis reports;
[0035] Figure 4 Flow chart of a method for online real-time generation of an industrial chain development analysis report in an embodiment of the present invention;
[0036] Figure 5 Schematic diagram of the structure of a computer electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the above-mentioned purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation mode of the present invention is described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below. The technical features in each embodiment of the present invention can be combined accordingly without conflicting with each other.
[0038] In the description of the present invention, it is to be understood that when an element is considered to be "connected" to another element, it may be directly connected to the other element or indirectly connected, that is, there are intermediate elements. On the contrary, when an element is said to be "directly" connected to another element, there are no intermediate elements.
[0039] In the description of the present invention, it should be understood that the terms "first" and "second" are only used for the purpose of distinguishing descriptions, and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features.
[0040] like Figure 1 As shown, in a preferred embodiment of the present invention, a method for online real-time generation of industrial chain development analysis report is provided, which includes four steps S1 to S4. The method makes full use of the advantages of big data and artificial intelligence technology, realizes real-time dynamic update and intelligent analysis of industrial data, and can provide users with the latest and most accurate industrial chain development analysis report documents through the report generation and rendering module.
[0041] The specific implementation methods of the above four steps S1 to S4 are described in detail below.
[0042] S1. According to the preset industrial chain analysis dimensions, the analysis data required for each analysis dimension is collected from external data sources to form an industrial database; the analysis dimensions include enterprise information and industrial chain development information.
[0043] It should be noted that the specific dimensions of the above-mentioned industrial chain development information can be designed according to actual analysis needs. For example, the optional industrial chain development information analysis dimensions include investment and financing events, industrial information, local policies, industry research reports, technical patents, etc.
[0044] In the embodiment of the present invention, the industrial data collection and processing module is mainly responsible for collecting, accessing and cleaning various types of data required for industrial chain analysis, and realizing automatic collection, processing and updating of various types of data based on web crawlers. In the embodiment, all dimensions involved in the above industrial data collection and processing include enterprises, investment and financing events, industrial information, local policies, industry research reports and technical patents. When collecting and processing each data, it is necessary to sort out and collect the required data according to the data dimension, among which the enterprise information obtains the introduction and products through the official website of the enterprise, obtains the industry category to which the enterprise belongs through the industry list, and obtains the national standard classification code and other industrial field information of the enterprise through the basic industrial and commercial information of the enterprise; the investment and financing data is collected from the industry venture capital website records regularly every day through the web crawler, and the web page text content is extracted using HTML tags; for industrial information, policies, and research reports, first sort out a predefined batch of information websites related to the industry and local government websites at all levels, and then collect the required records through the regular collection script, and after simple cleaning, structure them into structured fields such as title, content, and release date for storage; technical patents use professional patent information websites to receive patent information in json format through data interfaces, and access the latest global patent data.
[0045] In an embodiment of the present invention, the data dimensions involved in the industrial chain development analysis report include enterprises, investment and financing events, industrial information, local policies, industry research reports, technical patents, etc., and the information that needs to be collected is as follows: To support the analysis of the specific portrait of the enterprise, the enterprise portrait includes not only the basic industrial and commercial information of the enterprise, but also the enterprise branches, shareholder situation, enterprise financing records, enterprise foreign investment situation, enterprise software publication, patent application, abnormal operation and other information; investment and financing events include information such as the financing enterprise entity, investment institution, round, time, amount, etc.; industrial information is mainly industrial information collected in real time from various vertical industry websites, which is processed and processed to form key intelligence classification information in specific industries such as enterprise cooperation and product release; local policies include national policies and administrative regulations and rules of various provinces and regions; technical patents include legal information such as patent title, content, patent application entity enterprise, right holder, transfer, etc.
[0046] S2. For the target industry, each industrial link involved in the target industry is constructed into a tree-like system diagram according to a hierarchical structure; then all enterprise information is extracted from the industrial database, and the semantic similarity between the attribute information of each industrial link in the tree-like system diagram and the enterprise information of each enterprise is calculated; then each enterprise is associated with the industrial link with its own semantic similarity exceeding the threshold as an on-chain enterprise, and at the same time, each enterprise is associated with its own administrative region according to its address, so as to preliminarily construct an industrial chain relationship map with industrial links, enterprises and administrative regions as graph nodes on the basis of the tree-like system diagram; then, for each industrial link and on-chain enterprise on the industrial chain relationship map, the relevant industrial chain development information is extracted from the industrial database and associated with the industrial chain relationship map, so as to form a multi-data heterogeneous industrial chain development map.
[0047] In an embodiment of the present invention, a specific method for constructing various industrial links involved in the target industry into a tree-like system diagram according to a hierarchical structure is:
[0048] For the target industry, the various segments involved in the industry are grouped according to the general industry standards, and a tree diagram of the industry is constructed based on the upstream and downstream relationships or hierarchical inclusion relationships of each segment. Each node in the tree diagram represents a segment in the industry, and the position of the node in the tree diagram represents the upstream and downstream path of the segment in the industry.
[0049] In an embodiment of the present invention, a screenshot method for calculating the semantic similarity between the attribute information of each industrial link in the tree system diagram and the corporate information of each enterprise is as follows: all fields in the attribute information of the industrial link are spliced together and a first word embedding feature vector is generated through a word embedding model, and then all fields in the corporate information of the enterprise are spliced together and a second word embedding feature vector is generated through a word embedding model, and the cosine similarity between the first word embedding feature vector and the second word embedding feature vector is calculated as the semantic similarity between this group of industrial links and the enterprise.
[0050] It should be noted that after obtaining the cosine similarity, each enterprise needs to be associated as an on-chain enterprise to the industrial link whose semantic cosine similarity with itself exceeds the threshold, but the specific cosine similarity threshold can be set according to actual needs. The maximum number of industrial links that each enterprise can be associated with as an on-chain enterprise can also be adjusted according to actual needs. For example, each on-chain enterprise can be allowed to be associated with at most 1 industrial link.
[0051] In an embodiment of the present invention, for each industrial link and enterprise on the industrial chain relationship map, the specific method of extracting the respective relevant industrial chain development information from the industrial database and associating it with the industrial chain relationship map is as follows:
[0052] Based on the structured data of four categories of industrial chain development information dimensions, namely, investment and financing events, industrial information, local policies and technical patents in the industrial database, titles and content texts are extracted from them and semantic similarity matching calculations are performed with the keywords defined in each industrial link and / or enterprise on the industrial chain on the industrial chain relationship map to obtain the matching score between the industrial chain development information and the industrial link and / or enterprise on the chain. According to a preset score threshold, the industrial chain development information is associated with the industrial link or enterprise on the chain whose matching score exceeds the score threshold, thereby integrating the latest information related to the industrial chain on the industrial chain relationship map.
[0053] It should be noted that the specific score threshold can be optimized and designed according to actual needs. The maximum number of related industrial links or enterprises on the chain that can be included in an industrial chain development information can also be designed according to actual analysis needs.
[0054] Therefore, in the above step S2, an industrial chain map automatic generation module is responsible for the generation of the industrial chain map, wherein the specific information dimensions generated include the upstream and downstream link system of the industrial chain, the distribution relationship of enterprises in each link of the industrial chain, the industrial investment and financing situation, the industrial information policy and other public opinion views. In an embodiment of the present invention, an exemplary implementation method for the automatic generation of the industrial chain map in the above S2 is further shown, as shown in the following S21 to S23:
[0055] S21: For a specific emerging industry, the various segments involved in the industry are grouped according to the industry's general standards, and a tree diagram of the industry is constructed based on the upstream and downstream relationships or upper and lower inclusion relationships of each segment. Each node in the tree diagram represents a segment in the industry, and the position of the node in the tree diagram represents the upstream and downstream path of the segment in the industry. Figure 2 This is a schematic diagram of the tree system of the smart photovoltaic industry.
[0056] It should be noted that the industrial field system requires professional industry researchers to sort out the industry system based on their understanding of the industry background, and then build a system for each link of industrial development. The system not only includes the system framework, but also defines the concepts, scope of involvement, commonly used alias keywords in Chinese and English, and other attributes of each node link in the system according to the needs of industry analysis.
[0057] S22: Based on the industrial system in S21 and the enterprise data portrait in the industrial development database collected in step S1, establish the relationship between enterprise-<belongs to>-industrial system links, and preliminarily establish an industrial chain relationship map based on enterprises and industrial links. The specific method is as follows:
[0058] First, based on the concept definitions, keywords, and alias text descriptions of each link of the industrial system constructed in S21, the word embedding feature vector v is generated through the BGE model. node;
[0059] For corporate portraits, the company’s feature vector v is also generated through text descriptions such as the company’s profile, industry classification, and product description. com ;
[0060] After that, the similarity between each link of the industrial system and the enterprise is calculated. By setting the similarity threshold, the industry field that is most similar to the enterprise is obtained as the enterprise's affiliated industry relationship. The similarity calculation function between the two uses the cosine similarity function as follows:
[0061]
[0062] Finally, based on the geographical location of the province, city, and district in the enterprise portrait, the province, city, and district to which the enterprise belongs are linked to the geographical administrative divisions, and a preliminary industrial map relationship that is interconnected among industrial links, enterprises, and administrative divisions is established.
[0063] In actual construction, in order to ensure the accuracy of relationship construction, the affiliation between enterprises and industries can be further analyzed by expert sampling and the threshold level can be adjusted until the affiliation is accurate and usable. The graph construction relationship is stored using a graph database. For the convenience of explanation, in the following content, the enterprise elements belonging to each link in the industrial chain are referred to as on-chain enterprises.
[0064] S23: For each link of the industrial chain system and the enterprises on the chain, obtain other dimensional data related to the industrial chain from each dimensional data, including industrial information, investment and financing events, technical patents, policies, etc., to form a multi-data heterogeneous industrial chain knowledge graph. The specific association method is as follows:
[0065] S1 obtains the collected information, and performs matching calculations on the structured titles and content texts with the keywords defined in each link of the industrial chain, adjusts the weight scores of the title and content matching, obtains the matching scores between the information and each link of the industrial chain, sets the score threshold, associates the information above the threshold with the industrial link, and obtains the latest information related to the industrial chain;
[0066] S1 obtains the collected technical patents, obtains the applicants and right holders of the patents, matches the patent applicants and right holders through the full name, abbreviation and former name information of the enterprise portrait, associates them with specific enterprises in the enterprise database, and obtains the technical patents of the enterprises on the chain;
[0067] S1 obtains the policies issued by local governments, and parses the policy titles and texts according to specific HTML tags. The method of associating policies with industries is the same as information processing. According to the matching scores and threshold settings, local policy information related to the development of the industrial chain is obtained;
[0068] S1 obtains the collected investment and financing information, and parses the financing enterprise name, financing amount, financing date, and financing round information in the investment and financing records according to the specific HTML tag. Match the financing enterprise name based on the full name, abbreviation, and alias of the enterprise portrait, and link the financing enterprise entity to the specific enterprise. Obtain investment and financing events related to the industrial chain, and at the same time, according to the financing enterprise portrait, obtain the layout of the number and amount of financing in the country;
[0069] Import the information, policies, investment and financing information, industry links, and the relationships between enterprises and these obtained in the above steps into the graph database initially constructed by S22 to automatically generate a comprehensive and complete industrial chain development map. Deploy a scheduled script to regularly import the newly established relationships into the industrial graph database to form a comprehensive and automatically updated industrial chain development map.
[0070] S3. Obtain the preset indicator system of the report to be generated and the conditional parameters, text template and chart format corresponding to each indicator field. First, for the conditional parameters of each indicator field, extract the data that meets the conditional parameters from the industrial chain development map and calculate the indicator value. Then, fill the conditional parameters and the calculated indicator values into the text template corresponding to this indicator field to generate a complete report statement. Finally, transmit the conditional parameters and the calculated indicator values to the chart generation server, and the chart generation server generates a report chart in the specified chart format.
[0071] In an embodiment of the present invention, an intelligent analysis and calculation module is responsible for calculating and generating the required indicator data and image content according to the calculation logic preset in the report to be generated. In an embodiment of the present invention, an exemplary implementation method of the intelligent analysis and calculation module in S2 is further shown, which may include three parts: data intelligent calculation, automatic text arrangement and automatic image generation, and each of which is implemented as shown in S31 to S33 below:
[0072] S31: The data intelligent computing part is responsible for interacting with the graph database table and extracting data to obtain the numerical results in the report. The detailed implementation process of the module is described as follows:
[0073] Based on the commonly used data of industrial development analysis reports, the indicator system, conditional parameters, and text template attributes are preset. When the user extracts a certain indicator, the required indicator value is automatically extracted by passing in the indicator and specific conditional parameters. Specifically, for example, to analyze the financing amount of a specific link, the financing amount is used as an indicator, and its parameter attributes include industrial link, analysis start date, analysis end date, province, and city. When it is necessary to extract the financing amount of enterprises in Zhejiang Province in the past five years, the province and date information is converted and filled into the corresponding conditional screening parameter position to realize the automatic extraction of specific data.
[0074] S32: The text layout part is responsible for generating text statements in the report. The predefined indicator values and text template attributes in step S31 automatically fill the values into the text template to generate a complete report text description. For example, for the financing amount, the text template attribute is set to: "[Start date] to [End date], [Industry link] in [Province] accumulated financing [Financing amount]." A complete report statement is generated by automatically splicing the screening conditions and numerical results.
[0075] S33: The generation of pictures for intelligent analysis of the industrial chain mainly involves the charts required for the report document. The picture generation module uses Node.js to build a chart generation server. After the intelligent calculation and analysis module automatically obtains data for each indicator field, the conditional parameters corresponding to each indicator field and the calculated indicator values are transmitted to the chart generation server through the http protocol, and the graphic file is received to the local storage. Among them, the chart generation server can choose to use Echarts, G6 and other graphic visual analysis engines. In this embodiment, Echarts or G6 is used as the graphic visualization engine server. The automatic chart generation module can support the generation of industrial chain system tree diagrams, pie charts, bar charts, line charts, scatter charts, bubble charts, etc. commonly used in reports.
[0076] S4. Obtain a report template for the report to be generated, and render the generated report statements and chart contents into predefined placeholders in the report template to generate an industrial chain development report document.
[0077] It should be noted that the report template of the above industrial chain development report document has a preset chapter framework, and each chapter has preset report statements and charts that need to be replaced with actual content. Each report sentence and each chart corresponds to an indicator field under fixed conditional parameters. Therefore, after receiving the generated report statements and chart contents, the placeholders in the template are rendered and modified according to the mapping relationship, and the placeholders are filled and replaced with corresponding report statements or charts, and finally a word or pdf format industrial chain development report document is generated.
[0078] In an embodiment of the present invention, a document rendering generation module is responsible for the data generated by the first several modules and renders it to the corresponding document template, which includes two steps: the framework content template of the industrial chain development report and the document rendering generation. As an exemplary implementation method of an embodiment of the present invention, its specific implementation method is as follows:
[0079] S41: Framework content template for industrial chain development report. The content template is designed and formulated by professional industry research analysts based on the common needs of industrial chain development analysis. A unified format template is formulated for each chapter and section, including font style, font size, header and footer and other layout details. At the same time, standardized display templates are provided for different types of charts and text data to ensure the overall consistency of the report. This module in the system also supports custom template configuration and provides multiple types of report generation.
[0080] In this embodiment, the chapter framework of the industrial chain analysis report is defined as four chapters: industrial chain map, industrial development, industrial technology trends, and industrial investment situation. Among them, industrial development includes industrial structure analysis and industrial development situation; industrial technology trends include patent trend analysis, technology life cycle analysis, and technology layout; industrial investment situation is divided into investment and financing trends, financing stage layout analysis, and key investment distribution analysis.
[0081] S42: Document rendering generation. Document rendering generation renders the automatically generated text paragraphs and chart contents into predefined placeholders based on the template to generate an overall editable report document. Among them, the editable report generation references python-docx and jinja toolkits for secondary development, rendering and modifying the placeholders in the template, filling and replacing them with automatically generated report statements and pictures.
[0082] In particular, the content templates and automatically generated reports involved in the present invention are in word editable document formats, which are easy for users to extract and re-edit, thereby improving the efficiency of report production. In practical applications, if report content in a fixed PDF format is required, a document conversion tool can also be used to automatically convert and generate it. The PDF format in this embodiment uses the LibreOffice conversion format for file storage.
[0083] Based on the above steps S1 to S4, the present invention can realize real-time dynamic updating and intelligent analysis of industrial data. Through the report generation and rendering module, it can provide users with the latest and most accurate industrial chain development analysis report reference documents, and realize the generation of industrial chain development analysis reports in minutes, which greatly shortens the production time of industrial chain analysis report documents, improves the efficiency of report production, and speeds up and increases the efficiency of industrial analysis decision-making.
[0084] It should be noted that the method steps shown in S1 to S4 above can essentially be implemented in the form of a computer program. In actual implementation, the above steps can be automatically scheduled through automated software and tools to achieve automatic output of the report.
[0085] like Figure 3As shown, based on the same inventive concept, the present invention also provides an online real-time generation system for an industrial chain development analysis report corresponding to the online real-time generation method for an industrial chain development analysis report provided in the above embodiment, which includes:
[0086] The industrial data collection and processing module is used to collect the analytical data required for each analysis dimension from external data sources according to the preset industrial chain analysis dimension to form an industrial database; the analysis dimension includes enterprise information and industrial chain development information;
[0087] The industrial chain map generation module is used to construct the various industrial links involved in the target industry into a tree-like system diagram according to the hierarchical structure for the target industry; then extract all enterprise information from the industrial database, and calculate the semantic similarity between the attribute information of each industrial link in the tree-like system diagram and the enterprise information of each enterprise; then associate each enterprise as an on-chain enterprise to the industrial link with its own semantic similarity exceeding the threshold, and at the same time associate each enterprise with its own administrative division according to the address of the enterprise, so as to preliminarily construct an industrial chain relationship map with industrial links, enterprises and administrative divisions as graph nodes on the basis of the tree-like system diagram; then, for each industrial link and on-chain enterprise on the industrial chain relationship map, extract the relevant industrial chain development information from the industrial database and associate it to the industrial chain relationship map, so as to form a multi-data heterogeneous industrial chain development map;
[0088] The intelligent computing and analysis module is used to obtain the preset indicator system of the report to be generated and the conditional parameters, text templates and chart forms corresponding to each indicator field. First, for the conditional parameters of each indicator field, the data satisfying the conditional parameters are extracted from the industrial chain development map and the indicator values are calculated. Then, the conditional parameters and the calculated indicator values are filled into the text template corresponding to this indicator field to generate a complete report statement. Finally, the conditional parameters and the calculated indicator values are transmitted to the chart generation server, and the chart generation server generates a report chart in the specified chart form.
[0089] The document rendering generation module is used to obtain the report template of the report to be generated, and render the generated report statements and chart contents into the predefined placeholders in the report template to generate an industrial chain development report document.
[0090] In the above-mentioned online real-time generation system of industrial chain development analysis report, the process of cooperation and execution between all modules is as follows: Figure 4 Shown
[0091] In addition, if Figure 5As shown, based on the same inventive concept, the present invention also provides a computer electronic device corresponding to the online real-time generation method of an industrial chain development analysis report provided in the above embodiment, which includes a memory and a processor;
[0092] The memory is used to store computer programs;
[0093] The processor is used to implement the above-mentioned online real-time generation method of industrial chain development analysis report when executing the computer program;
[0094] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0095] In addition, based on the same inventive concept, the present invention provides a computer-readable storage medium corresponding to an online real-time generation method for an industrial chain development analysis report, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it can implement the online real-time generation method for an industrial chain development analysis report as described above.
[0096] In addition, based on the same inventive concept, the present invention provides a computer program product, including a computer program / instruction, which, when executed by a processor, can implement the online real-time generation method of the industrial chain development analysis report as described above.
[0097] Specifically, in the computer-readable storage medium of each of the above embodiments, the stored computer program is executed by the processor to perform the above steps S1 to S4.
[0098] It is understandable that the above storage medium may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage. The storage medium may also be a U disk, a mobile hard disk, a magnetic disk or an optical disk, etc., which can store program codes.
[0099] It is understandable that the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0100] It should also be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the various embodiments provided in this application, the division of steps or modules in the system and method is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or steps can be combined or integrated together, and a module or step can also be split.
[0101] The above-described embodiments are only some preferred implementations of the present invention, but are not intended to limit the present invention. A person skilled in the relevant technical field may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present invention.
Claims
1. A method for generating an industrial chain development analysis report online in real time, characterized in that: include: S1. According to the preset industrial chain analysis dimensions, collect the analytical data required for each analysis dimension from external data sources to form an industrial database; The analysis dimensions include enterprise information and industrial chain development information; S2. For the target industry, each industrial link involved in the target industry is constructed into a tree system diagram according to the hierarchical structure; then all enterprise information is extracted from the industrial database, and the attribute information of each industrial link in the tree system diagram is calculated with the enterprise information of each enterprise for semantic similarity, and then each enterprise is associated with the industrial link with its own semantic similarity exceeding the threshold as an on-chain enterprise, and at the same time, each enterprise is associated with its own administrative division according to the address of the enterprise, so as to preliminarily construct an industrial chain relationship map with industrial links, enterprises and administrative divisions as graph nodes on the basis of the tree system diagram; Then, for each industrial link and enterprise on the industrial chain relationship map, extract the relevant industrial chain development information from the industrial database and associate it with the industrial chain relationship map to form a multi-data heterogeneous industrial chain development map; S3. Obtain the preset indicator system of the report to be generated and the conditional parameters, text template and chart format corresponding to each indicator field. First, for the conditional parameters of each indicator field, extract the data that meets the conditional parameters from the industrial chain development map and calculate the indicator value. Then, fill the conditional parameters and the calculated indicator value into the text template corresponding to this indicator field to generate a complete report statement. Finally, transmit the conditional parameters and the calculated indicator value to the chart generation server, and the chart generation server generates a report chart in the specified chart format. S4. Obtain a report template for the report to be generated, and render the generated report statements and chart contents into predefined placeholders in the report template to generate an industrial chain development report document.
2. The online real-time generation method of the industrial chain development analysis report according to claim 1 is characterized in that: In S1, the analysis dimensions in the industry database include enterprise information, investment and financing events, industry information, local policies and technical patents.
3. The online real-time generation method of the industrial chain development analysis report according to claim 1 is characterized in that: In S2, the specific method of constructing each industrial link involved in the target industry into a tree-like system diagram according to the hierarchical structure is: For the target industry, the various segments involved in the industry are grouped according to the general industry standards, and a tree diagram of the industry is constructed based on the upstream and downstream relationships or hierarchical inclusion relationships of each segment. Each node in the tree diagram represents a segment in the industry, and the position of the node in the tree diagram represents the upstream and downstream path of the segment in the industry.
4. The online real-time generation method of the industrial chain development analysis report according to claim 1 is characterized in that: In S2, the method for calculating the semantic similarity between the attribute information of each industrial link in the tree system diagram and the enterprise information of each enterprise is: after splicing all the fields in the attribute information of the industrial link, a first word embedding feature vector is generated through a word embedding model, and then after splicing all the fields in the enterprise information of the enterprise, a second word embedding feature vector is generated through a word embedding model, and the cosine similarity between the first word embedding feature vector and the second word embedding feature vector is calculated as the semantic similarity between this group of industrial links and enterprises.
5. The online real-time generation method of the industrial chain development analysis report according to claim 2, characterized in that: In S2, for each industrial link and enterprise on the industrial chain relationship map, the specific method of extracting the relevant industrial chain development information from the industrial database and associating it with the industrial chain relationship map is as follows: Based on the structured data of four categories of industrial chain development information dimensions, namely, investment and financing events, industrial information, local policies and technical patents in the industrial database, titles and content texts are extracted from them and semantic similarity matching calculations are performed with the keywords defined in each industrial link and / or enterprise on the industrial chain on the industrial chain relationship map to obtain the matching score between the industrial chain development information and the industrial link and / or enterprise on the chain. According to a preset score threshold, the industrial chain development information is associated with the industrial link or enterprise on the chain whose matching score exceeds the score threshold, thereby integrating the latest information related to the industrial chain on the industrial chain relationship map.
6. The online real-time generation method of the industrial chain development analysis report according to claim 1, characterized in that: In S3, the chart generation server is built using Node.js, and uses Echarts or G6 as a graph visual analysis engine. The conditional parameters corresponding to each indicator field and the calculated indicator values are transmitted to the chart generation server via the http protocol. The chart generation server generates a graphic file in the specified chart format.
7. The online real-time generation method of the industrial chain development analysis report according to claim 1, characterized in that: In S4, a chapter framework is preset in the report template of the industrial chain development report document, and each chapter is preset with report statements and charts that need to be replaced with actual content, and each report sentence and each chart corresponds to an indicator field under fixed conditional parameters; after receiving the generated report statements and chart contents, the placeholders in the template are rendered and modified according to the mapping relationship, and the placeholders are filled and replaced with corresponding report statements or charts, and finally an industrial chain development report document in word or pdf format is generated.
8. An online real-time generation system for industrial chain development analysis reports, characterized in that: include: The industrial data collection and processing module is used to collect the analytical data required for each analysis dimension from external data sources according to the preset industrial chain analysis dimension to form an industrial database; the analysis dimension includes enterprise information and industrial chain development information; The industrial chain map generation module is used to construct the various industrial links involved in the target industry into a tree-like system diagram according to the hierarchical structure for the target industry; then extract all enterprise information from the industrial database, and calculate the semantic similarity between the attribute information of each industrial link in the tree-like system diagram and the enterprise information of each enterprise, and then associate each enterprise as an on-chain enterprise to the industrial link with its own semantic similarity exceeding the threshold, and at the same time associate each enterprise with its own administrative division according to the address of the enterprise, so as to preliminarily construct an industrial chain relationship map with industrial links, enterprises and administrative divisions as graph nodes on the basis of the tree-like system diagram; Then, for each industrial link and enterprise on the industrial chain relationship map, extract the relevant industrial chain development information from the industrial database and associate it with the industrial chain relationship map to form a multi-data heterogeneous industrial chain development map; The intelligent computing and analysis module is used to obtain the preset indicator system of the report to be generated and the conditional parameters, text templates and chart forms corresponding to each indicator field. First, for the conditional parameters of each indicator field, the data satisfying the conditional parameters are extracted from the industrial chain development map and the indicator values are calculated. Then, the conditional parameters and the calculated indicator values are filled into the text template corresponding to this indicator field to generate a complete report statement. Finally, the conditional parameters and the calculated indicator values are transmitted to the chart generation server, and the chart generation server generates a report chart in the specified chart form. The document rendering generation module is used to obtain the report template of the report to be generated, and render the generated report statements and chart contents into the predefined placeholders in the report template to generate an industrial chain development report document.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the online real-time generation method of the industrial chain development analysis report as described in any one of claims 1 to 7 is implemented.
10. A computer electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the online real-time generation method of the industrial chain development analysis report as described in any one of claims 1 to 7 when executing the computer program.