WO2021139336A1 - Epidemic prevention and control effect prediction method and apparatus, and server and storage medium - Google Patents

Epidemic prevention and control effect prediction method and apparatus, and server and storage medium Download PDF

Info

Publication number
WO2021139336A1
WO2021139336A1 PCT/CN2020/124702 CN2020124702W WO2021139336A1 WO 2021139336 A1 WO2021139336 A1 WO 2021139336A1 CN 2020124702 W CN2020124702 W CN 2020124702W WO 2021139336 A1 WO2021139336 A1 WO 2021139336A1
Authority
WO
WIPO (PCT)
Prior art keywords
epidemic
data
new media
machine learning
learning model
Prior art date
Application number
PCT/CN2020/124702
Other languages
French (fr)
Chinese (zh)
Inventor
郭建影
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021139336A1 publication Critical patent/WO2021139336A1/en

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/80ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for detecting, monitoring or modelling epidemics or pandemics, e.g. flu
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to a method, device, server and storage medium for predicting the effect of epidemic prevention and control.
  • the inventor realizes that the existing products in the industry mainly predict the development of the epidemic based on the epidemic data itself, but do not predict the effect of epidemic prevention and control based on new media information.
  • the same pre-epidemic development trend will result in completely different development directions of the epidemic due to different epidemic prevention and control progress information, rum, and expert comments released on new media, and will also have different impacts on the effectiveness of epidemic prevention and control. Therefore, how to predict the effect of epidemic prevention and control based on new media information and use it for epidemic prevention and control has become an urgent problem to be solved.
  • the embodiments of the present application provide a method, device, server, and storage medium for predicting an epidemic prevention and control effect, which can predict an epidemic prevention and control effect based on new media information for use in epidemic prevention and control.
  • the embodiment of the present application provides a method for predicting the epidemic prevention and control effect, which includes: counting new media data and epidemic data on each date within a first preset date range, the new media data including negative news data and others New media data, the epidemic data including epidemic infection data; call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result, the prediction result including Negative news data and epidemic infection data on each date within a second preset date range, where the second preset date range is after the first preset date range; the prediction result is sent to the terminal device so that the terminal device Show the predicted results.
  • an embodiment of the present application provides an epidemic prevention and control effect prediction device, including: a statistics module, configured to count new media data and epidemic data on each date within a first preset date range, and the new media data includes Negative news data and other new media data, the epidemic data including epidemic infection data; a prediction module, used to call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data , Obtaining a prediction result, the prediction result including negative news data and epidemic infection data on each date within a second preset date range, the second preset date range being after the first preset date range; the output module, It is used to send the prediction result to the terminal device so that the terminal device can display the prediction result.
  • a statistics module configured to count new media data and epidemic data on each date within a first preset date range, and the new media data includes Negative news data and other new media data, the epidemic data including epidemic infection data
  • a prediction module used to call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control
  • an embodiment of the present application provides a server, including a processor, an output device, and a memory, the processor, the output device, and the memory are connected to each other, wherein the memory is used to store a computer program,
  • the computer program includes program instructions, and the processor is configured to call the program instructions to execute the following method: statistics new media data and epidemic data of each date within a first preset date range, the new media data includes Negative news data and other new media data, the epidemic data including epidemic infection data; call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result,
  • the prediction result includes negative news data and epidemic infection data on each date within a second preset date range, the second preset date range is after the first preset date range; the prediction result is sent to the terminal Device so that the terminal device can display the prediction result.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following method: counting the first preset date range The new media data and epidemic data of each date within the country, the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data; the epidemic prevention and control effect prediction model is invoked and based on the new media data The epidemic prevention and control effect is predicted with the epidemic data, and the forecast result is obtained.
  • the forecast result includes the negative news data and the epidemic infection data on each date within the second preset date range. After the first preset date range; sending the prediction result to a terminal device, so that the terminal device can display the prediction result.
  • the embodiments of the present application can predict the epidemic prevention and control effect based on new media information for epidemic prevention and control.
  • FIG. 1 is a schematic flowchart of a method for predicting an epidemic prevention and control effect provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of another method for predicting an epidemic prevention and control effect provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a network architecture of an epidemic prevention and control effect prediction system provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a device for predicting an epidemic prevention and control effect provided by an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • the technical solution of this application can be applied to the fields of artificial intelligence, digital medicine, smart city, blockchain and/or big data technology to predict the effect of epidemic prevention and control and realize smart medical treatment.
  • the data involved in this application can be stored in a database, or can be stored in a blockchain, or can be stored in other ways, and this application is not limited.
  • FIG. 1 is a schematic flowchart of a method for predicting an epidemic prevention and control effect provided by an embodiment of this application.
  • This method can be applied to the server.
  • the server can be a server or a server cluster. Specifically, the method may include the following steps.
  • negative news data can include at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic.
  • the number of negative news during the epidemic period can include the number of daily negative news and the total number of negative news.
  • the growth rate of negative news during the epidemic period includes the average daily growth rate of negative news.
  • other new media data includes at least one of the following: the release method of epidemic-related data, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, and the epidemic situation released for the new media platform
  • the publishing method can be public account, short video, for example.
  • the audience category can be divided according to age and education level, and the audience category can also be divided according to other forms, and there is no restriction here.
  • the activity data may include at least one of the following: daily activity and hourly activity.
  • the activity data may also include the number of views, the number of likes, or the number of comments on the target data in the epidemic-related data.
  • labels can be divided into positive labels (which can be further subdivided) and negative labels (which can be further subdivided), or can be divided according to the content of epidemic prevention and transmission, and labels can also be divided according to other forms, and there is no restriction here.
  • the epidemic data may include epidemic infection data, which includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
  • the number of people infected by the epidemic can be the number of people infected by the epidemic in the target area.
  • the target area may be the area to be predicted.
  • the growth rate of the number of people infected by the epidemic may be the growth rate of the number of people infected by the epidemic in the target area.
  • the infection data of the epidemic may include at least one of the following: daily increase in the number of infections and the total number of infections, and the increase in the number of infections in the epidemic may be the average daily increase in the number of infections.
  • the epidemic data may also include the number of deaths from the epidemic, and the death toll of the epidemic may include at least one of the following: daily increase in deaths and total deaths.
  • S102 Call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data to obtain a prediction result, the prediction result including the negative of each date within the second preset date range
  • the second preset date range is after the first preset date range.
  • the server may call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result.
  • the embodiments of this application can aim at the epidemic prevention situation of large-scale regional infectious diseases that occur, and combine the processing and dissemination of information related to epidemic prevention and control by various new media, and dig out the details of the operation of the new media industry to improve the effectiveness of the prevention and control of infectious diseases in the region. From the perspective of media operations, it provides more effective assistance for the government’s epidemic prevention decision-making and the health department’s epidemic prevention work.
  • the epidemic prevention and control effect prediction model may be a pre-trained first machine learning model.
  • the first machine learning model may be a first deep learning model, and the first machine learning model may be constructed based on a deep neural network.
  • the epidemic prevention and control effect prediction model is a pre-trained second machine learning model.
  • the second machine learning model may be a second deep learning model, and the second machine learning model may be constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
  • the pre-trained first machine learning model can be obtained in the following manner: the server counts the new data of each date within the third preset date range Media data and epidemic data; the server uses the new media data and epidemic data of each date within the third preset date range as the input data of the original first machine learning model, and the original first machine learning model is based on the new media data And the epidemic data output negative news data and epidemic infection data for each date within the fourth preset date range; the server obtains the real negative news data and epidemic infection data for each date within the fourth preset date range, and according to the output first 4.
  • the fourth preset date range is after the third preset date range.
  • the pre-trained second machine learning model can be obtained in the following manner: the server counts the dates within the third preset date range New media data and epidemic data; the server uses the new media data and epidemic data of each date within the third preset date range as the input data of the original second machine learning model, and the original second machine learning model is based on the new The media data and the epidemic data output negative news data and epidemic infection data for each date within the fourth preset date range; the server obtains the real negative news data and epidemic infection data for each date within the fourth preset date range, and outputs according to the output The negative news data and epidemic infection data of each date within the fourth preset date range, and the real negative news data and epidemic infection data of each date within the fourth preset date range are used to construct a loss function; the server uses the loss function to train the The original second machine learning model obtains the pre-trained second machine learning model.
  • the server may output the prediction result through the terminal device.
  • the server may use an attribution analysis model to filter out new media data and epidemic data of each date within the first preset date range from Internet data.
  • the server may obtain new media data and epidemic data of each date within the target time range before the first preset time range, and negative news data and data of each date within the next time range of the target time range.
  • Epidemic infection data the server uses the attribution analysis model based on the new media data and epidemic data of each date in the time range before the first preset time range, and the negative news data and epidemic data of each date in the next time range of the target time range Infection data, determine the target evaluation index for epidemic prevention and control effect prediction from the preset multiple evaluation indexes; the server selects new media with the target evaluation index on each date within the first preset date range from Internet data Data and epidemic data.
  • the attribution analysis method of the attribution analysis model can be any of the following: g-formula method, inverse probability weighting method, and probability-score method.
  • the server can count the new media data and epidemic data of each date within the first preset date range, and call the epidemic prevention and control effect prediction model, based on the new media data and the epidemic data
  • the effect of epidemic prevention and control is predicted, and the prediction result is obtained and sent to the terminal device for display, so that the epidemic prevention and control effect can be predicted based on new media information for epidemic prevention and control.
  • FIG. 2 is a schematic flowchart of another method for predicting an epidemic prevention and control effect provided by an embodiment of this application.
  • This method can be applied to the server.
  • the server can be a server or a server cluster. Specifically, the method may include the following steps.
  • step S201 may refer to step S101 in the embodiment of FIG. 1, and details are not described in this embodiment of the present application.
  • S202 Extract spatial features according to the new media data and the epidemic data through the convolutional neural network in the second machine learning model that is pre-trained.
  • the server can input the new media data and the epidemic data into the convolutional neural network in the second machine learning model pre-trained, and the convolutional neural network outputs space according to the new media data and the epidemic data feature.
  • the server may extract the new media information data and epidemic data of each date within the first preset time range in chronological order using days as the time unit to form a feature vector with a total length of N; the server will The feature vector of each time unit is used as the input of the convolutional neural network, and the convolutional neural network outputs spatial features according to the feature vector of each time unit.
  • S203 Extract time series features according to the new media data and the epidemic data through the deep neural network and the long-short-term memory network in the pre-trained second machine learning model.
  • the server uses the deep neural network and the long-short-term memory network in the pre-trained second machine learning model to extract time series features from the new media data and the epidemic data.
  • the process may be: the server applies the new media
  • the data and the epidemic data are input to the first layer of deep neural network in the pre-trained second machine learning model, the output of the first layer of deep neural network is obtained, and the output of the first layer of deep neural network is used as the pre-training
  • the input of the second layer of long and short-term memory network in the second machine learning model of, the output of the second layer of long and short-term memory network is obtained;
  • the server uses the output of the second layer of long and short-term memory network as the pre-trained second machine
  • the output of the third-layer long-term and short-term memory network in the learning model is output by the third-layer long- and short-term memory network for timing characteristics.
  • the long short-term memory network may be a double-layer long short-term memory network.
  • the server may sequentially use the new media data and epidemic data of each date in the first preset date range as the input of the first layer of deep neural network in chronological order to obtain the output of the first layer of deep neural network .
  • the server can use the output of the first layer of deep neural network as the input of the second layer of two-way long and short-term memory network, and use days as the time unit, and correspond to the new media information data and epidemic data at two adjacent times to the second layer.
  • the output of the two-way long and short-term memory network, as the new media data and epidemic data at two adjacent time points corresponds to the input of the third layer of the two-way long and short-term memory network, so that the third layer of bidirectional long and short-term output timing characteristics.
  • S205 Predict the negative news growth trend and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and obtain a prediction result, where the prediction result includes negative news data and epidemic infection data on each date within a second preset date range, and the first 2.
  • the preset date range is after the first preset date range.
  • the server may perform fusion processing on the spatial feature and the temporal feature to obtain the temporal and spatial features, and predict the growth trend of negative news and the trend of infectious diseases based on the temporal and spatial features, and obtain the prediction result.
  • the server predicts the growth trend of negative news and the epidemic trend of infectious diseases according to the spatiotemporal characteristics, and obtains the prediction result. Specifically, the server uses the spatiotemporal characteristics as the fourth layer in the pre-trained second machine learning model. The input of the deep neural network, the output of the fourth layer of deep neural network is obtained, and the output of the fourth layer of deep neural network is input to the output layer of the pre-trained second machine learning model, and the output layer predicts result.
  • the server predicts the growth trend of negative news and the epidemic trend of infectious diseases according to the spatiotemporal characteristics, and the process of obtaining the prediction results may be: the server uses the spatiotemporal characteristics as the output in the pre-trained second machine learning model The input of the layer, and the prediction result is output by the output layer.
  • the structure of the second machine learning model here is simpler and easier to implement than the former.
  • step S206 may refer to step S103 in the embodiment of FIG. 1, and details are not described in the embodiment of the present application.
  • the method of acquiring the pre-trained second machine learning model may be specifically as follows: the server counts each item within the third preset date range Date of new media data and epidemic data; the server uses the new media data and epidemic data of each date within the third preset date range as the input data of the original second machine learning model, and passes the data in the original second machine learning model.
  • the convolutional neural network extracts target spatial features based on the new media data and epidemic data of each date within the third preset date range, and uses the deep neural network and long-short-term memory network in the pre-trained second machine learning model, According to the new media data and epidemic data of each date within the third preset date range, the target time series feature is extracted; the server performs fusion processing on the target space feature and the target time series feature to obtain the target time and space feature, and compare the target time and space feature according to the target time and time feature.
  • the negative news growth trend and the epidemic trend of infectious diseases are predicted, and the negative news data and epidemic infection data of each date within the fourth preset date range are obtained; the server obtains the real negative news data and epidemic situation of each date within the fourth preset date range Infection data, and construct a loss function based on the output negative news data and epidemic infection data of each date within the fourth preset date range, and the real negative news data and epidemic infection data of each date within the fourth preset date range; Use the loss function to train the original second machine learning model to obtain a pre-trained second machine learning model.
  • the server can extract spatial features based on the new media data and epidemic data of each date within the first preset time range through the convolutional neural network in the second machine learning model pre-trained ;
  • the server uses the deep neural network and the long-short-term memory network in the pre-trained second machine learning model to extract time series features based on the new media data and the epidemic data;
  • the server merges the spatial features and the time series features to obtain space-time According to the temporal and spatial characteristics, the negative news growth trend and the epidemic trend of infectious diseases are predicted, and the prediction results can be obtained.
  • the pre-trained second machine learning model can be used to predict the epidemic prevention and control effect based on new media information. Epidemic prevention and control.
  • This application can be applied to the field of medical technology.
  • This application relates to blockchain technology.
  • prediction results can be written into the blockchain or encrypted data of the prediction results can be written into the blockchain.
  • FIG. 3 is a schematic diagram of a network architecture of an epidemic prevention and control effect prediction system provided by an embodiment of this application.
  • the epidemic prevention and control effect prediction system may include a server 10 and a terminal device 20.
  • the server 10 can perform step S101 and step S102 to predict the epidemic prevention and control effect based on new media data and epidemic data to obtain a prediction result, and can perform step S103 to display the prediction result through the terminal device 30.
  • FIG. 4 is a schematic structural diagram of an epidemic prevention and control effect prediction device provided by an embodiment of this application.
  • the device can be applied to a server.
  • the device may include the following modules.
  • the statistics module 401 is configured to count new media data and epidemic data on each date within the first preset date range.
  • the new media data includes negative news data and other new media data
  • the epidemic data includes epidemic infection data.
  • the prediction module 402 is used to call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data to obtain a prediction result, the prediction result including the second preset date range For the negative news data and epidemic infection data of each date, the second preset date range is after the first preset date range.
  • the output module 403 is configured to send the prediction result to the terminal device so that the terminal device can display the prediction result.
  • the negative news data includes at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic;
  • the other new media data includes at least one of the following: The release method, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, the labels for the epidemic-related data released by the new media platform, and the epidemic situation released by the new media platform
  • the relevant data is the number of news corresponding to each type of label;
  • the epidemic data includes epidemic infection data, and the epidemic infection data includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
  • the epidemic prevention and control effect prediction model is a pre-trained first machine learning model, and the first machine learning model is constructed based on a deep neural network; or, the epidemic prevention and control The effect prediction model is a pre-trained second machine learning model, and the second machine learning model is constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
  • the prediction module 402 invokes the epidemic prevention and control effect prediction model, and based on the new media data and information
  • the epidemic data predicts the epidemic prevention and control effect, and obtains the prediction result, specifically through the convolutional neural network in the pre-trained second machine learning model, extracting spatial features based on the new media data and the epidemic data;
  • the deep neural network and the long short-term memory network in the pre-trained second machine learning model extract time series features according to the new media data and the epidemic data; perform fusion processing on the spatial features and the time series features to obtain Temporal and spatial characteristics; predict the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and obtain the prediction result.
  • the prediction module 402 extracts time series features from the new media data and the epidemic data through the deep neural network and the long-short-term memory network in the pre-trained second machine learning model, Specifically, the new media data and the epidemic data are input into the first layer of deep neural network in the pre-trained second machine learning model to obtain the output of the first layer of deep neural network;
  • the output of the layered deep neural network is used as the input of the second layer of long and short-term memory network in the pre-trained second machine learning model to obtain the output of the second layer of long- and short-term memory network;
  • the output of the memory network is used as the output of the third-layer long- and short-term memory network in the pre-trained second machine learning model, and the third-layer long- and short-term memory network outputs timing characteristics.
  • the prediction module 402 predicts the negative news growth trend and the epidemic trend of infectious diseases according to the spatio-temporal characteristics, and obtains the prediction result, specifically using the spatio-temporal characteristics as the second pre-training.
  • the prediction module 402 predicts the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and obtains the prediction result, specifically using the temporal and spatial characteristics as the second pre-training.
  • the output layer in the machine learning model is an input, and the output layer outputs a prediction result.
  • the epidemic prevention and control effect prediction device can count the new media data and epidemic data of each date within the first preset date range, and call the epidemic prevention and control effect prediction model, and according to the new media
  • the data and the epidemic data predict the epidemic prevention and control effect, and obtain the prediction result to send the forecast result to the terminal device for display.
  • the epidemic prevention and control effect can be predicted based on the new media information for epidemic prevention and control.
  • FIG. 5 is a schematic structural diagram of a server provided in an embodiment of this application.
  • the server described in this embodiment may include: one or more processors 1000, one or more input devices 2000, one or more output devices 3000, and a memory 4000.
  • the processor 1000 and the memory 4000 may be connected by a bus.
  • the input device 2000 included in the server is an optional device, that is, the server may only include one or more processors 1000, one or more output devices 3000, and a memory 4000.
  • the input device 2000 and the output device 3000 may be standard wired or wireless communication interfaces.
  • the processor 1000 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), and application-specific integrated circuits (Application Specific Integrated Circuits). Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 4000 can be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as disk storage. Wherein, the memory 4000 is used to store a computer program, and the computer program includes program instructions.
  • the processor 1000 is configured to call the program instructions to perform the following steps: to count new media data and epidemic data on each date within the first preset date range, where the new media data includes negative news data and other new media data, The epidemic data includes epidemic infection data; the epidemic prevention and control effect prediction model is called, and the epidemic prevention and control effect is predicted based on the new media data and the epidemic data, and the prediction result is obtained, and the prediction result includes the second preset
  • the negative news data and epidemic infection data of each date within the date range, the second preset date range is after the first preset date range; the prediction result is sent to the terminal device so that the terminal device can display the prediction result.
  • the negative news data includes at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic.
  • the other new media data includes at least one of the following: the release method of epidemic-related data, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, and the release for the new media platform The number of news related to each type of label in the labels labeled with the epidemic-related data of the new media platform and the epidemic-related data released by the new media platform.
  • the epidemic data includes epidemic infection data, and the epidemic infection data includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
  • the epidemic prevention and control effect prediction model is a pre-trained first machine learning model, and the first machine learning model is constructed based on a deep neural network; or, the epidemic prevention and control effect prediction model is A pre-trained second machine learning model, the second machine learning model is constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
  • the epidemic prevention and control effect prediction model is a pre-trained second machine learning model
  • the epidemic prevention and control effect prediction model is invoked, and the epidemic prevention and control effect prediction model is used based on the new media data and the epidemic data.
  • the processor 1000 is configured to call the program instructions to perform the following steps: through the pre-trained convolutional neural network in the second machine learning model, according to the new media data and Extracting spatial features from the epidemic data; extracting time series features based on the new media data and the epidemic data through the deep neural network and the long- and short-term memory network in the pre-trained second machine learning model; extracting the temporal features from the new media data and the epidemic data; and comparing the spatial features Performing fusion processing with the time sequence feature to obtain the spatio-temporal feature; predict the growth trend of negative news and the epidemic trend of infectious diseases according to the spatio-temporal feature, and obtain the prediction result.
  • the processor 1000 when using the deep neural network and the long short-term memory network in the pre-trained second machine learning model to extract time series features from the new media data and the epidemic data, the processor 1000 is configured Used to call the program instructions to perform the following steps: input the new media data and the epidemic data into the first-layer deep neural network in the pre-trained second machine learning model to obtain the first-layer depth The output of the neural network; the output of the first layer of deep neural network is used as the input of the second layer of long and short-term memory network in the pre-trained second machine learning model to obtain the second layer of long- and short-term memory network Output; use the output of the second-layer long-short-term memory network as the output of the third-layer long-short-term memory network in the pre-trained second machine learning model, and the third-layer long- and short-term memory network outputs timing features .
  • the processor 1000 when the negative news growth trend and the epidemic trend of infectious diseases are predicted according to the temporal and spatial characteristics, and the prediction result is obtained, the processor 1000 is configured to call the program instructions to perform the following steps:
  • the spatio-temporal features are used as the input of the fourth layer of deep neural network in the pre-trained second machine learning model to obtain the output of the fourth layer of deep neural network;
  • the output of the fourth layer of deep neural network is input to all In the output layer of the pre-trained second machine learning model, the output layer outputs a prediction result.
  • the processor 1000 when the negative news growth trend and the epidemic trend of infectious diseases are predicted according to the temporal and spatial characteristics, and the prediction result is obtained, the processor 1000 is configured to call the program instructions to perform the following steps:
  • the spatio-temporal feature is used as the input of the output layer in the pre-trained second machine learning model, and the output layer outputs the prediction result.
  • the processor 1000, the input device 2000, and the output device 3000 described in the embodiment of the present application can perform the implementation described in the embodiment of FIG. 1 and the embodiment of FIG. 2, as well as the implementation described in the embodiment of the present application. The implementation method will not be repeated here.
  • the functional modules in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of sampling hardware, and can also be implemented in the form of sampling software functional modules.
  • the embodiments of the present application also provide a computer-readable storage medium with a computer program stored on the computer-readable storage medium.
  • the steps of the method in the above-mentioned embodiment can be realized, or the computer program is processed.
  • the function of each module/unit of the device in the above-mentioned embodiment is realized when the device is executed, which will not be repeated here.
  • the storage medium involved in this application such as a computer-readable storage medium, may be non-volatile or volatile.
  • the program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
  • the computer-readable storage medium may be volatile or non-volatile.
  • the computer storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory). Memory, RAM) etc.
  • the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store information based on the blockchain node Use the created data, etc.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Pathology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Epidemiology (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are an epidemic prevention and control effect prediction method and apparatus, and a server and a storage medium, wherein same are applied to the field of medical technology. The method comprises: compiling statistics on new media data and epidemic data of each date in a first preset date range; calling an epidemic prevention and control effect prediction model, and predicting an epidemic prevention and control effect according to the new media data and the epidemic data to obtain a prediction result, wherein the prediction result comprises negative news data and epidemic infection data of each date in a second preset date range; and sending the prediction result to a terminal device for display. By using the method, the epidemic prevention and control effect can be predicted on the basis of new media information, so as to carry out epidemic prevention and control. The method relates to blockchain technology, for example, a prediction result can be written into a blockchain.

Description

疫情防控效果预测方法、装置、服务器及存储介质Epidemic prevention and control effect prediction method, device, server and storage medium
本申请要求于2020年9月28日提交中国专利局、申请号为202011043912.9,发明名称为“疫情防控效果预测方法、装置、服务器及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 28, 2020 with the application number 202011043912.9 and the invention title "Prediction method, device, server and storage medium for epidemic prevention and control effect", all of which are approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种疫情防控效果预测方法、装置、服务器及存储介质。This application relates to the field of artificial intelligence technology, and in particular to a method, device, server and storage medium for predicting the effect of epidemic prevention and control.
背景技术Background technique
疫情的爆发和蔓延会对各个地方的经济以及人民生活带来严重的影响。近段时间来,COVID-19引起了世界范围内的疫情爆发,造成了极大的生命损失和经济损失。人们可以通过互联网来获取到每日实时的疫情数据,以掌握疫情最新动态。随着新媒体的发展,人们不仅可以作为疫情相关新闻的发布者也可以作为疫情相关新闻的浏览者。新媒体作为疫情相关内容传播的介质,影响着人们的生活。The outbreak and spread of the epidemic will have a serious impact on the economy and people's lives in various places. Recently, COVID-19 has caused a worldwide outbreak, causing great loss of life and economic losses. People can obtain daily real-time epidemic data through the Internet to keep abreast of the latest developments of the epidemic. With the development of new media, people can not only serve as publishers of epidemic-related news, but also as viewers of epidemic-related news. As a medium for the spread of epidemic-related content, new media affects people's lives.
发明人意识到,现有业内产品主要基于疫情数据本身对疫情发展进行预测,而没有基于新媒体信息对疫情防控效果进行预测。同样的前期疫情发展趋势,会因为新媒体上发布的不同的疫情防控进展信息、谣言和专家言论产生截然不同的疫情发展方向,也会对疫情防控效果产生不同影响。因此,如何基于新媒体信息对疫情防控效果进行预测,以用于疫情防控成为亟待解决的问题。The inventor realizes that the existing products in the industry mainly predict the development of the epidemic based on the epidemic data itself, but do not predict the effect of epidemic prevention and control based on new media information. The same pre-epidemic development trend will result in completely different development directions of the epidemic due to different epidemic prevention and control progress information, rumors, and expert comments released on new media, and will also have different impacts on the effectiveness of epidemic prevention and control. Therefore, how to predict the effect of epidemic prevention and control based on new media information and use it for epidemic prevention and control has become an urgent problem to be solved.
技术问题technical problem
本申请实施例提供了一种疫情防控效果预测方法、装置、服务器及存储介质,可以基于新媒体信息对疫情防控效果进行预测,以用于疫情防控。The embodiments of the present application provide a method, device, server, and storage medium for predicting an epidemic prevention and control effect, which can predict an epidemic prevention and control effect based on new media information for use in epidemic prevention and control.
技术解决方案Technical solutions
第一方面,本申请实施例提供了一种疫情防控效果预测方法,包括:统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。In the first aspect, the embodiment of the present application provides a method for predicting the epidemic prevention and control effect, which includes: counting new media data and epidemic data on each date within a first preset date range, the new media data including negative news data and others New media data, the epidemic data including epidemic infection data; call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result, the prediction result including Negative news data and epidemic infection data on each date within a second preset date range, where the second preset date range is after the first preset date range; the prediction result is sent to the terminal device so that the terminal device Show the predicted results.
第二方面,本申请实施例提供了一种疫情防控效果预测装置,包括:统计模块,用于统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;预测模块,用于调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;输出模块,用于将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。In the second aspect, an embodiment of the present application provides an epidemic prevention and control effect prediction device, including: a statistics module, configured to count new media data and epidemic data on each date within a first preset date range, and the new media data includes Negative news data and other new media data, the epidemic data including epidemic infection data; a prediction module, used to call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data , Obtaining a prediction result, the prediction result including negative news data and epidemic infection data on each date within a second preset date range, the second preset date range being after the first preset date range; the output module, It is used to send the prediction result to the terminal device so that the terminal device can display the prediction result.
第三方面,本申请实施例提供了一种服务器,包括处理器、输出设备和存储器,所述处理器、所述输出设备和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行以下方法:统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。In a third aspect, an embodiment of the present application provides a server, including a processor, an output device, and a memory, the processor, the output device, and the memory are connected to each other, wherein the memory is used to store a computer program, The computer program includes program instructions, and the processor is configured to call the program instructions to execute the following method: statistics new media data and epidemic data of each date within a first preset date range, the new media data includes Negative news data and other new media data, the epidemic data including epidemic infection data; call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result, The prediction result includes negative news data and epidemic infection data on each date within a second preset date range, the second preset date range is after the first preset date range; the prediction result is sent to the terminal Device so that the terminal device can display the prediction result.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行以实现以下方法:统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following method: counting the first preset date range The new media data and epidemic data of each date within the country, the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data; the epidemic prevention and control effect prediction model is invoked and based on the new media data The epidemic prevention and control effect is predicted with the epidemic data, and the forecast result is obtained. The forecast result includes the negative news data and the epidemic infection data on each date within the second preset date range. After the first preset date range; sending the prediction result to a terminal device, so that the terminal device can display the prediction result.
有益效果Beneficial effect
综上所述,本申请实施例能够基于新媒体信息对疫情防控效果进行预测,以用于疫情防控。In summary, the embodiments of the present application can predict the epidemic prevention and control effect based on new media information for epidemic prevention and control.
附图说明Description of the drawings
图1是本申请实施例提供的一种疫情防控效果预测方法的流程示意图。FIG. 1 is a schematic flowchart of a method for predicting an epidemic prevention and control effect provided by an embodiment of the present application.
图2是本申请实施例提供的另一种疫情防控效果预测方法的流程示意图。FIG. 2 is a schematic flowchart of another method for predicting an epidemic prevention and control effect provided by an embodiment of the present application.
图3是本申请实施例提供的一种疫情防控效果预测系统的网络架构示意图。FIG. 3 is a schematic diagram of a network architecture of an epidemic prevention and control effect prediction system provided by an embodiment of the present application.
图4是本申请实施例提供的一种疫情防控效果预测装置的结构示意图。FIG. 4 is a schematic structural diagram of a device for predicting an epidemic prevention and control effect provided by an embodiment of the present application.
图5是本申请实施例提供的一种服务器的结构示意图。Fig. 5 is a schematic structural diagram of a server provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
本申请的技术方案可应用于人工智能、数字医疗、智慧城市、区块链和/或大数据技术领域,以对疫情防控效果进行预测,实现智慧医疗。可选的,本申请涉及的数据如疫情数据和/或预测结果等可存储于数据库中,或者可以存储于区块链中,或者可采用其他方式存储,本申请不做限定。The technical solution of this application can be applied to the fields of artificial intelligence, digital medicine, smart city, blockchain and/or big data technology to predict the effect of epidemic prevention and control and realize smart medical treatment. Optionally, the data involved in this application, such as epidemic data and/or prediction results, can be stored in a database, or can be stored in a blockchain, or can be stored in other ways, and this application is not limited.
请参阅图1,为本申请实施例提供的一种疫情防控效果预测方法的流程示意图。该方法可以应用于服务器。服务器可以为一个服务器或服务器集群。具体地,该方法可以包括以下步骤。Please refer to FIG. 1, which is a schematic flowchart of a method for predicting an epidemic prevention and control effect provided by an embodiment of this application. This method can be applied to the server. The server can be a server or a server cluster. Specifically, the method may include the following steps.
S101、统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据。S101. Count new media data and epidemic data on each date within the first preset date range, where the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data.
其中,负面新闻数据可以包括以下至少一项:疫情期间负面新闻数和疫情期间负面新闻增长率。该疫情期间负面新闻数可以包括日增负面新闻数和总负面新闻数。该疫情期间负面新闻增长率包括日均负面新闻增长率。Among them, negative news data can include at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic. The number of negative news during the epidemic period can include the number of daily negative news and the total number of negative news. The growth rate of negative news during the epidemic period includes the average daily growth rate of negative news.
其中,其它新媒体数据包括以下至少一项:疫情相关数据的发布方式、每种发布方式对应的新媒体平台的受众人群类别、该新媒体平台的活跃性数据、为该新媒体平台发布的疫情相关数据标注的标签、该新媒体平台发布的疫情相关数据在每类标签对应的新闻数量。发布方式如可以为公众号、短视频。受众人群类别如可以按照年龄、受教育程度划分,受众人群类别还可以按照其他形式划分,在此不做限制。活跃性数据如可以包括以下至少一项:每日活跃度和每时活跃度。在一个实施例中,活跃性数据还可以包括对疫情相关数据中的目标数据的查看量、点赞量或评论数。标签如可以分为正面标签(可进一步细分)和负面标签(可进一步细分),或可以根据防疫传播的内容进行划分,标签也可以按照其他形式划分,在此不做限制。Among them, other new media data includes at least one of the following: the release method of epidemic-related data, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, and the epidemic situation released for the new media platform The labels of the relevant data and the number of news corresponding to each category of the epidemic-related data released by the new media platform. The publishing method can be public account, short video, for example. The audience category can be divided according to age and education level, and the audience category can also be divided according to other forms, and there is no restriction here. For example, the activity data may include at least one of the following: daily activity and hourly activity. In one embodiment, the activity data may also include the number of views, the number of likes, or the number of comments on the target data in the epidemic-related data. For example, labels can be divided into positive labels (which can be further subdivided) and negative labels (which can be further subdivided), or can be divided according to the content of epidemic prevention and transmission, and labels can also be divided according to other forms, and there is no restriction here.
其中,疫情数据可以包括疫情感染数据,该疫情感染数据包括以下至少一项:疫情感染人数和疫情感染人数增长率。该疫情感染人数可以为目标区域的疫情感染人数。该目标区域可以为待预测的区域。该疫情感染人数增长率可以为该目标区域的疫情感染人数增长率。所指的疫情感染数据如可以包括以下至少一项:日增感染人数和总感染人数,所指的疫情感染人数增长率如可以为日均感染人数增长率。在一个实施例中,该疫情数据还可以包括疫情死亡人数,该疫情死亡人数如可以包括以下至少一项:日增死亡人数和总死亡人数。Among them, the epidemic data may include epidemic infection data, which includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic. The number of people infected by the epidemic can be the number of people infected by the epidemic in the target area. The target area may be the area to be predicted. The growth rate of the number of people infected by the epidemic may be the growth rate of the number of people infected by the epidemic in the target area. The infection data of the epidemic may include at least one of the following: daily increase in the number of infections and the total number of infections, and the increase in the number of infections in the epidemic may be the average daily increase in the number of infections. In one embodiment, the epidemic data may also include the number of deaths from the epidemic, and the death toll of the epidemic may include at least one of the following: daily increase in deaths and total deaths.
S102、调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后。S102. Call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data to obtain a prediction result, the prediction result including the negative of each date within the second preset date range For news data and epidemic infection data, the second preset date range is after the first preset date range.
本申请实施例中,服务器可以调用疫情防控效果预测模型,并根据该新媒体数据和该疫情数据对疫情防控效果进行预测,得到预测结果。本申请实施例可以针对发生的区域性大规模传染病的防疫情况,结合各类新媒体对疫情防控相关信息的加工与传播情况,挖掘新媒体产业运作细节对于提升区域内传染病防控效果的影响规律,以传媒运营角度为政府的防疫决策和卫生部门的防疫工作提供更加有效的协助。In the embodiment of the present application, the server may call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result. The embodiments of this application can aim at the epidemic prevention situation of large-scale regional infectious diseases that occur, and combine the processing and dissemination of information related to epidemic prevention and control by various new media, and dig out the details of the operation of the new media industry to improve the effectiveness of the prevention and control of infectious diseases in the region. From the perspective of media operations, it provides more effective assistance for the government’s epidemic prevention decision-making and the health department’s epidemic prevention work.
在一个实施例中,该疫情防控效果预测模型可以为预训练的第一机器学习模型。该第一机器学习模型可以为第一深度学习模型,该第一机器学习模型可以是基于深度神经网络构建的。或,该疫情防控效果预测模型为预训练的第二机器学习模型。该第二机器学习模型可以为第二深度学习模型,该第二机器学习模型可以是基于卷积神经网络、深度神经网络和长短期记忆网络构建的。In one embodiment, the epidemic prevention and control effect prediction model may be a pre-trained first machine learning model. The first machine learning model may be a first deep learning model, and the first machine learning model may be constructed based on a deep neural network. Or, the epidemic prevention and control effect prediction model is a pre-trained second machine learning model. The second machine learning model may be a second deep learning model, and the second machine learning model may be constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
在一个实施例中,当疫情防控效果为预训练的第一机器学习模型时,该预训练的第一机器学习模型的获取方式可以如下:服务器统计第三预设日期范围内各日期的新媒体数据和疫情数据;服务器将第三预设日期范围内各日期的新媒体数据和疫情数据作为原始的第一机器学习模型的输入数据,由该原始的第一机器学习模型根据该新媒体数据和该疫情数据输出第四预设日期范围内各日期的负面新闻数据和疫情感染数据;服务器获取真实的第四预设日期范围内各日期的负面新闻数据和疫情感染数据,并根据输出的第四预设日期范围内各日期的负面新闻数据和疫情感染数据,以及真实的第四预设日期范围内各日期的负面新闻数据和疫情感染数据构建损失函数;服务器利用该损失函数训练该原始的第一机器学习模型,得到预训练的第一机器学习模型。该第四预设日期范围在该第三预设日期范围之后。In one embodiment, when the epidemic prevention and control effect is the pre-trained first machine learning model, the pre-trained first machine learning model can be obtained in the following manner: the server counts the new data of each date within the third preset date range Media data and epidemic data; the server uses the new media data and epidemic data of each date within the third preset date range as the input data of the original first machine learning model, and the original first machine learning model is based on the new media data And the epidemic data output negative news data and epidemic infection data for each date within the fourth preset date range; the server obtains the real negative news data and epidemic infection data for each date within the fourth preset date range, and according to the output first 4. The negative news data and epidemic infection data of each date within the preset date range, as well as the real negative news data and epidemic infection data of each date within the fourth preset date range, construct a loss function; the server uses the loss function to train the original The first machine learning model obtains the pre-trained first machine learning model. The fourth preset date range is after the third preset date range.
在一个实施例中,当疫情防控效果预测模型为预训练的第二机器学习模型时,该预训练的第二机器学习模型的获取方式可以如下:服务器统计第三预设日期范围内各日期的新媒体数据和疫情数据;服务器将第三预设日期范围内各日期的新媒体数据和疫情数据作为原始的第二机器学习模型的输入数据,由该原始的第二机器学习模型根据该新媒体数据和该疫情数据输出第四预设日期范围内各日期的负面新闻数据和疫情感染数据;服务器获取真实的第四预设日期范围内各日期的负面新闻数据和疫情感染数据,并根据输出的第四预设日期范围内各日期的负面新闻数据和疫情感染数据,以及真实的第四预设日期范围内各日期的负面新闻数据和疫情感染数据构建损失函数;服务器利用该损失函数训练该原始的第二机器学习模型,得到预训练的第二机器学习模型。In one embodiment, when the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, the pre-trained second machine learning model can be obtained in the following manner: the server counts the dates within the third preset date range New media data and epidemic data; the server uses the new media data and epidemic data of each date within the third preset date range as the input data of the original second machine learning model, and the original second machine learning model is based on the new The media data and the epidemic data output negative news data and epidemic infection data for each date within the fourth preset date range; the server obtains the real negative news data and epidemic infection data for each date within the fourth preset date range, and outputs according to the output The negative news data and epidemic infection data of each date within the fourth preset date range, and the real negative news data and epidemic infection data of each date within the fourth preset date range are used to construct a loss function; the server uses the loss function to train the The original second machine learning model obtains the pre-trained second machine learning model.
S103、将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。S103. Send the prediction result to a terminal device, so that the terminal device can display the prediction result.
本申请实施例中,服务器可以通过终端设备输出该预测结果。In the embodiment of the present application, the server may output the prediction result through the terminal device.
在一个实施例中,服务器可以利用归因分析模型从互联网数据中筛选出第一预设日期范围内各日期的新媒体数据和疫情数据。In one embodiment, the server may use an attribution analysis model to filter out new media data and epidemic data of each date within the first preset date range from Internet data.
在一个实施例中,服务器可以获取在第一预设时间范围之前的目标时间范围内各日期的新媒体数据和疫情数据,以及该目标时间范围的下一时间范围内各日期的负面新闻数据和疫情感染数据;服务器利用归因分析模型根据第一预设时间范围之前的时间范围内各日期的新媒体数据和疫情数据以及该目标时间范围的下一时间范围内各日期的负面新闻数据和疫情感染数据,从预设的多个评估指标中确定出用于疫情防控效果预测的目标评估指标;服务器从互联网数据中筛选出该目标评估指标在第一预设日期范围内各日期的新媒体数据和疫情数据。其中,归因分析模型的归因分析方法可以为以下任一项:g-formula方法、逆概率加权法、Propensity-score 方法。In one embodiment, the server may obtain new media data and epidemic data of each date within the target time range before the first preset time range, and negative news data and data of each date within the next time range of the target time range. Epidemic infection data; the server uses the attribution analysis model based on the new media data and epidemic data of each date in the time range before the first preset time range, and the negative news data and epidemic data of each date in the next time range of the target time range Infection data, determine the target evaluation index for epidemic prevention and control effect prediction from the preset multiple evaluation indexes; the server selects new media with the target evaluation index on each date within the first preset date range from Internet data Data and epidemic data. Among them, the attribution analysis method of the attribution analysis model can be any of the following: g-formula method, inverse probability weighting method, and probability-score method.
可见,图1所示的实施例中,服务器可以统计第一预设日期范围内各日期的新媒体数据和疫情数据,并调用疫情防控效果预测模型,以根据该新媒体数据和该疫情数据对疫情防控效果进行预测,得到预测结果以发送至终端设备进行展示,从而可以基于新媒体信息对疫情防控效果进行预测,以用于疫情防控。It can be seen that, in the embodiment shown in FIG. 1, the server can count the new media data and epidemic data of each date within the first preset date range, and call the epidemic prevention and control effect prediction model, based on the new media data and the epidemic data The effect of epidemic prevention and control is predicted, and the prediction result is obtained and sent to the terminal device for display, so that the epidemic prevention and control effect can be predicted based on new media information for epidemic prevention and control.
请参阅图2,为本申请实施例提供的另一种疫情防控效果预测方法的流程示意图。该方法可以应用于服务器。服务器可以为一个服务器或服务器集群。具体地,该方法可以包括以下步骤。Please refer to FIG. 2, which is a schematic flowchart of another method for predicting an epidemic prevention and control effect provided by an embodiment of this application. This method can be applied to the server. The server can be a server or a server cluster. Specifically, the method may include the following steps.
S201、统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据。S201. Count new media data and epidemic data on each date within the first preset date range, where the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data.
其中,步骤S201可以参见图1实施例中的步骤S101,本申请实施例在此不做赘述。Among them, step S201 may refer to step S101 in the embodiment of FIG. 1, and details are not described in this embodiment of the present application.
S202、通过预训练的第二机器学习模型中的卷积神经网络,根据所述新媒体数据和所述疫情数据提取空间特征。S202: Extract spatial features according to the new media data and the epidemic data through the convolutional neural network in the second machine learning model that is pre-trained.
本申请实施例中,服务器可以将该新媒体数据和该疫情数据输入预训练的第二机器学习模型中的卷积神经网络,由该卷积神经网络根据该新媒体数据和该疫情数据输出空间特征。在一个实施例中,服务器可以将第一预设时间范围内的各日期的新媒体信息数据和疫情数据按时间顺序以天为时间单位进行特征提取,组成总长度为N的特征向量;服务器将每个时间单位的特征向量作为卷积神经网络的输入,由卷积神经网络根据该每个时间单位的特征向量输出空间特征。In the embodiment of this application, the server can input the new media data and the epidemic data into the convolutional neural network in the second machine learning model pre-trained, and the convolutional neural network outputs space according to the new media data and the epidemic data feature. In one embodiment, the server may extract the new media information data and epidemic data of each date within the first preset time range in chronological order using days as the time unit to form a feature vector with a total length of N; the server will The feature vector of each time unit is used as the input of the convolutional neural network, and the convolutional neural network outputs spatial features according to the feature vector of each time unit.
S203、通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征。S203: Extract time series features according to the new media data and the epidemic data through the deep neural network and the long-short-term memory network in the pre-trained second machine learning model.
本申请实施例中,服务器通过该预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据该新媒体数据和该疫情数据提取时序特征的过程可以为:服务器将该新媒体数据和该疫情数据输入该预训练的第二机器学习模型中的第一层深度神经网络,得到该第一层深度神经网络的输出,并将该第一层深度神经网络的输出作为该预训练的第二机器学习模型中的第二层长短期记忆网络的输入,得到该第二层长短期记忆网络的输出;服务器将该第二层长短期记忆网络的输出作为该预训练的第二机器学习模型中的第三层长短期记忆网络的输出,由该第三层长短期记忆网络输出时序特征。在一个实施例中,该长短期记忆网络可以为双层长短期记忆网络。In this embodiment of the application, the server uses the deep neural network and the long-short-term memory network in the pre-trained second machine learning model to extract time series features from the new media data and the epidemic data. The process may be: the server applies the new media The data and the epidemic data are input to the first layer of deep neural network in the pre-trained second machine learning model, the output of the first layer of deep neural network is obtained, and the output of the first layer of deep neural network is used as the pre-training The input of the second layer of long and short-term memory network in the second machine learning model of, the output of the second layer of long and short-term memory network is obtained; the server uses the output of the second layer of long and short-term memory network as the pre-trained second machine The output of the third-layer long-term and short-term memory network in the learning model is output by the third-layer long- and short-term memory network for timing characteristics. In one embodiment, the long short-term memory network may be a double-layer long short-term memory network.
本申请实施例中,服务器可以按时间顺序依次将第一预设日期范围内中各日期的新媒体数据和疫情数据作为第一层深度神经网络的输入,得到该第一层深度神经网络的输出。服务器可以将第一层深度神经网络的输出作为第二层双向长短期记忆网络的输入,且以天为时间单位,将相邻前后两个时间的新媒体信息数据和疫情数据分别对应第二层双向长短期记忆网络的输出,作为相邻前后两个时间点的新媒体数据和疫情数据分别对应第三层双向长短期记忆网络的输入,从而由第三层双向长短期输出时序特征。In the embodiment of this application, the server may sequentially use the new media data and epidemic data of each date in the first preset date range as the input of the first layer of deep neural network in chronological order to obtain the output of the first layer of deep neural network . The server can use the output of the first layer of deep neural network as the input of the second layer of two-way long and short-term memory network, and use days as the time unit, and correspond to the new media information data and epidemic data at two adjacent times to the second layer. The output of the two-way long and short-term memory network, as the new media data and epidemic data at two adjacent time points, corresponds to the input of the third layer of the two-way long and short-term memory network, so that the third layer of bidirectional long and short-term output timing characteristics.
S204、对所述空间特征和所述时序特征进行融合处理,得到时空特征。S204. Perform fusion processing on the spatial feature and the time sequence feature to obtain a temporal feature.
S205、根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在该第一预设日期范围之后。S205. Predict the negative news growth trend and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and obtain a prediction result, where the prediction result includes negative news data and epidemic infection data on each date within a second preset date range, and the first 2. The preset date range is after the first preset date range.
在步骤S204-步骤S205中,服务器可以对该空间特征和该时序特征进行融合处理,得到时空特征,并根据时空特征对负面新闻增长趋势和传染病留下趋势进行预测,得到预测结果。In step S204-step S205, the server may perform fusion processing on the spatial feature and the temporal feature to obtain the temporal and spatial features, and predict the growth trend of negative news and the trend of infectious diseases based on the temporal and spatial features, and obtain the prediction result.
在一个实施例中,服务器根据该时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果,具体为服务器将该时空特征作为该预训练的第二机器学习模型中的第四层深度神经网络的输入,得到该第四层深度神经网络的输出,并将该第四层深度神经网络的输出输入到该预训练的第二机器学习模型中的输出层,由该输出层输出预测结果。In one embodiment, the server predicts the growth trend of negative news and the epidemic trend of infectious diseases according to the spatiotemporal characteristics, and obtains the prediction result. Specifically, the server uses the spatiotemporal characteristics as the fourth layer in the pre-trained second machine learning model. The input of the deep neural network, the output of the fourth layer of deep neural network is obtained, and the output of the fourth layer of deep neural network is input to the output layer of the pre-trained second machine learning model, and the output layer predicts result.
在一个实施例中,服务器根据该时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果的过程可以为:服务器将该时空特征作为该预训练的第二机器学习模型中的输出层的输入,由该输出层输出预测结果。此处的第二机器学习模型的结构相较于前者更为简单,更易于实现。In one embodiment, the server predicts the growth trend of negative news and the epidemic trend of infectious diseases according to the spatiotemporal characteristics, and the process of obtaining the prediction results may be: the server uses the spatiotemporal characteristics as the output in the pre-trained second machine learning model The input of the layer, and the prediction result is output by the output layer. The structure of the second machine learning model here is simpler and easier to implement than the former.
S206、将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。S206. Send the prediction result to a terminal device, so that the terminal device can display the prediction result.
其中,步骤S206可以参见图1实施例中的步骤S103,本申请实施例在此不做赘述。Wherein, step S206 may refer to step S103 in the embodiment of FIG. 1, and details are not described in the embodiment of the present application.
在一个实施例中,当疫情防控效果预测模型为预训练的第二机器学习模型时,该预训练的第二机器学习模型的获取方式具体可以如下:服务器统计第三预设日期范围内各日期的新媒体数据和疫情数据;服务器将第三预设日期范围内各日期的新媒体数据和疫情数据作为原始的第二机器学习模型的输入数据,通过该原始的第二机器学习模型中的卷积神经网络,根据该第三预设日期范围内各日期的新媒体数据和疫情数据提取目标空间特征,并通过该预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据该第三预设日期范围内各日期的新媒体数据和疫情数据提取目标时序特征;服务器对该目标空间特征和该目标时序特征进行融合处理,得到目标时空特征,并根据该目标时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到第四预设日期范围内各日期的负面新闻数据和疫情感染数据;服务器获取真实的第四预设日期范围内各日期的负面新闻数据和疫情感染数据,并根据输出的第四预设日期范围内各日期的负面新闻数据和疫情感染数据,以及真实的第四预设日期范围内各日期的负面新闻数据和疫情感染数据构建损失函数;服务器利用该损失函数训练该原始的第二机器学习模型,得到预训练的第二机器学习模型。In one embodiment, when the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, the method of acquiring the pre-trained second machine learning model may be specifically as follows: the server counts each item within the third preset date range Date of new media data and epidemic data; the server uses the new media data and epidemic data of each date within the third preset date range as the input data of the original second machine learning model, and passes the data in the original second machine learning model. The convolutional neural network extracts target spatial features based on the new media data and epidemic data of each date within the third preset date range, and uses the deep neural network and long-short-term memory network in the pre-trained second machine learning model, According to the new media data and epidemic data of each date within the third preset date range, the target time series feature is extracted; the server performs fusion processing on the target space feature and the target time series feature to obtain the target time and space feature, and compare the target time and space feature according to the target time and time feature. The negative news growth trend and the epidemic trend of infectious diseases are predicted, and the negative news data and epidemic infection data of each date within the fourth preset date range are obtained; the server obtains the real negative news data and epidemic situation of each date within the fourth preset date range Infection data, and construct a loss function based on the output negative news data and epidemic infection data of each date within the fourth preset date range, and the real negative news data and epidemic infection data of each date within the fourth preset date range; Use the loss function to train the original second machine learning model to obtain a pre-trained second machine learning model.
可见,图2所示的实施例中,服务器可以通过预训练的第二机器学习模型中的卷积神经网络,根据该第一预设时间范围内各日期的新媒体数据和疫情数据提取空间特征;服务器通过预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据该新媒体数据和该疫情数据提取时序特征;服务器对该空间特征和该时序特征进行融合处理,得到时空特征,并根据该时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果,可以通过预训练的第二机器学习模型以基于新媒体信息对疫情防控效果进行预测,以用于疫情防控。It can be seen that in the embodiment shown in FIG. 2, the server can extract spatial features based on the new media data and epidemic data of each date within the first preset time range through the convolutional neural network in the second machine learning model pre-trained ; The server uses the deep neural network and the long-short-term memory network in the pre-trained second machine learning model to extract time series features based on the new media data and the epidemic data; the server merges the spatial features and the time series features to obtain space-time According to the temporal and spatial characteristics, the negative news growth trend and the epidemic trend of infectious diseases are predicted, and the prediction results can be obtained. The pre-trained second machine learning model can be used to predict the epidemic prevention and control effect based on new media information. Epidemic prevention and control.
本申请可应用于医疗科技领域,本申请涉及区块链技术,如可将预测结果写入区块链或将预测结果的加密数据写入区块链。This application can be applied to the field of medical technology. This application relates to blockchain technology. For example, prediction results can be written into the blockchain or encrypted data of the prediction results can be written into the blockchain.
请参阅图3,为本申请实施例提供的一种疫情防控效果预测系统的网络架构示意图。该疫情防控效果预测系统可以包括服务器10和终端设备20。其中:服务器10可以通过执行步骤S101和步骤S102以根据新媒体数据和疫情数据进行疫情防控效果预测,得到预测结果,并可以通过执行步骤S103,以通过终端设备30展示该预测结果。Please refer to FIG. 3, which is a schematic diagram of a network architecture of an epidemic prevention and control effect prediction system provided by an embodiment of this application. The epidemic prevention and control effect prediction system may include a server 10 and a terminal device 20. Wherein, the server 10 can perform step S101 and step S102 to predict the epidemic prevention and control effect based on new media data and epidemic data to obtain a prediction result, and can perform step S103 to display the prediction result through the terminal device 30.
请参阅图4,为本申请实施例提供的一种疫情防控效果预测装置的结构示意图。该装置可以应用于服务器。具体地,该装置可以包括以下模块。Please refer to FIG. 4, which is a schematic structural diagram of an epidemic prevention and control effect prediction device provided by an embodiment of this application. The device can be applied to a server. Specifically, the device may include the following modules.
统计模块401,用于统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据。The statistics module 401 is configured to count new media data and epidemic data on each date within the first preset date range. The new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data.
预测模块402,用于调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后。The prediction module 402 is used to call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data to obtain a prediction result, the prediction result including the second preset date range For the negative news data and epidemic infection data of each date, the second preset date range is after the first preset date range.
输出模块403,用于将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。The output module 403 is configured to send the prediction result to the terminal device so that the terminal device can display the prediction result.
在一种可选的实施方式中,所述负面新闻数据包括以下至少一项:疫情期间负面新闻数和疫情期间负面新闻增长率;所述其它新媒体数据包括以下至少一项:疫情相关数据的发布方式、每种发布方式对应的新媒体平台的受众人群类别、所述新媒体平台的活跃性数据、为所述新媒体平台发布的疫情相关数据标注的标签、所述新媒体平台发布的疫情相关数据在每类标签对应的新闻数量;所述疫情数据包括疫情感染数据,所述疫情感染数据包括以下至少一项:疫情感染人数和疫情感染人数增长率。In an optional implementation manner, the negative news data includes at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic; the other new media data includes at least one of the following: The release method, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, the labels for the epidemic-related data released by the new media platform, and the epidemic situation released by the new media platform The relevant data is the number of news corresponding to each type of label; the epidemic data includes epidemic infection data, and the epidemic infection data includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
在一种可选的实施方式中,所述疫情防控效果预测模型为预训练的第一机器学习模型,所述第一机器学习模型是基于深度神经网络构建的;或,所述疫情防控效果预测模型为预训练的第二机器学习模型,所述第二机器学习模型是基于卷积神经网络、深度神经网络和长短期记忆网络构建的。In an optional embodiment, the epidemic prevention and control effect prediction model is a pre-trained first machine learning model, and the first machine learning model is constructed based on a deep neural network; or, the epidemic prevention and control The effect prediction model is a pre-trained second machine learning model, and the second machine learning model is constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
在一种可选的实施方式中,当所述疫情防控效果预测模型为预训练的第二机器学习模型时,预测模块402调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,具体为通过预训练的第二机器学习模型中的卷积神经网络,根据所述新媒体数据和所述疫情数据提取空间特征;通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征;对所述空间特征和所述时序特征进行融合处理,得到时空特征;根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果。In an optional implementation, when the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, the prediction module 402 invokes the epidemic prevention and control effect prediction model, and based on the new media data and information The epidemic data predicts the epidemic prevention and control effect, and obtains the prediction result, specifically through the convolutional neural network in the pre-trained second machine learning model, extracting spatial features based on the new media data and the epidemic data; The deep neural network and the long short-term memory network in the pre-trained second machine learning model extract time series features according to the new media data and the epidemic data; perform fusion processing on the spatial features and the time series features to obtain Temporal and spatial characteristics; predict the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and obtain the prediction result.
在一种可选的实施方式中,预测模块402通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征,具体为将所述新媒体数据和所述疫情数据输入所述预训练的第二机器学习模型中的第一层深度神经网络,得到所述第一层深度神经网络的输出;将所述第一层深度神经网络的输出作为所述预训练的第二机器学习模型中的第二层长短期记忆网络的输入,得到所述第二层长短期记忆网络的输出;将所述第二层长短期记忆网络的输出作为所述预训练的第二机器学习模型中的第三层长短期记忆网络的输出,由所述第三层长短期记忆网络输出时序特征。In an optional implementation manner, the prediction module 402 extracts time series features from the new media data and the epidemic data through the deep neural network and the long-short-term memory network in the pre-trained second machine learning model, Specifically, the new media data and the epidemic data are input into the first layer of deep neural network in the pre-trained second machine learning model to obtain the output of the first layer of deep neural network; The output of the layered deep neural network is used as the input of the second layer of long and short-term memory network in the pre-trained second machine learning model to obtain the output of the second layer of long- and short-term memory network; The output of the memory network is used as the output of the third-layer long- and short-term memory network in the pre-trained second machine learning model, and the third-layer long- and short-term memory network outputs timing characteristics.
在一种可选的实施方式中,预测模块402根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果,具体为将所述时空特征作为所述预训练的第二机器学习模型中的第四层深度神经网络的输入,得到所述第四层深度神经网络的输出;将所述第四层深度神经网络的输出输入到所述预训练的第二机器学习模型中的输出层,由所述输出层输出预测结果。In an optional implementation manner, the prediction module 402 predicts the negative news growth trend and the epidemic trend of infectious diseases according to the spatio-temporal characteristics, and obtains the prediction result, specifically using the spatio-temporal characteristics as the second pre-training. Input of the fourth layer of deep neural network in the machine learning model to obtain the output of the fourth layer of deep neural network; input the output of the fourth layer of deep neural network into the pre-trained second machine learning model The output layer of which outputs the prediction result.
在一种可选的实施方式中,预测模块402根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果,具体为将所述时空特征作为所述预训练的第二机器学习模型中的输出层的输入,由所述输出层输出预测结果。In an optional implementation manner, the prediction module 402 predicts the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and obtains the prediction result, specifically using the temporal and spatial characteristics as the second pre-training. The output layer in the machine learning model is an input, and the output layer outputs a prediction result.
可见,图4所示的实施例中,疫情防控效果预测装置可以统计第一预设日期范围内各日期的新媒体数据和疫情数据,并调用疫情防控效果预测模型,并根据该新媒体数据和该疫情数据对疫情防控效果进行预测,得到预测结果,以将该预测结果发送至终端设备以进行展示,能够基于新媒体信息对疫情防控效果进行预测,以用于疫情防控。It can be seen that in the embodiment shown in FIG. 4, the epidemic prevention and control effect prediction device can count the new media data and epidemic data of each date within the first preset date range, and call the epidemic prevention and control effect prediction model, and according to the new media The data and the epidemic data predict the epidemic prevention and control effect, and obtain the prediction result to send the forecast result to the terminal device for display. The epidemic prevention and control effect can be predicted based on the new media information for epidemic prevention and control.
请参阅图5,为本申请实施例提供的一种服务器的结构示意图。本实施例中所描述的服务器可以包括:一个或多个处理器1000、一个或多个输入设备2000、一个或多个输出设备3000和存储器4000。处理器1000和存储器4000可以通过总线连接。该服务器包括的输入设备2000为可选的设备,即服务器可以仅包括一个或多个处理器1000、一个或多个输出设备3000和存储器4000。在一个实施例中,输入设备2000和输出设备3000可以为标准的有线或无线通信接口。Please refer to FIG. 5, which is a schematic structural diagram of a server provided in an embodiment of this application. The server described in this embodiment may include: one or more processors 1000, one or more input devices 2000, one or more output devices 3000, and a memory 4000. The processor 1000 and the memory 4000 may be connected by a bus. The input device 2000 included in the server is an optional device, that is, the server may only include one or more processors 1000, one or more output devices 3000, and a memory 4000. In an embodiment, the input device 2000 and the output device 3000 may be standard wired or wireless communication interfaces.
处理器1000可以是中央处理模块(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 1000 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), and application-specific integrated circuits (Application Specific Integrated Circuits). Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。其中,存储器4000用于存储计算机程序,所述计算机程序包括程序指令。处理器1000被配置用于调用所述程序指令,执行以下步骤:统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。The memory 4000 can be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as disk storage. Wherein, the memory 4000 is used to store a computer program, and the computer program includes program instructions. The processor 1000 is configured to call the program instructions to perform the following steps: to count new media data and epidemic data on each date within the first preset date range, where the new media data includes negative news data and other new media data, The epidemic data includes epidemic infection data; the epidemic prevention and control effect prediction model is called, and the epidemic prevention and control effect is predicted based on the new media data and the epidemic data, and the prediction result is obtained, and the prediction result includes the second preset The negative news data and epidemic infection data of each date within the date range, the second preset date range is after the first preset date range; the prediction result is sent to the terminal device so that the terminal device can display the prediction result.
在一个实施例中,所述负面新闻数据包括以下至少一项:疫情期间负面新闻数和疫情期间负面新闻增长率。In one embodiment, the negative news data includes at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic.
所述其它新媒体数据包括以下至少一项:疫情相关数据的发布方式、每种发布方式对应的新媒体平台的受众人群类别、所述新媒体平台的活跃性数据、为所述新媒体平台发布的疫情相关数据标注的标签、所述新媒体平台发布的疫情相关数据在每类标签对应的新闻数量。The other new media data includes at least one of the following: the release method of epidemic-related data, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, and the release for the new media platform The number of news related to each type of label in the labels labeled with the epidemic-related data of the new media platform and the epidemic-related data released by the new media platform.
所述疫情数据包括疫情感染数据,所述疫情感染数据包括以下至少一项:疫情感染人数和疫情感染人数增长率。The epidemic data includes epidemic infection data, and the epidemic infection data includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
在一个实施例中,所述疫情防控效果预测模型为预训练的第一机器学习模型,所述第一机器学习模型是基于深度神经网络构建的;或,所述疫情防控效果预测模型为预训练的第二机器学习模型,所述第二机器学习模型是基于卷积神经网络、深度神经网络和长短期记忆网络构建的。In one embodiment, the epidemic prevention and control effect prediction model is a pre-trained first machine learning model, and the first machine learning model is constructed based on a deep neural network; or, the epidemic prevention and control effect prediction model is A pre-trained second machine learning model, the second machine learning model is constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
在一个实施例中,当所述疫情防控效果预测模型为预训练的第二机器学习模型时,在调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果时,处理器1000被配置用于调用所述程序指令,执行以下步骤:通过预训练的第二机器学习模型中的卷积神经网络,根据所述新媒体数据和所述疫情数据提取空间特征;通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征;对所述空间特征和所述时序特征进行融合处理,得到时空特征;根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果。In one embodiment, when the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, the epidemic prevention and control effect prediction model is invoked, and the epidemic prevention and control effect prediction model is used based on the new media data and the epidemic data. When the prediction result is obtained, the processor 1000 is configured to call the program instructions to perform the following steps: through the pre-trained convolutional neural network in the second machine learning model, according to the new media data and Extracting spatial features from the epidemic data; extracting time series features based on the new media data and the epidemic data through the deep neural network and the long- and short-term memory network in the pre-trained second machine learning model; extracting the temporal features from the new media data and the epidemic data; and comparing the spatial features Performing fusion processing with the time sequence feature to obtain the spatio-temporal feature; predict the growth trend of negative news and the epidemic trend of infectious diseases according to the spatio-temporal feature, and obtain the prediction result.
在一个实施例中,在通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征时,处理器1000被配置用于调用所述程序指令,执行以下步骤:将所述新媒体数据和所述疫情数据输入所述预训练的第二机器学习模型中的第一层深度神经网络,得到所述第一层深度神经网络的输出;将所述第一层深度神经网络的输出作为所述预训练的第二机器学习模型中的第二层长短期记忆网络的输入,得到所述第二层长短期记忆网络的输出;将所述第二层长短期记忆网络的输出作为所述预训练的第二机器学习模型中的第三层长短期记忆网络的输出,由所述第三层长短期记忆网络输出时序特征。In one embodiment, when using the deep neural network and the long short-term memory network in the pre-trained second machine learning model to extract time series features from the new media data and the epidemic data, the processor 1000 is configured Used to call the program instructions to perform the following steps: input the new media data and the epidemic data into the first-layer deep neural network in the pre-trained second machine learning model to obtain the first-layer depth The output of the neural network; the output of the first layer of deep neural network is used as the input of the second layer of long and short-term memory network in the pre-trained second machine learning model to obtain the second layer of long- and short-term memory network Output; use the output of the second-layer long-short-term memory network as the output of the third-layer long-short-term memory network in the pre-trained second machine learning model, and the third-layer long- and short-term memory network outputs timing features .
在一个实施例中,在根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果时,处理器1000被配置用于调用所述程序指令,执行以下步骤:将所述时空特征作为所述预训练的第二机器学习模型中的第四层深度神经网络的输入,得到所述第四层深度神经网络的输出;将所述第四层深度神经网络的输出输入到所述预训练的第二机器学习模型中的输出层,由所述输出层输出预测结果。In one embodiment, when the negative news growth trend and the epidemic trend of infectious diseases are predicted according to the temporal and spatial characteristics, and the prediction result is obtained, the processor 1000 is configured to call the program instructions to perform the following steps: The spatio-temporal features are used as the input of the fourth layer of deep neural network in the pre-trained second machine learning model to obtain the output of the fourth layer of deep neural network; the output of the fourth layer of deep neural network is input to all In the output layer of the pre-trained second machine learning model, the output layer outputs a prediction result.
在一个实施例中,在根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果时,处理器1000被配置用于调用所述程序指令,执行以下步骤:将所述时空特征作为所述预训练的第二机器学习模型中的输出层的输入,由所述输出层输出预测结果。In one embodiment, when the negative news growth trend and the epidemic trend of infectious diseases are predicted according to the temporal and spatial characteristics, and the prediction result is obtained, the processor 1000 is configured to call the program instructions to perform the following steps: The spatio-temporal feature is used as the input of the output layer in the pre-trained second machine learning model, and the output layer outputs the prediction result.
具体实现中,本申请实施例中所描述的处理器1000、输入设备2000和输出设备3000可执行图1实施例、图2实施例所描述的实现方式,也可执行本申请实施例所描述的实现方式,在此不再赘述。In specific implementation, the processor 1000, the input device 2000, and the output device 3000 described in the embodiment of the present application can perform the implementation described in the embodiment of FIG. 1 and the embodiment of FIG. 2, as well as the implementation described in the embodiment of the present application. The implementation method will not be repeated here.
在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以是两个或两个以上模块集成在一个模块中。上述集成的模块既可以采样硬件的形式实现,也可以采样软件功能模块的形式实现。The functional modules in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of sampling hardware, and can also be implemented in the form of sampling software functional modules.
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时可实现上述实施例中方法的步骤,或者,计算机程序被处理器执行时实现上述实施例中装置的各模块/单元的功能,这里不再赘述。可选的,本申请涉及的存储介质如计算机可读存储介质可以是非易失性的,也可以是易失性的。The embodiments of the present application also provide a computer-readable storage medium with a computer program stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the method in the above-mentioned embodiment can be realized, or the computer program is processed. The function of each module/unit of the device in the above-mentioned embodiment is realized when the device is executed, which will not be repeated here. Optionally, the storage medium involved in this application, such as a computer-readable storage medium, may be non-volatile or volatile.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的计算机可读存储介质可为易失性的或非易失性的。例如,该计算机存储介质可以为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。所述的计算机可读存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the computer-readable storage medium may be volatile or non-volatile. For example, the computer storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory). Memory, RAM) etc. The computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store information based on the blockchain node Use the created data, etc.
其中,本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。Among them, the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
以上所揭露的仅为本申请一种较佳实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于本申请所涵盖的范围。What is disclosed above is only a preferred embodiment of this application. Of course, it cannot be used to limit the scope of rights of this application. A person of ordinary skill in the art can understand all or part of the process of implementing the above-mentioned embodiments and follow the rights of this application. The equivalent changes required are still within the scope of this application.

