WO2023115600A1 - Method and apparatus for dynamically adjusting volume of intelligent wearable device and intelligent wearable device - Google Patents

Method and apparatus for dynamically adjusting volume of intelligent wearable device and intelligent wearable device Download PDF

Info

Publication number
WO2023115600A1
WO2023115600A1 PCT/CN2021/141605 CN2021141605W WO2023115600A1 WO 2023115600 A1 WO2023115600 A1 WO 2023115600A1 CN 2021141605 W CN2021141605 W CN 2021141605W WO 2023115600 A1 WO2023115600 A1 WO 2023115600A1
Authority
WO
WIPO (PCT)
Prior art keywords
heart rate
wearer
power amplifier
amplifier gain
preset
Prior art date
Application number
PCT/CN2021/141605
Other languages
French (fr)
Chinese (zh)
Inventor
杨晴
Original Assignee
歌尔股份有限公司
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 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Publication of WO2023115600A1 publication Critical patent/WO2023115600A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the invention relates to the technical field of smart wearables, in particular to a method and device for dynamically adjusting the volume of smart wearable devices and smart wearable devices.
  • the main purpose of the present invention is to provide a method and device for dynamically adjusting the volume of a smart wearable device and a smart wearable device, which are used to solve the problem that the existing volume adjustment method requires the manual participation of the wearer and cannot dynamically adjust the volume in real time.
  • Technical issues that result in a poor user experience are used to provide a method and device for dynamically adjusting the volume of a smart wearable device and a smart wearable device, which are used to solve the problem that the existing volume adjustment method requires the manual participation of the wearer and cannot dynamically adjust the volume in real time.
  • a method for dynamically adjusting the volume of a smart wearable device including:
  • a device for dynamically adjusting the volume of a smart wearable device including:
  • the average heart rate acquisition unit is used to obtain the average heart rate of the wearer
  • a heart rate state determination unit configured to determine the wearer's current heart rate state according to the wearer's average heart rate
  • the power amplifier gain adjustment unit is used to adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
  • a smart wearable device including: a heart rate measurement module, a speaker, a main control module and a memory,
  • the heart rate measurement module is used to monitor the wearer's heart rate in real time and collect the wearer's real-time heart rate value;
  • the speaker is used to play music
  • Computer program instructions are stored in the memory, and the computer program instructions are loaded and executed by the main control module to realize the aforementioned method for dynamically adjusting the volume of the smart wearable device.
  • a computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the aforementioned intelligent A method for dynamically adjusting the volume of a wearable device.
  • the method and device for dynamically adjusting the volume of the smart wearable device and the smart wearable device according to the embodiments of the present invention can adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, and realize the dynamic adjustment of the volume of the smart wearable device. Compared with the traditional method of volume adjustment by touching the screen button or adjusting the physical button, it can dynamically adjust the volume in real time without the need for the wearer to participate manually. Use experience.
  • the wearer's heart rate average is used instead of the real-time heart rate value to determine the wearer's current heart rate state.
  • the heart rate average value smoothes heart rate fluctuations, even if the wearer has a sudden change in the heart rate value, it may not trigger the wearer's heart rate.
  • the change of the current heart rate state reduces the frequent adjustment of the volume of the smart wearable device and avoids misoperation.
  • Fig. 1 is a schematic flowchart of a method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention
  • FIG. 3 is a block diagram of a device for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention
  • Fig. 4 is a schematic structural diagram of a smart wearable device provided by an embodiment of the present invention.
  • Smart wearable device is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as watches, bracelets, glasses, clothing, etc.
  • wearable devices such as watches, bracelets, glasses, clothing, etc.
  • a smart watch will be described below as a specific application example of a smart wearable device.
  • Fig. 1 is a schematic flowchart of a method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention.
  • the method of the embodiment of the present invention includes the following steps S110 to S130:
  • Step S110 acquiring the average heart rate of the wearer.
  • this step may specifically be: using the heart rate measurement module of the smart wearable device to monitor the wearer's heart rate in real time, collecting the wearer's real-time heart rate value; calculating the wearer's real-time heart rate value within a preset time period Average, as the average of the wearer's heart rate.
  • Smart wearable devices can monitor changes in body data in real time by configuring one or more physiological data measurement modules, allowing people to have a deeper understanding of their physical conditions, and make timely arrangements and adjustments to improve their health.
  • the wearer's heart rate can be monitored in real time, and the real-time heart rate value of the wearer can be reported to the main control module of the smart watch in real time. Averaged over a period of time, eg 1 minute, an average of the wearer's heart rate is obtained.
  • the calculated average heart rate is also real-time.
  • the obtained average heart rate is an average value of real-time heart rate values within a preset time period, so compared with real-time heart rate values, heart rate fluctuations can be smoothed.
  • the wearer has a drastic change in the instantaneous heart rate value, the average heart rate does not change too much.
  • Step S120 determine the wearer's current heart rate state according to the wearer's average heart rate.
  • the wearer's heart rate state may include a rest state, an exercise state, a dangerous state, and the like.
  • the embodiment of the present invention is only exemplary to divide the wearer's heart rate state into three states.
  • these three heart rate states can be further divided into finer divisions.
  • the quiet state can be further refined into sleep state and static state
  • the exercise state can be further refined into low-intensity exercise state, medium-intensity exercise state, and high-intensity exercise state.
  • Dangerous states can be further subdivided into low-risk states and high-risk states.
  • the embodiment of the present invention does not limit the division method and number of divisions of the heart rate state.
  • step S120 may specifically be: dividing the wearer's heart rate value data into a plurality of preset heart rate intervals, each preset heart rate interval corresponding to a heart rate state of the wearer; The preset heart rate interval where the average heart rate of the heart rate is located determines the wearer's current heart rate state.
  • a person's heart rate is usually 60-100 beats/min in a quiet state, and 120-180 beats/min in an exercise state. If it exceeds 180 beats/min or is lower than 60 beats/min, it is considered that the heart rate is abnormal and the heart rate is in danger. state.
  • the heart rate range in the exercise state can be set to 100-180 beats per minute.
  • the wearer's heart rate value data can be divided into three preset heart rate intervals: the first preset heart rate interval [60 (inclusive)-100 (inclusive) times/minute], corresponding to the wearer's heart rate interval in a quiet state; the second preset heart rate interval [100 (inclusive)-180 (inclusive) times/minute], corresponding to the wearer's The heart rate interval in the exercise state, the third preset heart rate interval [>180 beats/minute, or ⁇ 60 beats/minute] corresponds to the heart rate interval of the wearer in a dangerous state.
  • the main control module of the smart watch compares the average heart rate of the wearer with the above-mentioned three preset heart rate intervals, and if the average heart rate is in the first preset heart rate interval ], the wearer’s current heart rate state is considered to be in a quiet state; if the average heart rate is within the second preset heart rate interval [100 (inclusive)-180 (inclusive) beats/minute], the wearer’s current heart rate state is considered to be If the average heart rate is in the third preset heart rate interval [>180 beats/minute, or ⁇ 60 beats/minute], the wearer's current heart rate state is considered to be in a dangerous state.
  • the above is just an example of dividing the wearer's entire heart rate value into three preset heart rate intervals, which is the gear division corresponding to the three heart rate states.
  • the wearer can independently define the number of divisions of the heart rate state and independently set the value of each preset heart rate interval.
  • the heart rate state can be divided into five states: quiet state, low-intensity exercise state, medium-intensity exercise state, and high-intensity exercise state
  • the entire heart rate value is also divided into five preset heart rate intervals, and each preset heart rate interval corresponds to a heart rate state of the wearer.
  • the wearer's heart rate state is only divided into three states: a rest state, an exercise state and a dangerous state. It can be understood that whether the heart rate state is divided into three, five or other types, in actual operation, the wearer is judged based on the preset heart rate interval in which the average heart rate of the wearer calculated in real time falls. current heart rate status.
  • Step S130 adjusting the power amplifier gain of the speaker of the smart wearable device according to the current heart rate state of the wearer, so as to realize the dynamic adjustment of the volume of the smart wearable device.
  • "adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state” may specifically be:
  • each preset power amplifier gain interval corresponds to a heart rate state of the wearer; obtain the current power amplifier gain of the speaker, and obtain the preset value corresponding to the wearer's current heart rate state Set the power amplifier gain range; compare the current power amplifier gain of the speaker with the preset power amplifier gain range corresponding to the wearer's current heart rate state, and adjust the power amplifier gain of the speaker to the corresponding range when the current power amplifier gain is not within the preset power amplifier gain range within the preset power amplifier gain range.
  • the embodiment of the present invention needs to test the speaker volume corresponding to different power amplifier gains of the speaker in advance, and then based on the test results, divide the power amplifier gain of the speaker into a plurality of preset power amplifier gain intervals, and each preset power amplifier gain interval corresponds to wearing A heart rate state of the patient. For example, dividing the first preset power amplifier gain interval [A1-A2] corresponds to the appropriate gain of the wearer in a quiet state, and dividing the second preset power amplifier gain interval [B1-B2] corresponds to the appropriate gain of the wearer in a sports state.
  • the acquisition method of the current power amplifier gain can be realized by using various existing technologies.
  • the main control module of the smart wearable device can obtain the current power amplifier gain of the speaker by reading the power amplifier parameters of the speaker.
  • the embodiment of the present invention does not limit the manner of obtaining the gain of the power amplifier.
  • the preset power amplifier gain range corresponding to the wearer's current heart rate state For example, if the wearer's current heart rate state is a static state, it corresponds to the first preset power amplifier gain interval [A1-A2], and if the wearer's current heart rate state is an exercise state, then it corresponds to the second preset power amplifier gain interval [B1-B2].
  • the current power amplifier gain is within the preset power amplifier gain range, then keep the current power amplifier gain of the speaker unchanged; if the current power amplifier gain is not within the preset power amplifier gain range, you need to adjust the current power amplifier gain of the speaker to the preset power amplifier gain range.
  • the adjustment direction also distinguishes two situations: if the current power amplifier gain is lower than the lower limit value of the preset power amplifier gain range, you need to increase the current power amplifier gain until it is within the preset power amplifier gain range; if the current power amplifier gain is higher than the preset power amplifier gain If the upper limit value of the range is lower, the current power amplifier gain needs to be reduced until it is within the preset power amplifier gain range.
  • adjusting the current power amplifier gain of the speaker to the preset power amplifier gain range includes:
  • the first preset duration, the first preset decibel, the second preset duration, and the second preset decibel are all adjustable parameters. How to configure these parameter values can be set by the wearer in combination with his own comfort, or the system default or recommended values can be used.
  • the current power amplifier gain of the speaker and the first preset heart rate corresponding to the quiet state Set the power amplifier gain range [A1-A2] for comparison. If the current power amplifier gain is within the range of [A1-A2], keep the current power amplifier gain of the speaker unchanged. If it is higher than the upper limit of the first preset power amplifier gain range A2 , then gradually reduce the power amplifier gain of the speaker at a rate of 1dB every 10s until it is not greater than A2; The power amplifier gain is not less than A1.
  • the current power amplifier gain of the speaker and the second preset heart rate corresponding to the exercise state Power amplifier gain range [B1-B2] for comparison, if the current power amplifier gain is within the range [B1-B2], keep the current power amplifier gain of the speaker unchanged, if it is higher than the upper limit value B2 of the second preset power amplifier gain range, then Gradually reduce the power amplifier gain of the speaker at a speed of 1dB every 10s until it is not greater than B2; if it is lower than the lower limit value B1 of the second preset power amplifier gain range, gradually increase the power amplifier gain of the speaker at a speed of 1dB every 10s Until not less than B1.
  • the transition of the volume change is natural, which can avoid bad experience for the wearer due to sudden changes in the volume of the loudspeaker caused by instantaneous gain changes.
  • the method of the present invention when it is determined that the current heart rate state of the wearer is in a dangerous state, the method of the present invention further includes: controlling the speaker of the smart wearable device to stop playing music and play a warning sound instead to warn the wearer Pay attention to your heart rate.
  • the average heart rate of the wearer falls into the third preset heart rate range [>180 beats/minute, or ⁇ 60 beats/minute] corresponding to the dangerous state, then stop playing the music and play a warning sound instead. It is used to warn the wearer to pay attention to the heart rate.
  • the warning sound may be a high-volume high-frequency warning sound, or other warning sounds.
  • the way of playing the warning sound in the embodiment of the present invention can give a warning when the wearer's heart rate is abnormal, which enriches product functions and enhances user experience.
  • the method for dynamically adjusting the volume of the smart wearable device can adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, and realize the dynamic adjustment of the volume of the smart wearable device.
  • the volume can be adjusted dynamically in real time without manual participation of the wearer, which enriches the means of volume adjustment, can be applied to more usage scenarios, and greatly improves the user experience.
  • the wearer's heart rate average is used instead of the real-time heart rate value to determine the wearer's current heart rate state.
  • the heart rate average value smoothes heart rate fluctuations, even if the wearer has a sudden change in the heart rate value, it may not trigger the wearer's heart rate.
  • the change of the current heart rate state reduces the frequent adjustment of the volume of the smart wearable device and avoids misoperation.
  • Fig. 2 is a schematic flowchart of another method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention.
  • the method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention includes the following steps:
  • Step S210 collecting the real-time heart rate value of the wearer.
  • the heart rate measurement module configured by the smart wearable device can be used to collect the real-time heart rate value of the wearer.
  • Step S220 acquiring the average heart rate of the wearer. Specifically, the main control module of the smart wearable device calculates the average value per minute of the reported real-time heart rate value to obtain the average heart rate value of the wearer per minute.
  • Step S230 determine the current heart rate state of the wearer? Specifically, the wearer's current heart rate state can be determined according to the preset heart rate interval where the average heart rate of the wearer is located, wherein the wearer's heart rate state includes a resting state, an exercise state and a dangerous state. If the current heart rate state of the wearer is a resting state or an exercise state, proceed to step S240, and if the current heart rate state of the wearer is a dangerous state, proceed to step S250.
  • Step S240 acquiring a preset power amplifier gain interval corresponding to the wearer's current heart rate state.
  • the wearer's current heart rate state is a quiet state, it corresponds to the first preset power amplifier gain interval [A1-A2], and if the wearer's current heart rate state is an exercise state, it corresponds to the second preset power amplifier gain interval [B1 -B2].
  • Step S250 playing a warning sound.
  • the control speaker stops playing music and plays a warning sound instead, which is used to warn the wearer to pay attention to the heart rate situation.
  • the wearer is warned by playing the warning sound, which enriches the product functions and enhances the user experience.
  • Step S260 read the current power amplifier gain of the speaker.
  • step S260 and step S210 can be considered as synchronous.
  • Step S270 determining whether the current power amplifier gain of the speaker is appropriate?
  • the basis for judging is whether the current power amplifier gain of the speaker is within the preset power amplifier gain range corresponding to the wearer’s current heart rate state. Then it is considered that the current power amplifier gain of the loudspeaker is inappropriate, and the process goes to step S290.
  • Step S280 continue to use the current power amplifier gain to play music.
  • the power amplifier gain of the speaker meets the expected gain, the power amplifier gain of the speaker is not adjusted, and the current power amplifier gain of the speaker remains unchanged.
  • Step S290 adjusting the current power amplifier gain of the speaker to the corresponding preset power amplifier gain range, and then playing music with the adjusted power amplifier gain.
  • the way to adjust the current power amplifier gain of the speaker may be: if the current power amplifier gain is higher than the upper limit value of the preset power amplifier gain range, gradually reduce the power amplifier gain of the speaker at a rate of 1dB every 10s until Not greater than the upper limit of the preset power amplifier gain range; if the current power amplifier gain is lower than the lower limit of the preset power amplifier gain range, gradually increase the power amplifier gain of the speaker at a rate of 1dB every 10s until it is not less than the preset power amplifier gain The lower limit of the interval.
  • This way of gradiently changing the gain of the power amplifier, the volume change transition is natural, and it can avoid the sudden change of the gain caused by the sudden change of the speaker volume, which will cause bad experience to the wearer.
  • the method for dynamically adjusting the volume of the smart wearable device provided by the embodiment of the present invention can realize the dynamic adjustment of the volume of the smart wearable device according to the wearer's current heart rate state, compared with the traditional method of adjusting the volume of the smart wearable device by touching the screen buttons or adjusting the physical volume.
  • the button realizes volume adjustment, the whole adjustment process does not require the wearer to participate manually, which saves the wearer from the inconvenience of manually adjusting the volume, enriches the means of volume adjustment, and can also warn the wearer when the heart rate is abnormal, perfecting the product Functions can be applied to more usage scenarios, greatly improving the user experience.
  • an apparatus 300 for dynamically adjusting the volume of a smart wearable device includes: an average heart rate acquisition unit 310 , a heart rate state determination unit 320 , and a power amplifier gain adjustment unit 330 . in,
  • a heart rate average acquisition unit 310 configured to acquire the wearer's average heart rate
  • a heart rate state determination unit 320 configured to determine the wearer's current heart rate state according to the wearer's average heart rate
  • the power amplifier gain adjustment unit 330 is configured to adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
  • the heart rate state determination unit 320 is specifically configured to: divide the wearer's heart rate value data into a plurality of preset heart rate intervals, each preset heart rate interval corresponds to a heart rate state of the wearer; according to The preset heart rate interval where the average heart rate of the wearer is located determines the current heart rate state of the wearer.
  • the power amplifier gain adjustment unit 320 is specifically configured to: divide the power amplifier gain of the speaker into multiple preset power amplifier gain intervals, each preset power amplifier gain interval corresponds to a heart rate state of the wearer; obtain The current power amplifier gain of the speaker, and obtain the preset power amplifier gain range corresponding to the wearer's current heart rate state; compare the current power amplifier gain of the speaker with the preset power amplifier gain range corresponding to the wearer's current heart rate state, and When the power amplifier gain is not within the preset power amplifier gain range, adjust the power amplifier gain of the speaker to be within the preset power amplifier gain range.
  • the power amplifier gain adjustment unit 320 is also configured to: when the current power amplifier gain is not within the preset power amplifier gain range, adjusting the current power amplifier gain of the speaker to the preset power amplifier gain range includes:
  • the first preset duration, the first preset decibel, the second preset duration, and the second preset decibel are all adjustable parameters.
  • the wearer's heart rate state includes a rest state, an exercise state and a dangerous state.
  • the device 300 for dynamically adjusting the volume of the smart wearable device also includes a heart rate prompt module, which is used to control the speaker of the smart wearable device to stop playing music when it is determined that the wearer's current heart rate state is in a dangerous state, and instead play a warning sound to warn the wearer to pay attention Heart rate situation.
  • the average heart rate acquisition unit 310 is used to: use the heart rate measurement module of the smart wearable device to monitor the wearer's heart rate in real time, collect the wearer's real-time heart rate value; calculate the wearer's real-time heart rate value Averaged over a preset period of time as the wearer's heart rate average.
  • the smart wearable device 400 provided by the embodiment of the present invention includes: a heart rate measurement module 410, a speaker 420, a main control module 430 and a memory 440, wherein the heart rate measurement module 410 is used to monitor the wearer's heart rate in real time, collect wearer's The real-time heart rate value of the patient; the loudspeaker 420 is used to play music.
  • the memory 440 may be a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), or may be a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • Computer program instructions are stored in the memory 440, and the computer program instructions are loaded and executed by the main control module 430, so as to implement the aforementioned method for dynamically adjusting the volume of the smart wearable device.
  • the smart wearable device may also optionally include an interface module 450, a communication module 460, and the like.
  • the smart wearable device may also include hardware required by other businesses.
  • Heart rate measurement module 410, loudspeaker 420, main control module 430, memory 440, interface module 450, communication module 460, etc. can be connected to each other by internal bus, and this internal bus can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus or EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one double-headed arrow is used in FIG. 4 , but it does not mean that there is only one bus or one type of bus.
  • the main control module 430 of the smart wearable device can execute the steps of the method for dynamically adjusting the volume of the smart wearable device in FIG. 1 or FIG. 2, and realize the functions of the embodiment shown in FIG. 1 or FIG. repeat.
  • the embodiment of the present invention also proposes a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by the processor, the aforementioned dynamic volume of the smart wearable device can be realized. Adjust method, and specifically for executing:
  • the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) embodying computer program instructions.
  • a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) embodying computer program instructions.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash random access memory
  • Computer-readable media including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information.
  • Information may be computer readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.

