Music sleep-aiding prescription generation method and device, medium and computer equipment

By combining virtual and real-life diagnosis and real-time brain wave signal monitoring, personalized brain wave music is generated, which solves the problem that existing music sleep aid technology cannot optimize music content according to the sleep stage, and achieves efficient sleep aid effects and optimized sleep quality.

CN119909290APending Publication Date: 2025-05-02XIN-HUANGPU JOINT INNOVATION INST OF CHINESE MEDICINE
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510078192.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing music sleep aid technology lacks personalized recommendations and real-time brain wave signal monitoring, and cannot optimize music content according to different sleep stages, affecting sleep quality.

Method used

By obtaining the virtual and real-time brain wave information of the target object, we identify sleep staging, and generate personalized brain wave music, dynamically update music information, and generate personalized music sleep aid prescriptions.

Benefits of technology

It realizes the generation of personalized music based on the sleep of the target object, improves the sleep aid effect, optimizes the quality of sleep, and provides personalized, dynamic and scientific sleep aid solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119909290A_ABST
    Figure CN119909290A_ABST
Patent Text Reader

Abstract

The invention provides a music sleep-aiding prescription generation method and device, a medium and computer equipment, and the method comprises the steps: obtaining music information associated with a virtual-real differentiation result of a target object, and monitoring the brain wave information of the target object during the playing period of the music information; according to the brain wave information of the target object, sleep stages of the target object are identified; in response to the recognition result of the sleep stage of the target object under the playing duration corresponding to the music information, brain wave music of the target object is generated; music information of the target object is updated based on the brain wave music; based on the updated music information, generating music sleep-aiding prescriptions in one-to-one correspondence with the target objects; by adopting the method provided by the invention, the brain wave data of the target object can be extracted according to the sleep stage of the target object, and the brain wave music is generated by utilizing the brain wave data, so that the updated brain wave music can more effectively assist sleep.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of music aiding sleep, and more specifically, to a method, device, medium and computer equipment for generating a music aiding sleep prescription. Background Art

[0002] There are some significant defects in the existing music sleep aids. First, there is a lack of personalized music recommendations for different categories of people. Most traditional technologies tend to be universal solutions, relying on common music types or rhythm patterns without taking into account the differences in physical fitness, emotions or health status of different individuals. Each person's brain wave characteristics, sleep needs and perception of music vary greatly. Therefore, using a single, fixed music pattern may not achieve the best sleep aid effect. Especially in the case of large individual differences, this lack of personalized adjustment often fails to effectively improve sleep quality and may even cause discomfort. Secondly, existing music sleep aids generally ignore the monitoring and analysis of brain wave signals of the human body in different sleep states. Brain wave signals are an intuitive reflection of individual sleep quality, stage division and physiological reactions. They have significant characteristic changes in different sleep stages (such as light sleep, deep sleep, and rapid eye movement). Most existing technologies fail to make timely adjustments and optimizations according to the changes in brain wave signals during dynamic monitoring, resulting in the inability to provide precise intervention in practical applications. This problem stems from the fact that the diversity of human states and the key role of brain wave signals in the personalized optimization of music solutions were not fully considered when the technology was designed. The brain wave signals in different sleep stages require different music characteristics, but the failure to detect and adapt to these changes in real time affects the sleep-aiding effect.

[0003] In summary, existing music recommendation methods lack dynamic detection and analysis of brain wave signals, and are unable to monitor and identify changes in individual sleep stages in real time, and are thus unable to optimize music content based on different sleep stages, affecting the effect of sleep improvement. Summary of the invention

