Basic reproduction number automatic derivation method and electronic equipment

Through the automatic derivation method of the basic reproduction number and the second-generation reproduction matrix solving algorithm, the problem of complex basic reproduction number calculation and difficult programming in the infectious disease dynamics model has been solved, efficient and accurate basic reproduction number calculation has been achieved, and the prevention and control of infectious diseases has been improved. Work efficiency and accuracy.

CN118692696BActive Publication Date: 2024-10-29HUNAN NORMAL UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411162948.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-10-29
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

In the existing technology, the calculation of the basic reproduction number is complex and difficult to program, which limits the application of infectious disease dynamics models in prevention and control work and cannot achieve efficient and accurate calculations.

Method used

An automatic derivation method of the basic reproduction number is proposed. Based on the SEIAQVHR model, a custom algorithm is determined, an automatic derivation platform for the basic reproduction number is constructed, and the basic reproduction number formula and results of the infectious disease dynamics model are directly output through the second-generation reproduction matrix solving algorithm.

Benefits of technology

It achieves efficient and accurate calculation of the basic reproduction number, simplifies the application of infectious disease dynamics models, and improves the efficiency and accuracy of prevention and control work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692696B_ABST
    Figure CN118692696B_ABST
Patent Text Reader

Abstract

The present application relates to the field of infectious disease prediction, and provides a basic reproduction number automatic derivation method and electronic equipment. The method determines a custom algorithm for basic reproduction number derivation based on an input SEIAQVHR model, and constructs a basic reproduction number automatic derivation platform based on the custom algorithm; the expression of the infectious disease dynamics model to be derived is input into the basic reproduction number automatic derivation platform, and the basic reproduction number automatic derivation platform is used to output the basic reproduction number formula and basic reproduction number of the infectious disease dynamics model to be derived. The above method can improve the calculation efficiency and accuracy of the basic reproduction number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of infectious disease prediction, and in particular to a method for automatically deriving a basic reproduction number and an electronic device. Background Art

[0002] Infectious disease dynamics is an important research field in public health and epidemiology, which aims to study the mechanism of disease transmission in the population. Among them, the Basic Reproduction Number (R0) is an important indicator to measure the transmission capacity of infectious diseases. It reflects how many susceptible people an infected person can infect without external intervention. The calculation of R0 is crucial for assessing the severity of infectious diseases and formulating prevention and control strategies, but because it is affected by many factors, the calculation process is complicated and difficult.

[0003] In the related technology, the calculation formula of R0 must be re-derived and programmed for each new infectious disease dynamics model, which greatly slows down the work or scientific research efficiency. In addition, when using related general software (such as MATLAB, etc.) to calculate R0, the requirements for original data are high, resulting in a time-consuming and labor-intensive data sampling process; and the programming is difficult, and it is impossible to present the calculation formula of R0 and guarantee the calculation accuracy of R0. Summary of the invention

[0004] In view of the above, it is necessary to propose a basic reproduction number automatic derivation method and electronic equipment, which can solve the problem of being unable to efficiently and accurately calculate the basic reproduction number due to the difficulty in calculating and programming the basic reproduction number.

[0005] An embodiment of the present application provides a method for automatic derivation of a basic reproduction number, the method comprising: determining a custom algorithm for derivation of a basic reproduction number based on an input SEIAQVHR model, and constructing an automatic derivation platform for a basic reproduction number based on the custom algorithm; inputting an expression of an infectious disease dynamics model to be derived into the automatic derivation platform for the basic reproduction number, and using the automatic derivation platform for the basic reproduction number to output a basic reproduction number formula and a basic reproduction number of the infectious disease dynamics model to be derived.

[0006] In one embodiment, the SEIAQVHR model includes:

[0007]

[0008]

[0009] in, S Indicates susceptible population, E Indicates the incubation period population, I Indicates the population with obvious infection,A Indicates asymptomatic infection population. It means that susceptible people are isolated from the crowd. Indicates the isolation of patients in the incubation period. V Indicates the vaccination population, H Indicates the hospitalized population, R It means to move out of the crowd. Indicates time; Indicates the effective wearing rate of masks, represents the effective vaccination rate, represents the isolation rate of susceptible population, It indicates the infection rate of the latent population to the susceptible population. represents the infection rate of the apparent infected population to the susceptible population, It indicates the infection rate of asymptomatic infected people to susceptible people. represents the isolation rate of the population during the incubation period, It indicates the rate at which the latent population is transformed into the overtly infected population. It represents the probability of latent population transforming into explicit infection population. represents the hospitalization rate of the population with apparent infection, represents the hospitalization rate of asymptomatic infected people, represents the rate of population migration of overtly infected people, represents the rate of asymptomatic infection population removal, represents the rate of hospitalized population removal.

[0010] In one embodiment, the custom algorithm for deriving the basic regeneration number based on the input SEIAQVHR model includes: determining a first influencing parameter of the basic regeneration number corresponding to the SEIAQVHR model; simplifying and updating the SEIAQVHR model according to the first influencing parameter to obtain a SEIA model corresponding to the first influencing parameter; and determining the custom algorithm based on a second-generation regeneration matrix solution algorithm for the basic regeneration number of the SEIA model, wherein the custom algorithm includes a basic regeneration number formula for the basic regeneration number.

