Control method and device of breathing equipment, equipment, storage medium and program product

By acquiring voice and respiratory signal information from the ventilator, analyzing the user's behavioral state, and outputting personalized audio information, the problem of insufficient intelligent interactivity of ventilator equipment is solved, enabling more proactive user interaction and a personalized user experience.

CN120919472APending Publication Date: 2025-11-11SHENZHEN SUNNYGRAND HEALTHCARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510825040.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Existing ventilator devices have limitations in intelligent functions and interactivity, and cannot provide personalized audio information based on the user's behavior.

Method used

By acquiring the output information of the respiratory device, including voice information and respiratory signal information, the system analyzes the user's behavioral state and controls the respiratory device to output corresponding audio information based on the behavioral state, providing a personalized user experience.

Benefits of technology

It enables proactive and intelligent interaction between the breathing device and the user, improves the user's enthusiasm and participation, meets the personalized needs of different sleep stages, and enhances the user's satisfaction with the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120919472A_ABST
    Figure CN120919472A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device for breathing equipment, equipment, a storage medium and a program product, and the method comprises the steps: obtaining the output information of the breathing equipment, then analyzing the output information, determining the behavior state of a user associated with the breathing equipment, and finally controlling the breathing equipment to output corresponding audio information according to the behavior state. Wherein the output information comprises voice information and / or breathing signal information. According to the method, the breathing equipment can be controlled to output the corresponding audio information according to the behavior state of the user, personalized use experience can be provided for the user, and the problem that traditional breathing equipment only provides a breathing support or monitoring function, and interaction with the user is limited is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things (IoT) technology, and in particular to a control method, apparatus, device, storage medium, and program product for a respiratory device. Background Technology

[0002] In modern medicine, ventilators are a crucial medical device widely used in various clinical scenarios, such as emergency care, intensive care, and the treatment of chronic respiratory diseases. They assist or replace spontaneous breathing, maintaining respiratory function and playing an irreplaceable role in saving lives and improving treatment outcomes. Traditional ventilator equipment primarily focuses on providing basic respiratory support functions, such as adjusting parameters like respiratory rate, tidal volume, and inspiratory pressure to meet the different respiratory needs of patients.

[0003] However, with the development of technology and the increasing demands of patients, existing ventilator equipment has certain limitations in terms of intelligent functions. Summary of the Invention

[0004] Therefore, it is necessary to provide a control method, device, equipment, storage medium, and program product for a breathing device that enables intelligent breathing equipment, addressing the aforementioned technical problems.

[0005] In a first aspect, this application provides a control method for a respiratory device, applied to a respiratory device, the method comprising:

[0006] Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information;

[0007] Analyze the output information to determine the behavioral status of the user associated with the respiratory device;

[0008] The respiratory device outputs corresponding audio information based on the user's behavioral state.

[0009] In some embodiments, the output information is analyzed to determine the behavioral state of the user associated with the respiratory device, including:

[0010] If the output information includes respiratory signal information, then it is determined that the user is in a sleep state;

[0011] If the output information includes voice information, it is determined that the user is not asleep.

[0012] In some embodiments, the method further includes:

[0013] Analyze the respiratory rate in the respiratory signal information to determine the level of the user's sleep state;

[0014] If the breathing rate is within the first breathing rate range, then the user is determined to be asleep.

[0015] If the breathing rate is within the second breathing rate range, the user is determined to be in a light sleep state.

[0016] If the breathing rate is within the third breathing rate range, the user is determined to be in deep sleep.

[0017] In some embodiments, the respiratory device is controlled to output corresponding audio information based on the behavioral state, including:

[0018] If the user is asleep, retrieve sleep audio data from the database and control the breathing device to play the sleep audio data.

[0019] If the user is not asleep, the system analyzes the user's historical voice information to determine the user's voice habits, generates response audio information based on the voice habits and voice information, and controls the breathing device to output response audio information.

[0020] In some embodiments, if the user is asleep, sleep audio data is retrieved from a database, and the breathing device is controlled to play the sleep audio data, including:

[0021] If the user is in a sleep state, the first audio file is retrieved from the database and the breathing device is controlled to play the first audio file.

