Financial data acquisition system and method based on web crawler technology
Through web crawler technology and deep learning technology, it solves the problems of time-consuming, error-prone and data silos in traditional financial data collection systems, realizes automated collection and multi-dimensional reporting of financial data, and improves the accuracy of data integration and analysis.
Patent Information
- Application Number
- CN202410872693.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional financial data collection systems rely on manual processing and entry, which is time-consuming and labor-intensive, and can easily introduce human errors. Moreover, data between different departments or systems cannot be effectively integrated, resulting in the phenomenon of information islands and affecting the overall utilization of data.
Web crawler technology is used to collect data from the financial business system, and deep learning natural language analysis and processing technology is used to perform semantic analysis and context coding to generate multi-dimensional financial reports.
It realizes the automated collection of financial data, reduces manual input errors, improves data collection efficiency, integrates data from different financial business systems, provides a comprehensive financial view, and supports more accurate financial analysis and decision-making.
Smart Images

Figure CN118735704A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent processing, and more specifically, to a financial data collection system and method based on web crawler technology. Background Art
[0002] Modern corporate decision-making increasingly relies on data-driven analysis. As one of the key information, the collection and analysis of financial data is particularly important. Financial data collection refers to the process of collecting, organizing and storing financial information. It is the basis of corporate financial management, helping to improve financial transparency, strengthen internal control, optimize resource allocation and support strategic decision-making.
[0003] However, traditional financial data collection systems often rely on manual processing and data entry, which is not only time-consuming and labor-intensive, but also prone to human errors. In addition, data between different departments or systems may not be effectively integrated, resulting in information islands and affecting the global use of data.
[0004] Therefore, a financial data collection system based on web crawler technology is expected. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a financial data collection system and method based on web crawler technology, which collects financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales systems, procurement systems and inventory systems, and uses natural language analysis and processing technology based on deep learning to perform semantic analysis and context encoding on the financial data of the various financial business systems, so as to intelligently obtain multi-dimensional financial reports. In this way, web crawler technology can be used to realize the automated collection of sales, procurement and inventory financial business system data, while deep learning technology can be used to reduce manual input errors, improve data collection efficiency, and integrate data from different financial business systems to provide a comprehensive financial view, which helps to make more accurate financial analysis and decision-making.
[0006] According to one aspect of the present application, a financial data collection system based on web crawler technology is provided, which includes:
[0007] A financial data collection module, used to collect financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales system, procurement system and inventory system;
[0008] A financial data classification module, used for classifying the financial data to obtain multiple types of financial data;
[0009] A financial data word granularity semantic encoding module, used for performing word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularity, and then performing financial data word granularity semantic encoding to obtain a sequence of multiple types of financial data word granularity semantic encoding vectors;
[0010] A context semantic interaction module, used for fusing the sequences of the multiple types of financial data word granularity semantic coding vectors to obtain multiple types of financial data semantic coding feature vectors, and then performing financial data context semantic interaction to obtain multiple types of financial data semantic interaction coding feature vectors;
[0011] A global semantic feature association module, used for arranging the semantic interaction coding feature vectors of the multiple types of financial data into a financial data multi-type semantic interaction coding feature matrix and then performing global semantic feature association to obtain a financial data multi-type global semantic association representation matrix;
[0012] The multi-dimensional financial report generation module is used to generate a multi-dimensional financial report based on the multi-type global semantic association representation matrix of the financial data.
[0013] According to another aspect of the present application, a financial data collection method based on web crawler technology is provided, which includes:
[0014] Collecting financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales system, procurement system and inventory system;
[0015] Classifying the financial data to obtain multiple types of financial data;
[0016] Performing word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularities, and then performing semantic encoding of the financial data word granularities to obtain a sequence of semantic encoding vectors of multiple types of financial data word granularities;
[0017] After fusing the sequences of the multiple types of financial data word granularity semantic coding vectors to obtain multiple types of financial data semantic coding feature vectors, financial data context semantic interaction is performed to obtain multiple types of financial data semantic interaction coding feature vectors;
[0018] Arranging the semantic interaction coding feature vectors of the multiple types of financial data into a financial data multi-type semantic interaction coding feature matrix and then performing global semantic feature association to obtain a financial data multi-type global semantic association representation matrix;
[0019] Based on the multi-type global semantic association representation matrix of the financial data, a multi-dimensional financial report is generated.
[0020] Compared with the prior art, the present application provides a financial data collection system and method based on web crawler technology, which collects financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales systems, procurement systems and inventory systems, and uses natural language analysis and processing technology based on deep learning to perform semantic analysis and context encoding on the financial data of the various financial business systems, thereby intelligently obtaining multi-dimensional financial reports. In this way, web crawler technology can be used to realize the automated collection of sales, procurement and inventory financial business system data, while deep learning technology can be used to reduce manual input errors, improve data collection efficiency, and integrate data from different financial business systems to provide a comprehensive financial view, which helps to make more accurate financial analysis and decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0022] Figure 1 It is a block diagram of a financial data collection system based on web crawler technology according to an embodiment of the present application.
[0023] Figure 2 Schematic diagram of the architecture of a financial data collection system based on web crawler technology according to an embodiment of the present application.
[0024] Figure 3 It is a block diagram of a context semantic interaction module in a financial data collection system based on web crawler technology according to an embodiment of the present application.
[0025] Figure 4 The present invention is a flowchart of a financial data collection method based on web crawler technology according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, but rather these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0028] It should be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order for the objects. It is understandable that the specific order or sequence of "first\second\third" can be interchanged where permitted. It should be understood that the objects distinguished by "first\second\third" can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0029] As shown in the present disclosure and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0030] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0031] Modern corporate decision-making increasingly relies on data-driven analysis. As one of the key information, the collection and analysis of financial data is particularly important. Financial data collection refers to the process of collecting, organizing and storing financial information. It is the basis of corporate financial management, helping to improve financial transparency, strengthen internal control, optimize resource allocation and support strategic decision-making.
[0032] However, traditional financial data collection systems often rely on manual processing and data entry, which is not only time-consuming and labor-intensive, but also prone to human errors. In addition, data between different departments or systems may not be effectively integrated, resulting in information islands and affecting the global use of data.
[0033] It should be understood that web crawler technology, also known as Web Crawl er technology, scans and accesses web pages according to a certain algorithm, then extracts link addresses from them, and indexes the web pages pointed to by these links. It is a technology that crawls information on the Internet according to specific rules and algorithms through automated programs. This technology enables machines to simulate human behavior of browsing web pages, thereby efficiently collecting data. Web crawlers play an important role in many fields such as search engine index construction, data mining, and market analysis. Therefore, web crawlers play an important role in many fields such as search engine index construction, data mining, and market analysis.
[0034] Therefore, a financial data collection system based on web crawler technology is desired, which collects financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales system, procurement system and inventory system, and uses natural language analysis and processing technology based on deep learning to perform semantic analysis and context encoding on the financial data of the various financial business systems, so as to intelligently obtain multi-dimensional financial reports. In this way, web crawler technology can be used to realize the automated collection of sales, procurement and inventory financial business system data, while deep learning technology can be used to reduce manual input errors, improve data collection efficiency, and integrate data from different financial business systems to provide a comprehensive financial view, which helps to make more accurate financial analysis and decisions.
[0035] Figure 1 It is a block diagram of a financial data collection system based on web crawler technology according to an embodiment of the present application. Figure 2 Schematic diagram of the architecture of the financial data collection system based on web crawler technology according to an embodiment of the present application. Figure 1 and Figure 2As shown, according to the financial data collection system 100 based on web crawler technology of the embodiment of the present application, it includes: a financial data collection module 110, which is used to collect financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales systems, procurement systems and inventory systems; a financial data classification module 120, which is used to classify the financial data to obtain multiple types of financial data; a financial data word granularity semantic encoding module 130, which is used to perform word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularities, and then perform financial data word granularity semantic encoding to obtain multiple types of financial data word granularity semantic encoding vectors. sequence; a contextual semantic interaction module 140, which is used to fuse the sequences of the multiple types of financial data word granularity semantic coding vectors to obtain multiple types of financial data semantic coding feature vectors and then perform financial data contextual semantic interaction to obtain multiple types of financial data semantic interaction coding feature vectors; a global semantic feature association module 150, which is used to arrange the multiple types of financial data semantic interaction coding feature vectors into a financial data multi-type semantic interaction coding feature matrix and then perform global semantic feature association to obtain a financial data multi-type global semantic association representation matrix; and a multi-dimensional financial report generation module 160, which is used to generate a multi-dimensional financial report based on the financial data multi-type global semantic association representation matrix.
[0036] In the embodiment of the present application, the financial data collection module 110 is used to collect the financial data of each financial business system through the web crawler technology, wherein the various financial business systems include sales systems, procurement systems and inventory systems. It should be understood that the financial data of each financial business system refers to the detailed information related to the financial status of the enterprise recorded and generated in these systems. Specifically, the sales system includes order number, customer information, product details, quantity, unit price, total price, etc. The procurement system includes order number, supplier information, purchased commodity details, quantity, purchase price, etc. The inventory system includes the current inventory, inventory cost, safety inventory level, etc. of various commodities. Based on this, in order to accurately and comprehensively display financial reports, in the technical solution of the present application, the financial data of each financial business system is collected through the web crawler technology, wherein the various financial business systems include sales systems, procurement systems and inventory systems, and the financial data are semantically analyzed and understood, which can reduce manual errors, improve the accuracy and real-time nature of data, and thus provide a solid data foundation for the financial management and business decision-making of the enterprise.
[0037] It is worth mentioning that the web crawler technology plays a vital role in financial data collection. In detail, it accesses financial business systems such as sales systems, procurement systems, and inventory systems through automated scripts or programs to capture the required data. In particular, this process usually involves sending HTTP requests to the target system and then parsing the response content to extract financial data. For example, a crawler using the Python language may use the requests library to send requests and use the BeautifulSoup or lxml library to parse HTML or XML responses to obtain data. In addition, in order to ensure the accuracy and completeness of the data, the crawler will also perform error handling and data validation when collecting data. Therefore, through web crawler technology, a large amount of data can be automatically extracted from the financial business system to provide support for further financial analysis and decision-making.
[0038] In an embodiment of the present application, the financial data classification module 120 is used to classify the financial data to obtain multiple types of financial data. Specifically, in an embodiment of the present application, the financial data classification module is used to classify the financial data according to the dimension of the data type to obtain the multiple types of financial data. Accordingly, considering that the financial data is obtained from the sales system, the procurement system and the inventory system through the crawler system, and different types of financial data usually correspond to different reporting requirements. Therefore, in order to analyze and process each type of financial data separately, in the technical solution of the present application, the financial data is classified according to the dimension of the data type to obtain the multiple types of financial data, that is, the financial data is classified according to different types such as sales, procurement, inventory, etc., which can make the data more readable and help to quickly understand the content and meaning of each type of data, so as to better utilize the financial data for the generation of intelligent financial reports.
[0039] In an embodiment of the present application, the financial data word granularity semantic encoding module 130 is used to perform word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularity, and then perform financial data word granularity semantic encoding to obtain a sequence of multiple types of financial data word granularity semantic encoding vectors. Specifically, in an embodiment of the present application, the financial data word granularity semantic encoding module is used to: perform word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularity, and then input the sequence into the financial data word granularity semantic encoder based on the Bert model to obtain a sequence of multiple types of financial data word granularity semantic encoding vectors. It should be understood that considering that each type of financial data in the multiple types of financial data contains a large amount of text information, and each type of financial data is composed of better units (words or words), based on this, in order to analyze and understand the semantic information between each type of financial data in a more fine-grained manner, in the technical solution of the present application, each type of financial data in the multiple types of financial data is subjected to word segmentation processing to obtain a sequence of multiple types of financial data word granularity. Then, it is considered that the sequence of the multiple types of financial data word granularity contains the interdependent associations and influences between the various types of financial data contexts. Therefore, further, in the technical solution of the present application, the sequence of the multiple types of financial data word granularity is input into the financial data word granularity semantic encoder based on the Bert model to obtain the sequence of the multiple types of financial data word granularity semantic encoding vectors. It should be understood that the Bert model is a pre-trained deep bidirectional Transformer model that can learn the rich semantic information of text data. That is to say, by inputting the sequence of the multiple types of financial data word granularity semantic encoding vectors into the financial data word granularity semantic encoder based on the Bert model, the meaning of the words in the context can be captured, so as to more accurately understand the complex semantic relationships and information in the financial data, so as to obtain the semantic encoding vector of each word, so as to better characterize the semantic information of the financial data, thereby providing more accurate and in-depth data representation for the subsequent intelligent generation of multi-dimensional financial reports.
[0040] In an embodiment of the present application, the contextual semantic interaction module 140 is used to fuse the sequences of the multiple types of financial data word granularity semantic coding vectors to obtain multiple types of financial data semantic coding feature vectors, and then perform financial data contextual semantic interaction to obtain multiple types of financial data semantic interaction coding feature vectors. Figure 3 is a block diagram of a context semantic interaction module in a financial data collection system based on web crawler technology according to an embodiment of the present application. Specifically, in the embodiment of the present application, Figure 3As shown, the contextual semantic interaction module 140 includes: a feature fusion unit 141, used to fuse the word granularity semantic coding vectors of each type of financial data in the sequence of the multiple types of financial data word granularity semantic coding vectors to obtain the multiple types of financial data semantic coding feature vectors; and a semantic interaction coding unit 142, used to input the multiple types of financial data semantic coding feature vectors into the converter-based financial data contextual semantic interaction module to obtain the multiple types of financial data semantic interaction coding feature vectors.
[0041] Specifically, the feature fusion unit 141 is used to fuse the word granularity semantic coding vectors of each type of financial data in the sequence of the multiple types of financial data word granularity semantic coding vectors to obtain the multiple types of financial data semantic coding feature vectors. Accordingly, considering that the word granularity semantic coding vectors of each type of financial data in the sequence of the multiple types of financial data word granularity semantic coding vectors are obtained by semantically encoding each word or phrase, therefore, in order to more comprehensively display the overall semantic information of each type of financial data, in the technical solution of the present application, the word granularity semantic coding vectors of each type of financial data in the sequence of the multiple types of financial data word granularity semantic coding vectors are fused to obtain the multiple types of financial data semantic coding feature vectors, so that the fused feature vectors are more representative and distinctive, providing more powerful support for subsequent financial data analysis and multi-dimensional financial report generation.
[0042] Specifically, the semantic interaction coding unit 142 is used to input the semantic coding feature vectors of the multiple types of financial data into the financial data context semantic interaction module based on the converter to obtain the semantic interaction coding feature vectors of the multiple types of financial data. It should be understood that, considering that the semantic coding feature vectors of each type of financial data in the multiple types of financial data semantic coding feature vectors have semantic associations and interactions between contexts, for example, there is a direct relationship between the sales data in the sales system and the purchase cost data in the purchase system, that is, an increase in sales may lead to an increase in corresponding purchase costs, because more products need to be purchased to meet sales demand. Based on this, in the technical solution of the present application, the semantic coding feature vectors of the multiple types of financial data are input into the financial data context semantic interaction module based on the converter to obtain the semantic interaction coding feature vectors of the multiple types of financial data. In particular, financial data usually involves information of multiple aspects and dimensions, and there may be certain associations and interactions between different types of financial data. By introducing the converter-based financial data context semantic interaction module, information exchange, dependencies and semantic interactions between different types of financial data can be promoted, which helps to explore potential associations between data, so as to better understand the complex semantic relationships and information in financial data, improve the representation ability and discrimination of features, and thus better capture the complex characteristics of data.
[0043] In an embodiment of the present application, the global semantic feature association module 150 is used to arrange the multiple types of financial data semantic interaction encoding feature vectors into a financial data multi-type semantic interaction encoding feature matrix and then perform global semantic feature association to obtain a financial data multi-type global semantic association representation matrix. Specifically, in an embodiment of the present application, the global semantic feature association module is used to: arrange the multiple types of financial data semantic interaction encoding feature vectors into the financial data multi-type semantic interaction encoding feature matrix and then input the non-local based global semantic feature association module to perform global semantic capture to obtain the financial data multi-type global semantic association representation matrix. Accordingly, in order to better capture the potential dependencies and influences between different types of financial data semantic interaction encoding feature vectors, in the technical solution of the present application, the multiple types of financial data semantic interaction encoding feature vectors are arranged into the financial data multi-type semantic interaction encoding feature matrix. Then, considering that the multi-type semantic interaction coding feature matrix of financial data is obtained by arranging the semantic interaction coding feature vectors of each type of financial data, therefore, in order to more comprehensively capture the global semantic associations between data, rather than just being limited to the associations in local areas, in the technical solution of the present application, further, the multi-type semantic interaction coding feature matrix of financial data is input into a non-local global semantic feature association module for global semantic capture to mine the global semantic connections established on the entire data set, thereby obtaining the multi-type global semantic association representation matrix of financial data, which helps to more comprehensively understand the information and potential connections behind the financial data, and provide richer input for the generation of multi-dimensional financial reports.
[0044] In an embodiment of the present application, the multi-dimensional financial report generation module 160 is used to generate a multi-dimensional financial report based on the multi-type global semantic association representation matrix of the financial data. Specifically, in an embodiment of the present application, the multi-dimensional financial report generation module is used to: input the multi-type global semantic association representation matrix of the financial data into a generator-based report generation model to generate the multi-dimensional financial report. That is, the multi-dimensional financial report is intelligently obtained by generating and processing the multi-type global semantic association representation matrix of the financial data. In this way, the web crawler technology can be used to realize the automated collection of sales, procurement and inventory financial business system data. At the same time, the deep learning technology can reduce manual input errors, improve data collection efficiency, and integrate data from different financial business systems to provide a comprehensive financial view, which helps to make more accurate financial analysis and decision-making.
[0045] In a preferred embodiment of the present application, the multi-dimensional financial report generation module includes: a feature expansion unit, used to expand the multi-type global semantic association representation matrix of financial data into a multi-type global semantic association representation vector of financial data; a feature perception enhancement unit, used to enhance the multi-type global semantic association representation vector of financial data based on a backward correlation perception mechanism to obtain an optimized multi-type global semantic association representation vector of financial data; and a report generation unit, used to input the optimized multi-type global semantic association representation vector of financial data into a generator-based report generation model to obtain the multi-dimensional financial report.
[0046] Specifically, the feature perception enhancement unit is used to enhance the perception mechanism of the multi-type global semantic association representation vector of the financial data based on backward correlation to obtain an optimized multi-type global semantic association representation vector of the financial data. In particular, in the technical solution of the present application, the financial data includes sales data, procurement data, inventory data, etc., which may come from different business systems and data sources, and have different data structures and statistical characteristics. The word segmentation processing of different types of financial data may face different challenges, such as the recognition and processing of professional terms, which may lead to inconsistent distribution of word granularity sequences of different types of data in the feature space. Although the Bert model performs well in semantic encoding, it may not be able to fully capture the professionalism and complexity of all financial data, especially for certain specific types of financial terms or expressions. When fusing the semantic encoding vectors of different types of financial data, there may be problems of feature mismatch or improper weight distribution, which affects the consistency of the overall feature vector. Based on the above reasons, the manifold geometric consistency of the overall feature distribution of the multi-type global semantic association representation vector of financial data is poor. When the distribution of the multi-type global semantic association representation vector of financial data in the feature space is inconsistent, the generator-based report generation model may find it difficult to accurately capture the relationship between different financial dimensions, especially in areas with sparse distribution in the feature space. This may cause the generated financial report to have prediction deviations in certain dimensions, affecting the accuracy and reliability of the report. Based on this, the multi-type global semantic association representation vector of financial data is strengthened based on the perception mechanism of backward correlation to obtain an optimized multi-type global semantic association representation vector of financial data.
[0047] More specifically, the feature perception enhancement unit is used to: multiply the multi-type global semantic association representation vector of the financial data with the generation weight matrix of the generator-based report generation model to obtain a first intermediate financial data multi-type global semantic association representation vector; use the concat function to process the multi-type global semantic association representation vector of the financial data and the first intermediate financial data multi-type global semantic association representation vector to obtain a second intermediate financial data multi-type global semantic association representation vector; add the multi-type global semantic association representation vector of the financial data and the first intermediate financial data multi-type global semantic association representation vector by position to obtain a third intermediate financial data multi-type global semantic association representation vector; multiply the first weight matrix by the second intermediate financial data multi-type global semantic association representation vector plus the first bias vector and pass it through the sigmoid function to obtain a first activation value; multiply the second weight matrix by the third intermediate financial data multi-type global semantic association representation vector The multi-type global semantic association representation vector is added with a second bias vector and then passed through a sigmoid function to obtain a second activation value; the mean of the first activation value and the second activation value is calculated to obtain an activation mean; the difference between the first activation value and the second activation value is calculated, and the difference is used as the first weighting coefficient and the activation mean is used as the second weighting coefficient, and the second intermediate financial data multi-type global semantic association representation vector and the financial data multi-type global semantic association representation vector are weighted by position to obtain a fourth intermediate financial data multi-type global semantic association representation vector; each eigenvalue of the backward anchoring reference vector is subjected to an exponential operation with a natural constant as the base to obtain a fifth intermediate financial data multi-type global semantic association representation vector; and, the fourth intermediate financial data multi-type global semantic association representation vector is subtracted by the fifth intermediate financial data multi-type global semantic association representation vector by position and then passed through a ReLU function to obtain the optimized financial data multi-type global semantic association representation vector.
[0048] In the above preferred embodiment, specifically, the feature perception enhancement unit is used to: perform a backward correlation-based perception mechanism enhancement on the multi-type global semantic association representation vector of financial data using the following feature perception enhancement formula to obtain the optimized multi-type global semantic association representation vector of financial data; wherein the feature perception enhancement formula is:
[0049]
[0050] Among them, v c represents the multi-type global semantic association representation vector of the financial data, M represents the generation weight matrix of the generator-based report generation model, represents matrix multiplication, concat represents the cascade function, V ris the backward anchor reference vector, W1 represents the first weight matrix, b1 represents the first bias vector, t1 represents the first activation value, W2 represents the second weight matrix, b2 represents the second bias vector, t2 represents the second activation value, sigmoid represents the logistic function, ReLU represents positional subtraction, exp represents the natural exponential function, and V' represents the multi-type global semantic association representation vector of the optimized financial data.
[0051] That is, in the technical solution of the present application, the manifold geometric consistency of the overall feature distribution of the multi-type global semantic association representation vector of the financial data is poor, resulting in remote distribution regression deviation across generators when it is generated through the generator-based report generation model, affecting the accuracy of the generated results. Therefore, in the technical solution of the present application, the multi-type global semantic association representation vector of the financial data is strengthened based on the perception mechanism of backward correlation, and the generation weight matrix of the generator-based report generation model is used to perform an auxiliary description of the attribute distribution of the multi-type global semantic association representation vector of the financial data to support the descriptiveness of the different distance feature descriptions of the generation weight matrix of the generator-based report generation model for the improved multi-type global semantic association representation vector of the financial data to the preset generated category probability, wherein the backward anchor reference vector is used as an offset and activated by an activation operation to maintain the reinforcement of the distribution description dependency with a positive effect, so that the manifold geometric consistency of the overall attribute distribution of the multi-type global semantic association representation vector of the financial data can be significantly improved, thereby reducing the class probability distribution regression deviation of the multi-type global semantic association representation vector of the financial data when passing through the generator-based report generation model, so as to improve the accuracy of the generated result.
[0052] In summary, the financial data collection system 100 based on web crawler technology according to the embodiment of the present application is explained, which collects financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales systems, procurement systems and inventory systems, and uses natural language analysis and processing technology based on deep learning to perform semantic analysis and context encoding on the financial data of the various financial business systems, thereby intelligently obtaining multi-dimensional financial reports. In this way, web crawler technology can be used to realize the automated collection of sales, procurement and inventory financial business system data, while deep learning technology can be used to reduce manual input errors, improve data collection efficiency, and integrate data from different financial business systems to provide a comprehensive financial view, which helps to make more accurate financial analysis and decisions.
[0053] Figure 4Flow chart of the financial data collection method based on web crawler technology according to an embodiment of the present application. Figure 4 As shown, according to the financial data collection method based on the web crawler technology of the embodiment of the present application, the method includes: S110, collecting financial data of each financial business system through the web crawler technology, wherein the each financial business system includes a sales system, a procurement system and an inventory system; S120, classifying the financial data to obtain multiple types of financial data; S130, performing word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularity, and then performing semantic encoding of the financial data word granularity to obtain a sequence of multiple types of financial data word granularity semantic encoding vectors. Column; S140, fusing the sequences of the multiple types of financial data word granularity semantic coding vectors to obtain multiple types of financial data semantic coding feature vectors, and then performing financial data context semantic interaction to obtain multiple types of financial data semantic interaction coding feature vectors; S150, arranging the multiple types of financial data semantic interaction coding feature vectors into a financial data multi-type semantic interaction coding feature matrix, and then performing global semantic feature association to obtain a financial data multi-type global semantic association representation matrix; and, S160, generating a multi-dimensional financial report based on the financial data multi-type global semantic association representation matrix.
[0054] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned financial data collection method based on web crawler technology have been referred to above. Figures 1 to 3 The description of the financial data collection system based on web crawler technology has been introduced in detail, and therefore, its repeated description will be omitted.
[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit of the technical solution of the present invention.
Claims
1. A financial data collection system based on web crawler technology, It is characterized in that include: A financial data collection module, used to collect financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales system, procurement system and inventory system; A financial data classification module, used for classifying the financial data to obtain multiple types of financial data; A financial data word granularity semantic encoding module, used for performing word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularity, and then performing financial data word granularity semantic encoding to obtain a sequence of multiple types of financial data word granularity semantic encoding vectors; A context semantic interaction module, used for fusing the sequences of the multiple types of financial data word granularity semantic coding vectors to obtain multiple types of financial data semantic coding feature vectors, and then performing financial data context semantic interaction to obtain multiple types of financial data semantic interaction coding feature vectors; A global semantic feature association module, used for arranging the semantic interaction coding feature vectors of the multiple types of financial data into a financial data multi-type semantic interaction coding feature matrix and then performing global semantic feature association to obtain a financial data multi-type global semantic association representation matrix; The multi-dimensional financial report generation module is used to generate a multi-dimensional financial report based on the multi-type global semantic association representation matrix of the financial data.
2. The financial data collection system based on web crawler technology according to claim 1, It is characterized in that The financial data classification module is used to: The financial data is classified according to the dimension of data type to obtain the multiple types of financial data.
3. The financial data collection system based on web crawler technology according to claim 2, It is characterized in that The financial data word granularity semantic encoding module is used to: Each type of financial data among the multiple types of financial data is segmented to obtain a sequence of word granularities of the multiple types of financial data, and then input into a financial data word granularity semantic encoder based on the Bert model to obtain a sequence of semantic encoding vectors of the multiple types of financial data word granularity.
4. The financial data collection system based on web crawler technology according to claim 3, It is characterized in that The context semantic interaction module includes: A feature fusion unit, used for fusing the word granularity semantic coding vector of each type of financial data in the sequence of the word granularity semantic coding vectors of the multiple types of financial data to obtain the semantic coding feature vectors of the multiple types of financial data; The semantic interaction encoding unit is used to input the semantic encoding feature vectors of the multiple types of financial data into the converter-based financial data context semantic interaction module to obtain the semantic interaction encoding feature vectors of the multiple types of financial data.
5. The financial data collection system based on web crawler technology according to claim 4, It is characterized in that The global semantic feature association module is used to: The semantic interaction coding feature vectors of the multiple types of financial data are arranged into the financial data multi-type semantic interaction coding feature matrix and then input into a non-local global semantic feature association module for global semantic capture to obtain the financial data multi-type global semantic association representation matrix.
6. The financial data collection system based on web crawler technology according to claim 5, It is characterized in that The multi-dimensional financial report generation module is used to: The multi-type global semantic association representation matrix of financial data is input into a generator-based report generation model to generate the multi-dimensional financial report.
7. The financial data collection system based on web crawler technology according to claim 5, It is characterized in that The multi-dimensional financial report generation module includes: A feature expansion unit, used for expanding the financial data multi-type global semantic association representation matrix into a financial data multi-type global semantic association representation vector; A feature perception enhancement unit, used for enhancing the multi-type global semantic association representation vector of the financial data based on a backward correlation perception mechanism to obtain an optimized multi-type global semantic association representation vector of the financial data; The report generation unit is used to input the optimized financial data multi-type global semantic association representation vector into the generator-based report generation model to obtain the multi-dimensional financial report.
8. The financial data collection system based on web crawler technology according to claim 7, It is characterized in that The feature perception enhancement unit is used to: Multiplying the financial data multi-type global semantic association representation vector by the generation weight matrix of the generator-based report generation model to obtain a first intermediate financial data multi-type global semantic association representation vector; Using a concat function, the financial data multi-type global semantic association representation vector and the first intermediate financial data multi-type global semantic association representation vector are processed to obtain a second intermediate financial data multi-type global semantic association representation vector; Adding the financial data multi-type global semantic association representation vector and the first intermediate financial data multi-type global semantic association representation vector by position to obtain a third intermediate financial data multi-type global semantic association representation vector; The first weight matrix is multiplied by the second intermediate financial data multi-type global semantic association representation vector plus the first bias vector and then passed through a sigmoid function to obtain a first activation value; The second weight matrix is multiplied by the third intermediate financial data multi-type global semantic association representation vector and then added to the second bias vector and passed through a sigmoid function to obtain a second activation value; Calculating a mean of the first activation value and the second activation value to obtain an activation mean; Calculate a difference value minus the activation mean, and use the difference value as a first weighting coefficient and the activation mean value as a second weighting coefficient to weight the second intermediate financial data multi-type global semantic association representation vector and the financial data multi-type global semantic association representation vector by position to obtain a fourth intermediate financial data multi-type global semantic association representation vector; Performing an exponential operation with a natural constant as the base on each eigenvalue of the backward anchor reference vector to obtain a fifth intermediate financial data multi-type global semantic association representation vector; The optimized financial data multi-type global semantic association representation vector is obtained by subtracting the fifth intermediate financial data multi-type global semantic association representation vector by position and then passing it through the ReLU function.
9. A financial data collection method based on web crawler technology. It is characterized in that include: Collecting financial data of various financial business systems through web crawler technology, wherein the various financial business systems include sales system, procurement system and inventory system; Classifying the financial data to obtain multiple types of financial data; Performing word segmentation processing on each type of financial data in the multiple types of financial data to obtain a sequence of multiple types of financial data word granularities, and then performing semantic encoding of the financial data word granularities to obtain a sequence of semantic encoding vectors of multiple types of financial data word granularities; After fusing the sequences of the multiple types of financial data word granularity semantic coding vectors to obtain multiple types of financial data semantic coding feature vectors, financial data context semantic interaction is performed to obtain multiple types of financial data semantic interaction coding feature vectors; Arranging the semantic interaction coding feature vectors of the multiple types of financial data into a financial data multi-type semantic interaction coding feature matrix and then performing global semantic feature association to obtain a financial data multi-type global semantic association representation matrix; Based on the multi-type global semantic association representation matrix of the financial data, a multi-dimensional financial report is generated.
10. The financial data collection method based on web crawler technology according to claim 9, It is characterized in that The sequences of the multiple types of financial data word granularity semantic coding vectors are fused to obtain multiple types of financial data semantic coding feature vectors, and then financial data context semantic interaction is performed to obtain multiple types of financial data semantic interaction coding feature vectors, including: Merging the semantic encoding vectors of each type of financial data word granularity in the sequence of the semantic encoding vectors of the multiple types of financial data word granularity to obtain the semantic encoding feature vectors of the multiple types of financial data; The semantic encoding feature vectors of the multiple types of financial data are input into a converter-based financial data context semantic interaction module to obtain the semantic interaction encoding feature vectors of the multiple types of financial data.
Citation Information
Cited By
Full-automatic filling and tail sealing machine and method thereof
CN118735892A
Financial data management system based on large language model assistance
CN119398954A
Intelligent financial data analysis processing method and device
CN120670493A
