CN116541103A - Music control method and system based on sleep monitoring and intelligent watch - Google Patents
Music control method and system based on sleep monitoring and intelligent watch Download PDFInfo
- Publication number
- CN116541103A CN116541103A CN202310811401.4A CN202310811401A CN116541103A CN 116541103 A CN116541103 A CN 116541103A CN 202310811401 A CN202310811401 A CN 202310811401A CN 116541103 A CN116541103 A CN 116541103A
- Authority
- CN
- China
- Prior art keywords
- music
- user
- acquiring
- reference value
- arm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000007958 sleep Effects 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012544 monitoring process Methods 0.000 title claims abstract description 23
- 230000033001 locomotion Effects 0.000 claims abstract description 37
- 238000012795 verification Methods 0.000 claims abstract description 31
- 230000007704 transition Effects 0.000 claims abstract description 19
- 238000013475 authorization Methods 0.000 claims abstract description 16
- 230000000694 effects Effects 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000002618 waking effect Effects 0.000 claims description 3
- 230000006266 hibernation Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 230000003860 sleep quality Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003340 mental effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
- A61B5/1118—Determining activity level
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4809—Sleep detection, i.e. determining whether a subject is asleep or not
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M21/02—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis for inducing sleep or relaxation, e.g. by direct nerve stimulation, hypnosis, analgesia
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/10—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
- G01C21/12—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
- G01C21/16—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/686—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M2021/0005—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
- A61M2021/0027—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention relates to the technical field of music control, and particularly discloses a music control method and system based on sleep monitoring and an intelligent watch, wherein the method comprises the following steps: acquiring user authorization, and acquiring a music catalog of a user according to the authorization to generate a transition catalog; acquiring arm information of a user, and acquiring a reference value T corresponding to the arm information k The method comprises the steps of carrying out a first treatment on the surface of the Obtaining the obtainedTaking a reference value corresponding to the current arm information, starting verification when the reference value is equal to 1, obtaining the reference value in a period of time, arranging according to a time axis sequence, and judging the active state of the user according to the motion change of the arm of the user; when the user is about to enter a sleep state, changing the currently playing music catalog into a transitional catalog; when the user enters a sleep state, the music playing is turned off. The invention can self-adjust the play list and control the closing of music according to the activity of the user.
Description
Technical Field
The invention relates to the technical field of music control, in particular to a music control method and system based on sleep monitoring and an intelligent watch.
Background
Music is an important component of human culture and plays an increasingly important role in modern society. As technology evolves and lifestyles change, modern attitudes and descriptions of listening to music also change. For modern people, music is not only an artistic form, but also a physical and mental relaxation way. Under the pursuit of fast-paced and high-efficiency life rhythms, music can bring short-lived calm and peaceful, and helps people to relieve stress and relax tension. Many people choose to listen to music during work, study or exercise, which can help them to concentrate better and improve efficiency.
In addition, with the popularity of digital music and online music services, the manner in which modern people acquire and listen to music has also changed over the sky. The music can be conveniently searched, played and downloaded on line through the Internet, the mobile phone APP and other platforms, and people can enjoy favorite music at any time almost in any time and any occasion. This also makes music closer to people, becoming an integral part of people's daily life.
But is prone to slowly entering a sleep state when the user is relaxed by listening to music. However, after the person enters the sleep state, the person does not recommend to continue playing music, because listening to music stimulates the brain to keep alert, thereby interfering with the sleeping process and resulting in a reduced sleep quality. Furthermore, wearing headphones for a long period of time may also negatively affect hearing. Therefore, it is preferable to turn off music before sleeping, and to keep a quiet environment helps to improve sleep quality. However, it is difficult for the user to actively turn off music while he is listening to music and enters a sleep state.
Disclosure of Invention
The invention aims to provide a music control method and system based on sleep monitoring and a smart watch, which are used for solving the technical problems.
The aim of the invention can be achieved by the following technical scheme:
the music control method based on sleep monitoring comprises the following steps:
acquiring user authorization, acquiring a music catalog of a user according to the authorization, extracting music labels in the music catalog, selecting a plurality of pieces of target music according to the music labels, and generating a transition catalog; the music label of the target music comprises softness, smoothness and relaxation;
acquiring arm information of a user, wherein the arm information comprises movement and stillness, and acquiring a reference value T corresponding to the arm information k Wherein T is k Representing a reference value corresponding to arm information at the kth sampling, and T when the arm information is motion k =0, T when arm information is stationary k =1;
Acquiring a reference value corresponding to current arm information, starting verification when the reference value is equal to 1, acquiring the reference value in a period of time, arranging according to a time axis sequence, and judging the active state of a user according to the motion change of the arm of the user; when the user is about to enter a sleep state, changing the currently playing music catalog into a transitional catalog; when the user enters a sleep state, the music playing is turned off.
As a further scheme of the invention: the verification process of the opening verification specifically comprises the following steps:
setting a verification period T, acquiring a reference value corresponding to current arm information, and starting verification when the reference value is equal to 1;
repeatedly acquiring reference values to generate a reference value set T c =(T d ,T d+1 ,...,T n ,...,T d+T/t ) Wherein T is d To turn on the reference value at verification time, T d =1, T is the acquisition time interval of two adjacent arm information, n is a positive integer and n e [ d, d+t/T]。
As a further scheme of the invention: the judging process of the active state of the user comprises the following specific steps:
calculating a sum of reference values;
Calculating the arm movement frequency;
Acquiring the time interval between two adjacent arm information as running in the reference value set, and generating an interval value set delta T= (delta T) 1 ,ΔT 2 ,...,ΔT i ) I is a positive integer;
calculating an activity value of a user。
As a further scheme of the invention: according to the active state of the user, the specific steps for controlling music playing are as follows:
acquiring an active value H of a user;
when H is more than 0 and less than or equal to K 1 When the user arm movement activity is high, judging that the user state is a waking state, and not intervening in music playing;
when K is 1 <H≤K 2 When the arm movement activity of the user is low, judging that the user state is to enter a sleep state, and changing the currently playing music catalogue into a transition catalogue;
when K is 2 When the user's arm movement activity is lower than H, closing the music playing when judging that the user state is the sleep state;
wherein K is 1 And K 2 K is a preset judgment threshold value 1 <K 2 。
As a further scheme of the invention: after the verification process starts, if the obtained reference values are all 0 continuously in the process of obtaining the reference values, and the continuous times exceed the set threshold value, ending the current verification process, and judging that the state of the user is an awake state, and not intervening in music playing.
As a further scheme of the invention: when Y is d And when the state is equal to 0, skipping the calculation process of the active value, directly judging that the state of the user is a sleep state, and closing the music playing.
A music control system based on sleep monitoring, comprising:
a transition catalog generation module: acquiring user authorization, acquiring a music catalog of a user according to the authorization, extracting music labels in the music catalog, selecting a plurality of pieces of target music according to the music labels, and generating a transition catalog; the music label of the target music comprises softness, smoothness and relaxation;
arm information acquisition module: acquiring arm information of a user, wherein the arm information comprises movement and stillness, and acquiring a reference value T corresponding to the arm information k Wherein T is k Representing a reference value corresponding to arm information at the kth sampling, and T when the arm information is motion k =0, T when arm information is stationary k =1;
And (3) a verification module: acquiring a reference value corresponding to current arm information, starting verification when the reference value is equal to 1, acquiring the reference value in a period of time, arranging according to a time axis sequence, and judging the active state of a user according to the motion change of the arm of the user; when the user is about to enter a sleep state, changing the currently playing music catalog into a transitional catalog; when the user enters a sleep state, the music playing is turned off.
The intelligent watch based on the music control of the sleep monitoring comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes the steps of the music control method based on the sleep monitoring when executing the computer program.
The invention has the beneficial effects that: in the specific scheme, the method comprises the steps of firstly obtaining the authorization of a user to obtain a corresponding music catalog of the user, and then selecting a plurality of pieces of target music as transition catalogues according to the music labels in the music catalog; notably, the target music in the transition catalog generated herein is predominantly soothing, relaxed, with the purpose of promoting user hibernation;
secondly, the active state of the user is further analyzed through the arm movement condition of the user; as it can be appreciated that in a state where the user is awake, the movements of his arms are very frequent, and the distinction from the sleep state is very great; based on this, it is judged in the present invention whether the user is about to enter a sleep state or has entered a sleep state by the user's arm liveness; when the user is about to enter a sleep state, the user is replaced by a transition catalog to promote the user to sleep, and the user is prevented from being awakened by music; when the user enters a sleep state, the music playing is turned off, and a quiet sleep environment is provided.
Drawings
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a music control method based on sleep monitoring of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the invention discloses a music control method based on sleep monitoring, which comprises the following steps:
acquiring user authorization, acquiring a music catalog of a user according to the authorization, extracting music labels in the music catalog, selecting a plurality of pieces of target music according to the music labels, and generating a transition catalog; the music label of the target music comprises softness, smoothness and relaxation;
acquiring arm information of a user, wherein the arm information comprises movement and stillness, and acquiring a reference value T corresponding to the arm information k Wherein T is k Representing a reference value corresponding to arm information at the kth sampling, and T when the arm information is motion k =0, T when arm information is stationary k =1;
Acquiring a reference value corresponding to current arm information, starting verification when the reference value is equal to 1, acquiring the reference value in a period of time, arranging according to a time axis sequence, and judging the active state of a user according to the motion change of the arm of the user; when the user is about to enter a sleep state, changing the currently playing music catalog into a transitional catalog; when the user enters a sleep state, the music playing is turned off.
From the background of the invention, it can be understood that people can relax and rest by listening to music, and can easily enter a sleep state during relaxation, but the people are not suitable for listening to music all the time in the sleeping situation, because the sleeping needs a quiet and stable environment, the music is in a fluctuant tone or the style of changing music suddenly, and the like, and the people can possibly wake the user from sleeping; however, some music can indeed promote the user to sleep, so based on the situation, the invention provides a music control method for sleep monitoring.
In the invention, the music catalogue of the user refers to a catalogue which is automatically generated by the corresponding music playing app after the user listens frequently or likes through the user mark, and the music labels are often commonly used in each music playing app and are used for classifying different music, and the music labels are numerous and are not described in detail herein;
therefore, in the invention, defaults are based on the related application of the existing music playing app, in the specific scheme, the authorization of the user is firstly obtained to obtain the corresponding music catalogue of the user, and then a plurality of pieces of target music are selected as transition catalogues according to the music labels in the music catalogue; notably, the target music in the transition catalog generated herein is predominantly soothing, relaxed, with the purpose of promoting user hibernation;
secondly, the active state of the user is further analyzed through the arm movement condition of the user; as it can be appreciated that in a state where the user is awake, the movements of his arms are very frequent, and the distinction from the sleep state is very great; based on this, it is judged in the present invention whether the user is about to enter a sleep state or has entered a sleep state by the user's arm liveness; when the user is about to enter a sleep state, the user is replaced by a transition catalog to promote the user to sleep, and the user is prevented from being awakened by music; when the user enters a sleep state, the music playing is turned off, and a quiet sleep environment is provided.
In a preferred embodiment of the present invention, the verification process of the opening verification specifically includes the following steps:
setting a verification period T, acquiring a reference value corresponding to current arm information, and starting verification when the reference value is equal to 1;
repeatedly acquiring reference values to generate a reference value set T c =(T d ,T d+1 ,...,T n ,...,T d+T/t ) Wherein T is d To turn on the reference value at verification time, T d =1, T is the acquisition time interval of two adjacent arm information, n is a positive integer and n e [ d, d+t/T];
Calculating a sum of reference values;
Calculating the arm movement frequency;
Acquiring the time interval between two adjacent arm information as running in the reference value set, and generating an interval value set delta T= (delta T) 1 ,ΔT 1 ,...,ΔT i ) I is a positive integer;
calculating an activity value of a user;
Acquiring an active value H of a user;
when H is more than 0 and less than or equal to K 1 When the user arm movement activity is high, judging that the user state is a waking state, and not intervening in music playing;
when K is 1 <H≤K 2 When the activity of the arm movement of the user is low, judging that the user state is to enter a sleep state, and changing the currently playing music catalogue into the previous oneA transition directory;
when K is 2 When the user's arm movement activity is lower than H, closing the music playing when judging that the user state is the sleep state;
wherein K is 1 And K 2 K is a preset judgment threshold value 1 <K 2 。
In a preferred embodiment of the present invention, after the verification process starts, if the obtained reference values are all 0 continuously in the process of obtaining the reference values, and the number of continuous times exceeds the set threshold value, the current verification process is ended, and the state of the user is determined to be an awake state, and no intervention is performed on music playing.
In a preferred embodiment of the invention, when Y d And when the state is equal to 0, skipping the calculation process of the active value, directly judging that the state of the user is a sleep state, and closing the music playing.
A music control system based on sleep monitoring, comprising:
a transition catalog generation module: acquiring user authorization, acquiring a music catalog of a user according to the authorization, extracting music labels in the music catalog, selecting a plurality of pieces of target music according to the music labels, and generating a transition catalog; the music label of the target music comprises softness, smoothness and relaxation;
arm information acquisition module: acquiring arm information of a user, wherein the arm information comprises movement and stillness, and acquiring a reference value T corresponding to the arm information k Wherein T is k Representing a reference value corresponding to arm information at the kth sampling, and T when the arm information is motion k =0, T when arm information is stationary k =1;
And (3) a verification module: acquiring a reference value corresponding to current arm information, starting verification when the reference value is equal to 1, acquiring the reference value in a period of time, arranging according to a time axis sequence, and judging the active state of a user according to the motion change of the arm of the user; when the user is about to enter a sleep state, changing the currently playing music catalog into a transitional catalog; when the user enters a sleep state, the music playing is turned off.
The intelligent watch based on the music control of the sleep monitoring comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes the steps of the music control method based on the sleep monitoring when executing the computer program.
The intelligent watch can detect the motion state of the hand of the user through sensors such as an accelerometer and a gyroscope, so as to judge whether the intelligent watch is in a sleep state or not. Typically, when a user goes to sleep, the motion of the hand gradually slows down, so the smart watch typically recognizes whether the user falls asleep based on the following two algorithms.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.
Claims (8)
1. The music control method based on sleep monitoring is characterized by comprising the following steps of:
acquiring user authorization, acquiring a music catalog of a user according to the authorization, extracting music labels in the music catalog, selecting a plurality of pieces of target music according to the music labels, and generating a transition catalog; the music label of the target music comprises softness, smoothness and relaxation;
acquiring arm information of a user, wherein the arm information comprises movement and stillness, and acquiring a reference value T corresponding to the arm information k Wherein T is k Representing a reference value corresponding to arm information at the kth sampling, and T when the arm information is motion k =0, T when arm information is stationary k =1;
Acquiring a reference value corresponding to current arm information, starting verification when the reference value is equal to 1, acquiring the reference value in a period of time, arranging according to a time axis sequence, and judging the active state of a user according to the motion change of the arm of the user; when the user is about to enter a sleep state, changing the currently playing music catalog into a transitional catalog; when the user enters a sleep state, the music playing is turned off.
2. The music control method based on sleep monitoring as claimed in claim 1, characterized in that, the verification process of starting the verification, specifically comprises the following steps:
setting a verification period T, acquiring a reference value corresponding to current arm information, and starting verification when the reference value is equal to 1;
repeatedly acquiring reference values to generate a reference value set T c =(T d ,T d+1 ,...,T n ,...,T d+T/t ) Wherein T is d To turn on the reference value at verification time, T d =1, T is the acquisition time interval of two adjacent arm information, n is a positive integer and n e [ d, d+t/T]。
3. The music control method based on sleep monitoring according to claim 2, wherein the determining process of the active state of the user comprises the following specific steps:
calculating a sum of reference values;
Calculating the arm movement frequency;
Acquiring the time interval between two adjacent arm information as running in the reference value set, and generating an interval value set delta T= (delta T) 1 ,ΔT 2 ,...,ΔT i ) I is a positive integer;
calculating an activity value of a user。
4. A music control method based on sleep monitoring as claimed in claim 3, characterized in that, according to the active state of the user, the specific steps of controlling music playing are as follows:
acquiring an active value H of a user;
when H is more than 0 and less than or equal to K 1 When the user arm movement activity is high, judging that the user state is a waking state, and not intervening in music playing;
when K is 1 <H≤K 2 When the arm movement activity of the user is low, judging that the user state is to enter a sleep state, and changing the currently playing music catalogue into a transition catalogue;
when K is 2 When the user's arm movement activity is lower than H, closing the music playing when judging that the user state is the sleep state;
wherein K is 1 And K 2 K is a preset judgment threshold value 1 <K 2 。
5. The music control method based on sleep monitoring according to claim 2, wherein after the verification process is started, if the obtained reference values are all 0 continuously in the process of obtaining the reference values, and the number of continuous times exceeds the set threshold value, the current verification process is ended, and the state of the user is determined to be an awake state, and no intervention is performed on music playing.
6. A music control method based on sleep monitoring as claimed in claim 3, characterized in that, when Y d And when the state is equal to 0, skipping the calculation process of the active value, directly judging that the state of the user is a sleep state, and closing the music playing.
7. Music control system based on sleep monitoring, characterized by comprising:
a transition catalog generation module: acquiring user authorization, acquiring a music catalog of a user according to the authorization, extracting music labels in the music catalog, selecting a plurality of pieces of target music according to the music labels, and generating a transition catalog; the music label of the target music comprises softness, smoothness and relaxation;
arm information acquisition module: acquiring arm information of a user, wherein the arm information comprises movement and stillness, and acquiring a reference value T corresponding to the arm information k Wherein T is k Representing a reference value corresponding to arm information at the kth sampling, and T when the arm information is motion k =0, T when arm information is stationary k =1;
And (3) a verification module: acquiring a reference value corresponding to current arm information, starting verification when the reference value is equal to 1, acquiring the reference value in a period of time, arranging according to a time axis sequence, and judging the active state of a user according to the motion change of the arm of the user; when the user is about to enter a sleep state, changing the currently playing music catalog into a transitional catalog; when the user enters a sleep state, the music playing is turned off.
8. A music controlled smart watch based on sleep monitoring comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310811401.4A CN116541103B (en) | 2023-07-04 | 2023-07-04 | Music control method and system based on sleep monitoring and intelligent watch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310811401.4A CN116541103B (en) | 2023-07-04 | 2023-07-04 | Music control method and system based on sleep monitoring and intelligent watch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116541103A true CN116541103A (en) | 2023-08-04 |
CN116541103B CN116541103B (en) | 2024-01-30 |
Family
ID=87458170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310811401.4A Active CN116541103B (en) | 2023-07-04 | 2023-07-04 | Music control method and system based on sleep monitoring and intelligent watch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116541103B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116803337A (en) * | 2023-08-22 | 2023-09-26 | 深圳市爱保护科技有限公司 | Music sleep assisting method, device and equipment based on sleep monitoring |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020138630A1 (en) * | 2000-12-27 | 2002-09-26 | Solomon Barry M. | Music scheduling algorithm |
CN104866066A (en) * | 2015-05-04 | 2015-08-26 | 小米科技有限责任公司 | Control method and device of video display device |
CN105261378A (en) * | 2015-11-09 | 2016-01-20 | 广东欧珀移动通信有限公司 | An audio file playing method and apparatus based on sleep states |
CN105898572A (en) * | 2016-04-28 | 2016-08-24 | 乐视控股(北京)有限公司 | Play control method and device |
-
2023
- 2023-07-04 CN CN202310811401.4A patent/CN116541103B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020138630A1 (en) * | 2000-12-27 | 2002-09-26 | Solomon Barry M. | Music scheduling algorithm |
CN104866066A (en) * | 2015-05-04 | 2015-08-26 | 小米科技有限责任公司 | Control method and device of video display device |
CN105261378A (en) * | 2015-11-09 | 2016-01-20 | 广东欧珀移动通信有限公司 | An audio file playing method and apparatus based on sleep states |
CN105898572A (en) * | 2016-04-28 | 2016-08-24 | 乐视控股(北京)有限公司 | Play control method and device |
Non-Patent Citations (1)
Title |
---|
彭程 等: "基于心率变异性分析的睡眠音乐推荐系统", 计算机应用, vol. 40, no. 5, pages 1539 - 1544 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116803337A (en) * | 2023-08-22 | 2023-09-26 | 深圳市爱保护科技有限公司 | Music sleep assisting method, device and equipment based on sleep monitoring |
CN116803337B (en) * | 2023-08-22 | 2023-11-07 | 深圳市爱保护科技有限公司 | Music sleep assisting method, device and equipment based on sleep monitoring |
Also Published As
Publication number | Publication date |
---|---|
CN116541103B (en) | 2024-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116541103B (en) | Music control method and system based on sleep monitoring and intelligent watch | |
WO2016041305A1 (en) | Method for wake up by music and mobile device | |
US7224282B2 (en) | Control apparatus and method for controlling an environment based on bio-information and environment information | |
CN113639449B (en) | Method and device for controlling air conditioner and air conditioner | |
CN109032384B (en) | Music playing control method and device, storage medium and wearable device | |
US20140058703A1 (en) | Information processing device, information processing method, and program | |
CN107875496A (en) | A kind of intelligent sleep management eye-shade device and its control method | |
JP2005056205A (en) | Content reproducing device and method | |
JPWO2016136450A1 (en) | Sound source control device and sound source control method | |
CN108419096A (en) | Speech-sound intelligent playback method and system | |
CN111897230A (en) | Sleep quality monitoring method and device, electrical equipment, storage medium and processor | |
CN110022924A (en) | Householder method of sleeping and terminal | |
CN109497945A (en) | A kind of sleep state control method and device | |
CN109568766A (en) | Audio frequency playing method, device and computer readable storage medium | |
CN112689219A (en) | Method, apparatus, wireless headset and computer readable storage medium for managing sleep | |
CN108175921A (en) | The method and apparatus that human body wakes up | |
CN112932225B (en) | Intelligent awakening pillow and awakening method based on intelligent awakening pillow | |
CN106658178A (en) | Display control device and display control method | |
CN109924948A (en) | A kind of intelligent pillow control method and system | |
CN109982737B (en) | Output control device, output control method, and program | |
JP2023502402A (en) | Systems and methods for waking users with stimuli of varying intensity | |
WO2024007639A1 (en) | Method and apparatus for auxiliary learning by means of air conditioner, air conditioner and storage medium | |
JP2006043304A (en) | Sleep cycle controlling apparatus and program | |
CN108245762A (en) | A kind of awakening method and Rouser | |
CN108399061A (en) | The control method and system of playout of voice |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |