Massager sleep-aiding control method, device, system and computer equipment

By integrating the user identification acquisition module and scene type determination module in the massager, and dynamically adjusting the sleep aid mode, the problem of limited sleep aid effect in the existing massager is solved, and a more efficient sleep aid effect is achieved.

CN113616467BActive Publication Date: 2025-02-11GUANGDONG SKG INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010380173.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-08
Publication Date
2025-02-11
Estimated Expiration
2040-05-08

AI Technical Summary

Technical Problem

The existing massagers have limited effects in sleep aiding functions, especially when brain waves are stimulated, making it difficult to effectively assist users in falling asleep.

Method used

By integrating the user identification acquisition module, scene type determination module and sleep mode determination module in the massager, the sleep mode is dynamically adjusted according to the physiological parameters and scene types of the wearer to improve the sleep aid effect of the massager.

Benefits of technology

It improves the targetedness of the massager to different users and different scenarios, enhances the effect of sleep aid homework, and helps users fall asleep more easily.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113616467B_ABST
    Figure CN113616467B_ABST
Patent Text Reader

Abstract

The present application relates to a massager sleep-aiding control method, device, system, computer equipment and storage medium. The method comprises: when the massager's sleep-aiding triggering condition is met, obtaining the user ID of the user wearing the massager; determining the massage scene type corresponding to the massager; determining the massager's sleep-aiding mode according to the user ID and the massage scene type; and controlling the massager to perform sleep-aiding operations according to the sleep-aiding mode. The use of this method can improve the sleep-aiding effect of the massager.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of massage instruments, and in particular to a massage instrument sleep aid control method, device, system, computer equipment and storage medium. Background Art

[0002] As the pace of modern life continues to accelerate, people tend to maintain the same posture for long periods of work or entertainment, such as reading and writing, typing, and using mobile phones and other electronic devices. This can easily cause the muscles of related body parts to be in an abnormal physiological curvature state for a long time, leading to fatigue and soreness of the muscles in the body parts. For example, bowing your head for a long time to use smart electronic devices will cause the cervical spine to lean forward, leading to fatigue of the neck muscles, and long-term use of electronic devices will also easily cause soreness and pain in the eye muscles. For this reason, various massager technologies, such as neck massagers, massage chairs, eye massagers, etc., have developed rapidly. A massager is a device that performs stimulating massage on parts of the human body, providing various simulation functions such as acupuncture, massage, and massage to achieve the effects of relaxing muscles, soothing nerves, promoting blood circulation, and relieving fatigue.

[0003] When people use massagers, their body and mind are in a state of relaxation, which makes them prone to drowsiness. The massage operation of massagers is actually a kind of stimulation to the human body, which will affect the user's sleep. The current massagers can also induce the user's brain to synchronize by releasing brain waves to achieve sleep-aiding. However, when inducing sleep through brain waves, the user's brain waves will still be stimulated, and the sleep-aiding effect is limited. Summary of the invention

[0004] Based on this, it is necessary to provide a massager sleep-aiding control method, device, system, computer equipment and storage medium that can improve the sleep-aiding effect of the massager in response to the above-mentioned technical problems.

[0005] A method for controlling a massager to aid sleep, the method comprising:

[0006] When the sleep-aiding triggering condition of the massager is met, the user ID of the user wearing the massager is obtained;

[0007] Determine the type of massage scene corresponding to the massager;

[0008] Determine the sleep-aiding mode of the massager according to the user identification and the massage scene type;

[0009] Control the massager to perform sleep-aiding operation according to the sleep-aiding mode.

[0010] In one embodiment, when the sleep-aiding triggering condition of the massager is met, obtaining the user identifier of the user wearing the massager includes:

[0011] Obtain physiological parameters of the user wearing the massager;

[0012] Perform sleep analysis according to physiological parameters to obtain sleep analysis results;

[0013] When the sleep analysis result is a sleeping state, a user identifier of a user corresponding to the massager is obtained.

[0014] In one embodiment, obtaining physiological parameters of a user wearing the massager includes:

[0015] Acquire a first physiological parameter detected by the massager;

[0016] Obtaining a second physiological parameter detected by a wearable device associated with the massager;

[0017] The physiological parameters of the user wearing the massager are obtained according to the first physiological parameter and the second physiological parameter.

[0018] In one embodiment, obtaining the user identification of the user wearing the massager includes:

[0019] Determine the status of the account of the user wearing the massager;

[0020] When the account status is online, query the account information of the account;

[0021] The user ID of the user wearing the massager is obtained from the account information.

[0022] In one embodiment, when the sleep-aiding triggering condition of the massager is met, obtaining the user identifier of the user wearing the massager includes:

[0023] When a user sleep-aiding trigger instruction is received, a user identifier of a user corresponding to the massager is obtained from the user sleep-aiding trigger instruction.

[0024] In one embodiment, determining the massage scene type corresponding to the massager includes:

[0025] Obtain the scene parameters corresponding to the massager; the scene parameters include time parameters and position parameters;

[0026] The massage scene type corresponding to the massager is determined according to the time parameter and the position parameter.

[0027] In one embodiment, determining the massage scene type corresponding to the massager includes:

[0028] When a user scene setting instruction is received, the massage scene type corresponding to the massager is determined according to the user scene setting instruction.

[0029] In one embodiment, determining the sleep-aiding mode of the massager according to the user identifier and the massage scene type includes:

[0030] Query the sleep-aid mode library corresponding to the user ID;

[0031] The massage scene type is pattern matched in the sleep-aiding mode library to obtain the sleep-aiding mode of the massager.

[0032] In one embodiment, the massager sleep aid control method further includes:

[0033] Receive a user mode configuration instruction; the user mode configuration instruction includes a massage scene type to be configured and a sleep aid mode to be configured;

[0034] Establishing a mapping relationship between the massage scene type to be configured and the sleep aid mode to be configured;

[0035] Update the mapping relationship to the sleep-aid mode library.

[0036] In one embodiment, controlling the massager to perform a sleep-aiding operation in a sleep-aiding mode includes:

[0037] Query the sleep-aiding audio and corresponding playback parameters corresponding to the sleep-aiding mode from the sleep-aiding audio database;

[0038] Generate massager control instructions based on sleep-aiding audio and playback parameters;

[0039] Send a massager control command to the massager, where the massager control command is used to control the massager to perform a sleep-aiding operation.

[0040] In one embodiment, after controlling the massager to perform the sleep-aiding operation in the sleep-aiding mode, the method further includes:

