CN112416285A - Intelligent earphone playing method, intelligent earphone and storage medium - Google Patents

Intelligent earphone playing method, intelligent earphone and storage medium Download PDF

Info

Publication number
CN112416285A
CN112416285A CN201910770652.6A CN201910770652A CN112416285A CN 112416285 A CN112416285 A CN 112416285A CN 201910770652 A CN201910770652 A CN 201910770652A CN 112416285 A CN112416285 A CN 112416285A
Authority
CN
China
Prior art keywords
user
state
value
heart rate
preset
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.)
Pending
Application number
CN201910770652.6A
Other languages
Chinese (zh)
Inventor
方晓伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201910770652.6A priority Critical patent/CN112416285A/en
Publication of CN112416285A publication Critical patent/CN112416285A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/011Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The invention discloses an intelligent earphone playing method, an intelligent earphone and a storage medium, wherein the method comprises the following steps: acquiring a physiological characteristic value of a user and an environment state of the user, wherein the physiological characteristic value comprises a first heart rate value of the user; acquiring a first state of the user according to the physiological characteristic value and the environment state; and searching first music corresponding to the first state in a preset storage library according to the first state of the user and playing the first music. The first state of the user is obtained by obtaining the physiological characteristic value and the environment state of the user, and then the first music playing corresponding to the first state is searched, so that manual operation of the user is not needed to be paused, the user is facilitated, and the playing of the intelligent earphone is automatically adjusted.

Description

