WO2021244056A1 - Data processing method and apparatus, and readable medium - Google Patents

Data processing method and apparatus, and readable medium Download PDF

Info

Publication number
WO2021244056A1
WO2021244056A1 PCT/CN2021/074911 CN2021074911W WO2021244056A1 WO 2021244056 A1 WO2021244056 A1 WO 2021244056A1 CN 2021074911 W CN2021074911 W CN 2021074911W WO 2021244056 A1 WO2021244056 A1 WO 2021244056A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
processing
target
processing result
target data
Prior art date
Application number
PCT/CN2021/074911
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 WO2021244056A1 publication Critical patent/WO2021244056A1/en

Links

Images

Classifications

    • 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
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • 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
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1033Cables or cables storage, e.g. cable reels
    • 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
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • 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
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083

Definitions

  • This application relates to the technical field of wireless earphones, in particular to data processing methods, data processing devices, data processing devices, and machine-readable media.
  • TWS True Wireless Stereo
  • the left and right earphone bodies of true wireless earphones are "completely separated", and no trace of exposed wires can be seen. It is a true wireless earphone.
  • the connection of true wireless earphones is not only the signal transmission between the earphone and the signal transmitting device, but also the wireless connection between the main and auxiliary earphones.
  • the box of the wireless earphone is only used as an auxiliary device for storing and charging the earphone.
  • the wireless headset Since the volume of the wireless headset cannot be too large, the wireless headset cannot have strong computing power, and therefore cannot implement functions that require high computing power.
  • the embodiments of the present application propose a data processing method, a data processing device, a device for data processing, and a machine-readable medium that overcome or at least partially solve the foregoing problems.
  • the embodiments of the present application can solve the problem.
  • the problem that functions that require higher computing power cannot rely on the realization of the headset.
  • this application discloses a data processing method applied to earphones, including:
  • the data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
  • the method further includes:
  • the method further includes:
  • the processing result is sent to the mobile terminal.
  • the method further includes:
  • the method further includes:
  • the processing result is stored on the storage medium on the earphone.
  • the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  • the collection target data includes at least one of the following:
  • the target data includes audio data
  • collecting the audio data through a microphone set on the earphone;
  • the target data includes acceleration data
  • collecting the acceleration data through an acceleration sensor provided on the earphone;
  • the target data includes temperature data
  • the heart rate data is collected by a heart rate sensor provided on the earphone.
  • the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
  • the processing result includes body state information.
  • the processing result includes the motion state of the user.
  • the embodiment of the application also discloses a data processing method applied to the earphone storage device, including:
  • the acquiring target data includes:
  • the target data includes audio data
  • the acquiring target data includes:
  • the audio data is collected through a microphone array provided on the earphone storage device.
  • the processing the target data to obtain a processing result includes:
  • prompt information is generated.
  • the processing the target data to obtain a processing result includes:
  • the processing the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing result includes a recording file.
  • the processing the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • the audio data is converted into the text data.
  • processing the target data to obtain a processing result further includes:
  • memo information or reminder information is generated.
  • the target data includes text data
  • the processing of the target data to obtain a processing result includes:
  • speech synthesis data is generated.
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • target audio data or target text data in the target language is obtained by translation.
  • the target data includes temperature data and/or heart rate data
  • the processing of the target data to obtain a processing result includes:
  • body state information is generated.
  • the target data includes acceleration data
  • the processing of the target data to obtain a processing result includes:
  • the user's motion state is recognized.
  • the method further includes:
  • the target data includes acceleration data and position data
  • performing target processing on the target data to obtain a processing result includes:
  • navigation prompt information is generated.
  • the target data includes audio data
  • performing target processing on the target data to obtain a processing result includes:
  • voice processing is performed on the audio data to obtain a voice processing result.
  • the performing target processing on the target data to obtain a processing result includes:
  • the method further includes:
  • the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
  • the earphone storage device processes the target data.
  • the detecting whether the target data meets a preset requirement includes:
  • the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  • the embodiment of the application also discloses a data processing device, which is applied to a headset, and includes:
  • Data collection module used to collect target data
  • the data sending module is configured to send the target data to the earphone storage device, so that the earphone storage device can process the target data to obtain the processing result, and send the processing result to the earphone, and/ Or store the processing result, and/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset for the
  • the cloud server processes the target data to obtain a processing result, and sends the processing result to the headset, and/or stores the processing result.
  • the device further includes:
  • the result receiving module is configured to receive the processing result sent by the earphone receiving device after the target data is sent to the earphone receiving device.
  • the device further includes:
  • the result sending module is configured to send the processing result to the mobile terminal after the receiving the processing result sent by the earphone storage device.
  • the device further includes:
  • the result playing module is configured to play the processing result after the receiving the processing result sent by the earphone storage device.
  • the device further includes:
  • the result storage module is configured to store the processing result on the storage medium on the earphone after the receiving the processing result sent by the earphone storage device.
  • the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  • the data collection module includes at least one of the following:
  • an audio collection module is configured to collect the audio data through a microphone set on the earphone;
  • an acceleration collection module is configured to collect the acceleration data through an acceleration sensor provided on the headset;
  • a temperature collection module is configured to collect the temperature data through a temperature sensor provided on the earphone;
  • the heart rate collection module is configured to collect the heart rate data through a heart rate sensor provided on the earphone.
  • the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
  • the processing result includes body state information.
  • the processing result includes the motion state of the user.
  • the embodiment of the present application also discloses a data processing device, which is applied to the earphone storage device, and includes:
  • Data acquisition module for acquiring target data
  • a data processing module for processing the target data to obtain a processing result
  • the result processing module is used to send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or display the processing result Send to the cloud server.
  • the data acquisition module includes:
  • the data receiving module is used to receive the target data from the earphone.
  • the target data includes audio data
  • the data acquisition module includes:
  • the data collection module is used to collect the audio data through a microphone array arranged on the earphone storage device.
  • the data processing module includes:
  • the environmental sound detection module is used to detect the source direction and/or type of the environmental sound according to the audio data
  • the prompt generation module is used to generate prompt information according to the source direction and/or type of the environmental sound.
  • the data processing module includes:
  • the noise reduction processing module is used to perform noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
  • the data processing module includes:
  • the echo cancellation module is used to perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
  • the target data includes audio data
  • the data processing module includes:
  • the human voice effect module is used to perform human voice processing on the audio data to obtain human voice processed audio data; and/or perform sound effect processing on the audio data to obtain sound effect processed audio data.
  • the target data includes audio data
  • the processing result includes a recording file.
  • the data processing module includes:
  • the marking module is used to mark the target audio in the audio data.
  • the target data includes audio data
  • the data processing module includes:
  • the text conversion module is used to convert the audio data into the text data.
  • the data processing module further includes:
  • An information recognition module for recognizing a preset type of target information in the text data
  • the memo reminder generating module is used to generate memo information or reminder information according to the target information.
  • the target data includes text data
  • the data processing module includes:
  • the speech generation module is used to generate speech synthesis data according to the text data.
  • the target data includes audio data
  • the data processing module includes:
  • the translation module is used to translate the target audio data or target text data in the target language according to the audio data.
  • the target data includes temperature data and/or heart rate data
  • the data processing module includes:
  • the body state generating module is used to generate body state information according to the temperature data and/or heart rate data.
  • the target data includes acceleration data
  • the data processing module includes:
  • the motion state recognition module is used to recognize the user's motion state according to the acceleration data.
  • the device further includes:
  • a processing determination module configured to determine the target processing associated with the motion state
  • the processing execution module is used to execute the target processing.
  • the target data includes acceleration data and position data
  • the data processing module includes:
  • the navigation generating module is used to generate navigation prompt information according to the acceleration data and position data.
  • the target data includes audio data
  • the data processing module includes:
  • the voice processing module is used to perform voice processing on the audio data based on the voice processing function to obtain a voice processing result.
  • the data processing module includes:
  • a data sending module for sending the target data to a cloud server
  • the result receiving module is configured to receive the processing result obtained by the cloud server processing the target data.
  • the device further includes:
  • the requirement detection module is used to detect whether the target data meets preset requirements or user settings
  • the cloud execution module is configured to execute the step of sending the target data to the cloud server if the target data meets preset requirements or user settings;
  • the storage device execution module is configured to process the target data by the earphone storage device if the target data does not meet preset requirements or user settings.
  • the requirement detection module is specifically used for:
  • the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  • the embodiment of the application also discloses a device for data processing, including a memory, and one or more programs.
  • One or more programs are stored in the memory and configured to be run by one or more processors. Executing the one or more programs includes instructions for performing the following operations:
  • the data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
  • the operation instruction further includes:
  • the operation instruction further includes:
  • the processing result is sent to the mobile terminal.
  • the operation instruction further includes:
  • the operation instruction further includes:
  • the processing result is stored on the storage medium on the earphone.
  • the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  • the collection target data includes at least one of the following:
  • the target data includes audio data
  • collecting the audio data through a microphone set on the earphone;
  • the target data includes acceleration data
  • collecting the acceleration data through an acceleration sensor provided on the earphone;
  • the target data includes temperature data
  • the heart rate data is collected by a heart rate sensor provided on the earphone.
  • the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
  • the processing result includes body state information.
  • the processing result includes the motion state of the user.
  • the embodiment of the application also discloses a device for data processing, including a memory, and one or more programs.
  • One or more programs are stored in the memory and configured to be run by one or more processors. Executing the one or more programs includes instructions for performing the following operations:
  • the acquiring target data includes:
  • the target data includes audio data
  • the acquiring target data includes:
  • the audio data is collected through a microphone array provided on the earphone storage device.
  • the processing result includes prompt information
  • the processing of the target data to obtain the processing result includes:
  • prompt information is generated.
  • the processing the target data to obtain a processing result includes:
  • the processing the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing result includes a recording file.
  • the processing the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • the audio data is converted into the text data.
  • processing the target data to obtain a processing result further includes:
  • memo information or reminder information is generated.
  • the target data includes text data
  • the processing of the target data to obtain a processing result includes:
  • speech synthesis data is generated.
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • target audio data or target text data in the target language is obtained by translation.
  • the target data includes temperature data and/or heart rate data
  • the processing of the target data to obtain a processing result includes:
  • body state information is generated.
  • the target data includes acceleration data
  • the processing of the target data to obtain a processing result includes:
  • the user's motion state is recognized.
  • the operation instruction further includes:
  • the target data includes acceleration data and position data
  • performing target processing on the target data to obtain a processing result includes:
  • navigation prompt information is generated.
  • the target data includes audio data
  • performing target processing on the target data to obtain a processing result includes:
  • voice processing is performed on the audio data to obtain a voice processing result.
  • the performing target processing on the target data to obtain a processing result includes:
  • the operation instruction further includes:
  • the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
  • the earphone storage device processes the target data.
  • the detecting whether the target data meets a preset requirement includes:
  • the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  • the embodiment of the present application also discloses a machine-readable medium on which instructions are stored, which when executed by one or more processors, cause the device to execute the above-mentioned data processing method.
  • the embodiment of the present invention also discloses a computer program, including computer readable code, when the computer readable code runs on a computing processing device, it causes the computing processing device to execute the data processing method according to any one of the foregoing .
  • the target data is collected through the headset, and the target data is sent to the headset storage device, so that the headset storage device can process the target data to obtain the processing result, and send the processing result to the headset, and / Or store the processing result, and/or display the processing result, and/or play the processing result, or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can process the target data to obtain the processing result , And send the processing results to the headset and/or store the processing results, so that the headset storage device or cloud server with stronger computing capabilities can process the target data.
  • the headset can use the headset storage device or cloud server to calculate and store, And/or display, and/or playback capabilities solve the problem that functions that require higher computing capabilities cannot be implemented by headphones.
  • Fig. 1 shows a flow chart of the steps of an embodiment of a data processing method of the present application
  • Figure 2 shows a flow chart of the steps of another embodiment of the data processing method of the present application.
  • FIG. 3 shows a flowchart of the steps of another embodiment of the data processing method of the present application.
  • FIG. 4 shows a flow chart of the steps of another embodiment of the data processing method of the present application.
  • Fig. 5 shows a structural block diagram of an embodiment of a data processing device of the present application
  • Fig. 6 shows a structural block diagram of another embodiment of a data processing device of the present application.
  • Fig. 7 is a block diagram showing a device for data processing according to an exemplary embodiment
  • FIG. 8 is a schematic diagram of the structure of the server in some embodiments of the present application.
  • step flow chart of an embodiment of a data processing method of the present application, which is applied to a headset, and specifically may include the following steps:
  • Step 101 Collect target data.
  • the headset in addition to playing sound, can also collect data.
  • a microphone can be set on the headset to collect audio data
  • an acceleration sensor can be set on the headset to collect acceleration data, etc., or any other applicable data.
  • This application implements The example does not restrict this. Record one or more types of data collected by the headset as target data.
  • the target data includes audio data
  • the audio data can be collected through a microphone set on the headset; when the target data includes acceleration data, through The acceleration sensor installed on the earphone collects acceleration data; when the target data includes temperature data, the temperature data is collected by the temperature sensor installed on the earphone; when the target data includes heart rate data, the heart rate data is collected by the heart rate sensor installed on the earphone .
  • the target data can be collected by any applicable method, which is not limited in the embodiment of the present application.
  • the user is using a headset to talk to other people on the phone, and the headset collects the user's words through the microphone.
  • Step 102 Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or storage
  • the processing result, and/or the processing result is displayed, and/or the processing result is played; or the target data is sent to the cloud server through the mobile communication chip built in the headset, so that the cloud server can
  • the target data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
  • the earphone storage device no longer only has the auxiliary ability of storage and/or charging, but has a certain computing ability.
  • the hardware and software of the earphone storage device can be combined to realize each target data.
  • kind of processing power For example, the earphone storage device can beautify or change the user's voice, or can convert the user's words into text, or can translate the user's words into audio or text in other languages, or any other applicable functions. This application implements The example does not restrict this.
  • the target data can be sent to the earphone storage device, so that the earphone storage device can process the target data and obtain the processing result.
  • the processing of the target data can include one or more types at the same time. For example, when a user uses a headset to talk to other people on the phone, the headset sends the collected audio data to the headset storage device, and the headset storage device can transfer the person in the audio data. Voice beautification or other changes can be made, and the words spoken by the user in the audio data can be translated into text in a certain language selected by the user to obtain a text-type translation result.
  • the earphone storage device may send the processing result to the earphone, and/or store the processing result, and/or display the processing result, and/or play the processing result, the earphone storage device may perform one of the above processing results on the processing result Or multiple operations.
  • it can only store the processing results when the earphone storage device has storage space, and only when the earphone storage device has a display, can it display the processing results, and only when the earphone storage device has speakers, can it play the processing results. .
  • the headset storage device when a user uses a headset to talk to other people on the phone, the headset storage device sends the human voice beautification or other changed audio data to the headset, and the headset then sends the human voice beautification or other changed audio data to the connected mobile phone.
  • the mobile phone completes the call with other people.
  • the earphone storage device can also translate the words spoken by the user into text in a certain language selected by the user, and store the translation result of the text type in the storage medium on the earphone storage device.
  • the storage device is equipped with a display, and the earphone storage device can also display the translation results of the text type. If the earphone storage device has a speaker, the earphone storage device can also translate the words spoken by the user into audio in a certain language selected by the user, and the audio type The translation result of is played out.
  • the earphone storage device can also use the cloud server to realize the above-mentioned functions. For example, the earphone storage device sends the audio data to the cloud server again, and the cloud server completes the translation, and then sends the translation result to the earphone storage device. The earphone storage device is then sent to the earphone.
  • the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  • Both the headset and the headset storage device have a Bluetooth chip, which can establish a connection through Bluetooth to transmit target data or processing results.
  • a general Bluetooth headset When a headset is connected to a mobile terminal or other electronic device via Bluetooth, a general Bluetooth headset only has a set of Bluetooth chips, and the headset can transmit data between the mobile terminal or other electronic device via Bluetooth.
  • the Bluetooth headset may have two sets of Bluetooth chips. The chip is used to transmit target data or processing results with the earphone storage device.
  • the headset may have a built-in mobile communication chip, for example, a 4G (The 4th Generation Mobile Communication Technology, fourth-generation mobile communication technology) chip, and a 5G (5th Generation Mobile Networks, fifth-generation mobile communication technology) chip.
  • the headset can send target data to the cloud server through the built-in mobile communication chip.
  • Cloud servers can provide more powerful computing capabilities, which can perform more complex processing on target data, can achieve more and more complex functions, reduce the power consumption of the headset storage device, and increase processing speed.
  • the cloud server can process the target data to obtain the processing result.
  • the processing of target data can include one or more types at the same time. For example, when a user uses a headset to talk to other people on the phone, after the headset sends the collected audio data to the cloud server, the cloud server can process the human voice in the audio data. For beautification or other changes, the words spoken by the user in the audio data can also be translated into text in a certain language selected by the user to obtain a text-type translation result. Specifically, it may include any applicable processing, which is not limited in the embodiment of the present application.
  • the cloud server may send the processing result to the headset and/or store the processing result, and the cloud server may perform one or more operations on the processing result.
  • the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, Speech synthesis data, recording files, the mark of the target audio in the audio data, the text data converted according to the audio data, memo information, reminder information, and the target audio data or target text in the target language obtained by translating the audio data Data, voice processing results based on voice processing functions.
  • the earphone storage device or cloud server receives the audio data, and performs noise reduction processing on the audio data to obtain the audio data after noise reduction processing, or the audio data can be echo canceled processing to obtain the echo cancellation processing
  • the audio data can be processed by human voice to obtain audio data after human voice processing, or the audio data can be processed by sound effect to obtain audio data after sound effect processing.
  • the vocal processing can include adjusting the pitch, timbre, making the sound soft or sharp or magnetic, or turning the sound into the voice of other people, so as to beautify or change the human voice, or other applications.
  • the human voice processing is not limited in the embodiment of this application.
  • Sound effect processing can include inserting sound effects such as applause, music, laughter, animal sounds, etc. into the audio data, or the audio data can be processed by a digital sound effect processor to make the sound sound with different spatial characteristics, such as halls and opera houses , Theaters, caves, stadiums, etc.
  • Environmental sound effects are mainly processed by environmental filtering, environmental shifting, environmental reflection, environmental transition, etc., to make the listener feel as if they are in a different environment, or any other suitable sound effect processing.
  • Speech synthesis data can include artificial speech produced by electronic methods, for example, speech produced by TTS (Text To Speech) technology.
  • the speech synthesis data can have a variety of timbres to choose from, and the speech rate can also be adjusted. , Intonation, volume, etc. For example, if the mobile phone is sent to the phone number of the earphone, the earphone storage device synthesizes speech synthesis data through TTS technology, and then sends the speech synthesis data to the earphone, and the earphone broadcasts the phone number by voice.
  • TTS Text To Speech
  • the earphone can send audio data to the earphone storage device or the cloud server, and the earphone storage device or the cloud server generates a recording file according to the audio data, and then stores it on the earphone storage device or the cloud server.
  • Recording includes telephone recording, voice memos, etc., or any other suitable recording method, which is not limited in the embodiment of the present application.
  • the processing result may also include the mark of the target audio in the audio data. When marking the target audio in a call, you need to store the target audio and mark the target audio. You can mark the target audio as important content, and you can also mark the target audio as other tags, which can include any applicable tags. , The embodiment of the present application does not limit this.
  • the earphone storage device or the cloud server can perform text conversion according to the audio data to obtain text data, or perform translation according to the audio data to obtain target audio data or target text data in a target language.
  • the earphone storage device or cloud server can also recognize text data, extract information such as time, location, task, and event, and automatically convert the recognized content into information formats such as memo information and reminder information as the processing result.
  • the translation processing function includes telephone translation, dialogue translation, simultaneous interpretation, etc., or any other applicable translation processing, which is not limited in the embodiment of the application.
  • voice processing includes the process of recognizing and understanding audio data and making corresponding feedback, including converting audio data into corresponding text or commands, recognizing voice information in audio data, and making corresponding feedback based on understanding, Or any other applicable processing, which is not limited in the embodiment of this application.
  • the voice processing function includes the algorithms, databases, and computing resources that are called for processing the voice in the audio data, or any other applicable content related to voice processing.
  • This embodiment of the present application does not Do restrictions.
  • the audio data is "Wow, how is the weather tomorrow", based on the voice processing function, the voice processing of "what is the weather tomorrow" is performed, and the voice processing result is "it will be sunny tomorrow, the temperature is 27 degrees", and the result is performed on the headset. Play.
  • a voice processing function is to call only local computing resources and use a local voice recognition model to recognize voice in audio.
  • the voice recognition model saves voice features extracted from pre-collected audio, and the recognizable voice is relatively limited.
  • the recognition speed is limited to the local computing resources;
  • another voice processing function is to use the cloud server to upload audio to the cloud server, call the computing resources on the cloud server, and use the voice recognition model to compare the audio Recognize the voice in the audio, understand the voice in the audio, and give corresponding feedback to the voice. It is no longer limited to local computing resources and sample libraries. It can have better voice processing effects and obtain more complex and diverse results.
  • the processing result includes body state information.
  • the body state information is used to characterize the user's physical state, for example, the temperature value of the user's body temperature, or the user's hyperthermia, normal body temperature, hypothermia and other prompt sounds, the value of the user's heart rate, or the user's heart rate, heart rate Prompts such as too slow, normal heart rate, or any other applicable body state information are not limited in the embodiment of the present application.
  • the earphone storage device or the cloud server can generate body state information according to temperature data and/or heart rate data. For example, calculate the user’s average body temperature in a day based on temperature data, calculate the user’s average heart rate in a day based on heart rate data, use the average body temperature and average heart rate as body state information, or according to the temperature range in which the temperature data is located, Determine whether the user has a hyperthermia, or a normal body temperature, or a hypothermia, as the body state information, or determine the user's heart rate according to the heart rate zone in which the heart rate data is located, as the body state Information, or any other applicable method to generate body state information, the embodiment of the present application does not limit this.
  • the processing result includes the user's motion state.
  • the user’s motion state is used to characterize the actions the user makes, for example, the user’s head movements such as nodding, shaking his head, lowering his head, or raising his head, or the user is walking or running, or any other applicable motion state.
  • This application is implemented The example does not restrict this.
  • the acceleration sensor is built into the headset, and an algorithm for recognizing the user's motion state is embedded in the headset, so that the headset has the ability to recognize the user's motion state.
  • There are many ways to recognize the user's motion state For example, after the acceleration sensor collects the electrical signal, it matches the electrical signal of multiple motion states. If it matches the electrical signal of the target motion state, the user's current motion is identified. The state is the target motion state; or after the acceleration sensor collects the electrical signal, the electrical signal is converted into acceleration information, which is expressed as the magnitude and direction of the acceleration. According to the acceleration information, the user’s current motion state can be determined by any applicable implementation method. , The embodiment of the present application does not limit this.
  • the target data is collected through the headset, and the target data is sent to the headset storage device, so that the headset storage device can process the target data to obtain the processing result, and send the processing result to the headset, and / Or store the processing result, and/or display the processing result, and/or play the processing result, or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can process the target data to obtain the processing result , And send the processing results to the headset and/or store the processing results, so that the headset storage device or cloud server with stronger computing capabilities can process the target data.
  • the headset can use the headset storage device or cloud server to calculate and store, And/or display, and/or playback capabilities solve the problem that functions that require higher computing capabilities cannot be implemented by headphones.
  • FIG. 2 there is shown a flow chart of the steps of another embodiment of the data processing method of the present application, which is applied to a headset, and may specifically include the following steps:
  • Step 201 Collect target data.
  • Step 202 Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or storage
  • the processing result, and/or the processing result is displayed, and/or the processing result is played.
  • Step 203 Receive the processing result sent by the earphone storage device.
  • the earphone storage device sends the processing result to the earphone, and the earphone receives the sent processing result for the earphone to send the processing result to the mobile terminal, or to play the processing result, or to store the processing result in the earphone On the storage medium.
  • the earphone storage device after receiving the processing result sent by the earphone storage device, it may further include: the earphone sending the processing result to the mobile terminal.
  • the headset storage device sends the human voice beautification or other changed audio data to the headset, and the headset then sends the human voice beautification or other changed audio data to the connected mobile phone. Then the mobile phone can send the beautified or other changed audio data to the other party, so that the other party can hear the beautified or other changed human voice.
  • the earphone storage device after receiving the processing result sent by the earphone storage device, it may further include: an earphone playing the processing result.
  • the earphone collects the user’s temperature data and heart rate data.
  • the earphone storage device obtains the user’s body state information such as hyperthermia and rapid heart rate based on the temperature data and heart rate data.
  • the excessively fast body state information is sent to the earphone, and the earphone plays the body state information, so as to achieve the effect of prompting the user.
  • the method may further include: storing the processing result on a storage medium on the earphone.
  • the earphone When the earphone has a storage medium, after the earphone receives the processing result, it can also store the processing result on the storage medium on the earphone to facilitate subsequent earphones to obtain the processing result more quickly when the processing result is needed, or in The processing result can be obtained when the earphone cannot establish a communication connection with the earphone storage device.
  • the target data is collected by earphones, and the target data is sent to the earphone storage device, so that the earphone storage device can process the target data to obtain the processing result, and then send the target data to the earphone storage device.
  • the headset storage device with stronger computing power can process the target data.
  • the headset can use the calculation and storage, and/or display, and/or playback capabilities of the headset storage device, solving functions that require higher computing capabilities Unable to rely on the headset to achieve the problem.
  • FIG. 3 there is shown a step flow chart of another embodiment of the data processing method of the present application, which is applied to the earphone storage device, and may specifically include the following steps:
  • Step 301 Obtain target data.
  • the acquisition of target data may be by receiving target data from a headset, or may be by collecting audio data (ie target data) through a microphone array provided on the headset storage device, or any other suitable acquisition method ,
  • the embodiment of the present application does not limit this.
  • an implementation manner of obtaining target data includes: receiving target data from a headset. For example, after the headset collects target data, the target data is sent to the headset storage device via Bluetooth.
  • Step 302 Process the target data to obtain a processing result.
  • the earphone storage device realizes various processing capabilities of target data through a combination of hardware and software, for example, human voice processing on audio data, beautification of human voice or other changes, or audio Data is converted into text data, or translated based on audio data, to obtain target audio data or target text data in the target language, or generate body state information based on temperature data and/or heart rate data, or generate user action state based on acceleration data , Or any other applicable processing, which is not limited in the embodiment of this application.
  • human voice processing on audio data beautification of human voice or other changes
  • audio Data is converted into text data, or translated based on audio data, to obtain target audio data or target text data in the target language, or generate body state information based on temperature data and/or heart rate data, or generate user action state based on acceleration data , Or any other applicable processing, which is not limited in the embodiment of this application.
  • an implementation manner of processing the target data to obtain the processing result may include: sending the target data to a cloud server; receiving the cloud server's response to the The processing result obtained by processing the target data.
  • the headset storage device When processing the target data, in addition to the processing by the headset storage device itself, it can also be processed by the cloud server.
  • the headset storage device After the headset storage device obtains the target data, it sends the target data to the cloud server, and the cloud server processes the target data , And then the cloud server sends the processing result to the earphone storage device.
  • the cloud server performs translation according to the audio data to obtain the target audio data or target text data in the target language, which may specifically include any applicable processing, which is not limited in the embodiment of the present application.
  • Cloud servers can provide more powerful computing capabilities, which can perform more complex processing on target data, can achieve more and more complex functions, reduce the power consumption of the headset storage device, and increase processing speed.
  • it may further include: detecting whether the target data meets preset requirements or user settings; if the target data meets preset requirements or user settings, executing the target data The step of sending data to a cloud server; if the target data does not meet preset requirements or user settings, the earphone storage device will process the target data.
  • the earphone storage device can detect whether the target data meets preset requirements or user settings.
  • the preset requirements include whether the data amount of the target data exceeds a set threshold, whether the type of the target data is a preset type, etc., or any other applicable requirements, which are not limited in the embodiment of the present application.
  • the user settings include whether the data volume of the target data exceeds the threshold set by the user, whether the type of the target data is the type set by the user, etc., or any other applicable settings, which are not limited in the embodiment of the present application. In this way, it is possible to flexibly control whether the target data is processed by the cloud server or the earphone storage device, so as to make better use of the computing resources of the earphone storage device and the cloud server.
  • it may also include: in an implementation manner of detecting whether the target data meets a preset requirement, it may include: if the data amount of the target data exceeds a set threshold, then It is determined that the target data meets a preset requirement; if the data amount of the target data does not exceed a set threshold, it is determined that the target data does not meet the preset requirement.
  • both the headset storage device and the cloud server can process the target data
  • the target data when the data volume of the target data exceeds the set threshold, that is, the target data meets the preset requirements, the target data is sent to the cloud server , Is processed by the cloud server, and when the data volume of the target data does not exceed the set threshold, that is, the target data does not meet the preset requirements, the headset storage device directly processes the target data.
  • the storage space and computing power of the earphone storage device are limited, and when the amount of target data is large, it is sent to the cloud server for processing, which reduces the power consumption of the earphone storage device and improves the processing speed.
  • the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  • the earphone storage device has the ability to connect to the Internet, and can connect to the Internet through a mobile communication network or a wireless local area network.
  • the earphone storage device has a 4G-LTE (The 4th Generation Mobile Communication Technology-Long Term Evolution) module, which can connect to a 4G network and transmit target data to a cloud server.
  • 4G-LTE The 4th Generation Mobile Communication Technology-Long Term Evolution
  • the processing result includes the audio data processed by noise reduction; in an implementation manner of processing the target data to obtain the processing result, it may include: performing noise reduction on the audio data. Noise processing to obtain the audio data after the noise reduction processing.
  • the real-time sampled digital signal is subjected to spectrum analysis, so that the corresponding intensity and spectrum distribution of the background noise can be analyzed, and then a filter can be designed according to this model.
  • the signal analysis is performed at the same time.
  • this filter changes in real time according to the comparison of the two signals, allowing the frequency spectrum of the speaker’s voice to pass, suppressing the background noise spectrum and reducing its energy For example, if you reduce it by 15 to 20 decibels, you can clearly feel the effect of noise suppression.
  • the processing result includes audio data after echo cancellation processing; in an implementation manner of processing the target data to obtain the processing result, it may include: echoing the audio data Cancellation processing to obtain the audio data after the echo cancellation processing.
  • the basic principle of echo cancellation is based on the correlation between the loudspeaker signal and the multipath echo generated by it, and establishes a voice model of the far-end signal, uses it to estimate the echo, and constantly modifies the filter coefficients to make the estimated value more Approximately true echo. Then, the echo estimation value is subtracted from the input signal of the microphone, so as to achieve the purpose of eliminating the echo.
  • the voice model of the far-end signal is established, the echo is estimated with it, and the coefficients of the filter are constantly modified to make the estimated value more close to the real echo. Then, the echo estimate value is subtracted from the input signal of the microphone, so as to achieve the purpose of eliminating the echo, and the input of the microphone is compared with the past value of the loudspeaker, thereby eliminating the acoustic echo of multiple reflections that prolong the delay. Depending on the output value of the past speakers stored in the memory, various delayed echoes can be eliminated.
  • the target data includes audio data
  • an implementation manner of processing the target data to obtain the processing result may include: performing human voice processing on the audio data to obtain a human voice. Audio data after sound processing; and/or sound effect processing is performed on the audio data to obtain audio data after sound effect processing.
  • the target data includes audio data
  • the processing result includes a recording file.
  • generating the recording file please refer to the description in the foregoing embodiment, which will not be repeated here.
  • an implementation manner of processing the target data to obtain the processing result may include: marking the target audio in the audio data.
  • the target data includes audio data
  • the processing result includes text data
  • an implementation manner of processing the target data to obtain the processing result may include: converting the audio data
  • the specific implementation can refer to the description in the foregoing embodiment, which will not be repeated here.
  • the target data to obtain the processing result may further include: identifying a preset type of target information in the text data; Information, generate memo or reminder information.
  • the preset types include time, location, person, event, etc., or any other applicable types, which are not limited in the embodiment of the present application. Identify preset types of target information in the text data, and then generate memo or reminder information based on the target information. For example, the text data is "November 7, 2020 at the Bird's Nest Concert", the target information of the identified time type is "November 7, 2020”, the target information of the location type is "Bird's Nest”, and the target of the event type is The information is "concert”, and then based on the target information, a reminder message is generated to remind the user at that time.
  • the target data includes text data
  • an implementation manner of processing the target data to obtain the processing result may include: generating speech synthesis data according to the text data, specifically
  • speech synthesis data specifically For the implementation manner, reference may be made to the description in the foregoing embodiment, which will not be repeated here.
  • the target data includes audio data
  • an implementation manner of processing the target data to obtain the processing result may include: translating to obtain the target language according to the audio data
  • the target data includes temperature data and/or heart rate data
  • the processing result includes body state information.
  • An implementation of processing the target data to obtain the processing result may include: According to the temperature data and/or the heart rate data, the body state information is generated.
  • the target data includes acceleration data
  • an implementation of processing the target data to obtain the processing result may include: generating the user's action state according to the acceleration data
  • it may further include: determining a target process associated with the motion state; and executing the target process.
  • the motion state is associated with the target process.
  • Target processing includes answering or rejecting a call, marking the target audio in the call, turning up or down the volume, turning on or off the voice processing function, giving voice prompts to the user, etc., or any other applicable processing. The embodiment does not limit this.
  • calls include but are not limited to telephone calls, audio calls or video calls in instant messaging software, etc.
  • the target audio in the call includes one's own or the other party's audio.
  • Voice processing includes the process of recognizing, understanding, and giving corresponding feedback to audio, including converting audio into corresponding text or commands, recognizing voice information in the audio, and making corresponding feedback based on understanding, or any other applicable Voice processing is not limited in this embodiment of the application.
  • the voice assistant function include, but are not limited to, voice prompts that remind the user to sit for a long time, and to remind the user to bow his head for a long time.
  • the target data includes acceleration data and position data
  • an implementation manner of performing target processing on the target data to obtain the processing result may include: according to the acceleration data and the position data
  • the earphone storage device can also obtain position data, for example, the current position data can be obtained by using a GPS (Global Positioning System, global positioning system) chip built in the earphone storage device.
  • GPS Global Positioning System, global positioning system
  • navigation prompt information can be generated.
  • the navigation prompt information includes the navigation path, the prompt information of the next action that needs to be performed along the navigation of the user's current position, etc., or any other applicable navigation prompt information,
  • the embodiments of this application do not impose restrictions on this.
  • the headset and headset storage device receive the user’s request, generate a navigation path from the user’s current location to the destination, and then give the user a voice navigation prompt.
  • the headset and headset storage device receive the user’s request, generate a navigation path from the user’s current location to the destination, and then give the user a voice navigation prompt.
  • the user’s walking according to Acceleration data and position data continuously generate navigation prompt information, and prompt the user when the user needs to turn or go the wrong way, so as to guide the user to the destination.
  • the target data includes audio data
  • performing target processing on the target data to obtain a processing result includes: performing voice processing on the audio data based on a voice processing function to obtain a voice processing result
  • Step 303 Send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server.
  • the earphone storage device after the earphone storage device obtains the processing result, it can send the processing result to the earphone, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or the processing result Send to the cloud server, and the earphone storage device can perform one or more of the above operations on the processing result.
  • the target data is acquired through the earphone storage device, the target data is processed, and the processing result is obtained, and the processing result is sent to the earphone, and/or the processing is stored Result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server, so that the earphone storage device with stronger computing capability can process the target data,
  • the earphone can use the calculation and storage, and/or display, and/or playback capabilities of the earphone storage device, which solves the problem that functions that require higher computing capabilities cannot be implemented by the earphone.
  • FIG. 4 there is shown a step flow chart of another embodiment of the data processing method of the present application, which is applied to the earphone storage device, and may specifically include the following steps:
  • Step 401 Collect the audio data through a microphone array provided on the earphone storage device.
  • the earphone storage device has local data processing capabilities. If a microphone array is installed on the earphone storage device, the earphone storage device can be used as an independent sound pickup device. In some application scenarios, the earphone storage device can collect audio data through a microphone array. Compared with collecting audio data through the microphone on the earphone, the microphone array consists of a set of microphones placed in a certain geometric structure (commonly used linear or circular). The collected sound signals in different spatial directions are processed in space-time to achieve functions such as noise suppression, reverberation removal, vocal interference suppression, sound source direction finding, sound source tracking, array gain, etc., thereby improving the quality of speech signal processing to improve reality The speech recognition rate in the environment.
  • Step 402 Process the audio data to obtain a processing result.
  • the processing result includes prompt information
  • an implementation of processing the target data to obtain the processing result may include: detecting the source direction of the environmental sound based on the audio data And/or type; generating prompt information according to the source direction and/or type of the environmental sound.
  • Multiple audio collection devices of the microphone array can collect multiple channels of audio data, can determine the source direction of the sound based on the controllable beamforming method of the maximum output power, or can determine the source direction of the sound based on the method of high-resolution spectrum estimation, or The source direction of the sound can be determined based on the method of the time difference of the sound wave arrival, or the source direction of the sound can be determined in combination with the above several methods, which is not limited in the embodiment of the present application.
  • the audio data can be matched with several known types of sounds to determine the type of environmental sound. For example, the collected environmental sound is the roar of a car.
  • prompt information is generated.
  • the prompt information can be used to prompt the source direction and/or type of the environmental sound. For example, if the environmental sound is determined to be the roar of a car ahead, then a prompt is generated Message: "Attention! There is a vehicle ahead! The prompt message is sent to the headset as a processing result, and the headset is played to the user, thereby prompting the user of danger.
  • Step 403 Send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server.
  • the audio data is collected by the earphone storage device through the microphone array provided on the earphone storage device, the audio data is processed to obtain the processing result, and the processing
  • the result is sent to the headset, and/or the processing result is stored, and/or the processing result is displayed, and/or the processing result is played, and/or the processing result is sent to a cloud server, so that
  • the earphone storage device of the microphone array can collect the surrounding sound better than the earphone, and/or send the processing result to the cloud server, so that the earphone storage device with stronger computing power can process the target data, and the earphone can use
  • the calculation and storage, and/or display, and/or playback capabilities of the earphone storage device solve the problem that functions that require higher computing capabilities cannot be implemented by earphones.
  • FIG. 5 there is shown a structural block diagram of an embodiment of a data processing device of the present application, which is applied to a headset, and may specifically include:
  • the data collection module 501 is used to collect target data
  • the data sending module 502 is configured to send the target data to the earphone storage device, so that the earphone storage device can process the target data to obtain the processing result, and send the processing result to the earphone, and / Or store the processing result, and/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset for all
  • the cloud server processes the target data to obtain a processing result, and sends the processing result to the headset, and/or stores the processing result.
  • the device further includes:
  • the result receiving module is configured to receive the processing result sent by the earphone receiving device after the target data is sent to the earphone receiving device.
  • the device further includes:
  • the result sending module is configured to send the processing result to the mobile terminal after the receiving the processing result sent by the earphone storage device.
  • the device further includes:
  • the result playing module is configured to play the processing result after the receiving the processing result sent by the earphone storage device.
  • the device further includes:
  • the result storage module is configured to store the processing result on the storage medium on the earphone after the receiving the processing result sent by the earphone storage device.
  • the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  • the data collection module includes at least one of the following:
  • an audio collection module is configured to collect the audio data through a microphone set on the headset;
  • an acceleration collection module is configured to collect the acceleration data through an acceleration sensor provided on the headset;
  • a temperature collection module is configured to collect the temperature data through a temperature sensor provided on the earphone;
  • the heart rate collection module is configured to collect the heart rate data through a heart rate sensor provided on the earphone.
  • the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio after sound effect processing Data, speech synthesis data, recording files, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data in the target language obtained by translating the audio data, or Target text data, voice processing results based on voice processing functions.
  • the processing result includes body state information.
  • the processing result includes the user's motion state.
  • the target data is collected through the headset, and the target data is sent to the headset storage device, so that the headset storage device can process the target data to obtain the processing result, and send the processing result to the headset, and / Or store the processing result, and/or display the processing result, and/or play the processing result, or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can process the target data to obtain the processing result , And send the processing results to the headset and/or store the processing results, so that the headset storage device or cloud server with stronger computing capabilities can process the target data.
  • the headset can use the headset storage device or cloud server to calculate and store, And/or display, and/or playback capabilities solve the problem that functions that require higher computing capabilities cannot be implemented by headphones.
  • FIG. 6 there is shown a structural block diagram of an embodiment of a data processing device of the present application, which is applied to a headset storage device, which may specifically include:
  • the data acquisition module 601 is used to acquire target data
  • the data processing module 602 is configured to process the target data to obtain a processing result
  • the result processing module 603 is configured to send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or transfer the processing result The result is sent to the cloud server.
  • the data acquisition module includes:
  • the data receiving module is used to receive the target data from the earphone.
  • the target data includes audio data
  • the data acquisition module includes:
  • the data collection module is used to collect the audio data through a microphone array arranged on the earphone storage device.
  • the data processing module includes:
  • the environmental sound detection module is used to detect the source direction and/or type of the environmental sound according to the audio data
  • the prompt generation module is used to generate prompt information according to the source direction and/or type of the environmental sound.
  • the data processing module includes:
  • the noise reduction processing module is used to perform noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
  • the data processing module includes:
  • the echo cancellation module is used to perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
  • the target data includes audio data
  • the data processing module includes:
  • the human voice effect module is used to perform human voice processing on the audio data to obtain human voice processed audio data; and/or perform sound effect processing on the audio data to obtain sound effect processed audio data.
  • the target data includes audio data
  • the processing result includes a recording file
  • the data processing module includes:
  • the marking module is used to mark the target audio in the audio data.
  • the target data includes audio data
  • the data processing module includes:
  • the text conversion module is used to convert the audio data into the text data.
  • the data processing module further includes:
  • An information recognition module for recognizing a preset type of target information in the text data
  • the memo reminder generating module is used to generate memo information or reminder information according to the target information.
  • the target data includes text data
  • the data processing module includes:
  • the speech generation module is used to generate speech synthesis data according to the text data.
  • the target data includes audio data
  • the data processing module includes:
  • the translation module is used to translate the target audio data or target text data in the target language according to the audio data.
  • the target data includes temperature data and/or heart rate data
  • the data processing module includes:
  • the body state generating module is used to generate body state information according to the temperature data and/or heart rate data.
  • the target data includes acceleration data
  • the data processing module includes:
  • the motion state recognition module is used to recognize the user's motion state according to the acceleration data.
  • the device further includes:
  • a processing determination module configured to determine the target processing associated with the motion state
  • the processing execution module is used to execute the target processing.
  • the target data includes acceleration data and position data
  • the data processing module includes:
  • the navigation generating module is used to generate navigation prompt information according to the acceleration data and position data.
  • the target data includes audio data
  • the data processing module includes:
  • the voice processing module is used to perform voice processing on the audio data based on the voice processing function to obtain a voice processing result.
  • the data processing module includes:
  • a data sending module for sending the target data to a cloud server
  • the result receiving module is configured to receive the processing result obtained by the cloud server processing the target data.
  • the device further includes:
  • the requirement detection module is used to detect whether the target data meets preset requirements or user settings
  • the cloud execution module is configured to execute the step of sending the target data to the cloud server if the target data meets preset requirements or user settings;
  • the storage device execution module is configured to process the target data by the earphone storage device if the target data does not meet preset requirements or user settings.
  • the requirement detection module is specifically used for:
  • the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  • the target data is acquired through the earphone storage device, the target data is processed, and the processing result is obtained, and the processing result is sent to the earphone, and/or the processing is stored Result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server, so that the earphone storage device with stronger computing capability can process the target data,
  • the earphone can use the calculation and storage, and/or display, and/or playback capabilities of the earphone storage device, which solves the problem that functions that require higher computing capabilities cannot be implemented by the earphone.
  • the device embodiments described above are merely illustrative.
  • the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement without creative work.
  • Fig. 7 is a block diagram showing a device 700 for data processing according to an exemplary embodiment.
  • the apparatus 700 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
  • the device 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, And the communication component 716.
  • the processing component 702 generally controls the overall operations of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing element 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the foregoing method.
  • the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components.
  • the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
  • the memory 704 is configured to store various types of data to support the operation of the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc.
  • the memory 704 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable and Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable and Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic Disk Magnetic Disk or Optical Disk.
  • the power supply component 706 provides power to various components of the device 700.
  • the power supply component 706 may include a power management system, one or more power supplies, and other components associated with the generation, management, and distribution of power for the device 700.
  • the multimedia component 708 includes a screen that provides an output interface between the device 700 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or sliding action, but also detect the duration and pressure related to the touch or sliding operation.
  • the multimedia component 708 includes a front camera and/or a rear camera. When the device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 710 is configured to output and/or input audio signals.
  • the audio component 710 includes a microphone (MIC), and when the device 700 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal.
  • the received audio signal can be further stored in the memory 704 or sent via the communication component 716.
  • the audio component 710 further includes a speaker for outputting audio signals.
  • the I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module.
  • the above-mentioned peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
  • the sensor component 714 includes one or more sensors for providing the device 700 with various aspects of status assessment.
  • the sensor component 714 can detect the on/off status of the device 700 and the relative positioning of components.
  • the component is the display and the keypad of the device 700.
  • the sensor component 714 can also detect the position change of the device 700 or a component of the device 700. , The presence or absence of contact between the user and the device 700, the orientation or acceleration/deceleration of the device 700, and the temperature change of the device 700.
  • the sensor component 714 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact.
  • the sensor component 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
  • the communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices.
  • the device 700 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
  • the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 716 further includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the apparatus 700 may be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component is used to implement the above method.
  • ASIC application specific integrated circuits
  • DSP digital signal processors
  • DSPD digital signal processing devices
  • PLD programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component is used to implement the above method.
  • non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, which may be executed by the processor 720 of the device 700 to complete the foregoing method.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • Fig. 8 is a schematic diagram of the structure of a server in some embodiments of the present application.
  • the server 1900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1922 (for example, one or more processors) and a memory 1932, one or one
  • the above storage medium 1930 (for example, one or one storage device with a large amount of storage) for storing the application program 1942 or the data 1944.
  • the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage.
  • the program stored in the storage medium 1930 may include one or more modules (not shown in the figure), and each module may include a series of command operations on the server.
  • the central processing unit 1922 may be configured to communicate with the storage medium 1930, and execute a series of instruction operations in the storage medium 1930 on the server 1900.
  • the server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941 , Such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and so on.
  • a non-transitory computer-readable storage medium When the instructions in the storage medium are executed by the processor of a device (smart terminal or server), the device can execute a data processing method applied to a headset.
  • the method include:
  • the data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
  • the method further includes:
  • the method further includes:
  • the processing result is sent to the mobile terminal.
  • the method further includes:
  • the method further includes:
  • the processing result is stored on the storage medium on the earphone.
  • the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  • the collection target data includes at least one of the following:
  • the target data includes audio data
  • collecting the audio data through a microphone set on the earphone;
  • the target data includes acceleration data
  • collecting the acceleration data through an acceleration sensor provided on the earphone;
  • the target data includes temperature data
  • the heart rate data is collected by a heart rate sensor provided on the earphone.
  • the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
  • the processing result includes body state information.
  • the processing result includes the motion state of the user.
  • a non-transitory computer-readable storage medium When the instructions in the storage medium are executed by the processor of a device (smart terminal or server), the device can execute a data processing method applied to a headset storage device.
  • the methods include:
  • the acquiring target data includes:
  • the target data includes audio data
  • the acquiring target data includes:
  • the audio data is collected through a microphone array provided on the earphone storage device.
  • the processing the target data to obtain a processing result includes:
  • prompt information is generated.
  • the processing the target data to obtain a processing result includes:
  • the processing the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing result includes a recording file.
  • the processing the target data to obtain a processing result includes:
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • the audio data is converted into the text data.
  • processing the target data to obtain a processing result further includes:
  • memo information or reminder information is generated.
  • the target data includes text data
  • the processing of the target data to obtain a processing result includes:
  • speech synthesis data is generated.
  • the target data includes audio data
  • the processing of the target data to obtain a processing result includes:
  • target audio data or target text data in the target language is obtained by translation.
  • the target data includes temperature data and/or heart rate data
  • the processing of the target data to obtain a processing result includes:
  • body state information is generated.
  • the target data includes acceleration data
  • the processing of the target data to obtain a processing result includes:
  • the user's motion state is recognized.
  • the method further includes:
  • the target data includes acceleration data and position data
  • performing target processing on the target data to obtain a processing result includes:
  • navigation prompt information is generated.
  • the target data includes audio data
  • performing target processing on the target data to obtain a processing result includes:
  • voice processing is performed on the audio data to obtain a voice processing result.
  • the performing target processing on the target data to obtain a processing result includes:
  • the method further includes:
  • the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
  • the earphone storage device processes the target data.
  • the detecting whether the target data meets a preset requirement includes:
  • the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  • the embodiments of the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the instruction device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing terminal equipment, so that a series of operation steps are executed on the computer or other programmable terminal equipment to produce computer-implemented processing, so that the computer or other programmable terminal equipment
  • the instructions executed above provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Abstract

