Optimization of Esophageal Ultrasound under Artificial Fish Swarm Algorithm and Its Adoption in Treatment of Ventricular Septal Defect

/is work was aimed at exploring the adoption value of the optimized and upgraded esophageal ultrasound in the treatment of patients with ventricular septal defect (VSD) by artificial fish swarm algorithm. A model was built based on artificial fish swarm algorithm. A random ultrasonic optical signal in the database was decomposed several times and sparsity was optimized to complete partial optimization, which was then extended to global optimization. A total of 100 patients with ventricular septal defect were divided into control group who underwent cardiopulmonary bypass under the guidance of three-dimensional thoracic ultrasound and experimental group of ventricular septal defect occlusion under the guidance of esophageal ultrasound based on artificial fish swarm algorithm. /e results showed that the number of successful cases in the experimental group was 12 cases of perimembranous type, 10 cases of septal type, 7 cases of simple membranous type, 13 cases of muscular type, 4 cases of subdry type, and 2 cases of ridge type. /e average length of operation after surgery was 70.65 minutes, the average length of ventilator ventilation was 125.8 minutes, and the average length of intensive care unit was 377.9 minutes. /e average length of hospital stay after surgery was 5.6 days, and the average total length of hospital stay was 8.2 days, which were better than the control group in many aspects, with statistical significance (P< 0.05). In short, the artificial fish swarm algorithm for esophageal ultrasound-guided ventricular septal defect closure had short operation time and good postoperative effect, which was of high application value in the clinical treatment of patients with ventricular septal defect.


Introduction
According to statistics, heart ventricular septal defect is second only to atrial septal defect in adult congenital heart disease. It refers to the abnormal development of the tissue separating the left and right ventricles during embryo, resulting in defects or holes [1,2]. Generally, patients with large defects will suffer from stunting, fatigue, shortness of breath, dyspnea, and other clinical symptoms. If it is not treated in time, subsequent serious diseases such as heart failure may result [3,4]. Clinically, three-dimensional transthoracic ultrasound is usually used for pathological diagnosis. In the diagnosis of obesity, emphysema, and other patients, however, this examination method has great limitations, which will affect the quality of ultrasonic image [5].
In the traditional ultrasonic detection, there are many defects in the optical signal, but there are also some redundant interference noises. Ordinary pulse interference noise can be removed by simple filtering algorithm. However, due to the noise emitted by some scattered grains or special materials, it is difficult to extract the defect information by using traditional algorithms, thus affecting the subsequent signal processing [6,7]. With the development of science and technology, transesophageal ultrasound examination gradually goes into the public vision. It involves the insertion of an esophageal probe into the patient's body from the esophagus, which is attached to the back wall of the heart [8][9][10]. In this way, it can avoid some interference tissue and intuitively detect the internal structure of the heart, which is helpful for the diagnosis of the disease.
Artificial fish swarm algorithm is a new optimization algorithm based on simulated fish swarm behavior proposed by Li et al. in 2002. e basic idea is that the most fish in a body of water are at the most nutrient-rich parts of the body of water. Based on this characteristic, foraging behavior of fish shoal is imitated so as to realize global optimization [11][12][13]. e application of artificial fish swarm algorithm in esophageal ultrasound examination can find the optimal data in signal decomposition with high efficiency, optimize the operation framework, and improve the stability [14,15]. Moreover, it has good anti-interference ability, which plays an important role in improving the image quality of esophageal ultrasound [16,17].
In this experiment, the artificial fish swarm algorithm was used to establish the esophageal model. By comparing a series of indexes of the two groups of patients, the application value of the esophageal ultrasound-guided blocking technique based on artificial fish swarm algorithm in the clinical treatment of VSD was comprehensively evaluated, expected to provide a more reliable basis for the clinical treatment of VSD.

Research Objects.
A total of 100 patients who were admitted to hospital from May 2019 to December 2020 and needed to undergo ventricular septal defect surgery were randomly divided into control group and experimental group, with 50 patients in each group. e patients in control group ranged in age from 18 to 40 years, with an average age of 27.7 years. ree-dimensional transthoracic ultrasoundguided cardiopulmonary bypass was used to establish the operation. e patients in experimental group were with an average age of 28.2 years, who underwent VSD occlusion under the guidance of esophageal ultrasound based on artificial fish swarm algorithm. Inclusion criteria are as follows: (i) patients with cardiac function grades I-II; (ii) patients with no history of thoracic surgery; (iii) patients without other organic lesions; (iv) patients without esophageal and gastric ulcers one week before surgery; (v) patients with complete clinical and imaging data. Exclusion criteria are as follows: (i) patients with a history of thoracic surgery or with other organ diseases; (ii) patients who lacked compliance and did not cooperate with the examination; (iii) patients with incomplete clinical data; (iv) patients with pharyngeal or esophagus lesions. is experiment had been approved by the Ethics Committee of hospital. All relevant matters of the experiment had been informed to the patients themselves and their families, and informed consent had been signed.
e patient in the control group was placed in the left decubitus position, and the probe was placed beside the sternum. e probe was rotated every 1-3°in the left ventricular long axis, atrial septum, ventricular septum, two groups of atrioventricular valves and pulmonary vein section, five apical chambers, and parasternal region. Multiple sections of the heart with different positions, angles, sizes, and shapes were obtained on the scanner. By continuous rotation in the plane of 0-180°, the long and short axial sections of the ventricular septal defect were obtained from multiple angles, so that the location of the ventricular septal defect was observed from multiple angles ( Figure 1).

Surgery to Establish Cardiopulmonary Bypass.
e patients in the control group received intramuscular injection of 0.01 mg/kg atropine and intravenous injection of 0.125 mg/kg midazolam 30 minutes before surgery, and anesthesia induction was performed with 3 μg/kg fentanyl, 0.1 mg/kg vecuronium bromide, and 1.25 mg/kg ketamine. After intubation, anesthesia machine was connected, and intermittent positive pressure ventilation was performed. e periosteum of the sternum was cut along the median line with an electric knife from the sternum notch, down to about 5 cm below the xiphoid process. en, the pericardium was cut lengthwise midline between the reflexed part of the aorta and the diaphragm, and one incision was made on both sides of the lower incision. e pericardial margin was sutured together with the soft tissue outside the sternum on both sides, and the sternum was fixed separately to expose the heart. Inspections were made on each atrium, ventricle, and vein for size, tension, tremor, and any local aberrations. Patients were given a routine half-dose of heparin and heparinized to initiate cardiopulmonary bypass. First, a vena cava cuff was applied, and two concentric purse-bag sutures were made with No.7 silk thread at the end of the ascending aorta, with heparin injected. A small incision was made with a small round knife in the middle of the purse. At the same time when the round knife was put away, an artery intubation was inserted into the incision of the ascending aorta and the artificial heart-lung machine was connected. en, a purse line was sewed into the right atrium and the right chamber. After incision, the catheter was inserted into the superior and inferior vena cava and then connected with the artificial heart-lung machine. A pad suture was made at the root of the ascending aorta. After draining of the gas from the needle with the cold cardioplegia, the catheter was inserted into the ascending aorta through the middle of the suture line, and the perfusion device was connected. A long suture line was made at the root of the right superior pulmonary vein where it connected to the left atrium. After small incision, the drainage tube was inserted into the left atrium and connected to the artificial heart-lung machine. After it was confirmed that all the tubes were correct, extracorporeal circulation was performed, and the superior and inferior vena cava and ascending aorta were blocked a few minutes later. 10 mg/kg of cold cardioplegia was infused into the aortic root perfusion tube. e surface of the heart was cooled with ice saline at 4°C. At that point, the heart stopped rapidly and cardiopulmonary bypass was initiated. After the operation, the aorta was opened, and the upper and lower lumen occlusion belts were opened for parallel circulation until the heart automatically rebounded. en, the machine was stopped, heparin was neutralized, potassium was supplemented to replenish blood volume, and extubation was done after the condition was stable.

Ultrasonography of the Esophagus.
Patients in the experimental group were supine and treated with general anesthesia through nasal endotracheal intubation, and the anesthesia drugs were the same as extracorporeal circulation. e esophagus ultrasonic probe was placed into the esophagus, and the left ventricular long axis, atrial septum, ventricular septum, two groups of atrioventricular valves, and the section of pulmonary vein, namely, the four chambers of the heart apex, were observed in the central part of the esophagus. In this way, the size and location of the ventricular septal defect, the length of connective tissue between the defect and the atrium and ventricle, and the regurgitation of the right valve were determined. Rotation of the probe to 30-45°revealed a short axial section of the aortic root and the passage of the left ventricular pump to the artery, so that the length of the defect from the aortic valve was assessed, which was used to confirm its operational status and valve orifice regurgitation. Probe at 60-75°can show the right ventricular pump flow to the artery and the junction between the right ventricle and the pulmonary artery, so as to determine the location and size of the defect, the availability of the right ventricular pump flow to the artery, and the presence of pulmonary valve stenosis. e probe at 120°can show the passage of the left ventricular pump to the artery and the junction between the left ventricle and the pulmonary artery. erefore, the length of the defect site from the aortic valve and the obstruction of the left ventricular pump blood flow channel to the artery were determined to assess the aortic valve regurgitate, as presented in Figure 2.

Ventricular Septal Defect
Closure. In the experimental group, a small incision of about 3-4 cm was made at the lower sternum and xiphoid process in the supine position to separate the xiphoid process. e sternum was cut along the midline with an electric knife, and the heart sac was cut and suspended to expose the exterior of the right ventricle. e free wall of the right ventricle was suspended on both sides to make two purses, and the right ventricle purses were cut open and loaded into the guidance wire. Patients were given a routine half-amount of heparin heparinization. Under the guidance of esophageal ultrasound, the proximal end of the guide wire passed through the ventricular septal defect and entered the channel through which the right ventricular pump blood flew to the artery. en, the puncture needle was removed and inserted into the dilating vessel sheath along the guide wire. e guide wire was withdrawn, and the conveying device and the heparinized occluder were placed into the dilated vessel sheath one by one. e blocker released the disk in turn in the left chamber of the defect and then retracted slightly, which then released the right ventricle disc in the right ventricle, repeated for several times. Esophageal ultrasound was used to examine whether there was residual shunt at the interventricular septum and whether there was valve regurgitation. e plugging device was adjusted to the appropriate position, and the conveying device was released after being fixed. e purse was tied in a knot, heparin was neutralized, and the chest was stopped layer by layer and closed.

Construction of Artificial Fish Swarm Algorithm Model.
In the decomposition process of optical signals, one of the most difficult steps is the calculation of the quantity product during each decomposition. It has large computation, high redundancy index, and low optimization efficiency. e content of artificial fish swarm algorithm is conducting single or partial optimization first, so as to realize overall optimization. It can optimize the maximum value and minimum value in a certain part of the operation efficiently, making the whole operation stable, so as to effectively overcome the problem of excessive calculation. e construction process of artificial fish swarm algorithm model is as follows.
First, it is supposed that M � m 1 , m 2 , . . . , m λ is the atomic and molecular database for ultrasonic optical signal processing, where m λ is the atom with the property λ. After normalization of it, ‖m λ ‖ � 1. A signal t to be decomposed is selected from the database M � m 1 , m 2 , . . . , m λ , which is optimized as follows: Scientific Programming In equation (1), m i is the p-th basic signal, and r i is its correlation decomposition coefficient. In the decomposition process, the biggest difficulty is the need to use several inner product operations, which requires a large amount of calculation and a high redundancy index. erefore, the artificial fish swarm algorithm is selected to realize the construction of the model and the improvement of work efficiency.
It is assumed that the length of the signal t to be decomposed is A; a data corresponding to t is selected from the database to meet the following requirements: O 1 t is the difference between the actual observation value and the fitted value after the original optical signal and the optimized data are paired. To implement signal decomposition, the equation is as follows: s decompositions are performed on the difference between the actual observation value and the fitted value. When the requirements of equation (4) are met, equation (5) is meaningful.
In equation (5), the difference O 1 t between the actual observation value and the fitted value after c-th decompositions is expressed as follows: When c increases, ‖O c t‖ will be in a decreasing state until it decreases to 0. en, the improvement of the existing structure of the ultrasonic optical signal is completed, which is expressed as follows: e properties of ultrasonic optical signals are similar to Gaussian functions. When the signals are decomposed, m λ needs to meet the requirements of normal distribution, which is expressed as follows: Based on the theoretical concept of normal distribution, an artificial fish swarm algorithm model is built to find the optimal data. When λ � θ, ϑ, ϕ, η is taken as a time-frequency distribution parameter, the set range of all values contained in a specific requirement is expressed as follows: Based on the abovementioned time-frequency distribution parameters, an artificial fish swarm algorithm model is built, which is expressed as follows: e application of artificial fish swarm algorithm model can solve the disadvantages of large amount of calculation and high redundancy index caused by inner product operation and effectively improve the efficiency of ultrasonic optical signal processing.