[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method, device, medium and computer equipment for generating a music sleep-aiding prescription, so as to overcome the disadvantage that the existing sleep-aiding music recommendation scheme cannot optimize the music content based on the sleep stage.

[0005] The above technical objectives of the present invention are achieved through the following technical solutions: A method for generating a music sleep-aiding prescription, comprising: Acquire music information associated with the target object's deficiency-excess syndrome differentiation result, and monitor the target object's brain wave information during the playing of the music information; identifying the sleep stage of the target object according to the brain wave information of the target object; In response to the recognition result of the sleep stage of the target object under the corresponding playing time of the music information, brain wave music of the target object is generated; and music information of the target object is updated based on the brain wave music; Based on the updated music information, a music sleep-aiding prescription corresponding to the target object is generated.

[0006] In one embodiment, The monitoring of the brain wave information of the target object during the playing of the music information specifically includes: The brain wave time domain data of the target object in the past five minutes is detected with a step length of one minute.

[0007] In one embodiment, the generating of the brainwave music of the target object in response to the recognition result of the sleep stage of the target object at the corresponding playing time of the music information specifically includes: In a case where the music information is played for a first time period, identifying the sleep stage of the target subject based on brain wave time domain data within a first preset time period before the end of the first time period; When the sleep stage of the target object is deep sleep or rapid eye movement, brainwave music is generated based on brainwave time domain data of the target object within a first preset time period before the end of a first time period.

[0008] In one embodiment, generating brainwave music based on the brainwave time domain data of the target object within a first preset time period before the end of the first time period specifically includes: Brainwave music is generated based on the brainwave time domain data of the target object in deep sleep or rapid eye movement period.

[0009] In one embodiment, the step of generating brainwave music for the target object in response to the recognition result of the sleep stage of the target object at the corresponding playing time of the music information further includes: When the sleep stage of the target subject is not a deep sleep stage or a rapid eye movement stage, continuously playing the music information; In a case where the playing time of the music information lasts for a second time period, the brainwave music is generated based on the brainwave time domain data within a second preset time period before the end of the second time period.

[0010] In one embodiment, the second time period is specifically 30 minutes.

[0011] In one embodiment, updating the music information of the target object based on the brainwave music specifically includes: replacing unplayed music of the target object with the brainwave music to update the music information of the target object.

[0012] A device for generating a music-aiding sleep prescription, comprising: A monitoring unit, used to obtain music information associated with the result of the virtual-real syndrome differentiation of the target object, and monitor the brain wave information of the target object during the playing of the music information; an identification unit, configured to identify the sleep stage of the target object according to the brain wave information of the target object; An updating unit, configured to generate brainwave music of the target object in response to the recognition result of the sleep stage of the target object under the corresponding playing time of the music information; and update the music information of the target object based on the brainwave music; The generating unit is used to generate a music sleep-aiding prescription corresponding to the target object one by one based on the updated music information.

[0013] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0014] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0015] In summary, the present invention has the following beneficial effects: a method for generating a music sleep-aiding prescription, comprising: acquiring music information associated with a target object's deficiency-excess syndrome differentiation result, and monitoring the target object's brain wave information during the playback of the music information; identifying the target object's sleep stage according to the target object's brain wave information; generating brain wave music for the target object in response to the recognition result of the target object's sleep stage at the corresponding playback time of the music information; updating the target object's music information based on the brain wave music; generating a music sleep-aiding prescription corresponding to the target object one-to-one based on the updated music information; adopting the method of the present invention, the target object's brain wave data can be extracted according to the target object's sleep stage, and brain wave music can be generated using the brain wave data, so that the updated brain wave music can be more effectively used to assist sleep. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flow chart of a method for generating a music sleep-aiding prescription according to the present invention; Figure 2 is a structural diagram of a device for generating a music sleep-aiding prescription in an embodiment of the present invention; Figure 3 is an internal structure diagram of a computer device in an embodiment of the present invention; In the figure: 1. Monitoring unit; 2. Identification unit; 3. Update unit; 4. Generation unit. DETAILED DESCRIPTION

[0017] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.

[0018] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.

[0019] Embodiment 1 In order to solve the above problems, the present invention provides a method for generating a music sleep-aiding prescription, such as Figure 1 As shown, including: S1, obtaining music information associated with the result of deficiency / excess syndrome differentiation of the target object, and monitoring the brain wave information of the target object during the playing of the music information; S2. identifying the sleep stage of the target object according to the brain wave information of the target object; S3, in response to the recognition result of the sleep stage of the target object under the corresponding playing time of the music information, generating brain wave music of the target object; and updating the music information of the target object based on the brain wave music; S4. Based on the updated music information, generate a music sleep-aiding prescription corresponding to the target object one by one.