[0041] When the sleep wake-up condition of the massager is met, the wake-up mode of the massager is determined according to the user identification and the massage scene type;

[0042] Generate a massager wake-up instruction according to the wake-up mode;

[0043] Send a massager wake-up command to the massager, where the massager wake-up command is used to control the massager to perform a sleep wake-up operation according to the wake-up mode.

[0044] A massage instrument sleep-aiding control device, the device comprising:

[0045] A user identification acquisition module, used to acquire the user identification of the user wearing the massager when the sleep-aiding triggering condition of the massager is met;

[0046] A scene type determination module, used to determine the massage scene type corresponding to the massager;

[0047] A sleep-aiding mode determination module is used to determine the sleep-aiding mode of the massager according to the user identification and the massage scene type;

[0048] The sleep-aiding operation control module is used to control the massager to perform sleep-aiding operations according to the sleep-aiding mode.

[0049] A massager system comprises a massager and the massager sleep-aiding control device as described above; wherein the massager is connected to a sleep-aiding operation control module in the massager sleep-aiding control device.

[0050] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0051] When the sleep-aiding triggering condition of the massager is met, the user ID of the user wearing the massager is obtained;

[0052] Determine the type of massage scene corresponding to the massager;

[0053] Determine the sleep-aiding mode of the massager according to the user identification and the massage scene type;

[0054] Control the massager to perform sleep-aiding operation according to the sleep-aiding mode.

[0055] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0056] When the sleep-aiding triggering condition of the massager is met, the user ID of the user wearing the massager is obtained;

[0057] Determine the type of massage scene corresponding to the massager;

[0058] Determine the sleep-aiding mode of the massager according to the user identification and the massage scene type;

[0059] Control the massager to perform sleep-aiding operation according to the sleep-aiding mode.

[0060] The above massager sleep-aiding control method, device, system, computer equipment and storage medium, when the massager's sleep-aiding triggering condition is met, determines the corresponding sleep-aiding mode according to the user identification of the user wearing the massager and the type of massage scene corresponding to the massager, and controls the massager to perform sleep-aiding operations according to the sleep-aiding mode. Determining the sleep-aiding mode according to the user identification of the user wearing the massager and the type of massage scene corresponding to the massager, and controlling the massager to perform sleep-aiding operations through the sleep-aiding mode can improve the pertinence of the massager's sleep-aiding operations for different users and different scenes, thereby improving the sleep-aiding effect of the massager. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 This is an application environment diagram of a massager sleep-aiding control method in one embodiment;

[0062] Figure 2A schematic diagram of a flow chart of a massager sleep aid control method in one embodiment;

[0063] Figure 3 A schematic diagram of a sleep-wake-up process in one embodiment;

[0064] Figure 4 It is a flow chart of a massager sleep aid control method in another embodiment;

[0065] Figure 5 It is a structural block diagram of a massage instrument sleep aid control device in one embodiment;

[0066] Figure 6 is a structural block diagram of a massager system in one embodiment;

[0067] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0069] The massage instrument sleep aid control method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the massager device 104 through the network. The terminal 102 monitors the sleep-aiding triggering condition of the massager device 104. When the terminal 102 detects that the sleep-aiding triggering condition of the massager device 104 is met, the corresponding sleep-aiding mode is determined according to the user identification of the user wearing the massager device 104 and the massage scene type corresponding to the massager device 104, and the massager device 104 is controlled to perform sleep-aiding operations according to the sleep-aiding mode. In addition, the massager sleep-aiding control can be directly processed by the built-in processor (not shown) in the massager device 104, or the massager device 104 can be controlled by a server (not shown) connected to the terminal 102, such as the server forwarding the control instruction through the terminal 104 to control the massager device 104. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices; the massager device 104 can be various types of massagers, such as neck massagers, shoulder massagers, back massagers, waist massagers, abdomen massagers, brain massagers, leg massagers, foot massagers, chest massagers and eye massagers divided by massage parts, and can also be massage patches; the server can be implemented with an independent server or a server cluster consisting of multiple servers.

[0070] In one embodiment, Figure 2As shown, a massage instrument sleep aid control method is provided, and the method is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0071] Step S202: when the sleep-aiding triggering condition of the massager is met, the user identification of the user who wears the massager is obtained.

[0072] Among them, the sleep-aiding trigger condition is used to determine whether to activate the sleep-aiding function of the massager. The sleep-aiding trigger condition can be a sleep-aiding trigger condition, for example, it can be a timed trigger, when the corresponding user wearing the massager is in a sleeping state, etc. When the sleep-aiding trigger condition of the massager is met, such as when the preset sleep-aiding trigger time is reached, it indicates that the massager needs to perform a massage operation, and the sleep-aiding function of the massager needs to be triggered, and the user identification of the corresponding user wearing the massager is obtained. Generally, the massager is worn by the user on the corresponding part to operate. Different types of massagers can correspond to different massage parts and are worn at different parts of the user, such as a neck massager worn on the user's neck, an eye massager worn on the user's eye, and a shoulder massager worn on the user's shoulder. When the massager is operating, the massage head assembly of the massager will contact the corresponding part of the user wearing it to perform simulated massage in the form of vibration or current pulses. Different users wearing the massager can be distinguished based on the identity information of the users recorded in the terminal, and can be managed and controlled specifically through the user ID of the users wearing the massager. For example, the user ID can include but is not limited to at least one of the user account, user name, user mobile phone number, gender, age, etc., which can be used to classify the identity characteristics of the user. Different users wearing the massager can correspond to different user IDs, and the user ID can be determined by querying the terminal connected to the massager. For example, the user ID of the user wearing the massager can be obtained based on the login information of the smartphone APP (Application).

[0073] In a specific application, the physiological parameters of the user wearing the massager can be analyzed, and based on the analysis results, it can be determined whether the sleep-aiding function of the massager needs to be triggered. If so, the user ID of the user wearing the massager is obtained by querying the terminal connected to the massager.

[0074] Step S204, determining the massage scene type corresponding to the massager.

[0075] When the sleep-aiding trigger conditions of the massager are met and the sleep-aiding function of the massager is activated, the type of massage scene corresponding to the massager is determined. The massage scene can be the scene in which the massager is currently located, which can be determined according to the scene parameters corresponding to the massager, such as time parameters and location parameters. Different massage scenes correspond to different types of massage scenes, such as weekday lunch break scenes, non-working day scenes, or home scenes. For example, based on whether it is working hours on weekdays and whether it is at the workplace, it is determined whether the scene type in which the massager is located is a work scene; based on whether it is working hours and whether it is at the residence, it is determined whether it is in a home scene. For different users who wear massagers, different types of massage scenes will correspond to different sleep-aiding needs. For example, users need different sleep-aiding content in different massage scenes, such as different types of sleep-aiding sounds.