Intelligent earphone playing method, intelligent earphone and storage medium
Technical Field
The present invention relates to the field of intelligent electronic devices, and in particular, to an intelligent headphone playing method, an intelligent headphone, and a storage medium.
Background
With the improvement of living standard, more and more people choose to listen to songs during leisure activities such as physical exercise, walking and shopping, and the like, which is helpful for people to relax physical or psychological pressure. More and more people listen to songs, the demand for the worn earphones is higher and higher. When music is switched or volume is adjusted according to the current environment, people are required to pause to perform manual operation, and the music playing device is not convenient enough.
Disclosure of Invention
The invention mainly aims to provide an intelligent earphone playing method, an intelligent earphone and a storage medium, and aims to solve the problem of how to adjust the playing of the earphone.
The invention provides an intelligent earphone playing method, which comprises the following steps:
acquiring a physiological characteristic value of a user and an environment state of the user, wherein the physiological characteristic value comprises a first heart rate value of the user;
acquiring a first state of the user according to the physiological characteristic value and the environment state;
and searching first music corresponding to the first state in a preset storage library according to the first state of the user and playing the first music.
Further, the step of obtaining the physiological characteristic value of the user and the environmental state of the user is preceded by the steps of:
judging whether the user wears the mobile phone or not;
if the user wears the mobile phone, the step of acquiring the physiological characteristic value of the user and the environmental state of the user is carried out; if not, sending out the reminding information of not wearing.
Further, the environment state comprises a decibel value of an external environment where the user is located;
after the step of searching for the first music corresponding to the first state in the preset storage library and playing the first music, the method includes:
and adjusting the playing volume corresponding to the decibel value according to the decibel value of the external environment where the user is located.
Further, after the step of searching for the first music corresponding to the first state in a preset repository and playing the first music according to the first state of the user, the method further includes:
after a preset time, acquiring a current second heart rate value of the user, comparing the second heart rate value with the first heart rate value, and judging whether the second heart rate value is reduced relative to the first heart rate value;
if so, acquiring a heart rate difference value of the user drop, and judging whether the heart rate difference value is greater than a preset drop value;
and if the first music is smaller than or equal to the preset drop value, continuing to play the first music.
Further, after the step of determining whether the heart rate difference value is greater than a preset drop value, the method further includes:
if the current environmental state is larger than the preset drop value, acquiring a first environmental state of the user;
acquiring a second state of the user according to the second heart rate value and the first environment state;
and searching a second music corresponding to the second state in a preset storage library according to the second state of the user and playing the second music.
Further, the environment state comprises a video image of the environment where the user is located, which is collected by the smart headset;
the step of obtaining the first state of the user according to the physiological characteristic value and the environmental state includes:
judging whether the user moves according to the video image of the environment where the user is located;
if yes, judging whether the first heart rate value exceeds a preset motion value or not;
and if the first state exceeds the first state, judging that the first state of the user is a violent motion state.
Further, the physiological characteristic value also comprises a blood pressure value and a body temperature value;
the step of obtaining the first state of the user according to the physiological characteristic value and the environmental state includes:
judging whether the blood pressure value is within a preset blood pressure value range or not, and judging whether the body temperature value is within a preset body temperature value range or not;
if yes, state values respectively corresponding to the blood pressure value, the body temperature value and the first heart rate value are obtained, and the first state of the user is obtained through the corresponding state values.
Further, the environmental state comprises a geographic location;
the step of obtaining the first state of the user according to the physiological characteristic value and the environmental state includes:
judging whether the physiological characteristic value of the user is within a preset physiological threshold value corresponding to the geographic position;
if yes, acquiring the first state of the user according to the physiological characteristic value and the geographic position.
The present application further provides an intelligent headset, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the above.
The intelligent earphone playing method, the intelligent earphone and the storage medium have the advantages that the first state of the user is obtained by obtaining the physiological characteristic value and the environment state of the user, the first music corresponding to the first state is searched and played, manual operation is not needed when the user pauses, the user is facilitated, and playing of the intelligent earphone is automatically adjusted.
Drawings
Fig. 1 is a schematic diagram illustrating steps of a smart headset playing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram after step S3 of the smart headset playing method in the embodiment of the present invention;
fig. 3 is a schematic diagram of step S2 of the smart headset playing method according to the embodiment of the present invention;
fig. 4 is a block diagram schematically illustrating the structure of the smart headset according to the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, the method for playing an intelligent headphone according to the present invention includes:
step S1, acquiring a physiological characteristic value of a user and an environment state where the user is located, wherein the physiological characteristic value comprises a first heart rate value of the user;
step S2, acquiring a first state of the user according to the physiological characteristic value and the environmental state;
step S3, according to the first state of the user, searching a preset repository for a first music corresponding to the first state and playing the first music.
The method is applied to the intelligent earphone, the physiological characteristics of the user are detected through the intelligent earphone, the corresponding physiological characteristic value of the user is obtained, so that the physiological state of the user is obtained, specifically, the physiological characteristic value comprises a heart rate value of the user, and a first heart rate value of the user is obtained through detection; the environment state comprises an external decibel value of the environment where the user is located, the geographical position where the user is located, a video image of the environment where the user is located and the like; according to the acquired first heart rate value of the user and the external environment where the user is located, searching a first state corresponding to the user at present from a preset list, and further acquiring the first state where the user is located; according to the current first state, searching first music corresponding to the first state from a preset storage library and playing the first music for the user to enjoy, so that the music corresponding to the first state is intelligently selected, and the effects of relieving, relaxing and soothing the mood of the user or stimulating the state of the user are achieved.
In this embodiment, a correspondence table of the environmental status, the heart rate value, and the mood status is preset, and the correspondence table is stored in the database as a preset mood table. And acquiring the mood state corresponding to the user from a preset mood table in a storage library as the first state of the user according to the acquired environment state of the user and the first heart rate value. In other embodiments, the physiological characteristic value of the user may include not only the current heart rate of the detected user, but also other physiological characteristics of the user, such as the current blood pressure of the user, the body temperature of the user, the blood flow speed of the user, and the like, and the first state corresponding to the user is searched in the preset corresponding table according to the obtained characteristic value, so as to determine the current first state of the user, and then the first music corresponding to the first state is searched in the preset storage library and played.
In an embodiment, the step S1 of obtaining the physiological characteristic value of the user and the environmental status of the user is preceded by the steps of:
step S101, judging whether the user wears the mobile phone;
step S102, if the user wears the device, the step of acquiring the physiological characteristic value of the user and the environmental state of the primary user is carried out; if not, sending out the reminding information of not wearing.
In the above steps, the intelligent earphone detects the heart rate beat of the user in real time, when the user wears the intelligent earphone, the intelligent earphone can detect the heart rate of the user and generate a heart rate value, the state that the user wears the intelligent earphone is identified by the intelligent earphone, the first state of the user can be obtained according to the detected data, and then the song corresponding to the first state is searched from the preset storage library to be played. If the user wears the intelligent earphone but the intelligent earphone cannot detect the heart rate of the user, the intelligent earphone is identified as not worn, and at the moment, the intelligent earphone cannot play any song; or in the process of detecting the heart rate of the user in real time by the intelligent earphone, if the heart rate of the user cannot be detected, the state that the user is not worn (including the state that the user takes down) is identified, and the song playing is paused.
After the step S3 of searching the preset storage library for the first music corresponding to the first state and playing the first music, the method includes:
and step S4, adjusting the playing volume corresponding to the decibel value according to the decibel value of the external environment where the user is located.
In this embodiment, the volume of the smart headset may be correspondingly adjusted according to the obtained decibel value of the external environment, wherein the preset decibel value and the volume may be set to be stored in the repository in a corresponding relationship. The decibel categories include: 0dB is the weakest sound that a person can just hear; 30 dB-40 dB is a more ideal quiet environment; more than 50dB can affect rest and sleep; over 70dB can affect learning and work; hearing is affected by more than 90 dB; if the leaf jogging is 10dB, the normal speaking is 40-50dB, the loud shouting is 70-80dB, the automobile horn is 90dB, and the airplane engine is 120-130 dB.
In this embodiment, a table of a corresponding relationship between the decibel value and the playing volume is preset, that is, the playing volume corresponding to the decibel value is preset in advance according to the magnitude of the decibel value of each external environment. When the decibel value of the external environment where the user is located is obtained, the playing volume corresponding to the intelligent headset can be obtained from the corresponding relation table. In a specific embodiment, if the decibel value of the external environment where the user is located is 25dB, the corresponding playback volume with the corresponding decibel value of 25dB can be obtained from the correspondence table, and at this time, it is determined that the user is in a quieter environment, and the volume of the smart headset is adjusted to the volume with the decibel value of 25dB corresponding to the external environment.
In other embodiments, if the decibel value obtained from the external environment where the user is located is sent by a plurality of people, the environment is in a multi-person environment state, and if the environment is sent by a market broadcast, a store sale, or the like, which causes a higher decibel value, the environment belongs to a single (single) environment state. The intelligent earphone can further judge the state of the external environment where the user is located by detecting the decibel value of the external environment, and can adjust the playing volume corresponding to the environment state according to the environment state where the user is located. If the fact that the decibel value of the external environment where the user is located belongs to the multiple people is detected, the fact that the user is in a hot environment state is indicated, at the moment, the volume corresponding to the decibel value in the environment states of the multiple people is searched in the storage library, and then the volume of the intelligent headset worn by the user is adjusted. The corresponding relation between the decibel value corresponding to the environment state of a plurality of people and the single environment state and the volume adjustment is different, the fluctuation range of the environment state of the plurality of people and the single environment state is different, and when the environment state of the plurality of people is in the environment state of the plurality of people, the volume adjusted by the intelligent earphone is slightly higher than the decibel value of the external environment; however, if the smart headset is in a single environment state, the volume adjusted by the smart headset is slightly lower than or equal to the decibel value of the external environment.
In this embodiment, after the decibel value of the external environment where the user is located is obtained, the decibel value of the external environment where the user is located is obtained again at a preset specified time, if the obtained decibel values of the external environment obtained twice are different, if it is detected that the user enters an environment state with a lower decibel value from an environment state with a higher decibel value, according to the detected environment state of the decibel value where the user is located, the playing volume corresponding to the decibel value of the external environment is searched again from the corresponding relationship table in the repository, so that the sound of the smart headset is correspondingly adjusted, the user can listen to music more comfortably, and the eardrum of the user is reduced to the lowest damage.
In the invention, the detected first heart rate of the user and the obtained decibel value of the external environment are combined, so that the mood state of the first heart rate of the user in the corresponding specific environment state is judged, whether the user is in a fidgety mood state or a calm mood state is further judged, the first state of the user is further confirmed, and first music corresponding to the first state is searched in a preset storage library and played according to the first state.
Referring to fig. 2, in an embodiment, after the step S3 of searching for the first music corresponding to the first state in the preset repository and playing the first music according to the first state of the user, the method further includes:
step S301, after a preset time, acquiring a current second heart rate value of the user, comparing the second heart rate value with the first heart rate value, and judging whether the second heart rate value is reduced relative to the first heart rate value;
step S302, if the heart rate is decreased, acquiring a heart rate difference value decreased by a user, and judging whether the heart rate difference value is larger than a preset decrease value;
in step S303, if the value is less than or equal to the preset drop value, the first music is continuously played.
In the above steps, the smart headset detects the heart rate of the user wearing the smart headset in real time to obtain a real-time heart rate value, after a preset time, obtains a current second heart rate value of the user, compares the second heart rate value with the first heart rate value to judge whether the second heart rate value is reduced relative to the first heart rate value, if the second heart rate value is reduced, obtains a heart rate difference value reduced by the user wearing the smart headset, judges whether the heart rate difference value is larger than a preset reduction value, if the reduced heart rate difference value is smaller than or equal to the preset reduction value, continuously plays the smart headset with the first music, compares the smart headset with the first heart rate value corresponding to the first music after detecting a new second heart rate value next time, judges whether the heart rate difference value reduced by the user is larger than the preset reduction value again, if the reduced heart rate difference value is larger than the preset reduction value, searches for a second music corresponding to the detected new heart rate value to play the smart headset, and the new heart rate value corresponding to the detected second music is taken as the first heart rate value for comparison.
In an embodiment, after the step S302 of determining whether the heart rate difference value is greater than the preset drop value, the method further includes:
step S311, if the current environmental condition is greater than the preset drop value, acquiring a current first environmental condition of the user;
step S312, acquiring a second state of the user according to the second heart rate value and the first environment state;
step S313, according to the second state of the user, searching for and playing second music corresponding to the second state in the preset repository.
In the above steps, after the heart rate difference value is obtained and the heart rate difference value is greater than the preset drop value, it indicates that the heart rate of the user is gradually gentle, at this time, the first environmental state where the user is currently located is obtained, the second state where the user is located is obtained again according to the second heart rate value and the first environmental state, the second music corresponding to the second state is searched in the preset storage library, after the user plays the current song, the user directly jumps and plays the second music, the mood of the user for listening to the music cannot be interrupted, and the connection is seamless.
Referring to fig. 3, in one embodiment, the environment status includes video images of the environment where the user is located captured by the smart headset;
after the step S2 of obtaining the first state of the user according to the physiological characteristic value and the environmental state, the method further includes:
step S201, judging whether the user moves according to the video image of the environment where the user is located;
step S202, if yes, judging whether the first heart rate value exceeds a preset motion heart rate value;
in step S203, if the user is in the first state, it is determined that the user is in the strenuous exercise state.
In the above steps, a camera for acquiring video images of an environment around the user is arranged on the smart headset, whether the user is in motion is judged according to the acquired video images of the environment where the user is located, if the user is in motion, whether a first heart rate value of the user in the motion state exceeds a preset motion heart rate value is judged, if the first heart rate value exceeds the preset motion heart rate value, the first state where the user is located is judged to be a violent motion state, wherein the motion heart rate value is preset in advance, if the motion heart rate value is higher than 100 times/minute, the user is judged to be in the violent motion state, and a first song corresponding to the first state of the user can be searched from a preset storage table in combination with the environment state where the user is located and the first heart rate value.
In a specific embodiment, if the video image acquired by the smart headset is a road scene, whether the user is a street run (running along the street) is further determined according to the interval of the acquired image frames, if the user is in a running state, the first state of the user is acquired according to the first heart rate and the state of the environment of the user, and if the first state is an easy motion state, the easy song corresponding to the state is correspondingly searched from the preset storage library for playing.
In another specific embodiment, if the video image acquired by the smart headset is a gymnasium, it may be determined that the user is in a motion state, and the first state of the user is further acquired according to the acquired first heart rate of the user and a decibel value of the gymnasium, and if the first state is an easy motion state, an easy song corresponding to the state is correspondingly searched from a preset storage library to be played.
In one embodiment, the physiological characteristic value further includes a blood pressure value and a body temperature value;
after the step S2 of obtaining the first state of the user according to the physiological characteristic value and the environmental state, the method further includes:
step S211, judging whether the blood pressure value is within a preset blood pressure value range and whether the body temperature value is within a preset body temperature value range;
in step S212, if yes, state values corresponding to the blood pressure value, the body temperature value, and the first heart rate value are obtained, and the first state of the user is obtained according to the corresponding state values.
In the above steps, the physiological characteristic value obtained by the intelligent earphone further includes a blood pressure value and a body temperature value, and whether the obtained blood pressure value is within a preset blood pressure value range and whether the body temperature value is within a preset body temperature value range are judged; if the over-body temperature value exceeds the preset temperature value range, the body temperature of the user is possibly abnormal, and the intelligent earphone can automatically send out an alarm warning so that the user can notice the self body condition; if the blood pressure value of the user is too high and exceeds the preset temperature value range, diseases in the aspect of blood pressure can occur, the intelligent earphone can automatically send out an alarm, so that the user can notice the physical condition of the user; if the blood pressure value is within the preset blood pressure value range and the body temperature value is within the preset body temperature value range, state values corresponding to the blood pressure value, the body temperature value and the first heart rate value are obtained respectively, a first state where a user matched with the user is located is searched in a preset state table according to the corresponding state values, and the first state where the user is located is confirmed more accurately, so that the song is pushed to be closer to the state of the user.
In one embodiment, the environmental state includes a geographic location;
after the step S2 of obtaining the first state of the user according to the physiological characteristic value and the environmental state, the method includes:
step S221, judging whether the physiological characteristic value of the user is within a preset physiological threshold value corresponding to the geographic position;
in step S222, if yes, the first state of the user is obtained according to the physiological characteristic value and the geographic location.
In the above steps, the smart headset is provided with a positioning system for acquiring the geographical position of the user, and by acquiring the geographical position of the worn user, such as acquiring that the geographical position of the user is in a bookstore, a vehicle or a shopping mall, wherein each type of geographical position is provided with a corresponding preset physiological threshold, if the geographical position is specified, after acquiring the physiological characteristic value of the user, it is determined whether the physiological characteristic value of the user is within the corresponding preset physiological threshold or not under the specified geographical position, if the physiological characteristic value is within the preset physiological threshold, it indicates that the user is in a normal state, and the first state of the user is acquired according to the physiological characteristic value and the geographical position.
In a specific embodiment, the state of the user is judged according to the combination of the first heart rate of the user and the external environment where the user is located, if the user is in a quiet coffee hall, and the first heart rate of the user is obtained to be 60-80 times/min, the stationary time of the user can be obtained, the mood of the user is judged to be flat, the mood of the user is obtained to be a relaxed state, and a song group corresponding to the relaxed state is selected to maintain the mood of the user.
According to the intelligent earphone playing method, the physiological characteristic value and the environment state of the user are obtained to obtain the first state of the user, then the first music playing corresponding to the first state is searched, manual operation is not needed when the user pauses, the user is facilitated, and the playing of the intelligent earphone is automatically adjusted.
Referring to fig. 4, an embodiment of the present application further provides a smart headset, where an internal structure of the smart headset may be as shown in fig. 4. The intelligent headset comprises a processor, a memory, a network interface and a database which are connected through a system bus. Wherein the processor of the smart headset design is configured to provide computing and control capabilities. The memory of the intelligent headset comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the intelligent headset is used for storing data such as first music and second music. The network interface of the intelligent earphone is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a smart headset playing method.
The processor executes the steps of the intelligent earphone playing method:
acquiring a physiological characteristic value of a user and an environment state of the user, wherein the physiological characteristic value comprises a first heart rate value of the user;
acquiring a first state of the user according to the physiological characteristic value and the environment state;
and searching first music corresponding to the first state in a preset storage library according to the first state of the user and playing the first music.
In one embodiment, the step of acquiring the physiological characteristic value of the user and the environmental state of the user by the processor is preceded by the steps of:
judging whether the user wears the mobile phone or not;
if the user wears the mobile phone, the step of acquiring the physiological characteristic value of the user and the environmental state of the user is carried out; if not, sending out the reminding information of not wearing.
In one embodiment, the environmental status includes a decibel value of an external environment where the user is located;
after the step of searching for the first music corresponding to the first state in a preset storage library and playing the first music, the processor includes:
and adjusting the playing volume corresponding to the decibel value according to the decibel value of the external environment where the user is located.
In an embodiment, after the step of searching, by the processor, a preset storage library for first music corresponding to the first state according to the first state of the user and playing the first music, the method further includes:
after a preset time, acquiring a current second heart rate value of the user, comparing the second heart rate value with the first heart rate value, and judging whether the second heart rate value is reduced relative to the first heart rate value;
if so, acquiring a heart rate difference value of the user drop, and judging whether the heart rate difference value is greater than a preset drop value;
and if the first music is smaller than or equal to the preset drop value, continuing to play the first music.
In an embodiment, after the step of determining whether the heart rate difference value is greater than a preset drop value, the method further includes:
if the current environmental state is larger than the preset drop value, acquiring a first environmental state of the user;
acquiring a second state of the user according to the second heart rate value and the first environment state;
and searching a second music corresponding to the second state in a preset storage library according to the second state of the user and playing the second music.
In one embodiment, the environment state includes a video image of the environment where the user is located captured by the smart headset;
the processor obtains a first state of the user according to the physiological characteristic value and the environment state, and the method comprises the following steps:
judging whether the user moves according to the video image of the environment where the user is located;
if yes, judging whether the first heart rate value exceeds a preset motion value or not;
and if the first state exceeds the first state, judging that the first state of the user is a violent motion state.
In one embodiment, the physiological characteristic value further includes a blood pressure value and a body temperature value;
the processor obtains a first state of the user according to the physiological characteristic value and the environment state, and the method comprises the following steps:
judging whether the blood pressure value is within a preset blood pressure value range or not, and judging whether the body temperature value is within a preset body temperature value range or not;
if yes, state values respectively corresponding to the blood pressure value, the body temperature value and the first heart rate value are obtained, and the first state of the user is obtained through the corresponding state values.
In an embodiment, the environmental state comprises a geographic location;
the processor obtains a first state of the user according to the physiological characteristic value and the environment state, and the method comprises the following steps:
judging whether the physiological characteristic value of the user is within a preset physiological threshold value corresponding to the geographic position;
if yes, acquiring the first state of the user according to the physiological characteristic value and the geographic position.
It will be understood by those skilled in the art that the structure shown in fig. 4 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the above-mentioned smart headset to which the present application is applied.
An embodiment of the present application further provides a computer storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for playing an intelligent headphone is implemented, where the computer program specifically includes:
acquiring a physiological characteristic value of a user and an environment state of the user, wherein the physiological characteristic value comprises a first heart rate value of the user;
acquiring a first state of the user according to the physiological characteristic value and the environment state;
and searching first music corresponding to the first state in a preset storage library according to the first state of the user and playing the first music.
In one embodiment, the step of acquiring the physiological characteristic value of the user and the environmental state of the user by the processor is preceded by the steps of:
judging whether the user wears the mobile phone or not;
if the user wears the mobile phone, the step of acquiring the physiological characteristic value of the user and the environmental state of the user is carried out; if not, sending out the reminding information of not wearing.
In one embodiment, the environmental status includes a decibel value of an external environment where the user is located;
after the step of searching for the first music corresponding to the first state in a preset storage library and playing the first music, the processor includes:
and adjusting the playing volume corresponding to the decibel value according to the decibel value of the external environment where the user is located.
In an embodiment, after the step of searching, by the processor, a preset storage according to the first state of the user for first music corresponding to the first state and playing the first music, the method further includes:
after a preset time, acquiring a current second heart rate value of the user, comparing the second heart rate value with the first heart rate value, and judging whether the second heart rate value is reduced relative to the first heart rate value;
if so, acquiring a heart rate difference value of the user drop, and judging whether the heart rate difference value is greater than a preset drop value;
and if the first music is smaller than or equal to the preset drop value, continuing to play the first music.
In an embodiment, after the step of determining whether the heart rate difference value is greater than a preset drop value, the method further includes:
if the current environmental state is larger than the preset drop value, acquiring a first environmental state of the user;
acquiring a second state of the user according to the second heart rate value and the first environment state;
and searching a second music corresponding to the second state in a preset storage library according to the second state of the user and playing the second music.
In one embodiment, the environment state includes a video image of the environment where the user is located captured by the smart headset;
the processor obtains a first state of the user according to the physiological characteristic value and the environment state, and the method comprises the following steps:
judging whether the user moves according to the video image of the environment where the user is located;
if yes, judging whether the first heart rate value exceeds a preset motion value or not;
and if the first state exceeds the first state, judging that the first state of the user is a violent motion state.
In one embodiment, the physiological characteristic value further includes a blood pressure value and a body temperature value;
the processor obtains a first state of the user according to the physiological characteristic value and the environment state, and the method comprises the following steps:
judging whether the blood pressure value is within a preset blood pressure value range or not, and judging whether the body temperature value is within a preset body temperature value range or not;
if yes, state values respectively corresponding to the blood pressure value, the body temperature value and the first heart rate value are obtained, and the first state of the user is obtained through the corresponding state values.
In an embodiment, the environmental state comprises a geographic location;
the processor obtains a first state of the user according to the physiological characteristic value and the environment state, and the method comprises the following steps:
judging whether the physiological characteristic value of the user is within a preset physiological threshold value corresponding to the geographic position;
if yes, acquiring the first state of the user according to the physiological characteristic value and the geographic position.
In summary, according to the method for playing the smart headset, the smart headset and the storage medium provided in the embodiment of the present application, the physiological characteristic value and the environmental state of the user are obtained to obtain the first state of the user, and then the first music playing corresponding to the first state is searched for, so that the user does not need to pause the manual operation, the user is facilitated, and the playing of the smart headset is automatically adjusted.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by the smart headset to instruct the associated hardware, and the computer program can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An intelligent earphone playing method is characterized by comprising the following steps:
acquiring a physiological characteristic value of a user and an environment state of the user, wherein the physiological characteristic value comprises a first heart rate value of the user;
acquiring a first state of the user according to the physiological characteristic value and the environment state;
and searching first music corresponding to the first state in a preset storage library according to the first state of the user and playing the first music.
2. The smart headset playing method according to claim 1, wherein the step of obtaining the physiological characteristic value of the user and the environmental status of the user is preceded by:
judging whether the user wears the mobile phone or not;
if the user wears the mobile phone, the step of acquiring the physiological characteristic value of the user and the environmental state of the user is carried out; if not, sending out the reminding information of not wearing.
3. The smart headset playing method according to claim 1, wherein the environment status includes a decibel value of an external environment where the user is located;
after the step of searching for the first music corresponding to the first state in the preset storage library and playing the first music, the method includes:
and adjusting the playing volume corresponding to the decibel value according to the decibel value of the external environment where the user is located.
4. The method for playing smart headphones as recited in claim 1, wherein after the steps of searching for the first music corresponding to the first status in a preset repository and playing the first music according to the first status of the user, the method further comprises:
after a preset time, acquiring a current second heart rate value of the user, comparing the second heart rate value with the first heart rate value, and judging whether the second heart rate value is reduced relative to the first heart rate value;
if so, acquiring a heart rate difference value of the user drop, and judging whether the heart rate difference value is greater than a preset drop value;
and if the first music is smaller than or equal to the preset drop value, continuing to play the first music.
5. The method for playing smart headphones as recited in claim 4, further comprising, after the step of determining whether the heart rate difference value is greater than a preset drop value:
if the current environmental state is larger than the preset drop value, acquiring a first environmental state of the user;
acquiring a second state of the user according to the second heart rate value and the first environment state;
and searching a second music corresponding to the second state in a preset storage library according to the second state of the user and playing the second music.
6. The smart headset playing method according to claim 1, wherein the environment state includes a video image of an environment where the user is located, captured by the smart headset;
the step of obtaining the first state of the user according to the physiological characteristic value and the environmental state includes:
judging whether the user moves according to the video image of the environment where the user is located;
if yes, judging whether the first heart rate value exceeds a preset motion value or not;
and if the first state exceeds the first state, judging that the first state of the user is a violent motion state.
7. The smart headset playing method according to claim 1, wherein the physiological characteristic values further include a blood pressure value and a body temperature value;
the step of obtaining the first state of the user according to the physiological characteristic value and the environmental state includes:
judging whether the blood pressure value is within a preset blood pressure value range or not, and judging whether the body temperature value is within a preset body temperature value range or not;
if yes, state values respectively corresponding to the blood pressure value, the body temperature value and the first heart rate value are obtained, and the first state of the user is obtained through the corresponding state values.
8. The smart headset playing method of claim 1, wherein the environmental status includes a geographic location;
the step of obtaining the first state of the user according to the physiological characteristic value and the environmental state includes:
judging whether the physiological characteristic value of the user is within a preset physiological threshold value corresponding to the geographic position;
if yes, acquiring the first state of the user according to the physiological characteristic value and the geographic position.
9. An intelligent headset comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 8.
10. A computer storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN201910770652.6A 2019-08-20 2019-08-20 Intelligent earphone playing method, intelligent earphone and storage medium Pending CN112416285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910770652.6A CN112416285A (en) 2019-08-20 2019-08-20 Intelligent earphone playing method, intelligent earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910770652.6A CN112416285A (en) 2019-08-20 2019-08-20 Intelligent earphone playing method, intelligent earphone and storage medium

Publications (1)

Publication Number Publication Date
CN112416285A true CN112416285A (en) 2021-02-26

Family

ID=74779045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910770652.6A Pending CN112416285A (en) 2019-08-20 2019-08-20 Intelligent earphone playing method, intelligent earphone and storage medium

Country Status (1)

Country Link
CN (1) CN112416285A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445459A (en) * 2016-10-12 2017-02-22 深圳市金立通信设备有限公司 Method for controlling audio playing of earphones and terminal
CN106791109A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of sound prompting method and mobile terminal
US20180014107A1 (en) * 2016-07-06 2018-01-11 Bragi GmbH Selective Sound Field Environment Processing System and Method
CN108429972A (en) * 2018-05-28 2018-08-21 Oppo广东移动通信有限公司 Method for playing music, device, terminal, earphone and readable storage medium storing program for executing
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180014107A1 (en) * 2016-07-06 2018-01-11 Bragi GmbH Selective Sound Field Environment Processing System and Method
CN106445459A (en) * 2016-10-12 2017-02-22 深圳市金立通信设备有限公司 Method for controlling audio playing of earphones and terminal
CN106791109A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of sound prompting method and mobile terminal
CN108429972A (en) * 2018-05-28 2018-08-21 Oppo广东移动通信有限公司 Method for playing music, device, terminal, earphone and readable storage medium storing program for executing
CN109765784A (en) * 2019-01-11 2019-05-17 深圳市迷购网络科技有限公司 Headset control method, earphone and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10521512B2 (en) Dynamic text-to-speech response from a smart speaker
EP3537726B1 (en) Controlling perceived ambient sounds based on focus level
US20150373474A1 (en) Augmented reality sound system
WO2019084214A1 (en) Separating and recombining audio for intelligibility and comfort
US20210019110A1 (en) Volume adjustment method, terminal device, storage medium and electronic device
US9851705B2 (en) Terminal apparatus and method for controlling terminal apparatus
US20150258301A1 (en) Sleep state management by selecting and presenting audio content
WO2021159369A1 (en) Hearing aid method and apparatus for noise reduction, chip, earphone and storage medium
CN108369805A (en) Voice interaction method and device and intelligent terminal
WO2018180024A1 (en) Information processing device, information processing method, and program
CN109413537A (en) Audio signal playback method, device and earphone
CN113840211A (en) Method and device for automatically adjusting volume of Bluetooth headset and Bluetooth headset
CN108900951A (en) Volume adjusting method, earphone and computer readable storage medium
CN110827863A (en) Method, device and terminal for intelligently adjusting volume and readable storage medium
US11282492B2 (en) Smart-safe masking and alerting system
US20200389740A1 (en) Contextual guidance for hearing aid
CN113038337A (en) Audio playing method, wireless earphone and computer readable storage medium
CN107205193B (en) A kind of control method for playing back, earphone and smart machine
CN107609371B (en) Message prompting method and audio playing device
CN112689219A (en) Method, apparatus, wireless headset and computer readable storage medium for managing sleep
CN112416285A (en) Intelligent earphone playing method, intelligent earphone and storage medium
CN107426437A (en) A kind of alarm clock prompting method and device
CN108834015B (en) Earphone and volume adjusting method and device thereof
US10805710B2 (en) Acoustic device and acoustic processing method
CN112765395B (en) Audio playing method, electronic device and storage medium

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