Method and device for determining investment strategy based on information analysis

Through entity recognition and emotion classification models, the problem of difficulty in determining investment strategies in real time and accurately in the existing technology is solved, and the rapid and accurate analysis of information is achieved, and the efficiency of determining investment strategies is improved. It is applicable to Information processing in the era of information explosion.

CN114036949BActive Publication Date: 2024-11-05BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111314123.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-08
Publication Date
2024-11-05
Estimated Expiration
2041-11-08

AI Technical Summary

Technical Problem

It is difficult for existing technology to use information information in real time and accurately to determine investment strategies, especially in the era of information explosion, where information information spreads quickly and has a wide range, and existing methods cannot analyze and generate strategies for investment targets in a timely and accurate manner.

Method used

The information is analyzed through the entity recognition model and emotion classification model, the entity objects in the information are identified and emotionally classified, and the investment strategy is determined based on this information. The specific steps include inputting the question of the information to the entity recognition model to identify the entity object, inputting the emotion classification model to obtain the emotion classification, and determining the investment strategy based on this information.

Benefits of technology

It realizes rapid and accurate analysis of information, improves the efficiency of determining investment strategies, reduces the need for manual statistical inspections, and can determine investment objects in a timely and accurate manner, improving the work efficiency of bank staff.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114036949B_ABST
    Figure CN114036949B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for determining an investment strategy based on information analysis, which can be used in the field of big data technology. The method includes: after obtaining information, inputting the title of the information into an entity recognition model to identify the entity object in the information; inputting the title of the information into a sentiment classification model to obtain the sentiment classification of the consulting information; searching the information database based on the identified entity object to obtain historical information within a first time period and the corresponding sentiment classification; determining the investment strategy for the entity object based on the sentiment classification of the information information and the sentiment classification of the historical information information. The present invention can be used to determine the investment strategy method based on information analysis to achieve a comprehensive analysis of information information, thereby determining the investment strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a method and device for determining an investment strategy based on information analysis. Background Art

[0002] Today, with the explosion of network information, information spreads quickly and widely on the Internet, which has a real-time impact on investors' analysis and judgment, and the credit ratings of companies and institutions. How to use information in real time and conduct efficient analysis to generate investment strategies for investment targets is still one of the current pain points. Existing technologies all perform sentiment analysis on information, but it is not possible to intuitively see which objects are affected by the analyzed information, and further statistical inspection is required. Therefore, it is not possible to determine investment strategies for investment targets in a timely and accurate manner. Summary of the invention

[0003] The embodiment of the present invention provides a method for determining an investment strategy based on information analysis, which is used to perform a comprehensive analysis of information so as to determine an investment strategy. The method includes:

[0004] After obtaining the information, the title of the information is input into the entity recognition model to identify the entity objects in the information;

[0005] Input the title of the information into the sentiment classification model to obtain the sentiment classification of the consulting information;

[0006] Search the information database based on the identified entity object to obtain historical information and corresponding sentiment classification within the first time period;

[0007] Based on the sentiment classification of the information information and the sentiment classification of the historical information information, an investment strategy for the entity object is determined.

[0008] The embodiment of the present invention provides an investment strategy determination device based on information analysis, which is used to perform a comprehensive analysis of information so as to determine an investment strategy. The device includes:

[0009] The entity object recognition module is used to input the title of the information into the entity recognition model after obtaining the information, and recognize the entity object in the information;

[0010] Sentiment classification module, used to input the title of information into the sentiment classification model to obtain the sentiment classification of consulting information;

[0011] A historical sentiment classification acquisition module is used to search the information database based on the identified entity object to obtain historical information and corresponding sentiment classification within a first time period;

[0012] The investment strategy determination module is used to determine the investment strategy for the entity object based on the sentiment classification of the information information and the sentiment classification of the historical information information.

[0013] An embodiment of the present invention further proposes a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned investment strategy determination method based on information analysis when executing the computer program.