[0076] Step S206, determining the sleep-aiding mode of the massager according to the user identifier and the massage scene type.

[0077] After obtaining the user ID of the user wearing the massager and the massage scene type corresponding to the massager, the sleep-aiding mode of the massager is determined in combination with the user ID and the massage scene type. Among them, the sleep-aiding mode is the operating mode of the massager when it is used to help sleep. Different sleep-aiding modes can correspond to different sleep-aiding operating parameters, thereby providing different sleep-aiding services. For example, the sleep-aiding content of the massager includes playing sleep-aiding audio, then different sleep-aiding modes can correspond to different types of sleep-aiding audio, as well as different playback parameters such as playback duration and playback volume. In specific implementation, a sleep-aiding mode library can be set for each user ID, and the sleep-aiding mode library can record the sleep-aiding modes corresponding to the user ID in different massage scene types. By querying in the sleep-aiding mode library, the corresponding sleep-aiding mode can be determined.

[0078] Step S208, controlling the massager to perform a sleep-aiding operation according to the sleep-aiding mode.

[0079] After determining the sleep-aiding mode corresponding to the user identification and the massage scene type, the massager is controlled to perform sleep-aiding operations according to the sleep-aiding mode, so as to achieve sleep-aiding for the user wearing the massager. In specific applications, corresponding sleep-aiding parameters can be determined according to the sleep-aiding mode, such as sleep-aiding audio and corresponding playback parameters, etc., where the sleep-aiding audio can be various types of audio data, such as gentle ocean waves, bird songs or lullabies, etc.; the playback parameters are used to control the playback of the sleep-aiding audio, such as controlling the playback duration and volume of the sleep-aiding audio, etc., and corresponding control instructions are generated according to the sleep-aiding parameters to control the massager to perform sleep-aiding operations according to the sleep-aiding mode, thereby improving the pertinence of the massager's sleep-aiding operations for different users and different scenes, and improving the sleep-aiding effect of the massager.

[0080] In the above massager sleep-aiding control method, when the massager's sleep-aiding triggering condition is met, the corresponding sleep-aiding mode is determined according to the user ID of the user wearing the massager and the type of massage scene corresponding to the massager, and the massager is controlled to perform sleep-aiding operations according to the sleep-aiding mode. The sleep-aiding mode is determined according to the user ID of the user wearing the massager and the type of massage scene corresponding to the massager, and the massager is controlled to perform sleep-aiding operations according to the sleep-aiding mode, which can improve the pertinence of the massager's sleep-aiding operations for different users and different scenes, thereby improving the sleep-aiding effect of the massager.

[0081] In one embodiment, when the sleep-aiding trigger condition of the massager is met, obtaining the user identification of the user wearing the massager includes: obtaining physiological parameters of the user wearing the massager; performing sleep analysis based on the physiological parameters to obtain sleep analysis results; when the sleep analysis result is a sleeping state, obtaining the user identification of the user wearing the massager.

[0082] In this embodiment, whether the sleep-aiding triggering condition is met is determined based on the analysis results of the physiological data of the user wearing the massager. Among them, the sleep-aiding triggering condition may include that the user wearing the massager is in a sleeping state, that is, the user wearing the massager is drowsy, gradually falling asleep, and no longer staying awake, indicating that the user wearing the massager is about to enter the next stage of sleep. Specifically, the physiological parameters of the user wearing the massager are obtained. The physiological parameters can reflect the physiological state of the user wearing the massager, and can specifically include various parameters, such as heart rate, breathing frequency, vibration frequency and amplitude, etc. The physiological parameters can be detected by the built-in sensors of the massager, and can also be detected by other wearable devices worn by the user, such as smart bracelets, smart watches and other devices that can monitor physiological data.

[0083] Analyzing the physiological parameters of the wearer can determine the sleep state of the wearer, such as judging whether the wearer has fallen asleep. Generally, when people fall asleep, their breathing will slow down, their muscle tension will decrease, and their bodies will relax slightly. This is the initial sleep state, and the sleeper is more likely to be awakened by external sounds or touches. If the massager continues to perform a more stimulating massage operation, or performs synchronous stimulation through brain waves, it is easy to wake up the wearer of the massager who is about to fall asleep. Specifically, after obtaining the physiological parameters of the wearer, the physiological parameters are analyzed for sleep, such as analyzing the heart rate, breathing frequency, vibration frequency and amplitude in the physiological parameters, and obtaining the sleep analysis results. The sleep analysis results may include the physiological state of the wearer, such as falling asleep, light sleep, deep sleep, continued deep sleep or awake state. When the sleep analysis result is a falling asleep state, it indicates that the wearer is in the initial sleep stage, and the massager is needed to perform a sleep-aiding operation at this time. It is considered that the massager's sleep-aiding trigger condition is met, the massager's sleep-aiding function is activated, and the user ID of the wearer corresponding to the massager is obtained, or the user account of the wearer is obtained. In this embodiment, the physiological data of the user wearing the massager is analyzed to determine whether the sleep-aiding trigger conditions are met. When the user wearing the massager is in a sleeping state, the sleep-aiding function of the massager is activated to perform sleep-aiding operations, which can assist the user to fall asleep and improve the sleep-aiding effect of the massager.

[0084] In one embodiment, obtaining the physiological parameters of the user wearing the massager includes: obtaining a first physiological parameter detected by the massager; obtaining a second physiological parameter detected by a wearable device associated with the massager; and obtaining the physiological parameters of the user wearing the massager based on the first physiological parameter and the second physiological parameter.