The embodiments of the present application provide a data processing method and apparatus, and a readable medium. Said method comprises: an earphone acquiring target data and sending the target data to an earphone containing apparatus, so that the earphone containing apparatus processes the target data to obtain a processing result, and sends the processing result to the earphone, and/or stores the processing result, and/or displays the processing result, and/or plays back the processing result; or sending the target data to a cloud server by means of a mobile communication chip built in the earphone, so that the cloud server processes the target data to obtain a processing result, and sends the processing result to the earphone and/or stores the processing result, such that the earphone containing apparatus or the cloud server which has a stronger computing capability can process the target data, and the earphone can take advantage of the capabilities, such as computing, storage, display and playback, of the earphone containing apparatus or the cloud server to solve the problem of a function requiring a higher computing capability being unachievable by the earphone.

Description

一种数据处理方法、装置和可读介质Data processing method, device and readable medium
本申请要求在中国申请的申请号为202010508183.3、申请日为2020年6月5日发明名称为“一种数据处理方法、装置及可读介质”的发明专利申请的全部优先权。This application claims all the priority of the invention patent application whose application number is 202010508183.3 and the application date is June 5, 2020 in China. The invention title is "a data processing method, device and readable medium".
技术领域Technical field
本申请涉及无线耳机技术领域,特别是涉及数据处理方法、数据处理装置、用于数据处理的装置、机器可读介质。This application relates to the technical field of wireless earphones, in particular to data processing methods, data processing devices, data processing devices, and machine-readable media.
背景技术Background technique
随着无线耳机技术的发展,真无线耳机(True Wireless Stereo,TWS)逐渐成为消费者的不二选择。真无线耳机的左右两个耳机本体“完全分离”,看不到一丝一毫的外露线材,是真正意义上的无线耳机。对比传统的“无线耳机”,真无线耳机的连接不仅是耳机和信号发射设备之间信号传输,还有主副耳机之间也存在无线连接。无线耳机的盒子只是用作耳机的收纳和充电的辅助设备存在。With the development of wireless headset technology, True Wireless Stereo (TWS) has gradually become the best choice for consumers. The left and right earphone bodies of true wireless earphones are "completely separated", and no trace of exposed wires can be seen. It is a true wireless earphone. Compared with traditional "wireless earphones", the connection of true wireless earphones is not only the signal transmission between the earphone and the signal transmitting device, but also the wireless connection between the main and auxiliary earphones. The box of the wireless earphone is only used as an auxiliary device for storing and charging the earphone.
由于无线耳机的体积不能太大,因此无线耳机是无法具备较强的计算能力的,因此无法实现对计算能力要求较高的功能。Since the volume of the wireless headset cannot be too large, the wireless headset cannot have strong computing power, and therefore cannot implement functions that require high computing power.
发明内容Summary of the invention
鉴于上述问题,本申请实施例提出了一种克服上述问题或者至少部分地解决上述问题的数据处理方法、数据处理装置、用于数据处理的装置、机器可读介质,本申请实施例能够解决对计算能力要求较高的功能无法依赖耳机实现的问题。In view of the foregoing problems, the embodiments of the present application propose a data processing method, a data processing device, a device for data processing, and a machine-readable medium that overcome or at least partially solve the foregoing problems. The embodiments of the present application can solve the problem. The problem that functions that require higher computing power cannot rely on the realization of the headset.
为了解决上述问题,本申请公开了一种数据处理方法,应用于耳机,包括:In order to solve the above-mentioned problems, this application discloses a data processing method applied to earphones, including:
采集目标数据;Collect target data;
将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or store the processing result , And/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can control the target The data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
可选地,在所述将所述目标数据发送给耳机收纳装置之后,所述方法还包括:Optionally, after the sending the target data to the earphone storage device, the method further includes:
接收所述耳机收纳装置发送来的所述处理结果。Receiving the processing result sent by the earphone storage device.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the method further includes:
将所述处理结果发送给移动终端。The processing result is sent to the mobile terminal.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the method further includes:
对所述处理结果进行播放。Play the processing result.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the method further includes:
将所述处理结果存储在所述耳机上的存储介质上。The processing result is stored on the storage medium on the earphone.
可选地,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。Optionally, the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
可选地,所述采集目标数据包括以下至少一种:Optionally, the collection target data includes at least one of the following:
所述目标数据包括音频数据时,通过设置在所述耳机上的麦克风采集所述音频数据;When the target data includes audio data, collecting the audio data through a microphone set on the earphone;
所述目标数据包括加速度数据时,通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, collecting the acceleration data through an acceleration sensor provided on the earphone;
所述目标数据包括温度数据时,通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, collect the temperature data through a temperature sensor provided on the earphone;
所述目标数据包括心率数据时,通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate data is collected by a heart rate sensor provided on the earphone.
可选地,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。Optionally, the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
可选地,所述目标数据包括温度数据和/或心率数据时,所述处理结果包括身体状态信息。Optionally, when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
可选地,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。Optionally, when the target data includes acceleration data, the processing result includes the motion state of the user.
本申请实施例还公开了一种数据处理方法,应用于耳机收纳装置,包括:The embodiment of the application also discloses a data processing method applied to the earphone storage device, including:
获取目标数据;Obtain target data;
对所述目标数据进行处理,得到处理结果;Processing the target data to obtain a processing result;
将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。Sending the processing result to a headset, and/or storing the processing result, and/or displaying the processing result, and/or playing the processing result, and/or sending the processing result to a cloud server.
可选地,所述获取目标数据包括:Optionally, the acquiring target data includes:
从所述耳机接收所述目标数据。Receiving the target data from the headset.
可选地,所述目标数据包括音频数据,所述获取目标数据包括:Optionally, the target data includes audio data, and the acquiring target data includes:
通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The audio data is collected through a microphone array provided on the earphone storage device.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
根据所述音频数据,检测环境音的来源方向和/或类型;Detect the source direction and/or type of environmental sound according to the audio data;
根据所述环境音的来源方向和/或类型,生成提示信息。According to the source direction and/or type of the environmental sound, prompt information is generated.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。Performing noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。Perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。Performing human voice processing on the audio data to obtain human voice processed audio data; and/or performing sound effect processing on the audio data to obtain sound effect processed audio data.
可选地,所述目标数据包括音频数据,所述处理结果包括录音文件。Optionally, the target data includes audio data, and the processing result includes a recording file.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据中的目标音频进行标记。Mark the target audio in the audio data.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
将所述音频数据转换成所述文本数据。The audio data is converted into the text data.
可选地,所述对所述目标数据进行处理,得到处理结果还包括:Optionally, the processing the target data to obtain a processing result further includes:
识别所述文本数据中预设类型的目标信息;Identifying a preset type of target information in the text data;
根据所述目标信息,生成备忘信息或提醒信息。According to the target information, memo information or reminder information is generated.
可选地,所述目标数据包括文本数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes text data, and the processing of the target data to obtain a processing result includes:
根据所述文本数据,生成语音合成数据。According to the text data, speech synthesis data is generated.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据。According to the audio data, target audio data or target text data in the target language is obtained by translation.
可选地,所述目标数据包括温度数据和/或心率数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes temperature data and/or heart rate data, and the processing of the target data to obtain a processing result includes:
根据所述温度数据和/或心率数据,生成身体状态信息。According to the temperature data and/or heart rate data, body state information is generated.
可选地,所述目标数据包括加速度数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes acceleration data, and the processing of the target data to obtain a processing result includes:
根据所述加速度数据,识别用户的运动状态。According to the acceleration data, the user's motion state is recognized.
可选地,所述方法还包括:Optionally, the method further includes:
确定所述运动状态相关联的目标处理;Determine the target processing associated with the exercise state;
执行所述目标处理。Perform the target processing.
可选地,所述目标数据包括加速度数据和位置数据,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the target data includes acceleration data and position data, and performing target processing on the target data to obtain a processing result includes:
根据所述加速度数据和位置数据,生成导航提示信息。According to the acceleration data and the position data, navigation prompt information is generated.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the target data includes audio data, and performing target processing on the target data to obtain a processing result includes:
基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。Based on the voice processing function, voice processing is performed on the audio data to obtain a voice processing result.
可选地,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the performing target processing on the target data to obtain a processing result includes:
将所述目标数据发送至云端服务器;Sending the target data to a cloud server;
接收所述云端服务器对所述目标数据进行处理得到的处理结果。Receiving the processing result obtained by the cloud server processing the target data.
可选地,所述方法还包括:Optionally, the method further includes:
检测所述目标数据是否符合预设要求或用户设置;Detecting whether the target data meets preset requirements or user settings;
若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;If the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。If the target data does not meet preset requirements or user settings, the earphone storage device processes the target data.
可选地,所述检测所述目标数据是否符合预设要求包括:Optionally, the detecting whether the target data meets a preset requirement includes:
若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
可选地,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。Optionally, the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
本申请实施例还公开了一种数据处理装置,应用于耳机,包括:The embodiment of the application also discloses a data processing device, which is applied to a headset, and includes:
数据采集模块,用于采集目标数据;Data collection module, used to collect target data;
数据发送模块,用于将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。The data sending module is configured to send the target data to the earphone storage device, so that the earphone storage device can process the target data to obtain the processing result, and send the processing result to the earphone, and/ Or store the processing result, and/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset for the The cloud server processes the target data to obtain a processing result, and sends the processing result to the headset, and/or stores the processing result.
可选地,所述装置还包括:Optionally, the device further includes:
结果接收模块,用于在所述将所述目标数据发送给耳机收纳装置之后,接收所述耳机收纳装置发送来的所述处理结果。The result receiving module is configured to receive the processing result sent by the earphone receiving device after the target data is sent to the earphone receiving device.
可选地,所述装置还包括:Optionally, the device further includes:
结果发送模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,将所述处理结果发送给移动终端。The result sending module is configured to send the processing result to the mobile terminal after the receiving the processing result sent by the earphone storage device.
可选地,所述装置还包括:Optionally, the device further includes:
结果播放模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,对所述处理结果进行播放。The result playing module is configured to play the processing result after the receiving the processing result sent by the earphone storage device.
可选地,所述装置还包括:Optionally, the device further includes:
结果存储模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,将所述处理结果存储在所述耳机上的存储介质上。The result storage module is configured to store the processing result on the storage medium on the earphone after the receiving the processing result sent by the earphone storage device.
可选地,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。Optionally, the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
可选地,所述数据采集模块包括以下至少一种:Optionally, the data collection module includes at least one of the following:
所述目标数据包括音频数据时,音频采集模块,用于通过设置在所述耳机上的麦克 风采集所述音频数据;When the target data includes audio data, an audio collection module is configured to collect the audio data through a microphone set on the earphone;
所述目标数据包括加速度数据时,加速度采集模块,用于通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, an acceleration collection module is configured to collect the acceleration data through an acceleration sensor provided on the headset;
所述目标数据包括温度数据时,温度采集模块,用于通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, a temperature collection module is configured to collect the temperature data through a temperature sensor provided on the earphone;
所述目标数据包括心率数据时,心率采集模块,用于通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate collection module is configured to collect the heart rate data through a heart rate sensor provided on the earphone.
可选地,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。Optionally, the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
可选地,所述目标数据包括温度数据和/或心率数据时,所述处理结果包括身体状态信息。Optionally, when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
可选地,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。Optionally, when the target data includes acceleration data, the processing result includes the motion state of the user.
本申请实施例还公开了一种数据处理装置,应用于耳机收纳装置,包括:The embodiment of the present application also discloses a data processing device, which is applied to the earphone storage device, and includes:
数据获取模块,用于获取目标数据;Data acquisition module for acquiring target data;
数据处理模块,用于对所述目标数据进行处理,得到处理结果;A data processing module for processing the target data to obtain a processing result;
结果处理模块,用于将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。The result processing module is used to send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or display the processing result Send to the cloud server.
可选地,所述数据获取模块包括:Optionally, the data acquisition module includes:
数据接收模块,用于从所述耳机接收所述目标数据。The data receiving module is used to receive the target data from the earphone.
可选地,所述目标数据包括音频数据,所述数据获取模块包括:Optionally, the target data includes audio data, and the data acquisition module includes:
数据采集模块,用于通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The data collection module is used to collect the audio data through a microphone array arranged on the earphone storage device.
可选地,所述数据处理模块包括:Optionally, the data processing module includes:
环境音检测模块,用于根据所述音频数据,检测环境音的来源方向和/或类型;The environmental sound detection module is used to detect the source direction and/or type of the environmental sound according to the audio data;
提示生成模块,用于根据所述环境音的来源方向和/或类型,生成提示信息。The prompt generation module is used to generate prompt information according to the source direction and/or type of the environmental sound.
可选地,所述数据处理模块包括:Optionally, the data processing module includes:
降噪处理模块,用于对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。The noise reduction processing module is used to perform noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
可选地,所述数据处理模块包括:Optionally, the data processing module includes:
回声消除模块,用于对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。The echo cancellation module is used to perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
可选地,所述目标数据包括音频数据,所述数据处理模块包括:Optionally, the target data includes audio data, and the data processing module includes:
人声音效模块,用于对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。The human voice effect module is used to perform human voice processing on the audio data to obtain human voice processed audio data; and/or perform sound effect processing on the audio data to obtain sound effect processed audio data.
可选地,所述目标数据包括音频数据,所述处理结果包括录音文件。Optionally, the target data includes audio data, and the processing result includes a recording file.
可选地,所述数据处理模块包括:Optionally, the data processing module includes:
标记模块,用于对所述音频数据中的目标音频进行标记。The marking module is used to mark the target audio in the audio data.
可选地,所述目标数据包括音频数据,所述数据处理模块包括:Optionally, the target data includes audio data, and the data processing module includes:
转文本模块,用于将所述音频数据转换成所述文本数据。The text conversion module is used to convert the audio data into the text data.
可选地,所述数据处理模块还包括:Optionally, the data processing module further includes:
信息识别模块,用于识别所述文本数据中预设类型的目标信息;An information recognition module for recognizing a preset type of target information in the text data;
备忘提醒生成模块,用于根据所述目标信息,生成备忘信息或提醒信息。The memo reminder generating module is used to generate memo information or reminder information according to the target information.
可选地,所述目标数据包括文本数据,所述数据处理模块包括:Optionally, the target data includes text data, and the data processing module includes:
语音生成模块,用于根据所述文本数据,生成语音合成数据。The speech generation module is used to generate speech synthesis data according to the text data.
可选地,所述目标数据包括音频数据,所述数据处理模块包括:Optionally, the target data includes audio data, and the data processing module includes:
翻译模块,用于根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据。The translation module is used to translate the target audio data or target text data in the target language according to the audio data.
可选地,所述目标数据包括温度数据和/或心率数据,所述数据处理模块包括:Optionally, the target data includes temperature data and/or heart rate data, and the data processing module includes:
身体状态生成模块,用于根据所述温度数据和/或心率数据,生成身体状态信息。The body state generating module is used to generate body state information according to the temperature data and/or heart rate data.
可选地,所述目标数据包括加速度数据,所述数据处理模块包括:Optionally, the target data includes acceleration data, and the data processing module includes:
运动状态识别模块,用于根据所述加速度数据,识别用户的运动状态。The motion state recognition module is used to recognize the user's motion state according to the acceleration data.
可选地,所述装置还包括:Optionally, the device further includes:
处理确定模块,用于确定所述运动状态相关联的目标处理;A processing determination module, configured to determine the target processing associated with the motion state;
处理执行模块,用于执行所述目标处理。The processing execution module is used to execute the target processing.
可选地,所述目标数据包括加速度数据和位置数据,所述数据处理模块包括:Optionally, the target data includes acceleration data and position data, and the data processing module includes:
导航生成模块,用于根据所述加速度数据和位置数据,生成导航提示信息。The navigation generating module is used to generate navigation prompt information according to the acceleration data and position data.
可选地,所述目标数据包括音频数据,所述数据处理模块包括:Optionally, the target data includes audio data, and the data processing module includes:
语音处理模块,用于基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。The voice processing module is used to perform voice processing on the audio data based on the voice processing function to obtain a voice processing result.
可选地,所述数据处理模块包括:Optionally, the data processing module includes:
数据发送模块,用于将所述目标数据发送至云端服务器;A data sending module for sending the target data to a cloud server;
结果接收模块,用于接收所述云端服务器对所述目标数据进行处理得到的处理结果。The result receiving module is configured to receive the processing result obtained by the cloud server processing the target data.
可选地,所述装置还包括:Optionally, the device further includes:
要求检测模块,用于检测所述目标数据是否符合预设要求或用户设置;The requirement detection module is used to detect whether the target data meets preset requirements or user settings;
云端执行模块,用于若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;The cloud execution module is configured to execute the step of sending the target data to the cloud server if the target data meets preset requirements or user settings;
收纳装置执行模块,用于若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。The storage device execution module is configured to process the target data by the earphone storage device if the target data does not meet preset requirements or user settings.
可选地,所述要求检测模块具体用于:Optionally, the requirement detection module is specifically used for:
若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
可选地,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。Optionally, the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
本申请实施例还公开了一种用于数据处理的装置,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:The embodiment of the application also discloses a device for data processing, including a memory, and one or more programs. One or more programs are stored in the memory and configured to be run by one or more processors. Executing the one or more programs includes instructions for performing the following operations:
采集目标数据;Collect target data;
将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or store the processing result , And/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can control the target The data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
可选地,在所述将所述目标数据发送给耳机收纳装置之后,所述操作的指令还包括:Optionally, after the target data is sent to the earphone storage device, the operation instruction further includes:
接收所述耳机收纳装置发送来的所述处理结果。Receiving the processing result sent by the earphone storage device.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述操作的指令还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the operation instruction further includes:
将所述处理结果发送给移动终端。The processing result is sent to the mobile terminal.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述操作的指令还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the operation instruction further includes:
对所述处理结果进行播放。Play the processing result.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述操作的指令还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the operation instruction further includes:
将所述处理结果存储在所述耳机上的存储介质上。The processing result is stored on the storage medium on the earphone.
可选地,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。Optionally, the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
可选地,所述采集目标数据包括以下至少一种:Optionally, the collection target data includes at least one of the following:
所述目标数据包括音频数据时,通过设置在所述耳机上的麦克风采集所述音频数据;When the target data includes audio data, collecting the audio data through a microphone set on the earphone;
所述目标数据包括加速度数据时,通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, collecting the acceleration data through an acceleration sensor provided on the earphone;
所述目标数据包括温度数据时,通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, collect the temperature data through a temperature sensor provided on the earphone;
所述目标数据包括心率数据时,通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate data is collected by a heart rate sensor provided on the earphone.
可选地,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。Optionally, the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
可选地,所述目标数据包括温度数据和/或心率数据时,所述处理结果包括身体状态信息。Optionally, when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
可选地,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。Optionally, when the target data includes acceleration data, the processing result includes the motion state of the user.
本申请实施例还公开了一种用于数据处理的装置,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:The embodiment of the application also discloses a device for data processing, including a memory, and one or more programs. One or more programs are stored in the memory and configured to be run by one or more processors. Executing the one or more programs includes instructions for performing the following operations:
获取目标数据;Obtain target data;
对所述目标数据进行处理,得到处理结果;Processing the target data to obtain a processing result;
将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。Sending the processing result to a headset, and/or storing the processing result, and/or displaying the processing result, and/or playing the processing result, and/or sending the processing result to a cloud server.
可选地,所述获取目标数据包括:Optionally, the acquiring target data includes:
从所述耳机接收所述目标数据。Receiving the target data from the headset.
可选地,所述目标数据包括音频数据,所述获取目标数据包括:Optionally, the target data includes audio data, and the acquiring target data includes:
通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The audio data is collected through a microphone array provided on the earphone storage device.
可选地,所述处理结果包括提示信息,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing result includes prompt information, and the processing of the target data to obtain the processing result includes:
根据所述音频数据,检测环境音的来源方向和/或类型;Detect the source direction and/or type of environmental sound according to the audio data;
根据所述环境音的来源方向和/或类型,生成提示信息。According to the source direction and/or type of the environmental sound, prompt information is generated.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。Performing noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。Perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。Performing human voice processing on the audio data to obtain human voice processed audio data; and/or performing sound effect processing on the audio data to obtain sound effect processed audio data.
可选地,所述目标数据包括音频数据,所述处理结果包括录音文件。Optionally, the target data includes audio data, and the processing result includes a recording file.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据中的目标音频进行标记。Mark the target audio in the audio data.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
将所述音频数据转换成所述文本数据。The audio data is converted into the text data.
可选地,所述对所述目标数据进行处理,得到处理结果还包括:Optionally, the processing the target data to obtain a processing result further includes:
识别所述文本数据中预设类型的目标信息;Identifying a preset type of target information in the text data;
根据所述目标信息,生成备忘信息或提醒信息。According to the target information, memo information or reminder information is generated.
可选地,所述目标数据包括文本数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes text data, and the processing of the target data to obtain a processing result includes:
根据所述文本数据,生成语音合成数据。According to the text data, speech synthesis data is generated.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据。According to the audio data, target audio data or target text data in the target language is obtained by translation.
可选地,所述目标数据包括温度数据和/或心率数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes temperature data and/or heart rate data, and the processing of the target data to obtain a processing result includes:
根据所述温度数据和/或心率数据,生成身体状态信息。According to the temperature data and/or heart rate data, body state information is generated.
可选地,所述目标数据包括加速度数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes acceleration data, and the processing of the target data to obtain a processing result includes:
根据所述加速度数据,识别用户的运动状态。According to the acceleration data, the user's motion state is recognized.
可选地,所述操作的指令还包括:Optionally, the operation instruction further includes:
确定所述运动状态相关联的目标处理;Determine the target processing associated with the exercise state;
执行所述目标处理。Perform the target processing.
可选地,所述目标数据包括加速度数据和位置数据,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the target data includes acceleration data and position data, and performing target processing on the target data to obtain a processing result includes:
根据所述加速度数据和位置数据,生成导航提示信息。According to the acceleration data and the position data, navigation prompt information is generated.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the target data includes audio data, and performing target processing on the target data to obtain a processing result includes:
基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。Based on the voice processing function, voice processing is performed on the audio data to obtain a voice processing result.
可选地,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the performing target processing on the target data to obtain a processing result includes:
将所述目标数据发送至云端服务器;Sending the target data to a cloud server;
接收所述云端服务器对所述目标数据进行处理得到的处理结果。Receiving the processing result obtained by the cloud server processing the target data.
可选地,所述操作的指令还包括:Optionally, the operation instruction further includes:
检测所述目标数据是否符合预设要求或用户设置;Detecting whether the target data meets preset requirements or user settings;
若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;If the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。If the target data does not meet preset requirements or user settings, the earphone storage device processes the target data.
可选地,所述检测所述目标数据是否符合预设要求包括:Optionally, the detecting whether the target data meets a preset requirement includes:
若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
可选地,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。Optionally, the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
本申请实施例还公开了一种机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得装置执行如上述的数据处理方法。The embodiment of the present application also discloses a machine-readable medium on which instructions are stored, which when executed by one or more processors, cause the device to execute the above-mentioned data processing method.
本发明实施例还公开了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算处理设备上运行时,导致所述计算处理设备执行根据上述任一所述的数据处理方法。The embodiment of the present invention also discloses a computer program, including computer readable code, when the computer readable code runs on a computing processing device, it causes the computing processing device to execute the data processing method according to any one of the foregoing .
本申请实施例包括以下优点:The embodiments of the present application include the following advantages:
综上所述,依据本申请实施例,通过耳机采集目标数据,将目标数据发送给耳机收纳装置,以供耳机收纳装置对目标数据进行处理,得到处理结果,并将处理结果发送给耳机、和/或存储处理结果、和/或显示处理结果、和/或播放处理结果,或将目标数据通过内置于耳机的移动通信芯片发送给云端服务器,以供云端服务器对目标数据进行处理,得到处理结果,并将处理结果发送给耳机、和/或存储处理结果,使得具有更强计算能力的耳机收纳装置或云端服务器能够对目标数据进行处理,耳机能够利用耳机收纳装置或云端服务器的计算以及存储、和/或显示、和/或播放等能力,解决了对计算能力要求较高的功能无法依赖耳机实现的问题。In summary, according to the embodiments of the present application, the target data is collected through the headset, and the target data is sent to the headset storage device, so that the headset storage device can process the target data to obtain the processing result, and send the processing result to the headset, and / Or store the processing result, and/or display the processing result, and/or play the processing result, or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can process the target data to obtain the processing result , And send the processing results to the headset and/or store the processing results, so that the headset storage device or cloud server with stronger computing capabilities can process the target data. The headset can use the headset storage device or cloud server to calculate and store, And/or display, and/or playback capabilities solve the problem that functions that require higher computing capabilities cannot be implemented by headphones.
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。The above description is only an overview of the technical solution of this application. In order to understand the technical means of this application more clearly, it can be implemented in accordance with the content of the specification, and in order to make the above and other purposes, features and advantages of this application more obvious and understandable. , The following specifically cite the specific implementation of this application.
附图说明Description of the drawings
图1示出了本申请的一种数据处理方法实施例的步骤流程图;Fig. 1 shows a flow chart of the steps of an embodiment of a data processing method of the present application;
图2示出了本申请的另一种数据处理方法实施例的步骤流程图;Figure 2 shows a flow chart of the steps of another embodiment of the data processing method of the present application;
图3示出了本申请的又一种数据处理方法实施例的步骤流程图;FIG. 3 shows a flowchart of the steps of another embodiment of the data processing method of the present application;
图4示出了本申请的再一种数据处理方法实施例的步骤流程图;FIG. 4 shows a flow chart of the steps of another embodiment of the data processing method of the present application;
图5示出了本申请的一种数据处理装置实施例的结构框图;Fig. 5 shows a structural block diagram of an embodiment of a data processing device of the present application;
图6示出了本申请的另一种数据处理装置实施例的结构框图;Fig. 6 shows a structural block diagram of another embodiment of a data processing device of the present application;
图7是根据一示例性实施例示出的一种用于数据处理的装置的框图;Fig. 7 is a block diagram showing a device for data processing according to an exemplary embodiment;
及图8是本申请的一些实施例中服务器的结构示意图。And FIG. 8 is a schematic diagram of the structure of the server in some embodiments of the present application.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the drawings in the embodiments of this application. Obviously, the described embodiments These are a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
参照图1,示出了本申请的一种数据处理方法实施例的步骤流程图,应用于耳机,具体可以包括如下步骤:1, there is shown a step flow chart of an embodiment of a data processing method of the present application, which is applied to a headset, and specifically may include the following steps:
步骤101,采集目标数据。Step 101: Collect target data.
在本申请实施例中,耳机除了播放声音外,还可以采集数据,例如,耳机上设置麦克风可以采集音频数据,耳机上设置加速度传感器可以采集加速度数据等,或者其他任意适用的数据,本申请实施例对此不做限制。将耳机采集的一种或多种数据,记为目标数据。In the embodiment of this application, in addition to playing sound, the headset can also collect data. For example, a microphone can be set on the headset to collect audio data, and an acceleration sensor can be set on the headset to collect acceleration data, etc., or any other applicable data. This application implements The example does not restrict this. Record one or more types of data collected by the headset as target data.
在本申请实施例中,可选地,采集目标数据的实现方法包括多种,例如,目标数据包括音频数据时,通过设置在耳机上的麦克风可以采集音频数据;目标数据包括加速度数据时,通过设置在耳机上的加速度传感器采集加速度数据;目标数据包括温度数据时,通过设置在耳机上的温度传感器采集温度数据;目标数据包括心率数据时,通过设置在所述耳机上的心率传感器采集心率数据。具体可以通过任意适用的方法采集目标数据,本申请实施例对此不做限制。In the embodiment of the present application, optionally, there are multiple methods for collecting target data. For example, when the target data includes audio data, the audio data can be collected through a microphone set on the headset; when the target data includes acceleration data, through The acceleration sensor installed on the earphone collects acceleration data; when the target data includes temperature data, the temperature data is collected by the temperature sensor installed on the earphone; when the target data includes heart rate data, the heart rate data is collected by the heart rate sensor installed on the earphone . Specifically, the target data can be collected by any applicable method, which is not limited in the embodiment of the present application.
例如,用户在使用耳机与其他人通电话,耳机通过麦克风采集用户讲的话。For example, the user is using a headset to talk to other people on the phone, and the headset collects the user's words through the microphone.
步骤102,将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。Step 102: Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or storage The processing result, and/or the processing result is displayed, and/or the processing result is played; or the target data is sent to the cloud server through the mobile communication chip built in the headset, so that the cloud server can The target data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
在本申请实施例中,耳机收纳装置不再只是具备收纳和/或充电的辅助能力,而是具备一定的计算能力,具体可以通过耳机收纳装置的硬件和软件相结合来实现对目标数据的各种处理能力。例如,耳机收纳装置可以将用户的声音进行美化或者变化,或者可以将用户说的话转换成文本,或者可以将用户说的话翻译成其他语言的音频或文本,或者其他任意适用的功能,本申请实施例对此不做限制。In the embodiments of the present application, the earphone storage device no longer only has the auxiliary ability of storage and/or charging, but has a certain computing ability. Specifically, the hardware and software of the earphone storage device can be combined to realize each target data. Kind of processing power. For example, the earphone storage device can beautify or change the user's voice, or can convert the user's words into text, or can translate the user's words into audio or text in other languages, or any other applicable functions. This application implements The example does not restrict this.
在本申请实施例中,耳机采集目标数据后,可以将目标数据发送给耳机收纳装置,以供耳机收纳装置对目标数据进行处理,得到处理结果。对目标数据的处理可以同时包括一种或多种,例如,用户在使用耳机与其他人通电话时,耳机将采集的音频数据发送给耳机收纳装置后,耳机收纳装置可以将音频数据中的人声进行美化或其他变化,还可以将音频数据中用户讲的话翻译成用户所选择的某种语言的文本,得到文本类型的翻译结果。In the embodiment of the present application, after the earphone collects the target data, the target data can be sent to the earphone storage device, so that the earphone storage device can process the target data and obtain the processing result. The processing of the target data can include one or more types at the same time. For example, when a user uses a headset to talk to other people on the phone, the headset sends the collected audio data to the headset storage device, and the headset storage device can transfer the person in the audio data. Voice beautification or other changes can be made, and the words spoken by the user in the audio data can be translated into text in a certain language selected by the user to obtain a text-type translation result.
在本申请实施例中,耳机收纳装置可以将处理结果发送给耳机,和/或存储处理结果,和/或显示处理结果,和/或播放处理结果,耳机收纳装置可以对处理结果执行以上一种或多种操作。当然,只有在耳机收纳装置具备存储空间时,它才可以存储处理结果,只有在耳机收纳装置具备显示器时,它才可以显示处理结果,只有在耳机收纳装置具备扬声器时,它才可以播放处理结果。In the embodiment of the present application, the earphone storage device may send the processing result to the earphone, and/or store the processing result, and/or display the processing result, and/or play the processing result, the earphone storage device may perform one of the above processing results on the processing result Or multiple operations. Of course, it can only store the processing results when the earphone storage device has storage space, and only when the earphone storage device has a display, can it display the processing results, and only when the earphone storage device has speakers, can it play the processing results. .
例如,用户在使用耳机与其他人通电话时,耳机收纳装置将人声美化或其他变化后的音频数据发送给耳机,耳机再将人声美化或其他变化后的音频数据发送给连接的手机,手机完成与其他人的通话,同时,耳机收纳装置还可以将用户讲的话翻译成用户所选择的某种语言的文本,将文本类型的翻译结果存储在耳机收纳装置上的存储介质中,若耳机收纳装置具备显示器,耳机收纳装置还可以将文本类型的翻译结果进行显示,若耳机收纳装置具备扬声器,耳机收纳装置还可以将用户讲的话翻译成用户所选择的某种语言的音频,将音频类型的翻译结果播放出来。For example, when a user uses a headset to talk to other people on the phone, the headset storage device sends the human voice beautification or other changed audio data to the headset, and the headset then sends the human voice beautification or other changed audio data to the connected mobile phone. The mobile phone completes the call with other people. At the same time, the earphone storage device can also translate the words spoken by the user into text in a certain language selected by the user, and store the translation result of the text type in the storage medium on the earphone storage device. The storage device is equipped with a display, and the earphone storage device can also display the translation results of the text type. If the earphone storage device has a speaker, the earphone storage device can also translate the words spoken by the user into audio in a certain language selected by the user, and the audio type The translation result of is played out.
在本申请实施例中,耳机收纳装置还可以利用云端服务器来实现上述功能,例如,耳机收纳装置将音频数据再发送给云端服务器,由云端服务器完成翻译后,将翻译结果发送给耳机收纳装置,耳机收纳装置再发送给耳机。In the embodiment of the present application, the earphone storage device can also use the cloud server to realize the above-mentioned functions. For example, the earphone storage device sends the audio data to the cloud server again, and the cloud server completes the translation, and then sends the translation result to the earphone storage device. The earphone storage device is then sent to the earphone.
在本申请实施例中,可选地,耳机和耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。耳机和耳机收纳装置都具备蓝牙芯片,可以通过蓝牙建立连接传输目标数据或处理结果。In the embodiment of the present application, optionally, the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth. Both the headset and the headset storage device have a Bluetooth chip, which can establish a connection through Bluetooth to transmit target data or processing results.
当耳机通过蓝牙连接移动终端或其他电子设备时,一般的蓝牙耳机只具备一组蓝牙芯片,耳机可以通过蓝牙与移动终端或其他电子设备之间传输数据。为实现本申请的技术方案,即还要通过蓝牙连接耳机收纳装置,蓝牙耳机可以具备两组蓝牙芯片,其中一组蓝牙芯片用于与移动终端或其他电子设备之间传输数据,另一组蓝牙芯片用于与耳机收纳装置之间传输目标数据或处理结果。When a headset is connected to a mobile terminal or other electronic device via Bluetooth, a general Bluetooth headset only has a set of Bluetooth chips, and the headset can transmit data between the mobile terminal or other electronic device via Bluetooth. In order to realize the technical solution of the present application, that is, to connect the headset storage device through Bluetooth, the Bluetooth headset may have two sets of Bluetooth chips. The chip is used to transmit target data or processing results with the earphone storage device.
在本申请实施例中,耳机可以内置有移动通信芯片,例如,4G(The 4th Generation Mobile Communication Technology,第四代移动通信技术)芯片,5G(5th Generation Mobile Networks,第五代移动通信技术)芯片。耳机可以通过内置的移动通信芯片将目标数据发送给云端服务器。云端服务器可以提供更强大的计算能力,从而可以对目标数据进行更加复杂的处理,能够实现更多更复杂的功能,减少耳机收纳装置的功耗,提高处理速度等。In this embodiment of the application, the headset may have a built-in mobile communication chip, for example, a 4G (The 4th Generation Mobile Communication Technology, fourth-generation mobile communication technology) chip, and a 5G (5th Generation Mobile Networks, fifth-generation mobile communication technology) chip. . The headset can send target data to the cloud server through the built-in mobile communication chip. Cloud servers can provide more powerful computing capabilities, which can perform more complex processing on target data, can achieve more and more complex functions, reduce the power consumption of the headset storage device, and increase processing speed.
在本申请实施例中,云端服务器可以对目标数据进行处理,得到处理结果。对目标数据的处理可以同时包括一种或多种,例如,用户在使用耳机与其他人通电话时,耳机将采集的音频数据发送给云端服务器后,云端服务器可以将音频数据中的人声进行美化或其他变化,还可以将音频数据中用户讲的话翻译成用户所选择的某种语言的文本,得到文本类型的翻译结果。具体可以包括任意适用的处理,本申请实施例对此不做限制。In the embodiment of the present application, the cloud server can process the target data to obtain the processing result. The processing of target data can include one or more types at the same time. For example, when a user uses a headset to talk to other people on the phone, after the headset sends the collected audio data to the cloud server, the cloud server can process the human voice in the audio data. For beautification or other changes, the words spoken by the user in the audio data can also be translated into text in a certain language selected by the user to obtain a text-type translation result. Specifically, it may include any applicable processing, which is not limited in the embodiment of the present application.
在本申请实施例中,云端服务器可以将处理结果发送给耳机,和/或存储处理结果,云端服务器可以对处理结果执行以上一种或多种操作。In the embodiment of the present application, the cloud server may send the processing result to the headset and/or store the processing result, and the cloud server may perform one or more operations on the processing result.
在本申请实施例中,可选地,处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。In the embodiment of the present application, optionally, the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, Speech synthesis data, recording files, the mark of the target audio in the audio data, the text data converted according to the audio data, memo information, reminder information, and the target audio data or target text in the target language obtained by translating the audio data Data, voice processing results based on voice processing functions.
耳机采集音频数据后,由耳机收纳装置或云端服务器接收音频数据,并对音频数据 进行降噪处理,得到降噪处理后的音频数据,或者可以对音频数据进行回声消除处理,得到回声消除处理后的音频数据,或者可以对音频数据进行人声处理后,得到人声处理后的音频数据,或者可以对音频数据进行音效处理后,得到音效处理后的音频数据。After the earphone collects audio data, the earphone storage device or cloud server receives the audio data, and performs noise reduction processing on the audio data to obtain the audio data after noise reduction processing, or the audio data can be echo canceled processing to obtain the echo cancellation processing Or the audio data can be processed by human voice to obtain audio data after human voice processing, or the audio data can be processed by sound effect to obtain audio data after sound effect processing.
其中,人声处理可以包括调整音高、音色、把声音变得或温柔或尖锐或磁性、或者可以把声音变成其他人的声音等,从而对人声进行美化或者其他变化,或者其他任意适用的人声处理,本申请实施例对此不做限制。音效处理可以包括在音频数据中插入掌声、音乐、笑声、动物声音等音效,或者可以通过数字音效处理器对音频数据进行处理,使声音听起来带有不同的空间特性,比如大厅、歌剧院、影院、溶洞、体育场等。环境音效主要是通过对声音进行环境过滤、环境移位、环境反射、环境过渡等处理,使听音者感到仿佛置身于不同环境中,或者其他任意适用的音效处理,本申请实施例对此不做限制。语音合成数据可以包括通过电子的方法产生的人造语音,例如,通过TTS(Text To Speech,从文本到语音)技术产生的语音,语音合成数据可以有多种音色可供选择,还可以调节语速、语调、音量等。例如,将手机发送给耳机的电话号码,由耳机收纳装置通过TTS技术合成语音合成数据,然后将语音合成数据发送给耳机,由耳机对电话号码进行语音播报。Among them, the vocal processing can include adjusting the pitch, timbre, making the sound soft or sharp or magnetic, or turning the sound into the voice of other people, so as to beautify or change the human voice, or other applications. The human voice processing is not limited in the embodiment of this application. Sound effect processing can include inserting sound effects such as applause, music, laughter, animal sounds, etc. into the audio data, or the audio data can be processed by a digital sound effect processor to make the sound sound with different spatial characteristics, such as halls and opera houses , Theaters, caves, stadiums, etc. Environmental sound effects are mainly processed by environmental filtering, environmental shifting, environmental reflection, environmental transition, etc., to make the listener feel as if they are in a different environment, or any other suitable sound effect processing. This embodiment of the application does not Do restrictions. Speech synthesis data can include artificial speech produced by electronic methods, for example, speech produced by TTS (Text To Speech) technology. The speech synthesis data can have a variety of timbres to choose from, and the speech rate can also be adjusted. , Intonation, volume, etc. For example, if the mobile phone is sent to the phone number of the earphone, the earphone storage device synthesizes speech synthesis data through TTS technology, and then sends the speech synthesis data to the earphone, and the earphone broadcasts the phone number by voice.
其中,耳机可以将音频数据发送给耳机收纳装置或云端服务器,耳机收纳装置或云端服务器根据音频数据生成录音文件,然后存储在耳机收纳装置或云端服务器上。录音包括电话录音、语音备忘等,或者其他任意适用的录音方式,本申请实施例对此不做限制。处理结果还可以包括音频数据中目标音频的标记。对通话中的目标音频进行标记时,需要对目标音频进行存储,并对目标音频进行标记,可以将目标音频标记为重要内容,还可以将目标音频标记为其他标签,具体可以包括任意适用的标签,本申请实施例对此不做限制。Among them, the earphone can send audio data to the earphone storage device or the cloud server, and the earphone storage device or the cloud server generates a recording file according to the audio data, and then stores it on the earphone storage device or the cloud server. Recording includes telephone recording, voice memos, etc., or any other suitable recording method, which is not limited in the embodiment of the present application. The processing result may also include the mark of the target audio in the audio data. When marking the target audio in a call, you need to store the target audio and mark the target audio. You can mark the target audio as important content, and you can also mark the target audio as other tags, which can include any applicable tags. , The embodiment of the present application does not limit this.
其中,耳机收纳装置或云端服务器可以根据音频数据进行文本转换,得到文本数据,或者根据音频数据进行翻译,得到目标语言的目标音频数据或目标文本数据。耳机收纳装置或云端服务器还可以对文本数据进行识别,提取出时间、地点、任务、事件等信息,将识别的内容自动转换成备忘信息、提醒信息等信息格式,作为处理结果。翻译处理功能包括电话翻译、对话翻译、同声传译等,或者其他任意适用的翻译处理,本申请实施例对此不做限制。Among them, the earphone storage device or the cloud server can perform text conversion according to the audio data to obtain text data, or perform translation according to the audio data to obtain target audio data or target text data in a target language. The earphone storage device or cloud server can also recognize text data, extract information such as time, location, task, and event, and automatically convert the recognized content into information formats such as memo information and reminder information as the processing result. The translation processing function includes telephone translation, dialogue translation, simultaneous interpretation, etc., or any other applicable translation processing, which is not limited in the embodiment of the application.
其中,语音处理包括对音频数据进行识别、理解并作出相应反馈的处理过程,包括将音频数据转换为相应的文本、或者命令,针对音频数据中的语音信息进行识别,并根据理解作出相应反馈,或者其他任意适用的处理,本申请实施例对此不做限制。Among them, voice processing includes the process of recognizing and understanding audio data and making corresponding feedback, including converting audio data into corresponding text or commands, recognizing voice information in audio data, and making corresponding feedback based on understanding, Or any other applicable processing, which is not limited in the embodiment of this application.
在本申请实施例中,语音处理功能包括对于音频数据中的语音进行处理所调用的算法、数据库、以及计算资源等,或者其他任意适用的与语音处理相关的内容,本申请实施例对此不做限制。例如,音频数据为“汪汪,明天天气怎么样”,基于语音处理功能,对“明天天气怎么样”进行语音处理,得到语音处理结果“明天天气晴,气温27度”,在耳机上对结果进行播放。In the embodiment of the present application, the voice processing function includes the algorithms, databases, and computing resources that are called for processing the voice in the audio data, or any other applicable content related to voice processing. This embodiment of the present application does not Do restrictions. For example, the audio data is "Wow, how is the weather tomorrow", based on the voice processing function, the voice processing of "what is the weather tomorrow" is performed, and the voice processing result is "it will be sunny tomorrow, the temperature is 27 degrees", and the result is performed on the headset. Play.
例如,一个语音处理功能为仅调用本地的计算资源,利用本地的语音识别模型对音频中的语音进行识别,语音识别模型保存着从预先收集的音频中抽取的语音特征,可识别的语音相对限制于本地的语音模型中语音特征,识别的速度限制于本地的计算资源;另一个语音处理功能为利用云端服务器,将音频上传到云端服务器,调用云端服务器上的计算资源,利用语音识别模型对音频中的语音进行识别,并理解音频中的语音,对语音作出相应的反馈,不再限制于本地的计算资源和样本库,可以有更好的语音处理效果,得到更为复杂多样的结果。For example, a voice processing function is to call only local computing resources and use a local voice recognition model to recognize voice in audio. The voice recognition model saves voice features extracted from pre-collected audio, and the recognizable voice is relatively limited. In the local voice model, the recognition speed is limited to the local computing resources; another voice processing function is to use the cloud server to upload audio to the cloud server, call the computing resources on the cloud server, and use the voice recognition model to compare the audio Recognize the voice in the audio, understand the voice in the audio, and give corresponding feedback to the voice. It is no longer limited to local computing resources and sample libraries. It can have better voice processing effects and obtain more complex and diverse results.
在本申请实施例中,可选地,目标数据包括温度数据和/或心率数据时,处理结果包括身体状态信息。身体状态信息用于表征用户的身体状态,例如,用户体温的的温度值、或用户的体温过高、体温正常、体温过低等提示音,用户心率的数值、或用户的心率过快、心率过慢、心率正常等提示音,或者其他任意适用的身体状态信息,本申请实施例对此不做限制。In the embodiment of the present application, optionally, when the target data includes temperature data and/or heart rate data, the processing result includes body state information. The body state information is used to characterize the user's physical state, for example, the temperature value of the user's body temperature, or the user's hyperthermia, normal body temperature, hypothermia and other prompt sounds, the value of the user's heart rate, or the user's heart rate, heart rate Prompts such as too slow, normal heart rate, or any other applicable body state information are not limited in the embodiment of the present application.
耳机收纳装置或云端服务器可以根据温度数据和/或心率数据,生成身体状态信息。例如,根据温度数据计算出用户在一天中的平均体温,根据心率数据计算出用户在在一天中的平均心率,将平均体温和平均心率作为身体状态信息,或者根据温度数据所处的温度区间,确定用户是体温过高、或体温正常、或体温过低,作为身体状态信息,或者根据心率数据所处的心率区间,确定用户是心率过快、或心率正常、或心率过慢,作为身体状态信息,或者其他任意适用的方式生成身体状态信息,本申请实施例对此不做限制。The earphone storage device or the cloud server can generate body state information according to temperature data and/or heart rate data. For example, calculate the user’s average body temperature in a day based on temperature data, calculate the user’s average heart rate in a day based on heart rate data, use the average body temperature and average heart rate as body state information, or according to the temperature range in which the temperature data is located, Determine whether the user has a hyperthermia, or a normal body temperature, or a hypothermia, as the body state information, or determine the user's heart rate according to the heart rate zone in which the heart rate data is located, as the body state Information, or any other applicable method to generate body state information, the embodiment of the present application does not limit this.
在本申请实施例中,可选地,目标数据包括加速度数据时,处理结果包括用户的运动状态。用户的运动状态用于表征用户所做的动作,例如,用户所做的点头、摇头、低头、仰头等头部动作,或者用户在行走或跑步等,或者其他任意适用的运动状态,本申请实施例对此不做限制。In the embodiment of the present application, optionally, when the target data includes acceleration data, the processing result includes the user's motion state. The user’s motion state is used to characterize the actions the user makes, for example, the user’s head movements such as nodding, shaking his head, lowering his head, or raising his head, or the user is walking or running, or any other applicable motion state. This application is implemented The example does not restrict this.
在本申请实施例中,通过内置于耳机的加速度传感器,并且在耳机内嵌入识别用户的运动状态的算法,使得耳机具备识别用户的运动状态的能力。识别用户的运动状态的实现方式可以包括多种,例如,加速度传感器采集电信号后,与多种运动状态的电信号进行匹配,若与目标运动状态的电信号匹配,则识别出用户当前的运动状态为目标运动状态;或者加速度传感器采集电信号后,将电信号转换为加速度信息,表现形式为加速度的大小和方向,根据加速度信息,确定用户当前的运动状态,具体可以通过任意适用的实现方式,本申请实施例对此不做限制。In the embodiment of the present application, the acceleration sensor is built into the headset, and an algorithm for recognizing the user's motion state is embedded in the headset, so that the headset has the ability to recognize the user's motion state. There are many ways to recognize the user's motion state. For example, after the acceleration sensor collects the electrical signal, it matches the electrical signal of multiple motion states. If it matches the electrical signal of the target motion state, the user's current motion is identified. The state is the target motion state; or after the acceleration sensor collects the electrical signal, the electrical signal is converted into acceleration information, which is expressed as the magnitude and direction of the acceleration. According to the acceleration information, the user’s current motion state can be determined by any applicable implementation method. , The embodiment of the present application does not limit this.
综上所述,依据本申请实施例,通过耳机采集目标数据,将目标数据发送给耳机收纳装置,以供耳机收纳装置对目标数据进行处理,得到处理结果,并将处理结果发送给耳机、和/或存储处理结果、和/或显示处理结果、和/或播放处理结果,或将目标数据通过内置于耳机的移动通信芯片发送给云端服务器,以供云端服务器对目标数据进行处理,得到处理结果,并将处理结果发送给耳机、和/或存储处理结果,使得具有更强计算能力的耳机收纳装置或云端服务器能够对目标数据进行处理,耳机能够利用耳机收纳装置或云端服务器的计算以及存储、和/或显示、和/或播放等能力,解决了对计算能力要求较高的功能无法依赖耳机实现的问题。In summary, according to the embodiments of the present application, the target data is collected through the headset, and the target data is sent to the headset storage device, so that the headset storage device can process the target data to obtain the processing result, and send the processing result to the headset, and / Or store the processing result, and/or display the processing result, and/or play the processing result, or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can process the target data to obtain the processing result , And send the processing results to the headset and/or store the processing results, so that the headset storage device or cloud server with stronger computing capabilities can process the target data. The headset can use the headset storage device or cloud server to calculate and store, And/or display, and/or playback capabilities solve the problem that functions that require higher computing capabilities cannot be implemented by headphones.
参照图2,示出了本申请的另一种数据处理方法实施例的步骤流程图,应用于耳机,具体可以包括如下步骤:Referring to Fig. 2, there is shown a flow chart of the steps of another embodiment of the data processing method of the present application, which is applied to a headset, and may specifically include the following steps:
步骤201,采集目标数据。Step 201: Collect target data.
步骤202,将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果。Step 202: Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or storage The processing result, and/or the processing result is displayed, and/or the processing result is played.
步骤203,接收所述耳机收纳装置发送来的所述处理结果。Step 203: Receive the processing result sent by the earphone storage device.
在本申请实施例中,耳机收纳装置将处理结果发送给耳机,耳机接收发送来的处理结果,以供耳机将处理结果发送给移动终端,或者对处理结果进行播放,或者将处理结果存储在耳机上的存储介质上。In the embodiment of the present application, the earphone storage device sends the processing result to the earphone, and the earphone receives the sent processing result for the earphone to send the processing result to the mobile terminal, or to play the processing result, or to store the processing result in the earphone On the storage medium.
在本申请实施例中,可选地,在接收所述耳机收纳装置发送来的所述处理结果之后,还可以包括:耳机将处理结果发送给移动终端。In the embodiment of the present application, optionally, after receiving the processing result sent by the earphone storage device, it may further include: the earphone sending the processing result to the mobile terminal.
例如,用户在使用耳机与其他人通电话时,耳机收纳装置将人声美化或其他变化后的音频数据发送给耳机,耳机再将人声美化或其他变化后的音频数据发送给连接的手机,然后手机就可以将人声美化或其他变化后的音频数据发送给对方,从而让对方听到经过美化或其他变化的人声。For example, when a user uses a headset to talk to other people on the phone, the headset storage device sends the human voice beautification or other changed audio data to the headset, and the headset then sends the human voice beautification or other changed audio data to the connected mobile phone. Then the mobile phone can send the beautified or other changed audio data to the other party, so that the other party can hear the beautified or other changed human voice.
在本申请实施例中,可选地,在接收所述耳机收纳装置发送来的所述处理结果之后,还可以包括:耳机对处理结果进行播放。In the embodiment of the present application, optionally, after receiving the processing result sent by the earphone storage device, it may further include: an earphone playing the processing result.
例如,耳机采集了用户的温度数据和心率数据,耳机收纳装置根据温度数据和心率数据,经过判断,得到用户的体温过高、心率过快的身体状态信息,耳机收纳装置将体温过高、心率过快的身体状态信息发送给耳机,耳机将该身体状态信息进行播放,从而 达到提示用户的效果。For example, the earphone collects the user’s temperature data and heart rate data. The earphone storage device obtains the user’s body state information such as hyperthermia and rapid heart rate based on the temperature data and heart rate data. The excessively fast body state information is sent to the earphone, and the earphone plays the body state information, so as to achieve the effect of prompting the user.
在本申请实施例中,可选地,在接收所述耳机收纳装置发送来的所述处理结果之后,还可以包括:将处理结果存储在耳机上的存储介质上。In the embodiment of the present application, optionally, after receiving the processing result sent by the earphone storage device, the method may further include: storing the processing result on a storage medium on the earphone.
在耳机上具有存储介质时,耳机在接收到处理结果后,还可以将处理结果存储在耳机上的存储介质上,以方便后续耳机需要该处理结果时更快速的获取到该处理结果,或者在耳机无法与耳机收纳装置建立通信连接时能够获取到该处理结果。When the earphone has a storage medium, after the earphone receives the processing result, it can also store the processing result on the storage medium on the earphone to facilitate subsequent earphones to obtain the processing result more quickly when the processing result is needed, or in The processing result can be obtained when the earphone cannot establish a communication connection with the earphone storage device.
综上所述,依据本申请实施例,通过耳机采集目标数据,将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果,接收所述耳机收纳装置发送来的所述处理结果,使得具有更强计算能力的耳机收纳装置能够对目标数据进行处理,耳机能够利用耳机收纳装置的计算以及存储、和/或显示、和/或播放等能力,解决了对计算能力要求较高的功能无法依赖耳机实现的问题。In summary, according to the embodiment of the present application, the target data is collected by earphones, and the target data is sent to the earphone storage device, so that the earphone storage device can process the target data to obtain the processing result, and then send the target data to the earphone storage device. Sending the processing result to the earphone, and/or storing the processing result, and/or displaying the processing result, and/or playing the processing result, and receiving the processing result sent by the earphone storage device, The headset storage device with stronger computing power can process the target data. The headset can use the calculation and storage, and/or display, and/or playback capabilities of the headset storage device, solving functions that require higher computing capabilities Unable to rely on the headset to achieve the problem.
参照图3,示出了本申请的又一种数据处理方法实施例的步骤流程图,应用于耳机收纳装置,具体可以包括如下步骤:Referring to FIG. 3, there is shown a step flow chart of another embodiment of the data processing method of the present application, which is applied to the earphone storage device, and may specifically include the following steps:
步骤301,获取目标数据。Step 301: Obtain target data.
在本申请实施例中,目标数据的获取可以是从耳机接收目标数据,或者可以是通过设置在所述耳机收纳装置上的麦克风阵列采集音频数据(即目标数据),或者其他任意适用的获取方式,本申请实施例对此不做限制。In the embodiment of the present application, the acquisition of target data may be by receiving target data from a headset, or may be by collecting audio data (ie target data) through a microphone array provided on the headset storage device, or any other suitable acquisition method , The embodiment of the present application does not limit this.
在本申请实施例中,可选地,获取目标数据的一种实现方式中,包括:从耳机接收目标数据。例如,耳机采集目标数据后,通过蓝牙将目标数据发送给耳机收纳装置。In the embodiment of the present application, optionally, an implementation manner of obtaining target data includes: receiving target data from a headset. For example, after the headset collects target data, the target data is sent to the headset storage device via Bluetooth.
步骤302,对所述目标数据进行处理,得到处理结果。Step 302: Process the target data to obtain a processing result.
在本申请实施例中,耳机收纳装置通过硬件和软件相结合的方式来实现对目标数据的各种处理能力,例如,对音频数据进行人声处理,使人声美化或其他变化,或将音频数据转换成文本数据,或根据音频数据进行翻译,得到目标语言的目标音频数据或目标文本数据,或根据温度数据和/或心率数据,生成身体状态信息,或根据加速度数据,生成用户的动作状态,或者其他任意适用的处理,本申请实施例对此不做限制。In the embodiment of the present application, the earphone storage device realizes various processing capabilities of target data through a combination of hardware and software, for example, human voice processing on audio data, beautification of human voice or other changes, or audio Data is converted into text data, or translated based on audio data, to obtain target audio data or target text data in the target language, or generate body state information based on temperature data and/or heart rate data, or generate user action state based on acceleration data , Or any other applicable processing, which is not limited in the embodiment of this application.
在本申请实施例中,可选地,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:将所述目标数据发送至云端服务器;接收所述云端服务器对所述目标数据进行处理得到的处理结果。In the embodiment of the present application, optionally, an implementation manner of processing the target data to obtain the processing result may include: sending the target data to a cloud server; receiving the cloud server's response to the The processing result obtained by processing the target data.
在对目标数据进行处理时,除了由耳机收纳装置自身进行处理外,还可以由云端服务器处理,耳机收纳装置在获取目标数据后,将目标数据发送至云端服务器,由云端服务器对目标数据进行处理,之后云端服务器将处理结果发送给耳机收纳装置。例如,由云端服务器根据音频数据进行翻译,得到目标语言的目标音频数据或目标文本数据,具体可以包括任意适用的处理,本申请实施例对此不做限制。云端服务器可以提供更强大的计算能力,从而可以对目标数据进行更加复杂的处理,能够实现更多更复杂的功能,减少耳机收纳装置的功耗,提高处理速度等。When processing the target data, in addition to the processing by the headset storage device itself, it can also be processed by the cloud server. After the headset storage device obtains the target data, it sends the target data to the cloud server, and the cloud server processes the target data , And then the cloud server sends the processing result to the earphone storage device. For example, the cloud server performs translation according to the audio data to obtain the target audio data or target text data in the target language, which may specifically include any applicable processing, which is not limited in the embodiment of the present application. Cloud servers can provide more powerful computing capabilities, which can perform more complex processing on target data, can achieve more and more complex functions, reduce the power consumption of the headset storage device, and increase processing speed.
在本申请实施例中,可选地,还可以包括:检测所述目标数据是否符合预设要求或用户设置;若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。In the embodiment of the present application, optionally, it may further include: detecting whether the target data meets preset requirements or user settings; if the target data meets preset requirements or user settings, executing the target data The step of sending data to a cloud server; if the target data does not meet preset requirements or user settings, the earphone storage device will process the target data.
耳机收纳装置和云端服务器都可以对目标数据进行处理时,在一种实现方式中,耳机收纳装置可以检测目标数据是否符合预设要求或用户设置。其中预设要求包括目标数据的数据量是否超过设定阈值、目标数据的类型是否为预设类型等,或者其他任意适用的要求,本申请实施例对此不做限制。用户设置包括目标数据的数据量是否超过用户设置的阈值、目标数据的类型是否为用户设置的类型等,或者其他任意适用的设置,本申请实施例对此不做限制。利用这种方式可以灵活的对目标数据在云端服务器处理还是由 耳机收纳装置处理进行控制,以便更好的利用耳机收纳装置和云端服务器的计算资源。When both the earphone storage device and the cloud server can process the target data, in an implementation manner, the earphone storage device can detect whether the target data meets preset requirements or user settings. The preset requirements include whether the data amount of the target data exceeds a set threshold, whether the type of the target data is a preset type, etc., or any other applicable requirements, which are not limited in the embodiment of the present application. The user settings include whether the data volume of the target data exceeds the threshold set by the user, whether the type of the target data is the type set by the user, etc., or any other applicable settings, which are not limited in the embodiment of the present application. In this way, it is possible to flexibly control whether the target data is processed by the cloud server or the earphone storage device, so as to make better use of the computing resources of the earphone storage device and the cloud server.
在本申请实施例中,可选地,还可以包括:在检测所述目标数据是否符合预设要求的一种实现方式中,可以包括:若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。In the embodiment of the present application, optionally, it may also include: in an implementation manner of detecting whether the target data meets a preset requirement, it may include: if the data amount of the target data exceeds a set threshold, then It is determined that the target data meets a preset requirement; if the data amount of the target data does not exceed a set threshold, it is determined that the target data does not meet the preset requirement.
耳机收纳装置和云端服务器都可以对目标数据进行处理时,在一种实现方式中,当目标数据的数据量超过设定阈值时,即目标数据符合预设要求,才将目标数据发送至云端服务器,由云端服务器处理,当目标数据的数据量未超过设定阈值时,即目标数据不符合预设要求,则直接由耳机收纳装置对目标数据进行处理。耳机收纳装置的存储空间和计算能力有限,目标数据的数据量较大时,发送给云端服务器处理,减少了耳机收纳装置的功耗,提高了处理的速度。When both the headset storage device and the cloud server can process the target data, in one implementation method, when the data volume of the target data exceeds the set threshold, that is, the target data meets the preset requirements, the target data is sent to the cloud server , Is processed by the cloud server, and when the data volume of the target data does not exceed the set threshold, that is, the target data does not meet the preset requirements, the headset storage device directly processes the target data. The storage space and computing power of the earphone storage device are limited, and when the amount of target data is large, it is sent to the cloud server for processing, which reduces the power consumption of the earphone storage device and improves the processing speed.
在本申请实施例中,可选地,耳机收纳装置通过移动通信网络或无线局域网连接互联网。耳机收纳装置具备联网的能力,可以通过移动通信网络或无线局域网连接互联网。例如,耳机收纳装置具备4G-LTE(The 4th Generation Mobile Communication Technology-Long Term Evolution,第四代移动通信技术-长期演进技术)模组,可以连接4G网络,将目标数据传输给云端服务器。In the embodiment of the present application, optionally, the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network. The earphone storage device has the ability to connect to the Internet, and can connect to the Internet through a mobile communication network or a wireless local area network. For example, the earphone storage device has a 4G-LTE (The 4th Generation Mobile Communication Technology-Long Term Evolution) module, which can connect to a 4G network and transmit target data to a cloud server.
在本申请实施例中,可选地,处理结果包括降噪处理后的音频数据;对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。In the embodiment of the present application, optionally, the processing result includes the audio data processed by noise reduction; in an implementation manner of processing the target data to obtain the processing result, it may include: performing noise reduction on the audio data. Noise processing to obtain the audio data after the noise reduction processing.
具体来说,将实时采样的数字信号进行频谱分析,这样就能分析背景噪声相应的强度和频谱分布,然后根据这个模型就能设计一个滤波器,当有人讲话的时候,同时做信号分析,就能分析出讲话者的频谱,那么根据这些背景噪音和讲话者的频谱,这个滤波器根据两个信号的对比实时的改变,让讲话者声音频谱通过,对背景噪声的频谱进行抑制,降低其能量,比如说降低15到20个分贝,就很明显可以感觉体验到噪音抑制的效果。Specifically, the real-time sampled digital signal is subjected to spectrum analysis, so that the corresponding intensity and spectrum distribution of the background noise can be analyzed, and then a filter can be designed according to this model. When someone is speaking, the signal analysis is performed at the same time. Can analyze the frequency spectrum of the speaker, then according to the background noise and the frequency spectrum of the speaker, this filter changes in real time according to the comparison of the two signals, allowing the frequency spectrum of the speaker’s voice to pass, suppressing the background noise spectrum and reducing its energy For example, if you reduce it by 15 to 20 decibels, you can clearly feel the effect of noise suppression.
在本申请实施例中,可选地,处理结果包括回声消除处理后的音频数据;对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。In the embodiment of the present application, optionally, the processing result includes audio data after echo cancellation processing; in an implementation manner of processing the target data to obtain the processing result, it may include: echoing the audio data Cancellation processing to obtain the audio data after the echo cancellation processing.
回声消除的基本原理是以扬声器信号与由它产生的多路径回声的相关性为基础,建立远端信号的语音模型,利用它对回声进行估计,并不断修改滤波器的系数,使得估计值更加逼近真实的回声。然后,将回声估计值从话筒的输入信号中减去,从而达到消除回声的目的。The basic principle of echo cancellation is based on the correlation between the loudspeaker signal and the multipath echo generated by it, and establishes a voice model of the far-end signal, uses it to estimate the echo, and constantly modifies the filter coefficients to make the estimated value more Approximately true echo. Then, the echo estimation value is subtracted from the input signal of the microphone, so as to achieve the purpose of eliminating the echo.
对扬声器信号与由它产生的多路径回声的相关性为基础,建立远端信号的语音模型,利用它对回声进行估计,并不断地修改滤波器的系数,使得估计值更加逼近真实的回声。然后,将回声估计值从话筒的输入信号中减去,从而达到消除回声的目的,还将话筒的输入与扬声器过去的值相比较,从而消除延长延迟的多次反射的声学回声。根椐存储器存放的过去的扬声器的输出值的多少,可以消除各种延迟的回声。Based on the correlation between the loudspeaker signal and the multi-path echo generated by it, the voice model of the far-end signal is established, the echo is estimated with it, and the coefficients of the filter are constantly modified to make the estimated value more close to the real echo. Then, the echo estimate value is subtracted from the input signal of the microphone, so as to achieve the purpose of eliminating the echo, and the input of the microphone is compared with the past value of the loudspeaker, thereby eliminating the acoustic echo of multiple reflections that prolong the delay. Depending on the output value of the past speakers stored in the memory, various delayed echoes can be eliminated.
在本申请实施例中,可选地,目标数据包括音频数据,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对音频数据进行音效处理,得到音效处理后的音频数据,具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes audio data, and an implementation manner of processing the target data to obtain the processing result may include: performing human voice processing on the audio data to obtain a human voice. Audio data after sound processing; and/or sound effect processing is performed on the audio data to obtain audio data after sound effect processing. For a specific implementation manner, refer to the description in the foregoing embodiment, which will not be repeated here.
在本申请实施例中,可选地,目标数据包括音频数据,处理结果包括录音文件。具体生成录音文件的实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes audio data, and the processing result includes a recording file. For the specific implementation of generating the recording file, please refer to the description in the foregoing embodiment, which will not be repeated here.
在本申请实施例中,可选地,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:对所述音频数据中的目标音频进行标记。具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, an implementation manner of processing the target data to obtain the processing result may include: marking the target audio in the audio data. For specific implementation manners, reference may be made to the description in the foregoing embodiment, and details are not described herein again.
在本申请实施例中,可选地,目标数据包括音频数据,处理结果包括文本数据;对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:将所述音频数据 转换成所述文本数据,具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes audio data, and the processing result includes text data; an implementation manner of processing the target data to obtain the processing result may include: converting the audio data For the text data, the specific implementation can refer to the description in the foregoing embodiment, which will not be repeated here.
在本申请实施例中,可选地,对所述目标数据进行处理,得到处理结果的一种实现方式中,还可以包括:识别所述文本数据中预设类型的目标信息;根据所述目标信息,生成备忘信息或提醒信息。In the embodiment of the present application, optionally, in an implementation manner of processing the target data to obtain the processing result, it may further include: identifying a preset type of target information in the text data; Information, generate memo or reminder information.
预设类型包括时间、地点、人物、事件等类型,或者其他任意适用的类型,本申请实施例对此不做限制。识别文本数据中预设类型的目标信息,再根据目标信息,生成备忘信息或提醒信息。例如,文本数据为“2020年11月7日在鸟巢举办演唱会”,识别到时间类型的目标信息为“2020年11月7日”,地点类型的目标信息为“鸟巢”,事件类型的目标信息为“演唱会”,然后根据目标信息,生成一个提醒信息,以在该时间对用户进行提醒。The preset types include time, location, person, event, etc., or any other applicable types, which are not limited in the embodiment of the present application. Identify preset types of target information in the text data, and then generate memo or reminder information based on the target information. For example, the text data is "November 7, 2020 at the Bird's Nest Concert", the target information of the identified time type is "November 7, 2020", the target information of the location type is "Bird's Nest", and the target of the event type is The information is "concert", and then based on the target information, a reminder message is generated to remind the user at that time.
在本申请实施例中,可选地,目标数据包括文本数据,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:根据所述文本数据,生成语音合成数据,具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes text data, and an implementation manner of processing the target data to obtain the processing result may include: generating speech synthesis data according to the text data, specifically For the implementation manner, reference may be made to the description in the foregoing embodiment, which will not be repeated here.
在本申请实施例中,可选地,目标数据包括音频数据,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据,具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes audio data, and an implementation manner of processing the target data to obtain the processing result may include: translating to obtain the target language according to the audio data For the specific implementation of the target audio data or target text data, please refer to the description in the foregoing embodiment, which will not be repeated here.
在本申请实施例中,可选地,目标数据包括温度数据和/或心率数据,处理结果包括身体状态信息,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:根据所述温度数据和/或心率数据,生成身体状态信息,具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes temperature data and/or heart rate data, and the processing result includes body state information. An implementation of processing the target data to obtain the processing result may include: According to the temperature data and/or the heart rate data, the body state information is generated. For a specific implementation manner, please refer to the description in the foregoing embodiment, which will not be repeated here.
在本申请实施例中,可选地,目标数据包括加速度数据,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:根据所述加速度数据,生成用户的动作状态,具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes acceleration data, and an implementation of processing the target data to obtain the processing result may include: generating the user's action state according to the acceleration data, For specific implementation manners, reference may be made to the description in the foregoing embodiment, and details are not described herein again.
在本申请实施例中,可选地,还可以包括:确定所述运动状态相关联的目标处理;执行所述目标处理。运动状态是与目标处理相关联的,耳机在识别到运动状态后,确定与该运动状态相关联的目标处理。目标处理包括接听或拒接通话、对通话中的目标音频进行标记、调高或调低音量、开启或关闭语音处理功能、对所述用户进行语音提示等,或者其他任意适用的处理,本申请实施例对此不做限制。In the embodiment of the present application, optionally, it may further include: determining a target process associated with the motion state; and executing the target process. The motion state is associated with the target process. After the headset recognizes the motion state, it determines the target process associated with the motion state. Target processing includes answering or rejecting a call, marking the target audio in the call, turning up or down the volume, turning on or off the voice processing function, giving voice prompts to the user, etc., or any other applicable processing. The embodiment does not limit this.
其中,通话包括但不限于电话、即时通讯软件中的音频通话或视频通话等。通话中的目标音频包括己方或对方的音频。语音处理包括对音频进行识别、理解并作出相应反馈的处理过程,包括将音频转换为相应的文本、或者命令,针对音频中的语音信息进行识别,并根据理解作出相应反馈,或者其他任意适用的语音处理,本申请实施例对此不做限制。例如,语音助手功能。语音提示包括但不限于对用户进行久坐提醒、长时间低头提醒等的语音提示。Among them, calls include but are not limited to telephone calls, audio calls or video calls in instant messaging software, etc. The target audio in the call includes one's own or the other party's audio. Voice processing includes the process of recognizing, understanding, and giving corresponding feedback to audio, including converting audio into corresponding text or commands, recognizing voice information in the audio, and making corresponding feedback based on understanding, or any other applicable Voice processing is not limited in this embodiment of the application. For example, the voice assistant function. Voice prompts include, but are not limited to, voice prompts that remind the user to sit for a long time, and to remind the user to bow his head for a long time.
在本申请实施例中,可选地,目标数据包括加速度数据和位置数据,对所述目标数据进行目标处理,得到处理结果的一种实现方式中,可以包括:根据所述加速度数据和位置数据,生成导航提示信息。耳机收纳装置还可以获取到位置数据,例如,利用内置于耳机收纳装置的GPS(Global Positioning System,全球定位系统)芯片获取当前的位置数据。根据加速度数据和位置数据,可以生成导航提示信息,导航提示信息包括导航路径、用户当前所处的位置沿导航另所需要进行的下一步行动的提示信息等,或者其他任意适用的导航提示信息,本申请实施例对此不做限制。例如,用户在步行前往某个目的地时,耳机和耳机收纳装置接收用户的请求,生成用户当前位置前往该目的地的导航路径,然后对用户进行语音的导航提示,在用户步行过程中,根据加速度数据和位置数据,不断生成导航提示信息,在用户需要转向、走错路时,对用户进行提示,以便引导用户抵达目的地。In the embodiment of the present application, optionally, the target data includes acceleration data and position data, and an implementation manner of performing target processing on the target data to obtain the processing result may include: according to the acceleration data and the position data To generate navigation prompt information. The earphone storage device can also obtain position data, for example, the current position data can be obtained by using a GPS (Global Positioning System, global positioning system) chip built in the earphone storage device. According to the acceleration data and position data, navigation prompt information can be generated. The navigation prompt information includes the navigation path, the prompt information of the next action that needs to be performed along the navigation of the user's current position, etc., or any other applicable navigation prompt information, The embodiments of this application do not impose restrictions on this. For example, when a user is walking to a destination, the headset and headset storage device receive the user’s request, generate a navigation path from the user’s current location to the destination, and then give the user a voice navigation prompt. During the user’s walking, according to Acceleration data and position data continuously generate navigation prompt information, and prompt the user when the user needs to turn or go the wrong way, so as to guide the user to the destination.
在本申请实施例中,可选地,目标数据包括音频数据,对所述目标数据进行目标处理,得到处理结果包括:基于语音处理功能,对所述音频数据进行语音处理,得到语音 处理结果,具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, optionally, the target data includes audio data, and performing target processing on the target data to obtain a processing result includes: performing voice processing on the audio data based on a voice processing function to obtain a voice processing result, For specific implementation manners, reference may be made to the description in the foregoing embodiment, and details are not described herein again.
步骤303,将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。Step 303: Send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server.
在本申请实施例中,耳机收纳装置得到处理结果后,可以将处理结果发送给耳机,和/或存储处理结果,和/或显示处理结果,和/或播放处理结果,和/或将处理结果发送给云端服务器,耳机收纳装置可以对处理结果执行以上一种或多种操作。In the embodiment of the present application, after the earphone storage device obtains the processing result, it can send the processing result to the earphone, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or the processing result Send to the cloud server, and the earphone storage device can perform one or more of the above operations on the processing result.
综上所述,依据本申请实施例,通过耳机收纳装置获取目标数据,对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器,使得具有更强计算能力的耳机收纳装置能够对目标数据进行处理,耳机能够利用耳机收纳装置的计算以及存储、和/或显示、和/或播放等能力,解决了对计算能力要求较高的功能无法依赖耳机实现的问题。In summary, according to the embodiment of the present application, the target data is acquired through the earphone storage device, the target data is processed, and the processing result is obtained, and the processing result is sent to the earphone, and/or the processing is stored Result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server, so that the earphone storage device with stronger computing capability can process the target data, The earphone can use the calculation and storage, and/or display, and/or playback capabilities of the earphone storage device, which solves the problem that functions that require higher computing capabilities cannot be implemented by the earphone.
参照图4,示出了本申请的再一种数据处理方法实施例的步骤流程图,应用于耳机收纳装置,具体可以包括如下步骤:Referring to FIG. 4, there is shown a step flow chart of another embodiment of the data processing method of the present application, which is applied to the earphone storage device, and may specifically include the following steps:
步骤401,通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。Step 401: Collect the audio data through a microphone array provided on the earphone storage device.
在本申请实施例中,耳机收纳装置具备本地的数据处理能力,若再在耳机收纳装置上设置麦克风阵列,耳机收纳装置就可以作为一个独立的拾音设备。在一些应用场景下,耳机收纳装置可以通过麦克风阵列采集音频数据,相对于通过耳机上的麦克风采集音频数据,麦克风阵列由一组按一定几何结构(常用线形、环形)摆放的麦克风组成,对采集的不同空间方向的声音信号进行空时处理,实现噪声抑制、混响去除、人声干扰抑制、声源测向、声源跟踪、阵列增益等功能,进而提高语音信号处理质量,以提高真实环境下的语音识别率。In the embodiment of the present application, the earphone storage device has local data processing capabilities. If a microphone array is installed on the earphone storage device, the earphone storage device can be used as an independent sound pickup device. In some application scenarios, the earphone storage device can collect audio data through a microphone array. Compared with collecting audio data through the microphone on the earphone, the microphone array consists of a set of microphones placed in a certain geometric structure (commonly used linear or circular). The collected sound signals in different spatial directions are processed in space-time to achieve functions such as noise suppression, reverberation removal, vocal interference suppression, sound source direction finding, sound source tracking, array gain, etc., thereby improving the quality of speech signal processing to improve reality The speech recognition rate in the environment.
步骤402,对所述音频数据进行处理,得到处理结果。Step 402: Process the audio data to obtain a processing result.
在本申请实施例中,对音频数据的具体处理方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, the specific processing method of the audio data can be referred to the description in the foregoing embodiment, which will not be repeated here.
在本申请实施例中,可选地,处理结果包括提示信息,对所述目标数据进行处理,得到处理结果的一种实现方式中,可以包括:根据所述音频数据,检测环境音的来源方向和/或类型;根据所述环境音的来源方向和/或类型,生成提示信息。In the embodiment of the present application, optionally, the processing result includes prompt information, and an implementation of processing the target data to obtain the processing result may include: detecting the source direction of the environmental sound based on the audio data And/or type; generating prompt information according to the source direction and/or type of the environmental sound.
麦克风阵列的多个音频采集设备可以采集多路音频数据,可以基于最大输出功率的可控波束形成的方法确定声音的来源方向,或者可以基于高分辨率谱估计的方法确定声音的来源方向,或者可以基于声波达到时间差的方法确定声音的来源方向,或者结合以上几种方法确定声音的来源方向,本申请实施例对此不做限制。此外还可以对音频数据与已知的几种类型声音进行匹配,确定环境音的类型,例如,采集的环境音是汽车的轰鸣声等。Multiple audio collection devices of the microphone array can collect multiple channels of audio data, can determine the source direction of the sound based on the controllable beamforming method of the maximum output power, or can determine the source direction of the sound based on the method of high-resolution spectrum estimation, or The source direction of the sound can be determined based on the method of the time difference of the sound wave arrival, or the source direction of the sound can be determined in combination with the above several methods, which is not limited in the embodiment of the present application. In addition, the audio data can be matched with several known types of sounds to determine the type of environmental sound. For example, the collected environmental sound is the roar of a car.
然后根据环境音的来源方向和/或类型,生成提示信息,提示信息可以用于提示环境音的来源方向和/或类型,例如,确定环境音是前方的一辆汽车的轰鸣声,那么生成提示信息:“注意!前方有车辆!”,该提示信息作为处理结果发送给耳机,由耳机播放给用户,从而起到提示用户危险的作用。Then, according to the source direction and/or type of the environmental sound, prompt information is generated. The prompt information can be used to prompt the source direction and/or type of the environmental sound. For example, if the environmental sound is determined to be the roar of a car ahead, then a prompt is generated Message: "Attention! There is a vehicle ahead!" The prompt message is sent to the headset as a processing result, and the headset is played to the user, thereby prompting the user of danger.
步骤403,将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。Step 403: Send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server.
在本申请实施例中,此步骤的具体实现方式可以参见前述实施例中的描述,此处不另赘述。In the embodiment of the present application, the specific implementation of this step can be referred to the description in the foregoing embodiment, which will not be repeated here.
综上所述,依据本申请实施例,通过耳机收纳装置通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据,对所述音频数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果,、和/或将所述处理结果发送给云端服务器,使得具备麦克风阵列的耳机收纳装置能够比耳机更好的采集周围的声音,和/或将所述处理结果发送给云端服务器, 使得具有更强计算能力的耳机收纳装置能够对目标数据进行处理,耳机能够利用耳机收纳装置的计算以及存储、和/或显示、和/或播放等能力,解决了对计算能力要求较高的功能无法依赖耳机实现的问题。In summary, according to the embodiment of the present application, the audio data is collected by the earphone storage device through the microphone array provided on the earphone storage device, the audio data is processed to obtain the processing result, and the processing The result is sent to the headset, and/or the processing result is stored, and/or the processing result is displayed, and/or the processing result is played, and/or the processing result is sent to a cloud server, so that The earphone storage device of the microphone array can collect the surrounding sound better than the earphone, and/or send the processing result to the cloud server, so that the earphone storage device with stronger computing power can process the target data, and the earphone can use The calculation and storage, and/or display, and/or playback capabilities of the earphone storage device solve the problem that functions that require higher computing capabilities cannot be implemented by earphones.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的运动动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的运动动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的运动动作并不一定是本申请实施例所必须的。It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of motion action combinations, but those skilled in the art should know that the embodiments of this application are not limited by the described motion action sequence. , Because according to the embodiments of the present application, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the involved motion actions are not necessarily required by the embodiments of the present application.
参照图5,示出了本申请的一种数据处理装置实施例的结构框图,应用于耳机,具体可以包括:Referring to FIG. 5, there is shown a structural block diagram of an embodiment of a data processing device of the present application, which is applied to a headset, and may specifically include:
数据采集模块501,用于采集目标数据;The data collection module 501 is used to collect target data;
数据发送模块502,用于将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。The data sending module 502 is configured to send the target data to the earphone storage device, so that the earphone storage device can process the target data to obtain the processing result, and send the processing result to the earphone, and / Or store the processing result, and/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset for all The cloud server processes the target data to obtain a processing result, and sends the processing result to the headset, and/or stores the processing result.
在本申请实施例中,可选地,所述装置还包括:In the embodiment of the present application, optionally, the device further includes:
结果接收模块,用于在所述将所述目标数据发送给耳机收纳装置之后,接收所述耳机收纳装置发送来的所述处理结果。The result receiving module is configured to receive the processing result sent by the earphone receiving device after the target data is sent to the earphone receiving device.
在本申请实施例中,可选地,所述装置还包括:In the embodiment of the present application, optionally, the device further includes:
结果发送模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,将所述处理结果发送给移动终端。The result sending module is configured to send the processing result to the mobile terminal after the receiving the processing result sent by the earphone storage device.
在本申请实施例中,可选地,所述装置还包括:In the embodiment of the present application, optionally, the device further includes:
结果播放模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,对所述处理结果进行播放。The result playing module is configured to play the processing result after the receiving the processing result sent by the earphone storage device.
在本申请实施例中,可选地,所述装置还包括:In the embodiment of the present application, optionally, the device further includes:
结果存储模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,将所述处理结果存储在所述耳机上的存储介质上。The result storage module is configured to store the processing result on the storage medium on the earphone after the receiving the processing result sent by the earphone storage device.
在本申请实施例中,可选地,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。In the embodiment of the present application, optionally, the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
在本申请实施例中,可选地,所述数据采集模块包括以下至少一种:In the embodiment of the present application, optionally, the data collection module includes at least one of the following:
所述目标数据包括音频数据时,音频采集模块,用于通过设置在所述耳机上的麦克风采集所述音频数据;When the target data includes audio data, an audio collection module is configured to collect the audio data through a microphone set on the headset;
所述目标数据包括加速度数据时,加速度采集模块,用于通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, an acceleration collection module is configured to collect the acceleration data through an acceleration sensor provided on the headset;
所述目标数据包括温度数据时,温度采集模块,用于通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, a temperature collection module is configured to collect the temperature data through a temperature sensor provided on the earphone;
所述目标数据包括心率数据时,心率采集模块,用于通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate collection module is configured to collect the heart rate data through a heart rate sensor provided on the earphone.
在本申请实施例中,可选地,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。In the embodiment of the present application, optionally, the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio after sound effect processing Data, speech synthesis data, recording files, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data in the target language obtained by translating the audio data, or Target text data, voice processing results based on voice processing functions.
在本申请实施例中,可选地,所述目标数据包括温度数据和/或心率数据时,所述处 理结果包括身体状态信息。In the embodiment of the present application, optionally, when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
在本申请实施例中,可选地,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。In this embodiment of the present application, optionally, when the target data includes acceleration data, the processing result includes the user's motion state.
综上所述,依据本申请实施例,通过耳机采集目标数据,将目标数据发送给耳机收纳装置,以供耳机收纳装置对目标数据进行处理,得到处理结果,并将处理结果发送给耳机、和/或存储处理结果、和/或显示处理结果、和/或播放处理结果,或将目标数据通过内置于耳机的移动通信芯片发送给云端服务器,以供云端服务器对目标数据进行处理,得到处理结果,并将处理结果发送给耳机、和/或存储处理结果,使得具有更强计算能力的耳机收纳装置或云端服务器能够对目标数据进行处理,耳机能够利用耳机收纳装置或云端服务器的计算以及存储、和/或显示、和/或播放等能力,解决了对计算能力要求较高的功能无法依赖耳机实现的问题。In summary, according to the embodiments of the present application, the target data is collected through the headset, and the target data is sent to the headset storage device, so that the headset storage device can process the target data to obtain the processing result, and send the processing result to the headset, and / Or store the processing result, and/or display the processing result, and/or play the processing result, or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can process the target data to obtain the processing result , And send the processing results to the headset and/or store the processing results, so that the headset storage device or cloud server with stronger computing capabilities can process the target data. The headset can use the headset storage device or cloud server to calculate and store, And/or display, and/or playback capabilities solve the problem that functions that require higher computing capabilities cannot be implemented by headphones.
参照图6,示出了本申请的一种数据处理装置实施例的结构框图,应用于耳机收纳装置,具体可以包括:Referring to FIG. 6, there is shown a structural block diagram of an embodiment of a data processing device of the present application, which is applied to a headset storage device, which may specifically include:
数据获取模块601,用于获取目标数据;The data acquisition module 601 is used to acquire target data;
数据处理模块602,用于对所述目标数据进行处理,得到处理结果;The data processing module 602 is configured to process the target data to obtain a processing result;
结果处理模块603,用于将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。The result processing module 603 is configured to send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or transfer the processing result The result is sent to the cloud server.
在本申请实施例中,可选地,所述数据获取模块包括:In the embodiment of the present application, optionally, the data acquisition module includes:
数据接收模块,用于从所述耳机接收所述目标数据。The data receiving module is used to receive the target data from the earphone.
在本申请实施例中,可选地,所述目标数据包括音频数据,所述数据获取模块包括:In the embodiment of the present application, optionally, the target data includes audio data, and the data acquisition module includes:
数据采集模块,用于通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The data collection module is used to collect the audio data through a microphone array arranged on the earphone storage device.
在本申请实施例中,可选地,所述数据处理模块包括:In this embodiment of the present application, optionally, the data processing module includes:
环境音检测模块,用于根据所述音频数据,检测环境音的来源方向和/或类型;The environmental sound detection module is used to detect the source direction and/or type of the environmental sound according to the audio data;
提示生成模块,用于根据所述环境音的来源方向和/或类型,生成提示信息。The prompt generation module is used to generate prompt information according to the source direction and/or type of the environmental sound.
在本申请实施例中,可选地,所述数据处理模块包括:In this embodiment of the present application, optionally, the data processing module includes:
降噪处理模块,用于对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。The noise reduction processing module is used to perform noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
在本申请实施例中,可选地,所述数据处理模块包括:In this embodiment of the present application, optionally, the data processing module includes:
回声消除模块,用于对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。The echo cancellation module is used to perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
在本申请实施例中,可选地,所述目标数据包括音频数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes audio data, and the data processing module includes:
人声音效模块,用于对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。The human voice effect module is used to perform human voice processing on the audio data to obtain human voice processed audio data; and/or perform sound effect processing on the audio data to obtain sound effect processed audio data.
在本申请实施例中,可选地,所述目标数据包括音频数据,所述处理结果包括录音文件。In the embodiment of the present application, optionally, the target data includes audio data, and the processing result includes a recording file.
在本申请实施例中,可选地,所述数据处理模块包括:In this embodiment of the present application, optionally, the data processing module includes:
标记模块,用于对所述音频数据中的目标音频进行标记。The marking module is used to mark the target audio in the audio data.
在本申请实施例中,可选地,所述目标数据包括音频数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes audio data, and the data processing module includes:
转文本模块,用于将所述音频数据转换成所述文本数据。The text conversion module is used to convert the audio data into the text data.
在本申请实施例中,可选地,所述数据处理模块还包括:In the embodiment of the present application, optionally, the data processing module further includes:
信息识别模块,用于识别所述文本数据中预设类型的目标信息;An information recognition module for recognizing a preset type of target information in the text data;
备忘提醒生成模块,用于根据所述目标信息,生成备忘信息或提醒信息。The memo reminder generating module is used to generate memo information or reminder information according to the target information.
在本申请实施例中,可选地,所述目标数据包括文本数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes text data, and the data processing module includes:
语音生成模块,用于根据所述文本数据,生成语音合成数据。The speech generation module is used to generate speech synthesis data according to the text data.
在本申请实施例中,可选地,所述目标数据包括音频数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes audio data, and the data processing module includes:
翻译模块,用于根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标 文本数据。The translation module is used to translate the target audio data or target text data in the target language according to the audio data.
在本申请实施例中,可选地,所述目标数据包括温度数据和/或心率数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes temperature data and/or heart rate data, and the data processing module includes:
身体状态生成模块,用于根据所述温度数据和/或心率数据,生成身体状态信息。The body state generating module is used to generate body state information according to the temperature data and/or heart rate data.
在本申请实施例中,可选地,所述目标数据包括加速度数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes acceleration data, and the data processing module includes:
运动状态识别模块,用于根据所述加速度数据,识别用户的运动状态。The motion state recognition module is used to recognize the user's motion state according to the acceleration data.
在本申请实施例中,可选地,所述装置还包括:In the embodiment of the present application, optionally, the device further includes:
处理确定模块,用于确定所述运动状态相关联的目标处理;A processing determination module, configured to determine the target processing associated with the motion state;
处理执行模块,用于执行所述目标处理。The processing execution module is used to execute the target processing.
在本申请实施例中,可选地,所述目标数据包括加速度数据和位置数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes acceleration data and position data, and the data processing module includes:
导航生成模块,用于根据所述加速度数据和位置数据,生成导航提示信息。The navigation generating module is used to generate navigation prompt information according to the acceleration data and position data.
在本申请实施例中,可选地,所述目标数据包括音频数据,所述数据处理模块包括:In this embodiment of the present application, optionally, the target data includes audio data, and the data processing module includes:
语音处理模块,用于基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。The voice processing module is used to perform voice processing on the audio data based on the voice processing function to obtain a voice processing result.
在本申请实施例中,可选地,所述数据处理模块包括:In this embodiment of the present application, optionally, the data processing module includes:
数据发送模块,用于将所述目标数据发送至云端服务器;A data sending module for sending the target data to a cloud server;
结果接收模块,用于接收所述云端服务器对所述目标数据进行处理得到的处理结果。The result receiving module is configured to receive the processing result obtained by the cloud server processing the target data.
在本申请实施例中,可选地,所述装置还包括:In the embodiment of the present application, optionally, the device further includes:
要求检测模块,用于检测所述目标数据是否符合预设要求或用户设置;The requirement detection module is used to detect whether the target data meets preset requirements or user settings;
云端执行模块,用于若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;The cloud execution module is configured to execute the step of sending the target data to the cloud server if the target data meets preset requirements or user settings;
收纳装置执行模块,用于若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。The storage device execution module is configured to process the target data by the earphone storage device if the target data does not meet preset requirements or user settings.
在本申请实施例中,可选地,所述要求检测模块具体用于:In the embodiment of the present application, optionally, the requirement detection module is specifically used for:
若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
在本申请实施例中,可选地,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。In the embodiment of the present application, optionally, the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
综上所述,依据本申请实施例,通过耳机收纳装置获取目标数据,对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器,使得具有更强计算能力的耳机收纳装置能够对目标数据进行处理,耳机能够利用耳机收纳装置的计算以及存储、和/或显示、和/或播放等能力,解决了对计算能力要求较高的功能无法依赖耳机实现的问题。In summary, according to the embodiment of the present application, the target data is acquired through the earphone storage device, the target data is processed, and the processing result is obtained, and the processing result is sent to the earphone, and/or the processing is stored Result, and/or display the processing result, and/or play the processing result, and/or send the processing result to the cloud server, so that the earphone storage device with stronger computing capability can process the target data, The earphone can use the calculation and storage, and/or display, and/or playback capabilities of the earphone storage device, which solves the problem that functions that require higher computing capabilities cannot be implemented by the earphone.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement without creative work.
图7是根据一示例性实施例示出的一种用于数据处理的装置700的框图。例如,装置700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a block diagram showing a device 700 for data processing according to an exemplary embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
参照图7,装置700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组 件714,以及通信组件716。7, the device 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, And the communication component 716.
处理组件702通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理部件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The processing component 702 generally controls the overall operations of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the foregoing method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
存储器704被配置为存储各种类型的数据以支持在设备700的操作。这些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 704 is configured to store various types of data to support the operation of the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable and Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic Disk or Optical Disk.
电源组件706为装置700的各种组件提供电力。电源组件706可以包括电源管理系统,一个或多个电源,及其他与为装置700生成、管理和分配电力相关联的组件。The power supply component 706 provides power to various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with the generation, management, and distribution of power for the device 700.
多媒体组件708包括在所述装置700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑行操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当设备700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or sliding action, but also detect the duration and pressure related to the touch or sliding operation. In some embodiments, the multimedia component 708 includes a front camera and/or a rear camera. When the device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module. The above-mentioned peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
传感器组件714包括一个或多个传感器,用于为装置700提供各个方面的状态评估。例如,传感器组件714可以检测到设备700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件714还可以检测装置700或装置700一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 714 includes one or more sensors for providing the device 700 with various aspects of status assessment. For example, the sensor component 714 can detect the on/off status of the device 700 and the relative positioning of components. For example, the component is the display and the keypad of the device 700. The sensor component 714 can also detect the position change of the device 700 or a component of the device 700. , The presence or absence of contact between the user and the device 700, the orientation or acceleration/deceleration of the device 700, and the temperature change of the device 700. The sensor component 714 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact. The sensor component 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件716被配置为便于装置700和其他设备之间有线或无线方式的通信。装置700可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述 方法。In an exemplary embodiment, the apparatus 700 may be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component is used to implement the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, which may be executed by the processor 720 of the device 700 to complete the foregoing method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
图8是本申请的一些实施例中服务器的结构示意图。该服务器1900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1922(例如,一个或一个以上处理器)和存储器1932,一个或一个以上存储应用程序1942或数据1944的存储介质1930(例如一个或一个以上海量存储设备)。其中,存储器1932和存储介质1930可以是短暂存储或持久存储。存储在存储介质1930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1922可以设置为与存储介质1930通信,在服务器1900上执行存储介质1930中的一系列指令操作。Fig. 8 is a schematic diagram of the structure of a server in some embodiments of the present application. The server 1900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1922 (for example, one or more processors) and a memory 1932, one or one The above storage medium 1930 (for example, one or one storage device with a large amount of storage) for storing the application program 1942 or the data 1944. Among them, the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown in the figure), and each module may include a series of command operations on the server. Furthermore, the central processing unit 1922 may be configured to communicate with the storage medium 1930, and execute a series of instruction operations in the storage medium 1930 on the server 1900.
服务器1900还可以包括一个或一个以上电源1926,一个或一个以上有线或无线网络接口1950,一个或一个以上输入输出接口1958,一个或一个以上键盘1956,和/或,一个或一个以上操作系统1941,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941 , Such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and so on.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置(智能终端或者服务器)的处理器执行时,使得装置能够执行一种数据处理方法,应用于耳机,所述方法包括:A non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of a device (smart terminal or server), the device can execute a data processing method applied to a headset. The method include:
采集目标数据;Collect target data;
将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or store the processing result , And/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can control the target The data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
可选地,在所述将所述目标数据发送给耳机收纳装置之后,所述方法还包括:Optionally, after the sending the target data to the earphone storage device, the method further includes:
接收所述耳机收纳装置发送来的所述处理结果。Receiving the processing result sent by the earphone storage device.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the method further includes:
将所述处理结果发送给移动终端。The processing result is sent to the mobile terminal.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the method further includes:
对所述处理结果进行播放。Play the processing result.
可选地,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:Optionally, after the receiving the processing result sent by the earphone storage device, the method further includes:
将所述处理结果存储在所述耳机上的存储介质上。The processing result is stored on the storage medium on the earphone.
可选地,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。Optionally, the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
可选地,所述采集目标数据包括以下至少一种:Optionally, the collection target data includes at least one of the following:
所述目标数据包括音频数据时,通过设置在所述耳机上的麦克风采集所述音频数据;When the target data includes audio data, collecting the audio data through a microphone set on the earphone;
所述目标数据包括加速度数据时,通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, collecting the acceleration data through an acceleration sensor provided on the earphone;
所述目标数据包括温度数据时,通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, collect the temperature data through a temperature sensor provided on the earphone;
所述目标数据包括心率数据时,通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate data is collected by a heart rate sensor provided on the earphone.
可选地,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理 后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。Optionally, the processing result includes at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, audio data after sound effect processing, speech synthesis data, recording File, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, the target audio data or target text data in the target language obtained by translating the audio data, based on voice processing The voice processing result obtained by the function.
可选地,所述目标数据包括温度数据和/或心率数据时,所述处理结果包括身体状态信息。Optionally, when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
可选地,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。Optionally, when the target data includes acceleration data, the processing result includes the motion state of the user.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置(智能终端或者服务器)的处理器执行时,使得装置能够执行一种数据处理方法,应用于耳机收纳装置,所述方法包括:A non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of a device (smart terminal or server), the device can execute a data processing method applied to a headset storage device. The methods include:
获取目标数据;Obtain target data;
对所述目标数据进行处理,得到处理结果;Processing the target data to obtain a processing result;
将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。Sending the processing result to a headset, and/or storing the processing result, and/or displaying the processing result, and/or playing the processing result, and/or sending the processing result to a cloud server.
可选地,所述获取目标数据包括:Optionally, the acquiring target data includes:
从所述耳机接收所述目标数据。Receiving the target data from the headset.
可选地,所述目标数据包括音频数据,所述获取目标数据包括:Optionally, the target data includes audio data, and the acquiring target data includes:
通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The audio data is collected through a microphone array provided on the earphone storage device.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
根据所述音频数据,检测环境音的来源方向和/或类型;Detect the source direction and/or type of environmental sound according to the audio data;
根据所述环境音的来源方向和/或类型,生成提示信息。According to the source direction and/or type of the environmental sound, prompt information is generated.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。Performing noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。Perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。Performing human voice processing on the audio data to obtain human voice processed audio data; and/or performing sound effect processing on the audio data to obtain sound effect processed audio data.
可选地,所述目标数据包括音频数据,所述处理结果包括录音文件。Optionally, the target data includes audio data, and the processing result includes a recording file.
可选地,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the processing the target data to obtain a processing result includes:
对所述音频数据中的目标音频进行标记。Mark the target audio in the audio data.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
将所述音频数据转换成所述文本数据。The audio data is converted into the text data.
可选地,所述对所述目标数据进行处理,得到处理结果还包括:Optionally, the processing the target data to obtain a processing result further includes:
识别所述文本数据中预设类型的目标信息;Identifying a preset type of target information in the text data;
根据所述目标信息,生成备忘信息或提醒信息。According to the target information, memo information or reminder information is generated.
可选地,所述目标数据包括文本数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes text data, and the processing of the target data to obtain a processing result includes:
根据所述文本数据,生成语音合成数据。According to the text data, speech synthesis data is generated.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes audio data, and the processing of the target data to obtain a processing result includes:
根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据。According to the audio data, target audio data or target text data in the target language is obtained by translation.
可选地,所述目标数据包括温度数据和/或心率数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes temperature data and/or heart rate data, and the processing of the target data to obtain a processing result includes:
根据所述温度数据和/或心率数据,生成身体状态信息。According to the temperature data and/or heart rate data, body state information is generated.
可选地,所述目标数据包括加速度数据,所述对所述目标数据进行处理,得到处理结果包括:Optionally, the target data includes acceleration data, and the processing of the target data to obtain a processing result includes:
根据所述加速度数据,识别用户的运动状态。According to the acceleration data, the user's motion state is recognized.
可选地,所述方法还包括:Optionally, the method further includes:
确定所述运动状态相关联的目标处理;Determine the target processing associated with the exercise state;
执行所述目标处理。Perform the target processing.
可选地,所述目标数据包括加速度数据和位置数据,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the target data includes acceleration data and position data, and performing target processing on the target data to obtain a processing result includes:
根据所述加速度数据和位置数据,生成导航提示信息。According to the acceleration data and the position data, navigation prompt information is generated.
可选地,所述目标数据包括音频数据,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the target data includes audio data, and performing target processing on the target data to obtain a processing result includes:
基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。Based on the voice processing function, voice processing is performed on the audio data to obtain a voice processing result.
可选地,所述对所述目标数据进行目标处理,得到处理结果包括:Optionally, the performing target processing on the target data to obtain a processing result includes:
将所述目标数据发送至云端服务器;Sending the target data to a cloud server;
接收所述云端服务器对所述目标数据进行处理得到的处理结果。Receiving the processing result obtained by the cloud server processing the target data.
可选地,所述方法还包括:Optionally, the method further includes:
检测所述目标数据是否符合预设要求或用户设置;Detecting whether the target data meets preset requirements or user settings;
若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;If the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。If the target data does not meet preset requirements or user settings, the earphone storage device processes the target data.
可选地,所述检测所述目标数据是否符合预设要求包括:Optionally, the detecting whether the target data meets a preset requirement includes:
若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
可选地,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。Optionally, the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other.
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of this application are described with reference to the flowcharts and/or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing terminal equipment to generate a machine, so that instructions executed by the processor of the computer or other programmable data processing terminal equipment A device for realizing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram is generated.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The instruction device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程 和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing terminal equipment, so that a series of operation steps are executed on the computer or other programmable terminal equipment to produce computer-implemented processing, so that the computer or other programmable terminal equipment The instructions executed above provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。Although the preferred embodiments of the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. Or there is any such actual relationship or sequence between operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements not only includes those elements, but also includes those elements that are not explicitly listed. Other elements listed, or also include elements inherent to this process, method, article, or terminal device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or terminal device that includes the element.
以上对本申请所提供的一种数据处理方法、一种数据处理装置、一种用于数据处理的装置、一种机器可读介质,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above provides a detailed introduction to a data processing method, a data processing device, a device for data processing, and a machine-readable medium provided by this application. In this article, specific examples are applied to the principles of this application. The description of the above examples is only used to help understand the methods and core ideas of the application; at the same time, for those of ordinary skill in the art, in accordance with the ideas of the application, the specific implementation and scope of application There will be changes. In summary, the content of this specification should not be construed as a limitation to this application.