[0014] An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program for executing the above-mentioned investment strategy determination method based on information analysis.

[0015] In an embodiment of the present invention, after obtaining the information information, the title of the information information is input into the entity recognition model to identify the entity object in the information information; the title of the information information is input into the sentiment classification model to obtain the sentiment classification of the consulting information; based on the identified entity object, the information information database is searched to obtain the historical information information and the corresponding sentiment classification within the first time period; based on the sentiment classification of the information information and the sentiment classification of the historical information information, the investment strategy for the entity object is determined. In the above process, the title of the information information is entity recognized in order to facilitate the bank staff to view it in a customized manner, search the information information database, obtain the historical information information and the corresponding sentiment classification within the first time period. Entity recognition is performed on the title of the information information rather than the content of the information information, which facilitates the accurate positioning of the entity without being disturbed by the related entities mentioned in the information information. In addition, during sentiment analysis, the title of the information information is input into the sentiment classification model instead of the content of the information information, which can further improve the efficiency of the sentiment classification of the information information, so that the investment strategy for the entity object can be quickly determined. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0017] Figure 1 A flowchart of a method for determining an investment strategy based on information analysis in an embodiment of the present invention;

[0018] Figure 2 is a training flow chart of an entity recognition model in an embodiment of the present invention;

[0019] Figure 3is a training flow chart of a sentiment classification model in an embodiment of the present invention;

[0020] Figure 4 Schematic diagram of an investment strategy determination device based on information analysis in an embodiment of the present invention;

[0021] Figure 5 Schematic diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0023] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps therein is not limited and can be appropriately adjusted as needed.

[0024] Figure 1 FIG. 1 is a flow chart of a method for determining an investment strategy based on information analysis in an embodiment of the present invention. Figure 1 As shown, including:

[0025] Step 101, after acquiring the information, input the title of the information into the entity recognition model to identify the entity objects in the information;

[0026] Step 102, input the title of the information into the sentiment classification model to obtain the sentiment classification of the consulting information;

[0027] Step 103, searching the information database based on the identified entity object to obtain historical information and corresponding sentiment classification within the first time period;

[0028] Step 104: Determine an investment strategy for the entity object based on the sentiment classification of the information information and the sentiment classification of the historical information information.

[0029] In the embodiment of the present invention, the title of the information is recognized for the convenience of bank personnel to view and search the information database to obtain historical information and corresponding sentiment classification within the first time period. The title of the information is recognized instead of the content of the information, which facilitates accurate positioning of the entity without being disturbed by related entities mentioned in the information. In addition, during sentiment analysis, the title of the information is input into the sentiment classification model instead of the content of the information, which can further improve the efficiency of sentiment classification of the information, so that the investment strategy for the entity object can be quickly determined.

[0030] In specific implementation, the title of a piece of news is the core of the news. It can be used to find out which subject the news is about and reflect the positive and negative emotions of the news. Therefore, entity recognition is performed on the title of the news.

[0031] In step 101, after acquiring the information, the title of the information is input into an entity recognition model to identify the entity objects in the information.

[0032] In specific implementation, if the entire content of the information is analyzed and many entity objects are identified, it is easy to miss the key points and the processing speed is slow. Therefore, the embodiment of the present invention only identifies the title of the consulting information, which can improve efficiency. In addition, it avoids interference information generated by other entity objects appearing in the information.

[0033] In one embodiment, the entity recognition model adopts a NER model.

[0034] The NER model is based on the Standford NER system, which is a named entity recognition system based on conditional random fields developed by Stanford University. The system parameters are trained based on CoNLL, MUC-6, MUC-7 and ACE named entity corpora. Standford NER uses a linear chain conditional random field (CRF) sequence model, and you can use your own annotated dataset to train your own custom model for various applications. But it is not limited to this method.

[0035] Figure 2 The following is a flow chart of training an entity recognition model in an embodiment of the present invention. In one embodiment, the training steps of the entity recognition model include:

[0036] Step 201, constructing a bank-related entity dictionary file;