[0011] In one embodiment, the SEIA model includes:

[0012] ,

[0013] ,

[0014] ,

[0015] ,

[0016] in, Indicates susceptible population, Indicates the incubation period population, Indicates the population with obvious infection, Indicates asymptomatic infection population. Indicates time; Indicates the effective wearing rate of masks, represents the effective vaccination rate, represents the isolation rate of susceptible population, It indicates the infection rate of the latent population to the susceptible population. represents the infection rate of the apparent infected population to the susceptible population, It indicates the infection rate of asymptomatic infected people to susceptible people. represents the isolation rate of the population during the incubation period, It indicates the rate at which the latent population is transformed into the overtly infected population. It represents the probability of latent population transforming into explicit infection population. represents the hospitalization rate of the population with apparent infection, represents the hospitalization rate of asymptomatic infected people, represents the rate of population migration of overtly infected people, Represents the rate of asymptomatic infection outflow.

[0017] In one embodiment, the second generation regeneration matrix solution algorithm of the basic regeneration number of the SEIA model includes:

[0018] Determine the disease-free equilibrium point of the SEIA model ,in ,

[0019] set up ,get:

[0020] ,

[0021] in,

[0022] ,

[0023] ,

[0024] The calculation results are:

[0025]

[0026] ,

[0027] ,

[0028] Then confirm

[0029]

[0030] Determined by the second generation regeneration matrix algorithm The spectral radius is used as the basic reproduction number formula of the SEIA model :

[0031] .

[0032] In one embodiment, the method further comprises:

[0033] The basic reproduction number automatic derivation platform is used to derive the test basic reproduction number of the preset test infectious disease dynamics model based on the custom algorithm, and the accuracy of the test basic reproduction number is verified; wherein, the preset test infectious disease dynamics model includes: SEAIQVHR model, SEIR model, SEIAR model.

[0034] In one embodiment, inputting the expression of the infectious disease dynamics model to be derived into the basic reproduction number automatic derivation platform includes: determining a second influencing parameter of the basic reproduction number corresponding to the infectious disease dynamics model to be derived; simplifying and updating the infectious disease dynamics model to be derived according to the second influencing parameter to obtain an updated model; and inputting the expression in the updated model into the basic reproduction number automatic derivation platform according to preset input rules, wherein the expression includes a differential expression and a variable expression.

[0035] In one embodiment, the use of the basic reproduction number automatic derivation platform to output the basic reproduction number formula and the basic reproduction number of the infectious disease dynamics model to be derived includes: using the basic reproduction number automatic derivation platform to parse the expression of the infectious disease dynamics model to be derived to obtain the parsed result and numerical result of each character in the expression; according to the parsed result and numerical result of each character, determining the basic reproduction number formula and the basic reproduction number of the infectious disease dynamics model to be derived based on the second-generation reproduction matrix solution algorithm.

[0036] In one embodiment, the method further includes: using the basic reproduction number automatic derivation platform to traverse and parse the input variable expression, determine the variable letters in the variable expression, and store the variable letters in a character list container; and determining the numerical values ​​corresponding to the variable letters, and storing the numerical values ​​corresponding to the variable letters in a numerical list container; using the basic reproduction number automatic derivation platform to preprocess and parse the input differential expression to obtain a preprocessing parsing result, and storing the preprocessing parsing result in a character container corresponding to the differential expression, wherein the preprocessing parsing result includes the variable letters included in the differential expression; and storing the differential expression after preprocessing parsing in the character list container corresponding to the differential expression, wherein the differential expression after preprocessing parsing includes the complete expression of the corresponding differential expression.

[0037] An embodiment of the present application provides an automatic derivation device for a basic reproduction number, the device comprising: a platform construction module, for determining a custom algorithm for derivation of a basic reproduction number based on an input SEIAQVHR model, and constructing an automatic derivation platform for a basic reproduction number based on the custom algorithm; a platform application module, for inputting an expression of an infectious disease dynamics model to be derived into the automatic derivation platform for a basic reproduction number, and using the automatic derivation platform for a basic reproduction number to output a basic reproduction number formula and a basic reproduction number of the infectious disease dynamics model to be derived.

[0038] An embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the processor is configured to implement the basic reproduction number automatic derivation method when executing a computer program stored in the memory.

[0039] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the basic reproduction number automatic derivation method is implemented.

[0040] To sum up, the method for automatic derivation of the basic reproduction number described in this application can provide a derivation algorithm for the basic reproduction number R0 of respiratory infectious diseases based on the second-generation regeneration matrix method, and develop a related platform on this basis. The platform can respond to the infectious disease dynamics model and related parameters input by the user, and directly output the calculation formula and results of its basic reproduction number R0 to solve the problem of difficult calculation and programming of the basic reproduction number R0, and realize efficient and accurate calculation of the basic reproduction number, so that it can be more widely used in actual prevention and control work. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a structural diagram of an electronic device provided in one embodiment of the present application.

[0042] Figure 2 It is a flowchart of a method for automatically deriving a basic reproduction number provided in one embodiment of the present application.

[0043] Figure 3 Schematic diagram of the SEIAQVHR model provided in one embodiment of the present application.