Claims (98)

  1. 一种数据处理方法,其特征在于,应用于耳机,包括:A data processing method, characterized in that it is applied to earphones, and includes:
    采集目标数据;Collect target data;
    将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or store the processing result , And/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can control the target The data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
  2. 根据权利要求1所述的方法,其特征在于,在所述将所述目标数据发送给耳机收纳装置之后,所述方法还包括:The method according to claim 1, wherein after the sending the target data to the earphone storage device, the method further comprises:
    接收所述耳机收纳装置发送来的所述处理结果。Receiving the processing result sent by the earphone storage device.
  3. 根据权利要求2所述的方法,其特征在于,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:The method according to claim 2, wherein after the receiving the processing result sent by the earphone storage device, the method further comprises:
    将所述处理结果发送给移动终端。The processing result is sent to the mobile terminal.
  4. 根据权利要求2所述的方法,其特征在于,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:The method according to claim 2, wherein after the receiving the processing result sent by the earphone storage device, the method further comprises:
    对所述处理结果进行播放。Play the processing result.
  5. 根据权利要求2所述的方法,其特征在于,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述方法还包括:The method according to claim 2, wherein after the receiving the processing result sent by the earphone storage device, the method further comprises:
    将所述处理结果存储在所述耳机上的存储介质上。The processing result is stored on the storage medium on the earphone.
  6. 根据权利要求1所述的方法,其特征在于,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。The method according to claim 1, wherein the target data or processing result is transmitted between the earphone and the earphone storage device through Bluetooth.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述采集目标数据包括以下至少一种:The method according to any one of claims 1 to 6, wherein the collecting target data includes at least one of the following:
    所述目标数据包括音频数据时,通过设置在所述耳机上的麦克风采集所述音频数据;When the target data includes audio data, collecting the audio data through a microphone set on the earphone;
    所述目标数据包括加速度数据时,通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, collecting the acceleration data through an acceleration sensor provided on the earphone;
    所述目标数据包括温度数据时,通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, collect the temperature data through a temperature sensor provided on the earphone;
    所述目标数据包括心率数据时,通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate data is collected by a heart rate sensor provided on the earphone.
  8. 根据权利要求7所述的方法,其特征在于,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。The method according to claim 7, wherein the processing result comprises at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, and after sound effect processing The audio data, speech synthesis data, recording files of the audio data, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, and the target audio in the target language obtained by translating the audio data Data or target text data, voice processing results based on voice processing functions.
  9. 根据权利要求7所述的方法,其特征在于,所述目标数据包括温度数据和/或心率数据时,所述处理结果包括身体状态信息。The method according to claim 7, wherein when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
  10. 根据权利要求7所述的方法,其特征在于,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。The method according to claim 7, wherein when the target data includes acceleration data, the processing result includes a user's motion state.
  11. 一种数据处理方法,其特征在于,应用于耳机收纳装置,包括:A data processing method, characterized in that it is applied to an earphone storage device, and includes:
    获取目标数据;Obtain target data;
    对所述目标数据进行处理,得到处理结果;Processing the target data to obtain a processing result;
    将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。Sending the processing result to a headset, and/or storing the processing result, and/or displaying the processing result, and/or playing the processing result, and/or sending the processing result to a cloud server.
  12. 根据权利要求11所述的方法,其特征在于,所述获取目标数据包括:The method according to claim 11, wherein said obtaining target data comprises:
    从所述耳机接收所述目标数据。Receiving the target data from the headset.
  13. 根据权利要求11所述的方法,其特征在于,所述目标数据包括音频数据,所述 获取目标数据包括:The method according to claim 11, wherein the target data comprises audio data, and the obtaining of the target data comprises:
    通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The audio data is collected through a microphone array provided on the earphone storage device.
  14. 根据权利要求13所述的方法,其特征在于,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 13, wherein the processing the target data to obtain a processing result comprises:
    根据所述音频数据,检测环境音的来源方向和/或类型;Detect the source direction and/or type of environmental sound according to the audio data;
    根据所述环境音的来源方向和/或类型,生成提示信息。According to the source direction and/or type of the environmental sound, prompt information is generated.
  15. 根据权利要求11所述的方法,其特征在于,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the processing the target data to obtain a processing result comprises:
    对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。Performing noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
  16. 根据权利要求11所述的方法,其特征在于,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the processing the target data to obtain a processing result comprises:
    对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。Perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
  17. 根据权利要求11所述的方法,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the target data comprises audio data, and the processing the target data to obtain a processing result comprises:
    对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。Performing human voice processing on the audio data to obtain human voice processed audio data; and/or performing sound effect processing on the audio data to obtain sound effect processed audio data.
  18. 根据权利要求11所述的方法,其特征在于,所述目标数据包括音频数据,所述处理结果包括录音文件。The method according to claim 11, wherein the target data includes audio data, and the processing result includes a recording file.
  19. 根据权利要求18所述的方法,其特征在于,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 18, wherein the processing the target data to obtain a processing result comprises:
    对所述音频数据中的目标音频进行标记。Mark the target audio in the audio data.
  20. 根据权利要求11所述的方法,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the target data comprises audio data, and the processing the target data to obtain a processing result comprises:
    将所述音频数据转换成所述文本数据。The audio data is converted into the text data.
  21. 根据权利要求20所述的方法,其特征在于,所述对所述目标数据进行处理,得到处理结果还包括:The method according to claim 20, wherein said processing said target data to obtain a processing result further comprises:
    识别所述文本数据中预设类型的目标信息;Identifying a preset type of target information in the text data;
    根据所述目标信息,生成备忘信息或提醒信息。According to the target information, memo information or reminder information is generated.
  22. 根据权利要求11所述的方法,其特征在于,所述目标数据包括文本数据,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the target data comprises text data, and the processing the target data to obtain a processing result comprises:
    根据所述文本数据,生成语音合成数据。According to the text data, speech synthesis data is generated.
  23. 根据权利要求11所述的方法,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the target data comprises audio data, and the processing the target data to obtain a processing result comprises:
    根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据。According to the audio data, target audio data or target text data in the target language is obtained by translation.
  24. 根据权利要求11所述的方法,其特征在于,所述目标数据包括温度数据和/或心率数据,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the target data includes temperature data and/or heart rate data, and the processing the target data to obtain a processing result comprises:
    根据所述温度数据和/或心率数据,生成身体状态信息。According to the temperature data and/or heart rate data, body state information is generated.
  25. 根据权利要求11所述的方法,其特征在于,所述目标数据包括加速度数据,所述对所述目标数据进行处理,得到处理结果包括:The method according to claim 11, wherein the target data includes acceleration data, and the processing the target data to obtain a processing result comprises:
    根据所述加速度数据,识别用户的运动状态。According to the acceleration data, the user's motion state is recognized.
  26. 根据权利要求25所述的方法,其特征在于,所述方法还包括:The method according to claim 25, wherein the method further comprises:
    确定所述运动状态相关联的目标处理;Determine the target processing associated with the exercise state;
    执行所述目标处理。Perform the target processing.
  27. 根据权利要求11所述的方法,其特征在于,所述目标数据包括加速度数据和位置数据,所述对所述目标数据进行目标处理,得到处理结果包括:The method according to claim 11, wherein the target data includes acceleration data and position data, and performing target processing on the target data to obtain a processing result comprises:
    根据所述加速度数据和位置数据,生成导航提示信息。According to the acceleration data and the position data, navigation prompt information is generated.
  28. 根据权利要求11所述的方法,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行目标处理,得到处理结果包括:The method according to claim 11, wherein the target data includes audio data, and the performing target processing on the target data to obtain a processing result comprises:
    基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。Based on the voice processing function, voice processing is performed on the audio data to obtain a voice processing result.
  29. 根据权利要求11-28中任一项所述的方法,其特征在于,所述对所述目标数据进行目标处理,得到处理结果包括:The method according to any one of claims 11-28, wherein the performing target processing on the target data to obtain a processing result comprises:
    将所述目标数据发送至云端服务器;Sending the target data to a cloud server;
    接收所述云端服务器对所述目标数据进行处理得到的处理结果。Receiving the processing result obtained by the cloud server processing the target data.
  30. 根据权利要求29所述的方法,其特征在于,所述方法还包括:The method according to claim 29, wherein the method further comprises:
    检测所述目标数据是否符合预设要求或用户设置;Detecting whether the target data meets preset requirements or user settings;
    若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;If the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
    若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。If the target data does not meet preset requirements or user settings, the earphone storage device processes the target data.
  31. 根据权利要求30所述的方法,其特征在于,所述检测所述目标数据是否符合预设要求包括:The method according to claim 30, wherein the detecting whether the target data meets a preset requirement comprises:
    若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
    若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
  32. 根据权利要求29所述的方法,其特征在于,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。The method according to claim 29, wherein the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  33. 一种数据处理装置,其特征在于,应用于耳机,包括:A data processing device, characterized in that it is applied to earphones, and includes:
    数据采集模块,用于采集目标数据;Data collection module, used to collect target data;
    数据发送模块,用于将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。The data sending module is configured to send the target data to the earphone storage device, so that the earphone storage device can process the target data to obtain the processing result, and send the processing result to the earphone, and/ Or store the processing result, and/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset for the The cloud server processes the target data to obtain a processing result, and sends the processing result to the headset, and/or stores the processing result.
  34. 根据权利要求33所述的装置,其特征在于,所述装置还包括:The device according to claim 33, wherein the device further comprises:
    结果接收模块,用于在所述将所述目标数据发送给耳机收纳装置之后,接收所述耳机收纳装置发送来的所述处理结果。The result receiving module is configured to receive the processing result sent by the earphone receiving device after the target data is sent to the earphone receiving device.
  35. 根据权利要求34所述的装置,其特征在于,所述装置还包括:The device according to claim 34, wherein the device further comprises:
    结果发送模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,将所述处理结果发送给移动终端。The result sending module is configured to send the processing result to the mobile terminal after the receiving the processing result sent by the earphone storage device.
  36. 根据权利要求34所述的装置,其特征在于,所述装置还包括:The device according to claim 34, wherein the device further comprises:
    结果播放模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,对所述处理结果进行播放。The result playing module is configured to play the processing result after the receiving the processing result sent by the earphone storage device.
  37. 根据权利要求34所述的装置,其特征在于,所述装置还包括:The device according to claim 34, wherein the device further comprises:
    结果存储模块,用于在所述接收所述耳机收纳装置发送来的所述处理结果之后,将所述处理结果存储在所述耳机上的存储介质上。The result storage module is configured to store the processing result on the storage medium on the earphone after the receiving the processing result sent by the earphone storage device.
  38. 根据权利要求33所述的装置,其特征在于,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。The device according to claim 33, wherein the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  39. 根据权利要求33-38中任一项所述的装置,其特征在于,所述数据采集模块包括以下至少一种:The device according to any one of claims 33-38, wherein the data collection module comprises at least one of the following:
    所述目标数据包括音频数据时,音频采集模块,用于通过设置在所述耳机上的麦克风采集所述音频数据;When the target data includes audio data, an audio collection module is configured to collect the audio data through a microphone set on the headset;
    所述目标数据包括加速度数据时,加速度采集模块,用于通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, an acceleration collection module is configured to collect the acceleration data through an acceleration sensor provided on the headset;
    所述目标数据包括温度数据时,温度采集模块,用于通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, a temperature collection module is configured to collect the temperature data through a temperature sensor provided on the earphone;
    所述目标数据包括心率数据时,心率采集模块,用于通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate collection module is configured to collect the heart rate data through a heart rate sensor provided on the earphone.
  40. 根据权利要求39所述的装置,其特征在于,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。The device according to claim 39, wherein the processing result comprises at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, and after sound effect processing The audio data, speech synthesis data, recording files of the audio data, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, and the target audio in the target language obtained by translating the audio data Data or target text data, voice processing results based on voice processing functions.
  41. 根据权利要求39所述的装置,其特征在于,所述目标数据包括温度数据和/或心率数据时,所述处理结果包括身体状态信息。The device according to claim 39, wherein when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
  42. 根据权利要求39所述的装置,其特征在于,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。The device according to claim 39, wherein when the target data includes acceleration data, the processing result includes the user's motion state.
  43. 一种数据处理装置,其特征在于,应用于耳机收纳装置,包括:A data processing device, characterized in that it is applied to a headset storage device, and includes:
    数据获取模块,用于获取目标数据;Data acquisition module for acquiring target data;
    数据处理模块,用于对所述目标数据进行处理,得到处理结果;A data processing module for processing the target data to obtain a processing result;
    结果处理模块,用于将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。The result processing module is used to send the processing result to the headset, and/or store the processing result, and/or display the processing result, and/or play the processing result, and/or display the processing result Send to the cloud server.
  44. 根据权利要求43所述的装置,其特征在于,所述数据获取模块包括:The device according to claim 43, wherein the data acquisition module comprises:
    数据接收模块,用于从所述耳机接收所述目标数据。The data receiving module is used to receive the target data from the earphone.
  45. 根据权利要求43所述的装置,其特征在于,所述目标数据包括音频数据,所述数据获取模块包括:The device according to claim 43, wherein the target data comprises audio data, and the data acquisition module comprises:
    数据采集模块,用于通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The data collection module is used to collect the audio data through a microphone array arranged on the earphone storage device.
  46. 根据权利要求45所述的装置,其特征在于,所述数据处理模块包括:The device according to claim 45, wherein the data processing module comprises:
    环境音检测模块,用于根据所述音频数据,检测环境音的来源方向和/或类型;The environmental sound detection module is used to detect the source direction and/or type of the environmental sound according to the audio data;
    提示生成模块,用于根据所述环境音的来源方向和/或类型,生成提示信息。The prompt generation module is used to generate prompt information according to the source direction and/or type of the environmental sound.
  47. 根据权利要求43所述的装置,其特征在于,所述数据处理模块包括:The device according to claim 43, wherein the data processing module comprises:
    降噪处理模块,用于对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。The noise reduction processing module is used to perform noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
  48. 根据权利要求43所述的装置,其特征在于,所述数据处理模块包括:The device according to claim 43, wherein the data processing module comprises:
    回声消除模块,用于对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。The echo cancellation module is used to perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
  49. 根据权利要求43所述的装置,其特征在于,所述目标数据包括音频数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises audio data, and the data processing module comprises:
    人声音效模块,用于对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。The human voice effect module is used to perform human voice processing on the audio data to obtain human voice processed audio data; and/or perform sound effect processing on the audio data to obtain sound effect processed audio data.
  50. 根据权利要求43所述的装置,其特征在于,所述目标数据包括音频数据,所述处理结果包括录音文件。The device according to claim 43, wherein the target data includes audio data, and the processing result includes a recording file.
  51. 根据权利要求50所述的方法,其特征在于,所述数据处理模块包括:The method of claim 50, wherein the data processing module comprises:
    标记模块,用于对所述音频数据中的目标音频进行标记。The marking module is used to mark the target audio in the audio data.
  52. 根据权利要求43所述的装置,其特征在于,所述目标数据包括音频数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises audio data, and the data processing module comprises:
    转文本模块,用于将所述音频数据转换成所述文本数据。The text conversion module is used to convert the audio data into the text data.
  53. 根据权利要求52所述的装置,其特征在于,所述数据处理模块还包括:The device according to claim 52, wherein the data processing module further comprises:
    信息识别模块,用于识别所述文本数据中预设类型的目标信息;An information recognition module for recognizing a preset type of target information in the text data;
    备忘提醒生成模块,用于根据所述目标信息,生成备忘信息或提醒信息。The memo reminder generating module is used to generate memo information or reminder information according to the target information.
  54. 根据权利要求43所述的装置,其特征在于,所述目标数据包括文本数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises text data, and the data processing module comprises:
    语音生成模块,用于根据所述文本数据,生成语音合成数据。The speech generation module is used to generate speech synthesis data according to the text data.
  55. 根据权利要求43所述的装置,其特征在于,所述目标数据包括音频数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises audio data, and the data processing module comprises:
    翻译模块,用于根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据。The translation module is used to translate the target audio data or target text data in the target language according to the audio data.
  56. 根据权利要求43所述的装置,其特征在于,所述目标数据包括温度数据和/或心率数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises temperature data and/or heart rate data, and the data processing module comprises:
    身体状态生成模块,用于根据所述温度数据和/或心率数据,生成身体状态信息。The body state generating module is used to generate body state information according to the temperature data and/or heart rate data.
  57. 根据权利要求43所述的装置,其特征在于,所述目标数据包括加速度数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises acceleration data, and the data processing module comprises:
    运动状态识别模块,用于根据所述加速度数据,识别用户的运动状态。The motion state recognition module is used to recognize the user's motion state according to the acceleration data.
  58. 根据权利要求57所述的装置,其特征在于,所述装置还包括:The device according to claim 57, wherein the device further comprises:
    处理确定模块,用于确定所述运动状态相关联的目标处理;A processing determination module, configured to determine the target processing associated with the motion state;
    处理执行模块,用于执行所述目标处理。The processing execution module is used to execute the target processing.
  59. 根据权利要求43所述的装置,其特征在于,所述目标数据包括加速度数据和位置数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises acceleration data and position data, and the data processing module comprises:
    导航生成模块,用于根据所述加速度数据和位置数据,生成导航提示信息。The navigation generating module is used to generate navigation prompt information according to the acceleration data and position data.
  60. 根据权利要求43所述的装置,其特征在于,所述目标数据包括音频数据,所述数据处理模块包括:The device according to claim 43, wherein the target data comprises audio data, and the data processing module comprises:
    语音处理模块,用于基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。The voice processing module is used to perform voice processing on the audio data based on the voice processing function to obtain a voice processing result.
  61. 根据权利要求43-60中任一项所述的装置,其特征在于,所述数据处理模块包括:The device according to any one of claims 43-60, wherein the data processing module comprises:
    数据发送模块,用于将所述目标数据发送至云端服务器;A data sending module for sending the target data to a cloud server;
    结果接收模块,用于接收所述云端服务器对所述目标数据进行处理得到的处理结果。The result receiving module is configured to receive the processing result obtained by the cloud server processing the target data.
  62. 根据权利要求61所述的装置,其特征在于,所述装置还包括:The device according to claim 61, wherein the device further comprises:
    要求检测模块,用于检测所述目标数据是否符合预设要求或用户设置;The requirement detection module is used to detect whether the target data meets preset requirements or user settings;
    云端执行模块,用于若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;The cloud execution module is configured to execute the step of sending the target data to the cloud server if the target data meets preset requirements or user settings;
    收纳装置执行模块,用于若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。The storage device execution module is configured to process the target data by the earphone storage device if the target data does not meet preset requirements or user settings.
  63. 根据权利要求62所述的装置,其特征在于,所述要求检测模块具体用于:The device according to claim 62, wherein the requirement detection module is specifically configured to:
    若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
    若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
  64. 根据权利要求61所述的装置,其特征在于,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。The device according to claim 61, wherein the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  65. 一种用于数据处理的装置,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A device for data processing, characterized by comprising a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors One or more programs contain instructions for the following operations:
    采集目标数据;Collect target data;
    将所述目标数据发送给耳机收纳装置,以供所述耳机收纳装置对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果;或将所述目标数据通过内置于所述耳机的移动通信芯片发送给云端服务器,以供所述云端服务器对所述目标数据进行处理,得到处理结果,并将所述处理结果发送给所述耳机、和/或存储所述处理结果。Send the target data to the earphone storage device for the earphone storage device to process the target data to obtain a processing result, and send the processing result to the earphone and/or store the processing result , And/or display the processing result, and/or play the processing result; or send the target data to the cloud server through the mobile communication chip built in the headset, so that the cloud server can control the target The data is processed to obtain a processing result, and the processing result is sent to the headset, and/or the processing result is stored.
  66. 根据权利要求65所述的装置,其特征在于,在所述将所述目标数据发送给耳机收纳装置之后,所述操作的指令还包括:The device according to claim 65, wherein after the target data is sent to the earphone storage device, the operation instruction further comprises:
    接收所述耳机收纳装置发送来的所述处理结果。Receiving the processing result sent by the earphone storage device.
  67. 根据权利要求66所述的装置,其特征在于,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述操作的指令还包括:The device according to claim 66, wherein after the receiving the processing result sent by the earphone storage device, the operation instruction further comprises:
    将所述处理结果发送给移动终端。The processing result is sent to the mobile terminal.
  68. 根据权利要求66所述的装置,其特征在于,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述操作的指令还包括:The device according to claim 66, wherein after the receiving the processing result sent by the earphone storage device, the operation instruction further comprises:
    对所述处理结果进行播放。Play the processing result.
  69. 根据权利要求66所述的装置,其特征在于,在所述接收所述耳机收纳装置发送来的所述处理结果之后,所述操作的指令还包括:The device according to claim 66, wherein after the receiving the processing result sent by the earphone storage device, the operation instruction further comprises:
    将所述处理结果存储在所述耳机上的存储介质上。The processing result is stored on the storage medium on the earphone.
  70. 根据权利要求65所述的装置,其特征在于,所述耳机和所述耳机收纳装置之间通过蓝牙传输所述目标数据或处理结果。The device according to claim 65, wherein the target data or processing result is transmitted between the headset and the headset storage device via Bluetooth.
  71. 根据权利要求65-70中任一项所述的装置,其特征在于,所述采集目标数据包括以下至少一种:The device according to any one of claims 65-70, wherein the collection target data comprises at least one of the following:
    所述目标数据包括音频数据时,通过设置在所述耳机上的麦克风采集所述音频数据;When the target data includes audio data, collecting the audio data through a microphone set on the earphone;
    所述目标数据包括加速度数据时,通过设置在所述耳机上的加速度传感器采集所述加速度数据;When the target data includes acceleration data, collecting the acceleration data through an acceleration sensor provided on the earphone;
    所述目标数据包括温度数据时,通过设置在所述耳机上的温度传感器采集所述温度数据;When the target data includes temperature data, collect the temperature data through a temperature sensor provided on the earphone;
    所述目标数据包括心率数据时,通过设置在所述耳机上的心率传感器采集所述心率数据。When the target data includes heart rate data, the heart rate data is collected by a heart rate sensor provided on the earphone.
  72. 根据权利要求71所述的装置,其特征在于,所述处理结果包括以下至少一种:降噪处理后的音频数据、回声消除处理后的音频数据、人声处理后的音频数据、音效处理后的音频数据、语音合成数据、录音文件,所述音频数据中目标音频的标记,根据所述音频数据转换的文本数据、备忘信息、提醒信息、根据所述音频数据翻译得到目标语言的目标音频数据或目标文本数据、基于语音处理功能得到的语音处理结果。The device according to claim 71, wherein the processing result comprises at least one of the following: audio data after noise reduction processing, audio data after echo cancellation processing, audio data after human voice processing, and after sound effect processing The audio data, speech synthesis data, recording files of the audio data, the mark of the target audio in the audio data, the text data, memo information, reminder information converted according to the audio data, and the target audio in the target language obtained by translating the audio data Data or target text data, voice processing results based on voice processing functions.
  73. 根据权利要求71所述的装置,其特征在于,所述目标数据包括温度数据和/或心率数据时,所述处理结果包括身体状态信息。The device according to claim 71, wherein when the target data includes temperature data and/or heart rate data, the processing result includes body state information.
  74. 根据权利要求71所述的装置,其特征在于,所述目标数据包括加速度数据时,所述处理结果包括用户的运动状态。The device according to claim 71, wherein when the target data includes acceleration data, the processing result includes a user's motion state.
  75. 一种用于数据处理的装置,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A device for data processing, characterized by comprising a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors One or more programs contain instructions for the following operations:
    获取目标数据;Obtain target data;
    对所述目标数据进行处理,得到处理结果;Processing the target data to obtain a processing result;
    将所述处理结果发送给耳机、和/或存储所述处理结果、和/或显示所述处理结果、和/或播放所述处理结果、和/或将所述处理结果发送给云端服务器。Sending the processing result to a headset, and/or storing the processing result, and/or displaying the processing result, and/or playing the processing result, and/or sending the processing result to a cloud server.
  76. 根据权利要求75所述的装置,其特征在于,所述获取目标数据包括:The device according to claim 75, wherein said acquiring target data comprises:
    从所述耳机接收所述目标数据。Receiving the target data from the headset.
  77. 根据权利要求75所述的装置,其特征在于,所述目标数据包括音频数据,所述获取目标数据包括:The device according to claim 75, wherein the target data comprises audio data, and the obtaining of the target data comprises:
    通过设置在所述耳机收纳装置上的麦克风阵列采集所述音频数据。The audio data is collected through a microphone array provided on the earphone storage device.
  78. 根据权利要求77所述的装置,其特征在于,所述处理结果包括提示信息,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 77, wherein the processing result comprises prompt information, and the processing of the target data to obtain the processing result comprises:
    根据所述音频数据,检测环境音的来源方向和/或类型;Detect the source direction and/or type of environmental sound according to the audio data;
    根据所述环境音的来源方向和/或类型,生成提示信息。According to the source direction and/or type of the environmental sound, prompt information is generated.
  79. 根据权利要求75所述的装置,其特征在于,所述对所述目标数据进行处理,得 到处理结果包括:The device according to claim 75, wherein said processing said target data to obtain a processing result comprises:
    对所述音频数据进行降噪处理,得到所述降噪处理后的音频数据。Performing noise reduction processing on the audio data to obtain the audio data after the noise reduction processing.
  80. 根据权利要求75所述的装置,其特征在于,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 75, wherein said processing said target data to obtain a processing result comprises:
    对所述音频数据进行回声消除处理,得到所述回声消除处理后的音频数据。Perform echo cancellation processing on the audio data to obtain the audio data after the echo cancellation processing.
  81. 根据权利要求75所述的装置,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 75, wherein the target data comprises audio data, and the processing the target data to obtain a processing result comprises:
    对所述音频数据进行人声处理,得到人声处理后的音频数据;和/或对所述音频数据进行音效处理,得到音效处理后的音频数据。Performing human voice processing on the audio data to obtain human voice processed audio data; and/or performing sound effect processing on the audio data to obtain sound effect processed audio data.
  82. 根据权利要求75所述的装置,其特征在于,所述目标数据包括音频数据,所述处理结果包括录音文件。The device of claim 75, wherein the target data includes audio data, and the processing result includes a recording file.
  83. 根据权利要求82所述的装置,其特征在于,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 82, wherein said processing said target data to obtain a processing result comprises:
    对所述音频数据中的目标音频进行标记。Mark the target audio in the audio data.
  84. 根据权利要求75所述的装置,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 75, wherein the target data comprises audio data, and the processing the target data to obtain a processing result comprises:
    将所述音频数据转换成所述文本数据。The audio data is converted into the text data.
  85. 根据权利要求84所述的装置,其特征在于,所述对所述目标数据进行处理,得到处理结果还包括:The device according to claim 84, wherein said processing said target data to obtain a processing result further comprises:
    识别所述文本数据中预设类型的目标信息;Identifying a preset type of target information in the text data;
    根据所述目标信息,生成备忘信息或提醒信息。According to the target information, memo information or reminder information is generated.
  86. 根据权利要求75所述的装置,其特征在于,所述目标数据包括文本数据,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 75, wherein the target data comprises text data, and the processing of the target data to obtain a processing result comprises:
    根据所述文本数据,生成语音合成数据。According to the text data, speech synthesis data is generated.
  87. 根据权利要求75所述的装置,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 75, wherein the target data comprises audio data, and the processing the target data to obtain a processing result comprises:
    根据所述音频数据,翻译得到所述目标语言的目标音频数据或目标文本数据。According to the audio data, target audio data or target text data in the target language is obtained by translation.
  88. 根据权利要求75所述的装置,其特征在于,所述目标数据包括温度数据和/或心率数据,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 75, wherein the target data comprises temperature data and/or heart rate data, and the processing of the target data to obtain a processing result comprises:
    根据所述温度数据和/或心率数据,生成身体状态信息。According to the temperature data and/or heart rate data, body state information is generated.
  89. 根据权利要求75所述的装置,其特征在于,所述目标数据包括加速度数据,所述对所述目标数据进行处理,得到处理结果包括:The device according to claim 75, wherein the target data comprises acceleration data, and the processing the target data to obtain a processing result comprises:
    根据所述加速度数据,识别用户的运动状态。According to the acceleration data, the user's motion state is recognized.
  90. 根据权利要求89所述的装置,其特征在于,所述操作的指令还包括:The device according to claim 89, wherein the operation instruction further comprises:
    确定所述运动状态相关联的目标处理;Determine the target processing associated with the exercise state;
    执行所述目标处理。Perform the target processing.
  91. 根据权利要求75所述的装置,其特征在于,所述目标数据包括加速度数据和位置数据,所述对所述目标数据进行目标处理,得到处理结果包括:The device according to claim 75, wherein the target data includes acceleration data and position data, and performing target processing on the target data to obtain a processing result comprises:
    根据所述加速度数据和位置数据,生成导航提示信息。According to the acceleration data and the position data, navigation prompt information is generated.
  92. 根据权利要求75所述的装置,其特征在于,所述目标数据包括音频数据,所述对所述目标数据进行目标处理,得到处理结果包括:The device according to claim 75, wherein the target data comprises audio data, and the performing target processing on the target data to obtain a processing result comprises:
    基于语音处理功能,对所述音频数据进行语音处理,得到语音处理结果。Based on the voice processing function, voice processing is performed on the audio data to obtain a voice processing result.
  93. 根据权利要求75-92中任一项所述的装置,其特征在于,所述对所述目标数据进行目标处理,得到处理结果包括:The device according to any one of claims 75-92, wherein the performing target processing on the target data to obtain a processing result comprises:
    将所述目标数据发送至云端服务器;Sending the target data to a cloud server;
    接收所述云端服务器对所述目标数据进行处理得到的处理结果。Receiving the processing result obtained by the cloud server processing the target data.
  94. 根据权利要求93所述的装置,其特征在于,所述操作的指令还包括:The device according to claim 93, wherein the operation instruction further comprises:
    检测所述目标数据是否符合预设要求或用户设置;Detecting whether the target data meets preset requirements or user settings;
    若所述目标数据符合预设要求或用户设置,则执行所述将所述目标数据发送至云端服务器的步骤;If the target data meets preset requirements or user settings, execute the step of sending the target data to a cloud server;
    若所述目标数据不符合预设要求或用户设置,则由所述耳机收纳装置对所述目标数据进行处理。If the target data does not meet preset requirements or user settings, the earphone storage device processes the target data.
  95. 根据权利要求94所述的装置,其特征在于,所述检测所述目标数据是否符合预设要求包括:The device of claim 94, wherein the detecting whether the target data meets a preset requirement comprises:
    若所述目标数据的数据量超过设定阈值,则确定所述目标数据符合预设要求;If the data amount of the target data exceeds a set threshold, it is determined that the target data meets a preset requirement;
    若所述目标数据的数据量未超过设定阈值,则确定所述目标数据不符合预设要求。If the data amount of the target data does not exceed the set threshold, it is determined that the target data does not meet the preset requirements.
  96. 根据权利要求93所述的装置,其特征在于,所述耳机收纳装置通过移动通信网络或无线局域网连接互联网。The device according to claim 93, wherein the earphone storage device is connected to the Internet through a mobile communication network or a wireless local area network.
  97. 一种机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得装置执行如权利要求1至32中一个或多个所述的数据处理方法。A machine-readable medium having instructions stored thereon, which when executed by one or more processors, cause a device to execute the data processing method according to one or more of claims 1 to 32.
  98. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算处理设备上运行时,导致所述计算处理设备执行根据权利要求1-32中的任一个所述的数据处理方法。A computer program comprising computer readable code, which when the computer readable code runs on a computing processing device, causes the computing processing device to execute the data processing method according to any one of claims 1-32.