[0022] If the user is in a light sleep state, the second audio file is retrieved from the database and the breathing device is controlled to play the second audio file.

[0023] If the user is in a deep sleep state, the third audio file is retrieved from the database and the breathing device is controlled to play the third audio file.

[0024] In some embodiments, the method further includes:

[0025] When a user initiates a customized service, the user's historical usage records are retrieved; the historical usage records include at least one of the following: the time when the historical command was issued, the content of the historical command, and the functions used in the historical period.

[0026] Control signals are generated based on the user's historical usage records, and the breathing device is controlled according to the control signals.

[0027] Secondly, this application also provides a control device for a breathing apparatus, the device comprising:

[0028] The acquisition module is used to acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information.

[0029] The analysis module is used to analyze the output information and determine the behavioral status of the user associated with the respiratory device;

[0030] The control module is used to control the respiratory device to output corresponding audio information based on the behavioral state.

[0031] Thirdly, this application also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0032] Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information;

[0033] Analyze the output information to determine the behavioral status of the user associated with the respiratory device;

[0034] The respiratory device outputs corresponding audio information based on the user's behavioral state.

[0035] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0036] Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information;

[0037] Analyze the output information to determine the behavioral status of the user associated with the respiratory device;

[0038] The respiratory device outputs corresponding audio information based on the user's behavioral state.

[0039] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, performs the following steps:

[0040] Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information;

[0041] Analyze the output information to determine the behavioral status of the user associated with the respiratory device;

[0042] The respiratory device outputs corresponding audio information based on the user's behavioral state.

[0043] The aforementioned control method, apparatus, device, storage medium, and program product for respiratory equipment involve acquiring the output information of the respiratory equipment, analyzing the output information to determine the behavioral state of the user associated with the respiratory equipment, and finally controlling the respiratory equipment to output corresponding audio information based on the behavioral state. The output information includes voice information and / or respiratory signal information. This method can control the respiratory equipment to output corresponding audio information based on the user's behavioral state, providing a personalized user experience and avoiding the limitation of traditional respiratory equipment that simply provides respiratory support or monitoring functions and has limited user interaction. Attached Figure Description

[0044] Figure 1 These are internal structural diagrams of the computer device in some embodiments;

[0045] Figure 2 This is one of the flowcharts illustrating the control method of the respiratory device in some embodiments;

[0046] Figure 3 This is a second schematic flowchart of the control method for the respiratory device in some embodiments;

[0047] Figure 4 This is the third flowchart illustrating the control method of the breathing device in some embodiments;

[0048] Figure 5 This is the fourth flowchart illustrating the control method of the respiratory device in some embodiments;

[0049] Figure 6 This is the fifth flowchart illustrating the control method of the respiratory device in some embodiments;

[0050] Figure 7 This is a sixth flowchart illustrating the control method of the respiratory device in some embodiments;

[0051] Figure 8 This is a structural block diagram of the control device of the breathing equipment in some embodiments. Detailed Implementation

[0052] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.

[0053] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.

[0054] In the embodiments of this application, the term "at least one" means one or more. For example, at least one of A, B and C can represent six situations: A exists alone, B exists alone, C exists alone, A and B exist simultaneously, A and C exist simultaneously, B and C exist simultaneously, and A, B and C exist simultaneously.

[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0056] In modern medicine, ventilators are crucial medical devices widely used in various clinical scenarios, such as emergency care, intensive care, and the treatment of chronic respiratory diseases. They assist or replace spontaneous breathing, maintaining respiratory function and playing an irreplaceable role in saving lives and improving treatment outcomes. Traditional ventilators primarily focus on providing basic respiratory support functions, such as adjusting parameters like respiratory rate, tidal volume, and inspiratory pressure to meet the diverse respiratory needs of patients. However, with technological advancements and increasingly sophisticated patient demands, existing ventilators have limitations in terms of intelligent functionality.

[0057] In view of this, embodiments of this application propose a control method, device, equipment, storage medium, and program product for a respiratory device, which can control corresponding audio information according to the user's behavior state, thereby realizing the intelligent effect of the respiratory device.

[0058] It should be noted that the beneficial effects or technical problems solved by the embodiments of this application are not limited to this one, but may also be other implicit or related problems. For details, please refer to the description of the embodiments below.