Decomposition of Ultrasonic Optical Signal.
After the artificial fish swarm algorithm model is constructed, it is used to realize overall optimization and effectively complete the decomposition and processing of ultrasonic optical signals. A single factor in an artificial fish swarm is described by a set of vectors E � e 1 , e 2 , . . . , e n , where e i is set as the vector to be optimized, and the food content of the fish swarm currently prescribed is expressed as follows: G is the ideal function to be achieved by the fish swarm, and the distance h i between a single factor of the fish swarm and a single factor is expressed as follows: e sight range of a fish swarm's single factor and adjacent factors is expressed as follows: In equation (13), l is the total amount of individual factors in the fish swarm, and the individual factors in the fish swarm in a transition state are expressed as follows: e position and length of the transfer of a single factor in the fish swarm are expressed as follows: To ensure the stability of the calculation process, a single factor must be handled within a transferable range and must not exceed the corresponding range. If there is a mistake in one operation, it is necessary to perform the overall operation again until the optimal solution is searched.

Statistical
Analysis. SPSS 24.0 was employed for data statistics and analysis. Mean ± standard deviation (x ± s) was how measurement data were expressed, and percentage (%) was how count data were expressed. e t-test was used when the experimental data conformed to normal distribution. χ 2 test was used for univariate analysis of related factors, and logistic regression analysis was used for multivariate analysis. P < 0.05 was considered statistically significant.

Comparison of General Clinical Data of the Two Groups of
Patients. Figure 3 below shows the comparison of general clinical data between two groups of patients. ere were no substantial differences in age, sex ratio, height, and weight between the control group and the experimental group (P > 0.05). Figure 4 shows that after three-dimensional transthoracic ultrasound-guided cardiopulmonary bypass was established in control group, there were 12 cases of perimembrane type of ventricular septal defect, of which 10 cases were successful; 10 cases of septal valve type, of which 8 cases were successful; 8 cases of simple membranous type, of which 6 cases were successful; 15 cases of muscular type, of which 12 cases were successful; 2 cases of substem type, of which 1 case was successful; 3 cases of crest type, of which 3 cases were successful. In the experimental group, there were 13 cases, 11 cases, 7 cases, 13 cases, 4 cases, and 2 cases of ventricular septal defect occlusion under the guidance of esophageal ultrasound based on artificial fish swarm algorithm. e number of successful cases were 12, 10, 7, 13, 4, and 2, respectively. e number of successful cases of ventricular septal defect closure guided by esophageal ultrasound based on artificial fish swarm algorithm was greatly higher than that in the control group, and the difference was considerable (P < 0.05). Figure 5 shows that the left ventricular size and the left ventricular end-diastolic volume were reduced to some extent between the control group and the experimental group at three days, one month, and three months after surgery, but the differences were not considerable compared with those before surgery (P > 0.05). Figure 6, there was no considerable difference in left ventricular ejection fraction and left ventricular short-axis shorting rate in the four postoperative reexaminations between the control group and the experimental group (P > 0.05). Figure 7 shows that, in the control group, postoperative pericardial effusion occurred in 15 cases, incomplete right Scientific Programming bundle branch block in 31 cases, complete right bundle branch block in 4 cases, left anterior branch block in 1 case, and III°atrioventricular block in 1 case. e number of these complications in the test group was 6, 20, 1, 0, and 0, respectively. e number of cases of pericardial effusion and arrhythmia in experimental group was greatly inferior to that in control group, with statistical significance (P < 0.05).