Abstract

A method and apparatus for dynamically adjusting the volume of an intelligent wearable device and the intelligent wearable device. The method comprises: obtaining an average heart rate of a wearer (S110); determining the current heart rate state of the wearer according to the average heart rate of the wearer (S120); and adjusting a power amplifier gain of a loudspeaker of an intelligent wearable device according to the current heart rate state of the wearer, such that the dynamic adjustment of the volume of the intelligent wearable device is achieved (S130). The method can dynamically adjust the volume in real time according to the current heart rate state of the wearer without manual participation of the wearer, can enrich the volume adjusting means, can be suitable for more use scenes, and can greatly improve the use experience of a user.

Description

一种智能穿戴设备音量的动态调整方法、装置及智能穿戴设备A method and device for dynamically adjusting the volume of a smart wearable device, and the smart wearable device
本申请要求于2021年12月21日提交中国专利局、申请号为202111573342.9、发明名称为“一种智能穿戴设备音量的动态调整方法、装置及智能穿戴设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on December 21, 2021, with the application number 202111573342.9, and the title of the invention is "a method, device, and smart wearable device for dynamically adjusting the volume of a smart wearable device". The entire contents are incorporated by reference in this application.
技术领域technical field
本发明涉及智能穿戴技术领域,具体涉及一种智能穿戴设备音量的动态调整方法、装置及智能穿戴设备。The invention relates to the technical field of smart wearables, in particular to a method and device for dynamically adjusting the volume of smart wearable devices and smart wearable devices.
背景技术Background technique
如今智能穿戴设备的种类和功能越来越丰富,以智能手表为例,心率监测和音乐播放是必不可少的功能。众所周知,人们在安静休闲的状态下和运动状态下对音乐音量的需求是不同的,安静状态下需要较低的音乐音量,而运动状态下需要较高的音乐音量。目前常见的音量调整方法是通过触摸屏幕按键或者调整物理按键实现的,这种方式需要佩戴者手动参与,无法根据佩戴者实际需求实时动态调整音量,难免会影响到用户体验。Nowadays, the types and functions of smart wearable devices are becoming more and more abundant. Taking smart watches as an example, heart rate monitoring and music playback are essential functions. As we all know, people have different needs for music volume in a quiet and leisure state and in an exercise state. A lower music volume is required in a quiet state, and a higher music volume is required in an exercise state. At present, the common volume adjustment method is realized by touching the screen buttons or adjusting the physical buttons. This method requires the manual participation of the wearer, and cannot dynamically adjust the volume in real time according to the actual needs of the wearer, which will inevitably affect the user experience.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供了一种智能穿戴设备音量的动态调整方法、装置及智能穿戴设备,用于解决现有的音量调整方法需要佩戴者手动参与,无法实时动态调整音量,导致用户体验较差的技术问题。In view of this, the main purpose of the present invention is to provide a method and device for dynamically adjusting the volume of a smart wearable device and a smart wearable device, which are used to solve the problem that the existing volume adjustment method requires the manual participation of the wearer and cannot dynamically adjust the volume in real time. Technical issues that result in a poor user experience.
依据本发明的第一方面,提供了一种智能穿戴设备音量的动态调整方法,包括:According to the first aspect of the present invention, a method for dynamically adjusting the volume of a smart wearable device is provided, including:
获取佩戴者的心率平均值;Obtain the average heart rate of the wearer;
根据佩戴者的心率平均值判定佩戴者的当前心率状态;Determine the wearer's current heart rate state based on the wearer's average heart rate;
根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,以 实现对智能穿戴设备音量的动态调整。Adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
依据本发明的第二方面,提供了一种智能穿戴设备音量的动态调整装置,包括:According to the second aspect of the present invention, a device for dynamically adjusting the volume of a smart wearable device is provided, including:
心率平均值获取单元,用于获取佩戴者的心率平均值;The average heart rate acquisition unit is used to obtain the average heart rate of the wearer;
心率状态判定单元,用于根据佩戴者的心率平均值判定佩戴者的当前心率状态;A heart rate state determination unit, configured to determine the wearer's current heart rate state according to the wearer's average heart rate;
功放增益调整单元,用于根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,以实现对智能穿戴设备音量的动态调整。The power amplifier gain adjustment unit is used to adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
依据本发明的第三方面,提供了一种智能穿戴设备,包括:心率测量模块、扬声器、主控制模块和存储器,According to a third aspect of the present invention, a smart wearable device is provided, including: a heart rate measurement module, a speaker, a main control module and a memory,
所述心率测量模块,用于实时监测佩戴者的心率,采集佩戴者的实时心率值;The heart rate measurement module is used to monitor the wearer's heart rate in real time and collect the wearer's real-time heart rate value;
所述扬声器,用于播放音乐;The speaker is used to play music;
所述存储器中存储有计算机程序指令,所述计算机程序指令由所述主控制模块加载并执行,以实现前述的智能穿戴设备音量的动态调整方法。Computer program instructions are stored in the memory, and the computer program instructions are loaded and executed by the main control module to realize the aforementioned method for dynamically adjusting the volume of the smart wearable device.
依据本发明的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被处理器执行时,实现前述的智能穿戴设备音量的动态调整方法。According to a fourth aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the aforementioned intelligent A method for dynamically adjusting the volume of a wearable device.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明实施例的智能穿戴设备音量的动态调整方法、装置及智能穿戴设备,可以根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,实现对智能穿戴设备音量的动态调整,相比于传统的通过触摸屏幕按键或者调整物理按键实现音量调整的方式,能够实时动态调整音量,无需佩戴者手动参与,丰富了音量调整的手段,可以适用于更多的使用场景,大大提高了用户的使用体验。此外,利用佩戴者的心率平均值而非实时心率值来判定佩 戴者的当前心率状态,由于心率平均值平滑了心率波动,即使佩戴者出现瞬时心率值剧变时,也可能不会触发佩戴者的当前心率状态的变更,从而减少了对智能穿戴设备音量的频繁调整操作,避免了误操作。The method and device for dynamically adjusting the volume of the smart wearable device and the smart wearable device according to the embodiments of the present invention can adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, and realize the dynamic adjustment of the volume of the smart wearable device. Compared with the traditional method of volume adjustment by touching the screen button or adjusting the physical button, it can dynamically adjust the volume in real time without the need for the wearer to participate manually. Use experience. In addition, the wearer's heart rate average is used instead of the real-time heart rate value to determine the wearer's current heart rate state. Since the heart rate average value smoothes heart rate fluctuations, even if the wearer has a sudden change in the heart rate value, it may not trigger the wearer's heart rate. The change of the current heart rate state reduces the frequent adjustment of the volume of the smart wearable device and avoids misoperation.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1是本发明实施例提供的一种智能穿戴设备音量的动态调整方法的流程示意图;Fig. 1 is a schematic flowchart of a method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention;
图2本发明实施例提供的另一种智能穿戴设备音量的动态调整方法的流程示意图;FIG. 2 is a schematic flowchart of another method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention;
图3为本发明实施例提供的一种智能穿戴设备音量的动态调整装置的框图;FIG. 3 is a block diagram of a device for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention;
图4为本发明实施例提供的一种智能穿戴设备的结构示意图。Fig. 4 is a schematic structural diagram of a smart wearable device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. These embodiments are provided for a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein.
智能穿戴设备是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如手表、手环、眼镜、服饰等。为描述方便,下面将以智能手表作为一种具体的智能穿戴设备的应用示例进行描述。Smart wearable device is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as watches, bracelets, glasses, clothing, etc. For the convenience of description, a smart watch will be described below as a specific application example of a smart wearable device.
图1是本发明实施例提供的一种智能穿戴设备音量的动态调整方法的流 程示意图,参见图1,本发明实施例的方法包括如下步骤S110至步骤S130:Fig. 1 is a schematic flowchart of a method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention. Referring to Fig. 1, the method of the embodiment of the present invention includes the following steps S110 to S130:
步骤S110,获取佩戴者的心率平均值。Step S110, acquiring the average heart rate of the wearer.
在本发明实施例中,该步骤具体可以是:利用智能穿戴设备的心率测量模块实时监测佩戴者的心率,采集佩戴者的实时心率值;对佩戴者的实时心率值计算预设时间段内的平均值,作为佩戴者的心率平均值。In the embodiment of the present invention, this step may specifically be: using the heart rate measurement module of the smart wearable device to monitor the wearer's heart rate in real time, collecting the wearer's real-time heart rate value; calculating the wearer's real-time heart rate value within a preset time period Average, as the average of the wearer's heart rate.
智能穿戴设备通过配置一种或多种生理数据测量模块可以实时监测身体数据变化,让人们对自己的身体状况有了更深入的了解,及时安排并做调整,从而改善健康状况。以智能手表为例,通过配置心率测量模块可以实时监测佩戴者的心率,并将佩戴者的实时心率值实时上报给智能手表的主控制模块,主控制模块对佩戴者的实时心率值计算预设时间段内的平均值,例如1分钟,得到佩戴者的心率平均值。Smart wearable devices can monitor changes in body data in real time by configuring one or more physiological data measurement modules, allowing people to have a deeper understanding of their physical conditions, and make timely arrangements and adjustments to improve their health. Taking the smart watch as an example, by configuring the heart rate measurement module, the wearer's heart rate can be monitored in real time, and the real-time heart rate value of the wearer can be reported to the main control module of the smart watch in real time. Averaged over a period of time, eg 1 minute, an average of the wearer's heart rate is obtained.
需要说明的是,由于计算心率平均值是与采集心率值同步进行的,因此可以认为计算出的心率平均值也是实时的。而且得到的心率平均值是预设时间段内的实时心率值的平均值,因此相比于实时心率值,能够平滑心率波动。在佩戴者出现瞬时心率值的剧变时,心率平均值的变化幅度并不会太大。It should be noted that since the calculation of the average heart rate is performed synchronously with the collection of heart rate values, it can be considered that the calculated average heart rate is also real-time. Moreover, the obtained average heart rate is an average value of real-time heart rate values within a preset time period, so compared with real-time heart rate values, heart rate fluctuations can be smoothed. When the wearer has a drastic change in the instantaneous heart rate value, the average heart rate does not change too much.
步骤S120,根据佩戴者的心率平均值判定佩戴者的当前心率状态。Step S120, determine the wearer's current heart rate state according to the wearer's average heart rate.
佩戴者的心率状态可以包括安静状态、运动状态和危险状态等。本发明实施例仅是示例性的将佩戴者的心率状态划分为三种状态。当然还可以对这三种心率状态做更精细的划分,例如安静状态还可以进一步细化为睡眠状态和静止状态,运动状态还可以进一步细化为低强度运动状态、中强度运动状态、高强度运动状态等,危险状态还可以进一步细化为低危险状态、高危险状态等。本发明实施例对心率状态的划分方法及划分个数不作限定。The wearer's heart rate state may include a rest state, an exercise state, a dangerous state, and the like. The embodiment of the present invention is only exemplary to divide the wearer's heart rate state into three states. Of course, these three heart rate states can be further divided into finer divisions. For example, the quiet state can be further refined into sleep state and static state, and the exercise state can be further refined into low-intensity exercise state, medium-intensity exercise state, and high-intensity exercise state. Dangerous states can be further subdivided into low-risk states and high-risk states. The embodiment of the present invention does not limit the division method and number of divisions of the heart rate state.
在本发明的一个实施例中,该步骤S120具体可以是:将佩戴者的心率值数据划分成多个预设心率区间,每个预设心率区间对应佩戴者的一种心率状态;根据佩戴者的心率平均值所位于的预设心率区间,判定佩戴者的当前心 率状态。In one embodiment of the present invention, step S120 may specifically be: dividing the wearer's heart rate value data into a plurality of preset heart rate intervals, each preset heart rate interval corresponding to a heart rate state of the wearer; The preset heart rate interval where the average heart rate of the heart rate is located determines the wearer's current heart rate state.
例如,通常人在安静状态下心率位于60-100次/分钟,运动状态下心率位于120-180次/分钟,超过180次/分钟或者低于60次/分钟则认为心率出现异常,心率处于危险状态。为了方便对比,可以将运动状态下心率区间设置为100-180次/分钟。For example, a person's heart rate is usually 60-100 beats/min in a quiet state, and 120-180 beats/min in an exercise state. If it exceeds 180 beats/min or is lower than 60 beats/min, it is considered that the heart rate is abnormal and the heart rate is in danger. state. For the convenience of comparison, the heart rate range in the exercise state can be set to 100-180 beats per minute.
在本步骤S120中,示例性的,对应安静状态、运动状态和危险状态这三种心率状态,可以将佩戴者的心率值数据划分成三个预设心率区间:第一预设心率区间[60(含)-100(不含)次/分钟],对应佩戴者在安静状态下的心率区间;第二预设心率区间[100(含)-180(含)次/分钟],对应佩戴者在运动状态下的心率区间,第三预设心率区间[>180次/分钟,或者<60次/分钟],对应佩戴者在危险状态下的心率区间。In this step S120, for example, corresponding to the three heart rate states of resting state, exercise state and dangerous state, the wearer's heart rate value data can be divided into three preset heart rate intervals: the first preset heart rate interval [60 (inclusive)-100 (inclusive) times/minute], corresponding to the wearer's heart rate interval in a quiet state; the second preset heart rate interval [100 (inclusive)-180 (inclusive) times/minute], corresponding to the wearer's The heart rate interval in the exercise state, the third preset heart rate interval [>180 beats/minute, or <60 beats/minute] corresponds to the heart rate interval of the wearer in a dangerous state.
智能手表的主控制模块将佩戴者的心率平均值和上述的三个预设心率区间进行比较,若心率平均值位于第一预设心率区间[60(含)-100(不含)次/分钟]内,则认为佩戴者的当前心率状态为安静状态,若心率平均值位于第二预设心率区间[100(含)-180(含)次/分钟]内,则认为佩戴者的当前心率状态为运动状态,若心率平均值位于第三预设心率区间[>180次/分钟,或者<60次/分钟]内,则认为佩戴者的当前心率状态为危险状态。The main control module of the smart watch compares the average heart rate of the wearer with the above-mentioned three preset heart rate intervals, and if the average heart rate is in the first preset heart rate interval ], the wearer’s current heart rate state is considered to be in a quiet state; if the average heart rate is within the second preset heart rate interval [100 (inclusive)-180 (inclusive) beats/minute], the wearer’s current heart rate state is considered to be If the average heart rate is in the third preset heart rate interval [>180 beats/minute, or <60 beats/minute], the wearer's current heart rate state is considered to be in a dangerous state.
上述仅是示例地将佩戴者的整个心率值划分成三个预设心率区间,是对应三种心率状态做的档位划分。佩戴者可以自主定义心率状态的划分数量并自主设置每个预设心率区间的数值,例如可以将心率状态划分成五种状态:安静状态、低强度运动状态、中强度运动状态、高强度运动状态和危险状态,相应的将整个心率值也对应划分成五个预设心率区间,每个预设心率区间对应佩戴者的一种心率状态。The above is just an example of dividing the wearer's entire heart rate value into three preset heart rate intervals, which is the gear division corresponding to the three heart rate states. The wearer can independently define the number of divisions of the heart rate state and independently set the value of each preset heart rate interval. For example, the heart rate state can be divided into five states: quiet state, low-intensity exercise state, medium-intensity exercise state, and high-intensity exercise state Correspondingly, the entire heart rate value is also divided into five preset heart rate intervals, and each preset heart rate interval corresponds to a heart rate state of the wearer.
在后面的本发明实施例中,为方便描述,仅是将佩戴者的心率状态划分为安静状态、运动状态和危险状态这三种状态。可以理解,无论是将心率状 态划分为三种、五种还是其他多种,实际操作时,均是根据实时计算出的佩戴者的心率平均值所落入的预设心率区间,来判定佩戴者的当前心率状态。In the following embodiments of the present invention, for convenience of description, the wearer's heart rate state is only divided into three states: a rest state, an exercise state and a dangerous state. It can be understood that whether the heart rate state is divided into three, five or other types, in actual operation, the wearer is judged based on the preset heart rate interval in which the average heart rate of the wearer calculated in real time falls. current heart rate status.
步骤S130,根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,以实现对智能穿戴设备音量的动态调整。Step S130, adjusting the power amplifier gain of the speaker of the smart wearable device according to the current heart rate state of the wearer, so as to realize the dynamic adjustment of the volume of the smart wearable device.
在本发明的一个实施例中,“根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益”具体可以是:In one embodiment of the present invention, "adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state" may specifically be:
将扬声器的功放增益划分成多个预设功放增益区间,每个预设功放增益区间对应佩戴者的一种心率状态;获取扬声器的当前功放增益,并获取佩戴者的当前心率状态所对应的预设功放增益区间;将扬声器的当前功放增益与佩戴者的当前心率状态所对应的预设功放增益区间进行比较,并在当前功放增益不在预设功放增益区间内时,调整扬声器的功放增益至对应的预设功放增益区间内。Divide the power amplifier gain of the speaker into multiple preset power amplifier gain intervals, each preset power amplifier gain interval corresponds to a heart rate state of the wearer; obtain the current power amplifier gain of the speaker, and obtain the preset value corresponding to the wearer's current heart rate state Set the power amplifier gain range; compare the current power amplifier gain of the speaker with the preset power amplifier gain range corresponding to the wearer's current heart rate state, and adjust the power amplifier gain of the speaker to the corresponding range when the current power amplifier gain is not within the preset power amplifier gain range within the preset power amplifier gain range.
本发明实施例需要提前测试出扬声器的不同功放增益对应的扬声器音量大小,然后再基于该测试结果,将扬声器的功放增益划分成多个预设功放增益区间,每个预设功放增益区间对应佩戴者的一种心率状态。例如划分第一预设功放增益区间[A1-A2]对应佩戴者在安静状态下的合适增益,划分第二预设功放增益区间[B1-B2]对应佩戴者在运动状态下的合适增益。The embodiment of the present invention needs to test the speaker volume corresponding to different power amplifier gains of the speaker in advance, and then based on the test results, divide the power amplifier gain of the speaker into a plurality of preset power amplifier gain intervals, and each preset power amplifier gain interval corresponds to wearing A heart rate state of the patient. For example, dividing the first preset power amplifier gain interval [A1-A2] corresponds to the appropriate gain of the wearer in a quiet state, and dividing the second preset power amplifier gain interval [B1-B2] corresponds to the appropriate gain of the wearer in a sports state.
获取扬声器的当前功放增益。当前功放增益的获取方式可以采用多种现有技术实现,例如智能穿戴设备的主控制模块通过读取扬声器的功放参数可以获取到扬声器的当前功放增益。本发明实施例对功放增益的获取方式不做限定。Get the current amplifier gain of the speaker. The acquisition method of the current power amplifier gain can be realized by using various existing technologies. For example, the main control module of the smart wearable device can obtain the current power amplifier gain of the speaker by reading the power amplifier parameters of the speaker. The embodiment of the present invention does not limit the manner of obtaining the gain of the power amplifier.
获取佩戴者的当前心率状态所对应的预设功放增益区间。例如,若佩戴者的当前心率状态是静止状态,则其对应第一预设功放增益区间[A1-A2],若佩戴者的当前心率状态是运动状态,则其对应第二预设功放增益区间[B1-B2]。Obtain the preset power amplifier gain range corresponding to the wearer's current heart rate state. For example, if the wearer's current heart rate state is a static state, it corresponds to the first preset power amplifier gain interval [A1-A2], and if the wearer's current heart rate state is an exercise state, then it corresponds to the second preset power amplifier gain interval [B1-B2].
将获取的扬声器的当前功放增益与佩戴者的当前心率状态所对应的预设功放增益区间进行比较,比较结果包括两种情况:Compare the obtained current power amplifier gain of the speaker with the preset power amplifier gain range corresponding to the wearer's current heart rate state. The comparison results include two situations:
如果当前功放增益在预设功放增益区间内,则维持扬声器的当前功放增益不变,如果当前功放增益不在预设功放增益区间内,则需要调整扬声器的当前功放增益至预设功放增益区间内。调整方向又区分两种情况:若当前功放增益低于预设功放增益区间的下限值,则需要调大当前功放增益直至位于预设功放增益区间内,若当前功放增益高于预设功放增益区间的上限值,则需要调小当前功放增益直至位于预设功放增益区间内。If the current power amplifier gain is within the preset power amplifier gain range, then keep the current power amplifier gain of the speaker unchanged; if the current power amplifier gain is not within the preset power amplifier gain range, you need to adjust the current power amplifier gain of the speaker to the preset power amplifier gain range. The adjustment direction also distinguishes two situations: if the current power amplifier gain is lower than the lower limit value of the preset power amplifier gain range, you need to increase the current power amplifier gain until it is within the preset power amplifier gain range; if the current power amplifier gain is higher than the preset power amplifier gain If the upper limit value of the range is lower, the current power amplifier gain needs to be reduced until it is within the preset power amplifier gain range.
在本发明的一个实施例中,在当前功放增益不在预设功放增益区间内时,调整扬声器的当前功放增益至预设功放增益区间内包括:In an embodiment of the present invention, when the current power amplifier gain is not within the preset power amplifier gain range, adjusting the current power amplifier gain of the speaker to the preset power amplifier gain range includes:
如果当前功放增益高于预设功放增益区间的上限值,则按照每隔第一预设时长降低第一预设分贝的速度逐渐降低扬声器的功放增益,直至扬声器的功放增益不大于预设功放增益区间的上限值;If the current power amplifier gain is higher than the upper limit value of the preset power amplifier gain range, gradually reduce the power amplifier gain of the speaker at a speed of reducing the first preset decibel every first preset time length until the power amplifier gain of the speaker is not greater than the preset power amplifier The upper limit of the gain interval;
如果当前功放增益低于预设功放增益区间的下限值,则按照每隔第二预设时长提高第二预设分贝的速度逐渐提高扬声器的功放增益,直至扬声器的功放增益不小于预设功放增益区间的下限值;If the current power amplifier gain is lower than the lower limit value of the preset power amplifier gain range, gradually increase the power amplifier gain of the speaker at a speed of increasing the second preset decibel every second preset time length until the power amplifier gain of the speaker is not less than the preset power amplifier The lower limit of the gain interval;
其中,第一预设时长、第一预设分贝、第二预设时长、第二预设分贝均为可调整参数。如何配置这些参数值,可以由佩戴者结合自身的舒适感个性设置,也可以使用系统默认值或推荐值。Wherein, the first preset duration, the first preset decibel, the second preset duration, and the second preset decibel are all adjustable parameters. How to configure these parameter values can be set by the wearer in combination with his own comfort, or the system default or recommended values can be used.
仍以上述的三种心率状态划分作为示例。Still taking the above-mentioned division of the three heart rate states as an example.
如果佩戴者的心率平均值位于安静状态对应的第一预设心率区间[60(含)-100(不含)次/分钟]内,则将扬声器的当前功放增益和安静状态对应的第一预设功放增益区间[A1-A2]进行比较,若当前功放增益位于[A1-A2]范围内,则维持扬声器的当前功放增益不变,如果高于第一预设功放增益区间的上限值A2,则按照每隔10s降低1dB的速度逐渐降低扬声器的功放增益 直至不大于A2;如果低于第一预设功放增益区间的下限值A1,则按照每隔10s提高1dB的速度逐渐提高扬声器的功放增益直至不小于A1。If the average heart rate of the wearer is within the first preset heart rate interval [60 (inclusive)-100 (exclusive) beats/minute] corresponding to the quiet state, the current power amplifier gain of the speaker and the first preset heart rate corresponding to the quiet state Set the power amplifier gain range [A1-A2] for comparison. If the current power amplifier gain is within the range of [A1-A2], keep the current power amplifier gain of the speaker unchanged. If it is higher than the upper limit of the first preset power amplifier gain range A2 , then gradually reduce the power amplifier gain of the speaker at a rate of 1dB every 10s until it is not greater than A2; The power amplifier gain is not less than A1.
如果佩戴者的心率平均值位于运动状态对应的第二预设心率区间[100(含)-180(含)次/分钟]内,则将扬声器的当前功放增益和运动状态对应的第二预设功放增益区间[B1-B2]进行比较,若当前功放增益位于[B1-B2]范围内,维持扬声器的当前功放增益不变,如果高于第二预设功放增益区间的上限值B2,则按照每隔10s降低1dB的速度逐渐降低扬声器的功放增益直至不大于B2;如果低于第二预设功放增益区间的下限值B1,则按照每隔10s提高1dB的速度逐渐提高扬声器的功放增益直至不小于B1。If the average heart rate of the wearer is within the second preset heart rate interval [100 (inclusive)-180 (inclusive) times/minute] corresponding to the exercise state, the current power amplifier gain of the speaker and the second preset heart rate corresponding to the exercise state Power amplifier gain range [B1-B2] for comparison, if the current power amplifier gain is within the range [B1-B2], keep the current power amplifier gain of the speaker unchanged, if it is higher than the upper limit value B2 of the second preset power amplifier gain range, then Gradually reduce the power amplifier gain of the speaker at a speed of 1dB every 10s until it is not greater than B2; if it is lower than the lower limit value B1 of the second preset power amplifier gain range, gradually increase the power amplifier gain of the speaker at a speed of 1dB every 10s Until not less than B1.
本发明实施例的这种梯度改变功放增益的方式,音量变化过渡自然,可以避免瞬间改变增益造成扬声器音量突变给佩戴者造成不良体验。In the manner of changing the gain of the power amplifier with a gradient in the embodiment of the present invention, the transition of the volume change is natural, which can avoid bad experience for the wearer due to sudden changes in the volume of the loudspeaker caused by instantaneous gain changes.
在本发明的一个实施例中,在判定佩戴者的当前心率状态为危险状态时,本发明的方法还包括:控制智能穿戴设备的扬声器停止播放音乐,改为播放警示音,用于警示佩戴者注意心率情况。In one embodiment of the present invention, when it is determined that the current heart rate state of the wearer is in a dangerous state, the method of the present invention further includes: controlling the speaker of the smart wearable device to stop playing music and play a warning sound instead to warn the wearer Pay attention to your heart rate.
例如,如果判定佩戴者的心率平均值落入危险状态对应的第三预设心率区间[>180次/分钟,或者<60次/分钟]内,则停止播放音乐,改为播放警示音,用于警示佩戴者注意心率情况。其中警示音可以是大音量的高频警示音,也可以是其他警示音。For example, if it is determined that the average heart rate of the wearer falls into the third preset heart rate range [>180 beats/minute, or <60 beats/minute] corresponding to the dangerous state, then stop playing the music and play a warning sound instead. It is used to warn the wearer to pay attention to the heart rate. The warning sound may be a high-volume high-frequency warning sound, or other warning sounds.
本发明实施例的这种播放警示音的方式,能够在佩戴者心率出现异常时进行警示,丰富了产品功能,增强了用户的体验。The way of playing the warning sound in the embodiment of the present invention can give a warning when the wearer's heart rate is abnormal, which enriches product functions and enhances user experience.
综上,本发明实施例的智能穿戴设备音量的动态调整方法,可以根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,实现对智能穿戴设备音量的动态调整,相比于传统的通过触摸屏幕按键或者调整物理按键实现音量调整的方式,能够实时动态调整音量,无需佩戴者手动参与,丰富了音量调整的手段,可以适用于更多的使用场景,大大提高了用户的使用体 验。此外,利用佩戴者的心率平均值而非实时心率值来判定佩戴者的当前心率状态,由于心率平均值平滑了心率波动,即使佩戴者出现瞬时心率值剧变时,也可能不会触发佩戴者的当前心率状态的变更,从而减少了对智能穿戴设备音量的频繁调整操作,避免了误操作。To sum up, the method for dynamically adjusting the volume of the smart wearable device according to the embodiment of the present invention can adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, and realize the dynamic adjustment of the volume of the smart wearable device. Compared with the traditional By touching the screen buttons or adjusting the physical buttons to achieve volume adjustment, the volume can be adjusted dynamically in real time without manual participation of the wearer, which enriches the means of volume adjustment, can be applied to more usage scenarios, and greatly improves the user experience. In addition, the wearer's heart rate average is used instead of the real-time heart rate value to determine the wearer's current heart rate state. Since the heart rate average value smoothes heart rate fluctuations, even if the wearer has a sudden change in the heart rate value, it may not trigger the wearer's heart rate. The change of the current heart rate state reduces the frequent adjustment of the volume of the smart wearable device and avoids misoperation.
图2是本发明实施例提供的另一种智能穿戴设备音量的动态调整方法的流程示意图。参见图2,本发明实施例提供的智能穿戴设备音量的动态调整方法包括如下步骤:Fig. 2 is a schematic flowchart of another method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention. Referring to Figure 2, the method for dynamically adjusting the volume of a smart wearable device provided by an embodiment of the present invention includes the following steps:
步骤S210,采集佩戴者的实时心率值。可以利用智能穿戴设备配置的心率测量模块采集佩戴者的实时心率值。Step S210, collecting the real-time heart rate value of the wearer. The heart rate measurement module configured by the smart wearable device can be used to collect the real-time heart rate value of the wearer.
步骤S220,获取佩戴者的心率平均值。具体地,智能穿戴设备的主控制模块对上报的实时心率值计算单位分钟内的平均值,得到佩戴者每分钟的心率平均值。Step S220, acquiring the average heart rate of the wearer. Specifically, the main control module of the smart wearable device calculates the average value per minute of the reported real-time heart rate value to obtain the average heart rate value of the wearer per minute.
步骤S230,判定佩戴者的当前心率状态?具体地,可以根据佩戴者的心率平均值所位于的预设心率区间来判定佩戴者的当前心率状态,其中,佩戴者的心率状态包括安静状态、运动状态和危险状态。如果佩戴者的当前心率状态为安静状态或运动状态,则进入步骤S240,如果佩戴者的当前心率状态为危险状态,则进入步骤S250。Step S230, determine the current heart rate state of the wearer? Specifically, the wearer's current heart rate state can be determined according to the preset heart rate interval where the average heart rate of the wearer is located, wherein the wearer's heart rate state includes a resting state, an exercise state and a dangerous state. If the current heart rate state of the wearer is a resting state or an exercise state, proceed to step S240, and if the current heart rate state of the wearer is a dangerous state, proceed to step S250.
步骤S240,获取佩戴者的当前心率状态所对应的预设功放增益区间。Step S240, acquiring a preset power amplifier gain interval corresponding to the wearer's current heart rate state.
例如,若佩戴者的当前心率状态是安静状态,则对应第一预设功放增益区间[A1-A2],若佩戴者的当前心率状态是运动状态,则对应第二预设功放增益区间[B1-B2]。For example, if the wearer's current heart rate state is a quiet state, it corresponds to the first preset power amplifier gain interval [A1-A2], and if the wearer's current heart rate state is an exercise state, it corresponds to the second preset power amplifier gain interval [B1 -B2].
步骤S250,播放警示音。在判定佩戴者的当前心率状态是危险状态时,认为佩戴者心率出现异常,此时控制扬声器停止播放音乐,改为播放警示音,用于警示佩戴者注意心率情况。通过播放警示音对佩戴者进行警示,丰富了产品功能,能够增强用户的体验。Step S250, playing a warning sound. When it is determined that the wearer's current heart rate state is in a dangerous state, it is considered that the wearer's heart rate is abnormal. At this time, the control speaker stops playing music and plays a warning sound instead, which is used to warn the wearer to pay attention to the heart rate situation. The wearer is warned by playing the warning sound, which enriches the product functions and enhances the user experience.
步骤S260,读取扬声器的当前功放增益。Step S260, read the current power amplifier gain of the speaker.
在扬声器的音乐播放过程中,智能穿戴设备的主控制模块通过读取扬声器的功放参数可以实时获取到扬声器的当前功放增益。与此同时,智能穿戴设备的心率测量模块也在实时采集佩戴者的实时心率值。因此,步骤S260与步骤S210可以认为是同步的。During the music playing process of the speaker, the main control module of the smart wearable device can obtain the current power amplifier gain of the speaker in real time by reading the power amplifier parameters of the speaker. At the same time, the heart rate measurement module of the smart wearable device is also collecting the real-time heart rate value of the wearer in real time. Therefore, step S260 and step S210 can be considered as synchronous.
步骤S270,判定扬声器的当前功放增益是否合适?判定的依据是扬声器的当前功放增益是否位于佩戴者的当前心率状态所对应的预设功放增益区间内,如果位于,则认为扬声器的当前功放增益是合适的,并进入步骤S280,如果不位于,则认为扬声器的当前功放增益是不合适的,并进入步骤S290。Step S270, determining whether the current power amplifier gain of the speaker is appropriate? The basis for judging is whether the current power amplifier gain of the speaker is within the preset power amplifier gain range corresponding to the wearer’s current heart rate state. Then it is considered that the current power amplifier gain of the loudspeaker is inappropriate, and the process goes to step S290.
步骤S280,继续使用当前功放增益播放音乐。在扬声器的当前功放增益符合预期增益的情况下,对扬声器的功放增益不进行调整,维持扬声器的当前功放增益不变。Step S280, continue to use the current power amplifier gain to play music. When the current power amplifier gain of the speaker meets the expected gain, the power amplifier gain of the speaker is not adjusted, and the current power amplifier gain of the speaker remains unchanged.
步骤S290,调整扬声器的当前功放增益至对应的预设功放增益区间内,然后使用调整后的功放增益播放音乐。Step S290, adjusting the current power amplifier gain of the speaker to the corresponding preset power amplifier gain range, and then playing music with the adjusted power amplifier gain.
调整扬声器的当前功放增益的方式,如上述所描述的,可以是:若当前功放增益高于预设功放增益区间的上限值,则按照每隔10s降低1dB的速度逐渐降低扬声器的功放增益直至不大于预设功放增益区间的上限值;若当前功放增益低于预设功放增益区间的下限值,则按照每隔10s提高1dB的速度逐渐提高扬声器的功放增益直至不小于预设功放增益区间的下限值。这种梯度改变功放增益的方式,音量变化过渡自然,可以避免瞬间改变增益造成扬声器音量突变给佩戴者造成不良体验。The way to adjust the current power amplifier gain of the speaker, as described above, may be: if the current power amplifier gain is higher than the upper limit value of the preset power amplifier gain range, gradually reduce the power amplifier gain of the speaker at a rate of 1dB every 10s until Not greater than the upper limit of the preset power amplifier gain range; if the current power amplifier gain is lower than the lower limit of the preset power amplifier gain range, gradually increase the power amplifier gain of the speaker at a rate of 1dB every 10s until it is not less than the preset power amplifier gain The lower limit of the interval. This way of gradiently changing the gain of the power amplifier, the volume change transition is natural, and it can avoid the sudden change of the gain caused by the sudden change of the speaker volume, which will cause bad experience to the wearer.
由以上步骤可知,本发明实施例提供的智能穿戴设备音量的动态调整方法,能够根据佩戴者的当前心率状态实现对智能穿戴设备音量的动态调整,相比于传统的通过触摸屏幕按键或者调整物理按键实现音量调整的方式,整个调整过程无需佩戴者手动参与,免去佩戴者手动调节音量产生的不便,丰 富了音量调整的手段,而且还能够在佩戴者心率出现异常时进行警示,完善了产品功能,可以适用于更多的使用场景,大大提高了用户的使用体验。It can be seen from the above steps that the method for dynamically adjusting the volume of the smart wearable device provided by the embodiment of the present invention can realize the dynamic adjustment of the volume of the smart wearable device according to the wearer's current heart rate state, compared with the traditional method of adjusting the volume of the smart wearable device by touching the screen buttons or adjusting the physical volume. The button realizes volume adjustment, the whole adjustment process does not require the wearer to participate manually, which saves the wearer from the inconvenience of manually adjusting the volume, enriches the means of volume adjustment, and can also warn the wearer when the heart rate is abnormal, perfecting the product Functions can be applied to more usage scenarios, greatly improving the user experience.
与前述智能穿戴设备音量的动态调整方法同属于一个技术构思,本发明实施例还提供了一种智能穿戴设备音量的动态调整装置。参见图3,本发明实施例的智能穿戴设备音量的动态调整装置300包括:心率平均值获取单元310、心率状态判定单元320和功放增益调整单元330。其中,The aforementioned method for dynamically adjusting the volume of a smart wearable device belongs to the same technical concept, and an embodiment of the present invention also provides a device for dynamically adjusting the volume of a smart wearable device. Referring to FIG. 3 , an apparatus 300 for dynamically adjusting the volume of a smart wearable device according to an embodiment of the present invention includes: an average heart rate acquisition unit 310 , a heart rate state determination unit 320 , and a power amplifier gain adjustment unit 330 . in,
心率平均值获取单元310,用于获取佩戴者的心率平均值;A heart rate average acquisition unit 310, configured to acquire the wearer's average heart rate;
心率状态判定单元320,用于根据佩戴者的心率平均值判定佩戴者的当前心率状态;A heart rate state determination unit 320, configured to determine the wearer's current heart rate state according to the wearer's average heart rate;
功放增益调整单元330,用于根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,以实现对智能穿戴设备音量的动态调整。The power amplifier gain adjustment unit 330 is configured to adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
在本发明的一个实施例中,心率状态判定单元320具体用于:将佩戴者的心率值数据划分成多个预设心率区间,每个预设心率区间对应佩戴者的一种心率状态;根据佩戴者的心率平均值所位于的预设心率区间,判定佩戴者的当前心率状态。In one embodiment of the present invention, the heart rate state determination unit 320 is specifically configured to: divide the wearer's heart rate value data into a plurality of preset heart rate intervals, each preset heart rate interval corresponds to a heart rate state of the wearer; according to The preset heart rate interval where the average heart rate of the wearer is located determines the current heart rate state of the wearer.
在本发明的一个实施例中,功放增益调整单元320具体用于:将扬声器的功放增益划分成多个预设功放增益区间,每个预设功放增益区间对应佩戴者的一种心率状态;获取扬声器的当前功放增益,并获取佩戴者的当前心率状态所对应的预设功放增益区间;将扬声器的当前功放增益与佩戴者的当前心率状态所对应的预设功放增益区间进行比较,并在当前功放增益不在预设功放增益区间内时,调整扬声器的功放增益至预设功放增益区间内。In one embodiment of the present invention, the power amplifier gain adjustment unit 320 is specifically configured to: divide the power amplifier gain of the speaker into multiple preset power amplifier gain intervals, each preset power amplifier gain interval corresponds to a heart rate state of the wearer; obtain The current power amplifier gain of the speaker, and obtain the preset power amplifier gain range corresponding to the wearer's current heart rate state; compare the current power amplifier gain of the speaker with the preset power amplifier gain range corresponding to the wearer's current heart rate state, and When the power amplifier gain is not within the preset power amplifier gain range, adjust the power amplifier gain of the speaker to be within the preset power amplifier gain range.
在本发明的一个实施例中,功放增益调整单元320还具有用于:在当前功放增益不在预设功放增益区间内时,调整扬声器的当前功放增益至预设功放增益区间内包括:In an embodiment of the present invention, the power amplifier gain adjustment unit 320 is also configured to: when the current power amplifier gain is not within the preset power amplifier gain range, adjusting the current power amplifier gain of the speaker to the preset power amplifier gain range includes:
如果当前功放增益高于预设功放增益区间的上限值,则按照每隔第一预 设时长降低第一预设分贝的速度逐渐降低扬声器的功放增益,直至扬声器的功放增益不大于预设功放增益区间的上限值;If the current power amplifier gain is higher than the upper limit value of the preset power amplifier gain range, gradually reduce the power amplifier gain of the speaker at a speed of reducing the first preset decibel every first preset time length until the power amplifier gain of the speaker is not greater than the preset power amplifier The upper limit of the gain interval;
如果当前功放增益低于预设功放增益区间的下限值,则按照每隔第二预设时长提高第二预设分贝的速度逐渐提高扬声器的功放增益,直至扬声器的功放增益不小于预设功放增益区间的下限值;If the current power amplifier gain is lower than the lower limit value of the preset power amplifier gain range, gradually increase the power amplifier gain of the speaker at a speed of increasing the second preset decibel every second preset time length until the power amplifier gain of the speaker is not less than the preset power amplifier The lower limit of the gain interval;
其中,所述第一预设时长、第一预设分贝、第二预设时长、第二预设分贝均为可调整参数。Wherein, the first preset duration, the first preset decibel, the second preset duration, and the second preset decibel are all adjustable parameters.
在本发明的一个实施例中,佩戴者的心率状态包括安静状态、运动状态和危险状态。智能穿戴设备音量的动态调整装置300还包括心率提示模块,用于在判定佩戴者的当前心率状态为危险状态时,控制智能穿戴设备的扬声器停止播放音乐,改为播放警示音,警示佩戴者注意心率情况。In one embodiment of the present invention, the wearer's heart rate state includes a rest state, an exercise state and a dangerous state. The device 300 for dynamically adjusting the volume of the smart wearable device also includes a heart rate prompt module, which is used to control the speaker of the smart wearable device to stop playing music when it is determined that the wearer's current heart rate state is in a dangerous state, and instead play a warning sound to warn the wearer to pay attention Heart rate situation.
在本发明的一个实施例中,心率平均值获取单元310具有用于:利用智能穿戴设备的心率测量模块实时监测佩戴者的心率,采集佩戴者的实时心率值;对佩戴者的实时心率值计算预设时间段内的平均值,作为佩戴者的心率平均值。In one embodiment of the present invention, the average heart rate acquisition unit 310 is used to: use the heart rate measurement module of the smart wearable device to monitor the wearer's heart rate in real time, collect the wearer's real-time heart rate value; calculate the wearer's real-time heart rate value Averaged over a preset period of time as the wearer's heart rate average.
与前述智能穿戴设备音量的动态调整方法同属于一个技术构思,本发明实施例还提供了一种智能穿戴设备。参见图4,本发明实施例提供的智能穿戴设备400包括:心率测量模块410、扬声器420、主控制模块430和存储器440,其中,心率测量模块410,用于实时监测佩戴者的心率,采集佩戴者的实时心率值;扬声器420,用于播放音乐。存储器440可能是内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能是非易失性存储器(non-volatile memory),例如至少一个磁盘存储器等。存储器440中存储有计算机程序指令,该计算机程序指令由主控制模块430加载并执行,以实现前述的智能穿戴设备音量的动态调整方法。The aforementioned method for dynamically adjusting the volume of a smart wearable device belongs to the same technical concept, and an embodiment of the present invention also provides a smart wearable device. Referring to Fig. 4, the smart wearable device 400 provided by the embodiment of the present invention includes: a heart rate measurement module 410, a speaker 420, a main control module 430 and a memory 440, wherein the heart rate measurement module 410 is used to monitor the wearer's heart rate in real time, collect wearer's The real-time heart rate value of the patient; the loudspeaker 420 is used to play music. The memory 440 may be a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), or may be a non-volatile memory (non-volatile memory), such as at least one disk memory. Computer program instructions are stored in the memory 440, and the computer program instructions are loaded and executed by the main control module 430, so as to implement the aforementioned method for dynamically adjusting the volume of the smart wearable device.
在硬件层面上,该智能穿戴设备还可以选择性的包括有接口模块450、 通信模块460等。当然,该智能穿戴设备还可以包括其他业务所需要的硬件。On the hardware level, the smart wearable device may also optionally include an interface module 450, a communication module 460, and the like. Of course, the smart wearable device may also include hardware required by other businesses.
心率测量模块410、扬声器420、主控制模块430、存储器440以及接口模块450、通信模块460等可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图4中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。Heart rate measurement module 410, loudspeaker 420, main control module 430, memory 440, interface module 450, communication module 460, etc. can be connected to each other by internal bus, and this internal bus can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus or EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one double-headed arrow is used in FIG. 4 , but it does not mean that there is only one bus or one type of bus.
该智能穿戴设备的主控制模块430可以执行图1或图2中智能穿戴设备音量的动态调整方法的步骤,并实现图1或图2所示实施例的功能,本发明实施例在此不再赘述。The main control module 430 of the smart wearable device can execute the steps of the method for dynamically adjusting the volume of the smart wearable device in FIG. 1 or FIG. 2, and realize the functions of the embodiment shown in FIG. 1 or FIG. repeat.
本发明实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序当被处理器执行时,实现前述的智能穿戴设备音量的动态调整方法,并具体用于执行:The embodiment of the present invention also proposes a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by the processor, the aforementioned dynamic volume of the smart wearable device can be realized. Adjust method, and specifically for executing:
获取佩戴者的心率平均值;Obtain the average heart rate of the wearer;
根据佩戴者的心率平均值判定佩戴者的当前心率状态;Determine the wearer's current heart rate state based on the wearer's average heart rate;
根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,以实现对智能穿戴设备音量的动态调整。Adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个包含有计算机程序指令的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) embodying computer program instructions.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语 句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
以上仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above are only examples of the present invention, and are not intended to limit the present invention. Various modifications and variations of the present invention will occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the scope of the claims of the present invention.