[0037] Step 202, processing the format of the entity dictionary file based on the Stanford NER method to obtain a document in .tsv format;

[0038] Step 203: Train a NER model based on the document in the .tsv format to generate a trained NER model.

[0039] In the above embodiment, the bank-related entity dictionary file includes company names, customer names, organization names, etc. that bank staff are concerned about. In order to obtain more accurate word segmentation and named entity recognition effects, the entity dictionary file is constructed manually.

[0040] Based on the Stanford NER method, the format of the entity dictionary file is processed to obtain a .tsv format document, including:

[0041] Set the training data in the entity dictionary file so that the first column is the object name, such as a company name or a person's name, and the second column is the tag of the object. The first and second columns are separated by a tab, and finally a .tsv format document is formed;

[0042] Configure the properties file of Standford ner.

[0043] During training, in the Standford NER system, apply the parameters of the Standford NER property file, input the document in .tsv format, execute the command to run the training model, and generate the NER model.

[0044] After the NER model is trained, the title of the information can be input into the entity recognition model to identify the entity object in the information. The entity object can be added to the entity dictionary file to retrain the NER model to make the NER model gradually more accurate.

[0045] In step 102, the title of the information is input into a sentiment classification model to obtain the sentiment classification of the consulting information.

[0046] In one embodiment, the sentiment classification model adopts the Fasttext model.

[0047] Fasttext is an open source text classification tool from Facebook. The most commonly used application scenario is supervised text classification. It provides a simple and efficient text classification method and is widely used. When using a supervised text classification method, the training sample is first segmented, then stop words are removed, and the training sample data set is generated after random shuffling. The Fasttext algorithm framework is used to train it to obtain a classification model. After data preprocessing, the test data is input into the model to obtain the classification of the test sample. The Fasttext algorithm introduces the concept of n-gram to solve the problem of word form change, breaking words up to the character level, and using the character-level n-gram information to capture the order relationship between characters. This avoids the problem of using independent words in the vocabulary as basic units for training and leaving some low-frequency words without corresponding vector representations. After n-gram word processing, the information obtained is often a large order of magnitude. Then, the Hierarchical softmax function is used to perform linear and exponential transformations on the input processed word information, and then global normalization is performed to obtain the output item with the highest probability. A binary Huffman tree is used before Hierachical Softmax to reduce computational complexity. A Huffman tree is constructed by counting all words and their frequencies. The more frequently appearing words are closer to the root node, and the fewer judgments are required, thereby improving the overall judgment efficiency.

[0048] Different from general text classification using Fasttext, the embodiment of the present invention only performs sentiment classification on the title of the information, thereby improving the efficiency of sentiment classification.

[0049] Figure 3 The following is a flow chart of the training of the sentiment classification model in an embodiment of the present invention. In one embodiment, the training steps of the sentiment classification model include:

[0050] Step 301, crawling historical information on the Internet;

[0051] Step 302, pre-processing the title of the crawled historical information to obtain text information that meets the preset format requirements;

[0052] Step 303, annotating the text information that meets the preset format requirements with emotion tags;

[0053] Step 304: Train a Fasttext model based on the annotated text information to obtain a trained Fasttext model.

[0054] Among them, preprocessing includes organizing the title of the information, removing spaces, punctuation and escape characters, and then performing Jieba word segmentation and stop word processing. When labeling sentiment tags, positive sentiment is 1 and negative sentiment is 0. The larger the amount of labeled data, the higher the accuracy of the final trained model. In the sentiment classification results, the closer to 1, the closer to positive sentiment, and the closer to 0, the closer to negative sentiment.

[0055] After the sentiment tags are annotated, the annotated text information is randomly shuffled and merged into a text file to train the Fasttext model.

[0056] In step 103, the information database is searched based on the identified entity object to obtain historical information and corresponding sentiment classification within the first time period.