[0085] In this embodiment, the physiological parameters of the user wearing the massager can be obtained by the massager and other wearable devices associated with the massager. Specifically, when obtaining the physiological parameters of the user wearing the massager, on the one hand, the first physiological parameter detected by the massager is obtained. The first physiological parameter is the physiological parameter detected by the massager itself, such as detecting the heart rate of the user wearing the massager through the built-in heart rate sensor of the massager. The type of the first physiological parameter detected by the massager is determined according to the type of sensor built into the massager, and different massagers may be configured with different physiological parameter detection functions. On the other hand, the second physiological parameter detected by the wearable device associated with the massager is obtained. The wearable device associated with the massager can be other devices worn by the user wearing the massager, such as smart bracelets, smart watches, etc. The second physiological parameter detected by the wearable device can be obtained from the terminal associated with the wearable device, such as a smart phone. The physiological parameters of the user wearing the massager corresponding to the massager are obtained according to the obtained first physiological parameters and second physiological parameters. For example, the first physiological parameters and the second physiological parameters can be integrated and screened, the abnormal data in the first physiological parameters and the second physiological parameters can be removed, and the repeated data can be compared and confirmed, etc., to obtain accurate physiological parameters. For example, physiological parameters may include heart rate. If the first physiological parameter and the second physiological parameter both include heart rate data, the heart rate data in the first physiological parameter and the heart rate data in the second physiological parameter can be compared to remove isolated abnormal data in the heart rate data, and the accurate heart rate can be determined by combining the heart rate data in the first physiological parameter and the heart rate data in the second physiological parameter. For example, the arithmetic mean of the heart rate data in the first physiological parameter and the heart rate data in the second physiological parameter can be used as the accurate heart rate, thereby ensuring the accuracy of the physiological data.

[0086] By obtaining the physiological parameters of the user wearing the massager through multiple channels, the accuracy of the obtained physiological parameters can be ensured, so as to obtain accurate sleep analysis results when performing sleep analysis, thereby accurately identifying the physiological state of the user wearing the massager.

[0087] In one embodiment, obtaining the user identification of the user wearing the massage device includes: determining the status of the account of the user wearing the massage device; when the account status is online, querying the account information of the account; and obtaining the user identification of the user wearing the massage device from the account information.

[0088] In this embodiment, the user identification of the wearing user is obtained according to the account information of the wearing user corresponding to the massager. Specifically, when the sleep-aiding trigger condition of the massager is met and the massager needs to be controlled to perform the sleep-aiding operation, the state of the account corresponding to the wearing user of the massager is determined, and the account of the wearing user can be the account logged in by the wearing user in the terminal connected to the massager. In this embodiment, the massager can be connected to the terminal, and the terminal can be a smart phone. The user can log in to the account in the APP in the smart phone and control the operation of the massager through the APP, such as controlling the working mode, power on and off of the massager, etc. When obtaining the user identification of the wearing user, the state of the account of the wearing user can be queried from the terminal connected to the massager, such as the login state of the account, to determine whether the wearing user has logged in, and when the state of the account is online, the account information of the account is queried. Among them, the account information can include various identity information of the account, such as account number, user mobile phone number, user nickname, user name, etc., and the user identification of the wearing user is obtained from the account information, such as obtaining the user mobile phone number in the account information as the user identification of the wearing user. Different user identifiers correspond to different users wearing the massager, and corresponding sleep-aid modes can be configured, such as sleep-aid modes actively configured and stored by the user, thereby providing personalized services for various users and further improving the sleep-aid effect of the massager.

[0089] In addition, when it is detected that the user wearing the massager has not logged into the account, that is, the account status is offline, the user identifier of the user wearing the massager can be determined as a visitor account or a general account, and a corresponding general sleep aid mode can be set for the visitor account or the general account. The general sleep aid mode can be configured based on the results of big data analysis of historical data of users wearing various massagers.

[0090] In one embodiment, when the sleep-aiding trigger condition of the massager is met, obtaining the user identification of the user wearing the massager includes: when a user sleep-aiding trigger instruction is received, obtaining the user identification of the user wearing the massager from the user sleep-aiding trigger instruction.

[0091] In this embodiment, the control of the sleep-aiding operation of the massager can also be triggered according to the user's instructions to perform subsequent sleep-aiding control processing. Specifically, if a user sleep-aiding trigger instruction is received, and the user sleep-aiding trigger instruction is a request instruction sent by the user, which is used to request to trigger the sleep-aiding control of the massager, then the user sleep-aiding trigger instruction is responded to, the sleep-aiding function of the massager is activated, and the user identification of the user corresponding to the wearer of the massager is obtained from the user sleep-aiding trigger instruction. In specific applications, the user can trigger it through the buttons set on the massager, or send the user sleep-aiding trigger instruction through the terminal connected to the massager to trigger it. In this embodiment, the user can actively trigger the sleep-aiding function of the massager by sending the user sleep-aiding trigger instruction according to actual needs, which can meet the actual needs of different users.

[0092] In one embodiment, determining the massage scene type corresponding to the massager includes: obtaining scene parameters corresponding to the massager; the scene parameters include time parameters and position parameters; and determining the massage scene type corresponding to the massager according to the time parameters and the position parameters.

[0093] In this embodiment, the type of massage scene corresponding to the massager is determined according to the time parameters and location parameters corresponding to the massager. Specifically, when the sleep-aiding trigger condition of the massager is met and the sleep-aiding function of the massager is activated, the scene parameters corresponding to the massager are obtained. The scene parameters are used to determine the type of massage scene of the massager, specifically including time parameters and location parameters. The time parameters may include the current time, and the location parameters may include the geographical location of the massager. The type of massage scene corresponding to the massager is determined according to the time parameters and location parameters, such as whether it is the working hours of a weekday and whether it is at a working place, so as to determine whether the scene type where the massager is located is a working scene. After determining the type of massage scene corresponding to the massager, the sleep-aiding mode corresponding to the wearing user is determined in combination with the user identification, so as to control the massager to perform sleep-aiding operations according to the sleep-aiding mode. In this embodiment, the type of massage scene is determined in combination with the time parameters and location parameters of the massager, which can adapt to different massage scene type requirements and help improve the sleep-aiding effect of the massager.

[0094] In one embodiment, determining the massage scene type corresponding to the massager includes: when a user scene setting instruction is received, determining the massage scene type corresponding to the massager according to the user scene setting instruction.

[0095] In this embodiment, the massage scene type corresponding to the massager can also be determined according to the user instruction. Specifically, if a user scene setting instruction is received, the user scene setting instruction is a configuration instruction sent by the user, which is used to directly configure the massage scene type of the massager, then the user scene setting instruction is responded to, and the massage scene type corresponding to the massager is determined according to the user scene setting instruction, thereby directly determining the massage scene type of the massager. In specific applications, the user can configure it through the buttons set on the massager, or send the user scene setting instruction through the terminal connected to the massager for configuration. In this embodiment, the user can actively determine the massage scene type of the massager by sending the user scene setting instruction according to actual needs, which can meet the actual needs of different users.