Comparison of Duration of Operation, Duration of
Ventilator Ventilation, and Duration of Intensive Care Unit between the Two Groups. Figure 8 shows that, in the control group, the average duration of operation was 157.88 minutes, the average duration of ventilator ventilation was 460.7 minutes, and the average duration of intensive care unit was 1187.6 minutes. In the experimental group, the mean operative duration was 70.65 minutes, the mean ventilator duration was 125.8 minutes, and the mean ICU duration was 377.9 minutes. e durations of operation, ventilator ventilation, and intensive care unit in experimental group were greatly shorter than those in control group, with statistical significance (P < 0.05).

Comparison of Hospitalization Days between the Two
Groups. Figure 9 shows that the average length of hospital stay in the control group was 7.5 days, and the average total length of hospital stay was 13.8 days. e mean length of hospital stay in the experimental group was 5.6 days, and the mean total length of hospital stay was 8.2 days. e length of hospital stay in experimental group was greatly inferior to that in control group (P < 0.05).

Ultrasonic Images of Esophagus before and after the Application of Artificial Fish Swarm Algorithm.
A patient, male, 22 years old, had shortness of breath and dyspnea for more than half a year. During routine esophageal ultrasound examination, due to the equipment level and other reasons, ultrasound image contrast was insufficient. ere were redundant interference noise and poor spatial resolution, which brought some difficulties for the observation of the heart environment. e artificial fish swarm algorithm was applied in esophageal ultrasound to improve the decomposition speed of optical signals, and the searching signal results were more accurate and the imaging was clearer, as illustrated in Figure 10.

Discussion
An artificial fish swarm algorithm was selected in this experiment. Its essence was simulating the foraging, clustering, and tail-chasing behaviors of fish swarm by constructing an artificial fish model, so as to achieve overall optimization [18]. In this experiment, an atom was randomly selected from the database and optimized by maxima and minima, normalization, multiple decomposition, etc., to complete the optimization of single factor. en, the artificial fish swarm algorithm model was built, and then the objective of global optimization was approached gradually through optical signal decomposition and processing in the designated range. e artificial fish swarm algorithm was applied to a collection of 100 patients with ventricular septal defects requiring surgical treatment. e patients in control group were treated with three-dimensional transthoracic ultrasound-guided cardiopulmonary bypass, and those in experimental group were treated with artificial fish-based ultrasound-guided ventricular septal defect closure. e results showed that the number of successful cases in the experimental group was greatly higher than that in the control group (P < 0.05). e number of cases with pericardial effusion and arrhythmia after operation was inferior to that of control group, and the difference was notable (P < 0.05). Moreover, the durations of operation, ventilator ventilation, and intensive care unit were greatly shorter than those of the control group (P < 0.05). e length of hospitalization was greatly inferior to that of the control group (P < 0.05). In 2021, Yang et al. [19] pointed out that the occlusion of ventricular septal defect under the guidance of esophageal ultrasound had a high safety and feasibility because of shorter operation time and less intraoperative bleeding compared with traditional repair. In this study, the reliability of this statement was verified. e ventricular septal defect occlusion under the guidance of esophageal ultrasound based on artificial fish swarm was performed. It had short operation time, short hospitalization days, and good prognosis and was acceptable to patients' family members, which was of great significance in the treatment of ventricular septal defect.

Conclusion
In this study, the artificial fish swarm algorithm was used to optimize the traditional esophageal ultrasound, and 100 patients requiring surgical treatment of ventricular septal defects were collected as the research subjects. e results showed that the experimental group was better than the control group in terms of the number of successful operations, the number of cases with pericardial effusion and arrhythmia after operation, the duration of operation, the duration of ventilator ventilation, the duration of intensive care unit, and the length of hospital stay (P < 0.05). However, 8 Scientific Programming the sample size collected in this experiment was small, the length of hospitalization of patients was short, and the observation had certain limitations and one-sidedness. It is expected that further research in this direction will provide a more reliable basis for the clinical treatment of ventricular septal defect.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare no conflicts of interest.