Movatterモバイル変換


[0]ホーム

URL:


CN111696578A - Reminding method and device, earphone and earphone storage device - Google Patents

Reminding method and device, earphone and earphone storage device
Download PDF

Info

Publication number
CN111696578A
CN111696578ACN202010507513.7ACN202010507513ACN111696578ACN 111696578 ACN111696578 ACN 111696578ACN 202010507513 ACN202010507513 ACN 202010507513ACN 111696578 ACN111696578 ACN 111696578A
Authority
CN
China
Prior art keywords
sound data
earphone
potential risk
storage device
risk event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010507513.7A
Other languages
Chinese (zh)
Other versions
CN111696578B (en
Inventor
赵楠
崔文华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Intelligent Technology Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co LtdfiledCriticalBeijing Sogou Technology Development Co Ltd
Priority to CN202010507513.7ApriorityCriticalpatent/CN111696578B/en
Publication of CN111696578ApublicationCriticalpatent/CN111696578A/en
Application grantedgrantedCritical
Publication of CN111696578BpublicationCriticalpatent/CN111696578B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种提醒方法、一种提醒装置、一种耳机和耳机收纳装置,所述耳机与耳机收纳装置通信连接,所述方法包括:所述耳机接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;根据所述潜在风险事件进行声音提醒,使得用户在佩戴耳机的过程中,耳机能及时告知用户环境中存在的危险从而使得用户可以及时规避风险。

Figure 202010507513

Embodiments of the present invention provide a reminder method, a reminder device, an earphone, and an earphone storage device, wherein the earphone is communicatively connected to the earphone storage device, and the method includes: the earphone receives a message sent by the earphone storage device. Potential risk events, the potential risk events are identified by the earphone storage device according to the environmental sound data; sound reminders are performed according to the potential risk events, so that the earphones can timely notify the user of the existence of the environment in the process of wearing the earphones. Dangerous so that users can avoid risks in time.

Figure 202010507513

Description

Translated fromChinese
一种提醒方法、装置、耳机和耳机收纳装置A reminder method, device, earphone and earphone storage device

技术领域technical field

本发明涉及电子设备技术领域,特别是涉及一种提醒方法、一种提醒装置、一种耳机和耳机收纳装置。The present invention relates to the technical field of electronic equipment, and in particular, to a reminder method, a reminder device, an earphone and an earphone storage device.

背景技术Background technique

随着科学技术的不断发展,电子技术也得到了飞速的发展,电子设备的种类也越来越多,人们越来越习惯在生活中使用多种电子设备。With the continuous development of science and technology, electronic technology has also developed rapidly, and there are more and more types of electronic devices, and people are more and more accustomed to using a variety of electronic devices in their lives.

耳机是人们日常生活中经常使用的可携带电子设备,用户经常在进行一些活动的同时,可以使用耳机进行听歌或语音通话。例如,在跑步、步行、骑行等活动的过程中使用耳机。Headphones are portable electronic devices that are often used in people's daily lives. Users often use the headphones to listen to songs or make voice calls while performing some activities. For example, using headphones during activities such as running, walking, cycling, etc.

但是很多人在户外戴着耳机,经常忽视了周围的车辆、行人甚至红绿灯的变化,容易产生潜在的风险。However, many people wear headphones outdoors, often ignoring the changes in surrounding vehicles, pedestrians and even traffic lights, which are prone to potential risks.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种提醒方法、一种提醒装置、一种耳机和耳机收纳装置。Embodiments of the present invention provide a reminder method, a reminder device, an earphone and an earphone storage device.

本发明实施例公开了一种提醒方法,应用于耳机,所述耳机与耳机收纳装置通信连接,所述方法包括:An embodiment of the present invention discloses a reminding method, which is applied to an earphone, and the earphone is communicatively connected to an earphone storage device, and the method includes:

所述耳机接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;The earphone receives a potential risk event sent by the earphone storage device, and the potential risk event is identified by the earphone storage device according to environmental sound data;

根据所述潜在风险事件进行声音提醒。A sound reminder is performed according to the potential risk event.

可选地,还包括:Optionally, also include:

采集环境音数据,并发送至所述耳机收纳装置。The ambient sound data is collected and sent to the earphone storage device.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集环境音数据。According to the user voice, the collection of ambient sound data is started or stopped.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集环境音数据。According to the user geographic location information, the collection of ambient sound data is started or stopped.

可选地,所述获取用户地理位置信息,包括:Optionally, the obtaining user geographic location information includes:

接收所述耳机收纳装置发送的用户地理位置信息。The user geographic location information sent by the earphone storage device is received.

可选地,所述耳机与移动终端通信连接,所述采集环境音数据,包括:Optionally, the headset is connected in communication with the mobile terminal, and the collection of ambient sound data includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集环境音数据。Using the control instruction, the collection of ambient sound data is started or stopped.

可选地,所述耳机包括配对的两个耳机;所述采集环境音数据,包括:Optionally, the earphones include two paired earphones; the collecting ambient sound data includes:

开启至少一个耳机的远场拾音模式采集远场声音数据。Enable the far-field pickup mode of at least one earphone to collect far-field sound data.

可选地,还包括:Optionally, also include:

在采用所述耳机进行通话的过程中,开启至少一个耳机的近场拾音模式采集近场声音数据;In the process of using the headset to make a call, turn on the near-field sound pickup mode of at least one headset to collect near-field sound data;

采用所述近场声音数据进行通话处理。Call processing is performed using the near-field sound data.

可选地,所述根据所述潜在风险事件进行声音提醒,包括:Optionally, the performing a sound reminder according to the potential risk event includes:

播放与所述潜在风险事件相应的提醒声音。Play a reminder sound corresponding to the potential risk event.

可选地,还包括:Optionally, also include:

若识别到潜在风险事件且所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。If a potential risk event is identified and the headset is playing sound data, the volume of playing the sound data is reduced or the sound data is stopped.

可选地,还包括:Optionally, also include:

若识别到潜在风险事件且所述耳机正在进行通话,则调用预设电话助手代接所述通话。If a potential risk event is identified and the headset is on a call, a preset phone assistant is called to pick up the call.

可选地,还包括:Optionally, also include:

若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。If the sound data to be played by the earphone includes human voice data, the human voice processing is performed on the sound data to be played by the earphone according to the ambient sound data.

可选地,所述根据所述环境音数据对所述耳机待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the sound data to be played by the headset according to the ambient sound data includes:

将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;Send the sound data to be played by the earphone to the earphone storage device, and the box is used to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data;

接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the earphone storage device.

可选地,还包括:Optionally, also include:

获取用户方位信息,并根据所述用户方位信息播放导航语音数据;Obtain user orientation information, and play navigation voice data according to the user orientation information;

当在获取到潜在风险事件时,根据所述潜在风险事件调整导航语音数据。When a potential risk event is acquired, the navigation voice data is adjusted according to the potential risk event.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息播放导航语音数据。Play navigation voice data according to the user location information and the user geographic location information.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

向所述耳机收纳装置发送导航查询信息,所述导航查询信息包括所述用户方位信息;sending navigation query information to the earphone storage device, where the navigation query information includes the user orientation information;

接收所述耳机收纳装置返回的导航语音数据并播放。The navigation voice data returned by the earphone storage device is received and played.

本发明实施例还公开了一种提醒方法,应用于耳机收纳装置,所述耳机收纳装置与耳机通信连接,所述方法包括:The embodiment of the present invention also discloses a reminder method, which is applied to an earphone storage device, and the earphone storage device is communicatively connected to the earphone, and the method includes:

所述耳机收纳装置获取环境音数据;The earphone storage device obtains ambient sound data;

根据所述环境音数据识别环境中的潜在风险事件;Identify potential risk events in the environment based on the ambient sound data;

向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。Send the potential risk event to the earphone; the earphone is used for sound reminder according to the potential risk event.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

采集当前环境中的环境音数据。Collect ambient sound data in the current environment.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

接收所述耳机采集的环境音数据。The ambient sound data collected by the earphone is received.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集当前环境中的环境音数据。According to the user voice, the collection of ambient sound data in the current environment is started or stopped.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集当前环境中的环境音数据。Start or stop collecting ambient sound data in the current environment according to the user geographic location information.

可选地,所述耳机收纳装置与移动终端通信连接,所述采集当前环境中的环境音数据,包括:Optionally, the earphone storage device is connected in communication with the mobile terminal, and the collection of ambient sound data in the current environment includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集当前环境中的环境音数据。Using the control instruction, start or stop collecting ambient sound data in the current environment.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

开启全向远场拾音模式,采集360度范围的远场声音数据;Turn on the omnidirectional far-field pickup mode to collect far-field sound data in a 360-degree range;

或开启远程指向拾音模式,采集指向范围的远场声音数据。Or turn on the far-point pickup mode to collect far-field sound data in the pointing range.

可选地,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the identifying potential risk events in the environment according to the environmental sound data includes:

将所述环境音数据输入预先训练的声音识别模型;Inputting the ambient sound data into a pre-trained voice recognition model;

获取所述声音识别模型采用所述环境音数据识别得到的潜在风险事件。A potential risk event identified by the sound recognition model using the environmental sound data is acquired.

可选地,所述耳机收纳装置与服务器通信连接,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the earphone storage device is connected in communication with a server, and the identifying potential risk events in the environment according to the ambient sound data includes:

将所述环境音数据发送至服务器;sending the ambient sound data to the server;

接收所述发送的潜在风险事件,所述潜在风险事件由所述服务器根据所述环境音数据识别得到。The sent potential risk event is received, and the potential risk event is identified by the server according to the environmental sound data.

可选地,还包括:Optionally, also include:

接收所述耳机发送的待播放的声音数据;所述待播放的声音数据包括人声数据;receiving the sound data to be played sent by the earphone; the sound data to be played includes human voice data;

对所述待播放的声音数据进行人声处理;Perform vocal processing on the to-be-played sound data;

将经过人声处理的待播放的声音数据发送至所述耳机,所述耳机用于播放经过人声处理的待播放的声音数据。The voice data to be played processed by the human voice is sent to the earphone, and the headphones are used to play the voice data processed by the human voice to be played.

可选地,所述对所述待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the to-be-played sound data includes:

将所述待播放的声音数据发送至所述服务器,所述服务器用于根据所述环境音数据对所述待播放的声音数据进行人声处理;sending the to-be-played sound data to the server, where the server is configured to perform vocal processing on the to-be-played sound data according to the ambient sound data;

接收所述服务器发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the server.

可选地,还包括:Optionally, also include:

接收所述耳机发送的导航查询信息,所述导航查询信息包括所述用户方位信息;receiving navigation query information sent by the headset, where the navigation query information includes the user orientation information;

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据并向所述耳机发送,所述耳机用于播放所述导航语音数据。According to the user orientation information and the user geographic location information, navigation voice data is generated and sent to the headset, and the headset is used to play the navigation voice data.

可选地,所述根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据,包括:Optionally, generating navigation voice data according to the user location information and the user geographic location information includes:

向服务器所述导航查询信息,所述导航查询信息包括所述用户方位信息和所述用户地理位置信息;to the server for the navigation query information, where the navigation query information includes the user location information and the user geographic location information;

接收所述服务器发送的导航语音数据,所述导航语音数据由所述服务器根据所述用户方位信息和所述用户地理位置信息生成。Navigation voice data sent by the server is received, where the navigation voice data is generated by the server according to the user location information and the user geographic location information.

本发明实施例还公开了一种提醒装置,应用于耳机,所述耳机与耳机收纳装置通信连接,所述提醒装置包括:The embodiment of the present invention further discloses a reminding device, which is applied to an earphone, the earphone is communicatively connected with the earphone storage device, and the reminding device includes:

潜在风险事件接收模块,用于接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;a potential risk event receiving module, configured to receive a potential risk event sent by the earphone storage device, where the potential risk event is identified and obtained by the earphone storage device according to environmental sound data;

提醒模块,用于根据所述潜在风险事件进行声音提醒。The reminder module is used for sound reminder according to the potential risk event.

可选地,还包括:Optionally, also include:

环境音数据处理模块,用于采集环境音数据,并发送至所述耳机收纳装置。The ambient sound data processing module is used for collecting ambient sound data and sending it to the earphone storage device.

可选地,所述环境音数据处理模块,用于获取用户语音;Optionally, the ambient sound data processing module is used to obtain user voice;

根据所述用户语音,开始或停止采集环境音数据。According to the user voice, the collection of ambient sound data is started or stopped.

可选地,所述环境音数据处理模块,用于获取用户地理位置信息;根据所述用户地理位置信息,开始或停止采集环境音数据。Optionally, the ambient sound data processing module is configured to acquire user geographic location information; start or stop collecting ambient sound data according to the user geographic location information.

可选地,所述环境音数据处理模块,用于接收所述耳机收纳装置发送的用户地理位置信息。Optionally, the ambient sound data processing module is configured to receive user geographic location information sent by the earphone storage device.

可选地,所述耳机与移动终端通信连接,所述环境音数据处理模块,用于接收所述移动终端发送的控制指令;采用所述控制指令,开始或停止采集环境音数据。Optionally, the headset is connected in communication with a mobile terminal, and the ambient sound data processing module is configured to receive a control instruction sent by the mobile terminal; and use the control instruction to start or stop collecting ambient sound data.

可选地,所述耳机包括配对的两个耳机;所述环境音数据处理模块,用于开启至少一个耳机的远场拾音模式采集远场声音数据。Optionally, the earphone includes two paired earphones; the ambient sound data processing module is configured to enable the far-field sound pickup mode of at least one earphone to collect far-field sound data.

可选地,还包括:Optionally, also include:

近场声音数据采集模块,用于在采用所述耳机进行通话的过程中,开启至少一个耳机的近场拾音模式采集近场声音数据;a near-field sound data acquisition module, configured to enable the near-field sound pickup mode of at least one earphone to collect near-field sound data during a call using the earphone;

通话处理模块,用于采用所述近场声音数据进行通话处理。A call processing module, configured to perform call processing by using the near-field sound data.

可选地,所述提醒模块,用于播放与所述潜在风险事件相应的提醒声音。Optionally, the reminder module is configured to play a reminder sound corresponding to the potential risk event.

可选地,还包括:Optionally, also include:

声音数据调整模块,用于若识别到潜在风险事件且所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。A sound data adjustment module, configured to reduce the volume of playing the sound data or stop playing the sound data if a potential risk event is identified and the earphone is playing the sound data.

可选地,还包括:Optionally, also include:

代接模块,用于若识别到潜在风险事件且所述耳机正在进行通话,则调用预设电话助手代接所述通话。The pick-up module is configured to call a preset telephone assistant to pick up the call if a potential risk event is identified and the headset is on a call.

可选地,还包括:Optionally, also include:

第一人声处理模块,用于若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。The first vocal processing module is configured to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data if the sound data to be played by the earphone includes vocal data.

可选地,所述第一人声处理模块,用于将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。Optionally, the first vocal processing module is used to send the sound data to be played by the earphones to the earphone storage device, and the box is used to record the sound data to be played by the earphones according to the ambient sound data. The voice data is processed by human voice; the voice data to be played which has been processed by the human voice and sent by the earphone storage device is received.

可选地,还包括:Optionally, also include:

导航语音数据播放模块,用于获取用户方位信息,并根据所述用户方位信息播放导航语音数据;A navigation voice data playback module, used for acquiring user orientation information, and playing navigation voice data according to the user orientation information;

导航语音数据调整模块,用于当在获取到潜在风险事件时,根据所述潜在风险事件调整导航语音数据。The navigation voice data adjustment module is configured to adjust the navigation voice data according to the potential risk event when the potential risk event is acquired.

可选地,所述导航语音数据播放模块,用于获取用户地理位置信息;根据所述用户方位信息和所述用户地理位置信息播放导航语音数据。Optionally, the navigation voice data playing module is configured to acquire user geographic location information; play navigation voice data according to the user orientation information and the user geographic location information.

可选地,所述导航语音数据播放模块,用于向所述耳机收纳装置发送导航查询信息,所述导航查询信息包括所述用户方位信息;接收所述耳机收纳装置返回的导航语音数据并播放。Optionally, the navigation voice data playback module is configured to send navigation query information to the headset storage device, where the navigation query information includes the user orientation information; receive and play the navigation voice data returned by the headset storage device .

本发明实施例还公开了一种提醒装置,应用于耳机收纳装置,所述耳机收纳装置与耳机通信连接,所述提醒装置包括:The embodiment of the present invention also discloses a reminder device, which is applied to an earphone storage device, the earphone storage device is communicatively connected with the earphone, and the reminder device includes:

环境音数据获取模块,用于获取环境音数据;The ambient sound data acquisition module is used to acquire ambient sound data;

潜在风险事件识别模块,用于根据所述环境音数据识别环境中的潜在风险事件;A potential risk event identification module for identifying potential risk events in the environment according to the environmental sound data;

潜在风险事件发送模块,用于向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。A potential risk event sending module, configured to send the potential risk event to the earphone; the earphone is configured to perform a sound reminder according to the potential risk event.

可选地,所述环境音数据获取模块,用于采集当前环境中的环境音数据。Optionally, the ambient sound data acquisition module is configured to collect ambient sound data in the current environment.

可选地,所述环境音数据获取模块,用于接收所述耳机采集的环境音数据。Optionally, the ambient sound data acquisition module is configured to receive ambient sound data collected by the earphone.

可选地,所述环境音数据获取模块,用于获取用户语音;根据所述用户语音,开始或停止采集当前环境中的环境音数据。Optionally, the ambient sound data acquisition module is configured to acquire user voice; according to the user voice, start or stop collecting ambient sound data in the current environment.

可选地,所述环境音数据获取模块,用于获取用户地理位置信息;根据所述用户地理位置信息,开始或停止采集当前环境中的环境音数据。Optionally, the ambient sound data acquisition module is configured to acquire user geographic location information; according to the user geographic location information, start or stop collecting ambient sound data in the current environment.

可选地,所述耳机收纳装置与移动终端通信连接,所述环境音数据获取模块,用于接收所述移动终端发送的控制指令;采用所述控制指令,开始或停止采集当前环境中的环境音数据。Optionally, the earphone storage device is connected in communication with a mobile terminal, and the ambient sound data acquisition module is used to receive a control instruction sent by the mobile terminal; using the control instruction, start or stop collecting the environment in the current environment. audio data.

可选地,所述环境音数据获取模块,用于开启全向远场拾音模式,采集360度范围的远场声音数据;或开启远程指向拾音模式,采集指向范围的远场声音数据。Optionally, the ambient sound data acquisition module is configured to enable an omnidirectional far-field sound pickup mode to collect far-field sound data in a 360-degree range; or enable a remote pointing sound pickup mode to collect far-field sound data within a directional range.

可选地,所述潜在风险事件识别模块,用于将所述环境音数据输入预先训练的声音识别模型;获取所述声音识别模型采用所述环境音数据识别得到的潜在风险事件。Optionally, the potential risk event identification module is configured to input the environmental sound data into a pre-trained sound recognition model; and acquire potential risk events identified by the sound recognition model using the environmental sound data.

可选地,所述耳机收纳装置与服务器通信连接,所述潜在风险事件识别模块,用于将所述环境音数据发送至服务器;接收所述发送的潜在风险事件,所述潜在风险事件由所述服务器根据所述环境音数据识别得到。Optionally, the earphone storage device is connected in communication with a server, and the potential risk event identification module is configured to send the ambient sound data to the server; receive the sent potential risk event, the potential risk event is The server identifies and obtains according to the environmental sound data.

可选地,还包括:Optionally, also include:

声音数据接收模块,用于接收所述耳机发送的待播放的声音数据;所述待播放的声音数据包括人声数据;a sound data receiving module, configured to receive the sound data to be played sent by the earphone; the sound data to be played includes human voice data;

第二人声处理模块,用于对所述待播放的声音数据进行人声处理;a second vocal processing module, configured to perform vocal processing on the to-be-played sound data;

声音数据发送模块,用于将经过人声处理的待播放的声音数据发送至所述耳机,所述耳机用于播放经过人声处理的待播放的声音数据。The sound data sending module is used for sending the sound data to be played after the human voice processing to the earphone, and the earphone is used for playing the sound data to be played after the human voice processing.

可选地,所述第二人声处理模块,用于将所述待播放的声音数据发送至所述服务器,所述服务器用于根据所述环境音数据对所述待播放的声音数据进行人声处理;接收所述服务器发送的经过人声处理的待播放的声音数据。Optionally, the second vocal processing module is configured to send the voice data to be played to the server, and the server is configured to perform human voice processing on the voice data to be played according to the ambient sound data. Sound processing: receiving the voice data to be played that is processed by the human voice and sent by the server.

可选地,还包括:Optionally, also include:

导航查询信息接收模块,用于接收所述耳机发送的导航查询信息,所述导航查询信息包括所述用户方位信息;a navigation inquiry information receiving module, configured to receive navigation inquiry information sent by the headset, where the navigation inquiry information includes the user orientation information;

地理位置信息获取模块,用于获取用户地理位置信息;The geographic location information acquisition module is used to obtain the user geographic location information;

导航语音数据处理模块,用于根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据并向所述耳机发送,所述耳机用于播放所述导航语音数据。A navigation voice data processing module is configured to generate navigation voice data according to the user orientation information and the user geographic location information and send the data to the headset, where the headset is used to play the navigation voice data.

可选地,所述导航语音数据处理模块,用于向服务器所述导航查询信息,所述导航查询信息包括所述用户方位信息和所述用户地理位置信息;接收所述服务器发送的导航语音数据,所述导航语音数据由所述服务器根据所述用户方位信息和所述用户地理位置信息生成。Optionally, the navigation voice data processing module is configured to query the navigation information to the server, where the navigation query information includes the user location information and the user geographic location information; receive the navigation voice data sent by the server , the navigation voice data is generated by the server according to the user location information and the user geographic location information.

本发明实施例还公开了一种耳机,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:An embodiment of the present invention also discloses an earphone comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors to execute the one or more programs. More than one program contains instructions to:

接收耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;receiving a potential risk event sent by the earphone storage device, where the potential risk event is identified by the earphone storage device according to ambient sound data;

根据所述潜在风险事件进行声音提醒。A sound reminder is performed according to the potential risk event.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

采集环境音数据,并发送至所述耳机收纳装置。The ambient sound data is collected and sent to the earphone storage device.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集环境音数据。According to the user voice, the collection of ambient sound data is started or stopped.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集环境音数据。According to the user geographic location information, the collection of ambient sound data is started or stopped.

可选地,所述获取用户地理位置信息,包括:Optionally, the obtaining user geographic location information includes:

接收所述耳机收纳装置发送的用户地理位置信息。The user geographic location information sent by the earphone storage device is received.

可选地,所述耳机与移动终端通信连接,所述采集环境音数据,包括:Optionally, the headset is connected in communication with the mobile terminal, and the collection of ambient sound data includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集环境音数据。Using the control instruction, the collection of ambient sound data is started or stopped.

可选地,所述耳机包括配对的两个耳机;所述采集环境音数据,包括:Optionally, the earphones include two paired earphones; the collecting ambient sound data includes:

开启至少一个耳机的远场拾音模式采集远场声音数据。Enable the far-field pickup mode of at least one earphone to collect far-field sound data.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

在采用所述耳机进行通话的过程中,开启至少一个耳机的近场拾音模式采集近场声音数据;In the process of using the headset to make a call, turn on the near-field sound pickup mode of at least one headset to collect near-field sound data;

采用所述近场声音数据进行通话处理。Call processing is performed using the near-field sound data.

可选地,所述根据所述潜在风险事件进行声音提醒,包括:Optionally, the performing a sound reminder according to the potential risk event includes:

播放与所述潜在风险事件相应的提醒声音。Play a reminder sound corresponding to the potential risk event.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

若识别到潜在风险事件且所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。If a potential risk event is identified and the headset is playing sound data, the volume of playing the sound data is reduced or the sound data is stopped.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

若识别到潜在风险事件且所述耳机正在进行通话,则调用预设电话助手代接所述通话。If a potential risk event is identified and the headset is on a call, a preset phone assistant is called to pick up the call.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。If the sound data to be played by the earphone includes human voice data, the human voice processing is performed on the sound data to be played by the earphone according to the ambient sound data.

可选地,所述根据所述环境音数据对所述耳机待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the sound data to be played by the headset according to the ambient sound data includes:

将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;Send the sound data to be played by the earphone to the earphone storage device, and the box is used to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data;

接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the earphone storage device.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

获取用户方位信息,并根据所述用户方位信息播放导航语音数据;Obtain user orientation information, and play navigation voice data according to the user orientation information;

当在获取到潜在风险事件时,根据所述潜在风险事件调整导航语音数据。When a potential risk event is acquired, the navigation voice data is adjusted according to the potential risk event.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息播放导航语音数据。Play navigation voice data according to the user location information and the user geographic location information.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

向所述耳机收纳装置发送导航查询信息,所述导航查询信息包括所述用户方位信息;sending navigation query information to the earphone storage device, where the navigation query information includes the user orientation information;

接收所述耳机收纳装置返回的导航语音数据并播放。The navigation voice data returned by the earphone storage device is received and played.

本发明实施例还公开了一种耳机收纳装置,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:An embodiment of the present invention also discloses an earphone storage device including a memory and one or more programs, wherein the 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 to:

获取环境音数据;Get ambient sound data;

根据所述环境音数据识别环境中的潜在风险事件;Identify potential risk events in the environment based on the ambient sound data;

向耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。The potential risk event is sent to the earphone; the earphone is used for sound reminder according to the potential risk event.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

采集当前环境中的环境音数据。Collect ambient sound data in the current environment.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

接收所述耳机采集的环境音数据。The ambient sound data collected by the earphone is received.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集当前环境中的环境音数据。According to the user voice, the collection of ambient sound data in the current environment is started or stopped.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集当前环境中的环境音数据。Start or stop collecting ambient sound data in the current environment according to the user geographic location information.

可选地,所述耳机收纳装置与移动终端通信连接,所述采集当前环境中的环境音数据,包括:Optionally, the earphone storage device is connected in communication with the mobile terminal, and the collection of ambient sound data in the current environment includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集当前环境中的环境音数据。Using the control instruction, start or stop collecting ambient sound data in the current environment.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

开启全向远场拾音模式,采集360度范围的远场声音数据;Turn on the omnidirectional far-field pickup mode to collect far-field sound data in a 360-degree range;

或开启远程指向拾音模式,采集指向范围的远场声音数据。Or turn on the far-point pickup mode to collect far-field sound data in the pointing range.

可选地,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the identifying potential risk events in the environment according to the environmental sound data includes:

将所述环境音数据输入预先训练的声音识别模型;Inputting the ambient sound data into a pre-trained voice recognition model;

获取所述声音识别模型采用所述环境音数据识别得到的潜在风险事件。A potential risk event identified by the sound recognition model using the environmental sound data is acquired.

可选地,所述耳机收纳装置与服务器通信连接,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the earphone storage device is connected in communication with a server, and the identifying potential risk events in the environment according to the ambient sound data includes:

将所述环境音数据发送至服务器;sending the ambient sound data to the server;

接收所述发送的潜在风险事件,所述潜在风险事件由所述服务器根据所述环境音数据识别得到。The sent potential risk event is received, and the potential risk event is identified by the server according to the environmental sound data.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

接收所述耳机发送的待播放的声音数据;所述待播放的声音数据包括人声数据;receiving the sound data to be played sent by the earphone; the sound data to be played includes human voice data;

对所述待播放的声音数据进行人声处理;Perform vocal processing on the to-be-played sound data;

将经过人声处理的待播放的声音数据发送至所述耳机,所述耳机用于播放经过人声处理的待播放的声音数据。The voice data to be played processed by the human voice is sent to the earphone, and the headphones are used to play the voice data processed by the human voice to be played.

可选地,所述对所述待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the to-be-played sound data includes:

将所述待播放的声音数据发送至所述服务器,所述服务器用于根据所述环境音数据对所述待播放的声音数据进行人声处理;sending the to-be-played sound data to the server, where the server is configured to perform vocal processing on the to-be-played sound data according to the ambient sound data;

接收所述服务器发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the server.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

接收所述耳机发送的导航查询信息,所述导航查询信息包括所述用户方位信息;receiving navigation query information sent by the headset, where the navigation query information includes the user orientation information;

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据并向所述耳机发送,所述耳机用于播放所述导航语音数据。According to the user orientation information and the user geographic location information, navigation voice data is generated and sent to the headset, and the headset is used to play the navigation voice data.

可选地,所述根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据,包括:Optionally, generating navigation voice data according to the user location information and the user geographic location information includes:

向服务器所述导航查询信息,所述导航查询信息包括所述用户方位信息和所述用户地理位置信息;to the server for the navigation query information, where the navigation query information includes the user location information and the user geographic location information;

接收所述服务器发送的导航语音数据,所述导航语音数据由所述服务器根据所述用户方位信息和所述用户地理位置信息生成。Navigation voice data sent by the server is received, where the navigation voice data is generated by the server according to the user location information and the user geographic location information.

本发明实施例还公开了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上任一项所述的提醒方法的步骤。An embodiment of the present invention further discloses a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the reminding method described in any one of the above are implemented.

本发明实施例包括以下优点:The embodiments of the present invention include the following advantages:

本发明实施例中,耳机收纳装置可以根据环境音数据识别环境中的潜在风险事件,耳机可以根据耳机收纳装置发送的潜在风险事件向用户进行声音提醒,使得用户在佩戴耳机的过程中,耳机能及时告知用户环境中存在的危险从而使得用户可以及时规避风险。In the embodiment of the present invention, the earphone storage device can identify potential risk events in the environment according to the environmental sound data, and the earphone can give a sound reminder to the user according to the potential risk event sent by the earphone storage device, so that when the user wears the earphone, the earphone can Timely inform users of dangers in the environment so that users can avoid risks in time.

附图说明Description of drawings

图1是本发明的一种提醒方法实施例一的步骤流程图;Fig. 1 is a flow chart of steps of Embodiment 1 of a reminder method of the present invention;

图2是本发明的一种提醒方法实施例二的步骤流程图;Fig. 2 is a flow chart of the steps of Embodiment 2 of a reminder method of the present invention;

图3是本发明的一种提醒方法实施例三的步骤流程图;3 is a flow chart of steps of Embodiment 3 of a reminding method of the present invention;

图4是本发明的一种提醒方法实施例四的步骤流程图;Fig. 4 is a flow chart of the steps of Embodiment 4 of a reminder method of the present invention;

图5是本发明的一种提醒方法实施例五的步骤流程图;5 is a flow chart of the steps of Embodiment 5 of a reminding method of the present invention;

图6是本发明的一种提醒装置实施例一的结构框图;6 is a structural block diagram of Embodiment 1 of a reminder device according to the present invention;

图7是本发明的一种提醒装置实施例二的结构框图;7 is a structural block diagram of Embodiment 2 of a reminding device of the present invention;

图8是本发明的一种提醒装置实施例三的结构框图;8 is a structural block diagram of Embodiment 3 of a reminding device of the present invention;

图9是本发明的一种提醒装置实施例四的结构框图;9 is a structural block diagram of Embodiment 4 of a reminder device of the present invention;

图10是一示例性实施例示出的一种用提醒的电子设备的结构框图。FIG. 10 is a structural block diagram of an electronic device using reminders according to an exemplary embodiment.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

参照图1,示出了本发明的一种提醒方法实施例一的步骤流程图,该方法应用于耳机,耳机与耳机收纳装置通信连接,所述方法具体可以包括如下步骤:Referring to FIG. 1, there is shown a flow chart of the steps of Embodiment 1 of a reminder method of the present invention. The method is applied to an earphone, and the earphone is communicatively connected to the earphone storage device. The method may specifically include the following steps:

步骤101,所述耳机接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到。Step 101: The earphone receives a potential risk event sent by the earphone storage device, and the potential risk event is identified by the earphone storage device according to environmental sound data.

耳机是人们日常生活中经常使用的可携带电子设备,耳机可以具有播放功能,拾音功能和通信功能。用户可以使用耳机听歌或进行电话沟通。Headphones are portable electronic devices that are often used in people's daily life. Headphones can have playback functions, sound pickup functions and communication functions. Users can use headphones to listen to songs or communicate on the phone.

耳机收纳装置是与耳机配套的设备,耳机收纳装置通常用于存放耳机并且给无线耳机充电。相比于耳机,耳机收纳装置对体积和重量的要求没那么高,因此在耳机收纳装置可以设置更多的计算芯片。The earphone storage device is a device matched with the earphone, and the earphone storage device is usually used to store the earphone and charge the wireless earphone. Compared with earphones, the volume and weight requirements of the earphone storage device are not so high, so more computing chips can be installed in the earphone storage device.

耳机收纳装置可以获取环境中的环境音数据,根据所述环境音数据识别环境中的潜在风险事件。耳机收纳装置可以通过本地的声音采集模块采集环境音数据,也可以是由耳机采集环境音数据后发送给耳机收纳装置。The earphone storage device may acquire ambient sound data in the environment, and identify potential risk events in the environment according to the ambient sound data. The earphone storage device may collect ambient sound data through a local sound collection module, or the ambient sound data may be collected by the earphone and then sent to the earphone storage device.

环境音数据是指用户当前环境周围的声音数据。在室外环境中,环境音数据繁杂,可以包括多种叠加在一起的声音,例如可以包括汽车声、火车声、行人脚步声、自行车声、红绿灯切换时的提示声、虫鸣鸟叫声等等。The ambient sound data refers to sound data around the user's current environment. In an outdoor environment, the ambient sound data is complex and can include multiple superimposed sounds, such as car sounds, train sounds, pedestrian footsteps, bicycle sounds, prompt sounds when traffic lights are switched, insects and birds, etc. .

耳机收纳装置可以采用预先训练的声音识别模型,识别环境中的潜在风险事件,声音识别模型可以是采用收集大量环境音数据作为训练样本训练得到的模型。The earphone storage device can use a pre-trained sound recognition model to identify potential risk events in the environment, and the sound recognition model can be a model trained by collecting a large amount of environmental sound data as training samples.

环境中的潜在风险事件是具有潜在风险的事件,潜在风险事件可以包括:在用户的预设范围内有车辆靠近,预设范围内有车辆鸣笛,红绿灯即将切换,预设范围内有行人等等。Potential risk events in the environment are events with potential risks. Potential risk events may include: vehicles approaching within the preset range of the user, vehicles honking within the preset range, traffic lights about to switch, pedestrians within the preset range, etc. Wait.

步骤102,根据所述潜在风险事件进行声音提醒。Step 102, performing a sound reminder according to the potential risk event.

耳机可以播放与所述潜在风险事件相应的提醒声音。例如,潜在风险事件为有车辆靠近,或有车辆发出喇叭声,则可以播放“注意车辆”的提醒声音。又例如,潜在风险事件为有人大声呼叫,则可以播放“注意行人呼叫”的提醒声音。The earphone can play a reminder sound corresponding to the potential risk event. For example, if the potential risk event is that a vehicle is approaching, or a vehicle honks, the reminder sound of "pay attention to the vehicle" can be played. For another example, if the potential risk event is someone calling loudly, a reminder sound of "pay attention to pedestrian calls" can be played.

本发明实施例中,耳机收纳装置可以根据环境音数据识别环境中的潜在风险事件,耳机可以根据耳机收纳装置发送的潜在风险事件向用户进行声音提醒,使得用户在佩戴耳机的过程中,耳机能及时告知用户环境中存在的危险从而使得用户可以及时规避风险。In the embodiment of the present invention, the earphone storage device can identify potential risk events in the environment according to the environmental sound data, and the earphone can give a sound reminder to the user according to the potential risk event sent by the earphone storage device, so that when the user wears the earphone, the earphone can Timely inform users of dangers in the environment so that users can avoid risks in time.

本发明实施例中,当用户在采用所述耳机进行通话的过程中,可以开启至少一个耳机的近场拾音模式采集近场声音数据。In the embodiment of the present invention, when the user uses the earphone to make a call, the near-field sound pickup mode of at least one earphone can be turned on to collect near-field sound data.

在耳机与耳机收纳装置通信连接情况下,耳机可以只负责开启近场拾音模式,采集近场声音数据。耳机收纳装置可以负责开启远场拾音模块,采集远场声音数据。In the case of communication connection between the earphone and the earphone storage device, the earphone may only be responsible for enabling the near-field sound pickup mode to collect near-field sound data. The earphone storage device can be responsible for turning on the far-field sound pickup module and collecting far-field sound data.

在本发明实施例中,若识别到潜在风险事件且所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。例如,在耳机播放歌曲的过程中,若在识别到潜在风险事件,则耳机降低播放歌曲的声音,或停止播放歌曲。又例如,在使用耳机通话的过程中,若在识别到潜在风险事件,则耳机降低通话语音的音量。In this embodiment of the present invention, if a potential risk event is identified and the headset is playing sound data, the volume of playing the sound data is reduced or the sound data is stopped. For example, in the process of playing a song in the headset, if a potential risk event is identified, the headset reduces the sound of the song being played, or stops playing the song. For another example, during a call using the headset, if a potential risk event is identified, the headset reduces the volume of the call voice.

在本发明实施例中,若识别到潜在风险事件且所述耳机正在进行通话,则调用预设电话助手代接所述通话。具体的,耳机可以与移动终端通信,移动终端的通话过程可以由耳机接管,若在使用耳机通话的过程中,识别到潜在风险事件,则可以调用电话助手是代接,自动回复电话内容。其中,电话助手可以是安装在耳机中的程序,也可以是安装在移动终端的程序。In this embodiment of the present invention, if a potential risk event is identified and the headset is on a call, a preset phone assistant is invoked to pick up the call. Specifically, the headset can communicate with the mobile terminal, and the call process of the mobile terminal can be taken over by the headset. If a potential risk event is identified during the call using the headset, the phone assistant can be called to pick up and automatically reply to the call content. Wherein, the phone assistant may be a program installed in the headset, or may be a program installed in a mobile terminal.

在本发明实施例中,若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。In the embodiment of the present invention, if the sound data to be played by the earphone includes human voice data, the human voice processing is performed on the sound data to be played by the earphone according to the ambient sound data.

人声处理是指对声音数据进行增强人声效果的处理,例如,根据环境音数据自动调节降噪、根据环境音数据增大增益倍数等,使得人声更清晰。对于存在听力障碍的用户,可以使其听到清晰的人声。Human voice processing refers to the processing of enhancing human voice effects on sound data, for example, automatically adjusting noise reduction according to environmental sound data, increasing the gain multiple according to environmental sound data, etc., to make the human voice clearer. For hearing-impaired users, it is possible to hear the human voice clearly.

在一种示例中,可以在耳机本地对待播放的声音数据进行人声处理。In one example, vocal processing may be performed locally on the sound data to be played in the headset.

在另一种中,可以是由耳机收纳装置对待播放的声音数据进行人声处理,所述根据所述环境音数据对所述耳机待播放的声音数据进行人声处理的步骤可以包括:将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。In another form, the earphone storage device may perform vocal processing on the sound data to be played, and the step of performing vocal processing on the sound data to be played by the earphone according to the ambient sound data may include: The sound data to be played by the earphone is sent to the earphone storage device, and the box is used to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data; Acoustically processed sound data to be played.

参照图2,示出了本发明的一种提醒方法实施例二的步骤流程图,该方法应用于耳机,耳机与耳机收纳装置通信连接,所述方法具体可以包括如下步骤:Referring to FIG. 2 , a flow chart of the steps of Embodiment 2 of a reminder method of the present invention is shown. The method is applied to an earphone, and the earphone is communicatively connected to the earphone storage device. The method may specifically include the following steps:

步骤201,采集环境音数据,并发送至所述耳机收纳装置。Step 201: Collect ambient sound data and send it to the earphone storage device.

在本发明实施例中,耳机具有声音采集模块,例如麦克风、麦克风阵列等,可以采集周围的环境音数据。耳机可以根据用户的控制,开始或停止采集环境音数据。In the embodiment of the present invention, the earphone has a sound collection module, such as a microphone, a microphone array, etc., which can collect surrounding environmental sound data. The headset can start or stop collecting ambient sound data according to the user's control.

在一种示例中,耳机可以获取用户语音,根据用户语音开始或停止采集环境音数据。In one example, the headset can acquire the user's voice, and start or stop collecting ambient sound data according to the user's voice.

在另一种示例中,耳机还可以获取当前的用户地理位置信息,根据当前的用户地理位置信息,开始或停止采集环境音数据。例如,当用户地理位置信息表示用户在人行道或红绿灯时,自动开启采集环境音数据。当用户地理位置信息表示用户在室内时,停止采集环境音数据。In another example, the headset may also acquire current user geographic location information, and start or stop collecting ambient sound data according to the current user geographic location information. For example, when the user's geographic location information indicates that the user is on a sidewalk or a traffic light, the collection of ambient sound data is automatically enabled. When the user's geographic location information indicates that the user is indoors, the collection of ambient sound data is stopped.

耳机可以获取当前的用户地理位置信息,例如,耳机检测当前的用户地理位置信息。耳机收纳装置可以具备定位能力,例如设置GPS模块,或者通过与基站通信进行定位,耳机可以获取由耳机收纳装置检测的当前的用户地理位置信息。耳机还可以与移动终端通信连接,从移动终端获取当前的地理位置信息。The headset can obtain the current user geographic location information, for example, the headset detects the current user geographic location information. The headset storage device may have a positioning capability, for example, by setting a GPS module, or by communicating with a base station for positioning, the headset may acquire current user geographic location information detected by the headset storage device. The headset can also be connected in communication with the mobile terminal, and obtain the current geographic location information from the mobile terminal.

在另一种示例中,耳机还可以接收移动终端发送的控制指令,根据控制指令开始或停止采集环境音数据。例如控制指令为开始采集指令,则耳机开始采集环境音数据。例如,移动终端可以安装有用于控制耳机的APP,用户可以在APP上进行控制操作,从而使移动终端向耳机发送控制指令。In another example, the headset may also receive a control instruction sent by the mobile terminal, and start or stop collecting ambient sound data according to the control instruction. For example, the control command is a start-collection command, and the earphone starts to collect ambient sound data. For example, the mobile terminal may be installed with an APP for controlling the headset, and the user may perform control operations on the APP, so that the mobile terminal sends a control instruction to the headset.

在本发明实施例中,耳机可以包括配对的两个耳机,如左耳机和右耳机。两个耳机都可以具有声音采集模块,可以控制声音采集模块按不同的拾音模式拾音。耳机的拾音模式可以包括远场拾音模式和近场拾音模式。远场拾音模式采集远场声音数据,开启远场(far-filed)拾音模式的拾音范围是1米之外的范围,可以清晰地采集5米距离之内的声音数据。近场拾音模式采集近场声音数据,近场拾音模式的拾音范围是20厘米以内。环境音数据包括远场声音数据和近场声音数据。In this embodiment of the present invention, the earphones may include two paired earphones, such as a left earphone and a right earphone. Both earphones can have a sound collection module, and can control the sound collection module to pick up sounds according to different sound pickup modes. The pickup pattern of the earphone may include a far-field pickup pattern and a near-field pickup pattern. The far-field pickup mode collects far-field sound data. When the far-field pickup mode is enabled, the pickup range is 1 meter away, and the sound data within a distance of 5 meters can be clearly collected. The near-field pickup mode collects near-field sound data, and the pickup range of the near-field pickup mode is within 20 cm. The ambient sound data includes far-field sound data and near-field sound data.

在一种示例中,耳机可以根据用户语音开启或关闭远程拾音模式,例如当用户语音为“开启远程拾音”,“采集远处声音”,则可以开启耳机的远程拾音模式。具体的,耳机可以具有语音识功能,耳机识别用户语音并根据语音识别结果,开启或关闭远程拾音模式。In an example, the headset can turn on or off the remote sound pickup mode according to the user's voice. For example, when the user's voice is "turn on the remote sound pickup" and "collect distant sounds", the remote sound pickup mode of the headset can be turned on. Specifically, the headset may have a voice recognition function, and the headset recognizes the user's voice and turns on or off the remote pickup mode according to the voice recognition result.

在另一种示例中,耳机还可以根据当前的地理位置信息开启或停止远程拾音模式。In another example, the headset can also start or stop the remote pickup mode according to the current geographic location information.

在另一种示例中,耳机还可以与接收移动终端发送的控制指令,采用控制指令,开启远场拾音模式采集远场声音数据。移动终端上可以安装有针对耳机的应用程序APP,用户可以在APP上点击开启或关闭远程拾音模式的按钮,使得移动终端向耳机发送相应的控制指令。In another example, the headset may also receive a control instruction sent by the mobile terminal, and use the control instruction to enable the far-field sound pickup mode to collect far-field sound data. An application program APP for the headset may be installed on the mobile terminal, and the user may click a button on the APP to enable or disable the remote pickup mode, so that the mobile terminal sends a corresponding control command to the headset.

步骤202,接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到。Step 202: Receive a potential risk event sent by the earphone storage device, where the potential risk event is identified by the earphone storage device according to environmental sound data.

步骤203,根据所述潜在风险事件进行声音提醒。Step 203, performing a sound reminder according to the potential risk event.

耳机可以播放与所述潜在风险事件相应的提醒声音。The earphone can play a reminder sound corresponding to the potential risk event.

在本发明实施例中,若在识别到潜在风险事件时,所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。In this embodiment of the present invention, if the earphone is playing sound data when a potential risk event is identified, the volume of playing the sound data is reduced or the sound data is stopped.

在本发明实施例中,若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。In the embodiment of the present invention, if the sound data to be played by the earphone includes human voice data, the human voice processing is performed on the sound data to be played by the earphone according to the ambient sound data.

在一种示例中,可以在耳机本地对待播放的声音数据进行人声处理。In one example, vocal processing may be performed locally on the sound data to be played in the headset.

在另一种中,可以是由耳机收纳装置对待播放的声音数据进行人声处理,所述根据所述环境音数据对所述耳机待播放的声音数据进行人声处理的步骤可以包括:将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。In another form, the earphone storage device may perform vocal processing on the sound data to be played, and the step of performing vocal processing on the sound data to be played by the earphone according to the ambient sound data may include: The sound data to be played by the earphone is sent to the earphone storage device, and the box is used to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data; Acoustically processed sound data to be played.

本发明实施例中,耳机可以采集环境音数据并发送至耳机收纳装置,耳机收纳装置可以根据环境音数据识别环境中的潜在风险事件,并向耳机发送潜在风险事件。耳机可以根据潜在风险事件向用户进行声音提醒,使得用户在佩戴耳机的过程中,耳机能及时告知用户环境中存在的危险从而使得用户可以及时规避风险。In this embodiment of the present invention, the earphone can collect ambient sound data and send it to the earphone storage device, and the earphone storage device can identify potential risk events in the environment according to the ambient sound data, and send the potential risk events to the earphones. The earphone can alert the user with sound according to potential risk events, so that when the user wears the earphone, the earphone can inform the user of the danger in the environment in time, so that the user can avoid the risk in time.

参照图3,示出了本发明的一种提醒方法实施例三的步骤流程图,该方法应用于耳机,耳机与耳机收纳装置通信连接,所述方法具体可以包括如下步骤:Referring to FIG. 3 , a flow chart of the steps of Embodiment 3 of a reminder method of the present invention is shown. The method is applied to an earphone, and the earphone is communicatively connected to the earphone storage device. The method may specifically include the following steps:

步骤301,获取用户方位信息,并根据所述用户方位信息播放导航语音数据。Step 301: Acquire user location information, and play navigation voice data according to the user location information.

用户方位信息是指用户的正面朝向,在本发明实施例中,耳机可以具有方位传感器,在用户佩戴耳机时,方位传感器可以实时检测用户方位信息。The user orientation information refers to the frontal orientation of the user. In this embodiment of the present invention, the headset may have an orientation sensor, and when the user wears the headset, the orientation sensor may detect the user orientation information in real time.

在实际中,用户往往不善于在屏幕地图上去辨别方向,在佩戴耳机的情况下,耳机可以实时判断用户的方向,从而使得用户对方向的感知和真实空间结合更准确,无需通过屏幕去辨别到底是朝向何方。In practice, users are often not good at identifying the direction on the screen map. In the case of wearing headphones, the headphones can determine the user's direction in real time, so that the user's perception of the direction and the combination of the real space are more accurate, and there is no need to identify the end through the screen. Where is it heading.

在本发明实施例中,耳机可以获取当前的用户地理位置信息,例如,耳机检测当前的用户地理位置信息。又例如,耳机可以与移动设备通信连接。移动设备可以具备定位能力,例如设置GPS模块,或者通过与基站通信进行定位,耳机可以获取由移动设备检测的当前的用户地理位置信息。In this embodiment of the present invention, the headset may acquire the current user geographic location information, for example, the headset detects the current user geographic location information. As another example, the headset may be communicatively connected with the mobile device. The mobile device may have positioning capability, such as setting a GPS module, or performing positioning by communicating with a base station, and the headset may acquire current user geographic location information detected by the mobile device.

在一种示例中,所述根据所述用户方位信息播放导航语音数据的步骤可以包括:获取用户地理位置信息;根据所述用户方位信息和所述用户地理位置信息播放导航语音数据。在交互过程中可以根据实时的用户方位信息、实时的用户地理位置信息,播放导航语音。在本发明实施例中,耳机可以从耳机收纳装置获取用户地理位置。In an example, the step of playing navigation voice data according to the user location information may include: acquiring user location information; and playing navigation speech data according to the user location information and the user location information. During the interaction process, the navigation voice can be played according to the real-time user orientation information and real-time user geographic location information. In this embodiment of the present invention, the earphone may acquire the geographic location of the user from the earphone storage device.

在另一种示例中,所述根据所述用户方位信息播放导航语音数据的步骤可以包括:向所述耳机收纳装置发送所述导航查询信息,所述导航查询信息包括所述用户方位信息;接收所述耳机收纳装置返回的导航语音数据并播放。In another example, the step of playing navigation voice data according to the user location information may include: sending the navigation query information to the headset storage device, where the navigation query information includes the user location information; receiving The navigation voice data returned by the earphone storage device is played back.

耳机收纳装置可以根据用户方位信息和用户地理位置信息查询生成导航语音数据,用户地理位置信息可以是在导航查询信息中携带,也可以是由耳机收纳装置自身确定得到。The headset storage device can query and generate navigation voice data according to the user orientation information and the user geographic location information. The user geographic location information can be carried in the navigation query information, or can be determined by the headset storage device itself.

步骤302,接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到。Step 302: Receive a potential risk event sent by the earphone storage device, where the potential risk event is identified by the earphone storage device according to environmental sound data.

步骤303,当在获取到潜在风险事件时,根据所述潜在风险事件调整导航语音数据。Step 303, when a potential risk event is acquired, adjust the navigation voice data according to the potential risk event.

当识别到潜在风险事件时,耳机可以根据潜在风险事件调整导航语音数据,引导用户避开潜在风险事件。例如,当潜在风险事件为识别到用户的左前方有行人靠近时,导航语音可以为“请往右边行走”。When a potential risk event is identified, the headset can adjust the navigation voice data according to the potential risk event to guide the user to avoid the potential risk event. For example, when the potential risk event is to recognize that a pedestrian is approaching in front of the user's left, the navigation voice can be "please walk to the right".

又例如,用户的行走方向前方具有红绿灯,导航路线可以是通过该红绿灯向对面马路行走。当潜在风险事件为前方红绿灯切换为红灯,则导航语音可以为“请沿当前方向行走,不通过前方红绿灯,可以在下一个红绿灯走到对面马路”。For another example, there is a traffic light ahead of the user's walking direction, and the navigation route may be to walk toward the opposite road through the traffic light. When the potential risk event is that the traffic light ahead is switched to red, the navigation voice can be "please walk in the current direction, do not pass the traffic light ahead, you can walk to the opposite road at the next traffic light".

步骤304,根据所述潜在风险事件进行声音提醒。Step 304, performing a sound reminder according to the potential risk event.

耳机可以播放与所述潜在风险事件相应的提醒声音。The earphone can play a reminder sound corresponding to the potential risk event.

本发明实施例中,耳机可以根据用户方位信息进行导航,播放导航语音数据。在导航过程中,当接收到耳机收纳装置发送的潜在风险事时件,根据潜在风险事件调整导航语音数据,使得用户在佩戴耳机的过程中,耳机能及时告知用户环境中存在的危险从而使得用户可以及时规避风险。In the embodiment of the present invention, the headset can navigate according to the user's orientation information, and play navigation voice data. During the navigation process, when a potential risk event sent by the earphone storage device is received, the navigation voice data is adjusted according to the potential risk event, so that the earphone can inform the user of the danger in the environment in time while the user is wearing the earphone, so that the user can Risks can be avoided in time.

参照图4,示出了本发明的一种提醒方法实施例四的步骤流程图,该方法应用于耳机收纳装置,耳机收纳装置与耳机通信连接,所述方法具体可以包括如下步骤:Referring to FIG. 4 , a flowchart of the steps of Embodiment 4 of a reminder method of the present invention is shown. The method is applied to an earphone storage device, and the earphone storage device is communicatively connected to the earphone. The method may specifically include the following steps:

步骤401,所述耳机收纳装置获取环境音数据。Step 401, the earphone storage device acquires ambient sound data.

在本发明实施例中,耳机收纳装置可以获取环境音数据。In this embodiment of the present invention, the earphone storage device may acquire ambient sound data.

在一种示例中,耳机收纳装置可以采用本地的声音采集模块采集当前环境的环境音数据。在另一种示例中,耳机收纳装置可以接收耳机采集的环境音数据。In an example, the earphone storage device may use a local sound collection module to collect ambient sound data of the current environment. In another example, the earphone storage device may receive ambient sound data collected by the earphone.

步骤402,根据所述环境音数据识别环境中的潜在风险事件。Step 402: Identify potential risk events in the environment according to the environmental sound data.

耳机收纳装置可以采用预先训练的声音识别模型,识别环境中的潜在风险事件,声音识别模型可以是采用收集大量环境音数据作为训练样本训练得到的模型。The earphone storage device can use a pre-trained sound recognition model to identify potential risk events in the environment, and the sound recognition model can be a model trained by collecting a large amount of environmental sound data as training samples.

在一种示例中,耳机收纳装置可以与服务器通信。相比于耳机收纳装置,服务器的处理能力更好,可以由服务器来处理运行能力需求更高的算法。In one example, the earphone holder may communicate with the server. Compared with the earphone storage device, the processing capability of the server is better, and the server can process algorithms with higher running capability requirements.

所述耳机收纳装置与服务器通信连接,所述根据所述环境音数据识别环境中的潜在风险事件的步骤可以包括:将所述环境音数据发送至服务器;接收所述发送的潜在风险事件,所述潜在风险事件由所述服务器根据所述环境音数据识别得到。The earphone storage device is connected in communication with the server, and the step of identifying a potential risk event in the environment according to the environmental sound data may include: sending the environmental sound data to the server; receiving the sent potential risk event, the The potential risk event is identified by the server according to the ambient sound data.

步骤403,向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。Step 403: Send the potential risk event to the earphone; the earphone is used for sound reminder according to the potential risk event.

在本发明实施例中,耳机收纳装置可以获取环境音数据,根据环境音数据识别环境中的潜在风险事件,并将潜在风险事件发送给耳机。耳机可以根据潜在风险事件向用户进行声音提醒,使得用户在佩戴耳机的过程中,耳机能及时告知用户环境中存在的危险从而使得用户可以及时规避风险。In this embodiment of the present invention, the earphone storage device may acquire ambient sound data, identify potential risk events in the environment according to the ambient sound data, and send the potential risk events to the earphones. The earphone can alert the user with sound according to potential risk events, so that when the user wears the earphone, the earphone can inform the user of the danger in the environment in time, so that the user can avoid the risk in time.

在本发明实施例中,若耳机待播放的声音数据包括人声数据,则耳机可以将待播放的声音数据发送给耳机收纳装置。耳机收纳装置可以接收耳机发送的待播放的声音数据;待播放的声音数据包括人声数据;耳机收纳装置对待播放的声音数据进行人声处理;将经过人声处理的待播放的声音数据发送至耳机,耳机可以播放经过人声处理的待播放的声音数据。In the embodiment of the present invention, if the sound data to be played by the earphone includes human voice data, the earphone can send the sound data to be played to the earphone storage device. The earphone storage device can receive the voice data to be played sent by the headphones; the voice data to be played includes human voice data; the earphone storage device performs human voice processing on the voice data to be played; Headphones, the headphones can play the sound data to be played that has been processed by the human voice.

在一种示例中,所述对所述待播放的声音数据进行人声处理的步骤可以包括:将所述待播放的声音数据发送至所述服务器,所述服务器用于根据所述环境音数据对所述待播放的声音数据进行人声处理;接收所述服务器发送的经过人声处理的待播放的声音数据。In an example, the step of performing human voice processing on the to-be-played sound data may include: sending the to-be-played sound data to the server, where the server is configured to use the ambient sound data according to the ambient sound data Perform human voice processing on the voice data to be played; and receive voice data to be played after voice processing sent by the server.

在本发明实施例中,耳机可以采集用户方位信息进行语音导航,耳机可以向耳机收纳装置发送导航查询信息,耳机收纳装置接收耳机发送的导航查询信息,导航查询信息包括用户方位信息;获取用户地理位置信息;根据用户方位信息和用户地理位置信息,生成导航语音数据并向耳机发送,以使耳机播放导航语音数据。In this embodiment of the present invention, the headset can collect user orientation information for voice navigation, the headset can send navigation query information to the headset storage device, the headset storage device receives the navigation query information sent by the headset, and the navigation query information includes user orientation information; Location information; according to user orientation information and user geographic location information, generate navigation voice data and send it to the headset, so that the headset plays the navigation voice data.

在一种示例中,所述根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据的步骤可以包括:向服务器所述导航查询信息,所述导航查询信息包括所述用户方位信息和所述用户地理位置信息;接收所述服务器发送的导航语音数据,所述导航语音数据由所述服务器根据所述用户方位信息和所述用户地理位置信息生成。In an example, the step of generating navigation voice data according to the user location information and the user geographic location information may include: querying the server for the navigation information, where the navigation query information includes the user location information and the user geographic location information; receive navigation voice data sent by the server, where the navigation voice data is generated by the server according to the user location information and the user geographic location information.

参照图5,示出了本发明的一种提醒方法实施例五的步骤流程图,该方法应用于耳机收纳装置,耳机收纳装置与耳机通信连接,所述方法具体可以包括如下步骤:Referring to FIG. 5 , there is shown a flowchart of the steps of Embodiment 5 of a reminder method of the present invention. The method is applied to an earphone storage device, and the earphone storage device is communicatively connected to the earphone. The method may specifically include the following steps:

步骤501,采集当前环境中的环境音数据。Step 501: Collect ambient sound data in the current environment.

在本发明实施例中,耳机收纳装置具有声音采集模块,例如麦克风、麦克风阵列等,可以采集周围的环境音数据。耳机收纳装置可以根据用户的控制,开始或停止采集环境音数据。In the embodiment of the present invention, the earphone storage device has a sound collection module, such as a microphone, a microphone array, etc., which can collect ambient sound data. The earphone storage device can start or stop collecting ambient sound data according to the user's control.

在一种示例中,耳机收纳装置可以获取用户语音;根据所述用户语音,开始或停止采集当前环境中的环境音数据。In an example, the earphone storage device may acquire the user's voice; according to the user's voice, start or stop collecting ambient sound data in the current environment.

在另一种示例中,耳机收纳装置可以获取用户地理位置信息;根据所述用户地理位置信息,开始或停止采集当前环境中的环境音数据。例如,当用户地理位置信息表示用户在人行道或红绿灯时,自动开启采集环境音数据。当用户地理位置信息表示用户在室内时,停止采集环境音数据。In another example, the earphone storage device may acquire user geographic location information; according to the user geographic location information, start or stop collecting ambient sound data in the current environment. For example, when the user's geographic location information indicates that the user is on a sidewalk or a traffic light, the collection of ambient sound data is automatically enabled. When the user's geographic location information indicates that the user is indoors, the collection of ambient sound data is stopped.

在另一种示例中,耳机收纳装置可以与移动终端通信连接,耳机收纳装置还可以接收移动终端发送的控制指令,根据控制指令开始或停止采集环境音数据。例如控制指令为开始采集指令,则耳机开始采集环境音数据。In another example, the earphone storage device may be connected in communication with the mobile terminal, and the earphone storage device may also receive a control instruction sent by the mobile terminal, and start or stop collecting ambient sound data according to the control instruction. For example, the control command is a start-collection command, and the earphone starts to collect ambient sound data.

在本发明实施例中,耳机收纳装置包括两种拾音模式,分别为全向远场拾音模式和远程指向拾音模式。在全向远场拾音模式下,耳机收纳装置可以采集360度范围内的远场声音数据。在远程指向拾音模式下,耳机收纳装置可以采集指向范围的远场声音数据。In the embodiment of the present invention, the earphone storage device includes two sound pickup modes, which are an omnidirectional far-field sound pickup mode and a remote directional pickup mode. In the omnidirectional far-field pickup mode, the earphone storage device can collect far-field sound data within a 360-degree range. In the remote pointing pickup mode, the earphone storage device can collect far-field sound data in the pointing range.

所述采集当前环境中的环境音数据的步骤可以包括:开启全向远场拾音模式,采集360度范围的远场声音数据;或开启远程指向拾音模式,采集指向范围的远场声音数据。The step of collecting ambient sound data in the current environment may include: turning on an omnidirectional far-field sound pickup mode, and collecting far-field sound data in a 360-degree range; or turning on a remote pointing sound pickup mode, collecting far-field sound data in a pointing range .

步骤502,根据所述环境音数据识别环境中的潜在风险事件。Step 502: Identify potential risk events in the environment according to the environmental sound data.

具体的,耳机收纳装置可以将环境音数据输入预先训练的声音识别模型;获取声音识别模型采用环境音数据识别得到的潜在风险事件。声音识别模型可以是采用收集大量环境音数据作为训练样本训练得到的模型。Specifically, the earphone storage device can input the environmental sound data into the pre-trained sound recognition model, and obtain the potential risk events identified by the sound recognition model using the environmental sound data. The sound recognition model may be a model trained by collecting a large amount of ambient sound data as training samples.

步骤503,向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。Step 503: Send the potential risk event to the earphone; the earphone is used for sound reminder according to the potential risk event.

在本发明实施例中,耳机收纳装置可以采集当前环境中的环境音数据,根据环境音数据识别环境中的潜在风险事件,并将潜在风险事件发送给耳机。耳机可以根据潜在风险事件向用户进行声音提醒,使得用户在佩戴耳机的过程中,耳机能及时告知用户环境中存在的危险从而使得用户可以及时规避风险。In this embodiment of the present invention, the earphone storage device may collect ambient sound data in the current environment, identify potential risk events in the environment according to the ambient sound data, and send the potential risk events to the earphones. The earphone can alert the user with sound according to potential risk events, so that when the user wears the earphone, the earphone can inform the user of the danger in the environment in time, so that the user can avoid the risk in time.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the sake of simple description, the method embodiments are described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequences, because According to embodiments of the present invention, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图6,示出了本发明的一种提醒装置实施例一的结构框图,该提醒装置应用于耳机,所述耳机与耳机收纳装置通信连接,所述提醒装置具体可以包括如下模块:Referring to FIG. 6 , there is shown a structural block diagram of Embodiment 1 of a reminder device of the present invention. The reminder device is applied to an earphone, and the earphone is communicatively connected to the earphone storage device. The reminder device may specifically include the following modules:

潜在风险事件接收模块601,用于接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;A potential risk event receiving module 601, configured to receive a potential risk event sent by the earphone storage device, where the potential risk event is identified and obtained by the earphone storage device according to environmental sound data;

提醒模块602,用于根据所述潜在风险事件进行声音提醒。The reminder module 602 is configured to perform a sound reminder according to the potential risk event.

参照图7,示出了本发明的一种提醒装置实施例二的结构框图,该提醒装置应用于耳机,所述耳机与耳机收纳装置通信连接,所述提醒装置具体可以包括如下模块:Referring to FIG. 7 , there is shown a structural block diagram of Embodiment 2 of a reminder device of the present invention. The reminder device is applied to an earphone, and the earphone is communicatively connected to the earphone storage device. The reminder device may specifically include the following modules:

潜在风险事件接收模块701,用于接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;A potential risk event receiving module 701, configured to receive a potential risk event sent by the earphone storage device, where the potential risk event is identified and obtained by the earphone storage device according to environmental sound data;

提醒模块702,用于根据所述潜在风险事件进行声音提醒。The reminder module 702 is configured to perform a sound reminder according to the potential risk event.

在本发明实施例中,所述的提醒装置还可以包括:In this embodiment of the present invention, the reminding device may further include:

环境音数据处理模块703,用于采集环境音数据,并发送至所述耳机收纳装置。The ambient sound data processing module 703 is configured to collect ambient sound data and send it to the earphone storage device.

在本发明实施例中,所述环境音数据处理模块703,用于获取用户语音;In this embodiment of the present invention, the ambient sound data processing module 703 is used to acquire user voice;

根据所述用户语音,开始或停止采集环境音数据。According to the user voice, the collection of ambient sound data is started or stopped.

在本发明实施例中,所述环境音数据处理模块703,用于获取用户地理位置信息;根据所述用户地理位置信息,开始或停止采集环境音数据。In the embodiment of the present invention, the environmental sound data processing module 703 is configured to acquire user geographic location information; according to the user geographic location information, start or stop collecting ambient sound data.

在本发明实施例中,所述环境音数据处理模块703,用于接收所述耳机收纳装置发送的用户地理位置信息。In the embodiment of the present invention, the environmental sound data processing module 703 is configured to receive the user geographic location information sent by the earphone storage device.

在本发明实施例中,所述耳机与移动终端通信连接,所述环境音数据处理模块703,用于接收所述移动终端发送的控制指令;采用所述控制指令,开始或停止采集环境音数据。In the embodiment of the present invention, the earphone is connected to the mobile terminal in communication, and the ambient sound data processing module 703 is configured to receive a control instruction sent by the mobile terminal; and use the control instruction to start or stop collecting ambient sound data .

在本发明实施例中,所述耳机包括配对的两个耳机;所述环境音数据处理模块703,用于开启至少一个耳机的远场拾音模式采集远场声音数据。In this embodiment of the present invention, the earphones include two paired earphones; the ambient sound data processing module 703 is configured to enable the far-field sound pickup mode of at least one earphone to collect far-field sound data.

在本发明实施例中,所述的提醒装置还包括:In the embodiment of the present invention, the reminding device further includes:

近场声音数据采集模块704,用于在采用所述耳机进行通话的过程中,开启至少一个耳机的近场拾音模式采集近场声音数据;A near-field sound data collection module 704, configured to enable a near-field sound pickup mode of at least one earphone to collect near-field sound data during a call using the earphone;

通话处理模块705,用于采用所述近场声音数据进行通话处理。The call processing module 705 is configured to perform call processing by using the near-field sound data.

在本发明实施例中,所述提醒模块702,用于播放与所述潜在风险事件相应的提醒声音。In this embodiment of the present invention, the reminder module 702 is configured to play a reminder sound corresponding to the potential risk event.

在本发明实施例中,所述的提醒装置还可以包括:In this embodiment of the present invention, the reminding device may further include:

声音数据调整模块706,用于若识别到潜在风险事件且所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。The sound data adjustment module 706 is configured to reduce the volume of playing the sound data or stop playing the sound data if a potential risk event is identified and the headset is playing sound data.

在本发明实施例中,所述的提醒装置还可以包括:In this embodiment of the present invention, the reminding device may further include:

代接模块707,用于若识别到潜在风险事件且所述耳机正在进行通话,则调用预设电话助手代接所述通话。The pick-up module 707 is configured to call a preset phone assistant to pick up the call if a potential risk event is identified and the headset is on a call.

在本发明实施例中,所述的提醒装置还可以包括:In this embodiment of the present invention, the reminding device may further include:

第一人声处理模块708,用于若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。The first vocal processing module 708 is configured to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data if the sound data to be played by the earphone includes vocal data.

在本发明实施例中,所述第一人声处理模块708,用于将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。In this embodiment of the present invention, the first vocal processing module 708 is configured to send the sound data to be played by the earphones to the earphone storage device, and the box is configured to The voice data to be played by the earphone is processed by the human voice; the voice data to be played which has been processed by the human voice and sent by the earphone storage device is received.

在本发明实施例中,所述的提醒装置还包括:In the embodiment of the present invention, the reminding device further includes:

导航语音数据播放模块709,用于获取用户方位信息,并根据所述用户方位信息播放导航语音数据;Navigation voice data playing module 709, used to obtain user position information, and play navigation voice data according to the user position information;

导航语音数据调整模块710,用于当在获取到潜在风险事件时,根据所述潜在风险事件调整导航语音数据。The navigation voice data adjustment module 710 is configured to adjust the navigation voice data according to the potential risk event when the potential risk event is acquired.

在本发明实施例中,所述导航语音数据播放模块709,用于获取用户地理位置信息;根据所述用户方位信息和所述用户地理位置信息播放导航语音数据。In this embodiment of the present invention, the navigation voice data playing module 709 is configured to acquire user geographic location information; and play navigation voice data according to the user orientation information and the user geographic location information.

在本发明实施例中,所述导航语音数据播放模块709,用于向所述耳机收纳装置发送导航查询信息,所述导航查询信息包括所述用户方位信息;接收所述耳机收纳装置返回的导航语音数据并播放。In the embodiment of the present invention, the navigation voice data playback module 709 is configured to send navigation query information to the earphone storage device, where the navigation query information includes the user orientation information; receive navigation returned by the earphone storage device voice data and play.

参照图8,示出了本发明的一种提醒装置实施例三的结构框图,该提醒装置应用于耳机收纳装置,所述耳机收纳装置与耳机通信连接,所述提醒装置具体可以包括如下模块:Referring to FIG. 8 , a structural block diagram of Embodiment 3 of a reminder device of the present invention is shown. The reminder device is applied to an earphone storage device, and the earphone storage device is communicatively connected to the earphone. Specifically, the reminder device may include the following modules:

环境音数据获取模块801,用于获取环境音数据;An ambient sound data acquisition module 801, configured to acquire ambient sound data;

潜在风险事件识别模块802,用于根据所述环境音数据识别环境中的潜在风险事件;A potential risk event identification module 802, configured to identify potential risk events in the environment according to the environmental sound data;

潜在风险事件发送模块803,用于向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。The potential risk event sending module 803 is configured to send the potential risk event to the earphone; the earphone is configured to perform a sound reminder according to the potential risk event.

参照图9,示出了本发明的一种提醒装置实施例四的结构框图,该提醒装置应用于耳机收纳装置,所述耳机收纳装置与耳机通信连接,所述提醒装置具体可以包括如下模块:Referring to FIG. 9 , a structural block diagram of Embodiment 4 of a reminder device of the present invention is shown. The reminder device is applied to an earphone storage device, and the earphone storage device is communicatively connected to the earphone. The reminder device may specifically include the following modules:

环境音数据获取模块901,用于获取环境音数据;An ambient sound data acquisition module 901, configured to acquire ambient sound data;

潜在风险事件识别模块902,用于根据所述环境音数据识别环境中的潜在风险事件;A potential risk event identification module 902, configured to identify potential risk events in the environment according to the environmental sound data;

潜在风险事件发送模块903,用于向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。The potential risk event sending module 903 is configured to send the potential risk event to the earphone; the earphone is configured to perform a sound reminder according to the potential risk event.

在本发明实施例中,所述环境音数据获取模块901,用于采集当前环境中的环境音数据。In the embodiment of the present invention, the environmental sound data acquisition module 901 is used to collect environmental sound data in the current environment.

在本发明实施例中,所述环境音数据获取模块901,用于接收所述耳机采集的环境音数据。In this embodiment of the present invention, the ambient sound data acquisition module 901 is configured to receive ambient sound data collected by the earphone.

在本发明实施例中,所述环境音数据获取模块901,用于获取用户语音;根据所述用户语音,开始或停止采集当前环境中的环境音数据。In this embodiment of the present invention, the ambient sound data acquisition module 901 is configured to acquire user voice; according to the user voice, start or stop collecting ambient sound data in the current environment.

在本发明实施例中,所述环境音数据获取模块901,用于获取用户地理位置信息;根据所述用户地理位置信息,开始或停止采集当前环境中的环境音数据。In this embodiment of the present invention, the ambient sound data acquisition module 901 is configured to acquire user geographic location information; according to the user geographic location information, start or stop collecting ambient sound data in the current environment.

在本发明实施例中,所述耳机收纳装置与移动终端通信连接,所述环境音数据获取模块901,用于接收所述移动终端发送的控制指令;采用所述控制指令,开始或停止采集当前环境中的环境音数据。In this embodiment of the present invention, the earphone storage device is connected in communication with a mobile terminal, and the ambient sound data acquisition module 901 is configured to receive a control command sent by the mobile terminal; using the control command, start or stop collecting the current Ambient sound data in the environment.

在本发明实施例中,所述环境音数据获取模块901,用于开启全向远场拾音模式,采集360度范围的远场声音数据;或开启远程指向拾音模式,采集指向范围的远场声音数据。In the embodiment of the present invention, the ambient sound data acquisition module 901 is used to enable the omnidirectional far-field sound pickup mode to collect far-field sound data in a 360-degree range; field sound data.

在本发明实施例中,所述潜在风险事件识别模块902,用于将所述环境音数据输入预先训练的声音识别模型;获取所述声音识别模型采用所述环境音数据识别得到的潜在风险事件。In this embodiment of the present invention, the potential risk event identification module 902 is configured to input the environmental sound data into a pre-trained sound recognition model; acquire the potential risk events identified by the sound recognition model using the environmental sound data .

在本发明实施例中,所述耳机收纳装置与服务器通信连接,所述潜在风险事件识别模块902,用于将所述环境音数据发送至服务器;接收所述发送的潜在风险事件,所述潜在风险事件由所述服务器根据所述环境音数据识别得到。In this embodiment of the present invention, the earphone storage device is connected in communication with a server, and the potential risk event identification module 902 is configured to send the ambient sound data to the server; receive the sent potential risk event, the potential risk event Risk events are identified by the server according to the ambient sound data.

在本发明实施例中,所述的提醒装置还包括:In the embodiment of the present invention, the reminding device further includes:

声音数据接收模块904,用于接收所述耳机发送的待播放的声音数据;所述待播放的声音数据包括人声数据;The sound data receiving module 904 is configured to receive the sound data to be played sent by the earphone; the sound data to be played includes human voice data;

第二人声处理模块905,用于对所述待播放的声音数据进行人声处理;A second vocal processing module 905, configured to perform vocal processing on the to-be-played sound data;

声音数据发送模块906,用于将经过人声处理的待播放的声音数据发送至所述耳机,所述耳机用于播放经过人声处理的待播放的声音数据。The sound data sending module 906 is configured to send the sound data to be played processed by the human voice to the earphone, and the earphone is used to play the sound data to be played processed by the human voice.

在本发明实施例中,所述第二人声处理模块905,用于将所述待播放的声音数据发送至所述服务器,所述服务器用于根据所述环境音数据对所述待播放的声音数据进行人声处理;接收所述服务器发送的经过人声处理的待播放的声音数据。In this embodiment of the present invention, the second vocal processing module 905 is configured to send the to-be-played sound data to the server, and the server is configured to process the to-be-played sound data according to the ambient sound data The voice data is processed by human voice; the voice data to be played which has been processed by the human voice sent by the server is received.

在本发明实施例中,所述的提醒装置还可以包括:In this embodiment of the present invention, the reminding device may further include:

导航查询信息接收模块907,用于接收所述耳机发送的导航查询信息,所述导航查询信息包括所述用户方位信息;A navigation inquiry information receiving module 907, configured to receive navigation inquiry information sent by the headset, where the navigation inquiry information includes the user orientation information;

地理位置信息获取模块908,用于获取用户地理位置信息;a geographic location information acquisition module 908, configured to acquire user geographic location information;

导航语音数据处理模块909,用于根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据并向所述耳机发送,所述耳机用于播放所述导航语音数据。The navigation voice data processing module 909 is configured to generate navigation voice data according to the user orientation information and the user geographic location information and send the data to the headset, where the headset is used to play the navigation voice data.

在本发明实施例中,所述导航语音数据处理模块909,用于向服务器所述导航查询信息,所述导航查询信息包括所述用户方位信息和所述用户地理位置信息;接收所述服务器发送的导航语音数据,所述导航语音数据由所述服务器根据所述用户方位信息和所述用户地理位置信息生成。In this embodiment of the present invention, the navigation voice data processing module 909 is configured to query the server for the navigation information, where the navigation query information includes the user location information and the user geographic location information; The navigation voice data is generated by the server according to the user location information and the user geographic location information.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for related parts.

图10是根据一示例性实施例示出的一种用提醒的电子设备1000的结构框图。例如,电子设备1000可以是耳机、耳机收纳装置等。FIG. 10 is a structural block diagram of anelectronic device 1000 using a reminder according to an exemplary embodiment. For example, theelectronic device 1000 may be an earphone, an earphone storage device, or the like.

参照图10,电子设备1000可以包括以下一个或多个组件:处理组件1002,存储器1004,电力组件1006,多媒体组件1008,音频组件1010,输入/输出(I/O)的接口1012,传感器组件1014,以及通信组件1016。10, anelectronic device 1000 may include one or more of the following components: aprocessing component 1002, amemory 1004, apower component 1006, amultimedia component 1008, anaudio component 1010, an input/output (I/O)interface 1012, asensor component 1014 , and thecommunication component 1016 .

处理组件1002通常控制电子设备1000的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1002可以包括一个或多个处理器1020来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。例如,处理部件1002可以包括多媒体模块,以方便多媒体组件1008和处理组件1002之间的交互。Theprocessing component 1002 generally controls the overall operation of theelectronic device 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. Theprocessing element 1002 may include one ormore processors 1020 to execute instructions to perform all or part of the steps of the methods described above. Additionally,processing component 1002 may include one or more modules that facilitate interaction betweenprocessing component 1002 and other components. For example,processing component 1002 may include a multimedia module to facilitate interaction betweenmultimedia component 1008 andprocessing component 1002.

存储器1004被配置为存储各种类型的数据以支持在设备1000的操作。这些数据的示例包括用于在电子设备1000上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1004 is configured to store various types of data to support operation atdevice 1000 . Examples of such data include instructions for any application or method operating on theelectronic device 1000, contact data, phonebook data, messages, pictures, videos, and the like.Memory 1004 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件1006为电子设备1000的各种组件提供电力。电力组件1006可以包括电源管理系统,一个或多个电源,及其他与为电子设备1000生成、管理和分配电力相关联的组件。Power component 1006 provides power to various components ofelectronic device 1000 .Power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power toelectronic device 1000 .

多媒体组件1008包括在所述电子设备1000和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1008包括一个前置摄像头和/或后置摄像头。当电子设备1000处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 1008 includes a screen that provides an output interface between theelectronic device 1000 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 a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, themultimedia component 1008 includes a front-facing camera and/or a rear-facing camera. When theelectronic device 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1010被配置为输出和/或输入音频信号。例如,音频组件1010包括一个麦克风(MIC),当电子设备1000处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1004或经由通信组件1016发送。在一些实施例中,音频组件1010还包括一个扬声器,用于输出音频信号。Audio component 1010 is configured to output and/or input audio signals. For example,audio component 1010 includes a microphone (MIC) that is configured to receive external audio signals whenelectronic device 1000 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored inmemory 1004 or transmitted viacommunication component 1016 . In some embodiments,audio component 1010 also includes a speaker for outputting audio signals.

I/O接口1012为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1012 provides an interface between theprocessing component 1002 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件1014包括一个或多个传感器,用于为电子设备1000提供各个方面的状态评估。例如,传感器组件1014可以检测到设备1000的打开/关闭状态,组件的相对定位,例如所述组件为电子设备1000的显示器和小键盘,传感器组件1014还可以检测电子设备1000或电子设备1000一个组件的位置改变,用户与电子设备1000接触的存在或不存在,电子设备1000方位或加速/减速和电子设备1000的温度变化。传感器组件1014可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1014还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1014还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1014 includes one or more sensors for providing status assessment of various aspects ofelectronic device 1000 . For example, thesensor assembly 1014 can detect the open/closed state of thedevice 1000, the relative positioning of the components, such as the display and keypad of theelectronic device 1000, thesensor assembly 1014 can also detect theelectronic device 1000 or a component of theelectronic device 1000 The position of theelectronic device 1000 changes, the presence or absence of the user's contact with theelectronic device 1000 , the orientation or acceleration/deceleration of theelectronic device 1000 , and the temperature of theelectronic device 1000 changes.Sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.Sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件1016被配置为便于电子设备1000和其他设备之间有线或无线方式的通信。电子设备1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1014经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1014还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1016 is configured to facilitate wired or wireless communication betweenelectronic device 1000 and other devices. Theelectronic device 1000 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, thecommunication component 1014 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 1014 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,电子设备1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,electronic device 1000 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

一种耳机,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A headset comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors including for performing Instructions for the following operations:

接收耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;receiving a potential risk event sent by the earphone storage device, where the potential risk event is identified by the earphone storage device according to ambient sound data;

根据所述潜在风险事件进行声音提醒。A sound reminder is performed according to the potential risk event.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

采集环境音数据,并发送至所述耳机收纳装置。The ambient sound data is collected and sent to the earphone storage device.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集环境音数据。According to the user voice, the collection of ambient sound data is started or stopped.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集环境音数据。According to the user geographic location information, the collection of ambient sound data is started or stopped.

可选地,所述获取用户地理位置信息,包括:Optionally, the obtaining user geographic location information includes:

接收所述耳机收纳装置发送的用户地理位置信息。The user geographic location information sent by the earphone storage device is received.

可选地,所述耳机与移动终端通信连接,所述采集环境音数据,包括:Optionally, the headset is connected in communication with the mobile terminal, and the collection of ambient sound data includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集环境音数据。Using the control instruction, the collection of ambient sound data is started or stopped.

可选地,所述耳机包括配对的两个耳机;所述采集环境音数据,包括:Optionally, the earphones include two paired earphones; the collecting ambient sound data includes:

开启至少一个耳机的远场拾音模式采集远场声音数据。Enable the far-field pickup mode of at least one earphone to collect far-field sound data.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

在采用所述耳机进行通话的过程中,开启至少一个耳机的近场拾音模式采集近场声音数据;In the process of using the headset to make a call, turn on the near-field sound pickup mode of at least one headset to collect near-field sound data;

采用所述近场声音数据进行通话处理。Call processing is performed using the near-field sound data.

可选地,所述根据所述潜在风险事件进行声音提醒,包括:Optionally, the performing a sound reminder according to the potential risk event includes:

播放与所述潜在风险事件相应的提醒声音。Play a reminder sound corresponding to the potential risk event.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

若识别到潜在风险事件且所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。If a potential risk event is identified and the headset is playing sound data, the volume of playing the sound data is reduced or the sound data is stopped.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

若识别到潜在风险事件且所述耳机正在进行通话,则调用预设电话助手代接所述通话。If a potential risk event is identified and the headset is on a call, a preset phone assistant is called to pick up the call.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。If the sound data to be played by the earphone includes human voice data, the human voice processing is performed on the sound data to be played by the earphone according to the ambient sound data.

可选地,所述根据所述环境音数据对所述耳机待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the sound data to be played by the headset according to the ambient sound data includes:

将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;Send the sound data to be played by the earphone to the earphone storage device, and the box is used to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data;

接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the earphone storage device.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

获取用户方位信息,并根据所述用户方位信息播放导航语音数据;Obtain user orientation information, and play navigation voice data according to the user orientation information;

当在获取到潜在风险事件时,根据所述潜在风险事件调整导航语音数据。When a potential risk event is acquired, the navigation voice data is adjusted according to the potential risk event.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息播放导航语音数据。Play navigation voice data according to the user location information and the user geographic location information.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

向所述耳机收纳装置发送导航查询信息,所述导航查询信息包括所述用户方位信息;sending navigation query information to the earphone storage device, where the navigation query information includes the user orientation information;

接收所述耳机收纳装置返回的导航语音数据并播放。The navigation voice data returned by the earphone storage device is received and played.

一种耳机收纳装置,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A headphone storage device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, including using for instructions that do the following:

获取环境音数据;Get ambient sound data;

根据所述环境音数据识别环境中的潜在风险事件;Identify potential risk events in the environment based on the ambient sound data;

向耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。The potential risk event is sent to the earphone; the earphone is used for sound reminder according to the potential risk event.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

采集当前环境中的环境音数据。Collect ambient sound data in the current environment.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

接收所述耳机采集的环境音数据。The ambient sound data collected by the earphone is received.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集当前环境中的环境音数据。According to the user voice, the collection of ambient sound data in the current environment is started or stopped.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集当前环境中的环境音数据。Start or stop collecting ambient sound data in the current environment according to the user geographic location information.

可选地,所述耳机收纳装置与移动终端通信连接,所述采集当前环境中的环境音数据,包括:Optionally, the earphone storage device is connected in communication with the mobile terminal, and the collection of ambient sound data in the current environment includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集当前环境中的环境音数据。Using the control instruction, start or stop collecting ambient sound data in the current environment.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

开启全向远场拾音模式,采集360度范围的远场声音数据;Turn on the omnidirectional far-field pickup mode to collect far-field sound data in a 360-degree range;

或开启远程指向拾音模式,采集指向范围的远场声音数据。Or turn on the far-point pickup mode to collect far-field sound data in the pointing range.

可选地,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the identifying potential risk events in the environment according to the environmental sound data includes:

将所述环境音数据输入预先训练的声音识别模型;Inputting the ambient sound data into a pre-trained voice recognition model;

获取所述声音识别模型采用所述环境音数据识别得到的潜在风险事件。A potential risk event identified by the sound recognition model using the environmental sound data is acquired.

可选地,所述耳机收纳装置与服务器通信连接,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the earphone storage device is connected in communication with a server, and the identifying potential risk events in the environment according to the ambient sound data includes:

将所述环境音数据发送至服务器;sending the ambient sound data to the server;

接收所述发送的潜在风险事件,所述潜在风险事件由所述服务器根据所述环境音数据识别得到。The sent potential risk event is received, and the potential risk event is identified by the server according to the environmental sound data.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

接收所述耳机发送的待播放的声音数据;所述待播放的声音数据包括人声数据;receiving the sound data to be played sent by the earphone; the sound data to be played includes human voice data;

对所述待播放的声音数据进行人声处理;Perform vocal processing on the to-be-played sound data;

将经过人声处理的待播放的声音数据发送至所述耳机,所述耳机用于播放经过人声处理的待播放的声音数据。The voice data to be played processed by the human voice is sent to the earphone, and the headphones are used to play the voice data processed by the human voice to be played.

可选地,所述对所述待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the to-be-played sound data includes:

将所述待播放的声音数据发送至所述服务器,所述服务器用于根据所述环境音数据对所述待播放的声音数据进行人声处理;sending the to-be-played sound data to the server, where the server is configured to perform vocal processing on the to-be-played sound data according to the ambient sound data;

接收所述服务器发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the server.

可选地,还包含用于进行以下操作的指令:Optionally, also contains instructions for doing the following:

接收所述耳机发送的导航查询信息,所述导航查询信息包括所述用户方位信息;receiving navigation query information sent by the headset, where the navigation query information includes the user orientation information;

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据并向所述耳机发送,所述耳机用于播放所述导航语音数据。According to the user orientation information and the user geographic location information, navigation voice data is generated and sent to the headset, and the headset is used to play the navigation voice data.

可选地,所述根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据,包括:Optionally, generating navigation voice data according to the user location information and the user geographic location information includes:

向服务器所述导航查询信息,所述导航查询信息包括所述用户方位信息和所述用户地理位置信息;to the server for the navigation query information, where the navigation query information includes the user location information and the user geographic location information;

接收所述服务器发送的导航语音数据,所述导航语音数据由所述服务器根据所述用户方位信息和所述用户地理位置信息生成。Navigation voice data sent by the server is received, where the navigation voice data is generated by the server according to the user location information and the user geographic location information.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由耳机的处理器执行时,使得耳机能够执行一种提醒方法,所述方法包括:A non-transitory computer-readable storage medium, when an instruction in the storage medium is executed by a processor of an earphone, the earphone can execute a reminding method, the method comprising:

接收耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;receiving a potential risk event sent by the earphone storage device, where the potential risk event is identified by the earphone storage device according to ambient sound data;

根据所述潜在风险事件进行声音提醒。A sound reminder is performed according to the potential risk event.

可选地,还包括:Optionally, also include:

采集环境音数据,并发送至所述耳机收纳装置。The ambient sound data is collected and sent to the earphone storage device.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集环境音数据。According to the user voice, the collection of ambient sound data is started or stopped.

可选地,所述采集环境音数据,包括:Optionally, the collecting ambient sound data includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集环境音数据。According to the user geographic location information, the collection of ambient sound data is started or stopped.

可选地,所述获取用户地理位置信息,包括:Optionally, the obtaining user geographic location information includes:

接收所述耳机收纳装置发送的用户地理位置信息。The user geographic location information sent by the earphone storage device is received.

可选地,所述耳机与移动终端通信连接,所述采集环境音数据,包括:Optionally, the headset is connected in communication with the mobile terminal, and the collection of ambient sound data includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集环境音数据。Using the control instruction, the collection of ambient sound data is started or stopped.

可选地,所述耳机包括配对的两个耳机;所述采集环境音数据,包括:Optionally, the earphones include two paired earphones; the collecting ambient sound data includes:

开启至少一个耳机的远场拾音模式采集远场声音数据。Enable the far-field pickup mode of at least one earphone to collect far-field sound data.

可选地,还包括:Optionally, also include:

在采用所述耳机进行通话的过程中,开启至少一个耳机的近场拾音模式采集近场声音数据;In the process of using the headset to make a call, turn on the near-field sound pickup mode of at least one headset to collect near-field sound data;

采用所述近场声音数据进行通话处理。Call processing is performed using the near-field sound data.

可选地,所述根据所述潜在风险事件进行声音提醒,包括:Optionally, the performing a sound reminder according to the potential risk event includes:

播放与所述潜在风险事件相应的提醒声音。Play a reminder sound corresponding to the potential risk event.

可选地,还包括:Optionally, also include:

若识别到潜在风险事件且所述耳机正在播放声音数据,则降低播放所述声音数据的音量或停止播放所述声音数据。If a potential risk event is identified and the headset is playing sound data, the volume of playing the sound data is reduced or the sound data is stopped.

可选地,还包括:Optionally, also include:

若识别到潜在风险事件且所述耳机正在进行通话,则调用预设电话助手代接所述通话。If a potential risk event is identified and the headset is on a call, a preset phone assistant is called to pick up the call.

可选地,还包括:Optionally, also include:

若所述耳机待播放的声音数据包括人声数据,则根据所述环境音数据对所述耳机待播放的声音数据进行人声处理。If the sound data to be played by the earphone includes human voice data, the human voice processing is performed on the sound data to be played by the earphone according to the ambient sound data.

可选地,所述根据所述环境音数据对所述耳机待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the sound data to be played by the headset according to the ambient sound data includes:

将所述耳机待播放的声音数据发送至所述耳机收纳装置,所述盒子用于根据所述环境音数据对所述耳机待播放的声音数据进行人声处理;Send the sound data to be played by the earphone to the earphone storage device, and the box is used to perform vocal processing on the sound data to be played by the earphone according to the ambient sound data;

接收所述耳机收纳装置发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the earphone storage device.

可选地,还包括:Optionally, also include:

获取用户方位信息,并根据所述用户方位信息播放导航语音数据;Obtain user orientation information, and play navigation voice data according to the user orientation information;

当在获取到潜在风险事件时,根据所述潜在风险事件调整导航语音数据。When a potential risk event is acquired, the navigation voice data is adjusted according to the potential risk event.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息播放导航语音数据。Play navigation voice data according to the user location information and the user geographic location information.

可选地,所述根据所述用户方位信息播放导航语音数据,包括:Optionally, the playing navigation voice data according to the user location information includes:

向所述耳机收纳装置发送导航查询信息,所述导航查询信息包括所述用户方位信息;Sending navigation query information to the earphone storage device, where the navigation query information includes the user orientation information;

接收所述耳机收纳装置返回的导航语音数据并播放。The navigation voice data returned by the earphone storage device is received and played.

一种非临时性计算机可读存储介质,当所述存储介质中的指令由耳机的处理器执行时,使得耳机能够执行一种提醒方法,所述方法包括:A non-transitory computer-readable storage medium, when an instruction in the storage medium is executed by a processor of an earphone, the earphone can execute a reminding method, the method comprising:

获取环境音数据;Get ambient sound data;

根据所述环境音数据识别环境中的潜在风险事件;Identify potential risk events in the environment based on the ambient sound data;

向耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。The potential risk event is sent to the earphone; the earphone is used for sound reminder according to the potential risk event.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

采集当前环境中的环境音数据。Collect ambient sound data in the current environment.

可选地,所述获取环境音数据,包括:Optionally, the obtaining ambient sound data includes:

接收所述耳机采集的环境音数据。The ambient sound data collected by the earphone is received.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户语音;Get user voice;

根据所述用户语音,开始或停止采集当前环境中的环境音数据。According to the user voice, the collection of ambient sound data in the current environment is started or stopped.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户地理位置信息,开始或停止采集当前环境中的环境音数据。Start or stop collecting ambient sound data in the current environment according to the user geographic location information.

可选地,所述耳机收纳装置与移动终端通信连接,所述采集当前环境中的环境音数据,包括:Optionally, the earphone storage device is connected in communication with the mobile terminal, and the collection of ambient sound data in the current environment includes:

接收所述移动终端发送的控制指令;receiving a control instruction sent by the mobile terminal;

采用所述控制指令,开始或停止采集当前环境中的环境音数据。Using the control instruction, start or stop collecting ambient sound data in the current environment.

可选地,所述采集当前环境中的环境音数据,包括:Optionally, the collecting ambient sound data in the current environment includes:

开启全向远场拾音模式,采集360度范围的远场声音数据;Turn on the omnidirectional far-field pickup mode to collect far-field sound data in a 360-degree range;

或开启远程指向拾音模式,采集指向范围的远场声音数据。Or turn on the far-point pickup mode to collect far-field sound data in the pointing range.

可选地,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the identifying potential risk events in the environment according to the environmental sound data includes:

将所述环境音数据输入预先训练的声音识别模型;Inputting the ambient sound data into a pre-trained voice recognition model;

获取所述声音识别模型采用所述环境音数据识别得到的潜在风险事件。A potential risk event identified by the sound recognition model using the environmental sound data is acquired.

可选地,所述耳机收纳装置与服务器通信连接,所述根据所述环境音数据识别环境中的潜在风险事件,包括:Optionally, the earphone storage device is connected in communication with a server, and the identifying potential risk events in the environment according to the ambient sound data includes:

将所述环境音数据发送至服务器;sending the ambient sound data to the server;

接收所述发送的潜在风险事件,所述潜在风险事件由所述服务器根据所述环境音数据识别得到。The sent potential risk event is received, and the potential risk event is identified by the server according to the environmental sound data.

可选地,还包括:Optionally, also include:

接收所述耳机发送的待播放的声音数据;所述待播放的声音数据包括人声数据;receiving the sound data to be played sent by the earphone; the sound data to be played includes human voice data;

对所述待播放的声音数据进行人声处理;Perform vocal processing on the to-be-played sound data;

将经过人声处理的待播放的声音数据发送至所述耳机,所述耳机用于播放经过人声处理的待播放的声音数据。The voice data to be played processed by the human voice is sent to the earphone, and the headphones are used to play the voice data processed by the human voice to be played.

可选地,所述对所述待播放的声音数据进行人声处理,包括:Optionally, performing vocal processing on the to-be-played sound data includes:

将所述待播放的声音数据发送至所述服务器,所述服务器用于根据所述环境音数据对所述待播放的声音数据进行人声处理;sending the to-be-played sound data to the server, where the server is configured to perform vocal processing on the to-be-played sound data according to the ambient sound data;

接收所述服务器发送的经过人声处理的待播放的声音数据。Receive the voice data to be played that is processed by the human voice and sent by the server.

可选地,还包括:Optionally, also include:

接收所述耳机发送的导航查询信息,所述导航查询信息包括所述用户方位信息;receiving navigation query information sent by the headset, where the navigation query information includes the user orientation information;

获取用户地理位置信息;Obtain user geographic location information;

根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据并向所述耳机发送,所述耳机用于播放所述导航语音数据。According to the user orientation information and the user geographic location information, navigation voice data is generated and sent to the headset, and the headset is used to play the navigation voice data.

可选地,所述根据所述用户方位信息和所述用户地理位置信息,生成导航语音数据,包括:Optionally, generating navigation voice data according to the user location information and the user geographic location information includes:

向服务器所述导航查询信息,所述导航查询信息包括所述用户方位信息和所述用户地理位置信息;to the server for the navigation query information, where the navigation query information includes the user location information and the user geographic location information;

接收所述服务器发送的导航语音数据,所述导航语音数据由所述服务器根据所述用户方位信息和所述用户地理位置信息生成。Navigation voice data sent by the server is received, where the navigation voice data is generated by the server according to the user location information and the user geographic location information.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。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 and similar parts between the various embodiments may be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It should be understood by those skilled in the art that the embodiments of the embodiments of the present invention may be provided as a method, an apparatus, or a computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal equipment to produce a machine that causes the instructions to be executed by the processor of the computer or other programmable data processing terminal equipment Means are created for implementing the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal equipment to operate in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the The instruction means implement the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby executing on the computer or other programmable terminal equipment The instructions executed on the above provide steps for implementing the functions specified in the flowchart or blocks and/or the block or blocks of the block diagrams.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。While preferred embodiments of the embodiments of the present invention have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the embodiments of the present invention.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or that there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or terminal device that includes a list of elements includes not only those elements, but also a non-exclusive list of elements. other elements, or also include elements inherent to such a process, method, article or terminal equipment. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

以上对本发明所提供的一种提醒方法、一种提醒装置、一种耳机和耳机收纳装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A reminder method, a reminder device, an earphone and an earphone storage device provided by the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementations of the present invention. The above embodiments The description is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. However, the contents of this specification should not be construed as limiting the present invention.

Claims (10)

Translated fromChinese
1.一种提醒方法,其特征在于,应用于耳机,所述耳机与耳机收纳装置通信连接,所述方法包括:1. A reminding method, characterized in that, applied to an earphone, the earphone is communicatively connected with an earphone storage device, and the method comprises:所述耳机接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;The earphone receives a potential risk event sent by the earphone storage device, and the potential risk event is identified by the earphone storage device according to environmental sound data;根据所述潜在风险事件进行声音提醒。A sound reminder is performed according to the potential risk event.2.根据权利要求1所述的方法,其特征在于,还包括:2. The method of claim 1, further comprising:采集环境音数据,并发送至所述耳机收纳装置。The ambient sound data is collected and sent to the earphone storage device.3.一种提醒方法,其特征在于,应用于耳机收纳装置,所述耳机收纳装置与耳机通信连接,所述方法包括:3. A reminder method, characterized in that it is applied to an earphone storage device that is communicatively connected to an earphone, the method comprising:所述耳机收纳装置获取环境音数据;The earphone storage device obtains ambient sound data;根据所述环境音数据识别环境中的潜在风险事件;Identify potential risk events in the environment based on the ambient sound data;向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。Send the potential risk event to the earphone; the earphone is used for sound reminder according to the potential risk event.4.根据权利要求3所述的方法,其特征在于,所述获取环境音数据,包括:4. The method according to claim 3, wherein the acquiring ambient sound data comprises:采集当前环境中的环境音数据。Collect ambient sound data in the current environment.5.一种提醒装置,其特征在于,应用于耳机,所述耳机与耳机收纳装置通信连接,所述提醒装置包括:5. A reminder device, characterized in that, when applied to an earphone, the earphone is communicatively connected to an earphone storage device, and the reminder device comprises:潜在风险事件接收模块,用于接收所述耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;a potential risk event receiving module, configured to receive a potential risk event sent by the earphone storage device, where the potential risk event is identified and obtained by the earphone storage device according to environmental sound data;提醒模块,用于根据所述潜在风险事件进行声音提醒。The reminder module is used for sound reminder according to the potential risk event.6.一种提醒装置,其特征在于,应用于耳机收纳装置,所述耳机收纳装置与耳机通信连接,所述提醒装置包括:6. A reminder device, characterized in that it is applied to an earphone storage device, the earphone storage device is communicatively connected to an earphone, and the reminder device comprises:环境音数据获取模块,用于获取环境音数据;The ambient sound data acquisition module is used to acquire ambient sound data;潜在风险事件识别模块,用于根据所述环境音数据识别环境中的潜在风险事件;A potential risk event identification module for identifying potential risk events in the environment according to the environmental sound data;潜在风险事件发送模块,用于向所述耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。A potential risk event sending module, configured to send the potential risk event to the earphone; the earphone is configured to perform a sound reminder according to the potential risk event.7.一种耳机,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:7. A headset comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors. The above program contains instructions for doing the following:接收耳机收纳装置发送的潜在风险事件,所述潜在风险事件由所述耳机收纳装置根据环境音数据识别得到;receiving a potential risk event sent by the earphone storage device, where the potential risk event is identified by the earphone storage device according to ambient sound data;根据所述潜在风险事件进行声音提醒。A sound reminder is performed according to the potential risk event.8.一种耳机收纳装置,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:8. An earphone storage device, 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. Or more than one program contains instructions to:获取环境音数据;Get ambient sound data;根据所述环境音数据识别环境中的潜在风险事件;Identify potential risk events in the environment based on the ambient sound data;向耳机发送所述潜在风险事件;所述耳机用于根据所述潜在风险事件进行声音提醒。The potential risk event is sent to the earphone; the earphone is used for sound reminder according to the potential risk event.9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至2中任一项所述的提醒方法的步骤。9. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the reminder as claimed in any one of claims 1 to 2 is realized steps of the method.10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求3至4中任一项所述的提醒方法的步骤。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the reminder as claimed in any one of claims 3 to 4 is realized steps of the method.
CN202010507513.7A2020-06-052020-06-05 A reminder method, device, earphone and earphone storage deviceActiveCN111696578B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010507513.7ACN111696578B (en)2020-06-052020-06-05 A reminder method, device, earphone and earphone storage device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010507513.7ACN111696578B (en)2020-06-052020-06-05 A reminder method, device, earphone and earphone storage device

Publications (2)

Publication NumberPublication Date
CN111696578Atrue CN111696578A (en)2020-09-22
CN111696578B CN111696578B (en)2023-08-18

Family

ID=72479552

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010507513.7AActiveCN111696578B (en)2020-06-052020-06-05 A reminder method, device, earphone and earphone storage device

Country Status (1)

CountryLink
CN (1)CN111696578B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114187920A (en)*2021-11-302022-03-15歌尔光学科技有限公司Head-mounted equipment and far-field sound processing method, device and system thereof
CN114745623A (en)*2022-02-282022-07-12歌尔股份有限公司Danger early warning method based on earphone, earphone device and storage medium
EP4160565A1 (en)*2021-09-292023-04-05GN Hearing A/SA system for locating an electronic accessory device

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1897054A (en)*2005-07-142007-01-17松下电器产业株式会社Device and method for transmitting alarm according various acoustic signals
CN104394491A (en)*2014-12-092015-03-04北京奇虎科技有限公司Intelligent headset, cloud server, volume adjustment method and volume adjustment system
CN106488013A (en)*2016-09-272017-03-08维沃移动通信有限公司A kind of danger based reminding method and mobile terminal
CN106878849A (en)*2017-01-222017-06-20歌尔股份有限公司Wireless earphone device and artificial intelligence device
CN109120298A (en)*2018-08-302019-01-01歌尔科技有限公司A kind of earphone far field exchange method, earphone far field interaction accessory and wireless headset
CN109361987A (en)*2018-12-252019-02-19歌尔科技有限公司A kind of sports earphones and its control method, device, equipment
CN110139178A (en)*2018-02-022019-08-16中兴通讯股份有限公司A kind of method, apparatus, equipment and the storage medium of determining terminal moving direction

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1897054A (en)*2005-07-142007-01-17松下电器产业株式会社Device and method for transmitting alarm according various acoustic signals
CN104394491A (en)*2014-12-092015-03-04北京奇虎科技有限公司Intelligent headset, cloud server, volume adjustment method and volume adjustment system
CN106488013A (en)*2016-09-272017-03-08维沃移动通信有限公司A kind of danger based reminding method and mobile terminal
CN106878849A (en)*2017-01-222017-06-20歌尔股份有限公司Wireless earphone device and artificial intelligence device
CN110139178A (en)*2018-02-022019-08-16中兴通讯股份有限公司A kind of method, apparatus, equipment and the storage medium of determining terminal moving direction
CN109120298A (en)*2018-08-302019-01-01歌尔科技有限公司A kind of earphone far field exchange method, earphone far field interaction accessory and wireless headset
CN109361987A (en)*2018-12-252019-02-19歌尔科技有限公司A kind of sports earphones and its control method, device, equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP4160565A1 (en)*2021-09-292023-04-05GN Hearing A/SA system for locating an electronic accessory device
CN114187920A (en)*2021-11-302022-03-15歌尔光学科技有限公司Head-mounted equipment and far-field sound processing method, device and system thereof
CN114745623A (en)*2022-02-282022-07-12歌尔股份有限公司Danger early warning method based on earphone, earphone device and storage medium

Also Published As

Publication numberPublication date
CN111696578B (en)2023-08-18

Similar Documents

PublicationPublication DateTitle
CN104902086B (en)Alarm clock ringing method and device
CN109029479B (en) Navigation reminder method and device, electronic device, and computer-readable storage medium
CN111696578B (en) A reminder method, device, earphone and earphone storage device
CN107749925B (en) Audio playback method and device
CN104092936A (en)Automatic focusing method and apparatus
CN109353297B (en)Volume adjustment method, device and computer readable storage medium
CN103200307A (en)Mobile terminal and control method thereof
CN104977010A (en)Navigation prompting method and apparatus
CN106024033B (en)Control method for playing back and device
CN111696577B (en)Reminding method, reminding device and earphone
CN105139874A (en)Navigation prompt method and apparatus
CN111739530A (en)Interaction method and device, earphone and earphone storage device
CN104867349A (en)Information prompting method and information prompting device
CN103902002A (en)Power supply managing method and device
CN105448085B (en)Go across the road reminding method, device and terminal device
WO2021244059A1 (en)Interaction method and device, earphone, and server
CN111739528A (en)Interaction method and device and earphone
CN106408682A (en)A prompting method and a promoting device
US10429852B2 (en)Methods and devices for controlling self-balancing vehicle to park
CN111698373A (en)Voice broadcasting method and device, earphone and earphone storage device
CN113380249B (en)Voice control method, device, equipment and storage medium
CN111741405B (en)Reminding method and device, earphone and server
CN104223611B (en)A kind of method and apparatus of Offered target move distance
CN105430193B (en)Method of adjustment, device and the terminal for volume of sending a telegram here
CN109712629B (en) Method and device for synthesizing audio files

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right
TA01Transfer of patent application right

Effective date of registration:20210705

Address after:100084 Room 802, 8th floor, building 9, yard 1, Zhongguancun East Road, Haidian District, Beijing

Applicant after:Beijing Sogou Intelligent Technology Co.,Ltd.

Address before:100084. Room 9, floor 01, cyber building, building 9, building 1, Zhongguancun East Road, Haidian District, Beijing

Applicant before:BEIJING SOGOU TECHNOLOGY DEVELOPMENT Co.,Ltd.

GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp