Robot volume automatic adjustment method, device, electronic device and storage medium

By adjusting the volume according to the robot's area in advance, the impact of noise interference on user voice listening in the prior art is solved, and the user experience is improved, especially for elderly people or patients with ear back, ensuring that they can clearly hear the robot voice.

CN113504889BActive Publication Date: 2025-01-10WORKWAY SHENZHENINFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110708344.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-25
Publication Date
2025-01-10
Estimated Expiration
2041-06-25

AI Technical Summary

Technical Problem

When existing robots face sudden noise, they need time to detect and process, which affects the user's voice listening experience, especially unfriendly to the elderly or patients with back ears.

Method used

By predicting possible noise interference based on the robot's area in advance, adjusting the volume of the robot, dividing the indoor space into interference areas and quiet areas, determining the area based on the robot's real-time location information, and appropriately increasing or reducing the volume to ensure that the user can be clear Hear the voice played by the robot.

Benefits of technology

It effectively avoids the impact of noise interference on user voice listening, improves user comfort and voice listening experience, and ensures that users can clearly hear the content played by the robot.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113504889B_ABST
    Figure CN113504889B_ABST
Patent Text Reader

Abstract

The present application relates to the field of intelligent control technology, and discloses a method, device, electronic device and storage medium for automatic volume adjustment of a robot. The method comprises: obtaining 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 of interference sources, and each interference area contains at least one interference source; determining a target area where the robot is currently located according to the position information; if the target area is an interference area, increasing the output volume of the robot, and predicting possible noise interference in advance according to the area where the robot is located, thereby adjusting the volume of the robot to a suitable value in advance, so that even if the interference source suddenly emits noise interference, it can be ensured that the user can clearly hear the voice played by the robot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to a method, device, electronic device and storage medium for automatic volume adjustment of a robot. Background Art

[0002] When the user is communicating with the robot normally, there is a sudden loud noise or noise is about to be generated in the room. If the robot still plays the voice at the original volume, it will affect the user's normal listening to the robot's voice content, which is extremely unfriendly to the elderly or hearing-impaired people. The existing solution is to adjust the robot's volume by detecting the ambient noise around the robot, but when faced with sudden noise, the robot needs time to detect and process it, so it will still affect the user's voice listening experience during this period. Summary of the invention

[0003] The embodiments of the present application provide a method, device, electronic device and storage medium for automatically adjusting the volume of a robot, which can predict possible noise interference in advance according to the area where the robot is located, so as to adjust the volume of the robot to a suitable value in advance, so that even if the interference source suddenly emits noise interference, it can ensure that the user can hear the voice played by the robot clearly.

[0004] On the one hand, an embodiment of the present application provides a method for automatically adjusting the volume of a robot, comprising:

[0005] Acquire 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 of interference sources, and each interference area contains at least one interference source;

[0006] Determine the target area where the robot is currently located according to the position information;

[0007] If the target area is an interference area, the output volume of the robot is increased.

[0008] Optionally, increasing the output volume of the robot specifically includes:

[0009] Obtaining the state of interference sources in the target area;

[0010] If it is determined that the interference source in the target area is in an interference state, increasing the output volume of the robot by a first volume value;

[0011] If it is determined that the interference source in the target area is in a non-interference state, increasing the output volume of the robot by a second volume value;

[0012] Wherein, the first volume value is higher than the second volume value.

[0013] Optionally, the method comprises:

[0014] Obtaining a target number of interference sources in an interference state within the target area;

[0015] The first volume value is determined according to the target quantity, wherein the first volume value is positively correlated with the target quantity.

[0016] Optionally, the interference source includes at least one of the following: a noise space connected to the indoor space, a device in the indoor space that can emit interference noise;

[0017] When the isolation device between the indoor space and the noisy space is opened, the external space is in an interference state, and when the isolation device between the indoor space and the noisy space is closed, the external space is in a non-interference state.

[0018] Optionally, the method further comprises:

[0019] Acquire the ambient volume and / or number of people around the robot;

[0020] The first volume value and the second volume value are adjusted according to the ambient volume and / or the number of people around the robot.

[0021] Optionally, before obtaining the position information of the robot in the indoor space, the method includes: obtaining the ambient volume around the robot, and determining that the ambient volume is not greater than a preset decibel value;

[0022] The method further includes: if it is determined that the ambient volume is greater than the preset decibel value, adjusting the output volume of the robot according to the ambient volume, wherein the output volume is positively correlated with the ambient volume.

[0023] Optionally, before obtaining the position information of the robot in the indoor space, the method includes: if it is determined that the ambient volume is not greater than the preset decibel value, identifying the number of people around the robot, and determining that the identified number of people is not greater than the preset number of people;

[0024] The method further includes: if the number of recognized persons is greater than the preset number of persons, increasing the output volume of the robot.

[0025] On the one hand, an embodiment of the present application provides a robot volume automatic adjustment device, comprising:

[0026] A positioning module, used to obtain 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 of interference sources, and each interference area contains at least one interference source;

[0027] An area detection module, used to determine the target area where the robot is currently located according to the position information;

[0028] The volume adjustment module is used to increase the output volume of the robot if the target area is an interference area.

[0029] On the one hand, an embodiment of the present application provides an electronic device, including 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 of the above methods when executing the computer program.

[0030] On the one hand, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and the computer program instructions implement the steps of any of the above methods when executed by a processor.

[0031] On the one hand, an embodiment of the present application provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in any of the above-mentioned various optional implementations of controlling TCP transmission performance.

[0032] The robot volume automatic adjustment method, device, electronic device and storage medium provided in the embodiment of the present application divide the indoor space into an interference area containing interference sources and a quiet area not containing interference sources according to the distribution of interference sources in the indoor space, and determine the area where the robot is located by detecting the real-time position information of the robot, and adjust the volume of the robot's voice according to the area where the robot is located, so as to ensure that the user can hear the voice played by the robot clearly and improve the comfort of the user listening to the voice. To this end, the robot volume automatic adjustment method of the embodiment of the present application can predict the possible noise interference in advance according to the area where the robot is located, so as to adjust the volume of the robot to an appropriate value in advance, so that even if the interference source suddenly emits noise interference, it can ensure that the user can hear the voice played by the robot clearly. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 A schematic diagram of an application scenario of the robot volume automatic adjustment method provided in an embodiment of the present application;

[0035] Figure 2 A schematic diagram of a flow chart of a method for automatically adjusting the volume of a robot provided in one embodiment of the present application;

[0036] Figure 3 A schematic diagram of a flow chart of a method for automatically adjusting the volume of a robot provided in one embodiment of the present application;

[0037] Figure 4 A schematic diagram of a flow chart of a method for automatically adjusting the volume of a robot provided in one embodiment of the present application;

[0038] Figure 5 A schematic diagram of a flow chart of a method for automatically adjusting the volume of a robot provided in one embodiment of the present application;

[0039] Figure 6 A schematic diagram of the structure of a robot automatic volume adjustment device provided in one embodiment of the present application;

[0040] Figure 7 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0041] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0042] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.

[0043] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0044] In practice, the robot will detect the ambient noise and adjust the volume of the robot's voice according to the ambient noise. However, in the face of sudden noise, the robot needs time to detect and process it, so it will still affect the user's voice listening experience during this period. In addition, when the robot is playing voice and there is sudden noise, forcibly increasing the volume of the robot will give the user a poor listening experience.

[0045] To this end, the present application provides a method for automatically adjusting the volume of a robot. According to the distribution of interference sources in the indoor space where the robot is active, the indoor space is divided into an interference area containing interference sources and a quiet area not containing interference sources. The real-time position information of the robot is detected to determine the area where the robot is currently located. The output volume of the robot is adjusted to an appropriate value according to the area where the robot is currently located. For example, when the robot is in a quiet area, the robot can play voice at a lower volume. When the robot is in an interference area, the volume of the voice played by the robot can be appropriately increased to ensure that the user can clearly hear the voice played by the robot and to improve the comfort of the user in listening to the voice.

[0046] In addition, before playing the voice each time, the robot will detect the current area where the robot is located. Once the area where the robot is located changes, the robot's output volume will be adjusted according to the area the robot enters. For example, when the robot enters a quiet area from an interference area, the robot's volume will be lowered, and when the robot enters an interference area from a quiet area, the robot's volume will be increased. Then, the robot plays the voice according to the adjusted output volume, and the next output volume adjustment will be made only after the robot completes the current voice broadcast. This can avoid suddenly increasing the robot's volume in the middle of playing the voice, giving users a better listening experience.

[0047] After introducing the design ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.

[0048] refer to Figure 1 , which is a schematic diagram of an application scenario of the robot volume automatic adjustment method provided in an embodiment of the present application. The robot 101 can move autonomously in a designated indoor space and provide services to a user 102 who enters the indoor space and needs help. After the robot 101 recognizes the user 102, it can actively approach and send a query to the user 102 to find out whether the user needs help. Specifically, the robot 101 can obtain relevant information of the user 102 through the built-in camera, microphone and other collection devices, analyze the user's intention and provide corresponding services.

[0049] Figure 1 The indoor space shown includes various sound interference sources 103, such as broadcast calling equipment, printers, fountain landscape, air conditioning, etc. In addition, the noise from the external space can also interfere with the indoor space through doors and windows. For this reason, the indoor space can be divided into the following according to the distribution of interference sources: Figure 1 The interference area 104 and the quiet area 105 in the figure are shown in FIG. 1 , wherein the quiet area 105 does not contain an interference source, and each interference area 104 contains at least one interference source 103. Specifically, the interference source 103 can be used as the center of the circle, and a circle can be drawn with a preset value as the radius. The area inside the circle is used as the interference area, and the area outside the circle is used as the quiet area. Furthermore, the radius of the circle can be determined based on the decibel value of the noise that each interference source 103 can generate. The higher the decibel value of the noise, the longer the radius. Among them, the radius of the circle can be selected based on experience and in combination with the actual application scenario, 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 obtain its real-time position in the indoor space through indoor positioning technology, inertial navigation technology, laser radar and other technologies, and determine the current area based on the area division data and real-time position in the indoor map data.

[0050] Of course, the method provided in the embodiment of the present application is not limited to Figure 1 The application scenarios shown can also be used in other possible application scenarios, and the embodiments of the present application are not limited thereto. Figure 1 The functions that can be implemented by each device in the application scenario shown will be described in the subsequent method embodiments, and will not be described in detail here.

[0051] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application.

[0052] Combine the following Figure 1 The application scenarios shown are used to illustrate the technical solutions provided by the embodiments of the present application. Any robot volume automatic adjustment method provided by the embodiments of the present application can be executed by a controller inside the robot, or by a background server controlling the robot, without limitation.

[0053] refer to Figure 2 The present application embodiment provides a method for automatically adjusting the volume of a robot, comprising the following steps:

[0054] S201, obtaining the position information of the robot.

[0055] The indoor space refers to the space where the robot moves. The indoor space is divided into at least one interference area and at least one quiet area according to the distribution of interference sources. Each interference area contains at least one interference source, and the quiet area does not contain any interference source.

[0056] In practical applications, the interference source includes at least one of the following: a noisy space connected to the indoor space, and a device in the indoor space that can emit interference noise.

[0057] When the isolation device between the indoor space and the noise space is open, the noise space is in an interference state, and when the isolation 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 the indoor space, which may be an outdoor road or a room containing a noise source connected to the indoor space where the robot is active. For example, the indoor space includes areas such as halls and corridors, and areas such as projection rooms are noise spaces. Isolation devices can be opened and closed, including but not limited to doors and windows.