[0044] Figure 4 It is a schematic diagram of the interface of the basic reproduction number automatic derivation platform provided in one embodiment of the present application.

[0045] Figure 5 It is a flowchart of a method for automatically deriving a basic reproduction number provided by another embodiment of the present application.

[0046] Figure 6 A structural diagram of a basic reproduction number automatic derivation device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing the embodiments in one embodiment and are not intended to limit this application.

[0049] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0050] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The following embodiments and features in the embodiments may be combined with each other without conflict.

[0051] Infectious disease dynamics is an important research field in public health and epidemiology, which aims to study the transmission mechanism of diseases in the population. The dynamic model is a method that divides the population into different compartments according to the occurrence and spread of infectious diseases, simulates and displays the disease development process with a set of differential equations, and solves the equations using methods such as the fourth-order Runge-Kutta method to predict the development trend of the disease, which can provide a strong reference for the formulation of infectious disease prevention and control strategies.

[0052] Basic Reproduction Number (R0) (or ) is an important indicator for measuring the ability of infectious diseases to spread. It reflects the average number of other susceptible people that an infected person transmits the disease to during his or her average illness period without external intervention, and can be used to measure the ability of infectious diseases to spread. When R0>1, the infectious disease will continue to spread among the population. The larger the R0, the faster the spread and the higher the risk of the epidemic. When R0=1, the incidence rate will remain at a stable level, reaching the "disease-free equilibrium point". When R0<1, the infectious disease will gradually disappear and will not cause a large-scale epidemic.

[0053] The calculation of R0 is crucial for assessing the severity of infectious diseases and formulating prevention and control strategies, but because it is affected by many factors, the calculation process is complex and difficult. In related technologies, for each new infectious disease dynamics model, the calculation formula of R0 must be re-derived and programmed. The calculation process is very complicated, involving a lot of matrix operations and calculation of total derivatives. For workers or researchers with relatively weak mathematical foundations, every time a new infectious disease dynamics model is established, the calculation formula of the basic reproduction number must be re-derived and programmed, which greatly slows down the efficiency of work or scientific research.

[0054] In addition, when using relevant general software (such as MATLAB, etc.) to calculate R0, the requirements for the original data are high, and the Markov chain Monte Carlo method needs to be used to resample the generation time. The steps are relatively cumbersome. If there is no generation time, it is necessary to refer to other literature and determine the distribution parameters of the generation time before the operation. The program writing is relatively complicated, and the program needs to be modified every time the operation is performed. It is easy to make mistakes during the operation, which greatly limits the application of infectious disease dynamics models in actual prevention and control work. Moreover, these software can only provide R0 calculation results, and do not display the R0 calculation formula. It is impossible to use mathematical theory methods to verify the calculation results, and it is impossible to further analyze R0 according to the formula, such as R0 sensitivity analysis and influencing factor analysis. It is urgent to develop special software or platforms for prevention and control workers or scientific researchers to use.

[0055] To solve the above problems, the embodiments of the present application provide a method for automatically deriving a basic reproduction number, which can provide a derivation algorithm for the basic reproduction number R0 of respiratory infectious diseases based on the second-generation regeneration matrix method, and develop a related platform on this basis. The platform can respond to the infectious disease dynamics model and related parameters input by the user, and directly output the calculation formula and results of its basic reproduction number R0, so as to solve the problem of difficult calculation and programming of the basic reproduction number R0, realize efficient and accurate calculation of the basic reproduction number, and allow it to be more widely used in actual prevention and control work.

[0056] Figure 1 The electronic device 10 can be a computer, a server, a mobile phone, a tablet computer, a notebook computer, or other electronic devices. The specific type of the electronic device is not limited in any way in the embodiment of the present application.

[0057] like Figure 1 As shown, the electronic device 10 may include a communication module 101, a memory 102, a processor 103, an input / output (I / O) interface 104 and a bus 105. The processor 103 is coupled to the communication module 101, the memory 102 and the I / O interface 104 through the bus 105.

[0058] The communication module 101 may include a wired communication module and / or a wireless communication module. The wired communication module may provide one or more wired communication solutions such as universal serial bus (USB), controller area network bus (CAN), etc. The wireless communication module may provide one or more wireless communication solutions such as wireless fidelity (Wi-Fi), bluetooth (BT), mobile communication network, frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0059] The memory 102 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory can be directly read and written by the processor 103, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data. The random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), etc.

[0060] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 103. The non-volatile memory may include a disk storage device and a flash memory.

[0061] The memory 102 is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 103. The one or more computer programs include a plurality of instructions, and when the plurality of instructions are executed by the processor 103, the basic reproduction number automatic derivation method executed on the electronic device 10 can be implemented.

[0062] In other embodiments, the electronic device 10 further includes an external memory interface for connecting to an external memory to expand the storage capacity of the electronic device 10 .

[0063] The processor 103 may include one or more processing units, for example, the processor 103 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0064] The processor 103 provides computing and control capabilities. For example, the processor 103 is used to execute a computer program stored in the memory 102 to implement the above-mentioned basic reproduction number automatic derivation method.