[0020] In practical applications, it is first necessary to perform deficiency and excess differentiation on the target object to obtain the deficiency and excess differentiation result of the target object, wherein the deficiency and excess differentiation result is used to identify the deficiency and excess constitution of the target object, so as to provide preliminary music information to the target object. Specifically, deficiency and excess differentiation adopts a question scale to realize deficiency and excess differentiation. If the deficiency and excess determination result of the target object is a deficiency syndrome, then Yang-type music is selected to generate music information; if the deficiency and excess determination result of the target object is a excess syndrome, then Yin-type music is selected to generate music information; if the deficiency and excess determination result of the target object is normal, then peaceful music is selected to generate music information; if the deficiency and excess determination result of the target object is a mixed deficiency and excess syndrome, then Yang-type or Yin-type music is selected to generate music information.

[0021] After the judgment is completed, when the target object begins to fall asleep, the music information generated based on the virtual and real syndrome differentiation is played to assist the target to enter the initial sleep state. And after the music information is played for a certain period of time, and based on the brain wave data of the target object, it is judged whether the target object has entered the sleep state. If so, the sleep stage of the target object is judged according to the brain wave data of the target object. Sleep stages are specifically divided into light sleep, light deep sleep, deep sleep and rapid eye movement. Among them, light sleep is the initial stage of falling asleep, usually lasting 5-10 minutes. At this time, brain activity begins to slow down, the body begins to relax, and eye movement slows down; sleep in the light deep sleep stage is relatively shallow, lasting 20-30 minutes. The brain begins to have short-term "sleep spindles" and "K complex waves"; deep sleep is the deepest non-rapid eye movement sleep stage, usually lasting 20-40 minutes. The brain emits slow waves at this time, and important processes of body recovery and repair occur during this stage; REM usually occurs after deep sleep, and is short at first (about 10 minutes), but as each cycle progresses, the REM period gradually becomes longer. At this time, the brain is active and the eyes move rapidly, usually accompanied by dreams. During sleep, a complete sleep cycle lasts about 90 to 120 minutes, and the sleep cycle repeats continuously, usually 4 to 6 complete sleep cycles.

[0022] After obtaining the target object's sleep stage identification result, if the target object's sleep stage identification result meets the requirements, the brainwave data of the target object in the sleep stage is used to generate brainwave music for assisting the target object to enter deep sleep, and the brainwave music is used to update the music information. In the subsequent sleep-aiding process, the brainwave music is used to assist the target to sleep. The updated music information is used as a music prescription and bound to the target user, so that the target user can use the newly generated music information to better assist the target object to sleep in the subsequent sleep-aiding process.

[0023] In summary, the technical solution of the present application provides a personalized music sleep-aiding prescription generation method by combining TCM deficiency and excess syndrome differentiation with brain wave signal monitoring, which has significant technical effects. First, based on the deficiency and excess syndrome differentiation results of the target object, the appropriate music type (such as yang rhyme type, yin rhyme type, and peaceful music) is preliminarily selected to provide personalized music information for the target object, thereby improving the adaptability and pertinence of music to individual sleep. Secondly, during the music playback, by real-time monitoring of the brain wave signals of the target object, its sleep stages (including light sleep, light deep sleep, deep sleep, and rapid eye movement) are identified, and the sleep state of the target object is further accurately judged. On this basis, the solution uses the brain wave data of the target object's specific sleep stage to generate brain wave music that is highly matched with the brain wave characteristics, optimizes the sleep-aiding effect, and dynamically updates the music information to form a sleep-aiding music prescription dedicated to the target object. This closed-loop optimization strategy can continuously adjust and improve the music content according to the real-time sleep state of the target object, ensuring that the music intervention is synchronized with the physiological state of the target object. Ultimately, this technical solution provides continuously optimized sleep-aid services by binding personalized music prescriptions, effectively promoting deep sleep and improving sleep quality, while also embodying personalized, dynamic and scientific technical advantages.

[0024] In one embodiment, the monitoring of the brain wave information of the target object during the playing of the music information specifically includes: detecting the brain wave time domain data of the target object in the past five minutes in steps of one minute.

[0025] In practical applications, since people's sleep cycles are between 60 minutes and 120 minutes, the relationship between computing resources and detection accuracy can be balanced by selecting an appropriate brain wave data detection cycle. In this application, repeated detection in steps of one minute helps to accumulate sufficient data in a shorter period of time, thereby accurately evaluating the target object's brain wave changes within a five-minute time window. This method can capture small changes in the sleep cycle more finely and avoid information loss due to sparse data collection; for the identification of sleep stages, a five-minute time window is sufficient to capture the target object's brain wave fluctuations, while avoiding the distortion that may be caused by too long time intervals. Real-time acquisition of brain wave time domain signals over the past five minutes helps to dynamically adjust music or other sleep-aiding interventions.

[0026] In one embodiment, the brainwave music for the target object is generated in response to the recognition result of the sleep stage of the target object corresponding to the playback duration of the music information, specifically including: when the music information is played for a first time period, the sleep stage of the target object is identified based on the brainwave time domain data within a first preset time period before the end of the first time period; when the sleep stage of the target object is deep sleep or rapid eye movement, the brainwave music is generated based on the brainwave time domain data of the target object within the first preset time period before the end of the first time period.

[0027] In actual application, the first time period is 30 minutes, and the time of the first preset time period is consistent with the detection time length of the brain wave data, that is, 5 minutes. 30 minutes after the target object is guided to fall asleep by playing sleep-aiding music, the brain wave time domain data of the target object is detected, that is, every one minute, the brain wave time domain data of the past five minutes is detected once, and the target object's sleep stage is identified based on the brain wave time domain data detected in the past five minutes. When the target object is in deep sleep or rapid eye movement, the brain wave music is generated using the time domain data of the past five minutes.

[0028] In one embodiment, generating brainwave music based on brainwave time domain data of the target object within a first preset time period before the end of a first time period specifically includes: generating brainwave music based on brainwave time domain data of the target object in deep sleep or rapid eye movement period.

[0029] In one embodiment, the generating of brainwave music based on the brainwave time domain data of the target object in deep sleep or rapid eye movement period specifically includes: generating brainwave music every one minute using the brainwave time domain data of the last five minutes until the target object is no longer in deep sleep or rapid eye movement period.

[0030] In practical applications, since brainwave data is collected based on time rolling, there will be some overlap in the collected data. However, in the process of converting brainwave data into brainwave music, since there are differences between the beginning and the end of the brainwave data, it will affect the final generated brainwave music. Therefore, in this embodiment, the collection of brainwave data and conversion into brainwave music needs to continue with the collection of brainwave time domain data until the target object is no longer in deep sleep or rapid eye movement.

[0031] In one embodiment, the generation of brainwave music for the target object in response to the recognition result of the sleep stage of the target object corresponding to the playback duration of the music information also includes: when the sleep stage of the target object is not deep sleep or rapid eye movement, the music information is continuously played; when the playback time of the music information continues for a second time period, the brainwave music is generated based on brainwave time domain data within a second preset time period before the end of the second time period.

[0032] In actual applications, the following situation may exist: the target user begins to fall asleep under the guidance of the Yin-Yang music information, but after a first time period, the target user's sleep state does not enter deep sleep or rapid eye movement. In this case, after a second time period, the user's brain wave data can be approximately regarded as brain wave data in a deep sleep period, and then the target object's brain wave data is used to generate some brain wave music to replace the Yin-Yang music played earlier. Then, in the next sleep cycle, the target object's sleep cycle is further detected to identify whether the target object has entered a deep sleep period. If so, the target object's deep sleep brain wave data is re-collected to generate brain wave music.

[0033] In one embodiment, the second time period is specifically 30 minutes, and the time length of the second preset time period is consistent with the time length of brain wave data detection, both of which are five minutes. That is, after the first time period and the second time period have passed successively, the brain wave data of the target object in the last five minutes is used to generate brain wave music.

[0034] In actual applications, the first cycle is 30 minutes, and the second cycle is also 30 minutes. This is just longer than the shortest sleep cycle in a sleep cycle. If the target object's sleep cycle is longer, brain wave music generated based on brain wave data can also be played in the subsequent time of this sleep cycle.

