CN111476955A - Volume adjusting method and device of voice broadcasting equipment - Google Patents

Volume adjusting method and device of voice broadcasting equipment Download PDF

Info

Publication number
CN111476955A
CN111476955A CN202010566071.3A CN202010566071A CN111476955A CN 111476955 A CN111476955 A CN 111476955A CN 202010566071 A CN202010566071 A CN 202010566071A CN 111476955 A CN111476955 A CN 111476955A
Authority
CN
China
Prior art keywords
volume
voice
condition
target
historical
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
CN202010566071.3A
Other languages
Chinese (zh)
Other versions
CN111476955B (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.)
AlipayCom Co ltd
Original Assignee
Alipay Hangzhou 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010566071.3A priority Critical patent/CN111476955B/en
Publication of CN111476955A publication Critical patent/CN111476955A/en
Application granted granted Critical
Publication of CN111476955B publication Critical patent/CN111476955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0316Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
    • G10L21/0324Details of processing therefor
    • G10L21/034Automatic adjustment
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

An embodiment of the present specification provides a volume adjustment method and device for a voice broadcast device, and the method includes: the voice broadcasting equipment determines that a first voice prompt tone needs to be broadcasted; the voice broadcasting equipment judges whether a first condition and a second condition are met; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold; if the voice broadcasting equipment judges that the first condition and the second condition are met, adjusting the volume to be a target volume based on the current environmental noise; the voice broadcasting equipment broadcasts the first voice prompt tone according to the target volume. The use habits of the users can be considered, and the broadcasting of important voice can be realized.

Description

Volume adjusting method and device of voice broadcasting equipment
Technical Field
One or more embodiments of the present disclosure relate to the field of computers, and in particular, to a volume adjustment method and apparatus for a voice broadcast device.
Background
Currently, a series of voice broadcasting devices, such as mobile phones, televisions, radios, and payment devices, etc., are emerging. Due to the usage habits of the user, the voice broadcasting device may be set to mute or adjust the volume to a very small volume value so that the user cannot hear the broadcasting of important voice.
Taking payment equipment as an example, internet of things (IoT) related equipment with a payment function, called payment equipment for short, can guide a user to quickly complete payment operations such as prompting to scan codes, swiping faces, confirming passwords, confirming payment results with cashiers and the like by accessing a voice broadcast function; under the mute condition of the payment equipment, the loss of voice prompt ensures that a cashier and a user cannot perceive the payment condition, the communication cost is easily increased, the cash registering efficiency is reduced, and even the money loss caused by bill missing appears. And if the payment device is forced to be silent, the cash register is inconvenient to use and even daily life is affected.
Therefore, an improved scheme is desired to adjust the volume of the voice broadcasting device, take the use habits of users into consideration, and realize the broadcasting of important voice.
Disclosure of Invention
One or more embodiments of the present specification describe a volume adjustment method and apparatus for a voice broadcast device, which can give consideration to the usage habits of users and implement broadcast of important voices.
In a first aspect, a volume adjustment method for a voice broadcast device is provided, where the method includes:
the voice broadcasting equipment determines that a first voice prompt tone needs to be broadcasted;
the voice broadcasting equipment judges whether a first condition and a second condition are met; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold;
if the voice broadcasting equipment judges that the first condition and the second condition are met, adjusting the volume to be a target volume based on the current environmental noise;
the voice broadcasting equipment broadcasts the first voice prompt tone according to the target volume.
In one possible implementation, the voice broadcasting device is a payment device;
the payment equipment confirms that first voice prompt tone needs to be broadcasted, including:
the payment equipment executes a first transaction associated with a target user, and determines that a first voice prompt tone needs to be broadcasted when the first transaction is not completed; alternatively, the first and second electrodes may be,
the payment device executes a first transaction associated with a target user, and determines that a first voice prompt tone needs to be broadcast after the first transaction is completed.
In one possible implementation, the voice broadcasting device is a payment device; the method further comprises the following steps:
presetting a first grade corresponding to the importance of voice prompt tones strongly related to payment and a second grade corresponding to the importance of voice prompt tones not strongly related to payment, wherein the first grade is higher than the second grade;
the payment device determining whether the first condition is satisfied includes:
and the payment equipment judges whether the importance of the first voice prompt tone is higher than the second grade or not, and determines that the first condition is met when the importance of the first voice prompt tone is judged to be higher than the second grade.
In one possible embodiment, the method further comprises:
if the voice broadcasting equipment judges that the first condition is not met, the first voice prompt tone is broadcasted according to the current volume.
In one possible embodiment, the method further comprises:
if the voice broadcasting equipment judges that the second condition is not met, the first voice prompt tone is broadcasted according to the current volume.
In one possible embodiment, the adjusting the volume to the target volume based on the current environmental noise includes:
acquiring current environmental noise;
determining a target difference value according to a historical difference value of the historical volume and the historical environmental noise;
and adjusting the volume to be the target volume according to the current environmental noise and the target difference value.
Further, the determining a target difference value according to the historical difference value between the historical volume and the historical environmental noise includes:
acquiring various pre-stored historical differences of historical volume and historical environmental noise and service time corresponding to the historical differences respectively;
and selecting the history difference with the longest use time from the history differences as a target difference.
Further, the historical difference is stored when the user manually changes the volume.
Further, the adjusting the volume to a target volume according to the current environmental noise and the target difference value includes:
summing the current environmental noise and the target difference value to obtain initial volume;
if the initial volume is between the preset volume minimum value and volume maximum value, determining the initial volume as the target volume;
if the initial volume is smaller than the minimum volume, determining the minimum volume as the target volume;
if the initial volume is larger than the maximum volume, determining the maximum volume as the target volume;
and adjusting the volume to the target volume.
In a possible implementation, before adjusting the volume to the target volume based on the current ambient noise, the method further includes:
if the voice broadcasting equipment judges that the first condition and the second condition are met, recording a first volume value of the current volume;
after the voice broadcast device broadcasts the first voice prompt tone at the target volume, the method further comprises:
the voice broadcast equipment resets the volume to the first volume value.
In a second aspect, a volume adjusting device of a voice broadcasting device is provided, the device comprising:
the determining unit is used for determining that the first voice prompt tone needs to be broadcasted;
a judging unit configured to judge whether a first condition and a second condition are satisfied; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold;
the adjusting unit is used for adjusting the volume to be the target volume based on the current environmental noise if the judging unit judges that the first condition and the second condition are met;
and the broadcasting unit is used for broadcasting the first voice prompt tone according to the target volume adjusted by the adjusting unit.
In a third aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method of the first aspect.
In a fourth aspect, there is provided a computing device comprising a memory having stored therein executable code and a processor that, when executing the executable code, implements the method of the first aspect.
According to the method and the device provided by the embodiment of the specification, firstly, the voice broadcasting equipment determines that a first voice prompt tone needs to be broadcasted; then, the voice broadcasting equipment does not directly broadcast the first voice prompt tone at the current volume, but firstly judges whether a first condition and a second condition are met; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold; if the voice broadcasting equipment judges that the first condition and the second condition are met, adjusting the volume to be a target volume based on the current environmental noise; and finally, the voice broadcasting equipment broadcasts the first voice prompt tone according to the target volume. It is thus clear that this specification embodiment, based on the importance and the current volume of first voice prompt tone, the volume of intelligent regulation voice broadcast equipment to can compromise user's use habit, and realize the report of important pronunciation.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an implementation scenario of an embodiment disclosed herein;
fig. 2 shows a flow chart of a volume adjustment method of a voice broadcasting device according to an embodiment;
fig. 3 shows a schematic block diagram of a volume adjusting device of a voice broadcasting apparatus according to an embodiment.
Detailed Description
The scheme provided by the specification is described below with reference to the accompanying drawings.
Fig. 1 is a schematic view of an implementation scenario of an embodiment disclosed in this specification. The implementation scenario relates to volume adjustment of a voice broadcast device. It is understood that the voice broadcasting device may be any device having a voice broadcasting function, and in addition to the voice broadcasting function, the device may have, but not limited to, additional functions such as communication, video playing or payment, for example, a mobile phone, a television, a radio, a payment device, and the like. Due to the usage habits of the user, the voice broadcasting device may be set to mute or adjust the volume to a very small volume value so that the user cannot hear the broadcasting of important voice. Fig. 1 shows a typical payment scenario in which a user completes a transaction by using a merchant-side device 11 and a user-side device 12, where the merchant-side device 11 is an internet of things (IoT) related device with a payment function, called payment device for short, and the payment device can guide the user to quickly complete a payment operation by accessing a voice broadcast function, such as prompting to scan a code, swiping a face, confirming a password, confirming a payment result with a cashier, and the like; under the mute condition of the payment equipment, the loss of voice prompt ensures that a cashier and a user cannot perceive the payment condition, the communication cost is easily increased, the cash registering efficiency is reduced, and even the money loss caused by bill missing appears. And if the payment device is forced to be silent, the cash register is inconvenient to use and even daily life is affected.
According to the embodiment of the specification, the volume of the voice broadcasting equipment is adjusted according to the importance of the audio content to be broadcasted, the use habits of users can be considered, and important voice broadcasting is achieved.
Fig. 2 is a flowchart illustrating a volume adjustment method of a voice broadcasting device according to an embodiment, which may be based on the implementation scenario illustrated in fig. 1. As shown in fig. 2, the volume adjusting method of the voice broadcasting device in this embodiment includes the following steps: step 21, the voice broadcasting equipment determines that a first voice prompt tone needs to be broadcasted; step 22, the voice broadcasting equipment judges whether a first condition and a second condition are met; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold; step 23, if the voice broadcasting device judges that the first condition and the second condition are met, adjusting the volume to be a target volume based on the current environmental noise; and step 24, the voice broadcasting equipment broadcasts the first voice prompt tone according to the target volume. Specific execution modes of the above steps are described below.
First, in step 21, the voice broadcasting device determines that a first voice prompt tone needs to be broadcasted. It can be understood that, if the voice broadcast device is a payment device, step 21 may specifically occur when a transaction is started, or during a transaction, or after a transaction is completed.
If the voice broadcast equipment is payment equipment, wherein, the concrete broadcast content of above-mentioned first voice prompt tone may be strongly relevant with payment, also may not be strongly relevant with payment, for example, first voice prompt tone may be for scanning code prompt tone, input password prompt tone after sweeping the code by a large amount, pay failure prompt tone etc. and pay strongly relevant broadcast content, first voice prompt tone may also be for greeting, finish, advertisement etc. and pay non-strongly relevant broadcast content.
In one example, the payment device executes a first transaction associated with a target user, and when the first transaction is not completed, determines that a first voice prompt tone needs to be broadcast; alternatively, the first and second electrodes may be,
the payment device executes a first transaction associated with a target user, and determines that a first voice prompt tone needs to be broadcast after the first transaction is completed.
After the transaction is completed, voice prompt tones can be broadcasted for prompting the amount of the account, or reminding the merchant of successful payment.
It should be noted that the voice broadcasting device may be, but is not limited to, a payment device, and accordingly, the time for broadcasting the first voice prompt tone and the content of the first voice prompt tone are widely covered, for example, the voice broadcasting device is a navigation device, and can determine that the first voice prompt tone needs to be broadcast in the navigation process, and the first voice prompt tone is used for reminding a traffic jam ahead; or the voice broadcasting equipment is a television, and a first voice prompt tone can be determined to be broadcasted in a starting or standby state, wherein the first voice prompt tone is used for reminding a tsunami or an emergency such as an earthquake.
Then, in step 22, the voice broadcasting device judges whether a first condition and a second condition are satisfied; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold. It can be understood that the voice broadcast device determines whether the first condition and the second condition are satisfied at the same time, and as long as one condition is not satisfied, the voice broadcast device is regarded as not satisfying the first condition and the second condition.
In one example, the voice broadcasting device may first determine whether a first condition is satisfied, and when the first condition is satisfied, then determine whether a second condition is satisfied; when the first condition is not satisfied, it is not necessary to judge whether the second condition is satisfied.
For the first condition, it can be understood that, according to different broadcast contents, various voice prompt tones can be divided into at least two levels in advance, and the voice prompt tones of different levels correspond to different importance.
In one example, the voice broadcast device is a payment device; the importance of the voice prompt tone strongly related to payment is preset to correspond to a first grade, the importance of the voice prompt tone not strongly related to payment is preset to correspond to a second grade, and the first grade is higher than the second grade. Based on this example, step 22 specifically includes: and the payment equipment judges whether the importance of the first voice prompt tone is higher than the second grade or not, and determines that the first condition is met when the importance of the first voice prompt tone is judged to be higher than the second grade. That is, it is determined whether the importance of the first voice prompt is the first level to determine whether a first condition is satisfied.
In the example, through the judgment of relevance between the voice prompt tone and the payment operation, the broadcasting of the important voice prompt tone under the condition of equipment silence or small volume is realized, the blockage of the payment link caused by no voice prompt or small volume is avoided, and the cash registering efficiency is improved.
In one example, if the voice broadcasting device determines that the first condition is not satisfied, the first voice prompt tone is broadcasted at the current volume.
For the second condition, it can be understood that if the current volume is in a mute state or the volume is small, it indicates that the subjective intention of the user may not wish to perform voice broadcast; if the current volume is not in a mute state or the volume is larger, the fact that the user's subjective intention may want to perform voice broadcasting is indicated.
In the embodiment of the present specification, the preset threshold may be set to a smaller volume value, and when the volume is lower than the preset threshold, effective broadcast of the voice prompt tone cannot be realized.
In one example, if the voice broadcasting device determines that the second condition is not satisfied, the first voice prompt tone is broadcasted at the current volume.
Next, in step 23, if the voice broadcast device determines that the first condition and the second condition are satisfied, the volume is adjusted to the target volume based on the current environmental noise. It is understood that the decibel value of the ambient noise is dynamically changing, and sometimes the decibel value of the ambient noise is high, such as when people crowd; sometimes the decibel value of the ambient noise is low, e.g., quiet. The volume is adjusted to be the target volume based on the current environmental noise, so that the target volume is more reasonable and meets the user requirements in different environments.
In one example, the adjusting the volume to a target volume based on the current ambient noise includes:
acquiring current environmental noise;
determining a target difference value according to a historical difference value of the historical volume and the historical environmental noise;
and adjusting the volume to be the target volume according to the current environmental noise and the target difference value.
It can be understood that the payment device may collect the current environmental noise through the microphone to obtain a decibel value of the current environmental noise. In the embodiments of the present specification, the decibel value of the current environmental noise is simply referred to as the current environmental noise.
Further, the determining a target difference value according to the historical difference value between the historical volume and the historical environmental noise includes:
acquiring various pre-stored historical differences of historical volume and historical environmental noise and service time corresponding to the historical differences respectively;
and selecting the history difference with the longest use time from the history differences as a target difference.
The following explains how to select the target difference value by way of example, referring to the table of correspondence between each history difference value and the usage time shown in table one.
Table one: corresponding relation table of each historical difference value and service time
Historical difference Time of use
D1 Ten months old
D2 One month
D3 Three days
As can be seen from table one, the usage time corresponding to the history difference D1 is ten months, the usage time corresponding to the history difference D2 is one month, and the usage time corresponding to the history difference D3 is three days, where the usage time corresponding to the history difference D1 is the longest, and therefore the history difference D1 is selected as the target difference.
Further, the history difference is stored when the user manually changes the volume, and the usage time may be determined according to a time interval between two changes of the volume. That is, when the user manually changes the volume, the difference D = X-Y (decibel) between the current system volume X (decibel) and the environmental noise Y (decibel) is saved.
Further, in another example, the determining a target difference value according to a historical difference value of the historical volume and the historical environmental noise includes:
acquiring various pre-stored historical differences of historical volume and historical environmental noise and updating moments corresponding to the historical differences respectively;
and selecting the history difference value which is closest to the current time at the updating time as a target difference value from the history difference values.
How to select the target difference is described below by way of example, see the table of correspondence between the history differences and the update time shown in table two.
Table two: corresponding relation table of each historical difference value and updating time
Historical difference Update time of day
D1 35 points on 1/10/2019
D2 13 o 20 points in 12, 15 and 2019
D3 8 o' clock 18 points on 1 month and 1 day of 2020
As can be seen from table two, the update time corresponding to the historical difference D1 is 35 points at 9 points on 1/10/15/2019, the update time corresponding to the historical difference D2 is 20 points at 13 points on 15/12/2019, and the update time corresponding to the historical difference D3 is 18 points at 8 points on 1/2020, wherein the update time corresponding to the historical difference D3 is closest to the current time, and therefore the historical difference D3 is selected as the target difference.
Further, the history difference is stored when the user manually changes the volume, and the update time may be determined according to the stored time.
Further, the adjusting the volume to a target volume according to the current environmental noise and the target difference value includes:
summing the current environmental noise and the target difference value to obtain initial volume;
if the initial volume is between the preset volume minimum value and volume maximum value, determining the initial volume as the target volume;
if the initial volume is smaller than the minimum volume, determining the minimum volume as the target volume;
if the initial volume is larger than the maximum volume, determining the maximum volume as the target volume;
and adjusting the volume to the target volume.
For example, the adjustable volume range is preset to [ D _ min, D _ max ] db. And obtaining the current environmental noise E decibel, wherein the target volume is E + D1 decibels. If D _ min < = E + D1< = D _ max, adjusting the volume to E + D1 decibels; if E + D1< D _ min, adjusting the volume to D _ min decibel; if E + D1> D _ max, the volume is adjusted to D _ max decibels.
In the embodiment of the specification, the range of the adjustable volume is preset, so that the damage of the adjusted volume to human ears can be avoided. Moreover, when the volume is adjusted, the habit of the user and the environmental noise are comprehensively considered, the volume is adjusted more reasonably, the negative emotion brought to the user by too large volume in a quiet environment is avoided, and the problem that the too small volume does not play a role in prompting in a noisy environment is solved.
And finally, in step 24, the voice broadcasting equipment broadcasts the first voice prompt tone according to the target volume. It will be appreciated that different voice prompts may be broadcast at different volumes.
In one example, if the voice broadcasting device determines that the first condition and the second condition are met, recording a first volume value of a current volume, and then adjusting the volume to a target volume based on a current environmental noise; after the voice broadcast equipment broadcasts the first voice prompt tone with the target volume, the voice broadcast equipment resets the volume to the first volume value.
It will be appreciated that when in a mute state, a first volume value of 0 may be recorded to mark the mute state.
This example gives the volume control right to the user of the voice broadcast device (e.g., a cashier using the payment device), and in a silent state or at a small volume, ensures the broadcast of important prompt tones, for example, improves the fluency of the payment link in the payment scene, and after the broadcast is completed, resets the volume to the silent state, thereby ensuring the volume control right of the user.
According to the method provided by the embodiment of the specification, firstly, the voice broadcasting equipment determines that a first voice prompt tone needs to be broadcasted; then, the voice broadcasting equipment does not directly broadcast the first voice prompt tone at the current volume, but firstly judges whether a first condition and a second condition are met; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold; if the voice broadcasting equipment judges that the first condition and the second condition are met, adjusting the volume to be a target volume based on the current environmental noise; and finally, the voice broadcasting equipment broadcasts the first voice prompt tone according to the target volume. It is thus clear that this specification embodiment, based on the importance and the current volume of first voice prompt tone, the volume of intelligent regulation voice broadcast equipment to can compromise user's use habit, and realize the report of important pronunciation.
According to another embodiment, a volume adjusting device of a voice broadcast device is also provided, and the device is used for executing the volume adjusting method of the voice broadcast device provided by the embodiment of the present specification. Fig. 3 shows a schematic block diagram of a volume adjusting device of a voice broadcasting apparatus according to an embodiment. As shown in fig. 3, the apparatus 300 includes:
a determining unit 31, configured to determine that a first voice prompt tone needs to be broadcast;
a judgment unit 32 for judging whether a first condition and a second condition are satisfied; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold;
an adjusting unit 33, configured to adjust a volume to a target volume based on the current ambient noise if the determining unit 32 determines that the first condition and the second condition are satisfied;
and the broadcasting unit 34 is used for broadcasting the first voice prompt tone according to the target volume adjusted by the adjusting unit 33.
Optionally, as an embodiment, the voice broadcasting device is a payment device; the determining unit 31 is specifically configured to execute a first transaction associated with a target user by the payment device, and determine that a first voice prompt tone needs to be broadcasted when the first transaction is not completed; or the payment equipment executes a first transaction associated with the target user, and determines that a first voice prompt tone needs to be broadcasted after the first transaction is completed.
Optionally, as an embodiment, the voice broadcasting device is a payment device; the device further comprises:
the payment processing device comprises a setting unit and a processing unit, wherein the setting unit is used for presetting a first grade corresponding to the importance of voice prompt tones strongly related to payment and a second grade corresponding to the importance of voice prompt tones not strongly related to payment, and the first grade is higher than the second grade;
the determining unit 32 is specifically configured to determine whether the importance of the first voice prompt is higher than the second level, and determine that the first condition is satisfied when the importance of the first voice prompt is higher than the second level.
Optionally, as an embodiment, the broadcasting unit 34 is further configured to broadcast the first voice prompt tone at the current volume if the determining unit 32 determines that the first condition is not met.
Optionally, as an embodiment, the broadcasting unit 34 is further configured to broadcast the first voice prompt tone at the current volume if the determining unit determines that the second condition is not met.
Optionally, as an embodiment, the adjusting unit 33 specifically includes:
the acquisition subunit is used for acquiring the current environmental noise;
the determining subunit is used for determining a target difference value according to the historical difference value of the historical volume and the historical environmental noise;
and the adjusting subunit is used for adjusting the volume to the target volume according to the current environmental noise acquired by the acquiring subunit and the target difference determined by the determining subunit.
Further, the determining subunit includes:
the acquisition module is used for acquiring various pre-stored historical difference values of historical volume and historical environmental noise and the service time corresponding to the historical difference values respectively;
and the determining module is used for selecting the history difference with the longest service time from the history differences acquired by the acquiring module as the target difference.
Further, the historical difference is stored when the user manually changes the volume.
Further, the adjusting subunit includes:
the summation module is used for carrying out summation operation on the current environmental noise and the target difference value to obtain initial volume;
the first determining module is used for determining the initial volume as the target volume if the initial volume obtained by the summing module is between the preset volume minimum value and volume maximum value;
a second determining module, configured to determine the minimum volume value as the target volume if the initial volume is smaller than the minimum volume value;
a third determining module, configured to determine the maximum volume value as the target volume if the initial volume is greater than the maximum volume value;
and the adjusting module is used for adjusting the volume to be the target volume.
Optionally, as an embodiment, the apparatus further includes:
a recording unit, configured to record a first volume value of the current volume if the determining unit 32 determines that the first condition and the second condition are satisfied before the adjusting unit 33 adjusts the volume to a target volume based on the current environmental noise;
and the resetting unit is used for resetting the volume to the first volume value after the broadcasting unit 34 broadcasts the first voice prompt tone by the target volume.
With the device provided in the embodiment of the present specification, first, the determining unit 31 determines that a first voice prompt tone needs to be broadcast; then, the broadcast unit 34 does not directly broadcast the first voice prompt tone at the current volume, but first judges whether the first condition and the second condition are satisfied by the judgment unit 32; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold; if the judging unit 32 judges that the first condition and the second condition are satisfied, the adjusting unit 33 adjusts the volume to a target volume based on the current environmental noise; and finally, the broadcasting unit 34 broadcasts the first voice prompt tone at the target volume. It is thus clear that this specification embodiment, based on the importance and the current volume of first voice prompt tone, the volume of intelligent regulation voice broadcast equipment to can compromise user's use habit, and realize the report of important pronunciation.
According to an embodiment of another aspect, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method described in connection with fig. 2.
According to an embodiment of yet another aspect, there is also provided a computing device comprising a memory having stored therein executable code, and a processor that, when executing the executable code, implements the method described in connection with fig. 2.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (22)

1. A volume adjusting method of a voice broadcasting device comprises the following steps:
the voice broadcasting equipment determines that a first voice prompt tone needs to be broadcasted;
the voice broadcasting equipment judges whether a first condition and a second condition are met; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold;
if the voice broadcasting equipment judges that the first condition and the second condition are met, adjusting the volume to be a target volume based on the current environmental noise;
the voice broadcasting equipment broadcasts the first voice prompt tone according to the target volume.
2. The method of claim 1, wherein the voice announcement device is a payment device;
the payment equipment confirms that first voice prompt tone needs to be broadcasted, including:
the payment equipment executes a first transaction associated with a target user, and determines that a first voice prompt tone needs to be broadcasted when the first transaction is not completed; alternatively, the first and second electrodes may be,
the payment device executes a first transaction associated with a target user, and determines that a first voice prompt tone needs to be broadcast after the first transaction is completed.
3. The method of claim 1, wherein the voice announcement device is a payment device; the method further comprises the following steps:
presetting a first grade corresponding to the importance of voice prompt tones strongly related to payment and a second grade corresponding to the importance of voice prompt tones not strongly related to payment, wherein the first grade is higher than the second grade;
the payment device determining whether the first condition is satisfied includes:
and the payment equipment judges whether the importance of the first voice prompt tone is higher than the second grade or not, and determines that the first condition is met when the importance of the first voice prompt tone is judged to be higher than the second grade.
4. The method of claim 1, wherein the method further comprises:
if the voice broadcasting equipment judges that the first condition is not met, the first voice prompt tone is broadcasted according to the current volume.
5. The method of claim 1, wherein the method further comprises:
if the voice broadcasting equipment judges that the second condition is not met, the first voice prompt tone is broadcasted according to the current volume.
6. The method of claim 1, wherein the adjusting the volume to a target volume based on the current ambient noise comprises:
acquiring current environmental noise;
determining a target difference value according to a historical difference value of the historical volume and the historical environmental noise;
and adjusting the volume to be the target volume according to the current environmental noise and the target difference value.
7. The method of claim 6, wherein determining a target difference based on historical differences of historical volume and historical ambient noise comprises:
acquiring various pre-stored historical differences of historical volume and historical environmental noise and service time corresponding to the historical differences respectively;
and selecting the history difference with the longest use time from the history differences as a target difference.
8. The method of claim 7, wherein the historical difference is stored when a user manually changes volume.
9. The method of claim 6, wherein said adjusting a volume to a target volume based on the current ambient noise and the target difference comprises:
summing the current environmental noise and the target difference value to obtain initial volume;
if the initial volume is between the preset volume minimum value and volume maximum value, determining the initial volume as the target volume;
if the initial volume is smaller than the minimum volume, determining the minimum volume as the target volume;
if the initial volume is larger than the maximum volume, determining the maximum volume as the target volume;
and adjusting the volume to the target volume.
10. The method of claim 1, wherein prior to said adjusting the volume to a target volume based on the current ambient noise, the method further comprises:
if the voice broadcasting equipment judges that the first condition and the second condition are met, recording a first volume value of the current volume;
after the voice broadcast device broadcasts the first voice prompt tone at the target volume, the method further comprises:
the voice broadcast equipment resets the volume to the first volume value.
11. A volume adjustment device of a voice broadcasting apparatus, the device comprising:
the determining unit is used for determining that the first voice prompt tone needs to be broadcasted;
a judging unit configured to judge whether a first condition and a second condition are satisfied; the first condition is that the importance of the first voice prompt tone is higher than a preset level, and the second condition is that the current volume is in a mute state or the current volume is smaller than a preset threshold;
the adjusting unit is used for adjusting the volume to be the target volume based on the current environmental noise if the judging unit judges that the first condition and the second condition are met;
and the broadcasting unit is used for broadcasting the first voice prompt tone according to the target volume adjusted by the adjusting unit.
12. The apparatus of claim 11, wherein the voice announcement device is a payment device; the determining unit is specifically configured to execute a first transaction associated with a target user by the payment device, and determine that a first voice prompt tone needs to be broadcasted when the first transaction is not completed; or the payment equipment executes a first transaction associated with the target user, and determines that a first voice prompt tone needs to be broadcasted after the first transaction is completed.
13. The apparatus of claim 11, wherein the voice announcement device is a payment device; the device further comprises:
the payment processing device comprises a setting unit and a processing unit, wherein the setting unit is used for presetting a first grade corresponding to the importance of voice prompt tones strongly related to payment and a second grade corresponding to the importance of voice prompt tones not strongly related to payment, and the first grade is higher than the second grade;
the determining unit is specifically configured to determine whether the importance of the first voice alert tone is higher than the second level, and determine that the first condition is satisfied when the importance of the first voice alert tone is higher than the second level.
14. The apparatus according to claim 11, wherein the broadcast unit is further configured to broadcast the first voice alert tone at a current volume if the determination unit determines that the first condition is not satisfied.
15. The apparatus according to claim 11, wherein the broadcast unit is further configured to broadcast the first voice alert tone at a current volume if the determination unit determines that the second condition is not satisfied.
16. The device according to claim 11, wherein the adjusting unit specifically comprises:
the acquisition subunit is used for acquiring the current environmental noise;
the determining subunit is used for determining a target difference value according to the historical difference value of the historical volume and the historical environmental noise;
and the adjusting subunit is used for adjusting the volume to the target volume according to the current environmental noise acquired by the acquiring subunit and the target difference determined by the determining subunit.
17. The apparatus of claim 16, wherein the determining the sub-unit comprises:
the acquisition module is used for acquiring various pre-stored historical difference values of historical volume and historical environmental noise and the service time corresponding to the historical difference values respectively;
and the determining module is used for selecting the history difference with the longest service time from the history differences acquired by the acquiring module as the target difference.
18. The apparatus of claim 17, wherein the historical difference is stored when a user manually changes volume.
19. The apparatus of claim 16, wherein the conditioning subunit comprises:
the summation module is used for carrying out summation operation on the current environmental noise and the target difference value to obtain initial volume;
the first determining module is used for determining the initial volume as the target volume if the initial volume obtained by the summing module is between the preset volume minimum value and volume maximum value;
a second determining module, configured to determine the minimum volume value as the target volume if the initial volume is smaller than the minimum volume value;
a third determining module, configured to determine the maximum volume value as the target volume if the initial volume is greater than the maximum volume value;
and the adjusting module is used for adjusting the volume to be the target volume.
20. The apparatus of claim 11, wherein the apparatus further comprises:
the recording unit is used for recording a first volume value of the current volume if the judging unit judges that the first condition and the second condition are met before the adjusting unit adjusts the volume to be the target volume based on the current environmental noise;
the reset unit is used for resetting the volume to the first volume value after the broadcast unit broadcasts the first voice prompt tone with the target volume.
21. A computer-readable storage medium, on which a computer program is stored which, when executed in a computer, causes the computer to carry out the method of any one of claims 1-10.
22. A computing device comprising a memory having stored therein executable code and a processor that, when executing the executable code, implements the method of any of claims 1-10.
CN202010566071.3A 2020-06-19 2020-06-19 Volume adjusting method and device of voice broadcasting equipment Active CN111476955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010566071.3A CN111476955B (en) 2020-06-19 2020-06-19 Volume adjusting method and device of voice broadcasting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010566071.3A CN111476955B (en) 2020-06-19 2020-06-19 Volume adjusting method and device of voice broadcasting equipment