[0059] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0060] In some embodiments, the control method for the respiratory device provided in this application can be applied to, for example... Figure 1 The internal structure diagram of the breathing device shown can be as follows: Figure 1As shown, the respiratory device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a control method for the respiratory device. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the breathing device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the outer shell of the breathing device, or an external keyboard, touchpad, or mouse, etc.

[0061] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the respiratory device to which the present application is applied. A specific respiratory device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0062] In some embodiments, such as Figure 2 As shown, a control method for a breathing device is provided, which is applied to... Figure 1 Taking a respiratory device as an example, the explanation includes the following steps:

[0063] S201, Obtain the output information of the respiratory equipment.

[0064] The output information includes voice information and / or respiratory signal information. Voice information can include voice commands, dialogue information, volume information, pitch information, speech rate information, and intonation information. Respiratory signal information includes respiratory depth, respiratory rate, inspiratory time, and expiratory time.

[0065] In this embodiment, microphones and other devices can be pre-installed on the breathing device, positioned as close as possible to the user's mouth and nose to ensure clear acquisition of the user's voice output. Pressure sensors and flow sensors can also be pre-installed on the breathing mask or tubing of the breathing device to obtain the user's breathing signal information. The breathing device can acquire the user's output information in real time. Specifically, this can be divided into two scenarios: First, during voice interaction between the breathing device and the user, the breathing device can acquire the user's voice output information, such as a voice command like "Play me some cheerful music," or a dialogue like "What delicious food does this city have?" Second, when the breathing device is not interacting with the user, it can acquire the user's breathing signal information, such as respiratory rate and breathing depth obtained through sensors installed on it.

[0066] S202, Analyze the output information to determine the behavioral status of the user associated with the respiratory device.

[0067] Among them, behavioral states include voice conversation state, rest state, exercise state, sleep state, tension state, and relaxation state.

[0068] In this embodiment, after the respiratory device obtains the user's output information based on the above steps, it can use a feature extraction algorithm or feature extraction model to extract features from the output information. Then, it can use a classification algorithm or classification model to classify the extracted features, classifying the type of output information into voice dialogue type or non-voice dialogue type. Based on the type of output information, the respiratory device can determine the user's associated behavioral state. When the respiratory device detects that the user outputs voice information, it can determine that the type of output information is a voice dialogue type, thus confirming that the user is in a voice dialogue state. When the respiratory device detects that the user does not output voice information but outputs breathing signal information, it can determine that the type of output information is a non-voice dialogue type. Furthermore, for non-voice dialogue types, the user's behavioral state can be further determined. Specifically, when the breathing rate is relatively stable and the breathing depth is relatively uniform and moderate, the user's behavioral state associated with the breathing device can be determined to be a resting state; when the breathing rate increases and the breathing depth increases rhythmically, the user's behavioral state associated with the breathing device can be determined to be an exercise state; when the breathing rate is low and the breathing depth decreases, the user's behavioral state associated with the breathing device can be determined to be a sleep state; when the breathing rate increases and the breathing depth is rapid and shallow, the user's behavioral state associated with the breathing device can be determined to be a tense state; when the breathing rate is slow and stable and the breathing depth is uniform and moderate, the user's behavioral state associated with the breathing device can be determined to be a relaxed state.

[0069] S203 controls the respiratory device to output corresponding audio information based on the behavioral state.

[0070] The audio information includes music or voice dialogue information.

[0071] In this embodiment, after the breathing device determines the user's behavioral state based on the above steps, when the user's behavioral state is a voice dialogue type, the breathing device can be controlled to output the corresponding voice dialogue information; when the user's behavioral state is not a voice dialogue type, the audio file matching the user's current behavioral state is determined according to the correspondence between the behavioral state and the audio file, and the breathing device is controlled to output the corresponding audio file. For example, when it is determined that the user is in a tense state, the breathing device can output soothing music or relaxing guidance to help the user relieve tension; when it is determined that the user is in an exercise state, the device can output upbeat audio to provide encouragement and companionship. To achieve better interactive effects, the audio information can also be adjusted based on user feedback. For example, if the user is not satisfied with the currently playing audio, they can change the audio through the control buttons or voice commands on the breathing device. Simultaneously, the audio information can be adjusted in real time according to changes in the user's behavioral state; for example, when the user transitions from an exercise state to a resting state, the audio automatically switches to soothing audio.

