Virtual Reality-Based Health Education and Neurorepair Treatment System for Herpes Zoster
The shingles health education and nerve repair treatment system based on virtual reality utilizes VR equipment and mobile control terminals to achieve immersive visualization of the shingles pathological process and standardized nerve guidance training. It solves the problems of the single form of traditional education and the complex interactive design, and provides simplified interaction and remote control functions suitable for middle-aged and elderly patients.
Patent Information
- Application Number
- CN202611132659.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-29
- Publication Date
- 2026-11-17
AI Technical Summary
Existing health education and adjunctive treatment programs for shingles suffer from problems such as traditional, monotonous educational methods, lack of immersive experiences, complex interactive designs, lack of neurally guided training, and insufficient system integration, making it difficult to achieve deep patient memory and standardized training.
The system employs a virtual reality-based health education and neurorepair treatment system for shingles. Through VR devices and mobile control terminals, it provides immersive 3D visualization, simplified interactive design, and neural pathway-guided training. It supports three control modes, including online mode, stand-alone mode, and scene transition mode. Utilizing technologies such as collision detection, neural highlighting, light sphere motion, and trajectory rendering, combined with voice guidance and data recording modules, it achieves a standardized neural guidance training process.
It achieves an immersive visualization of the pathological process of shingles, lowers the learning threshold for interactive operation, provides a standardized neural guidance training process, and supports remote control and status monitoring, thus constructing a complete closed loop of digital health education and assisted treatment.
Smart Images