PCT/CN2021/074911 2020-06-05 2021-02-02 Data processing method and apparatus, and readable medium WO2021244056A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010508183.3A CN111741394A (en) 2020-06-05 2020-06-05 Data processing method and device and readable medium
CN202010508183.3 2020-06-05

Publications (1)

Publication Number Publication Date
WO2021244056A1 true WO2021244056A1 (en) 2021-12-09

Family

ID=72648414

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/074911 WO2021244056A1 (en) 2020-06-05 2021-02-02 Data processing method and apparatus, and readable medium

Country Status (2)

Country Link
CN (1) CN111741394A (en)
WO (1) WO2021244056A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741394A (en) * 2020-06-05 2020-10-02 北京搜狗科技发展有限公司 Data processing method and device and readable medium
CN112331179A (en) * 2020-11-11 2021-02-05 北京搜狗科技发展有限公司 Data processing method and earphone accommodating device
CN112506331A (en) * 2020-12-11 2021-03-16 北京搜狗科技发展有限公司 Data processing method and earphone accommodating device
CN113345440A (en) * 2021-06-08 2021-09-03 北京有竹居网络技术有限公司 Signal processing method, device and equipment and Augmented Reality (AR) system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509428A (en) * 2018-02-26 2018-09-07 深圳市百泰实业股份有限公司 Earphone interpretation method and system
CN109246517A (en) * 2018-10-12 2019-01-18 歌尔科技有限公司 A kind of noise reduction microphone bearing calibration, wireless headset and the charging box of wireless headset
CN109938711A (en) * 2019-04-23 2019-06-28 深圳傲智天下信息科技有限公司 Health monitor method, system and computer readable storage medium
CN111031440A (en) * 2019-12-27 2020-04-17 深圳春沐源控股有限公司 Earphone assembly
CN111741394A (en) * 2020-06-05 2020-10-02 北京搜狗科技发展有限公司 Data processing method and device and readable medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333201B (en) * 2017-07-24 2023-11-24 歌尔科技有限公司 Translation earphone receiver, wireless translation earphone and wireless translation system
CN107948789B (en) * 2017-11-30 2019-03-05 会听声学科技(北京)有限公司 Active noise reduction headset designs system and method based on cloud service
EP3621068A4 (en) * 2018-05-18 2021-07-21 Shenzhen Aukey Smart Information Technology Co., Ltd. Portable smart voice interaction control device, method and system
WO2019218370A1 (en) * 2018-05-18 2019-11-21 深圳傲智天下信息科技有限公司 Ai voice interaction method, apparatus and system
CN109067965B (en) * 2018-06-15 2020-12-22 Oppo广东移动通信有限公司 Translation method, translation device, wearable device and storage medium
CN208940167U (en) * 2018-09-04 2019-06-04 杭州骇音科技有限公司 Bluetooth headset with voice arousal function
CN109567779A (en) * 2018-11-29 2019-04-05 与德科技有限公司 Heart rate detection method, system and storage medium
CN109509469A (en) * 2018-11-29 2019-03-22 与德科技有限公司 Voice control body temperature detection method, device, system and storage medium
CN109543198A (en) * 2018-11-29 2019-03-29 与德科技有限公司 Interpretation method, device, system and storage medium
CN110147557A (en) * 2019-05-23 2019-08-20 歌尔科技有限公司 The charging box and storage medium of a kind of interpretation method, system and wireless headset

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509428A (en) * 2018-02-26 2018-09-07 深圳市百泰实业股份有限公司 Earphone interpretation method and system
CN109246517A (en) * 2018-10-12 2019-01-18 歌尔科技有限公司 A kind of noise reduction microphone bearing calibration, wireless headset and the charging box of wireless headset
CN109938711A (en) * 2019-04-23 2019-06-28 深圳傲智天下信息科技有限公司 Health monitor method, system and computer readable storage medium
CN111031440A (en) * 2019-12-27 2020-04-17 深圳春沐源控股有限公司 Earphone assembly
CN111741394A (en) * 2020-06-05 2020-10-02 北京搜狗科技发展有限公司 Data processing method and device and readable medium