[0058] Specifically, possible interference sources can be determined based on the decibel values ​​emitted by each device in the indoor space when it is working. If the decibel value emitted by the device when it is working exceeds the noise decibel value, the device will be regarded as an interference source, otherwise it will not be regarded as an interference source.

[0059] It should be noted that some interference sources will make sounds at irregular intervals, which means that it is impossible to predict in advance when the sound will be made, which is a sudden noise interference.

[0060] S202: Determine the target area where the robot is currently located according to the position information.

[0061] In a possible implementation, the current location information of the robot can be obtained through indoor positioning technology, inertial navigation technology, lidar, etc., and then the current area of ​​the robot is determined based on the area division data in the indoor map data and the current location information of the robot.

[0062] In another possible implementation, the distance between the robot and the interference source may be measured by radar ranging, that is, the position information in step S201 refers to the distance between the robot and the interference source. If the distance between the robot and the interference source is less than the radius value of the interference area where the interference source is located, it is determined that the robot is in the interference area where the interference source is located. If it is determined that the robot has not entered any interference area, it is determined that the robot is in a quiet area.

[0063] In specific implementation, if the robot was in the quiet area at the last moment and is in the interference area at the current moment, it is determined that the robot enters the interference area from the quiet area; if the robot was in the interference area at the last moment and is in the quiet area at the current moment, it is determined that the robot enters the quiet area from the interference.

[0064] S203: If the target area is an interference area, increase the output volume of the robot.

[0065] In a specific implementation, an initial volume value is preset for the robot, and the initial volume value can be set to a relatively small value, that is, a volume value that can be clearly heard by the user in a quiet environment. If the robot is in a quiet area, the initial volume value can be used.

[0066] Before the robot plays a voice each time, the robot's volume can be reset to the initial volume value, and then the robot's current location information is obtained, and the robot's current target area is determined based on the location information. If the target area is a quiet area, the robot's volume will not be modified. If the target area is an interference area, the robot's output volume will be increased to adjust the robot's output volume to an appropriate decibel value, and then the robot is controlled to play the voice at the appropriate decibel value until the robot completes this voice broadcast. This can avoid suddenly increasing the robot's volume in the middle of playing the voice, giving users a better listening experience.

[0067] The robot volume automatic adjustment method of the embodiment of the present application divides the indoor space into an interference area containing interference sources and a quiet area not containing interference sources according to the distribution of interference sources in the indoor space, and determines the area where the robot is located by detecting the real-time position information of the robot, and adjusts the volume of the robot's voice according to the area where the robot is located, ensuring that the user can clearly hear the voice played by the robot and improving the comfort of the user listening to the voice. To this end, the robot volume automatic adjustment method of the embodiment of the present application can predict possible noise interference in advance according to the area where the robot is located, so as to adjust the robot's volume to an appropriate value in advance, so that even if the interference source suddenly emits noise interference, it can ensure that the user can clearly hear the voice played by the robot.

[0068] refer to Figure 3 In order to better adjust the output volume of the robot when it is in the interference area, step S203 specifically includes the following steps:

[0069] S301: Obtain the status of interference sources in the target area.

[0070] In specific implementation, each area has its own corresponding position range, and the area where the robot is currently located can be determined based on the robot's position information.

[0071] When the interference source in the target area is a noise space, the image acquisition device of the robot can be controlled to capture an image of the isolation device in the target area, and based on the captured image, it can be identified whether the isolation device in the target area is open. Specifically, it can be determined whether the isolation device is open through an existing image recognition algorithm. Alternatively, the distance between the robot and the isolation device can be measured based on the robot's distance measuring device, 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 between the robot and the isolation device calculated based on the reflected signal is inconsistent with the actual value, it is determined that the isolation device is open, and then the noise space is determined to be in an interference state; if the distance between the robot and the isolation device calculated based on the reflected signal is consistent with the actual value, it is determined that the isolation device is in a closed state, and then the noise space is determined to be in a non-interference state. Among them, the actual distance between the robot and the interference source can be determined based on the position information of the robot and the position information of the interference source.

[0072] When the interference source in the target area is a device that can emit interference noise, the ambient volume around the robot can be detected. When the decibel of the ambient volume exceeds the decibel value of the noise, it is determined that the interference source is in an interference state. If there is an indicator light on the device to indicate whether the device is working, the robot can also determine the working state of the device by identifying the state of the indicator light. If the device is an intelligent device controlled by a background server, the working state of the device can also be learned through the background server.

[0073] S302: If it is determined that the interference source in the target area is in an interference state, increase the output volume of the robot by a first volume value.

[0074] If at least one interference source in the target area is in an interference state, the output volume of the robot is increased by a first volume value.

[0075] Furthermore, the target number of interference sources in the interference state in the target area can be obtained, and the first volume value can be determined according to the obtained target number. The first volume value is positively correlated with the target number, that is, the more interference sources in the interference state in the target area, the greater the first volume value. In this way, the volume of the robot can be increased in stages according to the number of interference sources in the interference state, thereby improving the comfort of the user in listening to the voice.

[0076] S303: If it is determined that the interference source in the target area is in a non-interference state, the output volume of the robot is increased by a second volume value.

[0077] The first volume value is higher than the second volume value.

[0078] When there is only one interference source 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. When there are at least two interference sources in the target area, if all interference sources in the target area are in a non-interference state, the output volume of the robot is increased by a second volume value. When all interference sources in the target area are in a non-interference state, the output volume of the robot is increased by a second volume value to cope with the situation where interference sources in the target area may emit interference noise at any time.

[0079] In a possible implementation manner, the ambient volume around the robot may also be acquired, and the first volume value and the second volume value may be adjusted according to the ambient volume, and both the first volume value and the second volume value may be positively correlated with the ambient volume.

[0080] In a possible implementation, the number of people around the robot can also be identified, and the first volume value and the second volume value can be adjusted according to the identified number of people, and both the first volume value and the second volume value are positively correlated with the identified number of people. In this way, it is possible to predict in advance whether noise will occur in the next moment according to the number of people around the robot, so as to adjust the output volume of the robot in advance.

[0081] In actual applications, the first volume value and the second volume value can be set with a lower limit and an upper limit respectively. Even if the ambient volume is loud and the number of people recognized is large, the first volume value and the second volume value cannot exceed their corresponding upper limits to avoid excessive volume. When the ambient volume is low and the number of people recognized is small, the first volume value and the second volume value can take their respective lower limits.

[0082] based on Figure 3 The illustrated implementation can adjust the output volume of the robot in stages according to the specific noise conditions in the interference area, thereby promoting a normal user experience and ensuring normal business efficiency.

[0083] Similarly, when the robot is currently in a quiet area, the robot's output volume can be further adjusted according to the ambient volume and the number of people around the robot, and can be appropriately increased or decreased based on the output volume set for the quiet area.

[0084] refer to Figure 4 , the embodiment of the present application provides another method for automatically adjusting the volume of a robot, which specifically includes the following steps:

[0085] S401. Before controlling the robot to play voice, obtain the ambient volume around the robot.

[0086] S402, determine whether the ambient volume is greater than a preset decibel value; if so, execute step S403; if not, execute step S404.

[0087] S403, adjusting the output volume of the robot according to the ambient volume, and executing step S406.

[0088] Among them, the output volume is positively correlated with the ambient volume. For example, when the decibel number of the ambient volume is detected as V (in decibels), when 70≤V<75, the output volume automatically increases by 10% of the maximum volume; when 75≤V<80, the output volume automatically increases by 20% of the maximum volume; when 80≤V<85, the output volume automatically increases by 30% of the maximum volume; when 85≤V<90, the output volume automatically increases by 40% of the maximum volume; when V≥90, this noise has affected the normal hearing of humans, so the robot can only adjust the volume to the maximum 40%. Among them, the maximum volume can be the upper limit of the volume set for the robot, such as 100 decibels. If the output volume of the robot after the increase exceeds the upper limit of the volume, the output volume of the robot can be forcibly modified to the upper limit of the volume to avoid the output volume being too high.

[0089] S404: Obtain the location information of the robot, and determine the area where the robot is located based on the location information.

[0090] S405: Adjust the output volume of the robot according to the area where the robot is located.

[0091] Specific adjustment method reference Figure 2 , Figure 3 The corresponding implementation methods are not described in detail.

[0092] S406. Control the robot to play voice according to the adjusted output volume.

[0093] In specific implementation, each time the robot finishes playing a voice, the output volume can be restored to the initial volume value, and then the robot can perform the reset again before playing the voice next time. Figure 4 Follow the steps shown to readjust the output volume of the robot.

[0094] refer to Figure 5 , the embodiment of the present application provides another method for automatically adjusting the volume of a robot, which specifically includes the following steps:

[0095] S501. Before controlling the robot to play voice, obtain the ambient volume around the robot.

[0096] S502, determine whether the ambient volume is greater than a preset decibel value; if so, execute step S503; if not, execute step S504.

[0097] S503: Adjust the output volume of the robot according to the ambient volume, and execute step S508.

[0098] S504, identifying the number of people around the robot, and determining whether the number of people is greater than a preset number of people; if so, executing step S505, otherwise executing step S506.

[0099] Specifically, the number of people around the robot can be identified based on the surrounding images collected by the robot.

[0100] S505: Increase the output volume of the robot, and execute step S508.

[0101] Before the robot is ready to play the voice, if the robot recognizes that the ambient volume at the scene does not meet the volume adjustment requirement, there may be a large number of people at the scene, and the scene may be in a relatively quiet state, but noise may occur in the next moment. The time difference between the noise and the robot's voice output is just the time when the robot starts to output the voice, and the two are confused, so that the user cannot hear the voice content. Therefore, step S504 is an implicit judgment on the possible occurrence of noise. When there are a large number of people around the robot, the output volume of the robot is appropriately increased.

[0102] Specifically, the output volume of the robot can be increased according to the number of people around the robot, that is, the more people around the robot, the higher the output volume of the robot. The relationship between the number of people identified and the output volume can be set according to actual application requirements. For example, if the number of people around the robot is identified as H, when 8≤H<13, the output volume automatically increases by 15% of the maximum volume; when H≥13, the output volume automatically increases by 30% of the maximum volume.

[0103] S506: Obtain the location information of the robot, and determine the area where the robot is located based on the location information.

[0104] S507: Adjust the output volume of the robot according to the area where the robot is located.

[0105] Specific adjustment method reference Figure 2 , Figure 3 The corresponding implementation methods are not described in detail.

[0106] S508. Control the robot to play voice according to the adjusted output volume.

[0107] In specific implementation, after the robot outputs a speech each time, the output volume can be restored to the initial volume value, and then the robot can perform the operation again before playing the speech next time. Figure 5 Follow the steps shown to readjust the output volume of the robot.

[0108] Figure 4 and Figure 5The implementation method combines the priority ranking of multiple factors such as environmental volume, number of people on site and the area where the robot is located, and provides a more reasonable judgment process to avoid the operation of volume superposition in various situations, adjust the robot's volume more reasonably, and improve the flexibility of the robot's voice function.

[0109] like Figure 6 As shown, based on the same inventive concept as the above-mentioned robot volume automatic adjustment method, the embodiment of the present application also provides a robot volume automatic adjustment device 60, comprising:

[0110] A positioning module 601 is used to obtain 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 of interference sources, and each interference area contains at least one interference source;

[0111] An area detection module 602 is used to determine the target area where the robot is currently located according to the position information;