[0035] In one embodiment, updating the music information of the target object based on the brainwave music specifically includes: replacing unplayed music of the target object with the brainwave music to update the music information of the target object.

[0036] In practical applications, after obtaining the brainwave music of the target object, the brainwave music is used to replace the yin-yang music in the original music information, and the new brainwave music is used to assist the target object to sleep in the subsequent music sleep-aiding process to achieve the purpose of music sleep-aiding. When using the updated music information to provide sleep-aiding treatment for the target object, the music based on brainwave signal conversion can have a multi-faceted positive impact on people's sleep through synchronization and resonance with brainwave characteristics. This kind of music uses brainwave characteristics to generate personalized frequencies, rhythms and melodies, which are coordinated with the physiological state of the target object, thereby optimizing the sleep experience and quality. Compared with drug sleep aid, music based on brainwave signals is a natural intervention method that does not have adverse reactions to the body. Music based on brainwave signal conversion can help fall asleep quickly, prolong deep sleep time, optimize rapid eye movement function, relieve stress and anxiety, and ultimately improve overall sleep quality by synchronizing with the brainwave characteristics of the target object. Its personalized, dynamic and non-invasive characteristics make it an efficient and safe sleep-aiding solution, providing a scientific intervention method for people with sleep disorders.

[0037] In one embodiment, the music prescription for aiding sleep specifically includes music data of two stages. The first stage is music used to guide the target object to sleep, including Yin-Yang music and music with the brain wave data of the target object. When music aiding sleep is performed for the first time, Yin-Yang music is played as the main music. In the subsequent sleep aiding process, Yin-Yang music is gradually replaced by brain wave music of the target object. The second stage is brain wave music generated based on the brain wave data of the target object, which is used to resonate with the brain wave signal of the target object so that the target object can further relax during sleep.

[0038] Embodiment 2 See also Figure 2 , a music sleep-aiding prescription generating device, the music sleep-aiding prescription generating device comprising: Monitoring unit 1, used to obtain music information associated with the result of deficiency and excess syndrome differentiation of the target object, and monitor the brain wave information of the target object during the playing of the music information; Identification unit 2, used for identifying the sleep stage of the target object according to the brain wave information of the target object; an updating unit, configured to generate brainwave music of the target object in response to the identification result of the sleep stage of the target object under the corresponding playing time of the music information; and update the music information of the target object based on the brainwave music; The generating unit 4 is used to generate a music sleep-aiding prescription corresponding to the target object one by one based on the updated music information.

[0039] The specific definition of the music sleep-aiding prescription generation device can be found in the definition of the music sleep-aiding prescription generation method above, which will not be repeated here. Each module in the above-mentioned music sleep-aiding prescription generation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0040] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation of the present application scheme. The specific music sleep-aiding prescription generating device may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement. Embodiment 3 A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for generating a music sleep-aiding prescription as described in Example 1.

[0041] Embodiment 4 In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, a method for generating a music sleep-aiding prescription is implemented.

[0042] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0043] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented: S1, obtaining music information associated with the result of deficiency / excess syndrome differentiation of the target object, and monitoring the brain wave information of the target object during the playing of the music information; S2. identifying the sleep stage of the target object according to the brain wave information of the target object; S3, in response to the recognition result of the sleep stage of the target object under the corresponding playing time of the music information, generating brain wave music of the target object; and updating the music information of the target object based on the brain wave music; S4. Based on the updated music information, generate a music sleep-aiding prescription corresponding to the target object one by one.

[0044] In one embodiment, the monitoring of the brain wave information of the target object during the playing of the music information specifically includes: detecting the brain wave time domain data of the target object in the past five minutes in steps of one minute.

[0045] In one embodiment, the generating of the brainwave music of the target object in response to the recognition result of the sleep stage of the target object at the corresponding playing time of the music information specifically includes: In a case where the music information is played for a first time period, the sleep stage of the target object is identified based on the brain wave time domain data within a first preset time period before the end of the first time period; in a case where the sleep stage of the target object is deep sleep or rapid eye movement, brain wave music is generated based on the brain wave time domain data of the target object within the first preset time period before the end of the first time period.

