The invention relates to a big data engine technology, is applied to artificial intelligence, and provides an enterprise public opinion analysis method. The method comprises the steps of obtaining andpreprocessing a public opinion text; obtaining multiple phrases, identifying the named entity and determining the public opinion text of the identified enterprise entity as a target text; performingsubject recognition on the target text; obtaining identification results, classifying the target texts; obtaining classification results, inputting the target text, the recognition result and the classification result into a pre-trained emotion model, obtaining sentiment results, selecting a target text of which the emotion result is negative emotion, and using the early warning text as the earlywarning text; matching the early warning text with the early warning phrases in the configuration list, determining the matched early warning phrases as the early warning category of the early warningtext, obtaining the target enterprise of the early warning text, and forming the early warning information according to the early warning category and the early warning text, thus sending early warning out timely and accurately. The invention also relates to a blockchain technology, and the early warning information is stored in the blockchain.