[0057] The first time period can be determined according to the actual situation, for example, one week. By using the entity object as a keyword to search the information database, a large amount of information can be obtained. After identifying the entity object of the title of the information, the information has been indexed, and there are also positive and negative sentiment judgments, which can help bank staff determine the credit rating of companies and customers, and whether companies and customers can be used as investment targets. If the bank staff wants to see detailed information, they only need to click on the title of the information to open the entire information.

[0058] The information and historical information obtained above can be indexed by the entity objects identified by the information and put into the consulting information database for easy use and display.

[0059] When presenting, you can design a visual interface to display entity objects, consulting information, and sentiment classifications through tables, bar charts, pie charts, etc.

[0060] In step 104, an investment strategy for the entity object is determined based on the sentiment classification of the information information and the sentiment classification of the historical information information.

[0061] The investment strategy includes investing at different scales. For example, if there is a lot of consulting information with positive emotions about a certain entity object, then a large-scale investment can be made; if the ratio of positive emotions to negative emotions about a certain entity object is basically the same, then a small-scale investment can be made; if there is a lot of consulting information with negative emotions about a certain entity object, then no investment can be made.

[0062] In summary, in the method proposed in the embodiment of the present invention, after obtaining the information information, the title of the information information is input into the entity recognition model to identify the entity object in the information information; the title of the information information is input into the sentiment classification model to obtain the sentiment classification of the consulting information; based on the identified entity object, the information information database is searched to obtain the historical information information within the first time period and the corresponding sentiment classification; based on the sentiment classification of the information information and the sentiment classification of the historical information information, the investment strategy for the entity object is determined. In the above process, the title of the information information is entity recognized in order to facilitate the bank staff to view it in a customized manner, search the information information database, and obtain the historical information information within the first time period and the corresponding sentiment classification. The title of the information information is entity recognized instead of the content of the information information, which facilitates the accurate positioning of the entity without being disturbed by the related entities mentioned in the information information. In addition, during sentiment analysis, the title of the information information is input into the sentiment classification model instead of the content of the information information, which can further improve the efficiency of the sentiment classification of the information information, so that the investment strategy for the entity object can be quickly determined. In today's information explosion era, without having to click on information, one can get a large amount of information about the positive or negative emotions of the entity object of concern, as well as some statistical information, which is of great help in improving the work efficiency of bank staff.

[0063] The present invention also proposes an investment strategy determination device based on information analysis, the principle of which is the same as the investment strategy determination method based on information analysis, and will not be repeated here.

[0064] Figure 4 FIG. 1 is a schematic diagram of an investment strategy determination device based on information analysis in an embodiment of the present invention. Figure 4 As shown, including:

[0065] The entity object recognition module 401 is used to input the title of the information into the entity recognition model after acquiring the information, and recognize the entity object in the information;

[0066] Sentiment classification module 402, used to input the title of the information into the sentiment classification model to obtain the sentiment classification of the consulting information;

[0067] A historical sentiment classification acquisition module 403 is used to search the information database based on the identified entity object to obtain historical information and corresponding sentiment classification within a first time period;

[0068] The investment strategy determination module 404 is used to determine the investment strategy for the entity object based on the sentiment classification of the information information and the sentiment classification of the historical information information.

[0069] In one embodiment, the entity recognition model adopts a NER model.

[0070] In one embodiment, the training step of the entity recognition model includes:

[0071] Build bank-related entity dictionary files;

[0072] Based on the Stanford NER method, the format of the entity dictionary file is processed to obtain a .tsv format document;

[0073] The NER model is trained based on the document in the .tsv format to generate a trained NER model.

[0074] In one embodiment, the sentiment classification model adopts the Fasttext model.

[0075] In one embodiment, the training step of the sentiment classification model includes:

[0076] Crawl historical information on the Internet;

[0077] Pre-process the titles of the crawled historical information to obtain text information that meets the preset format requirements;

[0078] Label the text information that meets the preset format requirements with emotional tags;

[0079] The Fasttext model is trained based on the annotated text information to obtain a trained Fasttext model.