Claims (20)

  1. 一种疫情防控效果预测方法,包括:A method for predicting the effect of epidemic prevention and control, including:
    统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;Collect statistics on new media data and epidemic data on each date within the first preset date range, where the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data;
    调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;Call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result. The prediction result includes the negative news data on each date within the second preset date range And epidemic infection data, the second preset date range is after the first preset date range;
    将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。The prediction result is sent to the terminal device so that the terminal device can display the prediction result.
  2. 根据权利要求1所述的方法,其中,The method of claim 1, wherein:
    所述负面新闻数据包括以下至少一项:疫情期间负面新闻数和疫情期间负面新闻增长率;The negative news data includes at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic;
    所述其它新媒体数据包括以下至少一项:疫情相关数据的发布方式、每种发布方式对应的新媒体平台的受众人群类别、所述新媒体平台的活跃性数据、为所述新媒体平台发布的疫情相关数据标注的标签、所述新媒体平台发布的疫情相关数据在每类标签对应的新闻数量;The other new media data includes at least one of the following: the release method of epidemic-related data, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, and the release for the new media platform The number of labels marked on the epidemic-related data of the new media platform, and the number of news items corresponding to each category of the epidemic-related data released by the new media platform;
    所述疫情数据包括疫情感染数据,所述疫情感染数据包括以下至少一项:疫情感染人数和疫情感染人数增长率。The epidemic data includes epidemic infection data, and the epidemic infection data includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
  3. 根据权利要求1或2所述的方法,其中,所述疫情防控效果预测模型为预训练的第一机器学习模型,所述第一机器学习模型是基于深度神经网络构建的;或,所述疫情防控效果预测模型为预训练的第二机器学习模型,所述第二机器学习模型是基于卷积神经网络、深度神经网络和长短期记忆网络构建的。The method according to claim 1 or 2, wherein the epidemic prevention and control effect prediction model is a pre-trained first machine learning model, and the first machine learning model is constructed based on a deep neural network; or, the The epidemic prevention and control effect prediction model is a pre-trained second machine learning model, and the second machine learning model is constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
  4. 根据权利要求2所述的方法,其中,当所述疫情防控效果预测模型为预训练的第二机器学习模型时,所述调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,包括:The method according to claim 2, wherein, when the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, the epidemic prevention and control effect prediction model is invoked and based on the new media data and the The epidemic data is used to predict the effect of epidemic prevention and control, and the prediction results are obtained, including:
    通过预训练的第二机器学习模型中的卷积神经网络,根据所述新媒体数据和所述疫情数据提取空间特征;Extracting spatial features based on the new media data and the epidemic data through the convolutional neural network in the pre-trained second machine learning model;
    通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征;Extracting time series features according to the new media data and the epidemic data through the deep neural network and the long-short-term memory network in the pre-trained second machine learning model;
    对所述空间特征和所述时序特征进行融合处理,得到时空特征;Performing fusion processing on the spatial feature and the time sequence feature to obtain a temporal feature;
    根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果。According to the temporal and spatial characteristics, the negative news growth trend and the epidemic trend of infectious diseases are predicted, and the prediction result is obtained.
  5. 根据权利要求4所述的方法,其中,所述通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征,包括:The method according to claim 4, wherein the deep neural network and the long-short-term memory network in the pre-trained second machine learning model extract time series features according to the new media data and the epidemic data, include:
    将所述新媒体数据和所述疫情数据输入所述预训练的第二机器学习模型中的第一层深度神经网络,得到所述第一层深度神经网络的输出;Input the new media data and the epidemic data into the first layer of deep neural network in the pre-trained second machine learning model to obtain the output of the first layer of deep neural network;
    将所述第一层深度神经网络的输出作为所述预训练的第二机器学习模型中的第二层长短期记忆网络的输入,得到所述第二层长短期记忆网络的输出;Using the output of the first-layer deep neural network as the input of the second-layer long-short-term memory network in the pre-trained second machine learning model to obtain the output of the second-layer long- and short-term memory network;
    将所述第二层长短期记忆网络的输出作为所述预训练的第二机器学习模型中的第三层长短期记忆网络的输出,由所述第三层长短期记忆网络输出时序特征。The output of the second-layer long- and short-term memory network is used as the output of the third-layer long- and short-term memory network in the pre-trained second machine learning model, and the third-layer long- and short-term memory network outputs timing characteristics.
  6. 根据权利要求4所述的方法,其中,所述根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果,包括:The method according to claim 4, wherein the predicting the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics to obtain the prediction result comprises:
    将所述时空特征作为所述预训练的第二机器学习模型中的第四层深度神经网络的输入,得到所述第四层深度神经网络的输出;Using the spatiotemporal features as the input of the fourth layer of deep neural network in the pre-trained second machine learning model to obtain the output of the fourth layer of deep neural network;
    将所述第四层深度神经网络的输出输入到所述预训练的第二机器学习模型中的输出层,由所述输出层输出预测结果。The output of the fourth layer of deep neural network is input to the output layer of the pre-trained second machine learning model, and the output layer outputs the prediction result.
  7. 根据权利要求4所述的方法,其中,所述根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果,包括:The method according to claim 4, wherein the predicting the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics to obtain the prediction result comprises:
    将所述时空特征作为所述预训练的第二机器学习模型中的输出层的输入,由所述输出层输出预测结果。The spatio-temporal feature is used as the input of the output layer in the pre-trained second machine learning model, and the output layer outputs a prediction result.
  8. 一种疫情防控效果预测装置,包括:An epidemic prevention and control effect prediction device, including:
    统计模块,用于统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;The statistics module is used to count new media data and epidemic data on each date within the first preset date range, the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data;
    预测模块,用于调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;The prediction module is used to call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result. The prediction result includes each item within the second preset date range. Negative news data and epidemic infection data of the date, the second preset date range is after the first preset date range;
    输出模块,用于将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。The output module is used to send the prediction result to the terminal device so that the terminal device can display the prediction result.
  9. 一种服务器,包括处理器、输出设备和存储器,所述处理器、所述输出设备和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行以下方法:A server includes a processor, an output device, and a memory, the processor, the output device, and the memory are connected to each other, wherein the memory is used to store a computer program, and the computer program includes program instructions. The processor is configured to call the program instructions and execute the following methods:
    统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;Collect statistics on new media data and epidemic data on each date within the first preset date range, where the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data;
    调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;Call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result. The prediction result includes the negative news data on each date within the second preset date range And epidemic infection data, the second preset date range is after the first preset date range;
    将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。The prediction result is sent to the terminal device so that the terminal device can display the prediction result.
  10. 根据权利要求9所述的服务器,其中,The server according to claim 9, wherein:
    所述负面新闻数据包括以下至少一项:疫情期间负面新闻数和疫情期间负面新闻增长率;The negative news data includes at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic;
    所述其它新媒体数据包括以下至少一项:疫情相关数据的发布方式、每种发布方式对应的新媒体平台的受众人群类别、所述新媒体平台的活跃性数据、为所述新媒体平台发布的疫情相关数据标注的标签、所述新媒体平台发布的疫情相关数据在每类标签对应的新闻数量;The other new media data includes at least one of the following: the release method of epidemic-related data, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, and the release for the new media platform The number of labels marked on the epidemic-related data of the new media platform, and the number of news items corresponding to each category of the epidemic-related data released by the new media platform;
    所述疫情数据包括疫情感染数据,所述疫情感染数据包括以下至少一项:疫情感染人数和疫情感染人数增长率。The epidemic data includes epidemic infection data, and the epidemic infection data includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
  11. 根据权利要求9或10所述的服务器,其中,所述疫情防控效果预测模型为预训练的第一机器学习模型,所述第一机器学习模型是基于深度神经网络构建的;或,所述疫情防控效果预测模型为预训练的第二机器学习模型,所述第二机器学习模型是基于卷积神经网络、深度神经网络和长短期记忆网络构建的。The server according to claim 9 or 10, wherein the epidemic prevention and control effect prediction model is a pre-trained first machine learning model, and the first machine learning model is constructed based on a deep neural network; or, the The epidemic prevention and control effect prediction model is a pre-trained second machine learning model, and the second machine learning model is constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
  12. 根据权利要求10所述的服务器,其中,当所述疫情防控效果预测模型为预训练的第二机器学习模型时,所述调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果时,具体执行:The server according to claim 10, wherein, when the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, the epidemic prevention and control effect prediction model is invoked, and the epidemic prevention and control effect prediction model is invoked based on the new media data and all information The epidemic data is used to predict the effect of epidemic prevention and control. When the prediction result is obtained, the specific implementation is as follows:
    通过预训练的第二机器学习模型中的卷积神经网络,根据所述新媒体数据和所述疫情数据提取空间特征;Extracting spatial features based on the new media data and the epidemic data through the convolutional neural network in the pre-trained second machine learning model;
    通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征;Extracting time series features according to the new media data and the epidemic data through the deep neural network and the long-short-term memory network in the pre-trained second machine learning model;
    对所述空间特征和所述时序特征进行融合处理,得到时空特征;Performing fusion processing on the spatial feature and the time sequence feature to obtain a temporal feature;
    根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果。According to the temporal and spatial characteristics, the negative news growth trend and the epidemic trend of infectious diseases are predicted, and the prediction result is obtained.
  13. 根据权利要求12所述的服务器,其中,所述通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征时,具体执行:The server according to claim 12, wherein the deep neural network and the long-short-term memory network in the second pre-trained machine learning model are used to extract time series features based on the new media data and the epidemic data , The specific implementation:
    将所述新媒体数据和所述疫情数据输入所述预训练的第二机器学习模型中的第一层深度神经网络,得到所述第一层深度神经网络的输出;Input the new media data and the epidemic data into the first layer of deep neural network in the pre-trained second machine learning model to obtain the output of the first layer of deep neural network;
    将所述第一层深度神经网络的输出作为所述预训练的第二机器学习模型中的第二层长短期记忆网络的输入,得到所述第二层长短期记忆网络的输出;Using the output of the first-layer deep neural network as the input of the second-layer long-short-term memory network in the pre-trained second machine learning model to obtain the output of the second-layer long- and short-term memory network;
    将所述第二层长短期记忆网络的输出作为所述预训练的第二机器学习模型中的第三层长短期记忆网络的输出,由所述第三层长短期记忆网络输出时序特征。The output of the second-layer long- and short-term memory network is used as the output of the third-layer long- and short-term memory network in the pre-trained second machine learning model, and the third-layer long- and short-term memory network outputs timing characteristics.
  14. 根据权利要求12所述的服务器,其中,所述根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果时,具体执行:The server according to claim 12, wherein the prediction of the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and when the prediction result is obtained, specifically executes:
    将所述时空特征作为所述预训练的第二机器学习模型中的第四层深度神经网络的输入,得到所述第四层深度神经网络的输出;Using the spatiotemporal features as the input of the fourth layer of deep neural network in the pre-trained second machine learning model to obtain the output of the fourth layer of deep neural network;
    将所述第四层深度神经网络的输出输入到所述预训练的第二机器学习模型中的输出层,由所述输出层输出预测结果。The output of the fourth layer of deep neural network is input to the output layer of the pre-trained second machine learning model, and the output layer outputs the prediction result.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行以实现以下方法:A computer-readable storage medium in which a computer program is stored, and the computer program is executed by a processor to implement the following method:
    统计第一预设日期范围内各日期的新媒体数据和疫情数据,所述新媒体数据包括负面新闻数据和其它新媒体数据,所述疫情数据包括疫情感染数据;Collect statistics on new media data and epidemic data on each date within the first preset date range, where the new media data includes negative news data and other new media data, and the epidemic data includes epidemic infection data;
    调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果,所述预测结果包括第二预设日期范围内各日期的负面新闻数据和疫情感染数据,所述第二预设日期范围在所述第一预设日期范围之后;Call the epidemic prevention and control effect prediction model, and predict the epidemic prevention and control effect based on the new media data and the epidemic data, and obtain the prediction result. The prediction result includes the negative news data on each date within the second preset date range And epidemic infection data, the second preset date range is after the first preset date range;
    将所述预测结果发送至终端设备,以便终端设备展示所述预测结果。The prediction result is sent to the terminal device so that the terminal device can display the prediction result.
  16. 根据权利要求15所述的计算机可读存储介质,其中,The computer-readable storage medium according to claim 15, wherein:
    所述负面新闻数据包括以下至少一项:疫情期间负面新闻数和疫情期间负面新闻增长率;The negative news data includes at least one of the following: the number of negative news during the epidemic and the growth rate of negative news during the epidemic;
    所述其它新媒体数据包括以下至少一项:疫情相关数据的发布方式、每种发布方式对应的新媒体平台的受众人群类别、所述新媒体平台的活跃性数据、为所述新媒体平台发布的疫情相关数据标注的标签、所述新媒体平台发布的疫情相关数据在每类标签对应的新闻数量;The other new media data includes at least one of the following: the release method of epidemic-related data, the audience category of the new media platform corresponding to each release method, the activity data of the new media platform, and the release for the new media platform The number of labels marked on the epidemic-related data of the new media platform, and the number of news items corresponding to each category of the epidemic-related data released by the new media platform;
    所述疫情数据包括疫情感染数据,所述疫情感染数据包括以下至少一项:疫情感染人数和疫情感染人数增长率。The epidemic data includes epidemic infection data, and the epidemic infection data includes at least one of the following: the number of people infected by the epidemic and the growth rate of the number of people infected by the epidemic.
  17. 根据权利要求15或16所述的计算机可读存储介质,其中,所述疫情防控效果预测模型为预训练的第一机器学习模型,所述第一机器学习模型是基于深度神经网络构建的;或,所述疫情防控效果预测模型为预训练的第二机器学习模型,所述第二机器学习模型是基于卷积神经网络、深度神经网络和长短期记忆网络构建的。The computer-readable storage medium according to claim 15 or 16, wherein the epidemic prevention and control effect prediction model is a pre-trained first machine learning model, and the first machine learning model is constructed based on a deep neural network; Or, the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, and the second machine learning model is constructed based on a convolutional neural network, a deep neural network, and a long and short-term memory network.
  18. 根据权利要求16所述的计算机可读存储介质,其中,当所述疫情防控效果预测模型为预训练的第二机器学习模型时,所述调用疫情防控效果预测模型,并根据所述新媒体数据和所述疫情数据对疫情防控效果进行预测,得到预测结果时,具体实现:The computer-readable storage medium according to claim 16, wherein when the epidemic prevention and control effect prediction model is a pre-trained second machine learning model, the epidemic prevention and control effect prediction model is invoked, and according to the new Media data and the said epidemic data predict the effect of epidemic prevention and control, and when the prediction result is obtained, the specific realization:
    通过预训练的第二机器学习模型中的卷积神经网络,根据所述新媒体数据和所述疫情数据提取空间特征;Extracting spatial features based on the new media data and the epidemic data through the convolutional neural network in the pre-trained second machine learning model;
    通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征;Extracting time series features according to the new media data and the epidemic data through the deep neural network and the long-short-term memory network in the pre-trained second machine learning model;
    对所述空间特征和所述时序特征进行融合处理,得到时空特征;Performing fusion processing on the spatial feature and the time sequence feature to obtain a temporal feature;
    根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果。According to the temporal and spatial characteristics, the negative news growth trend and the epidemic trend of infectious diseases are predicted, and the prediction result is obtained.
  19. 根据权利要求18所述的计算机可读存储介质,其中,所述通过所述预训练的第二机器学习模型中的深度神经网络和长短期记忆网络,根据所述新媒体数据和所述疫情数据提取时序特征时,具体实现:The computer-readable storage medium according to claim 18, wherein the deep neural network and the long-short-term memory network in the second machine learning model that are pre-trained are based on the new media data and the epidemic data When extracting timing features, the specific implementation is as follows:
    将所述新媒体数据和所述疫情数据输入所述预训练的第二机器学习模型中的第一层深度神经网络,得到所述第一层深度神经网络的输出;Input the new media data and the epidemic data into the first layer of deep neural network in the pre-trained second machine learning model to obtain the output of the first layer of deep neural network;
    将所述第一层深度神经网络的输出作为所述预训练的第二机器学习模型中的第二层长短期记忆网络的输入,得到所述第二层长短期记忆网络的输出;Using the output of the first-layer deep neural network as the input of the second-layer long-short-term memory network in the pre-trained second machine learning model to obtain the output of the second-layer long- and short-term memory network;
    将所述第二层长短期记忆网络的输出作为所述预训练的第二机器学习模型中的第三层长短期记忆网络的输出,由所述第三层长短期记忆网络输出时序特征。The output of the second-layer long- and short-term memory network is used as the output of the third-layer long- and short-term memory network in the pre-trained second machine learning model, and the third-layer long- and short-term memory network outputs timing characteristics.
  20. 根据权利要求18所述的计算机可读存储介质,其中,所述根据所述时空特征对负面新闻增长趋势和传染病流行趋势进行预测,得到预测结果时,具体实现:18. The computer-readable storage medium according to claim 18, wherein the prediction of the growth trend of negative news and the epidemic trend of infectious diseases according to the temporal and spatial characteristics, and when the prediction result is obtained, the specific realization is implemented:
    将所述时空特征作为所述预训练的第二机器学习模型中的第四层深度神经网络的输入,得到所述第四层深度神经网络的输出;Using the spatiotemporal features as the input of the fourth layer of deep neural network in the pre-trained second machine learning model to obtain the output of the fourth layer of deep neural network;
    将所述第四层深度神经网络的输出输入到所述预训练的第二机器学习模型中的输出层,由所述输出层输出预测结果。The output of the fourth layer of deep neural network is input to the output layer of the pre-trained second machine learning model, and the output layer outputs the prediction result.