[0072] The control method for a respiratory device provided in this application acquires the output information of the respiratory device, analyzes the output information to determine the behavioral state of the user associated with the respiratory device, and finally controls the respiratory device to output corresponding audio information based on the behavioral state. The output information includes voice information and / or respiratory signal information. This method can control the respiratory device to output corresponding audio information based on the user's behavioral state, providing a personalized user experience and avoiding the limitation of traditional respiratory devices that simply provide respiratory support or monitoring functions and have limited interaction with the user. This application, by analyzing the user's behavioral state and outputting corresponding audio information, establishes a more proactive and intelligent interaction method. Users are no longer passively using the device but can feel the device's response and attention to their own state. This enhanced interactivity can increase user enthusiasm and participation in using the device, promoting better management of their respiratory health.

[0073] In some embodiments, a specific implementation method for analyzing the output information is also provided, such as... Figure 3 As shown, the "analyzing the output information to determine the behavioral status of the user associated with the respiratory device" in S202 above includes:

[0074] S301, if the output information includes respiratory signal information, then it is determined that the user is in a sleep state.

[0075] In this embodiment of the application, after the breathing device analyzes the output information, if it determines that the output information only contains breathing signal information and no voice information is detected, then it can be determined that the user is in a sleep state.

[0076] S302, if the output information includes voice information, then it is determined that the user is not in a sleep state.

[0077] In this embodiment of the application, after the breathing device analyzes the output information, if it determines that the output information contains voice information, then regardless of whether breathing signal information is also present, it can be determined that the user is in a non-sleep state.

[0078] Furthermore, when it is determined that the user is in a sleep state, such as Figure 4 As shown, S301 specifically includes:

[0079] S3011 analyzes the respiratory rate in the respiratory signal information to determine the level of the user's sleep state.

[0080] The sleep state is divided into three levels: falling asleep, light sleep, and deep sleep.

[0081] In this embodiment of the application, after determining that the user is in a sleep state, the breathing device can further analyze the breathing frequency in the breathing signal information, determine the breathing frequency range in which the breathing frequency is located, and then determine the level of the user's sleep state.

[0082] S3012, if the breathing rate is within the first breathing rate range, then it is determined that the user is asleep.

[0083] The first respiratory rate can be 16-20 times per minute.

[0084] In this embodiment of the application, if the breathing device determines that the breathing frequency is within the first breathing frequency range, then it can be determined that the user is in a sleep state.

[0085] S3013, if the respiratory rate is within the second respiratory rate range, then the user is determined to be in a light sleep state.

[0086] The second respiratory rate can be 12-16 times per minute.

[0087] In this embodiment of the application, if the breathing device determines that the breathing frequency is within the second breathing frequency range, then it can be determined that the user is in a light sleep state.

[0088] S3014, if the respiratory rate is within the third respiratory rate range, then the user is determined to be in deep sleep.

[0089] The third respiratory rate can be 8-12 times per minute.

[0090] In this embodiment of the application, if the breathing device determines that the breathing frequency is within the third breathing frequency range, then it can be determined that the user is in a deep sleep state.

[0091] The method described in this application accurately determines whether a user is asleep based on respiratory signal information and further analyzes the respiratory rate to determine the sleep level, providing users with comprehensive and detailed sleep monitoring. Different sleep stages have different effects on the body's recovery and health; accurately identifying the states of falling asleep, light sleep, and deep sleep helps in understanding sleep quality.

[0092] In some embodiments, a specific implementation method for controlling the respiratory device to output corresponding audio information is also provided, such as... Figure 5 As shown, "controlling the respiratory device to output corresponding audio information according to the behavioral state" in S203 above includes:

[0093] S401: If the user is asleep, retrieve sleep audio data from the database and control the breathing device to play the sleep audio data.

[0094] In this embodiment, sleep audio data can be pre-stored in the respiratory device's database to assist the user in sleeping. When the respiratory device determines that the user is asleep based on the aforementioned steps, it can extract the sleep audio data from the database and control the device to play the sleep audio data. Specifically, it can play sleep audio data corresponding to different sleep levels.