Claims (10)

  1. 一种智能穿戴设备音量的动态调整方法,其特征在于,包括:A method for dynamically adjusting the volume of an intelligent wearable device, characterized in that it includes:
    获取佩戴者的心率平均值;Obtain the average heart rate of the wearer;
    根据佩戴者的心率平均值判定佩戴者的当前心率状态;Determine the wearer's current heart rate state based on the wearer's average heart rate;
    根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,以实现对智能穿戴设备音量的动态调整。Adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
  2. 根据权利要求1所述的方法,其特征在于,所述根据佩戴者的心率平均值判定佩戴者的当前心率状态包括:The method according to claim 1, wherein said determining the wearer's current heart rate state according to the wearer's average heart rate comprises:
    将佩戴者的心率值数据划分成多个预设心率区间,每个预设心率区间对应佩戴者的一种心率状态;Divide the wearer's heart rate value data into multiple preset heart rate intervals, each preset heart rate interval corresponds to a heart rate state of the wearer;
    根据佩戴者的心率平均值所位于的预设心率区间,判定佩戴者的当前心率状态。The current heart rate state of the wearer is determined according to the preset heart rate interval where the average heart rate of the wearer is located.
  3. 根据权利要求1所述的方法,其特征在于,所述根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益包括:The method according to claim 1, wherein the adjusting the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state comprises:
    将扬声器的功放增益划分成多个预设功放增益区间,每个预设功放增益区间对应佩戴者的一种心率状态;The power amplifier gain of the speaker is divided into multiple preset power amplifier gain intervals, and each preset power amplifier gain interval corresponds to a heart rate state of the wearer;
    获取扬声器的当前功放增益,并获取佩戴者的当前心率状态所对应的预设功放增益区间;Obtain the current power amplifier gain of the speaker, and obtain the preset power amplifier gain range corresponding to the wearer's current heart rate state;
    将扬声器的当前功放增益与佩戴者的当前心率状态所对应的预设功放增益区间进行比较,并在所述当前功放增益不在所述预设功放增益区间内时,调整所述扬声器的功放增益至对应的预设功放增益区间内。comparing the current power amplifier gain of the speaker with the preset power amplifier gain range corresponding to the wearer's current heart rate state, and adjusting the power amplifier gain of the speaker to within the corresponding preset power amplifier gain range.
  4. 根据权利要求3所述的方法,其特征在于,所述在所述当前功放增益不在所述预设功放增益区间内时,调整所述扬声器的当前功放增益至对应的预设功放增益区间内包括:The method according to claim 3, wherein when the current power amplifier gain is not within the preset power amplifier gain range, adjusting the current power amplifier gain of the loudspeaker to within the corresponding preset power amplifier gain range comprises :
    如果所述当前功放增益高于所述预设功放增益区间的上限值,则按照每隔第一预设时长降低第一预设分贝的速度逐渐降低扬声器的功放增益,直至 扬声器的功放增益不大于所述预设功放增益区间的上限值;If the current power amplifier gain is higher than the upper limit value of the preset power amplifier gain range, gradually reduce the power amplifier gain of the speaker at a speed of reducing the first preset decibel every first preset time length until the power amplifier gain of the speaker is lower than greater than the upper limit of the preset power amplifier gain range;
    如果所述当前功放增益低于所述预设功放增益区间的下限值,则按照每隔第二预设时长提高第二预设分贝的速度逐渐提高扬声器的功放增益,直至扬声器的功放增益不小于所述预设功放增益区间的下限值;If the current power amplifier gain is lower than the lower limit value of the preset power amplifier gain range, gradually increase the power amplifier gain of the speaker at a speed of increasing the second preset decibel every second preset time length until the power amplifier gain of the speaker is lower than less than the lower limit of the preset power amplifier gain range;
    其中,所述第一预设时长、第一预设分贝、第二预设时长、第二预设分贝均为可调整参数。Wherein, the first preset duration, the first preset decibel, the second preset duration, and the second preset decibel are all adjustable parameters.
  5. 根据权利要求1所述的方法,其特征在于,所述佩戴者的心率状态包括安静状态、运动状态和危险状态,且在判定佩戴者的当前心率状态为危险状态时,所述方法还包括:The method according to claim 1, wherein the wearer's heart rate state includes a resting state, an exercise state, and a dangerous state, and when it is determined that the wearer's current heart rate state is a dangerous state, the method further includes:
    控制智能穿戴设备的扬声器停止播放音乐,改为播放警示音,警示佩戴者注意心率情况。Control the speaker of the smart wearable device to stop playing music and play a warning sound instead to warn the wearer to pay attention to the heart rate.
  6. 根据权利要求1所述的方法,其特征在于,所述实时获取佩戴者的心率平均值包括:The method according to claim 1, wherein said acquiring the average heart rate of the wearer in real time comprises:
    利用智能穿戴设备的心率测量模块实时监测佩戴者的心率,采集佩戴者的实时心率值;Use the heart rate measurement module of the smart wearable device to monitor the wearer's heart rate in real time, and collect the wearer's real-time heart rate value;
    对佩戴者的实时心率值计算预设时间段内的平均值,作为佩戴者的心率平均值。The real-time heart rate value of the wearer is calculated as an average value within a preset time period as the average value of the wearer's heart rate.
  7. 一种智能穿戴设备音量的动态调整装置,其特征在于,包括:A device for dynamically adjusting the volume of an intelligent wearable device, characterized in that it comprises:
    心率平均值获取单元,用于获取佩戴者的心率平均值;The average heart rate acquisition unit is used to obtain the average heart rate of the wearer;
    心率状态判定单元,用于根据佩戴者的心率平均值判定佩戴者的当前心率状态;A heart rate state determination unit, configured to determine the wearer's current heart rate state according to the wearer's average heart rate;
    功放增益调整单元,用于根据佩戴者的当前心率状态调整智能穿戴设备的扬声器的功放增益,以实现对智能穿戴设备音量的动态调整。The power amplifier gain adjustment unit is used to adjust the power amplifier gain of the speaker of the smart wearable device according to the wearer's current heart rate state, so as to realize the dynamic adjustment of the volume of the smart wearable device.
  8. 根据权利要求7所述的装置,其特征在于,所述心率状态判定单元具体用于:The device according to claim 7, wherein the heart rate state determination unit is specifically used for:
    将佩戴者的心率值数据划分成多个预设心率区间,每个预设心率区间对应佩戴者的一种心率状态;Divide the wearer's heart rate value data into multiple preset heart rate intervals, each preset heart rate interval corresponds to a heart rate state of the wearer;
    根据佩戴者的心率平均值所位于的预设心率区间,判定佩戴者的当前心率状态。The current heart rate state of the wearer is determined according to the preset heart rate interval where the average heart rate of the wearer is located.
  9. 根据权利要求8所述的装置,其特征在于,所述功放增益调整单元具体用于:The device according to claim 8, wherein the power amplifier gain adjustment unit is specifically used for:
    将扬声器的功放增益划分成多个预设功放增益区间,每个预设功放增益区间对应佩戴者的一种心率状态;The power amplifier gain of the speaker is divided into multiple preset power amplifier gain intervals, and each preset power amplifier gain interval corresponds to a heart rate state of the wearer;
    获取扬声器的当前功放增益,并获取佩戴者的当前心率状态所对应的预设功放增益区间;Obtain the current power amplifier gain of the speaker, and obtain the preset power amplifier gain range corresponding to the wearer's current heart rate state;
    将扬声器的当前功放增益与佩戴者的当前心率状态所对应的预设功放增益区间进行比较,并在所述当前功放增益不在所述预设功放增益区间内时,调整所述扬声器的功放增益至所述预设功放增益区间内。comparing the current power amplifier gain of the speaker with the preset power amplifier gain range corresponding to the wearer's current heart rate state, and adjusting the power amplifier gain of the speaker to within the preset gain range of the power amplifier.
  10. 一种智能穿戴设备,其特征在于,包括:心率测量模块、扬声器、主控制模块和存储器,A smart wearable device, characterized in that it includes: a heart rate measurement module, a loudspeaker, a main control module and a memory,
    所述心率测量模块,用于实时监测佩戴者的心率,采集佩戴者的实时心率值;The heart rate measurement module is used to monitor the wearer's heart rate in real time and collect the wearer's real-time heart rate value;
    所述扬声器,用于播放音乐;The speaker is used to play music;
    所述存储器中存储有计算机程序指令,所述计算机程序指令由所述主控制模块加载并执行,以实现所述权利要求1至6之任一所述的智能穿戴设备音量的动态调整方法。Computer program instructions are stored in the memory, and the computer program instructions are loaded and executed by the main control module to realize the method for dynamically adjusting the volume of the smart wearable device according to any one of claims 1 to 6.
PCT/CN2021/141605 2021-12-21 2021-12-27 Method and apparatus for dynamically adjusting volume of intelligent wearable device and intelligent wearable device WO2023115600A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111573342.9A CN114449411B (en) 2021-12-21 2021-12-21 Intelligent wearable device volume dynamic adjustment method and device and intelligent wearable device
CN202111573342.9 2021-12-21

Publications (1)

Publication Number Publication Date
WO2023115600A1 true WO2023115600A1 (en) 2023-06-29

Family

ID=81364348

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/141605 WO2023115600A1 (en) 2021-12-21 2021-12-27 Method and apparatus for dynamically adjusting volume of intelligent wearable device and intelligent wearable device

Country Status (2)

Country Link
CN (1) CN114449411B (en)
WO (1) WO2023115600A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201727828U (en) * 2009-07-06 2011-02-02 李隆 Musical sleep sound device
WO2016061923A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Play control method and apparatus for mobile terminal, and storage medium
CN106339199A (en) * 2016-08-19 2017-01-18 乐视控股(北京)有限公司 Earphone control method and device, earphone and wearable equipment
CN106603819A (en) * 2016-11-25 2017-04-26 滁州昭阳电信通讯设备科技有限公司 Method for adjusting volume of mobile terminal, and mobile terminal
CN107714056A (en) * 2017-09-06 2018-02-23 上海斐讯数据通信技术有限公司 A kind of wearable device of intellectual analysis mood and the method for intellectual analysis mood
CN112087685A (en) * 2019-06-13 2020-12-15 深圳市冠旭电子股份有限公司 Control method and device of sleep-aiding earphone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7378954B2 (en) * 2005-10-21 2008-05-27 Barry Myron Wendt Safety indicator and method
KR102460393B1 (en) * 2015-04-30 2022-11-01 삼성전자주식회사 Sound outputting apparatus, electronic apparatus, and control method therof
CN107272900A (en) * 2017-06-21 2017-10-20 叶富阳 A kind of wearable music player of autonomous type

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201727828U (en) * 2009-07-06 2011-02-02 李隆 Musical sleep sound device
WO2016061923A1 (en) * 2014-10-20 2016-04-28 中兴通讯股份有限公司 Play control method and apparatus for mobile terminal, and storage medium
CN106339199A (en) * 2016-08-19 2017-01-18 乐视控股(北京)有限公司 Earphone control method and device, earphone and wearable equipment
CN106603819A (en) * 2016-11-25 2017-04-26 滁州昭阳电信通讯设备科技有限公司 Method for adjusting volume of mobile terminal, and mobile terminal
CN107714056A (en) * 2017-09-06 2018-02-23 上海斐讯数据通信技术有限公司 A kind of wearable device of intellectual analysis mood and the method for intellectual analysis mood
CN112087685A (en) * 2019-06-13 2020-12-15 深圳市冠旭电子股份有限公司 Control method and device of sleep-aiding earphone

