CN113504889A - Automatic robot volume adjusting method and device, electronic equipment and storage medium - Google Patents

Automatic robot volume adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113504889A
CN113504889A CN202110708344.8A CN202110708344A CN113504889A CN 113504889 A CN113504889 A CN 113504889A CN 202110708344 A CN202110708344 A CN 202110708344A CN 113504889 A CN113504889 A CN 113504889A
Authority
CN
China
Prior art keywords
robot
volume
interference
area
indoor space
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
CN202110708344.8A
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.)
Workway Shenzhen Information Technology Co ltd
Original Assignee
Workway Shenzhen 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 Workway Shenzhen Information Technology Co ltd filed Critical Workway Shenzhen Information Technology Co ltd
Priority to CN202110708344.8A priority Critical patent/CN113504889A/en
Publication of CN113504889A publication Critical patent/CN113504889A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)

Abstract

The application relates to the technical field of intelligent control, and discloses a method and a device for automatically adjusting the volume of a robot, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring position information of a robot in an indoor space, wherein the indoor space is divided into at least one interference area and at least one quiet area according to the distribution condition of interference sources, and each interference area comprises at least one interference source; determining a target area where the robot is located currently according to the position information; if the target area is an interference area, the output volume of the robot is increased, noise interference which may occur can be predicted in advance according to the area where the robot is located, and therefore the volume of the robot is adjusted to a proper value in advance, and even if an interference source suddenly emits noise interference, a user can be guaranteed to hear the voice played by the robot clearly.

Description

Automatic robot volume adjusting method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of intelligent control, in particular to a method and a device for automatically adjusting the volume of a robot, electronic equipment and a storage medium.
Background
When the user communicates with the robot normally, the user suddenly generates a large noise or noise to be generated, if the robot still plays voice with the original volume, the user can be influenced to normally listen to the voice content of the robot, and the robot is particularly not friendly to the elderly or patients with ears and backs. The existing solution is to adjust the volume of the robot by detecting the ambient noise around the robot, but in the face of suddenly generated noise, the robot needs time detection and processing, and therefore the voice listening experience of the user in this period of time is still affected.
Disclosure of Invention
The embodiment of the application provides a method and a device for automatically adjusting the volume of a robot, electronic equipment and a storage medium, which can predict noise interference possibly occurring in advance according to an area where the robot is located, so that the volume of the robot is adjusted to a proper value in advance, and a user can be ensured to clearly hear voice played by the robot even if an interference source suddenly emits the noise interference.
In one aspect, an embodiment of the present application provides a method for automatically adjusting a volume of a robot, including:
acquiring position information of a robot in an indoor space, wherein the indoor space is divided into at least one interference area and at least one quiet area according to the distribution condition of interference sources, and each interference area comprises at least one interference source;
determining a target area where the robot is located currently according to the position information;
and if the target area is an interference area, increasing the output volume of the robot.
Optionally, the increasing the output volume of the robot specifically includes:
acquiring the state of an interference source in the target area;
if the interference source in the target area is determined to be in the interference state, increasing the output volume of the robot by a first volume value;
if the interference source in the target area is determined to be in a non-interference state, increasing the output volume of the robot by a second volume value;
wherein the first volume value is higher than the second volume value.
Optionally, the method comprises:
obtaining the target number of interference sources in an interference state in the target area;
determining the first volume value according to the target quantity, wherein the first volume value and the target quantity are positively correlated.
Optionally, the interference source comprises at least one of: a noise space in communication with the indoor space, the indoor space being capable of emitting an interfering noise;
wherein the external space is in an interfering state when the isolation device between the indoor space and the noise space is open, and the external space is in a non-interfering state when the isolation device between the indoor space and the noise space is closed.
Optionally, the method further comprises:
acquiring the volume and/or the number of people in the environment around the robot;
and adjusting the first volume value and the second volume value according to the ambient volume and/or the number of people around the robot.
Optionally, before the acquiring the position information of the robot in the indoor space, the method includes: acquiring the ambient volume around the robot, and determining that the ambient volume is not greater than a preset decibel value;
the method further comprises the following steps: if the environment volume is determined to be larger than the preset decibel value, adjusting the output volume of the robot according to the environment volume, wherein the output volume is positively correlated with the environment volume.
Optionally, before the acquiring the position information of the robot in the indoor space, the method includes: if the environment volume is determined to be not more than the preset decibel value, identifying the number of people around the robot, and determining that the number of the identified people is not more than a preset number of people;
the method further comprises the following steps: and if the number of the recognized people is larger than the preset number, the output volume of the robot is increased.
In one aspect, an embodiment of the present application provides an automatic volume adjusting device for a robot, including:
the positioning module is used for acquiring the position information of the robot in an indoor space, wherein the indoor space is divided into at least one interference area and at least one quiet area according to the distribution condition of interference sources, and each interference area comprises at least one interference source;
the area detection module is used for determining a target area where the robot is located currently according to the position information;
and the volume adjusting module is used for increasing the output volume of the robot if the target area is an interference area.
In one aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the methods when executing the computer program.
In one aspect, an embodiment of the present application provides a computer-readable storage medium having stored thereon computer program instructions, which, when executed by a processor, implement the steps of any of the above-described methods.
In one aspect, an embodiment of the present application provides a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in any of the various alternative implementations of control of TCP transmission performance described above.
According to the method and the device for automatically adjusting the volume of the robot, the electronic equipment and the storage medium, the indoor space is divided into the interference area containing the interference source and the quiet area not containing the interference source according to the distribution condition of the interference source in the indoor space, the area where the robot is located is determined by detecting the real-time position information of the robot, the volume of the robot for playing voice is adjusted according to the area where the robot is located, it is guaranteed that a user can clearly listen to the voice played by the robot, and the comfort of the user for listening to the voice is improved. Therefore, according to the automatic robot volume adjusting method, noise interference which may occur can be predicted in advance according to the area where the robot is located, so that the volume of the robot is adjusted to a proper value in advance, and even if an interference source suddenly emits the noise interference, a user can be guaranteed to hear the voice played by the robot clearly.
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 embodiments will be briefly described 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 view of an application scenario of a robot volume automatic adjustment method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for automatically adjusting a robot volume according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for automatically adjusting a robot volume according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a method for automatically adjusting a robot volume according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a method for automatically adjusting a robot volume according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an automatic robot volume adjustment device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be noted that, in the case of no conflict, the features in the following embodiments and examples may be combined with each other; moreover, all other embodiments that can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort fall within the scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
In the specific practice process, the robot can detect surrounding environmental noise, and the volume of the robot broadcasting voice is adjusted according to the size of the environmental noise. However, in the face of suddenly generated noise, the robot needs time detection and processing, so the voice listening experience of the user in the period of time is still affected, and in addition, when the robot plays sudden noise in the voice process, if the sound volume of the robot is forcibly increased, poor listening experience is brought to the user.
For this purpose, the present application provides an automatic robot volume adjustment method, which divides an indoor space into an interference area containing an interference source and a quiet area containing no interference source according to the distribution of the interference source in the indoor space in which a robot moves, determines the current area where the robot is located by detecting real-time position information of the robot, and adjusts the output volume of the robot to a proper value according to the current area where the robot is located, for example: when the robot is in the quiet area, the robot can adopt lower volume broadcast pronunciation, when the robot is in the interference area, can suitably improve the volume that the robot broadcast pronunciation, guarantees that the user can hear the pronunciation that the robot broadcast clearly, and improves the travelling comfort that the user listened to pronunciation.
In addition, the robot detects the current area of the robot before playing voice every time, once the area of the robot changes, the output volume of the robot is adjusted according to the area where the robot enters, for example, when the robot enters a quiet area from an interference area, the volume of the robot is reduced, and when the robot enters the interference area from the quiet area, the volume of the robot is increased; then, the robot plays the pronunciation according to the output volume after the adjustment, and until the robot accomplishes this voice broadcast after, just can carry out the adjustment of next output volume, can avoid like this improving the robot volume suddenly midway at the broadcast pronunciation, brings better listening experience for the user.
After introducing the design concept of the embodiment of the present application, some simple descriptions are provided below for application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Reference is made to fig. 1, which is a schematic view of an application scenario of a robot volume automatic adjustment method according to an embodiment of the present application. The robot 101 can move autonomously in a designated indoor space and provide services for a user 102 who enters the indoor space and needs help, after the robot 101 recognizes the user 102, the robot 101 can actively approach and send a query to the user 102 to know whether the user needs help, and particularly, relevant information of the user 102 can be acquired through a camera, a microphone and other acquisition equipment built in the robot 101, the user intention is analyzed, and corresponding services are provided.
The indoor space shown in fig. 1 includes various sound interference sources 103 such as a broadcasting number device, a printer, a fountain landscape, an air conditioner, etc., and noise of an external space may interfere with the indoor space through doors, windows, etc. For this purpose, the indoor space may be divided into an interference area 104 and a quiet area 105 as shown in fig. 1 according to the distribution of the interference sources, where the quiet area 105 does not include the interference sources, and each interference area 104 includes at least one interference source 103. Specifically, a circle can be drawn by taking the interference source 103 as a circle center and a preset value as a radius, an area inside the circle is taken as an interference area, and an area outside the circle is taken as a quiet area. Further, the radius of the circle may be determined according to the decibel value of the noise generated by each of the interferers 103, and the higher the decibel value of the noise, the longer the radius. The radius of the circle can be selected according to experience and in combination with practical application scenes, and is not limited. In specific implementation, the area division data of the indoor space can be added to the indoor map data of the robot, the robot 101 can know the real-time position of the robot in the indoor space through indoor positioning technology, inertial navigation technology, laser radar and other technologies, and the current area is determined according to the area division data and the real-time position in the indoor map data.
Of course, the method provided in the embodiment of the present application is not limited to be used in the application scenario shown in fig. 1, and may also be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 1 will be described in the following method embodiments, and will not be described in detail herein.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application.
The following describes the technical solution provided in the embodiment of the present application with reference to the application scenario shown in fig. 1. The method for automatically adjusting the volume of any robot provided by the embodiment of the application can be executed by a controller inside the robot or a background server controlling the robot, and is not limited.
Referring to fig. 2, an embodiment of the present application provides a method for automatically adjusting a robot volume, including the following steps:
s201, acquiring the position information of the robot.
Wherein, the indoor space refers to the space in which the robot moves. The indoor space is divided into at least one interference area and at least one quiet area according to the distribution situation of the interference sources, each interference area comprises at least one interference source, and the quiet area does not comprise the interference sources.
In practical applications, the interference source includes at least one of the following: the noise space is communicated with the indoor space, and equipment capable of emitting interference noise can be arranged in the indoor space.
Wherein, when the isolating device between the indoor space and the noise space is opened, the noise space is in an interference state, and when the isolating device between the indoor space and the noise space is closed, the noise space is in a non-interference state. The noise space is relative to an indoor space, which may be an outdoor road, or may be a room containing a noise source and communicated with an indoor space where the robot moves, for example, the indoor space includes a hall, a walkway, etc., the area such as a projection room is a noise space, and the isolation device is openable and closable, including but not limited to a door, a window, etc.
Specifically, a possible interference source can be determined according to decibel values sent by each device in the indoor space when the device works, if the decibel value sent by the device when the device works exceeds a noise decibel value, the device is used as the interference source, and otherwise, the device is not used as the interference source.
It should be noted that some interference sources may make sounds at irregular time, that is, it is impossible to predict in advance when the sounds will be made, and the noise interference is bursty.
And S202, determining a current target area of the robot according to the position information.
In a possible implementation manner, the current position information of the robot can be obtained through an indoor positioning technology, an inertial navigation technology, a laser radar and the like, and then the current position of the robot is determined according to the area division data in the indoor map data and the current position information of the robot.
In another possible embodiment, the distance between the robot and the interference source may be measured by a radar ranging method, that is, the position information in step S201 refers to the distance between the robot and the interference source, and if the distance between the robot and the interference source is smaller than the radius value of the interference area where the interference source is located, it is determined that the robot is located in the interference area where the interference source is located. And if the robot is determined not to enter any interference area, determining that the robot is in a quiet area.
During specific implementation, if the robot is in a quiet area at the last moment and is in an interference area at the current moment, determining that the robot enters the interference area from the quiet area; and if the robot is in the interference area at the last moment and in the quiet area at the current moment, determining that the robot enters the quiet area from the interference.
And S203, if the target area is an interference area, increasing the output volume of the robot.
In one embodiment, the robot is preset with an initial volume value, which may be set to a relatively small value, i.e., a volume value that is audible and clear to the user in a quiet environment. This initial volume value can be used if the robot is in a quiet area.
Before the robot plays voice each time, the volume of the robot can be reset to an initial volume value, then the current position information of the robot is obtained, the target area where the robot is located is determined according to the position information, if the target area is a quiet area, the volume of the robot is not modified, if the target area is an interference area, the output volume of the robot is increased, the output volume of the robot is adjusted to a proper decibel value, then the robot is controlled to play voice with the proper decibel value until the robot completes the voice broadcast, and therefore the situation that the volume of the robot is suddenly increased in the midway of voice playing can be avoided, and better listening experience is brought to a user.
According to the automatic robot volume adjusting method, the indoor space is divided into the interference area containing the interference source and the quiet area not containing the interference source according to the distribution situation of the interference source in the indoor space, the area where the robot is located is determined by detecting the real-time position information of the robot, the volume of the robot for playing voice is adjusted according to the area where the robot is located, it is guaranteed that a user can clearly hear the voice played by the robot, and the comfort of the user for listening to the voice is improved. Therefore, according to the automatic robot volume adjusting method, noise interference which may occur can be predicted in advance according to the area where the robot is located, so that the volume of the robot is adjusted to a proper value in advance, and even if an interference source suddenly emits the noise interference, a user can be guaranteed to hear the voice played by the robot clearly.
Referring to fig. 3, in order to better adjust the output volume of the robot in the interference area, step S203 specifically includes the following steps:
s301, acquiring the state of an interference source in the target area.
In specific implementation, each area has a corresponding position range, and the current area of the robot can be determined according to the position information of the robot.
When the interference source in the target area is a noise space, the image acquisition device of the robot can be controlled to shoot the image of the isolation device in the target area, whether the isolation device in the target area is opened or not is identified based on the shot image, and whether the isolation device is opened or not can be specifically determined through an existing image identification algorithm. Or, the distance from the robot to the isolation device can be measured based on the distance measuring device of the robot, that is, a signal is transmitted to the isolation device in the target area; if the signal reflected by the isolation device is not received or the distance from the robot to the isolation device is calculated according to the reflected signal and does not accord with the actual distance, the isolation device is determined to be opened, and then the noise space is determined to be in an interference state; and if the distance from the robot to the isolating device is calculated according to the reflected signals and is in accordance with the actual distance, determining that the isolating device is in a closed state, and further determining that the noise space is in a non-interference state. Wherein the actual distance between the robot and the interference source may be determined based on the position information of the robot and the position information of the interference source.
When the interference source in the target area is equipment capable of emitting interference noise, the ambient volume around the robot can be detected, and when the decibel of the ambient volume exceeds the noise decibel value, the interference source is determined to be in an interference state. If the indicating lamp for indicating whether the equipment works exists on the equipment, the robot can judge the working state of the equipment by identifying the state of the indicating lamp. If the equipment is intelligent equipment controlled by the background server, the working state of the equipment can be obtained through the background server.
S302, if the interference source in the target area is determined to be in the interference state, the output volume of the robot is increased by a first volume value.
And if at least one interference source in the target area is in an interference state, increasing the output volume of the robot by a first volume value.
Further, a target number of interference sources in an interference state in the target area may be obtained, and the first volume value may be determined according to the obtained target number. The first volume value is positively correlated with the target number, that is, the larger the number of the interference sources in the interference state in the target area is, the larger the first volume value is. Therefore, the volume of the robot can be increased in a grading manner according to the number of the interference sources in the interference state, and the comfort of a user listening to voice is improved.
And S303, if the interference source in the target area is determined to be in a non-interference state, increasing the output volume of the robot by a second volume value.
Wherein the first volume value is higher than the second volume value.
When only one interference source exists in the target area, if the interference source is in a non-interference state, the output volume of the robot is increased by a second volume value. And when at least two interference sources exist in the target area, if all the interference sources in the target area are in a non-interference state, increasing the output volume of the robot by a second volume value. And when the interference sources in the target area are all in a non-interference state, increasing the output volume of the robot by a second volume value so as to deal with the situation that the interference sources in the target area can emit interference noise at any time.
In a possible implementation manner, the ambient volume around the robot may be further obtained, and the first volume value and the second volume value are adjusted according to the ambient volume, and both the first volume value and the second volume value are positively correlated with the ambient volume.
In a possible implementation manner, the number of people around the robot can be further identified, and the first volume value and the second volume value are adjusted according to the identified number of people, wherein the first volume value and the second volume value are positively correlated with the identified number of people. Therefore, whether noise appears at the next moment can be pre-judged in advance according to the number of people around the robot, so that the output volume of the robot can be adjusted in advance.
In practical application, a lower limit value and an upper limit value can be respectively set for the first volume value and the second volume value, even if the environmental volume is larger and the number of recognized people is larger, the first volume value and the second volume value cannot exceed the corresponding upper limit values, and the situation of overlarge volume is avoided. When the environmental volume is small and the number of recognized people is small, the first volume value and the second volume value can respectively take respective offline values.
Based on the embodiment shown in fig. 3, the output volume of the robot can be adjusted in a graded manner according to the specific noise condition in the interference area, so that the normal experience of the user can be promoted and the normal service efficiency can be ensured.
Similarly, when the area where the robot is currently located is a quiet area, the output volume of the robot may be further adjusted according to the volume of the environment around the robot and the number of people, and may be appropriately increased or decreased based on the output volume set for the quiet area.
Referring to fig. 4, an embodiment of the present application provides another method for automatically adjusting a volume of a robot, which specifically includes the following steps:
s401, before the robot is controlled to play voice, the volume of the environment around the robot is obtained.
S402, judging whether the environmental volume is larger than a preset decibel value or not; if yes, go to step S403; if not, go to step S404.
S403, adjusting the output volume of the robot according to the environment volume, and executing step S406.
Wherein the output volume is positively correlated with the ambient volume. For example, the decibel number of the detected environment volume is V (the unit is decibel), and when V is more than or equal to 70 and less than 75, the output volume is automatically increased by 10 percent of the maximum volume; when V is more than or equal to 75 and less than 80, the output volume is automatically increased by 20 percent of the maximum volume; when V is more than or equal to 80 and less than 85, the output volume is automatically increased by 30 percent of the maximum volume; when V is more than or equal to 85 and less than 90, the output volume is automatically increased by 40 percent of the maximum volume; when V is more than or equal to 90, the noise affects the normal hearing of human, so that the adjusting volume of the robot can only stay at 40% of the maximum. The maximum volume may be an upper limit of the volume set for the robot, such as 100 db. If the output volume of the robot after being increased exceeds the volume upper limit value, the output volume of the robot can be forcibly modified to the volume upper limit value, and the output volume is prevented from being too high.
And S404, acquiring the position information of the robot, and judging the area of the robot according to the position information.
And S405, adjusting the output volume of the robot according to the area where the robot is located.
For a specific adjustment manner, reference is made to the embodiments corresponding to fig. 2 and fig. 3, which are not described in detail herein.
And S406, controlling the robot to play voice according to the adjusted output volume.
In specific implementation, after the robot plays a section of voice each time, the output volume can be restored to the initial volume value, and then the step shown in fig. 4 is executed again before the robot plays the voice next time, so as to readjust the output volume of the robot.
Referring to fig. 5, an embodiment of the present application provides another method for automatically adjusting a volume of a robot, which specifically includes the following steps:
s501, before the robot is controlled to play voice, the volume of the environment around the robot is obtained.
S502, judging whether the environmental volume is larger than a preset decibel value or not; if yes, go to step S503; if not, go to step S504.
S503, the output volume of the robot is adjusted according to the environment volume, and step S508 is executed.
S504, identifying the number of people around the robot, and judging whether the number of people is larger than a preset number of people; if so, go to step S505, otherwise go to step S506.
Specifically, the number of people around the robot can be identified based on the images of the surroundings captured by the robot.
S505, the output volume of the robot is increased, and step S508 is executed.
Before the robot is ready to play voice, if the robot recognizes that the ambient volume at the scene does not meet the requirement of volume adjustment, but the number of people at the scene is large, the current situation is quite quiet, and noise is generated at the next moment, and the robot starts to output voice just due to the time difference of noise generation, so that the voice content cannot be heard by the user, therefore, step S504 is a recessive judgment on the possibility of noise occurrence, and when the number of people around the robot is large, the output volume of the robot is appropriately increased.
Specifically, the output volume of the robot can be increased according to the number of people around the robot, that is, the output volume of the robot is higher as the number of people around the robot is larger, and the relationship between the number of recognized people and the output volume can be set according to the actual application requirements. For example, the number of people around the robot is identified as H, and when H is more than or equal to 8 and less than 13, the output volume is automatically increased by 15 percent of the maximum volume; when H is more than or equal to 13, the output volume is automatically increased by 30 percent of the maximum volume.
And S506, acquiring the position information of the robot, and judging the area of the robot according to the position information.
And S507, adjusting the output volume of the robot according to the area where the robot is located.
For a specific adjustment manner, reference is made to the embodiments corresponding to fig. 2 and fig. 3, which are not described in detail herein.
And S508, controlling the robot to play voice according to the adjusted output volume.
In specific implementation, after the robot outputs a voice, the output volume may be restored to the initial volume value, and then the step shown in fig. 5 is executed again before the robot plays the voice next time, so as to readjust the output volume of the robot.
The embodiment of fig. 4 and 5 combines the priority ranking of various factors such as the environmental volume, the number of people in the field, the area where the robot is located, and the like, provides a more reasonable judgment process, avoids the operation of volume superposition under various conditions, adjusts the volume of the robot more reasonably, and improves the flexibility of the voice function of the robot.
As shown in fig. 6, based on the same inventive concept as the above-mentioned robot volume automatic adjusting method, the embodiment of the present application further provides a robot volume automatic adjusting apparatus 60, including:
the positioning module 601 is configured to obtain position information of a robot in an indoor space, where the indoor space is divided into at least one interference area and at least one quiet area according to a distribution of interference sources, and each interference area includes at least one interference source;
the area detection module 602 is configured to determine a target area where the robot is currently located according to the position information;
a volume adjusting module 603, configured to increase the output volume of the robot if the target area is an interference area.
Optionally, the automatic robot volume adjusting device 60 further includes an interference source detecting module, configured to: and acquiring the state of an interference source in the target area.
Correspondingly, the volume adjusting module 603 is specifically configured to: if the interference source in the target area is determined to be in the interference state, increasing the output volume of the robot by a first volume value;
if the interference source in the target area is determined to be in a non-interference state, increasing the output volume of the robot by a second volume value; wherein the first volume value is higher than the second volume value.
Optionally, the interferer detection module is further configured to: and obtaining the target number of the interference sources in the interference state in the target area.
Accordingly, the volume adjustment module 603 is further configured to: determining the first volume value according to the target quantity, wherein the first volume value and the target quantity are positively correlated.
Optionally, the interference source comprises at least one of: a noise space in communication with the indoor space, the indoor space being capable of emitting an interfering noise; wherein the external space is in an interfering state when the isolation device between the indoor space and the noise space is open, and the external space is in a non-interfering state when the isolation device between the indoor space and the noise space is closed.
Optionally, the volume adjusting module 603 is further configured to:
acquiring the volume and/or the number of people in the environment around the robot;
and adjusting the first volume value and the second volume value according to the ambient volume and/or the number of people around the robot.
Optionally, the positioning module 601 is specifically configured to: and before controlling the robot to play voice, acquiring the position information of the robot in the indoor space.
Accordingly, the volume adjustment module 603 is further configured to: and controlling the robot to play voice with the increased output volume.
Optionally, the automatic robot volume adjusting device 60 further comprises an environment volume detecting module for: acquiring the ambient volume around the robot, and triggering a positioning module 601 to execute corresponding steps after determining that the ambient volume is not greater than a preset decibel value; if it is determined that the environment volume is greater than the preset decibel value, the volume adjustment module 603 is triggered to adjust the output volume of the robot according to the environment volume, wherein the output volume is positively correlated with the environment volume.
Optionally, the automatic robot volume adjusting device 60 further includes an environment volume detecting module and a people number identifying module.
The environment volume detection module is used for: acquiring the ambient volume around the robot, and triggering a people number identification module to execute corresponding steps after determining that the ambient volume is not more than a preset decibel value; if the environment volume is determined to be greater than the preset decibel value, the volume adjusting module 603 is triggered to adjust the output volume of the robot according to the environment volume.
The number identification module is used for identifying the number of people around the robot, and triggering the positioning module 601 to execute corresponding steps after determining that the number of people identified is not more than a preset number; if the number of the recognized people is larger than the preset number, the volume adjusting module 603 is triggered to increase the output volume of the robot according to the number of the recognized people.
The robot volume automatic adjusting device and the robot volume automatic adjusting method provided by the embodiment of the application adopt the same inventive concept, can obtain the same beneficial effects, and are not repeated herein.
Based on the same inventive concept as the robot volume automatic adjustment method, the embodiment of the present application further provides an electronic device, which may be specifically a control device or a control system inside the robot, or an external device communicating with an intelligent device, such as a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), a server, and the like. As shown in fig. 7, the electronic device 70 may include a processor 701 and a memory 702.
The Processor 701 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Memory 702, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 702 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; the computer storage media may be any available media or data storage device that can be accessed by a computer, including but not limited to: various media that can store program codes include a removable Memory device, a Random Access Memory (RAM), a magnetic Memory (e.g., a flexible disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical Memory (e.g., a CD, a DVD, a BD, an HVD, etc.), and a semiconductor Memory (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile Memory (NAND FLASH), a Solid State Disk (SSD)).
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media that can store program codes include a removable Memory device, a Random Access Memory (RAM), a magnetic Memory (e.g., a flexible disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical Memory (e.g., a CD, a DVD, a BD, an HVD, etc.), and a semiconductor Memory (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile Memory (NAND FLASH), a Solid State Disk (SSD)).
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for automatically adjusting the volume of a robot is characterized by comprising the following steps:
acquiring position information of a robot in an indoor space, wherein the indoor space is divided into at least one interference area and at least one quiet area according to the distribution condition of interference sources, and each interference area comprises at least one interference source;
determining a target area where the robot is located currently according to the position information;
and if the target area is an interference area, increasing the output volume of the robot.
2. The method according to claim 1, wherein the increasing the output volume of the robot specifically comprises:
acquiring the state of an interference source in the target area;
if the interference source in the target area is determined to be in the interference state, increasing the output volume of the robot by a first volume value;
if the interference source in the target area is determined to be in a non-interference state, increasing the output volume of the robot by a second volume value;
wherein the first volume value is higher than the second volume value.
3. The method of claim 2, wherein the method comprises:
obtaining the target number of interference sources in an interference state in the target area;
determining the first volume value according to the target quantity, wherein the first volume value and the target quantity are positively correlated.
4. The method of claim 2, wherein the interference source comprises at least one of: a noise space in communication with the indoor space, the indoor space being capable of emitting an interfering noise;
wherein the external space is in an interfering state when the isolation device between the indoor space and the noise space is open, and the external space is in a non-interfering state when the isolation device between the indoor space and the noise space is closed.
5. The method according to any one of claims 1 to 4, further comprising:
acquiring the volume and/or the number of people in the environment around the robot;
and adjusting the first volume value and the second volume value according to the ambient volume and/or the number of people around the robot.
6. The method according to any one of claims 1 to 4, wherein before the acquiring the position information of the robot in the indoor space, the method comprises: acquiring the ambient volume around the robot, and determining that the ambient volume is not greater than a preset decibel value;
the method further comprises the following steps: if the environment volume is determined to be larger than the preset decibel value, adjusting the output volume of the robot according to the environment volume, wherein the output volume is positively correlated with the environment volume.
7. The method of claim 6, wherein prior to obtaining the positional information of the robot within the indoor space, the method comprises: if the environment volume is determined to be not more than the preset decibel value, identifying the number of people around the robot, and determining that the number of the identified people is not more than a preset number of people;
the method further comprises the following steps: and if the number of the recognized people is larger than the preset number, the output volume of the robot is increased.
8. A robot volume automatic regulating apparatus, characterized by, includes:
the positioning module is used for acquiring the position information of the robot in an indoor space, wherein the indoor space is divided into at least one interference area and at least one quiet area according to the distribution condition of interference sources, and each interference area comprises at least one interference source;
the area detection module is used for determining a target area where the robot is located currently according to the position information;
and the volume adjusting module is used for increasing the output volume of the robot if the target area is an interference area.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the method of any one of claims 1 to 7.
CN202110708344.8A 2021-06-25 2021-06-25 Automatic robot volume adjusting method and device, electronic equipment and storage medium Pending CN113504889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110708344.8A CN113504889A (en) 2021-06-25 2021-06-25 Automatic robot volume adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110708344.8A CN113504889A (en) 2021-06-25 2021-06-25 Automatic robot volume adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113504889A true CN113504889A (en) 2021-10-15

Family

ID=78010594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110708344.8A Pending CN113504889A (en) 2021-06-25 2021-06-25 Automatic robot volume adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113504889A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115251A (en) * 2021-11-12 2022-03-01 珠海格力电器股份有限公司 Control method and control device of intelligent cleaning equipment and intelligent system
CN114516061A (en) * 2022-02-25 2022-05-20 杭州萤石软件有限公司 Robot control method, robot system and robot
CN114845210A (en) * 2022-04-24 2022-08-02 北京百度网讯科技有限公司 Method and device for adjusting volume of robot and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681440A (en) * 2018-04-03 2018-10-19 百度在线网络技术(北京)有限公司 A kind of smart machine method for controlling volume and system
US20190372541A1 (en) * 2018-05-31 2019-12-05 Comcast Cable Communications, Llc Content Audio Adjustment
WO2020024546A1 (en) * 2018-08-01 2020-02-06 珠海格力电器股份有限公司 Auxiliary speech control method and device and air conditioner
CN111427536A (en) * 2020-03-27 2020-07-17 四川虹美智能科技有限公司 Method and device for automatically adjusting voice broadcast volume of equipment
CN111554317A (en) * 2020-05-11 2020-08-18 江苏美的清洁电器股份有限公司 Voice broadcasting method, device, computer storage medium and system
CN111866660A (en) * 2020-06-29 2020-10-30 深圳优地科技有限公司 Sound playing method, robot, terminal device and storage medium
CN112188345A (en) * 2020-10-16 2021-01-05 歌尔科技有限公司 Volume gear adjusting method and device, earphone and computer readable storage medium
CN112256234A (en) * 2020-11-06 2021-01-22 易普森智慧健康科技(深圳)有限公司 Volume control method and device and computer readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681440A (en) * 2018-04-03 2018-10-19 百度在线网络技术(北京)有限公司 A kind of smart machine method for controlling volume and system
US20190372541A1 (en) * 2018-05-31 2019-12-05 Comcast Cable Communications, Llc Content Audio Adjustment
WO2020024546A1 (en) * 2018-08-01 2020-02-06 珠海格力电器股份有限公司 Auxiliary speech control method and device and air conditioner
CN111427536A (en) * 2020-03-27 2020-07-17 四川虹美智能科技有限公司 Method and device for automatically adjusting voice broadcast volume of equipment
CN111554317A (en) * 2020-05-11 2020-08-18 江苏美的清洁电器股份有限公司 Voice broadcasting method, device, computer storage medium and system
CN111866660A (en) * 2020-06-29 2020-10-30 深圳优地科技有限公司 Sound playing method, robot, terminal device and storage medium
CN112188345A (en) * 2020-10-16 2021-01-05 歌尔科技有限公司 Volume gear adjusting method and device, earphone and computer readable storage medium
CN112256234A (en) * 2020-11-06 2021-01-22 易普森智慧健康科技(深圳)有限公司 Volume control method and device and computer readable medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115251A (en) * 2021-11-12 2022-03-01 珠海格力电器股份有限公司 Control method and control device of intelligent cleaning equipment and intelligent system
CN114516061A (en) * 2022-02-25 2022-05-20 杭州萤石软件有限公司 Robot control method, robot system and robot
CN114516061B (en) * 2022-02-25 2024-03-05 杭州萤石软件有限公司 Robot control method, robot system and robot
CN114845210A (en) * 2022-04-24 2022-08-02 北京百度网讯科技有限公司 Method and device for adjusting volume of robot and electronic equipment

Similar Documents

Publication Publication Date Title
CN113504889A (en) Automatic robot volume adjusting method and device, electronic equipment and storage medium
US10410651B2 (en) De-reverberation control method and device of sound producing equipment
US20220392481A1 (en) Voice Wakeup Method and System, and Device
CN110111805B (en) Automatic gain control method and device in far-field voice interaction and readable storage medium
US20170309289A1 (en) Methods, apparatuses and computer programs relating to modification of a characteristic associated with a separated audio signal
CN110035372B (en) Output control method and device of sound amplification system, sound amplification system and computer equipment
CN112954115A (en) Volume adjusting method and device, electronic equipment and storage medium
US9826311B2 (en) Method, device and system for controlling a sound image in an audio zone
CN113516998B (en) Robot tone automatic switching method and device, electronic equipment and storage medium
US20210343296A1 (en) Apparatus, Methods and Computer Programs for Controlling Band Limited Audio Objects
US11682414B1 (en) Adjusting audio transparency based on content
US11805381B2 (en) Audio-based presence detection
WO2022052691A1 (en) Multi-device voice processing method, medium, electronic device, and system
CN113660599B (en) Speaker control method and device, mobile terminal and storage medium
CN114255779A (en) Audio noise reduction method for VR device, electronic device and storage medium
CN108429562B (en) Multimedia equipment playing control method and multimedia system
US11081128B2 (en) Signal processing apparatus and method, and program
CN113766411A (en) Earphone state detection method, earphone and storage medium
CN114520948A (en) Howling detection method, howling detection device, terminal and storage medium
KR20220054504A (en) Vehicle and control method for the same
CN208540142U (en) Audio system
US11782673B2 (en) Controlling audio output
CN111161750B (en) Voice processing method and related device
KR102343811B1 (en) Method for detecting voice
US20230217173A1 (en) Estimating user location in a system including smart audio devices

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