[0080] In summary, in the device proposed in the embodiment of the present invention, the entity object recognition module is used to input the title of the information information into the entity recognition model after acquiring the information information, and identify the entity object in the information information; the sentiment classification module is used to input the title of the information information into the sentiment classification model to obtain the sentiment classification of the consulting information; the historical sentiment classification acquisition module is used to search the information information library based on the recognized entity object to obtain the historical information information and the corresponding sentiment classification within the first time period; the investment strategy determination module is used to determine the investment strategy for the entity object based on the sentiment classification of the information information and the sentiment classification of the historical information information. In the above process, the entity recognition of the title of the information information is to facilitate the customized viewing of bank personnel, search the information information library, and obtain the historical information information and the corresponding sentiment classification within the first time period. The entity recognition of the title of the information information rather than the content of the information information facilitates the accurate positioning of the entity without being disturbed by the related entities mentioned in the information information. In addition, during the sentiment analysis, the title of the information information is input into the sentiment classification model instead of the content of the information information, which can further improve the efficiency of the sentiment classification of the information information, so that the investment strategy for the entity object can be quickly determined. In today's information explosion era, without having to click on information, one can get a large amount of information about the positive or negative emotions of the entity object of concern, as well as some statistical information, which is of great help in improving the work efficiency of bank staff.

[0081] An embodiment of the present invention further provides a computer device, Figure 5 Schematic diagram of a computer device in an embodiment of the present invention. The computer device can implement all steps in the investment strategy determination method based on information analysis in the above embodiment. The computer device specifically includes the following contents:

[0082] Processor (processor) 501, memory (memory) 502, communication interface (CommunicationsInterface) 503 and communication bus 504;

[0083] The processor 501, the memory 502, and the communication interface 503 communicate with each other through the communication bus 504; the communication interface 503 is used to realize information transmission between the server-side device, the detection device, the user-side device and other related devices;

[0084] The processor 501 is used to call the computer program in the memory 502, and when the processor executes the computer program, all the steps in the investment strategy determination method based on information analysis in the above embodiment are implemented.

[0085] An embodiment of the present invention also provides a computer-readable storage medium that can implement all the steps of the method for determining an investment strategy based on information analysis in the above embodiment. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, all the steps of the method for determining an investment strategy based on information analysis in the above embodiment are implemented.

[0086] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0087] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0090] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for determining an investment strategy based on information analysis, characterized in that: include: After obtaining the information, the title of the information is input into the entity recognition model to identify the entity objects in the information; Input the title of the information into the sentiment classification model to obtain the sentiment classification of the consulting information; Search the information database based on the identified entity object to obtain historical information and corresponding sentiment classification within the first time period; Determining an investment strategy for the entity object based on the sentiment classification of the information information and the sentiment classification of the historical information information; Among them, the entity recognition model adopts the NER model; The training steps of the entity recognition model include: Construct bank-related entity dictionary files; bank-related entity dictionary files include company names, customer names, and organization names that bank staff are concerned about; in order to obtain more accurate word segmentation and named entity recognition effects, manually construct entity dictionary files; Based on the Stanford NER method, the format of the entity dictionary file is processed to obtain a .tsv format document; Training a NER model based on the document in the .tsv format to generate a trained NER model; Among them, the format of the entity dictionary file is processed based on the Stanford NER method to obtain a document in .tsv format, including: The training data in the entity dictionary file is set to have the object name in the first column, including company name or person name, and the object tag in the second column. The first and second columns are separated by a tab, and finally a .tsv format document is formed. Configure the properties file of Standford ner; During training, in the Standford NER system, apply the parameters of the Standford NER property file, input the .tsv format document, execute the command to run the training model, and generate the NER model; After the NER model is trained, the title of the information can be input into the entity recognition model to identify the entity object in the information. The entity object can be added to the entity dictionary file to retrain the NER model, making the NER model more accurate. The information database is searched based on the identified entity object to obtain historical information and corresponding sentiment classification within the first time period, including: The first duration is set according to the actual situation. The entity object is used as a keyword to search the information database to obtain the information. After identifying the entity object of the title of the information, the information is indexed and positive and negative sentiment judgments are made to help bank staff judge the credit rating of companies and customers, and whether companies and customers can be used as investment targets. If the bank staff wants to see detailed information, they click on the title of the information to open the entire information. News information and historical information are indexed by entity objects identified by the information information and put into the consulting information database for easy use and display. When displaying, a visual interface is designed to display entity objects, consulting information, and sentiment classifications through tables, bar charts, and pie charts.