[0065] The I / O interface 104 is used to provide a channel for user input or output. For example, the I / O interface 104 can be used to connect various input and output devices, such as a mouse, keyboard, touch device, display screen, etc., so that the user can enter information or visualize information.

[0066] The bus 105 is at least used to provide a channel for mutual communication among the communication module 101 , the memory 102 , the processor 103 , and the I / O interface 104 in the electronic device 10 .

[0067] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0068] Figure 2 is a flow chart of a method for automatically deriving a basic reproduction number provided by an embodiment of the present application. The method for automatically deriving a basic reproduction number is applied to electronic devices, such as Figure 1 The electronic device 10 in the flowchart specifically includes the following steps. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0069] Step S21, determining a custom algorithm for deriving the basic reproduction number based on the input SEIAQVHR model, and constructing a basic reproduction number automatic derivation platform based on the custom algorithm.

[0070] In one embodiment, in order to construct a typical infectious disease dynamics model, and thus construct a basic reproduction number derivation platform (hereinafter referred to as the platform) based on a typical infectious disease dynamics model, literature related to respiratory infectious diseases can be consulted to summarize the transmission characteristics of respiratory infectious diseases. For example, through data summary, it can be determined that the transmission characteristics of respiratory infectious diseases include: mainly transmitted through air, droplets, direct contact, etc., with fast transmission speed and wide range, the general susceptibility of the population, most respiratory infectious diseases have an incubation period, and patients and invisible infected persons are their main sources of infection.

[0071] In one embodiment, considering the characteristics of respiratory infectious diseases, a SEIAQVHR model that can be applied to most actual situations of respiratory infectious diseases is constructed. There are 9 compartments in the SEIAQVHR model: susceptible population (S), latent population (E), obvious infection population (I), asymptomatic infection population (A), susceptible isolation population ( ), quarantined population of patients in the incubation period ( ), vaccinated population (V), hospitalized population (H), and removed population (R); there are 14 parameters in total, including: the infection rate of the latent population to the susceptible population ( ), the infection rate of the apparent infected population to the susceptible population ( ), the infection rate of asymptomatic infected people to susceptible people ( ), effective vaccination rate ( ), effective mask wearing rate ( ), isolation rate of susceptible population ( ), isolation rate of latent population ( ), the rate at which latent populations transform into overtly infected populations ( ), the probability of latent infection population turning into obvious infection population (p), and the hospitalization rate of obvious infection population ( ), hospitalization rate of asymptomatic infection population ( ), the rate of population migration of overtly infected people ( ), asymptomatic infection population migration rate ( ), hospitalization population removal rate ( ).

[0072] Specifically, the SEIAQVHR model includes the following features:

[0073] ① The model not only has an incubation period, but also the latent population is contagious; assuming that susceptible people (S) become latent population (E) after being infected, and the latent population may become explicit infected people (I) or latent infected people (A) after an incubation period. The latent population, explicit infected people and latent infected people are all contagious, but the transmission probability (β) is different;

[0074] ② Susceptible people (S) and people in the incubation period (E) have a certain probability of becoming isolated people (Q); relevant parameters can be adjusted according to actual conditions. If no isolation measures are taken, the isolation parameters can be set to 0;

[0075] ③ Overtly infected persons (I) and latently infected persons (A) have a certain probability of becoming hospitalized persons (H); relevant parameters can be adjusted according to actual conditions. If there are no hospitalized persons for latently infected persons, the hospitalization rate can be set to 0;

[0076] ④ Susceptible people (S) have a certain probability of receiving relevant vaccines; the study found that common respiratory infectious diseases are generally susceptible to the general population, and only a few infectious diseases are susceptible to special ages (children or the elderly) and special populations (males or females); respiratory infectious diseases such as influenza have corresponding vaccines, so adding vaccination measures to susceptible populations and establishing chambers V can play a certain protective role for susceptible people;

[0077] ⑤ Because the epidemic period of respiratory infectious diseases is relatively short, the population mobility, natural population growth and mortality during this period are not taken into consideration.

[0078] For example Figure 3 As shown, it is a schematic diagram of the SEIAQVHR model provided in the embodiment of the present application. Specifically, the SEIAQVHR model includes:

[0079]

[0080] in, S Indicates susceptible population, E Indicates the incubation period population, I Indicates the population with obvious infection, A Indicates asymptomatic infection population. It means that susceptible people are isolated from the crowd. Indicates the isolation of patients in the incubation period. V Indicates the vaccination population, H Indicates the hospitalized population, R It means to move out of the crowd. Indicates time; Indicates the effective wearing rate of masks, represents the effective vaccination rate, represents the isolation rate of susceptible population, It indicates the infection rate of the latent population to the susceptible population. represents the infection rate of the apparent infected population to the susceptible population, It indicates the infection rate of asymptomatic infected people to susceptible people. represents the isolation rate of the population during the incubation period, It indicates the rate at which the latent population is transformed into the overtly infected population. It represents the probability of latent population transforming into explicit infection population. represents the hospitalization rate of the population with apparent infection, represents the hospitalization rate of asymptomatic infected people, represents the rate of population migration of overtly infected people, represents the rate of asymptomatic infection population removal, represents the rate of hospitalized population removal.

[0081] In one embodiment, when determining a custom algorithm for deriving a basic regeneration number based on an input SEIAQVHR model, a first influencing parameter of the basic regeneration number corresponding to the SEIAQVHR model can be determined; the SEIAQVHR model is simplified and updated according to the first influencing parameter to obtain a SEIA model corresponding to the first influencing parameter; and the custom algorithm is determined according to a second-generation regeneration matrix solution algorithm for the basic regeneration number of the SEIA model, wherein the custom algorithm includes a basic regeneration number formula for the basic regeneration number.

[0082] Specifically, combining the actual calculation process of the second-generation regeneration matrix method and the characteristics of the R0 expression, parameters or differential equations that are not related to R0 are omitted in the calculation process, and the parts of the model that do not affect the calculation of the basic regeneration number are simplified, thereby determining the first influencing parameter of the basic regeneration number corresponding to the SEIAQVHR model; and the SEIAQVHR model is simplified and updated according to the first influencing parameter.

[0083] For example, in the SEIAQVHR model, the S (susceptible), E (latent population), I (explicit infection), and A (latent infection) compartments in the model can be determined as the first influencing parameters, because the populations in other compartments do not participate in the spread of infectious diseases, thus obtaining the SEIA model corresponding to the first influencing parameter. Moreover, the simplified SEIA model still represents the SEIAQVHR model. The purpose of simplification is only to facilitate the calculation of the basic reproduction number of the model. After simplification, the calculation program that originally required a 9th-order matrix was simplified to a 3rd-order matrix calculation program, so that the calculation efficiency of R0 can be improved while accurately calculating R0 of the SEIAQVHR model.

[0084] In one embodiment, the SEIA model includes:

[0085]

[0086] in, Indicates susceptible population, Indicates the incubation period population, Indicates the population with obvious infection, Indicates asymptomatic infection population. Indicates time; Indicates the effective wearing rate of masks, represents the effective vaccination rate, represents the isolation rate of susceptible population, It indicates the infection rate of the latent population to the susceptible population. represents the infection rate of the apparent infected population to the susceptible population, It indicates the infection rate of asymptomatic infected people to susceptible people. represents the isolation rate of the population during the incubation period, It indicates the rate at which the latent population is transformed into the overtly infected population. It represents the probability of latent population transforming into explicit infection population. represents the hospitalization rate of the population with apparent infection, represents the hospitalization rate of asymptomatic infected people, represents the rate of population migration of overtly infected people, Represents the rate of asymptomatic infection outflow.

[0087] In one embodiment, the second generation regeneration matrix solution algorithm of the basic regeneration number of the SEIA model includes:

[0088] Assume that the right side of the SEIA model equations is 0 and determine the disease-free equilibrium point of the SEIA model. ,in ,

[0089] set up ,get:

[0090] ,

[0091] in,

[0092]

[0093] The calculation results are:

[0094]

[0095] ,

[0096] ,

[0097] Then confirm

[0098]

[0099] Determined by the second generation regeneration matrix algorithm The spectral radius is used as the basic reproduction number formula of the SEIA model :

[0100] .

[0101] In one embodiment, when building a platform based on the custom algorithm, the platform's input rules can be defined, the platform's reading and parsing rules for input data and data storage rules can be defined, and software programming and initial output rules can be defined based on the custom algorithm, thereby constructing a platform for deriving the basic reproduction number for the infectious disease dynamics model.

[0102] In one example, when defining the input rules of the platform, the platform's input standards can be modularized through repeated experiments to determine the input order of the model and various parameters during the input process. During the model input process, the simplified model only needs to be input in the form of a differential equation system. For example, the SEIAQVHR model only needs to input the differential equations of the SEIA population, and each differential equation is separated by a percentage sign (%). During the equation input process, each population or compartment first inputs the increase term of the population flow, and after the increase term of the population is fully input, the decrease term of the population is input, and the minus sign (-) of the decrease term is represented in brackets to achieve that each term in the equation is connected by a positive sign (+). And when entering the equation, enter it in the form of a fully expanded expression in the equation.

[0103] For example Figure 4 As shown, the input of SEIAQVHR model in the platform is:

[0104] dS / dt = βSE + βSEμ + βSEο + αSI + αSIμ + αSIο + δSA + δSAμ + δSAο +(-βSE) + (-αSI) + (-δSA) + (-μS) + (-οS)

[0105] %

[0106] dE / dt = βSE + αSI + δSA + (-βSE ) + (-βSEμ) + (-βSEο) + (-αSI ) + (-αSIμ) + (-αSIο) + (-δSA ) + (-δSAμ) + (-δSAο) + (-νE) + (-ωE)

[0107] %

[0108] dI / dt = ωpE + (-λI) + (-γI)

[0109] %

[0110] dA / dt = ωE + (-ωpE) + (-κA) + (-γA)

[0111] %

[0112] S=1400000000

[0113] %

[0114] E=950

[0115] %

[0116] I=395

[0117] %

[0118] A=300

[0119] %

[0120] β=7e-11

[0121] %

[0122] α=5e-11

[0123] %

[0124] δ=4e-11

[0125] %

[0126] =0.05

[0127] %

[0128] μ=0.0327

[0129] %

[0130] o=0100193

[0131] %

[0132] v=0.0024