PCT/CN2020/124702 2020-09-28 2020-10-29 Epidemic prevention and control effect prediction method and apparatus, and server and storage medium WO2021139336A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011043912.9 2020-09-28
CN202011043912.9A CN111933300B (en) 2020-09-28 2020-09-28 Epidemic situation prevention and control effect prediction method, device, server and storage medium

Publications (1)

Publication Number Publication Date
WO2021139336A1 true WO2021139336A1 (en) 2021-07-15

Family

ID=73335191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124702 WO2021139336A1 (en) 2020-09-28 2020-10-29 Epidemic prevention and control effect prediction method and apparatus, and server and storage medium

Country Status (2)

Country Link
CN (1) CN111933300B (en)
WO (1) WO2021139336A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628759A (en) * 2021-07-22 2021-11-09 中国科学院重庆绿色智能技术研究院 Infectious disease epidemic situation safety region prediction method based on big data
CN113658718A (en) * 2021-08-20 2021-11-16 清华大学 Individual epidemic prevention and control method and system
CN114596966A (en) * 2022-01-11 2022-06-07 南京邮电大学 Epidemic situation prediction analysis method and system for epidemic disease intelligent monitoring system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883286A (en) * 2020-12-11 2021-06-01 中国科学院深圳先进技术研究院 BERT-based method, equipment and medium for analyzing microblog emotion of new coronary pneumonia epidemic situation
CN112652403B (en) * 2020-12-25 2023-07-14 中国科学技术大学 Epidemic situation prediction method and device
CN112700884B (en) * 2020-12-31 2024-03-29 医渡云(北京)技术有限公司 Epidemic situation prevention and control effectiveness determining method and device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180150609A1 (en) * 2016-11-29 2018-05-31 Electronics And Telecommunications Research Institute Server and method for predicting future health trends through similar case cluster based prediction models
CN108417274A (en) * 2018-03-06 2018-08-17 东南大学 Forecast of epiphytotics method, system and equipment
CN108648829A (en) * 2018-04-11 2018-10-12 平安科技(深圳)有限公司 Disease forecasting method and device, computer installation and readable storage medium storing program for executing
CN109473180A (en) * 2018-11-20 2019-03-15 河南省疾病预防控制中心 A kind of Disease Control Agency information system based on B/S framework
CN110085327A (en) * 2019-04-01 2019-08-02 东莞理工学院 Multichannel LSTM neural network Influenza epidemic situation prediction technique based on attention mechanism

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844609B2 (en) * 2007-03-16 2010-11-30 Expanse Networks, Inc. Attribute combination discovery
CN111462917B (en) * 2020-03-02 2023-05-30 珠海中科先进技术研究院有限公司 Epidemic situation early warning method and system based on space geographic analysis and machine learning
CN111523006A (en) * 2020-04-14 2020-08-11 上海安洵信息技术有限公司 Network public opinion tracking method for epidemic situation area

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180150609A1 (en) * 2016-11-29 2018-05-31 Electronics And Telecommunications Research Institute Server and method for predicting future health trends through similar case cluster based prediction models
CN108417274A (en) * 2018-03-06 2018-08-17 东南大学 Forecast of epiphytotics method, system and equipment
CN108648829A (en) * 2018-04-11 2018-10-12 平安科技(深圳)有限公司 Disease forecasting method and device, computer installation and readable storage medium storing program for executing
CN109473180A (en) * 2018-11-20 2019-03-15 河南省疾病预防控制中心 A kind of Disease Control Agency information system based on B/S framework
CN110085327A (en) * 2019-04-01 2019-08-02 东莞理工学院 Multichannel LSTM neural network Influenza epidemic situation prediction technique based on attention mechanism

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628759A (en) * 2021-07-22 2021-11-09 中国科学院重庆绿色智能技术研究院 Infectious disease epidemic situation safety region prediction method based on big data
CN113658718A (en) * 2021-08-20 2021-11-16 清华大学 Individual epidemic prevention and control method and system
CN113658718B (en) * 2021-08-20 2024-02-27 清华大学 Individual epidemic situation prevention and control method and system
CN114596966A (en) * 2022-01-11 2022-06-07 南京邮电大学 Epidemic situation prediction analysis method and system for epidemic disease intelligent monitoring system
CN114596966B (en) * 2022-01-11 2024-04-19 南京邮电大学 Epidemic situation prediction analysis method and system for epidemic intelligent monitoring system

Also Published As

Publication number Publication date
CN111933300B (en) 2021-02-12
CN111933300A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
WO2021139336A1 (en) Epidemic prevention and control effect prediction method and apparatus, and server and storage medium
Unwin et al. State-level tracking of COVID-19 in the United States
Jin et al. Inter-series attention model for COVID-19 forecasting
WO2019196286A1 (en) Illness prediction method and device, computer device, and readable storage medium
WO2019196280A1 (en) Disease prediction method and device, computer device and readable storage medium
Soures et al. SIRNet: understanding social distancing measures with hybrid neural network model for COVID-19 infectious spread
Zhu et al. Can artificial intelligence enable the government to respond more effectively to major public health emergencies?——taking the prevention and control of Covid-19 in China as an example
Kumar et al. Predictive classification of covid-19: Assessing the impact of digital technologies
Koç et al. Forecasting of medical equipment demand and outbreak spreading based on deep long short-term memory network: the COVID-19 pandemic in Turkey
Bist et al. COVID-19 Wave Pattern Analysis: An Exhaustive Survey
Hu et al. Evaluating the effect of public health intervention on the global-wide spread trajectory of Covid-19
Martín et al. Leveraging social networks for understanding the evolution of epidemics
Tuli et al. Modelling for prediction of the spread and severity of COVID-19 and its association with socioeconomic factors and virus types
Boumans Flattening the curve is flattening the complexity of covid-19
Alkouz et al. Analysis and prediction of influenza in the UAE based on Arabic tweets
Huang et al. The analysis of isolation measures for epidemic control of COVID-19
Shi et al. Intervention optimization for crowd emotional contagion
Zhang et al. Usage of compartmental models in predicting COVID-19 outbreaks
Bhattacharjee et al. Inference on the dynamics of COVID-19 in the United States
Aung et al. A novel bidirectional LSTM deep learning approach for COVID-19 forecasting
Sharma et al. Universal epidemic curve for covid-19 and its usage for forecasting
US20190065689A1 (en) Alerting users to predicted health concerns
CN107122464A (en) A kind of aid decision-making system and method
Yang et al. Quantifying projected impact of social distancing policies on covid-19 outcomes in the us
Gao et al. Modeling US Health Agencies' Message Dissemination on Twitter and Users' Exposure to Vaccine-related Misinformation Using System Dynamics.

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20912072

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20912072

Country of ref document: EP

Kind code of ref document: A1