[0046] In one embodiment, generating brainwave music based on the brainwave time domain data of the target object within a first preset time period before the end of the first time period specifically includes: Brainwave music is generated based on the brainwave time domain data of the target object in deep sleep or rapid eye movement period.

[0047] In one embodiment, when the sleep stage of the target object is not deep sleep or rapid eye movement, the music information is played continuously; when the playing time of the music information continues for a second time period, brain wave music is generated based on the brain wave time domain data within a second preset time period before the end of the second time period.

[0048] In one embodiment, the second time period is specifically 30 minutes.

[0049] In one embodiment, updating the music information of the target object based on the brainwave music specifically includes: replacing unplayed music of the target object with the brainwave music to update the music information of the target object.

[0050] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0051] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0052] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A method for generating a music sleep-aiding prescription, characterized in that: The method comprises, Acquire music information associated with the target object's deficiency-excess syndrome differentiation result, and monitor the target object's brain wave information during the playing of the music information; identifying the sleep stage of the target object according to the brain wave information of the target object; In response to the recognition result of the sleep stage of the target object at the corresponding playing time of the music information, generating brain wave music of the target object; updating the music information of the target object based on the brainwave music; Based on the updated music information, a music sleep-aiding prescription corresponding to the target object is generated.

2. The method for generating a music sleep-aiding prescription according to claim 1, characterized in that: The monitoring of the brain wave information of the target object during the playing of the music information specifically includes: The brain wave time domain data of the target object in the past five minutes is detected with a step length of one minute.

3. The method for generating a music sleep-aiding prescription according to claim 2, characterized in that: The step of generating brainwave music of the target object in response to the recognition result of the sleep stage of the target object under the corresponding playing time of the music information specifically includes: In a case where the music information is played for a first time period, identifying the sleep stage of the target subject based on brain wave time domain data within a first preset time period before the end of the first time period; When the sleep stage of the target object is deep sleep or rapid eye movement, brainwave music is generated based on brainwave time domain data of the target object within a first preset time period before the end of a first time period.

4. The method for generating a music sleep-aiding prescription according to claim 3, characterized in that: The step of generating brainwave music based on the brainwave time domain data of the target object within a first preset time period before the end of the first time period specifically includes: Brainwave music is generated based on the brainwave time domain data of the target object in deep sleep or rapid eye movement period.

5. The method for generating a music sleep-aiding prescription according to claim 3, characterized in that: The step of generating brainwave music for the target object in response to the recognition result of the sleep stage of the target object under the corresponding playing time of the music information further includes: When the sleep stage of the target subject is not a deep sleep stage or a rapid eye movement stage, continuously playing the music information; In a case where the playing time of the music information lasts for a second time period, the brainwave music is generated based on the brainwave time domain data within a second preset time period before the end of the second time period.

6. The method for generating a music sleep-aiding prescription according to claim 5, characterized in that: The second time period is specifically 30 minutes.

7. The method for generating a music sleep-aiding prescription according to claim 1, characterized in that: The updating of the music information of the target object based on the brainwave music specifically includes: The brainwave music is used to replace the unplayed music of the target object to update the music information of the target object.

8. A device for generating a music-aided sleep prescription, characterized in that: The music sleep-aiding prescription generating device comprises: A monitoring unit, used to obtain music information associated with the result of the virtual-real syndrome differentiation of the target object, and monitor the brain wave information of the target object during the playing of the music information; an identification unit, configured to identify the sleep stage of the target object according to the brain wave information of the target object; An updating unit, configured to generate brainwave music of the target object in response to the recognition result of the sleep stage of the target object under the corresponding playing time of the music information; and update the music information of the target object based on the brainwave music; The generating unit is used to generate a music sleep-aiding prescription corresponding to the target object one by one based on the updated music information.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a music sleep-aiding prescription as described in any one of claims 1 to 7 is implemented.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the method for generating a music sleep-aiding prescription as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Anhypnia traditional Chinese medicine five-tone music generation method and system based on adversarial neural network, and medium

    CN121243580A