[0096] In one embodiment, determining the sleep-aiding mode of the massager according to the user identifier and the massage scene type includes: querying a sleep-aiding mode library corresponding to the user identifier; and pattern matching the massage scene type in the sleep-aiding mode library to obtain the sleep-aiding mode of the massager.

[0097] In this embodiment, pattern matching is performed in the sleep-aid mode library corresponding to the user identifier according to the massage scene type, thereby determining the sleep-aid mode of the massager. Specifically, after obtaining the user identifier and the massage scene type, the sleep-aid mode library corresponding to the user identifier is queried. The sleep-aid mode library corresponds to the user identifier and is used to record the corresponding sleep-aid modes of the massager-wearing user corresponding to the user identifier under various massage scene types. The mapping relationship between the various massage scene types and the corresponding sleep-aid modes in the sleep-aid mode library can be personalized by the user. After determining the sleep-aid mode library corresponding to the user identifier, the massage scene type is pattern matched in the sleep-aid mode library. Specifically, the massage scene type can be matched one by one with the massage scene types corresponding to the various sleep-aid modes in the sleep-aid mode library, thereby determining the sleep-aid mode corresponding to the massage scene type, that is, obtaining the sleep-aid mode of the massager.

[0098] In addition, for tourist accounts or general accounts, a corresponding tourist sleep-aid mode library or a general sleep-aid mode library can be set up. The correspondence between the sleep-aid modes in the tourist sleep-aid mode library or the general sleep-aid mode library and various massage scene types can be configured based on the results of big data analysis of historical data of users wearing various massage devices.

[0099] In one embodiment, the massager sleep-aid control method also includes: receiving a user mode configuration instruction; the user mode configuration instruction includes a massage scene type to be configured and a sleep-aid mode to be configured; establishing a mapping relationship between the massage scene type to be configured and the sleep-aid mode to be configured; and updating the mapping relationship to a sleep-aid mode library.

[0100] In this embodiment, the mapping relationship between the massage scene type in the corresponding sleep-aid mode library and the sleep-aid mode to be configured is configured by the user. Specifically, a user mode configuration instruction is received, and the user mode configuration instruction is used to request the configuration of various sleep-aid modes in the sleep-aid mode library. The user mode configuration instruction specifically includes the massage scene type to be configured and the sleep-aid mode to be configured. The massage scene type to be configured is the scene type that needs to be configured, and the sleep-aid mode to be configured is the mode corresponding to the massage scene type to be configured, which may specifically include sleep-aid audio, playback parameters, etc. The user mode configuration instruction can be received by the terminal, or it can be generated by the user through the terminal trigger. The massage scene type to be configured and the sleep-aid mode to be configured are determined from the user mode configuration instruction, and a mapping relationship between the two is established, and the mapping relationship is updated to the sleep-aid mode library, so that the sleep-aid mode library is updated according to user needs, and the sleep-aid mode corresponding to each massage scene type in the sleep-aid mode library is realized.

[0101] In one embodiment, controlling the massager to perform sleep-aiding operations according to the sleep-aiding mode includes: querying the sleep-aiding audio and corresponding playback parameters corresponding to the sleep-aiding mode from a sleep-aiding audio database; generating massager control instructions according to the sleep-aiding audio and playback parameters; and sending the massager control instructions to the massager, wherein the massager control instructions are used to control the massager to perform sleep-aiding operations.

[0102] In this embodiment, a massager control instruction is generated according to the sleep-aiding parameters such as the sleep-aiding audio and playback parameters corresponding to the sleep-aiding mode, and the massager control instruction is sent to the massager to control the massager to perform the sleep-aiding operation according to the determined sleep-aiding mode, thereby realizing the control of the massager's sleep-aiding operation. Specifically, after determining the sleep-aiding mode corresponding to the user identifier and the massage scene type, a preset sleep-aiding audio database is queried. The sleep-aiding audio database can record the sleep-aiding parameters corresponding to various sleep-aiding modes, and the sleep-aiding parameters include sleep-aiding audio and corresponding playback parameters. Among them, the sleep-aiding audio is various types of audio data, such as gentle waves, birdsong or lullabies; the playback parameters are used to control the playback of the sleep-aiding audio, such as controlling the playback duration and playback volume of the sleep-aiding audio. The sleep-aiding audio and corresponding playback parameters corresponding to the sleep-aiding mode are queried from the sleep-aiding audio database, and a massager control instruction is generated based on the sleep-aiding audio and playback parameters. The massager control instruction is used to control the operation of the massager. The terminal sends the obtained massager control instruction to the massager, such as sending the massager control instruction to the massager via Bluetooth, infrared signal or other local area network, so as to control the massager to perform the sleep-aiding operation according to the sleep-aiding mode. Specifically, after receiving the massager control instruction, the massager determines the sleep-aiding audio and corresponding playback parameters from the massager control instruction, and plays the sleep-aiding audio according to the playback volume and playback duration determined by the playback parameters, thereby realizing the sleep-aiding operation of the massager. In specific applications, the sleep-aiding audio can be played directly by the built-in audio player of the massager, or it can be played by the audio player connected to the massager, such as playing the sleep-aiding audio through a speaker, mobile phone or computer device connected to the massager.

[0103] In one embodiment, Figure 3 As shown, the sleep awakening step may also be included, that is, after controlling the massager to perform the sleep aiding operation according to the sleep aiding mode, the step may also include:

[0104] Step S302: when the sleep awakening condition of the massager is met, the awakening mode of the massager is determined according to the user identification and the massage scene type.

[0105] In this embodiment, when the sleep awakening condition is met, the user wearing the massager in sleep can be awakened according to the corresponding awakening mode. Specifically, after controlling the massager to perform the sleep aid operation according to the sleep aid mode, the user wearing the massager falls asleep in the sleep aid mode of the massager. If it is detected that the sleep awakening condition of the massager is met, such as reaching the preset awakening time or the user's sleep time has reached the limit time, it is necessary to wake the user from sleep and activate the awakening function of the massager. The awakening mode of the massager is determined according to the user identification and the massage scene type. Among them, the awakening mode is the operating mode of the massager when awakening, such as gradually increasing the massage intensity of the massager (mechanical or electrical stimulation), or sound awakening, etc. The awakening mode can be flexibly set according to actual needs. The awakening mode is set corresponding to each user, and different users can be set with different awakening modes in different massage scene types.

[0106] Step S304, generating a massager wake-up instruction according to the wake-up mode.

[0107] After obtaining the user identification and the massage scene type to determine the wake-up mode of the massager, the terminal generates a massager wake-up instruction based on the wake-up mode, and the massager wake-up instruction is used to control the wake-up operation of the massager.