Also Published As

Publication number Publication date
CN111741394A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
WO2021244056A1 (en) Data processing method and apparatus, and readable medium
CN104303177B (en) Execute the method and earphone computing device of real-time phonetic translation
CN108538320B (en) Recording control method and device, readable storage medium and terminal
JP2019518985A (en) Processing audio from distributed microphones
WO2014161309A1 (en) Method and apparatus for mobile terminal to implement voice source tracking
CN108922525B (en) Voice processing method, device, storage medium and electronic equipment
CN109360549B (en) Data processing method, wearable device and device for data processing
EP3866158B1 (en) Systems and methods for generating a singular voice audio stream
CN115482830B (en) Voice enhancement method and related equipment
JP2014060647A (en) Information processing system and program
CN114189790B (en) Audio information processing method, electronic device, system, product and medium
WO2022253003A1 (en) Speech enhancement method and related device
CN109361995A (en) A kind of volume adjusting method of electrical equipment, device, electrical equipment and medium
US20230164509A1 (en) System and method for headphone equalization and room adjustment for binaural playback in augmented reality
WO2022267468A1 (en) Sound processing method and apparatus thereof
CN111696566B (en) Voice processing method, device and medium
CN113299309A (en) Voice translation method and device, computer readable medium and electronic equipment
CN111696564B (en) Voice processing method, device and medium
WO2020102943A1 (en) Method and apparatus for generating gesture recognition model, storage medium, and electronic device
CN111696565B (en) Voice processing method, device and medium
US20240087597A1 (en) Source speech modification based on an input speech characteristic
CN116320144B (en) Audio playing method, electronic equipment and readable storage medium
US11646046B2 (en) Psychoacoustic enhancement based on audio source directivity
EP4280211A1 (en) Sound signal processing method and electronic device
US20230223033A1 (en) Method of Noise Reduction for Intelligent Network Communication

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: 21818609

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.03.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21818609

Country of ref document: EP

Kind code of ref document: A1