[0133] %

[0134] p=0.3

[0135] %。

[0136] In one embodiment, when defining the platform's reading and parsing rules and data storage rules for input data, the basic reproduction number automatic derivation platform can be used to traverse and parse the input variable expression, determine the variable letters in the variable expression, and store the variable letters in a character list container; and determine the numerical values ​​corresponding to the variable letters, and store the numerical values ​​corresponding to the variable letters in a numerical list container; use the basic reproduction number automatic derivation platform to preprocess and parse the input differential expression to obtain a preprocessing parsing result, and store the preprocessing parsing result in a character container corresponding to the differential expression, wherein the preprocessing parsing result includes the variable letters included in the differential expression; and store the differential expression after preprocessing parsing in a character list container corresponding to the differential expression, wherein the differential expression after preprocessing parsing includes the complete expression of the corresponding differential expression.

[0137] In one example, all letters can be saved in a container according to the requirements of the input model and the second generation regeneration matrix. For example:

[0138] QStringList m_strVariableList: Character list container, used to store all input variable letters; QList <double>m_dVariableList: a numeric list container, used to store the values ​​corresponding to all input variable letters;

[0139] QString m_strExpression_S: character type container, used to store the dS / dt expression after preliminary parsing; QStringList m_strList_Expression_S: character type list container, used to store the complete dS / dt expression after preprocessing;

[0140] QString m_strExpression_E: character type container, used to store the dE / dt expression after preliminary parsing; QStringList m_strList_Expression_E: character type list container, used to store the complete dE / dt expression after preprocessing;

[0141] QString m_strExpression_I: Character container used to store the dI / dt expression after preliminary parsing;

[0142] QStringList m_strList_Expression_I: character list container, used to store the complete dI / dt expression after preprocessing;

[0143] QString m_strExpression_A: Character container, used to store the dA / dt expression after preliminary parsing;

[0144] QStringList m_strList_Expression_A: character list container, used to store the complete dA / dt expression after preprocessing;

[0145] double m_dMatrix_F : F matrix is ​​used to store F matrix data;

[0146] double m_dMatrix_V: V matrix is ​​used to store V matrix data.

[0147] S22, inputting the expression of the infectious disease dynamics model to be derived into the basic reproduction number automatic derivation platform, and using the basic reproduction number automatic derivation platform to output the basic reproduction number formula and basic reproduction number of the infectious disease dynamics model to be derived.

[0148] In one embodiment, the platform can parse the input data based on the reading and parsing rules, and store the input data based on the data storage rules. It can also directly derive the basic reproduction number of the infectious disease dynamics model to be derived based on the program corresponding to the custom algorithm in the platform software.

[0149] In one embodiment, the inputting of the expression of the infectious disease dynamics model to be derived into the basic reproduction number automatic derivation platform includes: determining the second influencing parameter of the basic reproduction number corresponding to the infectious disease dynamics model to be derived (such as the SEAIQVHR model) (such as S (susceptible persons), E (latent population), I (explicitly infected persons), A (latently infected persons)); simplifying and updating the infectious disease dynamics model to be derived according to the second influencing parameter to obtain an updated model; and inputting the expression in the updated model into the basic reproduction number automatic derivation platform according to preset input rules, wherein the expression includes a differential expression and a variable expression. The second influencing parameter may be the same as or different from the first influencing parameter, and the second influencing parameter may be determined according to actual needs. For example, the second influencing parameter input by the user may be received.

[0150] In one embodiment, using the basic reproduction number automatic derivation platform to output the basic reproduction number formula and basic reproduction number of the infectious disease dynamics model to be derived includes: using the basic reproduction number automatic derivation platform to parse the expression of the infectious disease dynamics model to be derived to obtain the parsing result and numerical result of each character in the expression; according to the parsing result and numerical result of each character, determining the basic reproduction number formula and basic reproduction number of the infectious disease dynamics model to be derived based on the second-generation reproduction matrix solution algorithm. For example Figure 4 As shown, the output result is:

[0151] R0= (-βS -βSμ-βSο+βS)[{1 / -(κ+γ)( λ+γ)( ν+ω)}{-(κ+γ)( λ+γ)}]+[ -δS -δSμ-δSο+δS] [{1 / -(κ+γ)( λ+γ)( ν+ω)}{( λ+γ)(-(ω+ωp))]+ [ -αS -αSμ-αSο+αS] [{1 / -(κ+γ)( λ+γ)( ν+ω)}{ (-ωp) ( κ+γ)}]=1.44986.

[0152] In one example, the platform software parses each independent element, performs string traversal and parsing on each item, obtains the corresponding matrix, and quickly calculates the basic reproduction number formula and numerical results through the determinant. The specific implementation method of the software is: all input variable expressions will be traversed and parsed uniformly (for example: S= 10000), split into two parts by "=", the letter part 'S' is stored in the variable letter container (QStringList m_strVariableList), and the value 10000 is stored in QList <double>In the m_dVariableList numerical variable container, all dS, dE, dI, and dA expressions are preprocessed and parsed, and the preprocessed expressions are stored in the corresponding character containers and character list containers (for example, m_strExpression_S and m_strList_Expression_S), and the expressions are used through a custom algorithm to obtain the Fx and Vx matrices. Vx is calculated through fast determinant calculation to obtain |V| and V*, and then the inverse matrix of V is obtained. Fx is multiplied by the inverse matrix of V to obtain the basic reproduction number formula, which is substituted into the data in the corresponding m_dVariableList numerical list container to obtain R0.

[0153] In one embodiment, the method also includes: using the basic reproduction number automatic derivation platform to derive a test basic reproduction number of a preset test infectious disease dynamics model based on the custom algorithm, and verifying the accuracy of the test basic reproduction number; wherein the preset test infectious disease dynamics model includes but is not limited to: SEAIQVHR model, SEIR model, SEIAR model.

[0154] In one example, multiple users can perform mathematical theoretical derivation on the input respiratory infectious disease dynamics model multiple times, and manually derive the basic reproduction number of the model. The results obtained will be used to verify the credibility of the software calculation results. After multiple verifications, it was found that whether it is the SEAIQVHR model or the simplified SEIR and SEIAR models, the software can accurately derive the basic reproduction number formula of the corresponding model.

[0155] The automatic derivation method of the basic reproduction number provided in this application can implement the second-generation reproduction matrix method in computer software through programming, enriching the application in this field, preliminarily realizing partial automation in the field of respiratory infectious disease dynamics model, and laying an application foundation for further realizing automatic prediction of infectious disease epidemics. For workers or scientific researchers with relatively weak mathematical foundations, it greatly shortens working hours and improves work efficiency, enabling relevant departments and their staff to respond and judge the spread of infectious diseases more quickly, and expanding the application of infectious disease dynamics models in actual prevention and control work.

[0156] refer to Figure 5 As shown, it is a flow chart of the method for automatically deriving the basic reproduction number provided by another embodiment of the present application. The method comprises: consulting relevant literature on respiratory infectious diseases, constructing corresponding dynamic models according to different infectious diseases; summarizing the characteristics of the spread of respiratory infectious diseases and selecting the SEIAQVHR model as a reference model for software development. Combining the actual calculation process of the second-generation regeneration matrix method and the characteristics of the R0 expression, parameters or differential equations unrelated to R0 are omitted in the calculation process, and the parts of the model that do not affect the calculation of the basic reproduction number are simplified, and the basic reproduction number of the SEIAQVHR model is artificially derived. The model input rules of the software are specified: after repeated experiments, the input standards of the platform are modularized, and the input order of the model and various parameters during the input process is determined; according to the requirements of the model and the second-generation regeneration matrix, all letters are saved in a container. According to the constructed model and the algorithm of the second-generation regeneration matrix, the corresponding computer program is written to obtain the results and verify them.

[0157] Figure 6 It is a structural diagram of a basic reproduction number automatic derivation device provided in one embodiment of the present application.

[0158] In some embodiments, the basic reproduction number automatic derivation device 60 may include a plurality of functional modules composed of computer program segments. The computer programs of the various program segments in the basic reproduction number automatic derivation device 60 may be stored in a memory of an electronic device and executed by at least one processor to perform (see Figure 2 Description) Functionality for counterfactual data augmentation.

[0159] In this embodiment, the basic reproduction number automatic derivation device 60 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a platform construction module 601 and a platform application module 602. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functional implementation of each module in the basic reproduction number automatic derivation device 60 can refer to the above definition of the basic reproduction number automatic derivation method, and will not be repeated here.

[0160] The platform construction module 601 is used to determine a custom algorithm for basic reproduction number derivation based on the input SEIAQVHR model, and to construct a basic reproduction number automatic derivation platform based on the custom algorithm.

[0161] The platform application module 602 is used to input the expression of the infectious disease dynamics model to be derived into the basic reproduction number automatic derivation platform, and use the basic reproduction number automatic derivation platform to output the basic reproduction number formula and basic reproduction number of the infectious disease dynamics model to be derived.

[0162] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions. The method implemented when the program instructions are executed can refer to the methods in the above-mentioned embodiments of the present application.

[0163] The computer-readable storage medium may be an internal memory of the electronic device described in the above embodiment, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device.

[0164] In some embodiments, the computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc.

[0165] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0166] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0167] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.< / double> < / double>

Claims

1. A method for automatically deriving a basic reproduction number, characterized in that: The method comprises: Determining a custom algorithm for deriving a basic reproduction number based on an input SEIAQVHR model, including: determining a first influencing parameter of a basic reproduction number corresponding to the SEIAQVHR model; simplifying and updating the SEIAQVHR model according to the first influencing parameter to obtain a SEIA model corresponding to the first influencing parameter; determining the custom algorithm according to a second generation reproduction matrix solution algorithm of the basic reproduction number of the SEIA model, wherein the custom algorithm includes a basic reproduction number formula of the basic reproduction number; Constructing a basic reproduction number automatic derivation platform based on the custom algorithm, including: defining the platform's input rules, defining the platform's reading and parsing rules for input data and data storage rules, and performing software programming and defining initial output rules based on the custom algorithm, thereby constructing a platform for derivation of the basic reproduction number of an infectious disease dynamics model; The expression of the infectious disease dynamics model to be derived is input into the basic reproduction number automatic derivation platform, and the basic reproduction number automatic derivation platform is used to output the basic reproduction number formula and basic reproduction number of the infectious disease dynamics model to be derived.

2. The basic reproduction number automatic derivation method according to claim 1, characterized in that: The SEIAQVHR model includes: in, S Indicates susceptible population, E Indicates the incubation period population, I Indicates the population with obvious infection, A Indicates asymptomatic infection population. It means that susceptible people are isolated from the crowd. Indicates the isolation of patients in the incubation period. V Indicates the vaccination population, H Indicates the hospitalized population, R It means to move out of the crowd. Indicates time; Indicates the effective wearing rate of masks, represents the effective vaccination rate, represents the isolation rate of susceptible population, It indicates the infection rate of the latent population to the susceptible population. represents the infection rate of the apparent infected population to the susceptible population, It indicates the infection rate of asymptomatic infected people to susceptible people. represents the isolation rate of the population during the incubation period, It indicates the rate at which the latent population is transformed into the overtly infected population. It represents the probability of latent population transforming into explicit infection population. represents the hospitalization rate of the population with apparent infection, represents the hospitalization rate of asymptomatic infected people, represents the migration rate of the overtly infected population, represents the rate of asymptomatic infection population removal, represents the rate of hospitalized population removal.

3. The basic reproduction number automatic derivation method according to claim 1, characterized in that: The SEIA model includes: in, Indicates susceptible population, Indicates the incubation period population, Indicates the population with obvious infection, Indicates asymptomatic infection population. Indicates time; Indicates the effective wearing rate of masks, represents the effective vaccination rate, represents the isolation rate of susceptible population, It indicates the infection rate of the latent population to the susceptible population. represents the infection rate of the apparent infected population to the susceptible population, It indicates the infection rate of asymptomatic infected people to susceptible people. represents the isolation rate of the population during the incubation period, It indicates the rate at which the latent population is transformed into the overtly infected population. It represents the probability of latent population transforming into explicit infection population. represents the hospitalization rate of the population with apparent infection, represents the hospitalization rate of asymptomatic infected people, represents the migration rate of the overtly infected population, Represents the rate of asymptomatic infection outflow.

4. The basic reproduction number automatic derivation method according to claim 3 is characterized in that: The second generation regeneration matrix solution algorithm of the basic regeneration number of the SEIA model includes: Determine the disease-free equilibrium point of the SEIA model ,in , set up ,get: , in, The calculation results are: Then confirm Determined by the second generation regeneration matrix algorithm The spectral radius is used as the basic reproduction number formula of the SEIA model : 。 5. The basic reproduction number automatic derivation method according to claim 1, characterized in that: The method further comprises: The basic reproduction number automatic derivation platform is used to derive the test basic reproduction number of the preset test infectious disease dynamics model based on the custom algorithm, and the accuracy of the test basic reproduction number is verified; wherein, the preset test infectious disease dynamics model includes: SEAIQVHR model, SEIR model, SEIAR model.

6. The basic reproduction number automatic derivation method according to claim 1, characterized in that: The step of inputting the expression of the infectious disease dynamics model to be derived into the basic reproduction number automatic derivation platform comprises: Determine a second influencing parameter of the basic reproduction number corresponding to the infectious disease dynamics model to be derived; Simplifying and updating the infectious disease dynamics model to be derived according to the second influencing parameter to obtain an updated model; The expression in the update model is input into the basic reproduction number automatic derivation platform according to preset input rules, wherein the expression includes a differential expression and a variable expression.

7. The basic reproduction number automatic derivation method according to claim 4, characterized in that: The method of using the basic reproduction number automatic derivation platform to output the basic reproduction number formula and the basic reproduction number of the infectious disease dynamics model to be derived includes: Using the basic reproduction number automatic derivation platform to parse the expression of the infectious disease dynamics model to be derived, and obtaining the parsing result and numerical result of each character in the expression; According to the parsing results and numerical results of each character, the basic reproduction number formula and basic reproduction number of the infectious disease dynamics model to be derived are determined based on the second-generation reproduction matrix solution algorithm.

8. The basic reproduction number automatic derivation method according to claim 1, characterized in that: The method further comprises: Using the basic reproduction number automatic derivation platform to traverse and parse the input variable expression, determine the variable letters in the variable expression, and store the variable letters in a character list container; and determine the numerical values ​​corresponding to the variable letters, and store the numerical values ​​corresponding to the variable letters in a numerical list container; Using the basic reproduction number automatic derivation platform to preprocess and parse the input differential expression to obtain a preprocessing and parsing result, and storing the preprocessing and parsing result in a character container corresponding to the differential expression, wherein the preprocessing and parsing result includes variable letters included in the differential expression; and The preprocessed and parsed differential expression is stored in a character list container corresponding to the differential expression, wherein the preprocessed and parsed differential expression includes a complete expression of the corresponding differential expression.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory, and the processor is used to implement the basic reproduction number automatic derivation method as claimed in any one of claims 1 to 8 when executing the computer program stored in the memory.

Citation Information

Patent Citations

  • COVID-19 overseas input risk assessment and prediction method

    CN112259248A

  • Epidemic situation propagation prediction optimization method based on adaptive genetic algorithm

    CN116469573A