WO2017166638A1 - Method of indicating and controlling playback of audio/video data, device, mobile terminal, electronic apparatus, and storage medium - Google Patents

Method of indicating and controlling playback of audio/video data, device, mobile terminal, electronic apparatus, and storage medium Download PDF

Info

Publication number
WO2017166638A1
WO2017166638A1 PCT/CN2016/096886 CN2016096886W WO2017166638A1 WO 2017166638 A1 WO2017166638 A1 WO 2017166638A1 CN 2016096886 W CN2016096886 W CN 2016096886W WO 2017166638 A1 WO2017166638 A1 WO 2017166638A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
audio
state
biological state
video data
Prior art date
Application number
PCT/CN2016/096886
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 WO2017166638A1 publication Critical patent/WO2017166638A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing

Definitions

  • the present application relates to the field of intelligent terminal technologies, and in particular, to a method, an apparatus, a mobile terminal, an electronic device, and a non-volatile computer storage medium for indicating and controlling audio/audio and video data.
  • some music players/video players can be set to turn off periodically, but if the user has not reached the off time after entering sleep, it will still consume power.
  • the embodiments of the present invention provide a method, an apparatus, a mobile terminal, an electronic device, and a non-volatile computer storage medium for indicating and controlling audio/audio and video data, which are used to solve the prior art when a user enters The audio/video player is not turned off after sleep, resulting in wasted power problem.
  • an embodiment of the present invention provides a method for controlling playback of audio/audio and video data, including:
  • the audio/audio and video data is stopped from playing.
  • the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
  • biometric state information is a biometric state parameter for determining a biological state in which the user is located
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the wearing device being a smart bracelet or a smart watch.
  • the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and when the user enters a sleep state, the currently opened audio/video player is automatically turned off, and the present embodiment is
  • the method of controlling the playing of audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
  • an embodiment of the present invention provides a method for indicating playing audio/audio and video data, including:
  • the aspect as described above and any possible implementation manner further provide an implementation manner of transmitting the bio-status information of the user to the mobile terminal, including:
  • bio-state includes an awake state, a sleep state, and a sleep process state.
  • biometric state information is a biometric state parameter for determining a biological state in which the user is located
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the biological state of the user is monitored and the bio-state information is transmitted to the mobile terminal, so that the terminal can automatically turn off the audio/video player when determining that the user is in a sleep state, by the control of the embodiment.
  • the method of playing audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
  • an embodiment of the present invention provides an apparatus for controlling playback of audio/audio and video data, including:
  • a biological state information receiving unit configured to receive biological state information sent by a wearing device that monitors a user's biological state during playing audio/audio and video data
  • the play control unit is configured to stop playing the audio/audio video data when determining that the biometric state of the user is a sleep state according to the biometric state information.
  • the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
  • biometric state information is a biometric state parameter for determining a biological state in which the user is located
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and when the user enters a sleep state, the currently opened audio/video player is automatically turned off, and the present embodiment is
  • the method of controlling the playing of audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
  • an embodiment of the present invention provides an apparatus for indicating playing audio/audio and video data, including:
  • a biological state information acquiring unit configured to acquire biometric state information of the user
  • a play indication unit configured to send the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
  • the play indication unit sends the bio-status information of the user to the mobile terminal, including:
  • bio-state includes an awake state, a sleep state, and a sleep process state.
  • biometric state information is a biometric state parameter for determining a biological state in which the user is located
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the biological state of the user is monitored and the bio-state information is transmitted to the mobile terminal, so that the terminal can automatically turn off the audio/video player when determining that the user is in a sleep state, by the control of the embodiment.
  • the method of playing audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
  • an embodiment of the present invention provides a mobile terminal, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • the audio/audio and video data is stopped from playing.
  • an electronic device including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
  • embodiments of the present invention provide a non-volatile computer storage medium storing computer instructions for causing the computer to perform the above-described control to play audio/sound The method of video data.
  • embodiments of the present invention provide a non-volatile computer storage medium storing computer instructions for causing the computer to perform the above-described indication to play an audio/sound The method of video data.
  • embodiments of the present invention provide a computer program product comprising a computer program stored on a non-volatile computer storage medium, the computer program comprising program instructions, when the program instructions are When the computer is executed, the computer is caused to perform the above-described method of controlling playback of audio/audio and video data.
  • embodiments of the present invention provide a computer program product comprising a computer program stored on a non-volatile computer storage medium, the computer program comprising program instructions, when the program instructions are The computer, when executed, causes the computer to perform the above-described method of instructing to play audio/audio and video data.
  • FIG. 1 is a schematic flow chart of a method for controlling playback of audio/audio and video data according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for indicating playing audio/audio and video data according to an embodiment of the present invention
  • FIG. 3 is a functional block diagram of an apparatus for controlling playback of audio/audio and video data according to an embodiment of the present invention
  • FIG. 4 is a functional block diagram of an apparatus for indicating playing audio/audio and video data according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device for performing a method for indicating playing audio/audio and video data according to an embodiment of the present invention.
  • the word “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting.”
  • the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) “Time” or “in response to a test (condition or event stated)”.
  • the current user wearing device has the functions of detecting heart rate, breathing breath, etc., so that the user can be captured whether the user is in a sleep state.
  • the present invention provides a method for indicating and controlling the playing of audio/audio and video data based on the function of the user wearing the device. And equipment.
  • the embodiment of the present invention provides a method for controlling playback of audio/audio and video data.
  • the method is applied to a mobile terminal with an audio/audio/video player.
  • FIG. 1 is a control provided by an embodiment of the present invention.
  • a schematic flowchart of a method for playing audio/audio and video data, as shown in the figure, the method includes the following steps:
  • S101 Receive biological state information sent by a wearing device that monitors a user's biological state during playing audio/audio and video data.
  • the user's wearing device collects the biological state parameter to generate biological state information that can determine the biological state of the user, the wearing device of the user communicates with the mobile terminal, and transmits the obtained biological state information to the mobile terminal, so the mobile terminal plays the audio/audio video.
  • the user's biological state can be obtained by the user's wearing device.
  • the audio data is data played by an audio player.
  • the audio and video data is data played by the video player, including audio data and video data, or only video data, that is, the video player may play audio and video at the same time, or It is only playing video data in the mute state.
  • the biological state parameters such as respiratory rate, heart rate, pulse, and snoring will change, and these biological state parameters can be used to determine whether the user enters a sleep state.
  • the biometric information is a biometric parameter for determining a biological state in which the user is located.
  • the user's biological state parameter may be collected at a certain frequency, and the collected biological state parameter is directly sent to the mobile terminal device, and the mobile terminal device may determine whether the user is in a sleep state according to the biological state parameter.
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the user's biological state parameter may be collected at a certain frequency, and the biological state of the user is determined according to the collected biological state parameter, and the determined biological state is transmitted to the mobile terminal.
  • the biological state information received by the mobile terminal is a biological state that is sent by the user equipment when the biological state changes, that is, if the user equipment determines that the biological state does not change, the biological state may not be sent, so Further saving power consumption of the mobile terminal.
  • the biological state information received by the mobile terminal is that the user has entered the sleep state, that is, when the user equipment determines that the biological state changes and the changed biological state is the sleep state, the user has entered the sleep state indication to the mobile terminal, and moves.
  • the terminal does not need to receive information at other times, and can further save power consumption of the mobile terminal.
  • the music player is playing audio data
  • the music player is turned off
  • the video player is playing audio and video data
  • the method further includes:
  • Step S103 Determine, according to the bio-state information, that the biometric state in which the user is located is to enter a sleep process state, and reduce the volume of the played audio data.
  • the object status parameter determines whether the user enters a sleep state.
  • the biometric information is a biometric parameter for determining a biological state in which the user is located.
  • the biological state parameter of the user may be collected at a certain frequency, and the collected biological state parameter is directly sent to the mobile terminal device, and the mobile terminal device may determine whether the user is in the sleep process state or the sleep state according to the biological state parameter.
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the user's biological state parameter may be collected at a certain frequency, and the biological state of the user is determined according to the collected biological state parameter, and the determined biological state is transmitted to the mobile terminal.
  • the biological state information received by the mobile terminal is a biological state that is sent by the user equipment when the biological state changes, that is, if the user equipment determines that the biological state does not change, the biological state may not be sent, so Further saving power consumption of the mobile terminal.
  • the biological state information received by the mobile terminal is when the user has entered the sleep state or enters the sleep process state, that is, the user equipment determines that the biological state changes and the changed biological state is the sleep state or enters the sleep process state.
  • the user has entered the sleep state or entered the sleep process state indication to the mobile terminal, and the mobile terminal does not need to receive information at other times, which can further save the power consumption of the mobile terminal.
  • the volume of the audio data played by the music player is lowered, and if the video player is playing the audio and video data, the volume of the audio data played by the video player is lowered.
  • the wearing device is a smart bracelet or a smart watch, and the collected biological state parameters may be heart rate, pulse, respiratory rate or snoring information.
  • the smart bracelet or the smart watch can be bound to the mobile terminal to send the bio-status information to the bound mobile terminal, and the manner of sending can be the manner of broadcast transmission.
  • the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and automatically turns off when the user enters a sleep state.
  • the method of playing the audio/audio and video data by the control of the embodiment can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
  • the mobile terminal involved in the embodiments of the present invention may include, but is not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, and a tablet computer. , mobile phones, MP3 players, MP4 players, etc.
  • the execution body of S101-S103 may be a device for indicating audio/audio and video data, and the device may be located in an application of a local terminal, and the application may be independent of the audio and video playback application, or may be integrated into the audio and video playback application.
  • the functional unit of the plug-in or the software development kit (SDK) in the application of the local terminal is not limited in this embodiment of the present invention.
  • the application may be an application (nativeApp) installed on the terminal, or may be a web application (webApp) of the browser on the terminal, which is not limited by the embodiment of the present invention.
  • the embodiment of the present invention provides a method for instructing to play audio/audio and video data.
  • the method is applied to a user's wearing device.
  • FIG. 2 is an indication of playing audio/audio and video data according to an embodiment of the present invention.
  • a schematic flow diagram of the method as shown in the figure, the method comprises the following steps:
  • Step 201 Obtain biometric status information of the user.
  • the user's wearing device collects the biological state parameter to generate biological state information that can determine the biological state of the user, the wearing device of the user communicates with the mobile terminal, and transmits the obtained biological state information to the mobile terminal, so the mobile terminal plays the audio/audio video.
  • the user's biological state can be obtained by the user's wearing device.
  • the wearing device is a smart bracelet or a smart watch, and the collected biological state parameters may be heart rate, pulse, respiratory rate or snoring information.
  • Step 202 Send the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
  • the audio data is data played by an audio player.
  • the audio and video data is data played by the video player, including audio data and video data, or only video data, that is, the video player may play audio and video at the same time, or may only play video data in a mute state.
  • the smart bracelet or the smart watch can be bound to the mobile terminal to send the bio-status information to the bound mobile terminal, and the manner of sending can be the manner of broadcast transmission.
  • the biological state parameters such as respiratory rate, heart rate, pulse, and snoring are in a stable state in each state, but these biological state parameters also change when the state changes, therefore, Whether or not the biological state of the user is determined can be determined by these biological state parameters.
  • the biometric information is a biometric parameter for determining a biological state in which the user is located.
  • the biological state parameter of the user may be collected at a certain frequency, and the collected biological state parameter is directly sent to the mobile terminal device, so that the mobile terminal device can determine whether the user is in a sleep state according to the biological state parameter.
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the user's biological state parameter may be collected at a certain frequency, and the biological state of the user is determined according to the collected biological state parameter, and the determined biological state is transmitted to the mobile terminal.
  • sending the biometric information of the user to the mobile terminal includes:
  • bio-state includes an awake state, a sleep state, and a sleep process state.
  • the user equipment determines that the biometric state is transmitted when the biometric state changes, that is, if the user equipment determines that the biometric state has not changed, the biometric state may not be transmitted, which may further save power consumption of the mobile terminal.
  • the biological state information received by the mobile terminal is that the user has entered a sleep state, that is, when the user equipment determines that the biological state changes and the changed biological state is a sleep state, The user has entered the sleep state indication to the mobile terminal, and the mobile terminal does not need to receive information at other times, which can further save the power consumption of the mobile terminal.
  • the biological state of the user is monitored and the bio-state information is transmitted to the mobile terminal, so that the terminal can automatically turn off the audio/video player when determining that the user is in a sleep state, by the control of the embodiment.
  • the method of playing audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
  • Embodiments of the present invention further provide an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments.
  • FIG. 3 is a functional block diagram of an apparatus for controlling playback of audio/audio and video data according to an embodiment of the present invention. As shown, the device includes:
  • the biological state information receiving unit 301 is configured to receive biological state information sent by the wearing device that monitors the biological state of the user during the playing of the audio/audio video data;
  • the play control unit 302 is configured to stop playing the audio/audio video data when the biometric state of the user is determined to be a sleep state according to the biometric state information.
  • the play control unit is further configured to:
  • the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
  • the biological state information is a biological state parameter for determining a biological state in which the user is located;
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • the embodiment of the invention further provides a device for implementing the steps and methods in the foregoing method embodiments.
  • FIG. 4 is a functional block diagram of an apparatus for controlling playback of audio/audio and video data according to an embodiment of the present invention. As shown, the device includes:
  • a biological state information obtaining unit 401 configured to acquire biological state information of the user
  • the play indication unit 402 is configured to send the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
  • the playing indication unit sends the bio-status information of the user to the mobile terminal, including:
  • bio-state includes an awake state, a sleep state, and a sleep process state.
  • the biological state information is a biological state parameter for determining a biological state in which the user is located;
  • the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  • each module in this embodiment can perform the method shown in FIG. 2, and the parts not described in detail in this embodiment, reference may be made to the related description of FIG. 2.
  • the embodiment further provides a mobile terminal, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the audio/audio and video data is stopped from playing.
  • the embodiment further provides a wearing device of the user, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and when the user enters a sleep state, the currently opened audio/video player is automatically turned off, and the present embodiment is
  • the method of controlling the playing of audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
  • a fifth embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions that can perform control of playing audio/audio-video data in any of the above method embodiments. Methods.
  • Embodiment 6 of the present application provides a non-volatile computer storage medium storing computer-executable instructions executable to perform playback of audio/audio and video data in an embodiment of any of the above method embodiments. Methods.
  • FIG. 5 is a schematic diagram showing the hardware structure of an electronic device for indicating a method for playing audio/audio and video data provided in Embodiment 7 of the present application. As shown in FIG. 5, the device includes:
  • processors 510 and memory 520 one processor 510 is taken as an example in FIG.
  • the apparatus for performing the method of instructing to play the audio/audio and video data may further include: an input device 530 and an output device 540.
  • the processor 510, the memory 520, the input device 530, and the output device 540 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 520 as a non-volatile computer readable storage medium, can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as instructions for playing audio/audio-video data in the embodiments of the present application.
  • the method corresponds to a program instruction/module (for example, the bio-state information acquisition unit 401 and the play instruction unit 402 shown in FIG. 4).
  • the processor 510 executes various functional applications of the server and data processing by running non-volatile software programs, instructions, and modules stored in the memory 520, that is, a method of indicating playback of audio/audio-video data by the above method embodiments.
  • the memory 520 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 520 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 520 can optionally include memory remotely located relative to processor 510, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 530 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal.
  • the output device 540 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 520, and when executed by the one or more processors 510, perform a method of indicating playback of audio/audio and video data in any of the method embodiments described above.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiments of the invention provide a method of indicating and controlling playback of audio/video data, a device, a mobile terminal, an electronic apparatus, and a non-volatile computer storage medium. In one aspect of the invention, the method comprises: when playing back audio/video data, receiving physiological state information transmitted by a wearable device monitoring the physiological state information of a user; and when it is determined, according to the physiological state information, that the user is in a sleep state, stopping playback of the audio/video data. Therefore, the embodiment perfectly resolves problems of large power consumption of a mobile phone and affected sleep quality arising from a user forgetting to turn off a music player/video player before sleep. As a result, the technical solution provided by the embodiments of the invention can satisfy a playback requirement of a user and increase user experience.

