CN108833675A - The reminding method and device of extraneous voice messaging - Google Patents

The reminding method and device of extraneous voice messaging Download PDF

Info

Publication number
CN108833675A
CN108833675A CN201810480657.0A CN201810480657A CN108833675A CN 108833675 A CN108833675 A CN 108833675A CN 201810480657 A CN201810480657 A CN 201810480657A CN 108833675 A CN108833675 A CN 108833675A
Authority
CN
China
Prior art keywords
voice information
user
earphone
external voice
external
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.)
Pending
Application number
CN201810480657.0A
Other languages
Chinese (zh)
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.)
Chumen Wenwen Information Technology Co Ltd
Original Assignee
Chumen Wenwen Information Technology 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 Chumen Wenwen Information Technology Co Ltd filed Critical Chumen Wenwen Information Technology Co Ltd
Priority to CN201810480657.0A priority Critical patent/CN108833675A/en
Publication of CN108833675A publication Critical patent/CN108833675A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses the reminding methods and device of a kind of extraneous voice messaging, are related to voice technology field, and main purpose is to remind user to receive extraneous voice messaging and invent in time when user wears earphone.The method of the embodiment of the present invention includes:When determining user using earphone, extraneous voice messaging is obtained;By presetting sound bank, judges to whether there is preset voice messaging in the extraneous voice messaging, be stored in the default sound bank for carrying out matched preset voice messaging with the extraneous voice;If so, exporting prompt information to user.Prompting of the present invention for the realization external information during earphone wearing.

Description