[0108] Step S306, sending a massager wake-up instruction to the massager, where the massager wake-up instruction is used to control the massager to perform a sleep wake-up operation according to the wake-up mode.

[0109] After receiving the massager wake-up instruction, the massager wake-up instruction is sent to the massager, such as sending the massager control instruction to the massager via Bluetooth, infrared signal or other local area network, so as to control the massager to perform sleep wake-up operation according to the wake-up mode, such as gradually increasing the massage intensity of the massager (mechanical or electrical stimulation), or sound wake-up, etc. By waking up the sleeping massager user through the corresponding wake-up mode, a corresponding sleep plan can be configured for the user to ensure the user's sleep quality.

[0110] In one embodiment, Figure 4 As shown, a massage instrument sleep-aiding control method is provided, comprising:

[0111] Step S402, obtaining physiological parameters of the user wearing the massager;

[0112] Step S404, performing sleep analysis according to the physiological parameters to obtain a sleep analysis result;

[0113] Step S406, when the sleep analysis result is a sleeping state, determining the state of the massager corresponding to the account of the user wearing the massager;

[0114] Step S408, when the account status is online, query the account information of the account;

[0115] Step S410, obtaining a user ID of the user wearing the massager from the account information;

[0116] Step S412, obtaining scene parameters corresponding to the massager; the scene parameters include time parameters and position parameters;

[0117] Step S414, determining the massage scene type corresponding to the massager according to the time parameter and the position parameter;

[0118] Step S416, querying the sleep-aiding mode library corresponding to the user identifier;

[0119] Step S418, performing pattern matching on the massage scene type in the sleep-aiding mode library to obtain the sleep-aiding mode of the massager;

[0120] Step S420, controlling the massager to perform a sleep-aiding operation according to a sleep-aiding mode;

[0121] Step S422, when the sleep awakening condition of the massager is met, determining the awakening mode of the massager according to the user identification and the massage scene type;

[0122] Step S424, generating a massager wake-up instruction according to the wake-up mode;

[0123] Step S426, sending a massager wake-up instruction to the massager, where the massager wake-up instruction is used to control the massager to perform a sleep wake-up operation according to the wake-up mode.

[0124] In this embodiment, on the one hand, it is determined whether the sleep-aiding triggering condition is met based on the physiological data analysis results of the user wearing the massager. When the sleep-aiding triggering condition is met, the user ID of the user wearing the massager is obtained based on the account information of the user wearing the massager. On the other hand, the massage scene type corresponding to the massager is determined based on the time parameters and position parameters corresponding to the massager. After obtaining the user ID and the massage scene type, pattern matching is performed in the sleep-aiding mode library corresponding to the user ID according to the massage scene type, thereby determining the sleep-aiding mode of the massager.

[0125] After obtaining the sleep-aid mode corresponding to the user identification and the massage scene type, the massager is controlled to perform sleep-aid operations according to the sleep-aid mode, a massager control instruction is generated according to sleep-aid parameters such as sleep-aid audio and playback parameters corresponding to the sleep-aid mode, and the massager control instruction is sent to the massager to control the massager to perform sleep-aid operations according to the determined sleep-aid mode, thereby realizing control of the massager's sleep-aid operation, specifically including: querying the sleep-aid audio and corresponding playback parameters corresponding to the sleep-aid mode from a sleep-aid audio database; generating massager control instructions according to the sleep-aid audio and playback parameters; and sending the massager control instructions to the massager, the massager control instructions being used to control the massager to perform sleep-aid operations.

[0126] When controlling the massager to perform sleep-aiding operation according to the sleep-aiding mode, after the user wearing the massager falls asleep in the sleep-aiding mode, the user wearing the massager can be awakened according to the corresponding awakening mode when the sleep awakening conditions are met, thereby configuring a corresponding sleep plan for the user to ensure the user's sleep quality.

[0127] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0128] In one embodiment, Figure 5 As shown, a massager sleep-aiding control device 500 is provided, comprising: a user identification acquisition module 502, a scene type determination module 504, a sleep-aiding mode determination module 506 and a sleep-aiding operation control module 508, wherein:

[0129] The user identification acquisition module 502 is used to acquire the user identification of the user wearing the massager when the sleep-aiding triggering condition of the massager is met;

[0130] A scene type determination module 504 is used to determine the massage scene type corresponding to the massager;

[0131] A sleep-aiding mode determination module 506 is used to determine the sleep-aiding mode of the massager according to the user identifier and the massage scene type;

[0132] The sleep-aiding operation control module 508 is used to control the massager to perform the sleep-aiding operation according to the sleep-aiding mode.

[0133] In one embodiment, the user identification acquisition module 502 includes a physiological parameter acquisition module, a sleep analysis module and a user identification acquisition module; wherein: the physiological parameter acquisition module is used to acquire the physiological parameters of the user wearing the massager; the sleep analysis module is used to perform sleep analysis based on the physiological parameters to obtain the sleep analysis results; the user identification acquisition module is used to acquire the user identification of the user wearing the massager when the sleep analysis result is a sleeping state.

[0134] In one embodiment, the physiological parameter acquisition module includes a first parameter acquisition module, a second parameter acquisition module and a parameter fusion module; wherein: the first parameter acquisition module is used to obtain the first physiological parameter detected by the massager; the second parameter acquisition module is used to obtain the second physiological parameter detected by the wearable device associated with the massager; the parameter fusion module is used to obtain the physiological parameters of the user wearing the massager based on the first physiological parameter and the second physiological parameter.

[0135] In one embodiment, the user identification acquisition module 502 includes an account status determination module, an account information query module and an account information analysis module; wherein: the account status determination module is used to determine the status of the account of the user wearing the massager; the account information query module is used to query the account information of the account when the account status is online; the account information analysis module is used to obtain the user identification of the user wearing the massager from the account information.

[0136] In one embodiment, the user identification acquisition module 502 includes a sleep-aiding instruction response module, which is used to obtain the user identification of the user wearing the massager from the user sleep-aiding triggering instruction when receiving the user sleep-aiding triggering instruction.

[0137] In one embodiment, the scene type determination module 504 includes a scene parameter acquisition module and a scene parameter analysis module; wherein: the scene parameter acquisition module is used to obtain scene parameters corresponding to the massager; the scene parameters include time parameters and position parameters; the scene parameter analysis module is used to determine the massage scene type corresponding to the massager based on the time parameters and position parameters.