2. The method for determining investment strategy based on information analysis according to claim 1, characterized in that: The sentiment classification model adopts the Fasttext model.

3. The method for determining investment strategy based on information analysis according to claim 2, characterized in that: The training steps of the sentiment classification model include: Crawl historical information on the Internet; Pre-process the titles of the crawled historical information to obtain text information that meets the preset format requirements; Label the text information that meets the preset format requirements with emotional tags; The Fasttext model is trained based on the annotated text information to obtain a trained Fasttext model.

4. An investment strategy determination device based on information analysis, characterized in that: include: The entity object recognition module is used to input the title of the information into the entity recognition model after obtaining the information, and recognize the entity object in the information; The sentiment classification module is used to input the title of the information into the sentiment classification model to obtain the sentiment classification of the consulting information; A historical sentiment classification acquisition module is used to search the information database based on the identified entity object to obtain historical information and corresponding sentiment classification within a first time period; An investment strategy determination module, used to determine the investment strategy for the entity object based on the sentiment classification of the information information and the sentiment classification of the historical information information; Among them, the entity recognition model adopts the NER model; The training steps of the entity recognition model include: Construct bank-related entity dictionary files; bank-related entity dictionary files include company names, customer names, and organization names that bank staff are concerned about; in order to obtain more accurate word segmentation and named entity recognition effects, manually construct entity dictionary files; Based on the Stanford NER method, the format of the entity dictionary file is processed to obtain a .tsv format document; Training a NER model based on the document in the .tsv format to generate a trained NER model; Among them, the format of the entity dictionary file is processed based on the Stanford NER method to obtain a document in .tsv format, including: The training data in the entity dictionary file is set to have the object name in the first column, including company name or person name, and the object tag in the second column. The first and second columns are separated by a tab, and finally a .tsv format document is formed. Configure the properties file of Standford ner; During training, in the Standford NER system, apply the parameters of the Standford NER property file, input the .tsv format document, execute the command to run the training model, and generate the NER model; After the NER model is trained, the title of the information can be input into the entity recognition model to identify the entity object in the information. The entity object can be added to the entity dictionary file to retrain the NER model, making the NER model more accurate. The historical sentiment classification acquisition module is used to search the information database based on the identified entity object to obtain the historical information and corresponding sentiment classification within the first time period, including: The first duration is set according to the actual situation. The entity object is used as a keyword to search the information database to obtain the information. After identifying the entity object of the title of the information, the information is indexed and positive and negative sentiment judgments are made to help bank staff judge the credit rating of companies and customers, and whether companies and customers can be used as investment targets. If the bank staff wants to see detailed information, they click on the title of the information to open the entire information. News information and historical information are indexed by entity objects identified by the information information and put into the consulting information database for easy use and display. When displaying, a visual interface is designed to display entity objects, consulting information, and sentiment classifications through tables, bar charts, and pie charts.

5. The device for determining investment strategy based on information analysis according to claim 4, characterized in that: The sentiment classification model adopts the Fasttext model.

6. The device for determining investment strategy based on information analysis according to claim 5, characterized in that: The training steps of the sentiment classification model include: Crawl historical information on the Internet; Pre-process the titles of the crawled historical information to obtain text information that meets the preset format requirements; Label the text information that meets the preset format requirements with emotional tags; The Fasttext model is trained based on the annotated text information to obtain a trained Fasttext model.

7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 3.