A method and system for alleviating preoperative anxiety based on virtual reality technology
Through virtual reality technology, interest data and preoperative status are used to assess preoperative anxiety, create personalized scenarios to solve the instability and adverse effects of drug treatment, and achieve more effective preoperative anxiety relief.
Patent Information
- Application Number
- CN202410183193.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-02-19
AI Technical Summary
Existing pharmacological treatments for preoperative anxiety relief are inconsistent and may cause adverse effects such as dizziness, drowsiness, and negative effects on mental status and motor function.
Using a method based on virtual reality technology, by obtaining the patient's interest data and preoperative status data, combined with interest portraits and convolutional neural networks to assess the level of preoperative anxiety, a personalized virtual reality scene is created to relieve anxiety, including pictures, music and Scent design.
It provides a more stable and effective anxiety relief effect without the need for drug treatment and avoids the adverse effects of drugs. The personalized scene improves the patient's emotional state guidance and anxiety relief effect.
Smart Images

Figure CN118016249B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data processing, and in particular relates to a method and system for alleviating preoperative anxiety based on virtual reality technology. Background Art
[0002] Preoperative anxiety generally refers to the discomfort or tension caused by illness, ward environment, or concerns about anesthesia or surgery before surgery; this state is often accompanied by physical manifestations such as palpitations, dyspnea, sweating, frequent urination, abdominal pain, diarrhea, or sleep disorders. Excessive anxiety before surgery can not only lead to sympathetic nerve excitement, cardiac oxygen consumption, and promote platelet activation and aggregation, but also increase the occurrence of adverse events after surgery, such as hemodynamic instability, the use of anesthetic drugs, insomnia, pain, nausea, vomiting, etc.
[0003] Currently, effective intervention measures for the treatment or prevention of preoperative anxiety are being actively explored to reduce the occurrence of postoperative adverse events. Currently, drug treatment is mainly used. The gabapentin-like drug pregabalin can effectively reduce preoperative anxiety and improve perioperative sleep quality, reduce postoperative pain scores, and reduce the use of analgesics without increasing the occurrence of adverse reactions. Drugs such as midazolam and alprazolam have clear anti-anxiety effects. When using them, attention should be paid to their effects on the patient's early postoperative mental and motor functions. Melatonin, as a natural hormone, has been proven to be a benzodiazepine. It is a safer and more effective alternative to antidepressants, which can help improve anxiety and sleep conditions in perioperative patients and reduce the incidence of postoperative delirium.
[0004] However, each patient's response to medication varies. Some patients may develop tolerance to certain medications, while other patients may have adverse reactions, resulting in unstable anxiety relief effects of medications. And medication treatment is inevitably accompanied by some adverse effects, including but not limited to dizziness, drowsiness, and inattention, especially benzodiazepines. These drugs may have a negative impact on patients' mental state and motor function. Summary of the invention
[0005] In order to solve the technical problem that the anxiety relief effect of current drugs is unstable and inevitably accompanied by some adverse effects, the present invention provides a preoperative anxiety relief method and system based on virtual reality technology.
[0006] First aspect
[0007] The present invention provides a method for alleviating preoperative anxiety based on virtual reality technology, comprising:
[0008] S1: Obtain patient’s interest data;
[0009] S2: Create interest profiles for patients based on their interest data;
[0010] S3: Obtain the patient's preoperative status data;
[0011] S4: Assess the patient's preoperative anxiety level based on the patient's preoperative status data;
[0012] S5: Determine the virtual reality scenario based on the patient’s preoperative anxiety level and the patient’s interest profile;
[0013] S6: The virtual reality scenario can be used to alleviate the patient's preoperative anxiety.
[0014] Second aspect
[0015] The present invention provides a preoperative anxiety relief system based on virtual reality technology, comprising a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the preoperative anxiety relief method based on virtual reality technology in the first aspect.
[0016] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0017] In the present invention, there is no need to use drug treatment, but anxiety relief is achieved based on virtual reality technology. By obtaining the patient's interest data and preoperative state data, combined with interest portraits to assess the degree of preoperative anxiety, a personalized virtual reality scene can be provided to relieve the patient's preoperative anxiety, avoid the adverse effects of drugs, and improve the stability of the anxiety relief effect. At the same time, the personalized virtual reality scene can more effectively guide the patient's emotional state. By combining the patient's interests, the scene is more attractive, which can improve the effect of preoperative anxiety relief. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings, and the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention will be further described.
[0019] Figure 1 The present invention provides a flow chart of a method for alleviating preoperative anxiety based on virtual reality technology.
[0020] Figure 2 It is a structural schematic diagram of a preoperative anxiety relief system based on virtual reality technology provided by the present invention. DETAILED DESCRIPTION
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0022] Example 1
[0023] In one embodiment, the reference specification Figure 1 , showing a flow chart of a method for alleviating preoperative anxiety based on virtual reality technology provided by the present invention.
[0024] The present invention provides a method for alleviating preoperative anxiety based on virtual reality technology, comprising:
[0025] S1: Obtain patient's interest data.
[0026] Among them, interest data includes: interest in music style, singer style, painting school, painting style, sports, travel, food and technology products.
[0027] S2: Create interest profiles for patients based on their interest data.
[0028] Among them, interest portraits are comprehensive descriptions of individual interest characteristics constructed through detailed understanding and analysis of individual interest areas. This kind of portrait is based on the individual's interests and preferences in multiple fields, which may include but are not limited to music, art, sports, technology and other aspects. The purpose of interest portraits is to better understand individuals and provide guidance for providing personalized services and experiences.
[0029] Specifically, interest portraits can include diverse interest artists, technology trend explorers, nature adventure photographers, music explorers, food culture wanderers, spiritual art appreciators, etc. Diverse interest artists have broad interests in multiple fields, including music, art, sports, food and technology. Technology trend explorers highlight a strong interest in technology products and innovations, and like to try the latest technology equipment and applications. Nature adventure photographers emphasize their love for outdoor adventures and natural scenery, and may have a strong interest in photography art. Music explorers focus on a wide range of interests in different music styles and artists, and may be a music explorer and collector. Food culture wanderers emphasize their love for food from all over the world, and may be a cooking enthusiast with a deep understanding of food from different cultures. Spiritual art appreciators highlight their love for impressionism and modern art, and may have a deep appreciation for literary and artistic works such as literature and film.
[0030] Each interest profile has its own unique features, highlighting the individual's interests and passions in different aspects. Such a series can provide individuals with a more comprehensive and diverse VR experience that meets their personalized needs.
[0031] It should be noted that the above is merely an example of interest portraits, and the present invention does not limit the specific type of interest portraits.
[0032] In the present invention, interest portraits can understand the patient's preferences and areas of interest in detail, making subsequent medical services more personalized and helping to provide customized virtual reality scenes to better meet the needs of patients. At the same time, by understanding the patient's interests, more attractive virtual scenes can be created, making patients more willing to participate in them. Personalized experience can motivate patients and improve their acceptance of virtual reality therapy.
[0033] In a possible implementation, S2 specifically includes: determining the patient's interest profile through a K-Means clustering algorithm based on the patient's interest data.
[0034] Among them, the K-Means clustering algorithm is a commonly used unsupervised learning algorithm, which is used to divide the samples in the data set into K non-overlapping subsets (clusters).
[0035] In the present invention, the clustering algorithm can divide patients into different interest groups, thereby providing personalized services for each group. This helps medical service providers better understand the needs of patients and provide customized medical experiences based on their interest profiles.
[0036] The traditional K-Means clustering algorithm often uses random selection to select the initial cluster center, which may lead to different clustering results in different runs. This randomness makes the algorithm highly sensitive to initialization and may fall into a local optimal solution. To this end, the present invention proposes a new K-Means clustering algorithm to solve the problem of difficulty in selecting the initial cluster center.
[0037] In a possible implementation, the present invention proposes a new K-Means clustering algorithm, S2 specifically includes sub-steps S201 to S218:
[0038] S201: constructing an interest vector of each training sample according to the interest data of the training sample, where each training sample represents a patient.
[0039] S202: constructing data points according to the interest vectors of each training sample, where each data point represents the interest vector of a training sample.
[0040] Among them, the interest vector A is expressed as A = (a1, a2, ..., aK ), a k represents the kth interest value, k = 1, 2, ..., K, K represents the total number of interest values, and also represents the dimension of the interest vector.
[0041] Interest vectors are used to show interest in various music styles, singer styles, painting schools, painting styles, sports, travel, food and technology products.
[0042] S203: Initialize the target clustering number, which is equal to the number of interest portraits, and each cluster represents an interest portrait.
[0043] In the present invention, the target number of clusters, that is, the expected number of interest portraits, is specified, which helps to ensure that the algorithm can obtain the expected clustering results when it converges.
[0044] S204: Treat each data point as a cluster and calculate the distance between each data point:
[0045]
[0046] Among them, d ij represents the distance between the i-th data point and the j-th data point, a ik represents the kth interest value of the ith data point, a jk represents the kth interest value of the jth data point, k = 1, 2, ..., K, and K represents the total number of interest values.
[0047] S205: When the current total number of clusters is greater than the target number of clusters, the two closest clusters are merged into one cluster.
[0048] S206: Repeat S205 until the current total number of clusters is equal to the target number of clusters.
[0049] In the present invention, the number of clusters is dynamically adjusted by merging the two closest clusters so that the final number of clusters meets expectations. Such a strategy can more flexibly cope with possible changes and complexities in the data.
[0050] S207: Get the maximum distance between data points in each cluster:
[0051] d max =max{d ij}
[0052] Among them, d max Indicates the maximum distance between data points.
[0053] It should be noted that the maximum distance d between data points maxIt can capture the dispersion of data points within the cluster, which helps to identify whether the data points within the cluster are dispersed, and further guide the subsequent filtering and selection process.
[0054] S208: Determine a preset filtering distance according to the maximum distance between data points in each cluster:
[0055] d*=αd max
[0056] Wherein, d* represents the preset filtering distance, and α represents the filtering coefficient.
[0057] Among them, those skilled in the art can set the size of the filter coefficient α according to actual conditions, and the present invention does not limit it.
[0058] It should be noted that, by adjusting the filter coefficient α, an appropriate filtering range can be flexibly determined according to the dispersion of the data points to avoid selecting an initial center that is too local.
[0059] S209: Count the number of data points whose distances from other data points are less than a preset filtering distance.
[0060] In the present invention, by counting the number of data points whose distances from other data points are less than the preset filter distance, data points that meet the filter conditions are actually screened, which helps to further narrow the selection range of the initial clustering center and avoid selecting overly concentrated or dispersed data points.
[0061] S210: taking the data points with the largest number of distances from other data points less than a preset filtering distance as the initial clustering centers of each cluster.
[0062] In the present invention, by selecting the largest number of data points whose distances to other data points are less than the preset filtering distance as the initial clustering center, it is ensured that the selected initial center is representative on the whole, which helps to improve the global convergence of the K-Means algorithm and reduce the possibility of falling into the local optimal solution.
[0063] S211: Calculate the distance from the current data point to each cluster center.
[0064] S212: Divide the current data point into the data cluster where the nearest cluster center is located.
[0065] In the present invention, data points are reallocated to the data cluster with the closest cluster center, which ensures that each data point is associated with the most similar cluster center, thus facilitating better division of data points into appropriate clusters.
[0066] S213: Update the cluster center of the data cluster.
[0067] In the present invention, by calculating the average value of all data points in the current cluster, the cluster center is adjusted to better represent the characteristics of the current cluster.
[0068] S214: Select the next data point until all data points are clustered and the training of the K-Means algorithm is completed.
[0069] In the present invention, by continuously adjusting the cluster centers, the data points within the cluster are made more similar and the data points between clusters are made more dissimilar, and finally the process of data point division and cluster center update is realized, thereby achieving a better clustering effect. The entire iterative process can converge to a local optimal solution, so that the K-Means algorithm can divide the data set more accurately.
[0070] S215: Obtain the interest vector of the current patient.
[0071] S216: Calculate the distance between the interest vector of the current patient and each cluster center.
[0072] S217: Divide the current patient into the data cluster where the nearest cluster center is located.
[0073] It should be noted that, according to the calculated distance, the current patient is divided into the data cluster where the nearest cluster center is located, which means that the patient will be associated with the interest portrait that is most similar to his or her interests.
[0074] S218: Determine the interest profile of the current patient according to the interest profile represented by the data cluster where the data point of the current patient is located.
[0075] In the present invention, the patient's interest data is divided into clusters with similar characteristics through the K-Means clustering algorithm, thereby forming an interest profile. By dividing the patient into the nearest cluster center, the patient's interest profile can be more accurately identified and matched.
[0076] S3: Obtain the patient's preoperative status data.
[0077] Among them, the preoperative status data include whether there is palpitations, difficulty breathing, sweating, frequent urination, abdominal pain, diarrhea, sleep disorders, whether the body shows sympathetic nerve excitement, whether the myocardial oxygen consumption is increased, and whether the platelet concentration is elevated.
[0078] It should be noted that the above preoperative status data are important factors in determining whether the patient has preoperative anxiety and the degree of preoperative anxiety.
[0079] S4: Assess the patient’s preoperative anxiety level based on the patient’s preoperative status data.
[0080] In a possible implementation, S4 specifically includes: evaluating the patient's preoperative anxiety level through a convolutional neural network based on the patient's preoperative status data.
[0081] Among them, Convolutional Neural Network (CNN) is a type of deep learning model mainly used to process visual data.
[0082] In the present invention, there may be complex associations between various factors in the preoperative status data, and the convolutional neural network can learn these complex nonlinear relationships. Through the deep learning method, the model can better understand the associations between different factors and improve the accuracy of preoperative anxiety assessment. The use of convolutional neural networks for preoperative anxiety assessment makes the process more intelligent and accurate, and is expected to provide more reliable clinical decision support.
[0083] In a possible implementation, S4 specifically includes sub-steps S401 to S405:
[0084] S401: The preoperative status data is fused and input into the convolutional neural network.
[0085] S402: In the convolutional layer, extract the features of the preoperative state data:
[0086]
[0087] in, represents the output of the jth channel of the current convolutional layer, represents the output of the i-th convolution kernel in the j-th channel of the previous convolutional layer, Represents the convolution kernel weight of the current convolution layer, Represents the bias term of the current convolutional layer, M j represents the selected input feature map, f c () represents the convolutional layer activation function.
[0088] It should be noted that the preoperative status data is feature extracted through convolution kernels. This enables the neural network to automatically learn the important features in the data without manually designing feature extractors. In this way, the model can better capture relevant information in the patient's preoperative status.
[0089] S403: In the pooling layer, the features extracted by the convolutional layer are compressed by dimensionality reduction:
[0090]
[0091] in, represents the output of the jth channel of the current pooling layer, f p () represents the pooling layer activation function, Represents the multiplication bias of the current pooling layer, f down () represents the downsampling function, represents the output of the jth channel of the previous pooling layer, Represents the additive bias of the current pooling layer.
[0092] It should be noted that dimensionality reduction and compression of the output of the convolutional layer helps reduce the computational burden and the number of model parameters while retaining important information. This helps improve the computational efficiency of the model, especially when processing large-scale data.
[0093] S404: In the fully connected layer, the outputs of the convolutional layer and the pooling layer are summarized.
[0094] It should be noted that the outputs of the convolutional layer and the pooling layer are summarized to integrate the extracted features. This enables the model to better understand the relationship between different features and provides more comprehensive information for the final preoperative anxiety assessment.
[0095] S405: In the output layer, the patient's preoperative anxiety level is evaluated based on the summarized features:
[0096]
[0097] Among them, σ represents the degree of preoperative anxiety, Sigmoid() represents the Sigmoid activation function, and w i represents the weight coefficient of the i-th feature, h i represents the i-th feature, b represents the bias value, i=1,2,…,n, and n represents the total number of features.
[0098] It should be noted that the model processes the aggregated features through activation functions and weights, and ultimately evaluates the patient's preoperative anxiety level. This enables the model to quantitatively evaluate the patient's emotional state based on the learned features and provide auxiliary information for doctors.
[0099] In the present invention, a convolutional neural network is used to process preoperative status data, which can automatically learn relevant features and improve the performance of the model in assessing preoperative anxiety. This method avoids the manual design of feature extraction process, making the model more adaptable to individual differences of different patients.
[0100] S5: Determine the virtual reality scenario based on the patient's preoperative anxiety level and the patient's interest profile.
[0101] Among them, virtual reality scenes include: pictures, music and smells.
[0102] For images, showing beautiful natural scenery, such as mountains and rivers, sea of flowers, and forests bathed in sunlight, can help patients immerse themselves in a comfortable and peaceful environment and reduce tension. Using soft, calming tones, such as blues and greens, can help reduce anxiety levels and create a relaxing atmosphere. By guiding patients to focus on pleasant or fascinating images, excessive worry about things such as surgery can be reduced.
[0103] For music, using soft, soothing music, such as nature sounds, piano music, or light music, can reduce tension and improve the patient's psychological state. The tempo of the music can be slowly slowed down to coordinate with the patient's breathing rhythm to help relax the body and emotions. Consider the patient's personal preferences and choose the type of music that will have a positive impact on them.
[0104] For scent, use soothing aromas, such as lavender, rosemary, or grapefruit, to help promote physical and mental relaxation. Consider the patient's personal preferences and memories, and choose scents that evoke positive emotions, such as those associated with pleasant memories.
[0105] The combined use of these elements can create a pleasant, comfortable and personalized virtual reality scene, which helps to divert patients' attention, improve emotional stability, and thus reduce preoperative anxiety. Different patients may respond differently to these elements, so personalized design can better meet the needs of patients.
[0106] In the present invention, there is no need to use drug treatment, but anxiety relief is achieved based on virtual reality technology. By obtaining the patient's interest data and preoperative state data, combined with interest portraits to assess the degree of preoperative anxiety, a personalized virtual reality scene can be provided to relieve the patient's preoperative anxiety, avoid the adverse effects of drugs, and improve the stability of the anxiety relief effect. At the same time, the personalized virtual reality scene can more effectively guide the patient's emotional state. By combining the patient's interests, the scene is more attractive, which can improve the effect of preoperative anxiety relief.
[0107] In a possible implementation, S5 specifically includes sub-steps S501 to S505:
[0108] S501: Determine a first matching degree of each virtual reality scene based on the patient's interest profile.
[0109] Optionally, S501 specifically includes: determining a first matching degree of each virtual reality scene according to a matching degree between each virtual scene and an interest vector of a cluster center of a cluster representing an interest portrait of the patient:
[0110]
[0111] Among them, δ 1irepresents the first matching degree of the i-th virtual reality scene, b ik represents the matching degree between the i-th virtual reality scene and the k-th interest value of the cluster center, β k Represents the weight coefficient of the kth interest value.
[0112] Among them, those skilled in the art can set the size of the weight coefficient of each interest value according to actual conditions, and the present invention does not limit this.
[0113] For example, the matching degree with each interest value can be understood as follows: a virtual reality scene has its own style characteristics. For example, a virtual reality scene is natural and warm, and the screen interest values include: technology preference type, nature preference type, etc. If the patient's screen interest value is technology preference type, then the matching degree of the virtual reality scene for the screen interest value will be lower. If the patient's interest value is nature preference type, then the matching degree of the virtual reality scene for the screen interest value will increase. By weighted accumulation of multiple interest values, the first matching degree of each virtual reality scene can be obtained.
[0114] It should be noted that the cluster center of the cluster representing the patient's interest portrait can better represent the patient's interest intention under the interest portrait. Evaluating the first matching degree of each virtual reality scene based on the matching degree between each interest value in the cluster center and the virtual reality scene can reduce the noise and preference of individual patients to a certain extent, and improve the stability and generality of the interest portrait. Improving the understanding of the patient's interest portrait and the reliability of the matching degree evaluation will help to more accurately select the appropriate virtual reality scene for the patient, and improve the treatment effect and patient satisfaction.
[0115] In the present invention, by considering the interest vector of the cluster center and the matching degree of the virtual scene, a more personalized scene matching can be achieved, which helps to ensure that the virtual reality scene is more in line with the patient's interest preferences and improve the patient's identification and involvement in the scene.
[0116] S502: Determine a second matching degree of each virtual reality scene according to the patient's preoperative anxiety level.
[0117] Optionally, S502 specifically includes: determining a second matching degree of each virtual reality scene according to the patient's preoperative anxiety level and the anxiety cure label value of each virtual reality scene:
[0118]
[0119] Among them, δ 2i represents the second matching degree of the i-th virtual reality scene, σ represents the patient’s preoperative anxiety level, and σ i represents the anxiety cure label value of the i-th virtual reality scene, and e represents a natural constant.
[0120] In the present invention, individual differences of patients are taken into consideration. Through the relationship between the patient's preoperative anxiety level and the anxiety cure label value of the virtual reality scene, the patient's adaptability to different scenes is evaluated more individually, which helps to provide a virtual reality experience that better meets the patient's actual needs. At the same time, when the difference between the anxiety level and the cure label value is large, the matching degree will tend to 0 or 1, showing obvious matching or mismatching characteristics. When the difference is small, the change of the matching degree is relatively smooth, which is conducive to more detailed differentiation of the adaptability of each scene in the case of small differences.
[0121] S503: Determine the recommendation level of each virtual reality scene based on historical evaluation results of similar patients.
[0122] It should be noted that by considering the evaluation of similar patients in the past, we can draw on the experience of past patients in similar situations and provide more credible and effective virtual reality scene recommendations for current patients. This helps increase the success rate of virtual reality scenes in alleviating preoperative anxiety.
[0123] Optionally, S503 specifically includes: determining the recommendation degree of each virtual reality scene according to the evaluation results of similar patients in history:
[0124]
[0125] Among them, ρ i represents the recommendation degree of the i-th virtual reality scene, sim j Indicates the similarity between the current patient and the jth historical patient, p ij Represents the evaluation of the jth historical patient on the i-th virtual reality scene.
[0126] Among them, the evaluation of the virtual reality scene can be reflected in the form of a score between 0 and 1. The closer to 0, the worse the evaluation, and the closer to 1, the better the evaluation.
[0127] It should be noted that by calculating the similarity between the current patient and the historical patients, the personalized needs and interests of the current patient can be better understood. The calculation of the recommendation degree takes into account the evaluation weights of similar patients, making the recommendation more targeted and more in line with the specific situation of the current patient.
[0128] In the present invention, the recommendation degree is calculated by weighted summing the evaluation results of similar patients. This process can take into account the differences in the feelings and evaluations of different patients for the same scene, thereby providing more diverse virtual reality scene recommendations.
[0129] Among them, the similarity between the current patient and the jth historical patient is sim j The calculation method is:
[0130]
[0131] Among them, C represents the feature vector of the current patient, which includes the patient's interest data and preoperative status data. j Represents the feature vector of the jth historical patient, () T represents the transpose of a vector, and |||| represents the modulo operation of a vector.
[0132] S504: Determine the comprehensive matching degree of each virtual reality scene according to the first matching degree, the second matching degree, and the recommendation degree of each virtual reality scene.
[0133] In a possible implementation manner, S504 specifically includes:
[0134] According to the following formula, the comprehensive matching degree of each virtual reality scene is determined:
[0135] δ i =ρ i (λ1δ 1i +λ2δ 2i )
[0136] Among them, δ i represents the comprehensive matching degree of the i-th virtual reality scene, δ 1i represents the first matching degree of the i-th virtual reality scene, λ1 represents the weight coefficient of the first matching degree, δ 2i represents the second matching degree of the i-th virtual reality scene, λ2 represents the weight coefficient of the second matching degree, and ρ i Indicates the recommendation degree of the i-th virtual reality scene.
[0137] Among them, those skilled in the art can set the size of the weight coefficient λ1 of the first matching degree and the weight coefficient λ2 of the second matching degree according to actual conditions, and the present invention does not limit this.
[0138] In the present invention, by comprehensively considering the first matching degree, the second matching degree and the recommendation degree, the comprehensive matching degree reflects the matching of the virtual reality scene in multiple aspects. Such a comprehensive evaluation of multiple aspects more comprehensively considers the patient's interest profile, preoperative anxiety level and the evaluation of similar patients in history. At the same time, the patient's personalized matching degree and recommendation degree are taken into account, which helps to provide a virtual reality scene that is closer to the patient's needs, increase the degree of personalization of treatment, and improve the patient's acceptance of virtual reality treatment plans.
[0139] S505: Selecting a virtual reality scene with the highest comprehensive matching degree for the patient.
[0140] In the present invention, the virtual reality scene with the highest comprehensive matching degree is selected, which means that the treatment plan is more in line with the patient's interest profile, preoperative status and the evaluation of historically similar patients, providing a more personalized treatment experience.
[0141] S6: Alleviate patients’ preoperative anxiety through virtual reality scenarios.
[0142] In the present invention, the method of alleviating patients' preoperative anxiety through virtual reality scenes starts from multiple aspects to provide patients with more comprehensive and personalized treatment services, which helps to improve patients' mental health level and overall treatment effect.
[0143] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0144] In the present invention, there is no need to use drug treatment, but anxiety relief is achieved based on virtual reality technology. By obtaining the patient's interest data and preoperative state data, combined with interest portraits to assess the degree of preoperative anxiety, a personalized virtual reality scene can be provided to relieve the patient's preoperative anxiety, avoid the adverse effects of drugs, and improve the stability of the anxiety relief effect. At the same time, the personalized virtual reality scene can more effectively guide the patient's emotional state. By combining the patient's interests, the scene is more attractive, which can improve the effect of preoperative anxiety relief.
[0145] Example 2
[0146] In one embodiment, the reference specification Figure 2 , showing a structural schematic diagram of a preoperative anxiety relief system based on virtual reality technology provided by the present invention.
[0147] The present invention provides a preoperative anxiety relief system 20 based on virtual reality technology, comprising a processor 201 and a memory 202 for storing executable instructions of the processor 201. The processor 201 is configured to call the instructions stored in the memory 202 to execute the preoperative anxiety relief method based on virtual reality technology in Example 1.
[0148] The preoperative anxiety relief system based on virtual reality technology provided by the present invention can achieve the steps and effects of the preoperative anxiety relief method based on virtual reality technology in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.
[0149] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0150] In the present invention, there is no need to use drug treatment, but anxiety relief is achieved based on virtual reality technology. By obtaining the patient's interest data and preoperative state data, combined with interest portraits to assess the degree of preoperative anxiety, a personalized virtual reality scene can be provided to relieve the patient's preoperative anxiety, avoid the adverse effects of drugs, and improve the stability of the anxiety relief effect. At the same time, the personalized virtual reality scene can more effectively guide the patient's emotional state. By combining the patient's interests, the scene is more attractive, which can improve the effect of preoperative anxiety relief.
[0151] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A preoperative anxiety relief system based on virtual reality technology, characterized in that: The invention comprises a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the following method, the method comprising: S1: Obtain patient’s interest data; S2: Create interest profiles for patients based on their interest data; S3: Obtain the patient's preoperative status data; S4: Assess the patient's preoperative anxiety level based on the patient's preoperative status data; S5: Determine the virtual reality scenario based on the patient’s preoperative anxiety level and the patient’s interest profile; S6: Alleviate the patient's preoperative anxiety through the virtual reality scene; The S5 specifically includes: S501: Determine a first matching degree of each virtual reality scene according to the patient's interest profile; S502: Determine a second matching degree of each virtual reality scene according to the patient's preoperative anxiety level; S503: Determine the recommendation degree of each virtual reality scene based on the historical evaluation results of similar patients; S504: Determine a comprehensive matching degree of each virtual reality scene according to the first matching degree, the second matching degree, and the recommendation degree of each virtual reality scene; S505: selecting the virtual reality scene with the highest comprehensive matching degree for the patient; The S501 is specifically as follows: according to the matching degree of each virtual scene with the interest vector of the cluster center of the cluster representing the interest portrait of the patient, a first matching degree of each virtual reality scene is determined: , in, δ 1i Indicates i The first matching degree of the virtual reality scene, b ik Indicates i The virtual reality scene and the cluster center k The matching degree of interest values, β k Indicates k The weight coefficient of each interest value; S502 specifically includes: determining the second matching degree of each virtual reality scene according to the patient's preoperative anxiety level and the anxiety cure label value of each virtual reality scene: , in, δ 2i Indicates i The second matching degree of the virtual reality scene, σ Indicates the patient's preoperative anxiety level. σ i Indicates i The anxiety cure label value of the virtual reality scene, e represents a natural constant; S503 specifically includes: determining the recommendation degree of each virtual reality scene according to the evaluation results of similar patients in history: , in, ρ i Indicates i The recommendation of virtual reality scenes, sim j Indicates the current patient and j The similarity between the historical patients p ij Indicates j For the first i Evaluation of virtual reality scenes; Among them, the current patient and j Similarity of historical patients sim j The calculation method is: , in, C represents the feature vector of the current patient, which includes the patient's interest data and preoperative status data. C j Indicates j The feature vector of historical patients, T represents the transpose of a vector, Represents the modular operation of vectors; The S504 is specifically as follows: According to the following formula, the comprehensive matching degree of each virtual reality scene is determined: , in, δ i Indicates i The comprehensive matching degree of virtual reality scenes, δ 1i Indicates i The first matching degree of the virtual reality scene, λ 1 represents the weight coefficient of the first matching degree, δ 2i Indicates i The second matching degree of the virtual reality scene, λ 2 represents the weight coefficient of the second matching degree, ρ i Indicates i The recommendation level of a virtual reality scene.
2. The preoperative anxiety relief system based on virtual reality technology according to claim 1, characterized in that: The interest data includes: interest in music style, singer style, painting school, painting style, sports, travel, food and technology products; The preoperative status data include whether there is palpitation, dyspnea, sweating, frequent urination, abdominal pain, diarrhea, sleep disorder, body manifestations of sympathetic nerve excitement, increased myocardial oxygen consumption and elevated platelet concentration.
3. The preoperative anxiety relief system based on virtual reality technology according to claim 1 is characterized in that: The S2 specifically includes: determining the patient's interest profile through the K-Means clustering algorithm according to the patient's interest data.
4. The preoperative anxiety relief system based on virtual reality technology according to claim 3 is characterized in that: The S2 specifically includes: S201: constructing an interest vector of each training sample according to the interest data of the training sample, where each training sample represents a patient; S202: construct data points based on the interest vectors of each training sample, where each data point represents the interest vector of a training sample. A Expressed as , a k Indicates k Interest value, , K Represents the total number of interest values, and also represents the dimension of the interest vector; S203: Initializing the number of target clustering clusters, where the number of target clustering clusters is equal to the number of interest portraits, and each cluster represents an interest portrait; S204: Treat each data point as a cluster and calculate the distance between each data point: , in, d ij Indicates i Data points and j The distance between data points, a ik Indicates i The data point k Interest value, a jk Indicates j The data point k Interest value, , K Indicates the total number of interest values; S205: When the current total number of clusters is greater than the target number of clusters, the two closest clusters are merged into one cluster; S206: Repeat S205 until the current total number of clusters is equal to the target number of clusters; S207: Get the maximum distance between data points in each cluster: , in, d max Indicates the maximum distance between data points; S208: Determine a preset filtering distance according to the maximum distance between data points in each cluster: , in, d * indicates the preset filtering distance, α represents the filtering coefficient; S209: Counting the number of data points whose distances from other data points are less than the preset filtering distance; S210: taking the data points with the largest number of distances from other data points less than the preset filtering distance as the initial clustering centers of each cluster; S211: Calculate the distance from the current data point to each cluster center; S212: Divide the current data point into the data cluster where the nearest cluster center is located; S213: Update the cluster center of the data cluster; S214: Select the next data point until all data points are clustered and the training of the K-Means algorithm is completed; S215: Obtaining the interest vector of the current patient; S216: Calculate the distance between the interest vector of the current patient and each cluster center; S217: Divide the current patient into the data cluster where the nearest cluster center is located; S218: Determine the interest profile of the current patient according to the interest profile represented by the data cluster where the data point of the current patient is located.
5. The preoperative anxiety relief system based on virtual reality technology according to claim 1, characterized in that: Specifically, S4 includes: evaluating the patient's preoperative anxiety level through a convolutional neural network based on the patient's preoperative status data.
6. The preoperative anxiety relief system based on virtual reality technology according to claim 5 is characterized in that: The S4 specifically includes: S401: fusing the preoperative status data and inputting the data into a convolutional neural network; S402: In the convolution layer, extract the features of the preoperative state data: , in, Indicates the current convolutional layer j The output of each channel, Represents the previous convolutional layer j In the channel i The output of the convolution kernel, Represents the convolution kernel weight of the current convolution layer, represents the bias term of the current convolutional layer, M j represents the selected input feature map, f c (˙) represents the activation function of the convolutional layer; S403: In the pooling layer, the features extracted by the convolution layer are compressed by dimensionality reduction: , in, Indicates the current pooling layer j The output of each channel, f p (˙) represents the pooling layer activation function, Represents the multiplication bias of the current pooling layer, f down (˙) represents the downsampling function, Indicates the previous pooling layer j The output of each channel, Represents the additive bias of the current pooling layer; S404: In a fully connected layer, summarizing outputs of the convolutional layer and the pooling layer; S405: In the output layer, the patient's preoperative anxiety level is evaluated based on the summarized features: , in, σ represents the degree of preoperative anxiety, Sigmoid(˙) represents the Sigmoid activation function, w i Indicates i The weight coefficient of the feature, h i Indicates i Features, b Indicates the bias value, , n Represents the total number of features.
