WO2017215236A1 - Playback method and earphone - Google Patents

Playback method and earphone Download PDF

Info

Publication number
WO2017215236A1
WO2017215236A1 PCT/CN2016/112417 CN2016112417W WO2017215236A1 WO 2017215236 A1 WO2017215236 A1 WO 2017215236A1 CN 2016112417 W CN2016112417 W CN 2016112417W WO 2017215236 A1 WO2017215236 A1 WO 2017215236A1
Authority
WO
WIPO (PCT)
Prior art keywords
motion
motion data
earphone
voice
data
Prior art date
Application number
PCT/CN2016/112417
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 WO2017215236A1 publication Critical patent/WO2017215236A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0062Monitoring athletic performances, e.g. for determining the work of a user on an exercise apparatus, the completed jogging or cycling distance
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0087Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a playing method and an earphone.
  • the inventors have found that at least the following problems exist in the prior art: the user needs to view the motion data displayed by the motion monitoring device such as the pedometer in the motion process, which affects the motion rhythm.
  • the functionality of the earphone is poor, and only the audio signal such as voice or music provided by the external device can be played, and the motion data cannot be played.
  • the embodiment of the present invention provides a playing method and an earphone for solving the technical problem that the earphone cannot play the motion data in the prior art.
  • an embodiment of the present invention provides a playing method and an earphone, including: acquiring motion data; when receiving an instruction to broadcast the motion data through a headset, identifying the motion data to obtain A voice describing the motion data; the voice is played through the headset.
  • the first aspect and any possible implementation manners as described above further provide an implementation manner, where the motion data includes a step number, a motion distance result, and/or a motion duration, and the acquired motion data includes: The stepper acquires the motion data.
  • the acquiring the motion data includes: monitoring the motion state by using a sensor to obtain the motion data.
  • One of the above technical solutions has the following advantageous effects: by acquiring motion data, and when receiving an instruction to broadcast motion data through the earphone, the motion data is identified to obtain a voice for describing the motion data. And then the voice is played through the earphone.
  • the function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art.
  • an embodiment of the present invention provides an earphone, including: an acquiring module, configured to acquire motion data; and an identifying module, configured to: when receiving an instruction to broadcast the motion data, perform the motion data Identifying to obtain a voice for describing the motion data; and a playing module for playing the voice.
  • the second aspect and any possible implementation manners described above further provide an implementation manner, where the motion data includes a step count, a motion distance, and/or a motion duration, and the acquiring module is configured to step from the step The device acquires the motion data.
  • the second aspect and any possible implementation manners described above further provide an implementation manner, where the acquiring module is configured to monitor the motion state by using a sensor to obtain the motion data.
  • the earphone further includes: a state determining module, configured to determine, according to the motion trajectory obtained by the positioning, The motion state; and/or determining the motion state based on the magnitude of the vibration.
  • the playing module further includes: a control module, configured to pause the current location after receiving the instruction to broadcast the motion data
  • the played audio plays the voice; after the voice is played, the playback of the audio is resumed.
  • the motion data is acquired by the acquisition module, and when an instruction to broadcast the motion data is received through the earphone, the recognition module identifies the motion data to obtain a motion data for describing The voice, and then the playback module plays the voice through the earphone.
  • the function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art.
  • An embodiment of the present application provides a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the method described above.
  • the embodiment of the present application provides a computer readable medium in which the above computer program is stored.
  • An embodiment of the present application provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, the instruction being executed by the at least one processor So that the at least one processor is capable of performing the method of any of the above-mentioned embodiments of the present application.
  • FIG. 1 is a schematic flowchart of a playing method according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic structural diagram of an earphone according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of an earphone according to Embodiment 4 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 embodiment of the present invention provides a playback method.
  • FIG. 1 it is a schematic flowchart of a playback method according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method includes the following steps:
  • the motion data is in a text form, a code form, or a graphic form, and the motion data may include a step count, a motion distance, and/or a motion duration. Even moving the data can include the amount of heat consumed by the exercise.
  • the motion data can be obtained by the sensor.
  • the pedometer can be wirelessly interacted with the pedometer to obtain the motion data.
  • the motion data is identified to obtain a voice for describing the motion data.
  • a button is installed on the device that performs the method provided by the embodiment, and when the user needs to view the motion data, the button is pressed to issue a message for broadcasting the motion data.
  • the instruction triggers the headset to play the motion data obtained in the previous step.
  • a voice recognition program is pre-installed, and when the user needs to view the motion data, an instruction in a voice form is issued, and the voice recognition program recognizes the When instructing, the headset is triggered to play the motion data obtained in the previous step.
  • the motion data acquired in the previous step is in a text form, a code form, or a graphic form
  • it is necessary to recognize the motion data retrieve the pronunciation of each character in the motion data from the voice library, and perform synthesis, and finally obtain the voice that can be played.
  • the audio is played through the earphone, so that the user can listen to the motion data during the exercise.
  • the motion data is identified to obtain a voice for describing the motion data, and the voice is played through the earphone.
  • the function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art. No need for the user to operate the pedometer from time to time during the running process, to view the process of the step counting result, avoiding the operation The situation that affects the rhythm of the movement caused by the pedometer appears.
  • FIG. 2 is a schematic flowchart of a playback method according to Embodiment 2 of the present invention.
  • the device provided in this embodiment may be performed by a headset, and the headset may have a TYPE-C interface, and the mobile terminal is connected through the interface, as shown in FIG. 2 .
  • the method includes:
  • the earphone can determine the motion state of the user by locating the obtained motion trajectory.
  • a positioning device is installed in the earphone for determining a motion track of the user.
  • the earphone can represent the motion state of the user according to the magnitude of the vibration.
  • the maximum and minimum activity radius per unit time can be determined according to the running speed of the human being under normal conditions, and the motion state monitored in the previous step is within the unit time.
  • the radius of motion is between the maximum and minimum radius of motion, it is determined that the user is in a running state of running.
  • the threshold may be determined according to the amplitude of the vibration during the running, and when the monitored vibration amplitude is higher than the threshold, the user is determined to be in the running state of the running.
  • the running state is in a running state
  • the motion data of the user is collected by using a sensor.
  • two sensors a pedometer and a timer, can be installed in the earphone to separately collect the step result and the exercise duration.
  • counting and timing are started.
  • terminals involved in the embodiments of the present invention may include, but are not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a tablet computer.
  • PC personal computer
  • PDA personal digital assistant
  • Mobile phones MP3 players, MP4 players, etc.
  • the motion data is identified to obtain a voice for describing the motion data, and the voice is played through the earphone.
  • the function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art. There is no need for the user to operate the pedometer from time to time during the running process, to view the process of the step counting result, and to avoid the situation that affects the movement rhythm caused by the operation of the pedometer.
  • 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 earphone according to an embodiment of the present invention.
  • the earphone includes an acquisition module 31, an identification module 32, and a playback module 33.
  • the obtaining module 31 is configured to acquire motion data.
  • the motion data includes a step count, a motion distance, and/or a motion duration.
  • the obtaining module 31 is specifically configured to acquire motion data from the pedometer.
  • the obtaining module 31 is specifically configured to monitor the motion state by using a sensor to obtain motion data.
  • the identification module 32 is configured to identify the motion data to obtain a voice for describing the motion data when receiving an instruction to broadcast the motion data.
  • the playing module 33 is configured to play the voice.
  • FIG. 4 is a schematic structural diagram of an earphone according to Embodiment 4 of the present invention. As shown in FIG. 4, on the basis of FIG. Further included: a state determination module 34 and a control module 35.
  • the control module 35 is configured to pause the currently played audio after receiving the instruction to broadcast the motion data; play the voice, and resume the audio playback after the voice is played.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • processors 510 and memory 520 one processor 510 is taken as an example in FIG.
  • the apparatus for performing the processing method of the list item operation 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 is used as a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the processing method of the list item operation in the embodiment of the present application.
  • Program instructions/modules for example, acquisition module 31, identification module 32, and playback module 33 shown in FIG. 3.
  • the processor 510 is stored in the memory 520 by running The non-volatile software program, the instruction, and the module, thereby performing various functional applications of the server and data processing, that is, a processing method for implementing the operation of the list item of the above method embodiment.
  • 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 by use of the processing device operated according to the list item, and the like.
  • 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.
  • memory 520 can optionally include memory remotely located relative to processor 510 that can be connected to the processing device of the list item operation 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, as well as generate key signal inputs related to user settings and function control of the processing device operated by the list item.
  • 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 processing method of list item operations in any of the above method embodiments.
  • the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and Portable car navigation device.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • 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

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Cardiology (AREA)
  • Physiology (AREA)
  • Acoustics & Sound (AREA)
  • Human Computer Interaction (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Pulmonology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Signal Processing (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Telephone Function (AREA)

Abstract

Provided is a playback method, comprising: obtaining activity data (S101); when an instruction to read out activity data is received by means of an earphone, activity data is identified so as to obtain speech used for describing the activity data (S102), and said speech is played back by means of the earphone (S103). Also disclosed is an earphone, comprising an obtaining module (31) for obtaining activity data, an identification module (32) for identifying activity data, and a playback module (33) for playing speech. A user hears activity data by means of the earphone, and it is thus unnecessary to operate the pedometer and check step-counting results while running.

Description

一种播放方法和耳机Play method and earphone
本申请要求在2016年6月12日提交中国国家知识产权局、申请号为201610407200.8、发明名称为“一种播放方法和耳机”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610407200.8, entitled "A Play Method and Headset", filed on June 12, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种播放方法和耳机。The present application relates to the field of electronic technologies, and in particular, to a playing method and an earphone.
背景技术Background technique
在运动健身过程中,为了增强健身的娱乐性,多数用户会选择在运动健身时佩戴耳机,同时为了实现对运动过程的实时监测,通常还会佩戴计步器等运动监测设备来记录运动数据。In the process of exercise and fitness, in order to enhance the entertainment of fitness, most users will choose to wear headphones during exercise and exercise. In order to realize real-time monitoring of the exercise process, motion monitoring equipment such as a pedometer is usually used to record the exercise data.
在实现本发明过程中,发明人发现现有技术中至少存在如下问题:用户需要在运动过程中多次查看计步器等运动监测设备显示的运动数据,影响了运动节奏,这一问题是由于目前耳机的功能性较差,仅能够对外接设备所提供的语音或者音乐等音频信号进行播放,而无法对运动数据进行播放所导致的。In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: the user needs to view the motion data displayed by the motion monitoring device such as the pedometer in the motion process, which affects the motion rhythm. At present, the functionality of the earphone is poor, and only the audio signal such as voice or music provided by the external device can be played, and the motion data cannot be played.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种播放方法和耳机,用以解决现有技术中耳机的无法对运动数据进行播放的技术问题。In view of this, the embodiment of the present invention provides a playing method and an earphone for solving the technical problem that the earphone cannot play the motion data in the prior art.
一方面,本发明实施例提供了一种播放方法和耳机,包括:获取运动数据;当通过耳机接收到对所述运动数据进行播报的指令时,对所述运动数据进行识别,以获得用于描述所述运动数据的语音;通过所述耳机对所述语音进行播放。In one aspect, an embodiment of the present invention provides a playing method and an earphone, including: acquiring motion data; when receiving an instruction to broadcast the motion data through a headset, identifying the motion data to obtain A voice describing the motion data; the voice is played through the headset.
如上所述的第一方面和任一可能的实现方式,进一步提供一种实现方式,所述运动数据包括计步步数、运动距离结果和/或运动时长,所述获取运动数据包括:从计步器获取所述运动数据。The first aspect and any possible implementation manners as described above further provide an implementation manner, where the motion data includes a step number, a motion distance result, and/or a motion duration, and the acquired motion data includes: The stepper acquires the motion data.
如上所述的第一方面和任一可能的实现方式,进一步提供一种实现方 式,所述获取运动数据包括:采用传感器对运动状态进行监控,以获得所述运动数据。The first aspect and any possible implementation manner as described above further provide an implementation side For example, the acquiring the motion data includes: monitoring the motion state by using a sensor to obtain the motion data.
如上所述的第一方面和任一可能的实现方式,进一步提供一种实现方式,所述采用传感器对运动状态进行监控之前,还包括:根据定位所获得的运动轨迹,确定所述运动状态;和/或,根据震动幅度,确定所述运动状态。The first aspect and any possible implementation manner as described above, further providing an implementation manner, before the monitoring the motion state by using the sensor, further comprising: determining the motion state according to the motion trajectory obtained by the positioning; And/or, determining the state of motion based on the magnitude of the shock.
如上所述的第一方面和任一可能的实现方式,进一步提供一种实现方式,所述接收到对运动数据进行播报的指令之后,还包括:暂停当前所播放的音频,播放所述语音;在所述语音播放完毕之后,还包括:恢复所述音频的播放。The first aspect and any possible implementation manners as described above, further providing an implementation manner, after receiving the instruction for broadcasting the motion data, further comprising: suspending the currently played audio, and playing the voice; After the playing of the voice is completed, the method further includes: restoring the playing of the audio.
上述技术方案中的一个技术方案具有如下有益效果:通过采用了获取运动数据,并当通过耳机接收到对运动数据进行播报的指令时,对运动数据进行识别,以获得用于描述运动数据的语音,进而通过耳机对该语音进行播放。实现了通过耳机收听到运动数据的功能,解决了现有技术中无法对运动数据进行播放的技术问题,相较于现有技术中用户的跑步过程中为了确定运动量,需要查看计步器的方式,无需用户在跑步过程中不时需要对计步器进行操作,查看计步结果的过程,避免了操作计步器所导致的影响运动节奏的情况出现。One of the above technical solutions has the following advantageous effects: by acquiring motion data, and when receiving an instruction to broadcast motion data through the earphone, the motion data is identified to obtain a voice for describing the motion data. And then the voice is played through the earphone. The function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art. There is no need for the user to operate the pedometer from time to time during the running process, to view the process of the step counting result, and to avoid the situation that affects the movement rhythm caused by the operation of the pedometer.
另一方面,本发明实施例提供了一种耳机,包括:获取模块,用于获取运动数据;识别模块,用于当接收到对所述运动数据进行播报的指令时,对所述运动数据进行识别,以获得用于描述所述运动数据的语音;播放模块,用于对所述语音进行播放。In another aspect, an embodiment of the present invention provides an earphone, including: an acquiring module, configured to acquire motion data; and an identifying module, configured to: when receiving an instruction to broadcast the motion data, perform the motion data Identifying to obtain a voice for describing the motion data; and a playing module for playing the voice.
如上所述的第二方面和任一可能的实现方式,进一步提供一种实现方式,所述运动数据包括计步步数、运动距离和/或运动时长,所述获取模块,用于从计步器获取所述运动数据。如上所述的第二方面和任一可能的实现方式,进一步提供一种实现方式,所述获取模块,用于采用传感器对所述运动状态进行监控,以获得所述运动数据。The second aspect and any possible implementation manners described above further provide an implementation manner, where the motion data includes a step count, a motion distance, and/or a motion duration, and the acquiring module is configured to step from the step The device acquires the motion data. The second aspect and any possible implementation manners described above further provide an implementation manner, where the acquiring module is configured to monitor the motion state by using a sensor to obtain the motion data.
如上所述的第二方面和任一可能的实现方式,进一步提供一种实现方式,耳机还包括:状态确定模块,用于根据定位所获得的运动轨迹,确定 所述运动状态;和/或,根据震动幅度,确定所述运动状态。The second aspect and any possible implementation manners described above further provide an implementation manner, the earphone further includes: a state determining module, configured to determine, according to the motion trajectory obtained by the positioning, The motion state; and/or determining the motion state based on the magnitude of the vibration.
如上所述的第二方面和任一可能的实现方式,进一步提供一种实现方式,播放模块,还包括:控制模块,用于在接收到对所述运动数据进行播报的指令之后,暂停当前所播放的音频,播放所述语音;在所述语音播放完毕之后,恢复所述音频的播放。The second aspect and any possible implementation manner, further provided that the playing module further includes: a control module, configured to pause the current location after receiving the instruction to broadcast the motion data The played audio plays the voice; after the voice is played, the playback of the audio is resumed.
上述技术方案中的一个技术方案具有如下有益效果:通过获取模块获取运动数据,并当通过耳机接收到对运动数据进行播报的指令时,识别模块对运动数据进行识别,以获得用于描述运动数据的语音,进而播放模块通过耳机对该语音进行播放。实现了通过耳机收听到运动数据的功能,解决了现有技术中无法对运动数据进行播放的技术问题,相较于现有技术中用户的跑步过程中为了确定运动量,需要查看计步器的方式,无需用户在跑步过程中不时需要对计步器进行操作,查看计步结果的过程,避免了操作计步器所导致的影响运动节奏的情况出现。One of the above technical solutions has the following beneficial effects: the motion data is acquired by the acquisition module, and when an instruction to broadcast the motion data is received through the earphone, the recognition module identifies the motion data to obtain a motion data for describing The voice, and then the playback module plays the voice through the earphone. The function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art. There is no need for the user to operate the pedometer from time to time during the running process, to view the process of the step counting result, and to avoid the situation that affects the movement rhythm caused by the operation of the pedometer.
本申请实施例提供一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行上述的方法。An embodiment of the present application provides a computer program comprising computer readable code that, when executed on an electronic device, causes the electronic device to perform the method described above.
本申请实施例提供一种计算机可读介质,其中存储了上述的计算机程序。The embodiment of the present application provides a computer readable medium in which the above computer program is stored.
本申请实施例提供一种电子设备,包括:至少一个处理器;以及存储器;其中,所述存储器存储有可被所述至少一个处理器执行的程序,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请上述任一项的方法。An embodiment of the present application provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, the instruction being executed by the at least one processor So that the at least one processor is capable of performing the method of any of the above-mentioned embodiments of the present application.
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solutions of the present application, and the technical means of the present application can be more clearly understood, and the above and other objects, features and advantages of the present application can be more clearly understood. The following is a specific embodiment of the present application.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需 要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solution of the embodiment of the present invention, the following will be required in the embodiment. The drawings to be used are briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and can be used by those skilled in the art without any inventive labor. These drawings take additional drawings.
图1为本发明实施例一提供的一种播放方法的流程示意图;1 is a schematic flowchart of a playing method according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种播放方法的流程示意图;2 is a schematic flowchart of a playing method according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种耳机的结构示意图;3 is a schematic structural diagram of an earphone according to Embodiment 3 of the present invention;
图4为本发明实施例四提供的一种耳机的结构示意图。FIG. 4 is a schematic structural diagram of an earphone according to Embodiment 4 of the present invention.
图5是本申请实施例提供的执行播放方法的电子设备的硬件结构示意图。FIG. 5 is a schematic structural diagram of hardware of an electronic device for performing a playback method according to an embodiment of the present application.
具体实施例Specific embodiment
为了更好的理解本发明的技术方案,下面结合附图对本发明实施例进行详细描述。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. The singular forms "a", "the" and "the"
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,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)".
实施例一Embodiment 1
本发明实施例给出一种播放方法,请参考图1,其为本发明实施例一提供的一种播放方法的流程示意图,如图1所示,该方法包括以下步骤: The embodiment of the present invention provides a playback method. Referring to FIG. 1 , it is a schematic flowchart of a playback method according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method includes the following steps:
S101,获取运动数据。S101. Acquire motion data.
其中,运动数据为文字形式、代码形式或图形形式等,运动数据可以包括计步步数、运动距离和/或运动时长。甚至运动该数据还可以包括运动所消耗的热量。The motion data is in a text form, a code form, or a graphic form, and the motion data may include a step count, a motion distance, and/or a motion duration. Even moving the data can include the amount of heat consumed by the exercise.
具体的,若执行本实施例所提供方法的装置中安装有用于采集运动数据的传感器,则可以通过该传感器采集获得运动数据。Specifically, if the device for performing the motion data is installed in the device that performs the method provided by the embodiment, the motion data can be obtained by the sensor.
若执行本实施例所提供方法的装置中未安装有用于采集运动数据的传感器,则可以通过无线方式与计步器进行交互,从计步器中获取到运动数据。If the device for performing the motion data is not installed in the device for performing the method provided by the embodiment, the pedometer can be wirelessly interacted with the pedometer to obtain the motion data.
S102,当通过耳机接收到对运动数据进行播报的指令时,对运动数据进行识别,以获得用于描述运动数据的语音。S102. When an instruction to broadcast the motion data is received through the earphone, the motion data is identified to obtain a voice for describing the motion data.
具体的,作为一种可能的实现方式,在执行本实施例所提供方法的装置上,安装有一按键,当用户需要查看运动数据时,则按下该按键,以发出一条对运动数据进行播报的指令,继而触发耳机对上一步骤中所获得的运动数据进行播放。Specifically, as a possible implementation manner, a button is installed on the device that performs the method provided by the embodiment, and when the user needs to view the motion data, the button is pressed to issue a message for broadcasting the motion data. The instruction, in turn, triggers the headset to play the motion data obtained in the previous step.
作为另一种可能的实现方式,在执行本实施例所提供方法的装置上,预装有语音识别程序,当用户需要查看运动数据时,则发出语音形式的指令,该语音识别程序识别出该指令时,触发耳机对上一步骤中所获得的运动数据进行播放。As another possible implementation manner, in the apparatus for performing the method provided by the embodiment, a voice recognition program is pre-installed, and when the user needs to view the motion data, an instruction in a voice form is issued, and the voice recognition program recognizes the When instructing, the headset is triggered to play the motion data obtained in the previous step.
由于在上一步骤中所获取到的运动数据为文字形式、代码形式或图形形式等,若进行播放,还需要将文字形式、代码形式或图形形式等转换为语音形式。为了实现这种转换,需要对运动数据进行识别,从语音库中调取运动数据中每一字符的读音,并进行合成,最终获得能够播放的语音。Since the motion data acquired in the previous step is in a text form, a code form, or a graphic form, if playing, it is also necessary to convert the text form, the code form, or the graphic form into a voice form. In order to realize this conversion, it is necessary to recognize the motion data, retrieve the pronunciation of each character in the motion data from the voice library, and perform synthesis, and finally obtain the voice that can be played.
S103,通过耳机对语音进行播放。S103. Play the voice through the earphone.
在生成用于描述运动数据的语音之后,通过耳机进行播放,从而用户在运动过程中,便可以收听到运动数据了。After the speech for describing the motion data is generated, the audio is played through the earphone, so that the user can listen to the motion data during the exercise.
通过采用了获取运动数据,并当通过耳机接收到对运动数据进行播报的指令时,对运动数据进行识别,以获得用于描述运动数据的语音,进而通过耳机对该语音进行播放。实现了通过耳机收听到运动数据的功能,解决了现有技术中无法对运动数据进行播放的技术问题,相较于现有技术中用户的跑步过程中为了确定运动量,需要查看计步器的方式,无需用户在跑步过程中不时需要对计步器进行操作,查看计步结果的过程,避免了操 作计步器所导致的影响运动节奏的情况出现。By acquiring the motion data and receiving an instruction to broadcast the motion data through the earphone, the motion data is identified to obtain a voice for describing the motion data, and the voice is played through the earphone. The function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art. No need for the user to operate the pedometer from time to time during the running process, to view the process of the step counting result, avoiding the operation The situation that affects the rhythm of the movement caused by the pedometer appears.
实施例二Embodiment 2
图2为本发明实施例二提供的一种播放方法的流程示意图,本实施例所提供的装置可以由耳机执行,该耳机可以具有TYPE-C接口,通过该接口与移动终端连接,如图2所示,方法包括:2 is a schematic flowchart of a playback method according to Embodiment 2 of the present invention. The device provided in this embodiment may be performed by a headset, and the headset may have a TYPE-C interface, and the mobile terminal is connected through the interface, as shown in FIG. 2 . As shown, the method includes:
S201、在播放音频的同时,耳机对用户的运动状态进行监控。S201: While playing audio, the earphone monitors the motion state of the user.
作为一种可能的实现方式,耳机可以通过定位所获得的运动轨迹,确定用户的运动状态。具体的,耳机中安装有一定位装置,用于确定用户的运动轨迹。As a possible implementation manner, the earphone can determine the motion state of the user by locating the obtained motion trajectory. Specifically, a positioning device is installed in the earphone for determining a motion track of the user.
作为另一种可能的实现方式,耳机可以根据自身震动的幅度,表征用户的运动状态。As another possible implementation manner, the earphone can represent the motion state of the user according to the magnitude of the vibration.
S202、根据监控结果,判断是否处于跑步的运动状态,若是,则执行S203,否则执行S201。S202. Determine whether the running state is running according to the monitoring result. If yes, execute S203, otherwise execute S201.
具体的,当采用运动轨迹表征用户的运动状态时,可以根据一般情况下人类的跑步速度确定单位时间内的最大和最小活动半径,当上一步骤中所监控到的运动状态在单位时间内的活动半径在该最大和最小活动半径之间时,则确定用户处于跑步的运动状态。Specifically, when the motion trajectory is used to represent the motion state of the user, the maximum and minimum activity radius per unit time can be determined according to the running speed of the human being under normal conditions, and the motion state monitored in the previous step is within the unit time. When the radius of motion is between the maximum and minimum radius of motion, it is determined that the user is in a running state of running.
当采用震动的幅度,表征用户的运动状态时,可以根据跑步过程中的震动幅度确定阈值,当所监测到的震动幅度高于阈值时,则确定用户处于跑步的运动状态。When the magnitude of the vibration is used to characterize the motion state of the user, the threshold may be determined according to the amplitude of the vibration during the running, and when the monitored vibration amplitude is higher than the threshold, the user is determined to be in the running state of the running.
S203、若处于跑步的运动状态,则利用传感器采集用户的运动数据。S203. If the running state is in a running state, the motion data of the user is collected by using a sensor.
其中,运动数据为文字形式、代码形式或图形形式等。Among them, the motion data is a text form, a code form or a graphic form.
具体的,可以在耳机中安装计步器和计时器两个传感器,分别采集计步结果和运动时长。当确定用户处于跑步的运动状态下时,开始计步和计时。Specifically, two sensors, a pedometer and a timer, can be installed in the earphone to separately collect the step result and the exercise duration. When it is determined that the user is in a running state of running, counting and timing are started.
S204、当通过耳机接收到对运动数据进行播报的指令时,对运动数据进行识别,以获得用于描述运动数据的语音。S204. When an instruction to broadcast the motion data is received through the earphone, the motion data is identified to obtain a voice for describing the motion data.
当用户需要获知运动数据时,点击耳机上用于发送对运动数据进行播报的指令的按键,从而生成对运动数据进行播报的指令,耳机根据该指令,开始对运动数据进行识别。When the user needs to know the motion data, he clicks a button on the earphone for transmitting an instruction for broadcasting the motion data, thereby generating an instruction for broadcasting the motion data, and the earphone starts to recognize the motion data according to the instruction.
S205、识别完毕,暂停当前所播放的音频。 S205. After the recognition is completed, the currently played audio is suspended.
为了使得用户能够清晰听到所播放的描述运动数据的语音,需要暂停当前所播放的音频。In order to enable the user to clearly hear the played voice describing the motion data, it is necessary to pause the currently played audio.
S206、对描述运动数据的语音进行播放,播放完毕后恢复音频的播放。S206: Play the voice describing the motion data, and resume playing the audio after the playing.
需要说明的是,本发明实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。It should be noted that the terminals involved in the embodiments of the present invention may include, but are not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a tablet computer. Mobile phones, MP3 players, MP4 players, etc.
通过采用了获取运动数据,并当通过耳机接收到对运动数据进行播报的指令时,对运动数据进行识别,以获得用于描述运动数据的语音,进而通过耳机对该语音进行播放。实现了通过耳机收听到运动数据的功能,解决了现有技术中无法对运动数据进行播放的技术问题,相较于现有技术中用户的跑步过程中为了确定运动量,需要查看计步器的方式,无需用户在跑步过程中不时需要对计步器进行操作,查看计步结果的过程,避免了操作计步器所导致的影响运动节奏的情况出现。By acquiring the motion data and receiving an instruction to broadcast the motion data through the earphone, the motion data is identified to obtain a voice for describing the motion data, and the voice is played through the earphone. The function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, and the manner of the pedometer needs to be viewed in order to determine the amount of exercise in the running process of the user in the prior art. There is no need for the user to operate the pedometer from time to time during the running process, to view the process of the step counting result, and to avoid the situation that affects the movement rhythm caused by the operation of the pedometer.
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。Embodiments of the present invention further provide an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments.
实施例三Embodiment 3
请参考图3,其为本发明实施例所提供的耳机的功能方块图。如图3所示,耳机包括:获取模块31、识别模块32和播放模块33。Please refer to FIG. 3 , which is a functional block diagram of an earphone according to an embodiment of the present invention. As shown in FIG. 3, the earphone includes an acquisition module 31, an identification module 32, and a playback module 33.
获取模块31,用于获取运动数据。The obtaining module 31 is configured to acquire motion data.
具体的,所述运动数据包括计步步数、运动距离和/或运动时长。Specifically, the motion data includes a step count, a motion distance, and/or a motion duration.
具体的,获取模块31具体用于从计步器获取运动数据。Specifically, the obtaining module 31 is specifically configured to acquire motion data from the pedometer.
或者,获取模块31具体用于采用传感器对运动状态进行监控,以获得运动数据。Alternatively, the obtaining module 31 is specifically configured to monitor the motion state by using a sensor to obtain motion data.
识别模块32,用于当接收到对运动数据进行播报的指令时,对运动数据进行识别,以获得用于描述运动数据的语音。The identification module 32 is configured to identify the motion data to obtain a voice for describing the motion data when receiving an instruction to broadcast the motion data.
播放模块33,用于对语音进行播放。The playing module 33 is configured to play the voice.
通过获取模块31获取运动数据,并当通过耳机接收到对运动数据进行播报的指令时,识别模块32对运动数据进行识别,以获得用于描述运动数据的语音,进而播放模块33通过耳机对该语音进行播放。实现了通过耳机收听到运动数据的功能,解决了现有技术中无法对运动数据进行播放的技术问题,相较于现有技术中用户的跑步过程中为了确定运动量,需 要查看计步器的方式,无需用户在跑步过程中不时需要对计步器进行操作,查看计步结果的过程,避免了操作计步器所导致的影响运动节奏的情况出现。The motion data is acquired by the acquisition module 31, and when an instruction to broadcast the motion data is received through the earphone, the recognition module 32 identifies the motion data to obtain a voice for describing the motion data, and the playback module 33 then Voice playback. The function of listening to the motion data through the earphone is realized, and the technical problem that the motion data cannot be played in the prior art is solved, which is required in order to determine the amount of exercise in the running process of the user in the prior art. To view the way of the pedometer, the user does not need to operate the pedometer from time to time during the running process, and the process of the step counting result is avoided, which avoids the situation that affects the rhythm of the movement caused by the operation of the pedometer.
实施例四Embodiment 4
本实施例提供了一种耳机的可能的实现方式,在本实施例中,图4为本发明实施例四提供的一种耳机的结构示意图,如图4所示,在图3的基础上,进一步包括:状态确定模块34和控制模块35。The present embodiment provides a possible implementation manner of an earphone. In this embodiment, FIG. 4 is a schematic structural diagram of an earphone according to Embodiment 4 of the present invention. As shown in FIG. 4, on the basis of FIG. Further included: a state determination module 34 and a control module 35.
状态确定模块34,用于根据定位所获得的运动轨迹,确定运动状态;和/或,根据震动幅度,确定运动状态。The state determining module 34 is configured to determine a motion state according to the motion trajectory obtained by the positioning; and/or determine the motion state according to the vibration amplitude.
控制模块35,用于在接收到对运动数据进行播报的指令之后,暂停当前所播放的音频;播放语音,并在语音播放完毕之后,恢复音频的播放。The control module 35 is configured to pause the currently played audio after receiving the instruction to broadcast the motion data; play the voice, and resume the audio playback after the voice is played.
由于本实施例中的各单元能够执行图1或2所示的方法,本实施例未详细描述的部分,可参考对图1或2的相关说明。Since the units in this embodiment can perform the method shown in FIG. 1 or 2, and the parts not described in detail in this embodiment, reference may be made to the related description of FIG. 1 or 2.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。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.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本发明各个实施例方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform part of the steps of the various embodiments of the present invention. . The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
本申请的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本申请实施例的电视机中的一些或者全部部件的一些或者全部功能。本申请还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本申请的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present application can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of a television set in accordance with embodiments of the present application. The application can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
图5是本申请实施例提供的用于执行播放方法的电子设备的硬件结构示意图,如图5所示,该电子设备包括:FIG. 5 is a schematic structural diagram of hardware of an electronic device for performing a playback method according to an embodiment of the present disclosure. As shown in FIG. 5, the electronic 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 processing method of the list item operation 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作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的列表项操作的处理方法对应的程序指令/模块(例如,附图3所示的获取模块31、识别模块32和播放模块33)。处理器510通过运行存储在存储器520 中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例列表项操作的处理方法。The memory 520 is used as a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the processing method of the list item operation in the embodiment of the present application. Program instructions/modules (for example, acquisition module 31, identification module 32, and playback module 33 shown in FIG. 3). The processor 510 is stored in the memory 520 by running The non-volatile software program, the instruction, and the module, thereby performing various functional applications of the server and data processing, that is, a processing method for implementing the operation of the list item of the above method embodiment.
存储器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 by use of the processing device operated according to the list item, 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 that can be connected to the processing device of the list item operation 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, as well as generate key signal inputs related to user settings and function control of the processing device operated by the list item. 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 processing method of list item operations in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。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 electronic device of the embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便 携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and Portable car navigation device.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。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 (13)

  1. 一种播放方法,其特征在于,所述方法包括:A playing method, characterized in that the method comprises:
    获取运动数据;Obtaining exercise data;
    当通过耳机接收到对所述运动数据进行播报的指令时,对所述运动数据进行识别,以获得用于描述所述运动数据的语音;When receiving an instruction to broadcast the motion data through the earphone, identifying the motion data to obtain a voice for describing the motion data;
    通过所述耳机对所述语音进行播放。The voice is played through the earphone.
  2. 根据权利要求1所述的方法,其特征在于,所述运动数据包括计步步数、运动距离和/或运动时长,所述获取运动数据包括:The method according to claim 1, wherein the motion data comprises a step count, a motion distance, and/or a motion duration, and the acquiring motion data comprises:
    从计步器获取所述运动数据。The motion data is obtained from a pedometer.
  3. 根据权利要求1所述的方法,其特征在于,所述获取运动数据包括:The method of claim 1 wherein said obtaining athletic data comprises:
    采用传感器对运动状态进行监控,以获得所述运动数据。The motion state is monitored using a sensor to obtain the motion data.
  4. 根据权利要求3所述的方法,其特征在于,所述采用传感器对运动状态进行监控之前,还包括:The method according to claim 3, wherein before the monitoring of the motion state by using the sensor, the method further comprises:
    根据定位所获得的运动轨迹,确定所述运动状态;Determining the motion state according to the motion trajectory obtained by the positioning;
    和/或,根据震动幅度,确定所述运动状态。And/or, determining the state of motion based on the magnitude of the shock.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述接收到对所述运动数据进行播报的指令之后,还包括:The method according to any one of claims 1 to 4, further comprising: after receiving the instruction to broadcast the motion data, further comprising:
    暂停当前所播放的音频,播放所述语音;Suspending the currently played audio and playing the voice;
    在所述语音播放完毕之后,还包括:After the voice is played, the method further includes:
    恢复所述音频的播放。Resume playback of the audio.
  6. 一种耳机,其特征在于,包括:An earphone characterized by comprising:
    获取模块,用于获取运动数据;An acquisition module for acquiring motion data;
    识别模块,用于当接收到对所述运动数据进行播报的指令时,对所述运动数据进行识别,以获得用于描述所述运动数据的语音;An identification module, configured to: when receiving an instruction to broadcast the motion data, identify the motion data to obtain a voice for describing the motion data;
    播放模块,用于对所述语音进行播放。a playing module, configured to play the voice.
  7. 根据权利要求6所述的耳机,其特征在于,所述运动数据包括计步步数、运动距离和/或运动时长,The earphone according to claim 6, wherein the motion data comprises a step count, a motion distance, and/or a motion duration.
    所述获取模块,用于从计步器获取所述运动数据。 The obtaining module is configured to acquire the motion data from a pedometer.
  8. 根据权利要求6所述的耳机,其特征在于,The earphone according to claim 6, wherein
    所述获取模块,用于采用传感器对所述运动状态进行监控,以获得所述运动数据。The acquiring module is configured to monitor the motion state by using a sensor to obtain the motion data.
  9. 根据权利要求8所述的耳机,其特征在于,所述耳机还包括:The earphone according to claim 8, wherein the earphone further comprises:
    状态确定模块,用于根据定位所获得的运动轨迹,确定所述运动状态;和/或,根据震动幅度,确定所述运动状态。a state determining module, configured to determine the motion state according to the motion trajectory obtained by the positioning; and/or determine the motion state according to the amplitude of the vibration.
  10. 根据权利要求6-9任一项所述的耳机,其特征在于,所述耳机,还包括:The earphone according to any one of claims 6 to 9, wherein the earphone further comprises:
    控制模块,用于在接收到对所述运动数据进行播报的指令之后,暂停当前所播放的音频,播放所述语音;在所述语音播放完毕之后,恢复所述音频的播放。And a control module, configured to: after receiving the instruction to broadcast the motion data, pause the currently played audio, play the voice; resume playing the audio after the voice is played.
  11. 一种计算机程序产品,包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行根据权利要求1-5中的任一个所述的播放方法。A computer program product comprising computer readable code, when the computer readable code is run on an electronic device, causing the electronic device to perform the method of playing according to any of claims 1-5.
  12. 一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,当计算机执行所述计算机指令时,用于执行根据权利要求1-5中的任一个所述的播放方法。A non-transitory computer readable storage medium storing computer instructions for performing the method of any of claims 1-5 when the computer executes the computer instructions Play method.
  13. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    至少一个处理器;以及At least one processor;
    与所述至少一个处理器通信连接的存储器;其中,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 exercise data;
    当通过耳机接收到对所述运动数据进行播报的指令时,对所述运动数据进行识别,以获得用于描述所述运动数据的语音;When receiving an instruction to broadcast the motion data through the earphone, identifying the motion data to obtain a voice for describing the motion data;
    通过所述耳机对所述语音进行播放。 The voice is played through the earphone.
PCT/CN2016/112417 2016-06-12 2016-12-27 Playback method and earphone WO2017215236A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610407200.8A CN105920803A (en) 2016-06-12 2016-06-12 Playing method and earphone
CN201610407200.8 2016-06-12

Publications (1)

Publication Number Publication Date
WO2017215236A1 true WO2017215236A1 (en) 2017-12-21

Family

ID=56832898

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112417 WO2017215236A1 (en) 2016-06-12 2016-12-27 Playback method and earphone

Country Status (2)

Country Link
CN (1) CN105920803A (en)
WO (1) WO2017215236A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105920803A (en) * 2016-06-12 2016-09-07 乐视控股(北京)有限公司 Playing method and earphone
CN108654061B (en) * 2018-05-14 2020-07-24 北京卡路里科技有限公司 Voice playing method and device for segmented running
CN109785837A (en) * 2019-01-28 2019-05-21 上海与德通讯技术有限公司 Sound control method, device, TWS bluetooth headset and storage medium
CN113596659A (en) * 2021-07-27 2021-11-02 惠州市欧凡实业有限公司 Wireless motion earphone and step counting method based on wireless motion earphone detection

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008212425A (en) * 2007-03-05 2008-09-18 Terumo Corp Exercise support device and data processing method
CN102006528A (en) * 2009-08-31 2011-04-06 幻音科技(深圳)有限公司 Earphone device
CN203883966U (en) * 2014-02-28 2014-10-15 江苏海事职业技术学院 Bluetooth headset having sport monitoring function
CN104954566A (en) * 2015-06-12 2015-09-30 上海卓易科技股份有限公司 Automatic voice switching method and system
CN205179321U (en) * 2015-12-11 2016-04-20 深圳市真好康贸易有限公司 Meter step earphone
CN205286364U (en) * 2016-01-08 2016-06-08 曾旸 Wireless Intelligence exercise heart monitors earphone
CN105920803A (en) * 2016-06-12 2016-09-07 乐视控股(北京)有限公司 Playing method and earphone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105411597A (en) * 2016-01-08 2016-03-23 曾旸 Wireless intelligent exercise heart rate monitoring earphone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008212425A (en) * 2007-03-05 2008-09-18 Terumo Corp Exercise support device and data processing method
CN102006528A (en) * 2009-08-31 2011-04-06 幻音科技(深圳)有限公司 Earphone device
CN203883966U (en) * 2014-02-28 2014-10-15 江苏海事职业技术学院 Bluetooth headset having sport monitoring function
CN104954566A (en) * 2015-06-12 2015-09-30 上海卓易科技股份有限公司 Automatic voice switching method and system
CN205179321U (en) * 2015-12-11 2016-04-20 深圳市真好康贸易有限公司 Meter step earphone
CN205286364U (en) * 2016-01-08 2016-06-08 曾旸 Wireless Intelligence exercise heart monitors earphone
CN105920803A (en) * 2016-06-12 2016-09-07 乐视控股(北京)有限公司 Playing method and earphone

Also Published As

Publication number Publication date
CN105920803A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
US11164571B2 (en) Content recognizing method and apparatus, device, and computer storage medium
WO2017215236A1 (en) Playback method and earphone
JP6467554B2 (en) Message transmission method, message processing method, and terminal
WO2017201935A1 (en) Video playing method and apparatus
CN106375774B (en) Method, device and system for controlling display content of live broadcast room
US10171971B2 (en) Electrical systems and related methods for providing smart mobile electronic device features to a user of a wearable device
KR101902426B1 (en) System, method and recordable medium for providing related contents at low power
US10635388B2 (en) Sound effect processing method and mobile terminal
WO2017215652A1 (en) Sound effect parameter adjustment method, and mobile terminal
EP2431900A1 (en) Audiovisual content tagging using biometric sensor
JP2019510247A5 (en) System and method for multimodal transmission of packetized data
CN110347862B (en) Recording processing method, device, equipment, system and audio equipment
CN107680614B (en) Audio signal processing method, apparatus and storage medium
WO2018161349A1 (en) Music playback method and device, and music playback apparatus
WO2017185782A1 (en) Method and device for customizing alarm clock reminder
JP2017509009A (en) Track music in an audio stream
WO2017166651A1 (en) Voice recognition model training method, speaker type recognition method and device
US20170010587A1 (en) Wake up to a cast alarm or an alarm plus content prompt
CN112969093B (en) Interactive service processing method, device, equipment and storage medium
CN112995759A (en) Interactive service processing method, system, device, equipment and storage medium
TWI514258B (en) Methods and systems for voice management, and related computer program products
CN109688528A (en) The test method of audio frequency apparatus and signal delay, system and storage medium
CN109243488A (en) Audio-frequency detection, device and storage medium
CN108140013B (en) Audio processing method and device
CN113726600B (en) Transmission delay determining method, device, terminal and storage medium

Legal Events

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

Ref document number: 16905343

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16905343

Country of ref document: EP

Kind code of ref document: A1