[0138] In one embodiment, the scene type determination module 504 includes a setting instruction response module, which is used to determine the massage scene type corresponding to the massager according to the user scene setting instruction when receiving the user scene setting instruction.

[0139] In one embodiment, the sleep-aiding mode determination module 506 includes a pattern library query module and a pattern matching module; wherein: the pattern library query module is used to query the sleep-aiding mode library corresponding to the user identifier; the pattern matching module is used to perform pattern matching on the massage scene type in the sleep-aiding mode library to obtain the sleep-aiding mode of the massager.

[0140] In one embodiment, it also includes a mode configuration instruction receiving module, a mapping relationship determining module and a mapping relationship updating module; wherein: the mode configuration instruction receiving module is used to receive user mode configuration instructions; the user mode configuration instructions include the massage scene type to be configured and the sleep-aid mode to be configured; the mapping relationship determining module is used to establish a mapping relationship between the massage scene type to be configured and the sleep-aid mode to be configured; the mapping relationship updating module is used to update the mapping relationship to the sleep-aid mode library.

[0141] In one embodiment, the sleep-aiding operation control module 508 includes a sleep-aiding parameter acquisition module, a control instruction generation module and a control instruction sending module; wherein: the sleep-aiding parameter acquisition module is used to query the sleep-aiding audio and corresponding playback parameters corresponding to the sleep-aiding mode from the sleep-aiding audio database; the control instruction generation module is used to generate massager control instructions according to the sleep-aiding audio and playback parameters; the control instruction sending module is used to send massager control instructions to the massager, and the massager control instructions are used to control the massager to perform sleep-aiding operations.

[0142] In one embodiment, it also includes a wake-up mode determination module, a wake-up instruction generation module and a wake-up control module; wherein: the wake-up mode determination module is used to determine the wake-up mode of the massager according to the user identification and the massage scene type when the sleep wake-up conditions of the massager are met; the wake-up instruction generation module is used to generate a massager wake-up instruction according to the wake-up mode; the wake-up control module is used to send the massager wake-up instruction to the massager, and the massager wake-up instruction is used to control the massager to perform a sleep wake-up operation according to the wake-up mode.

[0143] For the specific definition of the massager sleep aid control device, please refer to the definition of the massager sleep aid control method above, which will not be repeated here. Each module in the above massager sleep aid control device can be implemented in whole or in part by software, hardware and a combination thereof. The above 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.

[0144] In one embodiment, Figure 6 As shown, a massager system 600 is provided, which includes a massager 602 and the massager sleep-aiding control device 500 as described above; wherein the massager is connected to a sleep-aiding operation control module 608 in the massager sleep-aiding control device.

[0145] The massager 602 may be a massager of various types, such as a neck massager, a shoulder massager, a back massager, a waist massager, an abdomen massager, a brain massager, a leg massager, a foot massager, a chest massager, and an eye massager, etc. The massager sleep aid control device 500 may send a massager control instruction to the massager 602 through the sleep aid operation control module 608 to control the sleep aid operation of the massager.

[0146] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a massager sleep aid control method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0147] Those skilled in the art will understand that Figure 7 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.

[0148] 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:

[0149] When the sleep-aiding triggering condition of the massager is met, the user ID of the user wearing the massager is obtained;

[0150] Determine the type of massage scene corresponding to the massager;

[0151] Determine the sleep-aiding mode of the massager according to the user identification and the massage scene type;

[0152] Control the massager to perform sleep-aiding operation according to the sleep-aiding mode.

[0153] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining physiological parameters of the user wearing the massager; performing sleep analysis based on the physiological parameters to obtain sleep analysis results; when the sleep analysis result is a sleeping state, obtaining a user identifier of the user wearing the massager.

[0154] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a first physiological parameter detected by the massager; obtaining a second physiological parameter detected by a wearable device associated with the massager; and obtaining a physiological parameter of the user wearing the massager based on the first physiological parameter and the second physiological parameter.

[0155] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the status of the account of the user wearing the massager; when the account status is online, querying the account information of the account; and obtaining the user identifier of the user wearing the massager from the account information.

[0156] In one embodiment, when the processor executes the computer program, the following steps are further implemented: when receiving a user sleep-aiding trigger instruction, obtaining a user identifier of the user wearing the massager from the user sleep-aiding trigger instruction.

[0157] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining scene parameters corresponding to the massager; the scene parameters include time parameters and position parameters; and determining the massage scene type corresponding to the massager according to the time parameters and position parameters.

[0158] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when receiving a user scene setting instruction, determining the massage scene type corresponding to the massager according to the user scene setting instruction.

[0159] In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying the sleep-aiding mode library corresponding to the user identifier; performing pattern matching on the massage scene type in the sleep-aiding mode library to obtain the sleep-aiding mode of the massager.

[0160] In one embodiment, when the processor executes the computer program, the following steps are also implemented: receiving a user mode configuration instruction; the user mode configuration instruction includes a massage scene type to be configured and a sleep-aid mode to be configured; establishing a mapping relationship between the massage scene type to be configured and the sleep-aid mode to be configured; and updating the mapping relationship to the sleep-aid mode library.

[0161] In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying the sleep-aid audio and corresponding playback parameters corresponding to the sleep-aid mode from the sleep-aid audio database; generating massager control instructions based on the sleep-aid audio and playback parameters; sending the massager control instructions to the massager, and the massager control instructions are used to control the massager to perform sleep-aid operations.

[0162] In one embodiment, the processor also implements the following steps when executing the computer program: when the sleep wake-up condition of the massager is met, determining the wake-up mode of the massager according to the user identification and the massage scene type; generating a massager wake-up instruction according to the wake-up mode; sending the massager wake-up instruction to the massager, the massager wake-up instruction is used to control the massager to perform a sleep wake-up operation according to the wake-up mode.

[0163] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0164] When the sleep-aiding triggering condition of the massager is met, the user ID of the user wearing the massager is obtained;

[0165] Determine the type of massage scene corresponding to the massager;

[0166] Determine the sleep-aiding mode of the massager according to the user identification and the massage scene type;

[0167] Control the massager to perform sleep-aiding operation according to the sleep-aiding mode.

[0168] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining physiological parameters of the user wearing the massager; performing sleep analysis based on the physiological parameters to obtain sleep analysis results; when the sleep analysis result is a sleeping state, obtaining a user identifier of the user wearing the massager.

[0169] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a first physiological parameter detected by the massager; obtaining a second physiological parameter detected by a wearable device associated with the massager; and obtaining a physiological parameter of the user wearing the massager based on the first physiological parameter and the second physiological parameter.

[0170] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the status of the account of the user wearing the massager; when the account status is online, querying the account information of the account; and obtaining the user identifier of the user wearing the massager from the account information.

[0171] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when a user sleep-aiding trigger instruction is received, a user identifier of the user wearing the massager is obtained from the user sleep-aiding trigger instruction.

[0172] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining scene parameters corresponding to the massager; the scene parameters include time parameters and position parameters; and determining the massage scene type corresponding to the massager according to the time parameters and position parameters.

[0173] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when a user scene setting instruction is received, the massage scene type corresponding to the massager is determined according to the user scene setting instruction.

[0174] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying the sleep-aiding mode library corresponding to the user identifier; performing pattern matching on the massage scene type in the sleep-aiding mode library to obtain the sleep-aiding mode of the massager.

[0175] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving a user mode configuration instruction; the user mode configuration instruction includes a massage scene type to be configured and a sleep-aid mode to be configured; establishing a mapping relationship between the massage scene type to be configured and the sleep-aid mode to be configured; and updating the mapping relationship to the sleep-aid mode library.

[0176] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying the sleep-aid audio and corresponding playback parameters corresponding to the sleep-aid mode from the sleep-aid audio database; generating massager control instructions based on the sleep-aid audio and playback parameters; sending the massager control instructions to the massager, and the massager control instructions are used to control the massager to perform sleep-aid operations.

[0177] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the sleep wake-up condition of the massager is met, the wake-up mode of the massager is determined according to the user identification and the massage scene type; a massager wake-up instruction is generated according to the wake-up mode; and the massager wake-up instruction is sent to the massager, and the massager wake-up instruction is used to control the massager to perform a sleep wake-up operation according to the wake-up mode.

[0178] Those of ordinary skill 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 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 or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0179] 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.

[0180] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A massage instrument sleep-aiding control method, characterized in that: The method comprises: When the sleep-aiding triggering condition of the massager is met, obtaining a user identifier of a user wearing the massager; Determining a massage scene type corresponding to the massager; Determining a sleep-aiding mode of the massager according to the user identifier and the massage scene type; Querying the sleep-aiding audio and corresponding playback parameters corresponding to the sleep-aiding mode from the sleep-aiding audio database; Generate a massager control instruction according to the sleep-aiding audio and the playback parameters; The massager control instruction is sent to the massager, and the massager control instruction is used to control the massager to perform a sleep-aiding operation.

2. The method according to claim 1, characterized in that When the sleep-aiding trigger condition of the massager is met, obtaining the user identifier of the user corresponding to the massager includes: Obtain physiological parameters of the user wearing the massager; Performing sleep analysis according to the physiological parameters to obtain a sleep analysis result; When the sleep analysis result is a sleeping state, a user identifier of a user corresponding to the massager is obtained.

3. The method according to claim 2, characterized in that The step of obtaining physiological parameters of the user wearing the massager includes: Acquiring a first physiological parameter detected by the massager; Acquire a second physiological parameter detected by a wearable device associated with the massager; The physiological parameters of the user wearing the massager are obtained according to the first physiological parameters and the second physiological parameters.

4. The method according to claim 1, characterized in that: Obtaining the user identification of the user wearing the massager includes: Determine the status of the account of the user wearing the massager; When the status of the account is online, querying the account information of the account; The user identification of the user wearing the massager is obtained from the account information.

5. The method according to claim 1, characterized in that When the sleep-aiding trigger condition of the massager is met, obtaining the user identifier of the user corresponding to the massager includes: When a user sleep-aiding trigger instruction is received, a user identifier of a user corresponding to the massager is obtained from the user sleep-aiding trigger instruction.

6. The method according to claim 1, characterized in that Determining the massage scene type corresponding to the massager includes: Obtaining scene parameters corresponding to the massager; the scene parameters include time parameters and position parameters; The massage scene type corresponding to the massager is determined according to the time parameter and the position parameter.

7. The method according to claim 1, characterized in that Determining the massage scene type corresponding to the massager includes: When a user scene setting instruction is received, the massage scene type corresponding to the massager is determined according to the user scene setting instruction.

8. The method according to claim 1, characterized in that Determining the sleep-aiding mode of the massager according to the user identifier and the massage scene type includes: Querying a sleep-aiding mode library corresponding to the user identifier; The massage scene type is pattern matched in the sleep-aiding mode library to obtain the sleep-aiding mode of the massager.

9. The method according to claim 8, characterized in that The method further comprises: Receive a user mode configuration instruction; the user mode configuration instruction includes a massage scene type to be configured and a sleep aid mode to be configured; Establishing a mapping relationship between the massage scene type to be configured and the sleep-aiding mode to be configured; The mapping relationship is updated to the sleep-aiding mode library.

10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: When the sleep awakening condition of the massager is met, determining the awakening mode of the massager according to the user identifier and the massage scene type; Generate a massager wake-up instruction according to the wake-up mode; The massager wake-up instruction is sent to the massager, and the massager wake-up instruction is used to control the massager to perform a sleep wake-up operation according to the wake-up mode.

11. A massage instrument sleep aid control device, characterized in that: The device comprises: A user identification acquisition module, used to acquire the user identification of the user wearing the massager when the sleep-aiding triggering condition of the massager is met; A scene type determination module, used to determine the massage scene type corresponding to the massager; A sleep-aiding mode determination module, used to determine the sleep-aiding mode of the massager according to the user identifier and the massage scene type; The sleep-aiding operation control module is used to query the sleep-aiding audio and corresponding playback parameters corresponding to the sleep-aiding mode from the sleep-aiding audio database; generate a massager control instruction according to the sleep-aiding audio and the playback parameters; and send the massager control instruction to the massager, wherein the massager control instruction is used to control the massager to perform sleep-aiding operations.

12. The device according to claim 11, characterized in that The user identification acquisition module is also used to obtain physiological parameters of the user wearing the massager; perform sleep analysis based on the physiological parameters to obtain sleep analysis results; when the sleep analysis result is a sleeping state, obtain the user identification of the user wearing the massager.

13. A massager system, characterized in that: The system comprises a massager and the device as claimed in claim 11 or 12; wherein the massager is connected to a sleep-aiding operation control module in the massager sleep-aiding control device.

14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Feedback hypnosis therapeutic instrument

    CN102430182A

  • Intelligent mattress with sleep management function

    CN109965846A

  • Intelligent music eyeshade

    CN209301455U