Prompting method and device for external voice information
Technical Field
The embodiment of the invention relates to the technical field of voice, in particular to a method and a device for prompting external voice information.
Background
In people's daily life, each corner is being flooded to the noise, and people can choose to wear the earphone to realize the isolated to external environment usually in order to have comparatively quiet environment. Once the music meeting the requirements of the user can be heard, the external interference can be shielded.
At present, when a user wears the headset, some songs, music and other contents are usually played. However, in practical applications, when there is voice information that the user needs to hear outside, the user cannot receive the voice information in time due to the isolation of the earphone. If the user does not wear the earphone in order to hear the voice information in time, the user will be full of the interference of external noise or other sounds when the external world does not have the voice information that the user needs to receive, and therefore, the problem of poor user experience exists in the process of wearing the earphone by the user.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a method and an apparatus for prompting external voice information, and mainly aim to implement a prompt for receiving external voice information when a user wears an earphone.
In order to solve the foregoing technical problem, in a first aspect, an embodiment of the present invention provides a method for prompting external voice information, where the method includes:
when determining that the user uses the earphone, acquiring external voice information;
judging whether preset voice information exists in the external voice information or not through a preset voice library, wherein the preset voice library stores preset voice information used for matching with the external voice;
and if so, outputting prompt information to the user.
Optionally, before the determining whether the external voice information includes the preset voice information, the method further includes:
and constructing the preset voice library according to instruction information issued by a user.
Optionally, the acquiring the external voice information includes:
and acquiring the external voice information through a microphone arranged on the earphone.
Optionally, before determining that the user uses the headset and acquires the external voice information, the method further includes:
detecting whether the earphone is in a wearing state,
and/or, determining whether the earphone is in a working state;
if the earphone is detected to be in a wearing state,
and/or determining that the user is using the headset if the headset is determined to be in the working state.
Optionally, the outputting the prompt information to the user includes:
and closing the current playing source of the earphone, and playing the external voice information to the user through the earphone.
In a second aspect, an embodiment of the present invention further provides a device for prompting external voice information, where the device includes:
the acquisition unit is used for acquiring external voice information when the user is determined to use the earphone;
the judging unit is used for judging whether preset voice information exists in the external voice information or not through a preset voice library, and the preset voice information used for being matched with the external voice is stored in the preset voice library;
and the output unit is used for outputting prompt information to a user if the preset voice information exists in the external voice information.
Optionally, the apparatus further comprises:
and the construction unit is used for constructing the preset voice library according to the instruction information issued by the user.
Optionally, the obtaining unit includes:
and the acquisition module is used for acquiring the external voice information through a microphone arranged on the earphone.
Optionally, the apparatus further comprises:
the detection unit is used for detecting whether the earphone is in a wearing state;
a first determination unit for determining whether the earphone is in a working state;
a second determining unit, configured to determine that the user is using the headset if the headset is detected to be in a wearing state and/or if the headset is determined to be in a working state.
Optionally, the output unit includes;
the closing module is used for closing the current playing source of the earphone;
and the playing module is used for playing the external voice information to a user through the earphone.
In order to achieve the above object, according to a third aspect of the embodiments of the present invention, a storage medium is provided, where the storage medium includes a stored program, and when the program runs, a device where the storage medium is located is controlled to execute the above prompting method for external voice information.
In order to achieve the above object, according to a fourth aspect of the embodiments of the present invention, there is provided an electronic device, including one or more processors and a memory, where the memory is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more programs enable the one or more processors to implement the method for prompting external voice information as described above.
By means of the technical scheme, the method and the device for prompting the external voice information provided by the embodiment of the invention have the advantages that when the voice information which needs to be heard by a user exists outside, the user cannot receive the voice information in time due to the isolation of the earphone, and if the user does not wear the earphone, the user can suffer from the interference of external noise or other sounds, the embodiment of the invention obtains the external voice information when the user uses the earphone, then judges whether the preset voice information exists in the external voice information or not through the preset voice library, and outputs the prompting information to the user when judging that the preset voice information exists, thereby ensuring that the user can prompt the user in time when the voice information which needs to be received by the user exists outside in the process of wearing the earphone, and further avoiding the noise interference of the user, and prompt can be carried out in time when voice information needing to be received exists in the outside.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for prompting external voice information according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another prompting method for external voice information according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a prompting device for external voice information according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating another external voice message prompt apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating an electronic device for prompting an external voice message according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art.
In order to prompt a user to receive external voice information in time when the user wears an earphone, an embodiment of the present invention provides a method for prompting external voice information, and as shown in fig. 1, the method includes:
101. and when the user is determined to use the earphone, acquiring external voice information.
In the embodiment of the present invention, the earphone used by the user may be a headphone, which is worn on the head as the name implies, and is not inserted into the ear canal, and is different from an in-ear type earphone. Of course, other earphones, for example, in-ear earphones are also possible, and are not limited to this, and may be determined according to actual circumstances.
Generally, when a user uses the headset, the voice played inside the headset can be understood as internal voice information, and the voice outside the headset can be understood as external voice information, that is, the external voice information according to the embodiment of the present invention. Meanwhile, due to the isolation of the earphone, a user can only receive the internal voice information but cannot receive the external voice information in time, particularly the voice information required to be known by some users. For example, in the environment such as a bus and a subway, a user can play a stop name in the bus or the subway, and the voice information is external voice information that the user needs to know when taking the vehicles, so that the user needs to prompt the external voice information in time.
Therefore, in the embodiment of the invention, the external voice information can be acquired when the user uses the earphone. The acquisition mode can be acquired according to a microphone arranged on the earphone, and of course, the acquisition mode can also be acquired through other acquisition devices.
It should be noted that, in order to avoid unnecessary reminding operations caused by the method for prompting external voice information according to the embodiment of the present invention when the user does not use the headset, before the external voice information is acquired, it may be further determined whether the headset is in a use state, and when the user does not use the headset, the operation for acquiring external voice information may not be performed, so as to save system resources and consumption.
102. And judging whether the external voice information contains preset voice information or not through a preset voice library.
And the preset voice database stores preset voice information used for matching with the external voice.
When the external voice information is obtained in the foregoing step 101, it indicates that there is voice information outside when the user uses the headset, and in order to avoid omission of the voice information that the user pays attention to or needs to pay attention to due to isolation of the headset, in this step, it may be determined whether there is preset voice information in the preset voice library in the external voice information obtained in the foregoing step 101 according to the preset voice library. The preset voice library can be set according to the needs of the user, and the required preset voice is added into the preset voice library according to the needs of the user, so that when the user is determined to use the earphone, if the preset voice information exists in the external voice information, the user is prompted.
For example, according to the user requirement, a preset voice database may be added with a name "a" of a user in advance, and when the external voice information includes the name a of the user, according to the method described in the embodiment of the present invention, a judgment may be performed through the preset voice database to determine whether the external voice includes the name a, and then a subsequent prompt may be performed. Of course, according to the user requirements, when the user takes the bus, the preset voice information added in the preset voice database is a certain station name "B station", when the bus broadcasts the currently arriving station name, whether the "B station" exists in the external voice information can be judged according to the method in the step, and when the "B station" exists, corresponding prompt operation can be performed on the user according to the subsequent steps.
It should be noted that the preset voice information setting in the preset voice library in this step may be performed separately each time before the external voice information prompting method according to the embodiment of the present invention is used each time, or may be performed only once according to the default of the system, where the setting of the preset voice information is not specifically limited, and may be selected according to actual needs.
103. And if the preset voice information exists in the external voice information, outputting prompt information to the user.
According to the judgment of the step 102, when it is judged that the preset voice information exists in the external voice information, it indicates that the current external voice information contains voice which needs to be reminded of the user to receive, and therefore the user needs to be reminded. Specifically, in this step, a function of prompting the user may be implemented by outputting a prompt message to the user.
In the embodiment of the invention, the output mode of the prompt message to the user can be selected according to the actual situation. For example, when a user is listening to music through an earphone and a screen of a mobile phone connected to the earphone is in a display state, that is, when the user is listening to music and playing the mobile phone, a prompt message may be displayed at a mobile phone end through interaction between the earphone and the mobile phone to prompt the user in a visual manner. In addition, a reminding voice library can be set in advance, when preset voice exists in the external voice information, corresponding reminding voice can be selected according to the preset reminding voice library, and the voice is played through an earphone to remind in an auditory mode. Or, the external voice information can be collected through a microphone arranged in the earphone and then played by the earphone. Of course, in the embodiment of the present invention, the output manner of the prompt information to the user may include, but is not limited to, any one of the foregoing manners, and may also be combined according to actual needs, which is not limited herein and may be selected according to actual needs.
The prompting method of the external voice information provided by the embodiment of the invention has the advantages that when the voice information which needs to be heard by the user exists in the outside, due to the isolation of the earphone, the user cannot receive the voice information in time, and if the user does not wear the earphone, the user can be suffered from the interference of external noise or other sound, the invention acquires the external voice information when the user is determined to use the earphone, then judging whether preset voice information exists in the external voice information or not through a preset voice library, outputting prompt information to a user when judging that the preset voice information exists, thereby ensuring that when the user wears the earphone and voice information which needs to be received by the user exists outside, can carry out timely suggestion to the user, then can make the user remove noise interference from, can also carry out timely suggestion when the external voice message that exists and need receive.
Further, as a refinement and an extension of the embodiment shown in fig. 1, an embodiment of the present invention further provides another external voice information prompting method, as shown in fig. 2, which includes the specific steps of:
201. and constructing the preset voice library according to instruction information issued by a user.
In the embodiment of the present invention, in order to ensure the accuracy of external voice information prompt, in the embodiment of the present invention, first, a voice library including preset voice information that can be matched with external voice information, that is, a preset voice library, needs to be constructed according to the requirements of a user. Here, the construction process needs to be determined according to instruction information issued by a user, different preset voice information can be contained in the instruction information, meanwhile, the mode of issuing the instruction information can be carried out through the modes of keys or voice and the like, here, the number of the preset voice information in the construction process of the preset voice library and the mode of issuing the instruction information by the user are not specifically limited, and the selection can be carried out according to actual requirements.
Therefore, the preset voice library is constructed according to the instruction information issued by the user, the constructed preset voice library can be set according to the requirements of the user, and the voice library has flexibility. Meanwhile, according to the preset voice library, comparison with external voice information can be achieved according to the voice library in the subsequent process, and therefore support is provided for the prompting method of the external voice information.
202. Whether the earphone is in a wearing state is detected.
The method of the embodiment of the invention is used for prompting in time when the voice information required by the user exists outside when the user uses the earphone. Thus, prompting causes unnecessary system resource consumption in order to avoid unnecessary prompting, especially when the user is not using the headset. Therefore, in the embodiment of the present invention, before acquiring the external voice information, it is further necessary to determine whether the earphone is in the use state of the user. In this way, it may be detected whether the earphone is in a wearing state. Specifically, for the detection mode, the detection can be performed by a pressure sensor arranged on the earphone, and when the pressure sensor determines that a pressure signal exists, it indicates that the user is wearing the earphone, thereby confirming that the user is using the earphone. Of course, whether the headset is in a wearing state may also be detected by providing an infrared sensing device or a temperature sensing device on the headset. Here, the detection method may be any of the above, and is not limited herein. Or of course, the above-mentioned methods can be combined to ensure the accuracy of the detection result.
203. It is determined whether the headset is in an active state.
In this step, determining whether the earphone is in the working state may be performed according to whether a vibration device built in the earphone vibrates, or may be performed by determining a current or a voltage in the working state through an internal circuit structure.
It should be noted that, in the method according to the embodiment of the present invention, the method in step 202 and the method in step 203 are both for determining whether the earphone is currently in the user use state, and the sequence is not limited, and may be selected according to actual needs. Of course, only one of the two steps of the step 203 or the step 202 may be selected to be performed according to actual requirements, so as to reduce the consumption of the system. In addition, according to the method provided by the embodiment of the invention, the two methods can be simultaneously carried out, so that the accuracy of the detection result of whether the user uses the earphone can be further improved.
204. And when the user is determined to use the earphone, acquiring external voice information.
When the earphone is determined to be in the wearing state and the earphone is in the working state according to the method described in the foregoing steps 202 and 203, it indicates that the user is wearing the earphone and the earphone is in the working state, and indicates that the user is using the earphone. Therefore, when voice information exists outside, the voice information of the outside, namely the outside voice information, needs to be acquired. In the embodiment of the present invention, the description of the external voice information is consistent with the description in step 101 in the foregoing embodiment, and is not repeated herein.
According to the method in the step, when the outside voice information is acquired, the outside voice information can be acquired through a microphone arranged on the earphone. Therefore, the condition that the additional acquisition device is arranged to influence the portability of the earphone can be avoided, and meanwhile, the cost for additionally arranging the acquisition device can be reduced. Therefore, the step can be specifically realized by controlling the microphone to be opened when voice information exists outside, and acquiring the outside voice information to realize the function of acquiring the outside voice information.
205. And judging whether the external voice information contains preset voice information or not through a preset voice library.
In the foregoing step 201, a preset voice library is already constructed according to instruction information of a user, where preset voice information for matching with the external voice is stored in the preset voice library. Therefore, after the external voice information is acquired, matching may be performed according to the preset voice library set in the foregoing step 201, so as to determine whether the external voice information includes the preset voice information. In the judgment process, the existence of the external voice information can be determined according to an accurate judgment mode, namely, the external voice information contains all the preset voice information. Or the method can be carried out according to a fuzzy judgment mode, namely, the external voice information comprises partial information in the preset voice information, namely, the external voice information is determined to exist. Of course, the selection of the determination method may be specifically set according to the needs of the user, and is not specifically limited herein.
206. And outputting prompt information to the user if the preset voice information exists in the external voice information.
After the judgment of step 205, when the preset voice information exists in the external voice information, it indicates that the external voice information is required to be received by the user, and therefore, the user needs to be prompted to ensure that the user receives the voice information in time.
Since the external voice information is already acquired by the microphone in the step 204, in this step, the acquired external voice information can be played through the earphone, and meanwhile, in order to avoid the influence of the music or song being played by the earphone, the playing source currently being played by the earphone can be turned off in this step, so as to ensure that the user can accurately receive the external voice information played by the earphone. Specifically, the manner of outputting the prompt to the user may be: and closing the current playing source of the earphone, and playing the external voice information to the user through the earphone.
Therefore, the external voice information is played to the user through the earphone, so that the user can be reminded, the external voice information can be played in time, the external voice information is directly received by the user, and the prompting accuracy is improved. In addition, by closing the current playing source of the earphone, the interference of the current playing source can be avoided, and the accuracy of the prompt of the external voice information is further improved.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention further provides a device for prompting external voice information, which is used for implementing the method shown in fig. 1. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 3, the apparatus includes: an acquisition unit 31, a judgment unit 32, and an output unit 33, wherein
The obtaining unit 31 may be configured to obtain the external voice information when it is determined that the user uses the headset.
The determining unit 32 may be configured to determine whether preset voice information exists in the external voice information acquired by the acquiring unit 31 through a preset voice library, where the preset voice information used for matching with the external voice is stored in the preset voice library.
The output unit 33 may be configured to output a prompt message to a user if the determining unit 32 determines that the external voice message includes the preset voice message.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention further provides a device for prompting external voice information, which is used for implementing the method shown in fig. 2. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 4, the apparatus includes: an acquisition unit 41, a judgment unit 42, and an output unit 43, wherein
The obtaining unit 41 may be configured to obtain the external voice information when it is determined that the user uses the headset.
The determining unit 42 may be configured to determine whether there is preset voice information in the external voice information acquired by the acquiring unit 41 through a preset voice library, where preset voice information for matching with the external voice is stored in the preset voice library.
An output unit 43, configured to output a prompt message to a user if the determining unit 42 determines that the external voice message includes preset voice information.
Further, the apparatus further comprises:
the constructing unit 44 may be configured to construct the preset speech library according to instruction information issued by the user, so that the determining unit 42 performs determination according to the preset speech library.
Further, the acquiring unit 41 includes:
the collection module 411 may be configured to collect the external voice information through a microphone disposed on the earphone.
The device further comprises:
a detection unit 45, which can be used to detect whether the earphone is in a wearing state;
a first determining unit 46, which may be used to determine whether the earphone is in an operating state;
the second determining unit 47 may be configured to determine that the user is using the headset if the detecting unit 45 detects that the headset is in a wearing state and/or if the first determining unit 46 determines that the headset is in a working state.
Further, the output unit 43 includes;
a closing module 431, which may be configured to close a current playing source of the earphone;
the playing module 432 may be configured to play the external voice information to the user through the earphone.
With the above technical solutions, embodiments of the present invention provide a method and an apparatus for prompting external voice information. When voice information which needs to be heard by a user exists outside, the user cannot receive the voice information in time due to isolation of the earphone, and if the user does not wear the earphone, the user can suffer from interference of external noise or other sounds.
In addition, according to the instruction information that the user assigned, establish preset voice library can ensure that the preset voice library who establishes can set for according to user's demand, has the flexibility. Meanwhile, according to the preset voice library, comparison with external voice information can be achieved according to the voice library in the subsequent process, and therefore support is provided for the prompting method of the external voice information. In addition, the accuracy of the detection result of whether the user uses the earphone can be further improved by detecting whether the earphone is in a wearing state and determining whether the earphone is in a working state by adopting two methods simultaneously. In addition, the external voice information is collected through the microphone arranged on the earphone, the influence of an additional collection device on the portability of the earphone can be avoided, and meanwhile, the cost of the additional collection device can be reduced. Furthermore, the external voice information is played to the user through the earphone, so that the user can be reminded, the external voice information can be played in time, the external voice information is directly received by the user, and the prompting accuracy is improved. In addition, by closing the current playing source of the earphone, the interference of the current playing source can be avoided, and the accuracy of the prompt of the external voice information is further improved. And prompting the external voice information.
Further, an embodiment of the present invention further provides a structural block diagram of an electronic device, configured to execute the method for prompting an external voice message according to any of the above embodiments, as shown in fig. 5, where the electronic device includes a processor and a memory, the obtaining unit, the determining unit, the outputting unit, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. Specifically, the electronic device according to the embodiment of the present invention includes:
at least one processor (processor) 501;
and at least one memory (memory)502, a bus 503 connected to the processor 501; wherein,
the processor 501 and the memory 502 complete mutual communication through the bus 503;
the processor 501 is used to call program instructions in the memory 502 to perform the methods provided by the above-described method embodiments. The processor 501 includes a kernel, and the kernel calls a corresponding program unit from a memory. The kernel can be set to be one or more than one, and the kernel parameters are adjusted to ensure that the user is reminded of receiving external voice information in time when the user wears the earphone.
The memory 502 may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory 502 includes at least one memory chip.
Further, an embodiment of the present invention provides a storage medium, where a program is stored, and when the program is executed by a processor, the method for prompting the external voice information is implemented.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for prompting external voice information is characterized by comprising the following steps:
when determining that the user uses the earphone, acquiring external voice information;
judging whether preset voice information exists in the external voice information or not through a preset voice library, wherein the preset voice library stores preset voice information used for matching with the external voice;
and if so, outputting prompt information to the user.
2. The method according to claim 1, wherein before said determining whether the external voice information has the preset voice information, the method further comprises:
and constructing the preset voice library according to instruction information issued by a user.
3. The method of claim 2, wherein the obtaining the external voice information comprises:
and acquiring the external voice information through a microphone arranged on the earphone.
4. The method of claim 3, wherein determining that the user is using the headset comprises:
detecting whether the earphone is in a wearing state,
and/or, determining whether the earphone is in a working state;
if the earphone is detected to be in a wearing state,
and/or determining that the user is using the headset if the headset is determined to be in the working state.
5. The method according to any one of claims 1-4, wherein outputting the prompt to the user comprises:
and closing the current playing source of the earphone, and playing the external voice information to the user through the earphone.
6. An external voice information prompting device is characterized by comprising:
the acquisition unit is used for acquiring external voice information when the user is determined to use the earphone;
the judging unit is used for judging whether preset voice information exists in the external voice information or not through a preset voice library, and the preset voice information used for being matched with the external voice is stored in the preset voice library;
and the output unit is used for outputting prompt information to a user if the preset voice information exists in the external voice information.
7. The apparatus of claim 6, further comprising:
and the construction unit is used for constructing the preset voice library according to the instruction information issued by the user.
8. The apparatus of claim 7, wherein the obtaining unit comprises:
and the acquisition module is used for acquiring the external voice information through a microphone arranged on the earphone.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the prompting method of the external voice information according to any one of claims 1 to 5.
10. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for prompting external voice information as claimed in any one of claims 1 to 5.
CN201810480657.0A 2018-05-18 2018-05-18 The reminding method and device of extraneous voice messaging Pending CN108833675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810480657.0A CN108833675A (en) 2018-05-18 2018-05-18 The reminding method and device of extraneous voice messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810480657.0A CN108833675A (en) 2018-05-18 2018-05-18 The reminding method and device of extraneous voice messaging