Also Published As

Publication number Publication date
CN114449411B (en) 2023-05-26
CN114449411A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
WO2019205401A1 (en) Method for intelligent adjustment of ringtone of intelligent terminal, and control method and device thereof
US11068235B2 (en) Volume adjustment method, terminal device, storage medium and electronic device
WO2016061923A1 (en) Play control method and apparatus for mobile terminal, and storage medium
US20220406307A1 (en) Controlling device output according to a determined condition of a user
CN112087685A (en) Control method and device of sleep-aiding earphone
CN108573709B (en) Automatic gain control method and device
US20200268265A1 (en) Integration of sensor-based cardiovascular measures into physical benefit measure related to hearing instrument use
CN109413537A (en) Audio signal playback method, device and earphone
JP2015126869A (en) Sleep aid system and sleep aid method
CN109497945B (en) Sleep state control method and device
CN110246508B (en) Signal modulation method, device and storage medium
CN109788388A (en) Earphone noise-reduction method, smart bluetooth earphone and computer readable storage medium
WO2021208505A1 (en) Intelligent glasses, method for monitoring human body postures, medium, terminal and system
WO2022127477A1 (en) Method and apparatus for controlling smart playing terminal, and storage medium and smart wearable device
WO2023115600A1 (en) Method and apparatus for dynamically adjusting volume of intelligent wearable device and intelligent wearable device
CN108806715B (en) Noise reduction performance evaluation method and system
CN106339199A (en) Earphone control method and device, earphone and wearable equipment
CN106980487A (en) Audio control method and audio control apparatus
CN112689219A (en) Method, apparatus, wireless headset and computer readable storage medium for managing sleep
JP2017524149A (en) Audio system and method for adaptive sound reproduction during physical activity
WO2022206049A1 (en) Audio signal processing method and apparatus, and device and storage medium
CN109924948A (en) A kind of intelligent pillow control method and system
CN108834015B (en) Earphone and volume adjusting method and device thereof
CN117319870A (en) Earphone wearing state detection method and device, earphone and storage medium
GB2586817A (en) A method for automatically adjusting a hearing aid device based on a machine learning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21968729

Country of ref document: EP

Kind code of ref document: A1