Description

指示和控制播放音频/音视频数据的方法、装置、移动终端、电子设备及存储介质Method, device, mobile terminal, electronic device and storage medium for indicating and controlling playing audio/audio and video data
交叉引用cross reference
本申请要求于2016年3月29日提交中国专利局、申请号为201610187413.4、发明名称为“指示和控制播放音频/音视频数据的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610187413.4, entitled "Instruction and Control of Audio/Audio and Video Data Broadcasting Methods and Devices", filed on March 29, 2016, the entire contents of which are incorporated by reference. The citations are incorporated herein by reference.
技术领域Technical field
本申请涉及智能终端技术领域,尤其涉及一种指示和控制播放音频/音视频数据的方法、装置、移动终端、电子设备及非易失性计算机存储介质。The present application relates to the field of intelligent terminal technologies, and in particular, to a method, an apparatus, a mobile terminal, an electronic device, and a non-volatile computer storage medium for indicating and controlling audio/audio and video data.
背景技术Background technique
好多用户喜欢晚上睡觉前听音乐或看视频,但是有时候在播放的过程中就睡着了,忘了关闭音乐播放器或视频播放器,而播放音乐/视频是个十分耗电的程序,最终会导致手机电量耗尽影响第二天的使用或者影响睡眠质量。Many users like to listen to music or watch videos before going to bed at night, but sometimes they fall asleep during the playback process. Forgot to turn off the music player or video player, and playing music/video is a very power-hungry program. The exhaustion of the mobile phone affects the use of the next day or affects the quality of sleep.
目前有些音乐播放器/视频播放器可以设置定时关闭,但如果用户在进入睡眠后还未到达关闭时间时,仍会耗电。At present, some music players/video players can be set to turn off periodically, but if the user has not reached the off time after entering sleep, it will still consume power.
在实现本发明过程中,发明人发现现有技术中至少存在如下问题:In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art:
不管是定时关闭还是无法及时关闭音乐播放器/视频播放器,都会浪费部分电量,有可能会影响用户的正常使用。Whether it is timed off or unable to close the music player/video player in time, some of the power is wasted, which may affect the normal use of the user.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种指示和控制播放音频/音视频数据的方法、装置、移动终端、电子设备及非易失性计算机存储介质,用以解决现有技术在用户在进入睡眠状态后未关闭音频/视频播放器导致浪费电量的 问题。In view of this, the embodiments of the present invention provide a method, an apparatus, a mobile terminal, an electronic device, and a non-volatile computer storage medium for indicating and controlling audio/audio and video data, which are used to solve the prior art when a user enters The audio/video player is not turned off after sleep, resulting in wasted power problem.
一方面,本发明实施例提供了一种控制播放音频/音视频数据的方法,包括:In one aspect, an embodiment of the present invention provides a method for controlling playback of audio/audio and video data, including:
在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;In the process of playing audio/audio and video data, receiving biological state information sent by the wearing device that monitors the biological state of the user;
根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。When it is determined that the biometric state of the user is a sleep state according to the biometric information, the audio/audio and video data is stopped from playing.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,还包括:The foregoing aspect and any possible implementation manner further provide an implementation manner, further including:
根据所述生物状态信息确定用户所处的生物状态为进入睡眠过程状态时,降低播放音频数据的音量。Determining, according to the bio-state information, that the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;The aspect as described above and any possible implementation manner further provide an implementation manner, where the biometric state information is a biometric state parameter for determining a biological state in which the user is located;
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述佩戴设备为智能手环或智能手表。In an aspect as described above and any possible implementation manner, an implementation manner is further provided, the wearing device being a smart bracelet or a smart watch.
上述技术方案中的一个技术方案具有如下有益效果:One of the above technical solutions has the following beneficial effects:
在播放音频/音视频数据过程中,通过佩戴设备可以监控用户的生物状态,从而可以确定用户是否进入睡眠状态,在用户进入睡眠状态时,自动关闭当前打开的音频/视频播放器,通过本实施例的控制播放音频/音视频数据的方法可以避免用户睡眠状态下不必要的耗电,进而可以节省电量。In the process of playing audio/audio and video data, the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and when the user enters a sleep state, the currently opened audio/video player is automatically turned off, and the present embodiment is The method of controlling the playing of audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
另一方面,本发明实施例提供了一种指示播放音频/音视频数据的方法,包括:In another aspect, an embodiment of the present invention provides a method for indicating playing audio/audio and video data, including:
获取用户的生物状态信息;Obtaining biometric information of the user;
将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频 数据。Transmitting the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio video when determining that the biometric state of the user is a sleep state according to the bio-state information data.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,将所述用户的生物状态信息发送到移动终端,包括:The aspect as described above and any possible implementation manner further provide an implementation manner of transmitting the bio-status information of the user to the mobile terminal, including:
根据所述用户的生物状态信息确定用户的生物状态发生变化时,将所述用户的生物状态信息发送到移动终端,所述生物状态包括清醒状态、睡眠状态和进入睡眠过程状态。And determining, according to the bio-status information of the user, that the bio-status information of the user is sent to the mobile terminal, where the bio-state includes an awake state, a sleep state, and a sleep process state.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;The aspect as described above and any possible implementation manner further provide an implementation manner, where the biometric state information is a biometric state parameter for determining a biological state in which the user is located;
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
上述技术方案中的一个技术方案具有如下有益效果:One of the above technical solutions has the following beneficial effects:
在播放音频/音视频数据过程中,监控用户的生物状态并将生物状态信息发送到移动终端,从而可以使终端在确定用户处于睡眠状态时自动关闭音频/视频播放器,通过本实施例的控制播放音频/音视频数据的方法可以避免用户睡眠状态下不必要的耗电,进而可以节省电量。During the playing of the audio/audio video data, the biological state of the user is monitored and the bio-state information is transmitted to the mobile terminal, so that the terminal can automatically turn off the audio/video player when determining that the user is in a sleep state, by the control of the embodiment. The method of playing audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
另一方面,本发明实施例提供了一种控制播放音频/音视频数据的装置,包括:In another aspect, an embodiment of the present invention provides an apparatus for controlling playback of audio/audio and video data, including:
生物状态信息接收单元,用于在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;a biological state information receiving unit, configured to receive biological state information sent by a wearing device that monitors a user's biological state during playing audio/audio and video data;
播放控制单元,用于根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。The play control unit is configured to stop playing the audio/audio video data when determining that the biometric state of the user is a sleep state according to the biometric state information.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述播放控制单元还用于:The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the play control unit is further configured to:
根据所述生物状态信息确定用户所处的生物状态为进入睡眠过程状态时,降低播放音频数据的音量。Determining, according to the bio-state information, that the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数; The aspect as described above and any possible implementation manner further provide an implementation manner, where the biometric state information is a biometric state parameter for determining a biological state in which the user is located;
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
上述技术方案中的一个技术方案具有如下有益效果:One of the above technical solutions has the following beneficial effects:
在播放音频/音视频数据过程中,通过佩戴设备可以监控用户的生物状态,从而可以确定用户是否进入睡眠状态,在用户进入睡眠状态时,自动关闭当前打开的音频/视频播放器,通过本实施例的控制播放音频/音视频数据的方法可以避免用户睡眠状态下不必要的耗电,进而可以节省电量。In the process of playing audio/audio and video data, the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and when the user enters a sleep state, the currently opened audio/video player is automatically turned off, and the present embodiment is The method of controlling the playing of audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
另一方面,本发明实施例提供了一种指示播放音频/音视频数据的装置,包括:In another aspect, an embodiment of the present invention provides an apparatus for indicating playing audio/audio and video data, including:
生物状态信息获取单元,用于获取用户的生物状态信息;a biological state information acquiring unit, configured to acquire biometric state information of the user;
播放指示单元,用于将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。And a play indication unit, configured to send the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述播放指示单元将所述用户的生物状态信息发送到移动终端,包括:The aspect as described above, and any possible implementation manner, further provides an implementation manner, in which the play indication unit sends the bio-status information of the user to the mobile terminal, including:
根据所述用户的生物状态信息确定用户的生物状态发生变化时,将所述用户的生物状态信息发送到移动终端,所述生物状态包括清醒状态、睡眠状态和进入睡眠过程状态。And determining, according to the bio-status information of the user, that the bio-status information of the user is sent to the mobile terminal, where the bio-state includes an awake state, a sleep state, and a sleep process state.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;The aspect as described above and any possible implementation manner further provide an implementation manner, where the biometric state information is a biometric state parameter for determining a biological state in which the user is located;
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
上述技术方案中的一个技术方案具有如下有益效果:One of the above technical solutions has the following beneficial effects:
在播放音频/音视频数据过程中,监控用户的生物状态并将生物状态信息发送到移动终端,从而可以使终端在确定用户处于睡眠状态时自动关闭音频/视频播放器,通过本实施例的控制播放音频/音视频数据的方法可以避免用户睡眠状态下不必要的耗电,进而可以节省电量。During the playing of the audio/audio video data, the biological state of the user is monitored and the bio-state information is transmitted to the mobile terminal, so that the terminal can automatically turn off the audio/video player when determining that the user is in a sleep state, by the control of the embodiment. The method of playing audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
另一方面,本发明实施例提供了一种移动终端,包括: On the other hand, an embodiment of the present invention provides a mobile terminal, including:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器,其中,a memory communicatively coupled to the at least one processor, wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;In the process of playing audio/audio and video data, receiving biological state information sent by the wearing device that monitors the biological state of the user;
根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。When it is determined that the biometric state of the user is a sleep state according to the biometric information, the audio/audio and video data is stopped from playing.
另一方面,本发明实施例提供了一种电子设备,包括:In another aspect, an embodiment of the present invention provides an electronic device, including:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器,其中,a memory communicatively coupled to the at least one processor, wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
获取用户的生物状态信息;Obtaining biometric information of the user;
将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。Transmitting the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing the audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
另一方面,本发明实施例提供了一种非易失性计算机存储介质,所述非易失性计算机存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述控制播放音频/音视频数据的方法。In another aspect, embodiments of the present invention provide a non-volatile computer storage medium storing computer instructions for causing the computer to perform the above-described control to play audio/sound The method of video data.
另一方面,本发明实施例提供了一种非易失性计算机存储介质,所述非易失性计算机存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述指示播放音频/音视频数据的方法。In another aspect, embodiments of the present invention provide a non-volatile computer storage medium storing computer instructions for causing the computer to perform the above-described indication to play an audio/sound The method of video data.
另一方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述控制播放音频/音视频数据的方法。 In another aspect, embodiments of the present invention provide a computer program product comprising a computer program stored on a non-volatile computer storage medium, the computer program comprising program instructions, when the program instructions are When the computer is executed, the computer is caused to perform the above-described method of controlling playback of audio/audio and video data.
另一方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述指示播放音频/音视频数据的方法。In another aspect, embodiments of the present invention provide a computer program product comprising a computer program stored on a non-volatile computer storage medium, the computer program comprising program instructions, when the program instructions are The computer, when executed, causes the computer to perform the above-described method of instructing to play audio/audio and video data.
附图概述BRIEF abstract
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1是本发明实施例所提供的控制播放音频/音视频数据的方法的流程示意图;1 is a schematic flow chart of a method for controlling playback of audio/audio and video data according to an embodiment of the present invention;
图2是本发明实施例所提供的指示播放音频/音视频数据的方法的流程示意图;2 is a schematic flowchart of a method for indicating playing audio/audio and video data according to an embodiment of the present invention;
图3是本发明实施例所提供的控制播放音频/音视频数据的装置的功能方块图;3 is a functional block diagram of an apparatus for controlling playback of audio/audio and video data according to an embodiment of the present invention;
图4是本发明实施例所提供的指示播放音频/音视频数据的装置的功能方块图;4 is a functional block diagram of an apparatus for indicating playing audio/audio and video data according to an embodiment of the present invention;
图5是本发明实施例所提供的执行指示播放音频/音视频数据的方法的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device for performing a method for indicating playing audio/audio and video data according to an embodiment of the present invention.
本申请的较佳实施方式Preferred embodiment of the present application
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。For a better understanding of the technical solutions of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的 “一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present invention are for the purpose of describing particular embodiments only and are not intended to limit the invention. Singular form used in the embodiments of the invention and the appended claims The words "a", "an" and "the" are also intended
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" as used herein is merely an association describing the associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, while A and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting." Similarly, depending on the context, the phrase "if determined" or "if detected (conditions or events stated)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event) "Time" or "in response to a test (condition or event stated)".
目前的用户佩戴设备具有检测心率、呼吸气息等功能,这样就可以捕捉到用户是否处于睡眠状态的信息,本发明基于用户佩戴设备的该功能提供一种指示和控制播放音频/音视频数据的方法及装置。The current user wearing device has the functions of detecting heart rate, breathing breath, etc., so that the user can be captured whether the user is in a sleep state. The present invention provides a method for indicating and controlling the playing of audio/audio and video data based on the function of the user wearing the device. And equipment.
实施例一Embodiment 1
本发明实施例给出一种控制播放音频/音视频数据的方法,该方法应用于带有音频/音视频播放器的移动终端上,请参考图1,其为本发明实施例所提供的控制播放音频/音视频数据的方法的流程示意图,如图所示,该方法包括以下步骤:The embodiment of the present invention provides a method for controlling playback of audio/audio and video data. The method is applied to a mobile terminal with an audio/audio/video player. Please refer to FIG. 1 , which is a control provided by an embodiment of the present invention. A schematic flowchart of a method for playing audio/audio and video data, as shown in the figure, the method includes the following steps:
S101,在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;S101. Receive biological state information sent by a wearing device that monitors a user's biological state during playing audio/audio and video data.
用户的佩戴设备采集生物状态参数生成可以确定用户生物状态的生物状态信息,该用户的佩戴设备与移动终端通信,并将得到的生物状态信息发送给移动终端,因此移动终端在播放音频/音视频数据时,通过用户的佩戴设备可以获得用户的生物状态。The user's wearing device collects the biological state parameter to generate biological state information that can determine the biological state of the user, the wearing device of the user communicates with the mobile terminal, and transmits the obtained biological state information to the mobile terminal, so the mobile terminal plays the audio/audio video. In the case of data, the user's biological state can be obtained by the user's wearing device.
所述音频数据为音频播放器所播放的数据。The audio data is data played by an audio player.
所述音视频数据为视频播放器所播放的数据,包括音频数据和视频数据,或者仅包括视频数据,即视频播放器可能同时播放音频和视频,也可能 是在静音状态下仅播放视频数据。The audio and video data is data played by the video player, including audio data and video data, or only video data, that is, the video player may play audio and video at the same time, or It is only playing video data in the mute state.
S102,根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。S102. Stop, when the biometric state of the user is determined to be a sleep state, stop playing audio/audio and video data.
用户进入睡眠状态时,呼吸频率、心率、脉搏、鼾声等生物状态参数会发生变化,可以通过这些生物状态参数确定是否用户进入睡眠状态。When the user enters the sleep state, the biological state parameters such as respiratory rate, heart rate, pulse, and snoring will change, and these biological state parameters can be used to determine whether the user enters a sleep state.
所述生物状态信息为用于确定用户所处的生物状态的生物状态参数。The biometric information is a biometric parameter for determining a biological state in which the user is located.
对于用户佩戴设备,可以采用一定频率采集用户的生物状态参数,并将采集的生物状态参数直接发送到移动终端设备,移动终端设备根据生物状态参数可以确定用户是否处于睡眠状态。For the user to wear the device, the user's biological state parameter may be collected at a certain frequency, and the collected biological state parameter is directly sent to the mobile terminal device, and the mobile terminal device may determine whether the user is in a sleep state according to the biological state parameter.
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
对于用户佩戴设备,可以采用一定频率采集用户的生物状态参数,并根据采集的生物状态参数确定用户所处的生物状态,将确定生物状态发送到移动终端。For the user to wear the device, the user's biological state parameter may be collected at a certain frequency, and the biological state of the user is determined according to the collected biological state parameter, and the determined biological state is transmitted to the mobile terminal.
可选地,移动终端所接收的生物状态信息,是用户设备确定到生物状态发生变化时发送的生物状态,即如果用户设备确定生物状态没有发生变化的情况下,可以不发送生物状态,这样可以进一步节省移动终端的耗电。Optionally, the biological state information received by the mobile terminal is a biological state that is sent by the user equipment when the biological state changes, that is, if the user equipment determines that the biological state does not change, the biological state may not be sent, so Further saving power consumption of the mobile terminal.
进一步地,移动终端所接收的生物状态信息是用户已进入睡眠状态,即用户设备确定到生物状态发生变化且变化后的生物状态为睡眠状态时,将用户已进入睡眠状态指示给移动终端,移动终端其他时候不用接收信息,可以更进一步地节省移动终端的耗电。Further, the biological state information received by the mobile terminal is that the user has entered the sleep state, that is, when the user equipment determines that the biological state changes and the changed biological state is the sleep state, the user has entered the sleep state indication to the mobile terminal, and moves. The terminal does not need to receive information at other times, and can further save power consumption of the mobile terminal.
确定用户已进入睡眠状态时,如果音乐播放器正在播放音频数据,则关闭音乐播放器,如果视频播放器正在播放音视频数据,关闭视频播放器。When the user has entered the sleep state, if the music player is playing audio data, the music player is turned off, and if the video player is playing audio and video data, the video player is turned off.
可选地,在执行步骤S101,还包括:Optionally, in performing step S101, the method further includes:
步骤S103,根据所述生物状态信息确定用户所处的生物状态为进入睡眠过程状态时,降低播放音频数据的音量。Step S103: Determine, according to the bio-state information, that the biometric state in which the user is located is to enter a sleep process state, and reduce the volume of the played audio data.
用户进入睡眠状态时,呼吸频率、心率、脉搏、鼾声等生物状态参数相比清醒状态会发生变化,但又不同于进入睡眠状态,因此,可以通过这些生 物状态参数确定是否用户进入睡眠状态。When the user enters the sleep state, the biological state parameters such as respiratory rate, heart rate, pulse, and snoring change compared with the awake state, but it is different from entering the sleep state. Therefore, it is possible to pass these births. The object status parameter determines whether the user enters a sleep state.
所述生物状态信息为用于确定用户所处的生物状态的生物状态参数。The biometric information is a biometric parameter for determining a biological state in which the user is located.
对于用户佩戴设备,可以采用一定频率采集用户的生物状态参数,并将采集的生物状态参数直接发送到移动终端设备,移动终端设备根据生物状态参数可以确定用户是否处于进入睡眠过程状态或睡眠状态。For the user wearing the device, the biological state parameter of the user may be collected at a certain frequency, and the collected biological state parameter is directly sent to the mobile terminal device, and the mobile terminal device may determine whether the user is in the sleep process state or the sleep state according to the biological state parameter.
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
对于用户佩戴设备,可以采用一定频率采集用户的生物状态参数,并根据采集的生物状态参数确定用户所处的生物状态,将确定生物状态发送到移动终端。For the user to wear the device, the user's biological state parameter may be collected at a certain frequency, and the biological state of the user is determined according to the collected biological state parameter, and the determined biological state is transmitted to the mobile terminal.
可选地,移动终端所接收的生物状态信息,是用户设备确定到生物状态发生变化时发送的生物状态,即如果用户设备确定生物状态没有发生变化的情况下,可以不发送生物状态,这样可以进一步节省移动终端的耗电。Optionally, the biological state information received by the mobile terminal is a biological state that is sent by the user equipment when the biological state changes, that is, if the user equipment determines that the biological state does not change, the biological state may not be sent, so Further saving power consumption of the mobile terminal.
进一步地,移动终端所接收的生物状态信息是用户已进入睡眠状态或为进入睡眠过程状态时,即用户设备确定到生物状态发生变化且变化后的生物状态为睡眠状态或为进入睡眠过程状态时,将用户已进入睡眠状态或进入睡眠过程状态指示给移动终端,移动终端其他时候不用接收信息,可以更进一步地节省移动终端的耗电。Further, the biological state information received by the mobile terminal is when the user has entered the sleep state or enters the sleep process state, that is, the user equipment determines that the biological state changes and the changed biological state is the sleep state or enters the sleep process state. The user has entered the sleep state or entered the sleep process state indication to the mobile terminal, and the mobile terminal does not need to receive information at other times, which can further save the power consumption of the mobile terminal.
确定用户为进入睡眠过程状态时,如果音乐播放器正在播放音频数据,则降低音乐播放器播放音频数据的音量,如果视频播放器正在播放音视频数据,则降低视频播放器播放音频数据的音量。When the user enters the sleep process state, if the music player is playing audio data, the volume of the audio data played by the music player is lowered, and if the video player is playing the audio and video data, the volume of the audio data played by the video player is lowered.
所述佩戴设备为智能手环或智能手表,所采集的生物状态参数可以心率、脉搏、呼吸频率或打鼾信息等。The wearing device is a smart bracelet or a smart watch, and the collected biological state parameters may be heart rate, pulse, respiratory rate or snoring information.
智能手环或智能手表可以与移动终端绑定,将生物状态信息发送到绑定的移动终端上,发送的方式可以是广播发送的方式。The smart bracelet or the smart watch can be bound to the mobile terminal to send the bio-status information to the bound mobile terminal, and the manner of sending can be the manner of broadcast transmission.
本发明实施例的技术方案具有以下有益效果:The technical solution of the embodiment of the invention has the following beneficial effects:
在播放音频/音视频数据过程中,通过佩戴设备可以监控用户的生物状态,从而可以确定用户是否进入睡眠状态,在用户进入睡眠状态时,自动关 闭当前打开的音频/视频播放器,通过本实施例的控制播放音频/音视频数据的方法可以避免用户睡眠状态下不必要的耗电,进而可以节省电量。In the process of playing audio/audio and video data, the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and automatically turns off when the user enters a sleep state. By closing the currently open audio/video player, the method of playing the audio/audio and video data by the control of the embodiment can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
需要说明的是,本发明实施例中所涉及的移动终端可以包括但不限于个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。It should be noted that the mobile terminal involved in the embodiments of the present invention may include, but is not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, and a tablet computer. , mobile phones, MP3 players, MP4 players, etc.
需要说明的是,S101~S103的执行主体可以为指示播放音频/音视频数据的装置,该装置可以位于本地终端的应用,该应用可以独立于音视频播放应用,也可以集成到音视频播放应用中,或者还可以为位于本地终端的应用中的插件或软件开发工具包(Software Development Kit,SDK)等功能单元,本发明实施例对此不进行特别限定。It should be noted that the execution body of S101-S103 may be a device for indicating audio/audio and video data, and the device may be located in an application of a local terminal, and the application may be independent of the audio and video playback application, or may be integrated into the audio and video playback application. The functional unit of the plug-in or the software development kit (SDK) in the application of the local terminal is not limited in this embodiment of the present invention.
可以理解的是,所述应用可以是安装在终端上的应用程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp),本发明实施例对此不进行限定。It is to be understood that the application may be an application (nativeApp) installed on the terminal, or may be a web application (webApp) of the browser on the terminal, which is not limited by the embodiment of the present invention.
实施例二Embodiment 2
本发明实施例给出一种指示播放音频/音视频数据的方法,该方法应用于用户的佩戴设备上,请参考图2,其为本发明实施例所提供的指示播放音频/音视频数据的方法的流程示意图,如图所示,该方法包括以下步骤:The embodiment of the present invention provides a method for instructing to play audio/audio and video data. The method is applied to a user's wearing device. Please refer to FIG. 2, which is an indication of playing audio/audio and video data according to an embodiment of the present invention. A schematic flow diagram of the method, as shown in the figure, the method comprises the following steps:
步骤201,获取用户的生物状态信息;Step 201: Obtain biometric status information of the user.
用户的佩戴设备采集生物状态参数生成可以确定用户生物状态的生物状态信息,该用户的佩戴设备与移动终端通信,并将得到的生物状态信息发送给移动终端,因此移动终端在播放音频/音视频数据时,通过用户的佩戴设备可以获得用户的生物状态。The user's wearing device collects the biological state parameter to generate biological state information that can determine the biological state of the user, the wearing device of the user communicates with the mobile terminal, and transmits the obtained biological state information to the mobile terminal, so the mobile terminal plays the audio/audio video. In the case of data, the user's biological state can be obtained by the user's wearing device.
所述佩戴设备为智能手环或智能手表,所采集的生物状态参数可以心率、脉搏、呼吸频率或打鼾信息等。The wearing device is a smart bracelet or a smart watch, and the collected biological state parameters may be heart rate, pulse, respiratory rate or snoring information.
步骤202,将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。 Step 202: Send the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
所述音频数据为音频播放器所播放的数据。The audio data is data played by an audio player.
所述音视频数据为视频播放器所播放的数据,包括音频数据和视频数据,或者仅包括视频数据,即视频播放器可能同时播放音频和视频,也可能是在静音状态下仅播放视频数据。The audio and video data is data played by the video player, including audio data and video data, or only video data, that is, the video player may play audio and video at the same time, or may only play video data in a mute state.
智能手环或智能手表可以与移动终端绑定,将生物状态信息发送到绑定的移动终端上,发送的方式可以是广播发送的方式。The smart bracelet or the smart watch can be bound to the mobile terminal to send the bio-status information to the bound mobile terminal, and the manner of sending can be the manner of broadcast transmission.
用户处于清醒状态、睡眠状态和进入睡眠过程状态时,呼吸频率、心率、脉搏、鼾声等生物状态参数在每个状态会处于稳定值,但状态变化时这些生物状态参数也会发生变化,因此,可以通过这些生物状态参数确定是否用户所处的生物状态。When the user is in an awake state, a sleep state, and a sleep state, the biological state parameters such as respiratory rate, heart rate, pulse, and snoring are in a stable state in each state, but these biological state parameters also change when the state changes, therefore, Whether or not the biological state of the user is determined can be determined by these biological state parameters.
所述生物状态信息为用于确定用户所处的生物状态的生物状态参数。The biometric information is a biometric parameter for determining a biological state in which the user is located.
对于用户佩戴设备,可以采用一定频率采集用户的生物状态参数,并将采集的生物状态参数直接发送到移动终端设备,以使移动终端设备根据生物状态参数可以确定用户是否处于睡眠状态。For the user wearing the device, the biological state parameter of the user may be collected at a certain frequency, and the collected biological state parameter is directly sent to the mobile terminal device, so that the mobile terminal device can determine whether the user is in a sleep state according to the biological state parameter.
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
对于用户佩戴设备,可以采用一定频率采集用户的生物状态参数,并根据采集的生物状态参数确定用户所处的生物状态,将确定生物状态发送到移动终端。For the user to wear the device, the user's biological state parameter may be collected at a certain frequency, and the biological state of the user is determined according to the collected biological state parameter, and the determined biological state is transmitted to the mobile terminal.
可选地,将所述用户的生物状态信息发送到移动终端,包括:Optionally, sending the biometric information of the user to the mobile terminal includes:
根据所述用户的生物状态信息确定用户的生物状态发生变化时,将所述用户的生物状态信息发送到移动终端,所述生物状态包括清醒状态、睡眠状态和进入睡眠过程状态。And determining, according to the bio-status information of the user, that the bio-status information of the user is sent to the mobile terminal, where the bio-state includes an awake state, a sleep state, and a sleep process state.
用户设备确定到生物状态发生变化时才向发送的生物状态,即如果用户设备确定生物状态没有发生变化的情况下,可以不发送生物状态,这样可以进一步节省移动终端的耗电。The user equipment determines that the biometric state is transmitted when the biometric state changes, that is, if the user equipment determines that the biometric state has not changed, the biometric state may not be transmitted, which may further save power consumption of the mobile terminal.
进一步地,移动终端所接收的生物状态信息是用户已进入睡眠状态,即用户设备确定到生物状态发生变化且变化后的生物状态为睡眠状态时,将用 户已进入睡眠状态指示给移动终端,移动终端其他时候不用接收信息,可以更进一步地节省移动终端的耗电。Further, the biological state information received by the mobile terminal is that the user has entered a sleep state, that is, when the user equipment determines that the biological state changes and the changed biological state is a sleep state, The user has entered the sleep state indication to the mobile terminal, and the mobile terminal does not need to receive information at other times, which can further save the power consumption of the mobile terminal.
本发明实施例的技术方案具有以下有益效果:The technical solution of the embodiment of the invention has the following beneficial effects:
在播放音频/音视频数据过程中,监控用户的生物状态并将生物状态信息发送到移动终端,从而可以使终端在确定用户处于睡眠状态时自动关闭音频/视频播放器,通过本实施例的控制播放音频/音视频数据的方法可以避免用户睡眠状态下不必要的耗电,进而可以节省电量。During the playing of the audio/audio video data, the biological state of the user is monitored and the bio-state information is transmitted to the mobile terminal, so that the terminal can automatically turn off the audio/video player when determining that the user is in a sleep state, by the control of the embodiment. The method of playing audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
实施例三Embodiment 3
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。Embodiments of the present invention further provide an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments.
请参考图3,其为本发明实施例所提供的控制播放音频/音视频数据的装置的功能方块图。如图所示,该装置包括:Please refer to FIG. 3 , which is a functional block diagram of an apparatus for controlling playback of audio/audio and video data according to an embodiment of the present invention. As shown, the device includes:
生物状态信息接收单元301,用于在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;The biological state information receiving unit 301 is configured to receive biological state information sent by the wearing device that monitors the biological state of the user during the playing of the audio/audio video data;
播放控制单元302,用于根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。The play control unit 302 is configured to stop playing the audio/audio video data when the biometric state of the user is determined to be a sleep state according to the biometric state information.
可选地,所述播放控制单元还用于:Optionally, the play control unit is further configured to:
根据所述生物状态信息确定用户所处的生物状态为进入睡眠过程状态时,降低播放音频数据的音量。Determining, according to the bio-state information, that the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
可选地,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;Optionally, the biological state information is a biological state parameter for determining a biological state in which the user is located;
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
由于本实施例中的各模块能够执行图1所示的方法,本实施例未详细描述的部分,可参考对图1的相关说明。Since each module in this embodiment can perform the method shown in FIG. 1, and the parts not described in detail in this embodiment, reference may be made to the related description of FIG.
实施例四Embodiment 4
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置 实施例。The embodiment of the invention further provides a device for implementing the steps and methods in the foregoing method embodiments. Example.
请参考图4,其为本发明实施例所提供的控制播放音频/音视频数据的装置的功能方块图。如图所示,该装置包括:Please refer to FIG. 4 , which is a functional block diagram of an apparatus for controlling playback of audio/audio and video data according to an embodiment of the present invention. As shown, the device includes:
生物状态信息获取单元401,用于获取用户的生物状态信息;a biological state information obtaining unit 401, configured to acquire biological state information of the user;
播放指示单元402,用于将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。The play indication unit 402 is configured to send the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
可选地,所述播放指示单元将所述用户的生物状态信息发送到移动终端,包括:Optionally, the playing indication unit sends the bio-status information of the user to the mobile terminal, including:
根据所述用户的生物状态信息确定用户的生物状态发生变化时,将所述用户的生物状态信息发送到移动终端,所述生物状态包括清醒状态、睡眠状态和进入睡眠过程状态。And determining, according to the bio-status information of the user, that the bio-status information of the user is sent to the mobile terminal, where the bio-state includes an awake state, a sleep state, and a sleep process state.
可选地,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;Optionally, the biological state information is a biological state parameter for determining a biological state in which the user is located;
或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
由于本实施例中的各模块能够执行图2所示的方法,本实施例未详细描述的部分,可参考对图2的相关说明。Since each module in this embodiment can perform the method shown in FIG. 2, and the parts not described in detail in this embodiment, reference may be made to the related description of FIG. 2.
本实施例还提供一种移动终端,包括:The embodiment further provides a mobile terminal, including:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;In the process of playing audio/audio and video data, receiving biological state information sent by the wearing device that monitors the biological state of the user;
根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。When it is determined that the biometric state of the user is a sleep state according to the biometric information, the audio/audio and video data is stopped from playing.
本实施例还提供一种用户的佩戴设备,包括: The embodiment further provides a wearing device of the user, including:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
获取用户的生物状态信息;Obtaining biometric information of the user;
将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。Transmitting the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing the audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
本发明实施例的技术方案具有以下有益效果:The technical solution of the embodiment of the invention has the following beneficial effects:
在播放音频/音视频数据过程中,通过佩戴设备可以监控用户的生物状态,从而可以确定用户是否进入睡眠状态,在用户进入睡眠状态时,自动关闭当前打开的音频/视频播放器,通过本实施例的控制播放音频/音视频数据的方法可以避免用户睡眠状态下不必要的耗电,进而可以节省电量。In the process of playing audio/audio and video data, the user's biological state can be monitored by wearing the device, so that it can be determined whether the user enters a sleep state, and when the user enters a sleep state, the currently opened audio/video player is automatically turned off, and the present embodiment is The method of controlling the playing of audio/audio and video data can avoid unnecessary power consumption in the sleep state of the user, thereby saving power.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
实施例五Embodiment 5
本申请实施例五提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的控制播放音频/音视频数据的方法。A fifth embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions that can perform control of playing audio/audio-video data in any of the above method embodiments. Methods.
实施例六Embodiment 6
本申请实施例六提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的指示播放音频/音视频数据的方法。Embodiment 6 of the present application provides a non-volatile computer storage medium storing computer-executable instructions executable to perform playback of audio/audio and video data in an embodiment of any of the above method embodiments. Methods.
实施例七Example 7
图5是本申请实施例七提供的指示播放音频/音视频数据的方法的电子设备的硬件结构示意图,如图5所示,该设备包括:5 is a schematic diagram showing the hardware structure of an electronic device for indicating a method for playing audio/audio and video data provided in Embodiment 7 of the present application. As shown in FIG. 5, the device includes:
一个或多个处理器510以及存储器520,图5中以一个处理器510为例。 One or more processors 510 and memory 520, one processor 510 is taken as an example in FIG.
执行指示播放音频/音视频数据的方法的设备还可以包括:输入装置530和输出装置540。The apparatus for performing the method of instructing to play the audio/audio and video data may further include: an input device 530 and an output device 540.
处理器510、存储器520、输入装置530和输出装置540可以通过总线或者其他方式连接,图5中以通过总线连接为例。The processor 510, the memory 520, the input device 530, and the output device 540 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器520作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的指示播放音频/音视频数据的方法对应的程序指令/模块(例如,附图4所示的生物状态信息获取单元401和播放指示单元402)。处理器510通过运行存储在存储器520中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例指示播放音频/音视频数据的方法。The memory 520, as a non-volatile computer readable storage medium, can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as instructions for playing audio/audio-video data in the embodiments of the present application. The method corresponds to a program instruction/module (for example, the bio-state information acquisition unit 401 and the play instruction unit 402 shown in FIG. 4). The processor 510 executes various functional applications of the server and data processing by running non-volatile software programs, instructions, and modules stored in the memory 520, that is, a method of indicating playback of audio/audio-video data by the above method embodiments.
存储器520可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器520可选包括相对于处理器510远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 520 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 520 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, memory 520 can optionally include memory remotely located relative to processor 510, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置530可接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。输出装置540可包括显示屏等显示设备。 Input device 530 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. The output device 540 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器520中,当被所述一个或者多个处理器510执行时,执行上述任意方法实施例中的指示播放音频/音视频数据的方法。The one or more modules are stored in the memory 520, and when executed by the one or more processors 510, perform a method of indicating playback of audio/audio and video data in any of the method embodiments described above.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。 The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on such understanding, the above technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (19)

  1. 一种控制播放音频/音视频数据的方法,应用于移动终端上,其特征在于,所述方法包括:A method for controlling playback of audio/audio and video data, applied to a mobile terminal, characterized in that the method comprises:
    在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;In the process of playing audio/audio and video data, receiving biological state information sent by the wearing device that monitors the biological state of the user;
    根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。When it is determined that the biometric state of the user is a sleep state according to the biometric information, the audio/audio and video data is stopped from playing.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    根据所述生物状态信息确定用户所处的生物状态为进入睡眠过程状态时,降低播放音频数据的音量。Determining, according to the bio-state information, that the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
  3. 根据权利要求1或2所述的方法,其特征在于,Method according to claim 1 or 2, characterized in that
    所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;The biological state information is a biological state parameter for determining a biological state in which the user is located;
    或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  4. 根据权利要求1或2所述的方法,其特征在于,所述佩戴设备为智能手环或智能手表。The method according to claim 1 or 2, wherein the wearing device is a smart bracelet or a smart watch.
  5. 一种指示播放音频/音视频数据的方法,应用于电子设备上,其特征在于,包括:A method for indicating playing audio/audio and video data, which is applied to an electronic device, and includes:
    获取用户的生物状态信息;Obtaining biometric information of the user;
    将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。Transmitting the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing the audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
  6. 根据权利要求5所述的方法,其特征在于,将所述用户的生物状态信息发送到移动终端,包括:The method according to claim 5, wherein the transmitting the biometric information of the user to the mobile terminal comprises:
    根据所述用户的生物状态信息确定用户的生物状态发生变化时,将所述用户的生物状态信息发送到移动终端,所述生物状态包括清醒状态、睡眠状态和进入睡眠过程状态。 And determining, according to the bio-status information of the user, that the bio-status information of the user is sent to the mobile terminal, where the bio-state includes an awake state, a sleep state, and a sleep process state.
  7. 根据权利要求5或6所述的方法,其特征在于,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;The method according to claim 5 or 6, wherein the biological state information is a biological state parameter for determining a biological state in which the user is located;
    或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  8. 一种控制播放音频/音视频数据的装置,其特征在于,包括:An apparatus for controlling playback of audio/audio and video data, comprising:
    生物状态信息接收单元,用于在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;a biological state information receiving unit, configured to receive biological state information sent by a wearing device that monitors a user's biological state during playing audio/audio and video data;
    播放控制单元,用于根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。The play control unit is configured to stop playing the audio/audio video data when determining that the biometric state of the user is a sleep state according to the biometric state information.
  9. 根据权利要求8所述的装置,其特征在于,所述播放控制单元还用于:The device according to claim 8, wherein the playback control unit is further configured to:
    根据所述生物状态信息确定用户所处的生物状态为进入睡眠过程状态时,降低播放音频数据的音量。Determining, according to the bio-state information, that the biometric state in which the user is located is a state in which the audio data is played when the sleep state is entered.
  10. 根据权利要求8或9所述的装置,其特征在于,Device according to claim 8 or 9, characterized in that
    所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;The biological state information is a biological state parameter for determining a biological state in which the user is located;
    或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  11. 一种指示播放音频/音视频数据的装置,其特征在于,包括:An apparatus for indicating playing audio/audio and video data, comprising:
    生物状态信息获取单元,用于获取用户的生物状态信息;a biological state information acquiring unit, configured to acquire biometric state information of the user;
    播放指示单元,用于将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。And a play indication unit, configured to send the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
  12. 根据权利要求11所述的装置,其特征在于,所述播放指示单元将所述用户的生物状态信息发送到移动终端,包括:The device according to claim 11, wherein the playing indication unit sends the biometric information of the user to the mobile terminal, including:
    根据所述用户的生物状态信息确定用户的生物状态发生变化时,将所述用户的生物状态信息发送到移动终端,所述生物状态包括清醒状态、睡眠状态和进入睡眠过程状态。 And determining, according to the bio-status information of the user, that the bio-status information of the user is sent to the mobile terminal, where the bio-state includes an awake state, a sleep state, and a sleep process state.
  13. 根据权利要求11或12所述的装置,其特征在于,所述生物状态信息为用于确定用户所处的生物状态的生物状态参数;The apparatus according to claim 11 or 12, wherein said biological state information is a biological state parameter for determining a biological state in which the user is located;
    或者,所述生物状态信息为所述佩戴设备根据生物状态参数确定的用户所处的生物状态。Alternatively, the biological state information is a biological state of the user determined by the wearing device according to the biological state parameter.
  14. 一种移动终端,包括:A mobile terminal includes:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器,其中,a memory communicatively coupled to the at least one processor, wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    在播放音频/音视频数据过程中,接收监控用户生物状态的佩戴设备发送的生物状态信息;In the process of playing audio/audio and video data, receiving biological state information sent by the wearing device that monitors the biological state of the user;
    根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。When it is determined that the biometric state of the user is a sleep state according to the biometric information, the audio/audio and video data is stopped from playing.
  15. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器,其中,a memory communicatively coupled to the at least one processor, wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    获取用户的生物状态信息;Obtaining biometric information of the user;
    将所述用户的生物状态信息发送到移动终端,以使所述移动终端根据所述生物状态信息确定用户的生物状态为睡眠状态时,停止播放音频/音视频数据。Transmitting the bio-status information of the user to the mobile terminal, so that the mobile terminal stops playing the audio/audio-video data when the bio-status of the user is determined to be a sleep state according to the bio-state information.
  16. 一种非易失性计算机存储介质,其特征在于,所述非易失性计算机存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-4任一项所述的方法。A non-volatile computer storage medium, characterized in that the non-volatile computer storage medium stores computer instructions for causing the computer to perform the method of any of claims 1-4 .
  17. 一种非易失性计算机存储介质,其特征在于,所述非易失性计算机存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求 5-7任一项所述的方法。A non-volatile computer storage medium, characterized in that the non-volatile computer storage medium stores computer instructions for causing the computer to execute the claims The method of any of 5-7.
  18. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-4任一项所述的方法。A computer program product comprising a computer program stored on a non-volatile computer storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute a right The method of any of claims 1-4.
  19. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求5-7任一项所述的方法。 A computer program product comprising a computer program stored on a non-volatile computer storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute a right The method of any of 5-7 is claimed.
PCT/CN2016/096886 2016-03-29 2016-08-26 Method of indicating and controlling playback of audio/video data, device, mobile terminal, electronic apparatus, and storage medium WO2017166638A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016101874134 2016-03-29
CN201610187413.4A CN105895126A (en) 2016-03-29 2016-03-29 Method and apparatus for indicating and controlling playing audio/audio and video data

Publications (1)

Publication Number Publication Date
WO2017166638A1 true WO2017166638A1 (en) 2017-10-05

Family

ID=57014316

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096886 WO2017166638A1 (en) 2016-03-29 2016-08-26 Method of indicating and controlling playback of audio/video data, device, mobile terminal, electronic apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN105895126A (en)
WO (1) WO2017166638A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333693A (en) * 2020-09-04 2021-02-05 深圳Tcl新技术有限公司 Control method of playback apparatus, and computer-readable storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105895126A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Method and apparatus for indicating and controlling playing audio/audio and video data
CN106303714A (en) * 2016-09-14 2017-01-04 北京小米移动软件有限公司 The control method of multimedia equipment, device and terminal unit
CN106506846A (en) * 2016-11-22 2017-03-15 广东小天才科技有限公司 A kind of method and device of control terminal audio frequency broadcast state
CN108810749B (en) * 2018-06-08 2021-04-06 Oppo(重庆)智能科技有限公司 Player control method, device, terminal equipment and storage medium
CN109688505A (en) * 2019-01-23 2019-04-26 陕西理工大学 A kind of earphone broadcast control device and method
CN111292771A (en) * 2020-02-24 2020-06-16 青岛海尔多媒体有限公司 Method and device for controlling audio and video equipment and terminal equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011071460A1 (en) * 2009-12-10 2011-06-16 Echostar Ukraine, L.L.C. System and method for adjusting presentation characteristics of audio/video content in response to detection of user sleeping patterns
CN102114303A (en) * 2009-12-30 2011-07-06 深圳富泰宏精密工业有限公司 Hypnotizing device and method
CN103137157A (en) * 2013-01-24 2013-06-05 中国联合网络通信集团有限公司 Terminal media play control method, terminal media play control device and terminal
CN103295604A (en) * 2013-05-23 2013-09-11 华为终端有限公司 Terminal, and playing control method and playing control device for same
CN103369098A (en) * 2012-03-26 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Method for automatic shutdown of terminal and terminal
CN103680545A (en) * 2013-12-27 2014-03-26 深圳市通力科技开发有限公司 Voice frequency playing system and playing control method thereof
CN104318934A (en) * 2014-09-11 2015-01-28 小米科技有限责任公司 Method, terminal, wearable device and play device for closing multimedia file
CN104410747A (en) * 2014-10-17 2015-03-11 广东欧珀移动通信有限公司 A method and system for controlling automatically an audio and video application by a wearable intelligent device
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play
JP2015126869A (en) * 2013-12-30 2015-07-09 瑞軒科技股▲分▼有限公司 Sleep aid system and sleep aid method
CN105895126A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Method and apparatus for indicating and controlling playing audio/audio and video data

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011071460A1 (en) * 2009-12-10 2011-06-16 Echostar Ukraine, L.L.C. System and method for adjusting presentation characteristics of audio/video content in response to detection of user sleeping patterns
CN102114303A (en) * 2009-12-30 2011-07-06 深圳富泰宏精密工业有限公司 Hypnotizing device and method
CN103369098A (en) * 2012-03-26 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Method for automatic shutdown of terminal and terminal
CN103137157A (en) * 2013-01-24 2013-06-05 中国联合网络通信集团有限公司 Terminal media play control method, terminal media play control device and terminal
CN103295604A (en) * 2013-05-23 2013-09-11 华为终端有限公司 Terminal, and playing control method and playing control device for same
CN103680545A (en) * 2013-12-27 2014-03-26 深圳市通力科技开发有限公司 Voice frequency playing system and playing control method thereof
JP2015126869A (en) * 2013-12-30 2015-07-09 瑞軒科技股▲分▼有限公司 Sleep aid system and sleep aid method
CN104318934A (en) * 2014-09-11 2015-01-28 小米科技有限责任公司 Method, terminal, wearable device and play device for closing multimedia file
CN104410747A (en) * 2014-10-17 2015-03-11 广东欧珀移动通信有限公司 A method and system for controlling automatically an audio and video application by a wearable intelligent device
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play
CN105895126A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Method and apparatus for indicating and controlling playing audio/audio and video data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333693A (en) * 2020-09-04 2021-02-05 深圳Tcl新技术有限公司 Control method of playback apparatus, and computer-readable storage medium

Also Published As

Publication number Publication date
CN105895126A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017166638A1 (en) Method of indicating and controlling playback of audio/video data, device, mobile terminal, electronic apparatus, and storage medium
JP6365939B2 (en) Sleep assist system
WO2017028678A1 (en) Communication method, server and device
WO2019007245A1 (en) Processing method, control method and recognition method, and apparatus and electronic device therefor
CN102065350B (en) Method, system and earphone for intelligently controlling multimedia playing
US20120092171A1 (en) Mobile device sleep monitoring using environmental sound
CN103680545A (en) Voice frequency playing system and playing control method thereof
US20170161338A1 (en) Information processing device, information processing method, and computer program
WO2017036028A1 (en) Electronic device, method and device for awakening the same
CN108810749B (en) Player control method, device, terminal equipment and storage medium
CN105282343A (en) Smart sleep reminding method and smart sleep reminding device
CN104168263B (en) A kind of server and its alarm clock implementing method
CN109116991A (en) Control method, device, storage medium and the wearable device of wearable device
CN109408663A (en) The playback method and device for music of sleeping
RU2630748C2 (en) Method and device for reminding about speech call
CN107147792A (en) A kind of method for automatically configuring audio, device, mobile terminal and storage device
WO2017166604A1 (en) Music control method, terminal, electronic device, and storage medium
KR20170035829A (en) Method and device for managing alarm clock, electronic device
CN109088987A (en) A kind of audio and video playing method, apparatus and electronic equipment
WO2021251082A1 (en) Game program, method, and information processing device
WO2022127477A1 (en) Method and apparatus for controlling smart playing terminal, and storage medium and smart wearable device
CN109391841A (en) The timing voice system for prompting and method of smart television
WO2016134540A1 (en) Wearable device
CN110658717A (en) Alarm clock control method, device, equipment and storage medium
CN108965605A (en) The control method and device of smart phone

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896408

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896408

Country of ref document: EP

Kind code of ref document: A1