[0112] The volume adjustment module 603 is used to increase the output volume of the robot if the target area is an interference area.

[0113] Optionally, the robot automatic volume adjustment device 60 further includes an interference source detection module, which is used to obtain the state of the interference source in the target area.

[0114] Accordingly, the volume adjustment module 603 is specifically configured to: if it is determined that the interference source in the target area is in an interference state, increase the output volume of the robot by a first volume value;

[0115] If it is determined that the interference source in the target area is in a non-interference state, the output volume of the robot is increased by a second volume value; wherein the first volume value is higher than the second volume value.

[0116] Optionally, the interference source detection module is further used to: obtain a target number of interference sources in an interference state within the target area.

[0117] Correspondingly, the volume adjustment module 603 is further used to: determine the first volume value according to the target number, wherein the first volume value is positively correlated with the target number.

[0118] Optionally, the interference source includes at least one of the following: a noise space connected to the indoor space, and a device in the indoor space that can emit interference noise; wherein, when the isolation device between the indoor space and the noise space is opened, the external space is in an interference state, and when the isolation device between the indoor space and the noise space is closed, the external space is in a non-interference state.

[0119] Optionally, the volume adjustment module 603 is further configured to:

[0120] Acquire the ambient volume and / or number of people around the robot;

[0121] The first volume value and the second volume value are adjusted according to the ambient volume and / or the number of people around the robot.

[0122] Optionally, the positioning module 601 is specifically used to obtain the position information of the robot in the indoor space before controlling the robot to play voice.

[0123] Correspondingly, the volume adjustment module 603 is also used to control the robot to play the voice at an increased output volume.

[0124] Optionally, the robot volume automatic adjustment device 60 also includes an environmental volume detection module, which is used to: obtain the environmental volume around the robot, and after determining that the environmental volume is not greater than a preset decibel value, trigger the positioning module 601 to perform corresponding steps; if it is determined that the environmental volume is greater than the preset decibel value, trigger the volume adjustment module 603 to adjust the output volume of the robot according to the environmental volume, wherein the output volume is positively correlated with the environmental volume.

[0125] Optionally, the robot automatic volume adjustment device 60 further includes an environment volume detection module and a number recognition module.

[0126] The environmental volume detection module is used to: obtain the environmental volume around the robot, and after determining that the environmental volume is not greater than the preset decibel value, trigger the number recognition module to execute corresponding steps; if it is determined that the environmental volume is greater than the preset decibel value, trigger the volume adjustment module 603 to adjust the output volume of the robot according to the environmental volume.

[0127] The number recognition module is used to recognize the number of people around the robot, and after determining that the recognized number of people is not greater than the preset number of people, trigger the positioning module 601 to execute corresponding steps; if the recognized number of people is greater than the preset number of people, the volume adjustment module 603 is triggered to increase the output volume of the robot according to the recognized number of people.

[0128] The robot volume automatic adjustment device provided in the embodiment of the present application and the above-mentioned robot volume automatic adjustment method adopt the same inventive concept and can achieve the same beneficial effects, which will not be described in detail here.

[0129] Based on the same inventive concept as the above-mentioned robot volume automatic adjustment method, the embodiment of the present application also provides an electronic device, which can be a control device or control system inside the robot, or an external device that communicates with a smart device, such as a desktop computer, a portable computer, a smart phone, a tablet computer, a personal digital assistant (PDA), a server, etc. Figure 7 As shown, the electronic device 70 may include a processor 701 and a memory 702 .

[0130] Processor 701 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware processor to be executed, or a combination of hardware and software modules in the processor can be executed.

[0131] The memory 702 is a non-volatile computer-readable storage medium that can 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, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 702 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0132] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; the above computer storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to: mobile storage devices, random access memory (RAM, Random Access Memory), magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)) and other media that can store program codes.