Publications (2)

Publication Number Publication Date
CN111476955A true CN111476955A (en) 2020-07-31
CN111476955B CN111476955B (en) 2020-09-15

Family

ID=71764141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010566071.3A Active CN111476955B (en) 2020-06-19 2020-06-19 Volume adjusting method and device of voice broadcasting equipment

Country Status (1)

Country Link
CN (1) CN111476955B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112992324A (en) * 2021-03-23 2021-06-18 北京蓬阳丰业科技有限公司 Number calling method and device of hospital broadcasting system, electronic equipment and storage medium
CN113452837A (en) * 2021-06-23 2021-09-28 深圳盛必达通信有限公司 Voice time telling management method, system, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005588A (en) * 2006-12-15 2007-07-25 华为技术有限公司 Method and device for automatically regulating device voice volume
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN104113637A (en) * 2014-06-24 2014-10-22 小米科技有限责任公司 Prompt tone processing method and apparatus
CN105850107A (en) * 2013-12-26 2016-08-10 华为技术有限公司 Multi-Level Missed Call Notification Priority Assignment
CN107197096A (en) * 2017-05-26 2017-09-22 维沃移动通信有限公司 A kind of method of adjustment of incoming ring tone, device and mobile terminal
CN110335428A (en) * 2019-08-21 2019-10-15 北京意锐新创科技有限公司 Barcode scanning payment mechanism suitable for a variety of Password Inputs
US20200067474A1 (en) * 2014-07-31 2020-02-27 E.F. Johnson Company Automatic volume control for land mobile radio

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005588A (en) * 2006-12-15 2007-07-25 华为技术有限公司 Method and device for automatically regulating device voice volume
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN105850107A (en) * 2013-12-26 2016-08-10 华为技术有限公司 Multi-Level Missed Call Notification Priority Assignment
CN104113637A (en) * 2014-06-24 2014-10-22 小米科技有限责任公司 Prompt tone processing method and apparatus
US20200067474A1 (en) * 2014-07-31 2020-02-27 E.F. Johnson Company Automatic volume control for land mobile radio
CN107197096A (en) * 2017-05-26 2017-09-22 维沃移动通信有限公司 A kind of method of adjustment of incoming ring tone, device and mobile terminal
CN110335428A (en) * 2019-08-21 2019-10-15 北京意锐新创科技有限公司 Barcode scanning payment mechanism suitable for a variety of Password Inputs

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112992324A (en) * 2021-03-23 2021-06-18 北京蓬阳丰业科技有限公司 Number calling method and device of hospital broadcasting system, electronic equipment and storage medium
CN113452837A (en) * 2021-06-23 2021-09-28 深圳盛必达通信有限公司 Voice time telling management method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN111476955B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN1098559C (en) Method for automatically regulating audio response for improved intelligibility
CN111476955B (en) Volume adjusting method and device of voice broadcasting equipment
KR100389521B1 (en) Voice processing method, telephone using the same and relay station
JP3236268B2 (en) Voice correction device and mobile device with voice correction function
CN107360326B (en) Terminal volume adjustment processing method and volume adjustment terminal
CN101682815A (en) Dynamic volume adjusting and band-shifting to compensate for hearing loss
CN110806849A (en) Intelligent device, volume adjusting method thereof and computer-readable storage medium
US20060023061A1 (en) Teleconference audio quality monitoring
US8285339B2 (en) Mobile communication terminal and method for performing automatic incoming call notification mode change
CN108845787B (en) Audio adjusting method, device, terminal and storage medium
US7107071B1 (en) Integration of fixed wireless terminal with broadcast radio receiving devices
US20090312067A1 (en) System and Method of Escalating Call Alert Indications
EP1513331A1 (en) Radiotelephone
US8442478B2 (en) Method and apparatus for controlling voice call quality in portable terminal
CN102377965A (en) Volume control method and electronic device with automatic volume adjustment function
EP1587341A1 (en) Audio output level setting method and device
CN111988704B (en) Sound signal processing method, device and storage medium
WO2002088993A1 (en) Distributed audio system: capturing , conditioning and delivering
CN108600503B (en) Voice call control method and device
CN108449492B (en) Voice call data processing method and device, storage medium and mobile terminal
CN112019948B (en) Intercommunication method for intercom equipment, intercom equipment and storage medium
US11783837B2 (en) Transcription generation technique selection
CN115375518A (en) Abnormal paging method and related device
US20080032750A1 (en) Method for adjusting a ring tone volume and mobile communication terminal using the same
CN112911053B (en) Automatic voice call switching method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230105

Address after: 200120 Floor 15, No. 447, Nanquan North Road, Free Trade Pilot Zone, Pudong New Area, Shanghai

Patentee after: Alipay.com Co.,Ltd.

Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: Alipay (Hangzhou) Information Technology Co.,Ltd.