Publications (1)

Publication Number Publication Date
CN108833675A true CN108833675A (en) 2018-11-16

Family

ID=64147835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810480657.0A Pending CN108833675A (en) 2018-05-18 2018-05-18 The reminding method and device of extraneous voice messaging

Country Status (1)

Country Link
CN (1) CN108833675A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451390A (en) * 2018-12-25 2019-03-08 歌尔科技有限公司 A kind of TWS earphone and its control method, device, equipment
CN111326159A (en) * 2020-03-10 2020-06-23 苏宁云计算有限公司 Voice recognition method, device and system
CN113194396A (en) * 2021-04-23 2021-07-30 歌尔股份有限公司 Hearing aid, method of controlling the same, and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840700A (en) * 2010-04-28 2010-09-22 宇龙计算机通信科技(深圳)有限公司 Voice recognition method based on mobile terminal and mobile terminal
CN102624980A (en) * 2012-03-06 2012-08-01 惠州Tcl移动通信有限公司 Method for detecting abrupt environment and prompting based on earphone of mobile phone and mobile phone
CN105225662A (en) * 2015-08-24 2016-01-06 深圳市冠旭电子有限公司 Smart bluetooth earphone plays method and the smart bluetooth earphone of external voice automatically
KR20160028651A (en) * 2014-09-04 2016-03-14 주식회사 코윈디에스티 Safety Earphone
CN105528440A (en) * 2015-12-17 2016-04-27 合肥联宝信息技术有限公司 Information prompting method and system and electronic equipment
CN105554664A (en) * 2015-12-22 2016-05-04 王晓晖 Headset based sound processing method and apparatus, and headset
CN107147795A (en) * 2017-05-24 2017-09-08 上海与德科技有限公司 A kind of reminding method and mobile terminal
CN107357549A (en) * 2017-07-13 2017-11-17 联想(北京)有限公司 A kind of processing method and wearable electronic
CN107799117A (en) * 2017-10-18 2018-03-13 倬韵科技(深圳)有限公司 Key message is identified to control the method, apparatus of audio output and audio frequency apparatus
CN107863110A (en) * 2017-12-14 2018-03-30 西安Tcl软件开发有限公司 Safety prompt function method, intelligent earphone and storage medium based on intelligent earphone

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840700A (en) * 2010-04-28 2010-09-22 宇龙计算机通信科技(深圳)有限公司 Voice recognition method based on mobile terminal and mobile terminal
CN102624980A (en) * 2012-03-06 2012-08-01 惠州Tcl移动通信有限公司 Method for detecting abrupt environment and prompting based on earphone of mobile phone and mobile phone
KR20160028651A (en) * 2014-09-04 2016-03-14 주식회사 코윈디에스티 Safety Earphone
CN105225662A (en) * 2015-08-24 2016-01-06 深圳市冠旭电子有限公司 Smart bluetooth earphone plays method and the smart bluetooth earphone of external voice automatically
CN105528440A (en) * 2015-12-17 2016-04-27 合肥联宝信息技术有限公司 Information prompting method and system and electronic equipment
CN105554664A (en) * 2015-12-22 2016-05-04 王晓晖 Headset based sound processing method and apparatus, and headset
CN107147795A (en) * 2017-05-24 2017-09-08 上海与德科技有限公司 A kind of reminding method and mobile terminal
CN107357549A (en) * 2017-07-13 2017-11-17 联想(北京)有限公司 A kind of processing method and wearable electronic
CN107799117A (en) * 2017-10-18 2018-03-13 倬韵科技(深圳)有限公司 Key message is identified to control the method, apparatus of audio output and audio frequency apparatus
CN107863110A (en) * 2017-12-14 2018-03-30 西安Tcl软件开发有限公司 Safety prompt function method, intelligent earphone and storage medium based on intelligent earphone

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451390A (en) * 2018-12-25 2019-03-08 歌尔科技有限公司 A kind of TWS earphone and its control method, device, equipment
CN111326159A (en) * 2020-03-10 2020-06-23 苏宁云计算有限公司 Voice recognition method, device and system
CN113194396A (en) * 2021-04-23 2021-07-30 歌尔股份有限公司 Hearing aid, method of controlling the same, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
EP3547712B1 (en) Method for processing signals, terminal device, and non-transitory readable storage medium
US11521632B2 (en) Personal audio assistant device and method
ES2868242T3 (en) Method for processing signals, terminal device and non-transient computer-readable storage medium
US10349176B1 (en) Method for processing signals, terminal device, and non-transitory computer-readable storage medium
CN108391205B (en) Left and right channel switching method and device, readable storage medium and terminal
CN108540900B (en) Volume adjusting method and related product
US11638083B2 (en) Earphone abnormality processing method, earphone, system, and storage medium
CN108540660B (en) Voice signal processing method and device, readable storage medium and terminal
CN108833675A (en) The reminding method and device of extraneous voice messaging
US10582290B2 (en) Earpiece with tap functionality
CN111246039A (en) Incoming call reminding method and device, communication equipment, storage medium and processor
US11450331B2 (en) Personal audio assistant device and method
CN111294689B (en) Voice information acquisition method and device and wireless earphone device
CN111766548A (en) Information prompting method and device, electronic equipment and readable storage medium
CN104794074B (en) External equipment recognition methods and device
WO2019061292A1 (en) Noise reduction method for terminal and terminal
CN109119101B (en) Audio data processing method and device and mobile terminal
CN111370034A (en) Method and device for synchronous recording and wireless earphone charging equipment
CN105338163A (en) Method of realizing communication, apparatus and multi-card mobile phone
CN107423950A (en) Alarm clock setting method and device
KR20220064335A (en) Method for monitoring auditory using hearing ear earphones and the system thereof
CN106487989A (en) Information sending, receiving method, device and terminal
CN108551648A (en) Quality determining method and device, readable storage medium storing program for executing, terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181116