Research on Diagnostic Information of Smart Medical Care Based on Big Data

The medical field has gradually become intelligent, and information and the research of intelligent medical diagnosis information have received extensive attention in the medical field. In response to this situation, this paper proposes a Hadoop-based medical big data processing system. The system first realized the ETL module based on Sqoop and the transmission function of unstructured data and then realized the distributed storage management function based on HDFS. Finally, a MapReduce algorithm with variable key values is proposed in the data statistical analysis module. Through simulation experiments on the system modules and each algorithm, the results show that because the traditional nondistributed big data acquisition module transmits the same scale of data, it consumes more than 3200 s and the transmission time exceeds 3000 s. The time consumption of smart medical care under the 6G protocol is 150 s, the transmission time is 146 s, and the time is reduced to 1/10 of the original. The research of intelligent medical diagnosis information based on big data has good rationality and feasibility.


Introduction
With the continuous progress of society and the improvement of human living standards, the guarantee of the quality of human life is closely related to the problems in the medical field. Use cloud computing, Internet of ings, data mining, and other related information technologies to closely link patients with medical staff, medical institutions, and medical equipment to promote comprehensive medical informatization. is model aims to improve service efficiency, implement the service concept of always taking the patient as the center, and truly optimize the services of the medical system. Governments, companies, and researchers have begun to study the application of big data in smart healthcare.
Scholars and researchers at home and abroad have conducted research on the theory and practice of intelligent medicine.
ese problems not only cause the waste of medical resources and human and financial resources but also make the contradiction between doctors and patients in our country increasingly acute and have a certain negative impact on the harmonious and healthy development of society. Shang Yanan proposed a privacy-protected intelligent medical diagnosis system. In IMDS, users submit health check parameters to the server in a protected form. e server then retrieves the most likely disease from the database and returns it to the user. In the above search process, we used casual keyword search as the basic framework, so that the server could not obtain any personal information from the user's data while maintaining computing power. In addition, this article also provides a method for preprocessing the data stored on the server side to make the protocol more efficient. However, his research did not clearly propose how a privacy-protecting intelligent medical diagnosis system does not disclose information [1]. e HIS proposed by Yang Yiqi is a hierarchical integration of incremental learning fuzzy neural network (ILFN) and a fuzzy language model optimized by genetic algorithm. ILFN is a self-organizing network with fast, online, and incremental learning capabilities. e language model is based on the knowledge embedded in the trained ILFN. e knowledge gained from the low-level ILFN can be mapped to the highlevel language model and vice versa. e genetic algorithm is used to optimize the language model to maintain high accuracy and comprehensibility. e resulting HIS can handle low-level numerical calculations and high-level language calculations. After the system is completed, you can gradually learn the new information in the digital structure and language structure. In order to evaluate the performance of the system, the benchmark data of breast cancer was studied as a medical diagnosis application. e simulation results show that the performance of the proposed HIS system is better than that of a single independent system, but its overall research lacks data support, and more data is needed to support its conclusions [2]. Wang Zeyun proposed a new intelligent prediction system that uses feature-selected medical data sets to more accurately predict the occurrence of heart disease. For this reason, a new weighted genetic algorithm is proposed to select very important features from the data set to improve the accuracy of disease prediction. In this intelligent prediction system, a new weighted genetic algorithm is used to preprocess the data, and a new weighted fuzzy C-means clustering algorithm is used for effective segmentation. Finally, we use the ID3 algorithm for classification, which helps to make effective decisions. e experimental results lack more data support so that it is still doubtful whether the prediction accuracy of the disease can be improved [3].
is article coordinates the orderly collaboration of various medical departments to manage medical staff more effectively. e system first realized the ETL module based on Sqoop and the transmission function of unstructured data and then realized the distributed storage management function based on HDFS. Finally, a MapReduce algorithm with variable key values is proposed in the data statistical analysis module. rough the simulation experiment of the collection module and the statistical analysis method of the system, the results show that the design and implementation of the system have certain advantages. Based on this system, an Apriori algorithm based on Boolean matrix operations is also proposed here. rough comparative experiments on the Apriori algorithm before and after the improvement, the results show that the algorithm is simple and fast and can extract various relevant patterns from a large number of electronic medical records, thereby achieving the purpose of auxiliary dispensing. e chapters of this article are arranged as follows: Section 1 is devoted to introduction and mainly emphasized the research significance of intelligent medical diagnosis information based on big data, the classification of intelligent medical diagnosis systems, and the current status and development trend of research and development in the medical information industry at home and abroad. Section 2 discusses the construction of big data collection modules and big data storage modules and introduces big data statistical analysis methods and intelligent auxiliary diagnosis methods. Section 3 mainly introduces the data sources, experimental environment, and important algorithms used in the implementation of the system. Section 4 discusses the comparison of distributed big data collection system architecture verifying the superiority of the big data collection module proposed in this article. Section 5 summarizes and emphasizes the promotion of computer technology and information processing technology to the medical industry and further looks forward to the intelligent diagnosis system for human beings, as well as contributions made.