[0095] Specifically, such as Figure 6 As shown, the above S401 specifically includes:

[0096] S4011, if the user is in a sleep state, the first audio file is extracted from the database and the breathing device is controlled to play the first audio file.

[0097] The sleep audio data includes a first audio file, which may include sleep-aiding music, such as gentle lullabies or soothing natural wind sounds, to help users relax and fall asleep quickly.

[0098] In this embodiment, if the breathing device determines that the user is asleep, it can extract a first audio file from the database and control the breathing device to play the first audio file. Optionally, if the breathing device determines that the user is asleep, it can also generate a control signal to adjust the ambient light of the ventilator, such as dimming the light or setting the light color to a soft tone (such as warm yellow), to help the user relax and quickly fall asleep.

[0099] S4012, if the user is in a light sleep state, the second audio file is extracted from the database and the breathing device is controlled to play the second audio file.

[0100] The sleep audio data includes a second audio file, which may include low-frequency sound signals of specific frequencies, such as slow-paced classical music, which can help users maintain a sleep state and reduce external interference.

[0101] In this embodiment of the application, if the breathing device determines that the user is in a light sleep state, it can extract a second audio file from the database and control the breathing device to play the second audio file.

[0102] S4013, if the user is in a deep sleep state, retrieve the third audio file from the database and control the breathing device to play the third audio file.

[0103] The sleep audio data includes a third audio file, which may include a sound shield signal of a specific frequency to block out external noise and protect the user's sleep quality.

[0104] In this embodiment of the application, if the breathing device determines that the user is in a deep sleep state, it can extract a third audio file from the database and control the breathing device to play the third audio file.

[0105] S402, if the user is not asleep, analyze the user's historical voice information, determine the user's voice habits, generate response audio information based on the voice habits and voice information, and control the breathing device to output response audio information.

[0106] Historical voice information refers to the user's historical voice interactions with the breathing device. Voice habits include word choice, speech rate and tone, pronunciation habits, and verbal tics.

[0107] In this embodiment, the breathing device can store voice interaction information each time it interacts with the user. When the breathing device determines that the user is not asleep based on the aforementioned steps, it can analyze the user's historical voice information, determine the user's voice habits, generate response audio information based on the voice habits and voice information, and control the breathing device to output the response audio information.

[0108] The method described in this application embodiment achieves personalized sleep support by providing different audio files according to different sleep states. Each user's sound needs may differ at different sleep stages, and this customized audio service can better meet the user's individual needs, improving user satisfaction and user experience with the breathing device.

[0109] In some embodiments, such as Figure 7 As shown, the control method for the above-mentioned respiratory device further includes:

[0110] S501 retrieves the user's historical usage records when the user initiates a customized service.

[0111] The historical usage record includes at least one of the following: the time when the historical command was issued, the content of the historical command, and the function used in the historical usage.

[0112] In this embodiment, the user can start the customized service through the operation interface of the breathing device or by triggering the corresponding start command. When the breathing device detects that the user has started the customized service, the breathing device can obtain the user's historical usage records from the local storage unit or the cloud server connected to it.

[0113] S502 generates control signals based on the user's historical usage records and controls the breathing device according to the control signals.

[0114] In this embodiment, after obtaining the user's historical usage records based on the above steps, the breathing device can utilize data analysis and machine learning techniques to analyze these records and uncover patterns and regularities. For example, time series analysis can be used to determine the times and time periods when the user frequently issues commands; association rule mining can be used to find the correlation between historical command content and the functions used. Then, based on the uncovered patterns and regularities, combined with the user's current needs and environmental conditions, corresponding control signals are generated. For example, if the analysis reveals that the user frequently issues commands to play soft music at 10 PM, then in the customized service, a signal to control the speaker to play soft music will be generated when the time approaches 10 PM. Optionally, the computer device can continuously and dynamically adjust the customized service as the user's lifestyle changes and usage history accumulates. Regular analysis of new historical data and updates to the service plan ensure that the customized service always meets the user's latest needs.

[0115] The method described in this application embodiment, by analyzing historical usage records, enables the respiratory device to accurately grasp each user's unique usage habits. Based on these historical usage habits, the respiratory device can tailor an operating mode for the user and provide a personalized user experience.