Figure CN123120249A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image recognition, and more particularly to a virtual reality-based health education and nerve repair treatment system for shingles. Background Technology
[0002] With the rapid development of technologies such as computer graphics, real-time rendering, sensors, and mobile computing, immersive virtual reality (VR), based on head-mounted display devices, has expanded from the entertainment field to professional scenarios such as medicine, education, and rehabilitation. VR can construct interactive three-dimensional information environments within limited physical space, allowing users to perceive complex structures and dynamic processes from a first-person perspective, becoming an important technological foundation for the next generation of medical visualization and digital therapy.
[0003] Shingles is an acute infectious disease caused by the reactivation of the varicella-zoster virus (VZV). It primarily distributes along peripheral nerve segments and is often accompanied by severe neuralgia. Traditional health education relies on printed leaflets, diagrams, and verbal explanations, which have the following limitations:
[0004] (1) Abstract concepts are difficult to present intuitively: pathological processes such as viral incubation, ganglion activation, and nerve pathways are difficult to fully express through two-dimensional images;
[0005] (2) Low patient participation: Passive information reception makes it difficult to form deep memories and results in insufficient compliance;
[0006] (3) Lack of standardized training tools: There is a lack of reusable structured education and rehabilitation training systems in clinical practice.
[0007] The existing health education and adjunctive treatment programs for shingles have the following technical problems:
[0008] (1) Traditional forms of education are limited: paper materials and videos cannot achieve interactive learning, making it difficult for patients to establish a continuous cognitive chain from anatomical structure to pathological mechanism;
[0009] (2) Lack of immersive experience support: The existing solutions cannot enable patients to observe the pathological process and treatment principles from a first-person perspective, thus limiting their understanding of the effects;
[0010] (3) High complexity of interaction design: Some VR medical applications have complex interaction modes, which pose a high learning threshold for middle-aged and elderly patients;
[0011] (4) Lack of neuro-guided training: Existing digital therapy lacks a visual attention guidance and association training mechanism for postherpetic neuralgia;
[0012] (5) Insufficient system integration: The content of health education is separated from the treatment training, and a complete digital health education and auxiliary treatment closed loop cannot be formed.
[0013] Based on the above-mentioned technical problems, this invention proposes a virtual reality-based health education and neuro-guided treatment system for shingles, which aims to solve the shortcomings of existing solutions in terms of education effectiveness, interactive experience and training standardization through immersive three-dimensional visualization, simplified interactive design and neural pathway guided training. Summary of the Invention
[0014] The purpose of this invention is to provide a virtual reality-based health education and nerve repair treatment system for shingles, in order to solve the problems mentioned in the background art.
[0015] To achieve the above-mentioned objectives, this invention provides a virtual reality-based health education and nerve repair treatment system for shingles, comprising a VR device and a mobile control terminal, wherein:
[0016] The VR device serves as the primary platform for user interaction, running VR applications developed using the Unity engine. These applications include a scene management module, an interaction processing module, an audio management module, and a data recording module. Specifically: the scene management module manages the loading and switching of waiting scenes, video education scenes, and interactive training scenes through a unified scene navigation service; the interaction processing module controls the non-blocking training process, with a collision controller coordinating four sub-modules: collision detection, neural highlighting, light sphere motion, and trajectory rendering; the audio management module controls playback sound effects and playback modes; and the data recording module manages the entire lifecycle of training data using a singleton pattern.
[0017] The mobile control terminal is used to provide remote control for medical staff. It enables remote control of the treatment process and real-time reporting of training data through WebSocket communication. The control content includes treatment process, scene switching, and status monitoring.
[0018] Furthermore, the system supports three control modes, including online mode, which allows the training process to be remotely controlled by a mobile terminal; stand-alone mode, which allows the user to operate independently on the VR terminal; and scene switching mode, which allows the user to remotely switch scenes via a mobile terminal.
[0019] Furthermore, the waiting scene in the scene management module is the default scene after the system starts, providing two functional entry points: "Medical Animation Popular Science Video" and "VR Neural Guidance Therapy". It supports ray pointing highlighting and controller click interaction, and displays the connection status with the mobile control terminal in real time. The video scene is used to play shingles pathology animation. The interactive scene is the core module of neural guidance therapy training. The process status is automatically updated when switching between the three scenes, and the entry and exit timestamps of the scenes are recorded in the training process.
[0020] Furthermore, the interaction processing module adopts an asynchronous programming model to achieve non-blocking training process control, and sets up an anti-re-entrancy mechanism to ensure that no new collision events are responded to before the current training process is completed.
[0021] Furthermore, the data recording module includes training-level data, scenario-level data, and interaction-level data. After training is completed, the data is assembled into a status message structure and reported to the mobile terminal. The data is automatically cleaned up when training ends or is abandoned.
[0022] Furthermore, the treatment process is controlled by sending training control commands via training control messages, supporting four command types: start training (carrying a training identifier and a list of course scenarios), pause / resume training, end training normally, and abandon training. After receiving the command, the VR terminal distributes it to the training command processor for processing via the event bus and returns a training status message to provide feedback on the current training status (six states: not started, started, in progress, paused, ended, and rejected).
[0023] Furthermore, the scene switching control is achieved by sending scene control commands via scene control messages, supporting three command types: switching to a specified scene (carrying the target scene name), performing operations within the scene, and requesting the current scene status. When the VR client executes a scene switch, it automatically sets the control mode to scene jump mode, and updates the process status according to the scene type after the switch is completed.
[0024] Furthermore, the status monitoring involves maintaining a heartbeat connection through connection status messages, periodically sending connection status query requests, receiving training status messages returned by the VR device to obtain training status, training duration, events in each scene, and training reports, and receiving scene information messages to obtain the current scene name, training mode, and training progress status.
[0025] Furthermore, the collision detection submodule is used to set collision triggers in each nerve innervation area of the 3D human body model. The collision detection adopts a trigger entry mechanism. When a user's finger or ray enters the trigger area, the system publishes a skeleton entry event through the event bus, carrying the corresponding nerve area type parameters, and triggers the subsequent nerve highlighting and path movement process. The system sets up an anti-re-entry mechanism to ensure that no new collision events are responded to before the current training process is completed.
[0026] Furthermore, after a collision event is triggered, the neural highlighting submodule uses the highlighting manager to search for the pre-configured neural model and highlighting effect mapping table based on the neural region type, and then enables the corresponding neural model's highlighting effect component to achieve the luminous highlighting effect. The highlighting state is continuously displayed during the training process and automatically turns off after training is completed, allowing patients to intuitively understand the correspondence between the pain area and the nerve pathway.
[0027] Furthermore, each neural region in the light sphere motion submodule is configured with independent motion path parameters through the path configuration component, including: path point sequence, motion duration, easing curve type, path interpolation type, and whether the path is closed. The system supports a pre-rotation stage, in which the human model is rotated to the optimal viewing angle before the light sphere departs, and the pre-rotation duration is configurable. The light sphere motion is implemented using the path animation method of the animation library. During the motion, the rotation angle of the human model is interpolated in real time according to the path progress, so as to realize the synchronous motion of the light sphere and the human model.
[0028] Furthermore, the trajectory rendering submodule is used to render the glowing trajectory left by the motion of the light sphere in real time based on the particle system; whereby...
[0029] The trajectory service uses a circular buffer to store sampling point data, with each sampling point recording local coordinates, timestamp, and random value;
[0030] The sampling strategy uses a distance threshold to determine when the distance the photosphere moves exceeds the product of the configured sampling interval and a random multiple, thus avoiding overly dense or sparse sampling points.
[0031] The trajectory display uses a delay mechanism, where sampling points are displayed after a certain delay after recording, creating a visual effect of the trajectory gradually growing.
[0032] The flowing bright band effect is achieved by calculating the distance between the normalized position of each particle on the path and the position of the flow head. Particles closer to the flow head are brighter and larger, while particles farther away are randomly removed to increase the graininess.
[0033] The flow velocity controls the frequency at which the bright band moves along the trajectory, and the width of the bright band controls the proportion of the bright area to the entire trajectory.
[0034] Furthermore, a voice guidance mechanism is provided, including:
[0035] Prompt sound: Plays in a loop after the interactive module loads, guiding the patient to click on the painful area;
[0036] Start sound: Plays after clicking on the painful area;
[0037] Guiding sound: Played before each time the light sphere departs, starting from the second cycle;
[0038] Ending note: Played after each round of light sphere movement is completed;
[0039] Finished sound: Played after all loops are complete.
[0040] Compared with existing technologies, this system and method have the following advantages:
[0041] 1. Achieve immersive visualization of pathological processes: Through three-dimensional human body models and dynamic pathological demonstrations, the abstract processes of shingles virus, such as incubation, activation, and nerve pathways, are transformed into observable three-dimensional scenes. Information presentation is upgraded from two-dimensional to three-dimensional, and time evolution is upgraded from static to dynamic.
[0042] 2. Lowering the learning threshold for interactive operation: Adopting a simplified interaction paradigm of "eye pointing + finger clicking", the interactive actions are consistent with daily operating habits, requiring no special training, and are suitable for promotion and use by middle-aged and elderly patients.
[0043] 3. Provides a standardized neural guidance training process: A fixed process of "clicking on the pain area → highlighting the nerve → light ball path movement → loop training" is designed. Each pain area corresponds to an independent neural path configuration. The process can be called repeatedly and the parameters can be configured.
[0044] 4. Enables remote control and status monitoring: Medical staff can remotely start, pause, and end training via PAD, and obtain training status and interaction data in real time, making it convenient to manage the training process of multiple patients simultaneously.
[0045] 5. A three-in-one digital health system integrating "immersive visual education + neural pathway guided training + remote control management" was constructed. By transforming abstract pathological processes into interactive 3D scenes, simplifying complex VR operations into natural interactions, and integrating education content and treatment training into a unified platform, the shortcomings of existing solutions in terms of information presentation, interactive convenience, and functional completeness were solved. Attached Figure Description
[0046] Figure 1 This is a structural diagram of a virtual reality-based health education and nerve repair treatment system for shingles.
[0047] Figure 2 This is the system control flowchart.
[0048] Figure 3 This is a flowchart of the interactive processing module. Detailed Implementation
[0049] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0050] like Figure 1 , Figure 2The figures shown are the system structure diagram and system control flowchart of this invention. This invention adopts a dual-end architecture with separate VR device and mobile control terminal. The VR device runs as a WebSocket server, listening on a preset communication port; the mobile control terminal connects as a client. The system supports three control modes: online mode (remote control of the training process by the mobile terminal), standalone mode (user operates independently on the VR device), and scene switching mode (remote scene switching by the mobile terminal). Authentication is performed upon connection establishment, verifying the client token, software version, protocol version, software name, and operating platform. After successful verification, the client device identifier is recorded for reconnection identification. Communication uses binary data format to achieve efficient bidirectional real-time transmission.
[0051] The VR device is a head-mounted display (PICO device), serving as the primary medium for user interaction and running VR applications developed using the Unity engine. The system employs a scene navigation service to uniformly manage scene switching, maintain the course list and current course index, and support operations such as jumping to a course by index, jumping to the next course, and returning to a waiting scene. Key functional components include:
[0052] (1) Scene Management Module: The loading and switching of waiting scenes, video education scenes, and interactive training scenes are uniformly managed through scene navigation services. The waiting scene is the default scene after the system starts, providing two functional entry points: "Medical Animation Popular Science Video" and "VR Neural Guidance Therapy". It supports ray pointing highlighting and controller click interaction, and displays the connection status with the mobile control terminal in real time. The video scene is used to play medical animations on the pathology and pain management of herpes zoster, showing the complete pathological process of viral incubation, activation, nerve progression, and pain induction. After playback, it automatically returns to the waiting scene. The interactive scene is the core scene for neural guidance therapy training. The process status is automatically updated when switching scenes, and the entry and exit timestamps of the scene are recorded in the training process.
[0053] (2) Interaction Processing Module: The collision controller coordinates the work of four sub-modules: collision detection, neural highlighting, light sphere motion, and trajectory rendering. An asynchronous programming model is used to achieve non-blocking training process control, and an anti-re-entry mechanism is set to ensure that no new collision events are responded to before the current training process is completed. The interaction processing module is the core of neural guided therapy, and the interaction process is as follows: Figure 3 As shown, the functions of the four sub-modules are as follows:
[0054] The collision detection submodule sets collision triggers in various nerve innervation areas of the 3D human model. The system defines twenty-six nerve region types, specifically including: cervical nerve regions (three trigger areas on the left and right sides of the second cervical vertebrae, and the third to fourth cervical vertebrae); thoracic nerve regions (six trigger areas on the left and right sides of the second to fourth thoracic vertebrae, the fifth to seventh thoracic vertebrae, and the eighth to tenth thoracic vertebrae); thoracolumbar spine regions (two trigger areas on the left and right sides of the eleventh thoracic vertebra to the first lumbar vertebrae); trigeminal nerve regions (six trigger areas on the left and right sides of the ophthalmic branch, maxillary branch, and mandibular branch); and limb regions (two trigger areas on the left and right sides of the hands, and six trigger areas on the left and right sides of the inner, outer, and posterior sides of the legs). Collision detection uses a trigger entry mechanism. When a user's finger or ray enters a trigger area, the system publishes a skeletal entry event via the event bus, carrying the corresponding nerve region type parameters, triggering subsequent nerve highlighting and path movement processes. The system has an anti-re-entry mechanism to ensure that no new collision events are responded to before the current training process is completed. This submodule sets collision triggers in each nerve innervation area of the human model, establishes a mapping relationship between the trigger area and the nerve structure, and achieves a precise correspondence between the clicked area and the displayed nerve.
[0055] The neural highlighting submodule: After a collision event is triggered, the highlighting manager searches the pre-configured neural model and highlighting effect mapping table according to the neural region type, and activates the corresponding neural model's highlighting effect component to achieve the glowing highlighting effect. Highlighting configuration supports binding multiple highlighting effect objects to each neural region, and can simultaneously highlight the main nerve and its branches. The highlighting status is continuously displayed during the training process and automatically turns off after training is completed, allowing patients to intuitively understand the correspondence between pain areas and nerve pathways.
[0056] The light sphere motion submodule is used to allow patients to visually observe the nerve repair process by smoothly moving a warm-colored light sphere along a preset neural path and synchronously rotating the human model. Each neural region has independent motion path parameters configured through the path configuration component, including: path point sequence (each path point includes position and rotation parameters), motion duration (configurable range of 20 to 30 seconds), easing curve type (supports multiple curves such as linear), path interpolation type (default uses Catmull-Rom spline curve for smooth transition), and whether the path is closed. The system supports a pre-rotation stage, where the human model is rotated to the optimal viewing angle before the light sphere starts moving; the pre-rotation duration is configurable. The light sphere motion is implemented using path animation methods from the animation library. During the motion, the rotation angle of the human model is interpolated in real time based on the path progress, achieving synchronous motion between the light sphere and the human model. Training for each neural region supports multiple loops (configurable range of 3 to 10 times), with transitional sound effects played between loops. This submodule allows patients to visually observe the nerve repair process by smoothly moving a warm-colored light sphere along a preset neural path and synchronously rotating the human model.
[0057] The trajectory rendering submodule renders the luminous trajectory left by the movement of a light sphere in real time based on a particle system. The trajectory service uses a circular buffer to store sampling point data; each sampling point records local coordinates, a timestamp, and a random value. The sampling strategy uses a distance threshold: when the light sphere moves a distance exceeding the product of the configured sampling interval and a random multiple, a new sampling point is recorded, avoiding overly dense or sparse sampling points. Trajectory display uses a delay mechanism; sampling points are displayed after a delay following recording, creating a visual effect of the trajectory gradually growing. The flowing bright band effect is achieved by calculating the distance between the normalized position of each particle on the path and the head of the flow: particles closer to the head of the flow are brighter and larger (configurable from one to six times magnification), while particles farther away are randomly discarded to increase graininess. The flow speed controls the frequency of the bright band's movement along the trajectory, and the bright band width controls the proportion of the highlighted area to the entire trajectory. This submodule, by rendering the luminous trajectory left by the movement of the light sphere in real time, combined with the flowing bright band effect, creates the visual sensation of energy flowing along nerves.
[0058] (3) Audio Management Module: It adopts a dual audio source architecture, which is used to play short sound effects and voice guidance respectively, and supports simultaneous playback without mutual interference. By configuring the object management path related audio (training start sound, loop transition sound, training end sound, secondary guidance sound) and background loop audio, the loop playback interval can be configured.
[0059] Voice guidance includes the following types:
[0060] Prompt sound: Plays in a loop after the interactive module loads, guiding the patient to click on the painful area;
[0061] Start sound: Plays after clicking on the painful area;
[0062] Guiding sound: Played before each time the light sphere departs, starting from the second cycle;
[0063] Ending note: Played after each round of light sphere movement is completed;
[0064] Finished sound: Played after all loops are complete.
[0065] (4) Data Recording Module: The module uses a singleton pattern to manage the entire lifecycle of training data. Remote control of the treatment process and real-time reporting of training data are achieved through WebSocket communication. The data structure includes training-level data (unique training identifier, start and end timestamps, in UTC (Coordinated Universal Time) millisecond format), scene-level data (using a dictionary structure to record the name and time information of each scene, and maintaining the scene access order through a list), and interaction-level data (recording the pain area first clicked by the patient). After training is complete, the data is assembled into a status message structure and reported to the mobile terminal. The data is automatically cleaned up when training ends or is abandoned.
[0066] Mobile control terminals, such as PADs, serve as remote control devices for medical personnel and primarily perform the following functions:
[0067] (1) Treatment process control: Training control commands are sent through training control messages, supporting four command types: start training (carrying training identifier and course scene list), pause / resume training, normal end training, and abandon training. After receiving the command, the VR terminal distributes it to the training command processor through the event bus for processing and returns a training status message to provide feedback on the current training status (six statuses: not started, started, in progress, paused, ended, and rejected).
[0068] (2) Scene switching: Send scene control commands via scene control messages, supporting three command types: switching to a specified scene (carrying the target scene name), performing operations within the scene, and requesting the current scene status. When the VR terminal performs a scene switch, it automatically sets the control mode to scene jump mode, and updates the process status according to the scene type after the switch is completed;
[0069] (3) Status monitoring: Maintain heartbeat connection through connection status messages and send connection status query requests periodically. Receive training status messages returned by the VR terminal to obtain training status, training duration, events in each scene (including scene name, start and end time, and runtime), and training reports (including the pain areas clicked by the patient); receive scene information messages to obtain the current scene name, training mode, and training progress status.
[0070] This invention constructs a three-in-one digital health system that integrates "immersive visual education + neural pathway guided training + remote control management". By transforming abstract pathological processes into interactive three-dimensional scenes, simplifying complex VR operations into natural interactions, and integrating education content and treatment training into a unified platform, it solves the shortcomings of existing solutions in terms of information presentation, interactive convenience, and functional completeness.
[0071] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A virtual reality-based health education and nerve repair treatment system for shingles, characterized in that, Including VR device terminals and mobile control terminals, among which: The VR device serves as the primary platform for user interaction, running VR applications developed using the Unity engine. These applications include a scene management module, an interaction processing module, an audio management module, and a data recording module. Specifically: the scene management module manages the loading and switching of waiting scenes, video education scenes, and interactive training scenes through a unified scene navigation service; the interaction processing module controls the non-blocking training process, with a collision controller coordinating four sub-modules: collision detection, neural highlighting, light sphere motion, and trajectory rendering; the audio management module controls playback sound effects and playback modes; and the data recording module manages the entire lifecycle of training data using a singleton pattern. The mobile control terminal is used to provide remote control for medical staff. It enables remote control of the treatment process and real-time reporting of training data through WebSocket communication. The control content includes treatment process, scene switching, and status monitoring.
2. The virtual reality-based health education and nerve repair treatment system for shingles according to claim 1, characterized in that, The system supports three control modes: online mode, which allows remote control of the training process via mobile terminal; stand-alone mode, which allows users to operate independently on the VR terminal; and scene switching mode, which allows remote scene switching via mobile terminal.
3. The virtual reality-based health education and nerve repair treatment system for shingles according to claim 1, characterized in that, The waiting scene in the scene management module is the default scene after the system starts. It provides two function entries: "Medical Animation Popular Science Video" and "VR Neural Guidance Therapy". It supports ray pointing highlighting and controller click interaction, and displays the connection status with the mobile control terminal in real time. The video scene is used to play shingles pathology animation. The interactive scene is the core module for neural guidance therapy training. The process status is automatically updated when switching between the three scenarios, and the entry and exit timestamps of the scenarios are recorded during the training process.
4. The virtual reality-based health education and nerve repair treatment system for shingles according to claim 1, characterized in that, The interactive processing module adopts an asynchronous programming model to achieve non-blocking training process control, and sets up an anti-re-entrancy mechanism to ensure that no new collision events are responded to before the current training process is completed.
5. The virtual reality-based health education and nerve repair treatment system for shingles according to claim 1, characterized in that, The data recording module includes training-level data, scenario-level data, and interaction-level data. After training is completed, the data is assembled into a status message structure and reported to the mobile terminal. The data is automatically cleaned up when training ends or is abandoned.
6. The virtual reality-based health education and nerve repair treatment system for shingles according to claim 1, characterized in that, The status monitoring involves maintaining the heartbeat connection through connection status messages and periodically sending connection status query requests; receiving training status messages returned by the VR device to obtain training status, training duration, events in each scene, and training reports; Receive scene information messages to obtain the current scene name, training mode, and training status.
7. The virtual reality-based health education and nerve repair treatment system for herpes zoster according to claim 1, characterized in that, The collision detection submodule is used to set collision triggers in each nerve innervation area of the 3D human body model. The collision detection adopts a trigger entry mechanism. When a user's finger or ray enters the trigger area, the system publishes a skeleton entry event through the event bus, carrying the corresponding nerve area type parameters, and triggers the subsequent nerve highlighting and path movement process. The system sets up an anti-re-entry mechanism to ensure that no new collision events are responded to before the current training process is completed. The nerve innervation areas include the cervical nerve area, thoracic nerve area, thoracic and lumbar spine area, trigeminal nerve area, and limb areas.
8. The virtual reality-based health education and nerve repair treatment system for shingles according to claim 1, characterized in that, After a collision event is triggered, the highlighting manager searches for the pre-configured neural model and highlighting effect mapping table according to the neural region type, and enables the highlighting effect component of the corresponding neural model to achieve the glowing highlighting effect. The highlighting state is continuously displayed during the training process and automatically turned off after the training is completed, so that patients can intuitively understand the correspondence between the pain area and the nerve course.
9. The virtual reality-based health education and nerve repair treatment system for shingles according to claim 1, characterized in that, The light sphere motion submodule is used to smoothly move a warm-colored light sphere along a preset neural path, synchronized with the rotation of the human body model, allowing patients to intuitively observe the visualization process of nerve repair. Each neural region can be configured with independent motion path parameters through the path configuration component, including: path point sequence, motion duration, easing curve type, path interpolation type, and whether the path is closed. The system supports a pre-rotation stage, in which the human body model is rotated to the optimal observation angle before the light sphere starts moving, and the pre-rotation duration is configurable. The light sphere motion is implemented using the path animation method of the animation library. During the motion, the rotation angle of the human body model is interpolated in real time according to the path progress, realizing the synchronous motion of the light sphere and the human body model.
10. The virtual reality-based health education and nerve repair treatment system for herpes zoster according to claim 1, characterized in that, The trajectory rendering submodule is used to render the glowing trajectory left by the motion of the light sphere in real time based on the particle system; among which The trajectory service uses a circular buffer to store sampling point data, with each sampling point recording local coordinates, timestamp, and random value; The sampling strategy uses a distance threshold to determine when the distance the photosphere moves exceeds the product of the configured sampling interval and a random multiple, thus avoiding overly dense or sparse sampling points. The trajectory display uses a delay mechanism, where sampling points are displayed after a certain delay after recording, creating a visual effect of the trajectory gradually growing. The flowing bright band effect is achieved by calculating the distance between the normalized position of each particle on the path and the position of the flow head. Particles closer to the flow head are brighter and larger, while particles farther away are randomly removed to increase the graininess. The flow velocity controls the frequency at which the bright band moves along the trajectory, and the width of the bright band controls the proportion of the bright area to the entire trajectory.