Proposed Method
2.1. Big Data Collection Module. As a traditional IT architecture, relational databases cannot do anything in the face of big data. In contrast, Hadoop is a delight to handle all types of big data processing. Hadoop includes HDFS and MapReduce. e former provides big data storage capability for low-latency, high-throughput access. e latter is Hadoop's computing framework and programming framework [4,5]. Applications developed using the Map-Reduce programming framework can get the powerful computing power of the Hadoop cluster to handle storage. However, medical big data stored in file systems or relational databases is not very convenient for Hadoop to access and process. On the other hand, distributed applications based on Hadoop can directly exert data pressure on existing clinical data centers, and frequent data access and analysis will put tremendous pressure on clinical business systems. erefore, it is the best way to collect the required medical big data and store it on HDFS for analysis and processing [6,7]. is paper designs and develops a Sqoop-based ETL module for structured data stored in the relational database system. e distributed processing features of this module greatly accelerate the process of medical data transmission and optimize the secondary utilization of medical big data. Regarding prerequisites, when transferring data, the ETL module first establishes a connection with the data source through Java Database Connection (JDBC) and looks at the metadata information of the data source and then converts the SQL type data obtained by the JDBC side into a Sqoop record in the Java class format and formats it as a format [8,9]. Enter the submission to the MapReduce task. Finally, data is written to HDFS by initiating a corresponding number of Map tasks and Reduce tasks. For semistructured and unstructured data, directly call the HDFS file system API to write to HDFS. At the beginning of the write file, the client node calls the HDFS API, and the entire file is divided into packets, and the data packet is managed in the form of a data queue and is awaiting processing. en, apply for a new data block to the NameNode and obtain a set of DataNodes to store the data block replicas. e DataNode forms a pipeline, which in turn writes the data packets to the corresponding DataNode. When the last DataNode data is written, the confirmation information is returned in the reverse direction, and, finally, the NameNode is submitted to indicate that the writing is completed [10,11].

Big Data Storage Module.
Distributed storage and management of medical data is a key part of Hadoop's medical big data analytics system and the foundation for smart healthcare. Before the raw medical data is distributed and processed, it is first necessary to install Hive and HBase on the named node and then use the Java API provided by the Sqoop tool to connect with the traditional medical database. en, for the various types of data that needs to be imported, the structural nature is judged: (1) If it is structured data, the Sqoop tool will connect to Hive through the JDBC/ODBC interface and then query whether the stored form corresponding to the data already exists. If it does not exist, create a new table and store it in Hive; if it already exists, determine whether the data volume exceeds the set threshold. If it does not exceed the set threshold , directly save it to Hive; if it exceeds, you need to add the partition and then store it in Hive [12]. (2) When the data is unstructured, the Sqoop tool will connect to HBase through the HBase interface and submit the insert request; after the request is responded to, the HBase table is scanned and the insertion position is located, and the timestamp is set and the data is inserted into the HBase database.
To correctly write data to the HDFS distributed file system, the Hadoop cluster needs to be configured accordingly, including the running parameters of the daemon and the Hadoop running environment. After the Hadoop cluster is configured and the original data is successfully imported, the client starts to create the distributed file system HDFS. e data writing process is as follows: (1) e data layer client development library (Client) starts the data node and initiates an RPC connection access request to the named node of the access control layer. (2) e named node checks whether the file to be created already exists and the creator's operating authority is successful and creates a record for the file; if the check fails, an exception is thrown to the client. (3) After the RPC write request is responded to, the client development library (Client) divides the file to be written into multiple packets and then applies for new blocks to the named node and maps the local file to the HDFS data block. e list generation "block report" is submitted to the named node. (4) e named node returns the configuration information of the managed data node to the client, and the client will write to each data node in the form of a pipe (Pipeline) according to the IP address of the data node [13,14].

Big Data Statistical Analysis Method.
At present, when hospitals conduct medical data statistics, most of them use SQL statements to query medical databases, while singlenode databases take a long time in traversing data. As data capacity continues to grow, traditional databases can no longer meet the need of high speed of statistical analysis (Algorithms 1 and 2).
In the actual implementation process, the algorithm first determines whether the received key value is an integer, and the integer represents the age and is classified into the corresponding age group. en regroup the patient group into a key value and determine whether this key value already exists in the Hash Table. If it does not exist, add it to  the Hash Table; if it already exists, it will correspond to the value in the Hash Table. Because the existing programming language is designed to use the two-dimensional array when designing the statistical counting class analysis algorithm, the two-dimensional array cannot meet the processing requirements of the Reduce merging of the key values of different numerical types in the Map/Reduce model [15,16]. erefore, the algorithm effectively solves the above problem by creating a hash table and using the hash table to support the characteristics of any key-value pair.

Apriori Association Analysis Algorithm.
e Apriori algorithm is one of the most classic algorithms among many associated algorithms, and its main purpose is to find frequent itemsets. It was proposed by Agrawal et al. in 1994.
(a) Step 1: set the minimum support and confidence according to user requirements (b) Step 2: build a candidate 1-item set (c) Step 3: construct a candidate 2-item set from the frequent 1-item set through the join step and the pruning step, and generate the frequent 2-item set as in step 2 (d) Step 4: repeat step 3 until you cannot create a candidate set Among the above four steps, there are two key operations, connection and pruning, which are described as follows.
In the connection step, first, a set of candidate k-item sets is generated from the (k − 1)-item set by connection, denoted as Ck. Let l1 and l2 be the item set in Lk − 1, and Li represents the jth item in li. If the first (k − 2) terms in l1 and l2 are the same (sorted by dictionary), then l1 and l2 are frequent (k − 1)-item sets that can be joined, from which candidate k-items are generated; and its form is [17,18].
In the pruning step, Ck is a superset of Lk, and its members may not be frequent. e absolute power is a value used to calculate the absolute value of the brain's electrical power.
AP � 10 log P. (1) In the above formula,P represents the power value of brain electricity.
For any spectrum U(f, t), there are Journal of Healthcare Engineering e center frequency is used in research related to EEG and memory. e absolute center frequency is used to calculate the value of the absolute center frequency of the EEG signal [19,20].
In the above formula, CF represents the center frequency of α point.

Apriori Algorithm Based on Matrix Operation.
In this paper, the Apriori algorithm based on matrix operation is adopted. A library of things is represented by a Boolean matrix. When searching the frequency of the item set, scan the column corresponding to the Boolean matrix, and find the frequency of the k-item set {I1, I2, ..., Ik}, only need to be the first, second,... of the matrix, e k-column vector performs a bitwise AND operation and then counts 1 in the result of the vector operation [21,22]. Repeat steps 2-3 and continue to perform matrix compression. On the one hand, the size of the matrix can be reduced, and, on the other hand, the efficiency of the algorithm can be improved. en, proceed to step 4 until Lk is empty and the algorithm terminates.

Data Source.
To better verify the feasibility and superiority of the method, the experimental data is selected from medical big data collected by large domestic comprehensive hospitals. e electronic medical records of patients were obtained from the electronic HIS system of a top-three hospital in Zhejiang Province, with a total of 128 GB of medical data. e dataset counts information about patients who visited the hospital from January 1, 2014, to January 1, 2018, including 132,097 patients and more than 100 million records.

Experimental Environment.
e main hardware devices used in the experiment mainly include medical servers, personal PCs, fiber switches (Switch), and disk array storage platforms.
e system is developed using Java language tools. e built Hadoop cluster runs on the Linux operating system platform. e list of experimental software devices is shown in Table 1.
In this experiment, the medical big data processing system is built on a Linux cluster with 5 nodes, a NameNode, and four DataNodes, each with Hadoop distributed architecture software installed. e user interface and the computing center are all encapsulated in the NameNode, and the Hive and HBase databases and the data export tool Sqoop are installed. All user operations will be completed in the NameNode.