[0116] In summary, based on all the above embodiments, a method for controlling a breathing device is also provided, the method comprising:

[0117] S601, acquire the output information of the respiratory device. The output information includes voice information and / or respiratory signal information.

[0118] S602, if the output information includes respiratory signal information, then it is determined that the user is in a sleep state.

[0119] S603 analyzes the respiratory rate in the respiratory signal information to determine the level of the user's sleep state.

[0120] S604, if the breathing rate is within the first breathing rate range, then the user is determined to be asleep.

[0121] S605, if the respiratory rate is within the second respiratory rate range, then the user is determined to be in a light sleep state.

[0122] S606, if the respiratory rate is within the third respiratory rate range, then the user is determined to be in deep sleep.

[0123] S607, if the output information includes voice information, then it is determined that the user is not in a sleep state.

[0124] S608: If the user is in a sleep state, the system retrieves the first audio file from the database and controls the breathing device to play the first audio file.

[0125] S609: If the user is in a light sleep state, the system retrieves a second audio file from the database and controls the breathing device to play the second audio file.

[0126] S610: If the user is in a deep sleep state, the system retrieves a third audio file from the database and controls the breathing device to play the third audio file.

[0127] S611 If the user is not asleep, the system analyzes the user's historical voice information, determines the user's voice habits, generates response audio information based on the voice habits and voice information, and controls the breathing device to output response audio information.

[0128] S612, when a user initiates a customized service, retrieves the user's historical usage records. Historical usage records include at least one of the following: the time the historical command was issued, the content of the historical command, and the functions used in the past.

[0129] S613 generates control signals based on the user's historical usage records and controls the breathing device according to the control signals.

[0130] The methods described in each of the above steps have been described in the foregoing embodiments. For details, please refer to the foregoing descriptions. They will not be repeated here.

[0131] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0132] Based on the same inventive concept, this application also provides a control device for implementing the control method of the breathing device described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the control device for the breathing device provided below can be found in the limitations of the control method for the breathing device described above, and will not be repeated here.

[0133] In some embodiments, such as Figure 8 As shown, a control device for a breathing apparatus is provided, comprising:

[0134] The acquisition module 11 is used to acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information.

[0135] Analysis module 12 is used to analyze the output information and determine the behavioral status of the user associated with the respiratory device.

[0136] The control module 13 is used to control the respiratory device to output corresponding audio information according to the behavioral state.

[0137] In some embodiments, the analysis module described above includes:

[0138] The first determining unit is used to determine that the user is in a sleep state if the output information includes respiratory signal information.

[0139] The second determining unit is used to determine that the user is in a non-sleep state if the output information includes voice information.

[0140] In some embodiments, the analysis module described above further includes:

[0141] The analysis unit is used to analyze the respiratory rate in the respiratory signal information to determine the level of the user's sleep state.

[0142] The third determining unit is used to determine that the user is asleep if the breathing rate is within the first breathing rate range.

[0143] The fourth determining unit is used to determine that the user is in a light sleep state if the breathing rate is within the second breathing rate range.

[0144] The fifth determining unit is used to determine that the user is in a deep sleep state if the breathing rate is within the third breathing rate range.

[0145] In some embodiments, the control module includes:

[0146] The first control unit is used to extract sleep audio data from the database and control the breathing device to play the sleep audio data if the user is asleep.

[0147] The second control unit is used to analyze the user's historical voice information if the user is not asleep, determine the user's voice habits, generate response audio information based on the voice habits and voice information, and control the breathing device to output response audio information.

[0148] In some embodiments, the first control unit includes:

[0149] The first control subunit is used to extract a first audio file from the database and control the breathing device to play the first audio file if the user is in a sleep state.

[0150] The second control subunit is used to extract a second audio file from the database and control the breathing device to play the second audio file if the user is in a light sleep state.

[0151] The third control subunit is used to extract a third audio file from the database and control the breathing device to play the third audio file if the user is in a deep sleep state.