[0133] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: a mobile storage device, a random access memory (RAM, Random Access Memory), a magnetic storage device (such as a floppy disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical storage device (such as CD, DVD, BD, HVD, etc.), and a semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), a solid-state drive (SSD)) and other various media that can store program codes.

[0134] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for automatically adjusting the volume of a robot, characterized in that: include: Acquire 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 of interference sources, and each interference area contains at least one interference source; Determine the target area where the robot is currently located according to the position information; If the target area is an interference area, increasing the output volume of the robot; Wherein, increasing the output volume of the robot specifically includes: Acquire the state of the interference source in the target area; if it is determined that the interference source in the target area is in an interference state, increase the output volume of the robot by a first volume value; if it is determined that the interference source in the target area is in a non-interference state, increase the output volume of the robot by a second volume value; wherein the first volume value is higher than the second volume value; Determining that the interference source in the target area is in an interference state also includes the following steps: When the interference source in the target area is a noise space, the image acquisition device of the control robot is controlled to capture an image of the isolation device in the target area, and based on the captured image, it is identified whether the isolation device in the target area is open, or The robot-based ranging device measures the distance from the robot to the isolation device. If no signal reflected by the isolation device is received or the distance from the robot to the isolation device calculated based on the reflected signal is inconsistent with the actual distance, it is determined that the noise space is in an interference state.

2. The method according to claim 1, characterized in that The method comprises: Obtaining a target number of interference sources in an interference state within the target area; The first volume value is determined according to the target quantity, wherein the first volume value is positively correlated with the target quantity.

3. The method according to claim 1, characterized in that The interference source includes at least one of the following: a noise space connected to the indoor space, and a device in the indoor space that can emit interference noise; When the isolation device between the indoor space and the noisy space is opened, the external space is in an interference state, and when the isolation device between the indoor space and the noisy space is closed, the external space is in a non-interference state.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Acquire the ambient volume and / or number of people around the robot; The first volume value and the second volume value are adjusted according to the ambient volume and / or the number of people around the robot.

5. The method according to any one of claims 1 to 3, characterized in that: Before obtaining the position information of the robot in the indoor space, the method includes: obtaining the ambient volume around the robot, and determining that the ambient volume is not greater than a preset decibel value; The method further includes: if it is determined that the ambient volume is greater than the preset decibel value, adjusting the output volume of the robot according to the ambient volume, wherein the output volume is positively correlated with the ambient volume.

6. The method according to claim 5, characterized in that Before obtaining the position information of the robot in the indoor space, the method includes: if it is determined that the ambient volume is not greater than the preset decibel value, identifying the number of people around the robot, and determining that the identified number of people is not greater than the preset number of people; The method further includes: if the number of recognized persons is greater than the preset number of persons, increasing the output volume of the robot.

7. A robot volume automatic adjustment device, characterized in that: include: A positioning module, used to obtain 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 of interference sources, and each interference area contains at least one interference source; An area detection module, used to determine the target area where the robot is currently located according to the position information; A volume adjustment module, used to increase the output volume of the robot if the target area is an interference area; An interference source detection module, used to obtain the state of the interference source in the target area; The volume adjustment module is specifically used to: if it is determined that the interference source in the target area is in an interference state, increase the output volume of the robot by a first volume value; if it is determined that the interference source in the target area is in a non-interference state, increase the output volume of the robot by a second volume value; wherein the first volume value is higher than the second volume value; The interference source detection module is also used to: when the interference source in the target area is a noise space, control the image acquisition device of the robot to capture an image of the isolation device in the target area, and identify whether the isolation device in the target area is open based on the captured image, or The robot-based ranging device measures the distance from the robot to the isolation device. If no signal reflected by the isolation device is received or the distance from the robot to the isolation device calculated based on the reflected signal is inconsistent with the actual distance, it is determined that the noise space is in an interference state.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Volume regulating method, device, storage medium and mobile terminal

    CN107302638A

  • Voice broadcast method and device, computer storage medium and system

    CN111554317A