Results and Discussion
e superiority of the big data collection module in this paper is verified by comparing the distributed system architecture with the traditional nondistributed big data collection. e big data collection module speeds up the data transmission by initiating Map and Reduce tasks and needs to find a balance between the cluster performance and the number of tasks in a specific cluster configuration. erefore, this paper guarantees as much as possible that there is no difference in experimental configuration except for distributed and nondistributed differences. e comparative experimental results of the big data collection module are shown in Figure 1. e adverse reactions during the treatment are shown in Table 2. e results of the adverse reaction analysis are shown in Figure 2. Figure 1 shows the results of a comparison of big data collection modules in distributed and nondistributed systems. Because the traditional nondistributed big data collection module transmits the same scale data, the consumption time exceeds 3200 s, and the transmission time exceeds 3000 s. e time consumption of smart medical care under the 6G protocol is 150 s, the transmission time is 146 s, and the time is reduced to 1/10 of the original. Besides, experiments have shown that the number of Map and Reduce tasks may slow down the overall transmission time as the cluster performance is saturated. In this paper, the distributed big data collection module can increase the number of DataNodes to increase the threshold of the number of Map and Reduce tasks, thus reducing the time consumption rate and reducing the consumption time. e consumption time of the collection module of the nondistributed system is positively related to the data size; that is, when the data size is larger, the time consumption will increase linearly.
In this paper, through the MapReduce operation of 60532 electronic medical records, the statistical analysis method of this paper is compared with the classical database. e experimental results recorded are shown in Table 3. e results of the comparison between the statistical analysis method and the classic data SQL server are shown in Figure 3.
Besides, with the increase in the number of processed electronic medical records, the traditional single-node database time consumption has a linear growth trend; and, in the Hadoop-based medical big data analysis system, because of the distributed processing method in the data statistics process, time consumption has not increased significantly. e influence of covariates on the trajectory of quality-of-life changes is shown in Table 4. e impact of disability acceptance on the quality of life of burn patients is shown in Table 5. e analysis of the influence of covariates on the trajectory of quality-of-life changes is shown in Figure 4. e analysis of the impact of disability acceptance on the quality of life of burn patients is shown in Figure 5.
By comparing the performance of the Apriori algorithm before and after the improvement, the superiority is verified.  Journal of Healthcare Engineering e experimental results are shown in Figure 6. e accuracy of different features in different brain wave frequency bands is shown in Table 6. e treatment effect is shown in Figure 7.
Under the same conditions, the running speed is improved, and the performance of frequent itemset discovery is improved. erefore, the Apriori algorithm based on the Boolean matrix operation proposed in this paper can dig out various correlation modes from a large number of electronic medical records in a short time, thus achieving the purpose of auxiliary dispensing. e 2DE, 3DE, X-ray images, and the measured values (mm) of the ASD size of the measurement board are shown in Table 7. e comparison of the three methods for ASD size measurement is shown in Figure 8.

Conclusions
Under the new network protocol, the smart medical system improves the operating speed and improves the performance of frequent itemset discovery. e Apriori algorithm based on Boolean matrix operation can dig out various related patterns from a large number of electronic medical records in a short time to achieve the purpose of assisting glue dispensing. e continuous improvement of people's living standards has made people pay more and more attention to their health. However, with the aging of China's population, the problem of environmental pollution has become more and more serious. At the same time, due to the increase of modern life and work pressure, the number of patients with various chronic diseases has also increased.
rough the smart medical platform and sensory terminal, Smart Medical can realize the health diagnosis, intelligent diagnosis of diseases, and follow-up treatment and management of diseases, which can realize remote detection and analysis, diagnosis, and treatment, so that users can know the disease situation in time and the early stage of the disease and get timely detection and treatment. In recent years, the Chinese government, scientific research institutions, and major companies have paid great attention to the development of the smart medical field and vigorously promoted the advancement of smart medical care.
At present, China's research in the field of smart medical care is in its infancy. e existing smart medical systems generally have problems such as high system erection cost, poor data storage reliability, and weak data processing capability. e system implements the transmission function of the ETL module and unstructured data based on Sqoop and then implements the function of distributed storage management based on HDFS. Finally, the MapReduce algorithm with variable key value is proposed. rough the simulation experiments on the system module and each algorithm, the results show that the research on the diagnostic information has good rationality and feasibility.

Data Availability
No data were used to support this study.

Conflicts of Interest
e authors declare that they have no conflicts of interest.  Journal of Healthcare Engineering 9