[0152] In some embodiments, the control device of the above-described respiratory device is further configured to obtain the user's historical usage records when the user initiates a customized service; the historical usage records include at least one of the historical command issuance time, historical command content, and historically used functions; generate a control signal based on the user's historical usage records, and control the respiratory device based on the control signal.

[0153] The various modules in the control device of the aforementioned respiratory equipment can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0154] In some embodiments, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0155] Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information;

[0156] Analyze the output information to determine the behavioral status of the user associated with the respiratory device;

[0157] The respiratory device outputs corresponding audio information based on the user's behavioral state.

[0158] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0159] If the output information includes respiratory signal information, then it is determined that the user is in a sleep state;

[0160] If the output information includes voice information, it is determined that the user is not asleep.

[0161] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0162] Analyze the respiratory rate in the respiratory signal information to determine the level of the user's sleep state;

[0163] If the breathing rate is within the first breathing rate range, then the user is determined to be asleep.

[0164] If the breathing rate is within the second breathing rate range, the user is determined to be in a light sleep state.

[0165] If the breathing rate is within the third breathing rate range, the user is determined to be in deep sleep.

[0166] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0167] If the user is asleep, retrieve sleep audio data from the database and control the breathing device to play the sleep audio data.

[0168] If the user is not asleep, the system analyzes the user's historical voice information to determine the user's voice habits, generates response audio information based on the voice habits and voice information, and controls the breathing device to output response audio information.

[0169] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0170] If the user is in a sleep state, the first audio file is retrieved from the database and the breathing device is controlled to play the first audio file.

[0171] If the user is in a light sleep state, the second audio file is retrieved from the database and the breathing device is controlled to play the second audio file.

[0172] If the user is in a deep sleep state, the third audio file is retrieved from the database and the breathing device is controlled to play the third audio file.

[0173] In some embodiments, when the processor executes a computer program, it further performs the following steps:

[0174] When a user initiates a customized service, the user's historical usage records are retrieved; the historical usage records include at least one of the following: the time when the historical command was issued, the content of the historical command, and the functions used in the historical period.

[0175] Control signals are generated based on the user's historical usage records, and the breathing device is controlled according to the control signals.

[0176] The computer device provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.

[0177] In some embodiments, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0178] Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information;

[0179] Analyze the output information to determine the behavioral status of the user associated with the respiratory device;

[0180] The respiratory device outputs corresponding audio information based on the user's behavioral state.

[0181] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0182] If the output information includes respiratory signal information, then it is determined that the user is in a sleep state;

[0183] If the output information includes voice information, it is determined that the user is not asleep.

[0184] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0185] Analyze the respiratory rate in the respiratory signal information to determine the level of the user's sleep state;

[0186] If the breathing rate is within the first breathing rate range, then the user is determined to be asleep.

[0187] If the breathing rate is within the second breathing rate range, the user is determined to be in a light sleep state.

[0188] If the breathing rate is within the third breathing rate range, the user is determined to be in deep sleep.

[0189] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0190] If the user is asleep, retrieve sleep audio data from the database and control the breathing device to play the sleep audio data.

[0191] If the user is not asleep, the system analyzes the user's historical voice information to determine the user's voice habits, generates response audio information based on the voice habits and voice information, and controls the breathing device to output response audio information.

[0192] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0193] If the user is in a sleep state, the first audio file is retrieved from the database and the breathing device is controlled to play the first audio file.

[0194] If the user is in a light sleep state, the second audio file is retrieved from the database and the breathing device is controlled to play the second audio file.

[0195] If the user is in a deep sleep state, the third audio file is retrieved from the database and the breathing device is controlled to play the third audio file.

[0196] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0197] When a user initiates a customized service, the user's historical usage records are retrieved; the historical usage records include at least one of the following: the time when the historical command was issued, the content of the historical command, and the functions used in the historical period.

[0198] Control signals are generated based on the user's historical usage records, and the breathing device is controlled according to the control signals.

[0199] The computer-readable storage medium provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.

[0200] In some embodiments, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0201] Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information;

[0202] Analyze the output information to determine the behavioral status of the user associated with the respiratory device;

[0203] The respiratory device outputs corresponding audio information based on the user's behavioral state.

[0204] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0205] If the output information includes respiratory signal information, then it is determined that the user is in a sleep state;

[0206] If the output information includes voice information, it is determined that the user is not asleep.

[0207] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0208] Analyze the respiratory rate in the respiratory signal information to determine the level of the user's sleep state;

[0209] If the breathing rate is within the first breathing rate range, then the user is determined to be asleep.

[0210] If the breathing rate is within the second breathing rate range, the user is determined to be in a light sleep state.

[0211] If the breathing rate is within the third breathing rate range, the user is determined to be in deep sleep.

[0212] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0213] If the user is asleep, retrieve sleep audio data from the database and control the breathing device to play the sleep audio data.

[0214] If the user is not asleep, the system analyzes the user's historical voice information to determine the user's voice habits, generates response audio information based on the voice habits and voice information, and controls the breathing device to output response audio information.

[0215] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0216] If the user is in a sleep state, the first audio file is retrieved from the database and the breathing device is controlled to play the first audio file.

[0217] If the user is in a light sleep state, the second audio file is retrieved from the database and the breathing device is controlled to play the second audio file.

[0218] If the user is in a deep sleep state, the third audio file is retrieved from the database and the breathing device is controlled to play the third audio file.

[0219] In some embodiments, when a computer program is executed by a processor, it further performs the following steps:

[0220] When a user initiates a customized service, the user's historical usage records are retrieved; the historical usage records include at least one of the following: the time when the historical command was issued, the content of the historical command, and the functions used in the historical period.

[0221] Control signals are generated based on the user's historical usage records, and the breathing device is controlled according to the control signals.

[0222] The computer program product provided in the above embodiments has a similar implementation principle and technical effect to the above method embodiments, and will not be described again here.

[0223] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0224] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.

[0225] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A control method for a breathing device, characterized in that, Applied to respiratory equipment, the method includes: Acquire the output information of the respiratory device; the output information includes voice information and / or respiratory signal information; The output information is analyzed to determine the behavioral status of the user associated with the breathing device; The respiratory device is controlled to output corresponding audio information based on the described behavioral state.

2. The method according to claim 1, characterized in that, The step of analyzing the output information to determine the behavioral state of the user associated with the respiratory device includes: If the output information includes the breathing signal information, then it is determined that the user is in a sleep state; If the output information includes the voice information, then it is determined that the user is not asleep.

3. The method according to claim 2, characterized in that, The method further includes: The respiratory rate in the respiratory signal information is analyzed to determine the level of the user's sleep state; If the breathing rate is within the first breathing rate range, then the user is determined to be asleep. If the breathing rate is within the second breathing rate range, then the user is determined to be in a light sleep state. If the breathing frequency is within the third breathing frequency range, then the user is determined to be in a deep sleep state.

4. The method according to any one of claims 1-3, characterized in that, The step of controlling the respiratory device to output corresponding audio information based on the behavioral state includes: If the user is asleep, retrieve sleep audio data from the database and control the breathing device to play the sleep audio data; If the user is not asleep, the user's historical voice information is analyzed to determine the user's voice habits, and a response audio message is generated based on the voice habits and the voice information, and the breathing device is controlled to output the response audio message.

5. The method according to claim 4, characterized in that, If the user is in a sleep state, the method of retrieving sleep audio data from the database and controlling the breathing device to play the sleep audio data includes: If the user is in a sleep state, the first audio file is extracted from the database and the breathing device is controlled to play the first audio file. If the user is in a light sleep state within the sleep state, then the second audio file is extracted from the database, and the breathing device is controlled to play the second audio file; If the user is in a deep sleep state, a third audio file is extracted from the database, and the breathing device is controlled to play the third audio file.

6. The method according to claim 1, characterized in that, The method further includes: When the user initiates a customized service, the user's historical usage record is obtained; the historical usage record includes at least one of the following: historical command issuance time, historical command content, and historically used functions; A control signal is generated based on the user's historical usage records, and the breathing device is controlled based on the control signal.

7. A control device for a breathing apparatus, characterized in that, The device includes: The acquisition module is used to acquire the output information of the breathing device; the output information includes voice information and / or breathing signal information. The analysis module is used to analyze the output information and determine the behavioral status of the user associated with the breathing device; The control module is used to control the respiratory device to output corresponding audio information based on the behavioral state.

8. 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, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.