Voice pattern control method of robot and robot
By using audio and visual sensor information to determine the areas of the speaker and the audience, and formulating a public explanation strategy, the problem of the robot being unable to accurately identify the target of the voice response was solved, thus improving the voice interaction effect and user experience in multi-person scenarios.
Patent Information
- Application Number
- CN202611368120.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-09-04
AI Technical Summary
In multi-person scenarios, the robot cannot accurately determine the target audience for the voice response, which may lead to a mismatch between the robot and the actual audience, affecting the effectiveness of voice interaction in public settings.
By using audio and visual sensor information to determine the semantics of the initiator and the command, an audience area is constructed and a public explanation strategy is formulated to control the robot to conduct a public explanation.
It enables accurate determination of voice patterns and explanation strategies in multi-person scenarios, improving the robot's voice interaction effect and user experience.
Smart Images

Figure CN122867671B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of human-computer interaction and robot control technology, and in particular relates to a voice mode control method for a robot and a robot. Background Technology
[0002] In multi-person scenarios such as exhibition hall guidance, shopping mall services, and airport information, robots can be used to provide users with information inquiry and audio explanation services. When multiple people are within the robot's interaction range at the same time, the person issuing the voice command may not be the same person who actually needs to receive the robot's audio content. For example, one person may give the robot a command to introduce something to the people around them, while the other people around them are the actual listeners receiving the explanation.
[0003] In such multi-person scenarios, if the robot mainly determines the voice interaction target based on the person issuing the voice command, it is easy for the voice response target to not match the actual audience, thus affecting the voice interaction effect in public scenarios. Summary of the Invention
[0004] In view of this, embodiments of this application provide a voice mode control method and a robot, which can accurately determine the robot's voice mode and corresponding explanation strategy in multi-person scenarios, and improve the robot's voice interaction effect and user experience when the person issuing the command and the target responder of the voice are inconsistent.
[0005] The first aspect of this application provides a voice mode control method for a robot, including: The command semantics of the initiator and the initiator are determined based on the audio and visual sensor information in the target scene. The robot's voice pattern is determined based on the command semantics of the giver; When the voice mode is a public explanation mode, determine the audience area corresponding to the target audience in the target scene; A public speaking strategy is determined based on the target audience and the audience region, and the robot is controlled to conduct public speaking based on the public speaking strategy.
[0006] In one implementation of the first aspect, determining the command semantics of the sender and the sender based on audio sensing information and visual sensing information in the target scene includes: Based on the audio sensing information, the sound source is located to obtain the sound source information of the giver. The sound source information includes the direction information, distance information and sound source confidence level of the sound source. The location information of the person in the target scene is determined based on the visual sensing information, and the location information of the person includes the person's coordinates and the person's distance. The giver in the target scene is determined based on the giver's voice source information and the personnel location information.
[0007] In one implementation of the first aspect, determining the command semantics of the sender and the sender based on audio sensing information and visual sensing information in the target scene further includes: When the distance between the giver and the robot is greater than the maximum distance for near-field interaction, the giver is determined to be a far-field giver. The method further includes: If the giver is a far-field giver, the far-field giver is excluded from the target audience.
[0008] In one implementation of the first aspect, before determining the robot's voice pattern based on the command semantics of the giver, the method further includes: Candidate listeners in the target scene are determined based on at least one of depth information, sound source information, and map information of the target scene, and visual information. An attention score for each candidate audience member is calculated based on their orientation, gaze, dwell time, and behavioral posture. The target audience is determined from the candidate audience based on the attention score and attention threshold.
[0009] In one implementation of the first aspect, determining the robot's voice pattern based on the command semantics of the giver includes: Calculate the semantic probability that the command of the giver is a publicly explained semantic based on the audio sensing information; Calculate the audience distribution score based on the number, concentration, and location information of the target audience in the target scenario; Obtain the far-field command probability that the command issuer is a far-field command issuer; The score for the public explanation mode is calculated by weighting the semantic probability, the distribution score, the far-field command probability, and the attention score of the target audience. The robot's voice mode is determined based on the score of the publicly explained mode.
[0010] In one implementation of the first aspect, determining the robot's voice mode based on the publicly explained mode score includes: When the score in the public explanation mode is not less than the trigger threshold and the number of target listeners is greater than the minimum number of listeners, the robot's voice mode is determined to be the public explanation mode. When any of the following conditions are triggered: the score in the public explanation mode is not greater than the exit threshold, the number of target listeners is less than the minimum number of listeners, and the attention score of the target listeners meets the preset attention distraction condition, the robot's voice mode is determined to be far-field command mode. Wherein, the trigger threshold is greater than the exit threshold.
[0011] In one implementation of the first aspect, when the voice mode is a public explanation mode, determining the audience region corresponding to the target audience in the target scene includes: Determine the region center of the corresponding audience area based on the location information of each target audience member in the target scene; The angular width of the audience area is determined based on the orientation information of each target audience member relative to the robot; The coverage radius of the audience area is determined based on the distance between the location information of each target audience member and the center of the area.
[0012] In one implementation of the first aspect, determining a public speaking strategy based on the target audience and the audience region, and controlling the robot to perform a public speaking presentation based on the public speaking strategy, includes: Determine the target speaking direction based on the center of the audience area; The target sound field coverage range is determined based on the angular width of the audience area; The target loudness is determined based on the audience area coverage radius and the noise intensity of the target scene; The public narration strategy is determined based on the target narration orientation, the target sound field coverage, and the target loudness.
[0013] In one implementation of the first aspect, the method further includes: During the public presentation, attention scores are obtained for each of the target audience members; The average attention score is calculated based on the attention scores of the target audience, and the proportion of the target audience whose attention scores are less than the low attention threshold is also calculated. When the average attention score remains below the low attention threshold for a period of time longer than a first time or the proportion is greater than the attention distraction proportion, the explanation content parameters and explanation control parameters of the public explanation strategy are adjusted.
[0014] A second aspect of this application provides a robot including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the voice mode control method for the robot as described in any of the first aspects.
[0015] The first beneficial effect of this application embodiment is that by determining the commander and the command semantics of the commander based on audio and visual sensing information in the target scene, and then determining the robot's voice mode based on the command semantics of the commander, when the voice mode is a public explanation mode, the listener area corresponding to the target audience in the target scene is determined, and a public explanation strategy is determined based on the target audience and the listener area. The robot is then controlled to perform a public explanation based on the public explanation strategy. This achieves accurate determination of the robot's voice mode and explanation strategy in multi-person scenarios, and improves the robot's voice interaction effect and user experience when the person issuing the command and the target response object of the voice are inconsistent.
[0016] It is understandable that the beneficial effects of the second aspect mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart of a voice mode control method for a robot provided in an embodiment of this application; Figure 2 This is a flowchart provided in an embodiment of the present application for determining the giver based on audio sensing information and visual sensing information; Figure 3 This is a schematic diagram of a scenario where the far-field starter and the audience are separated, provided in an embodiment of this application. Figure 4 This is a flowchart illustrating how to determine a target audience in a target scenario, as provided in an embodiment of this application. Figure 5 This is a flowchart illustrating the implementation of determining a robot's voice pattern based on the command semantics of the giver, as provided in an embodiment of this application. Figure 6 This is a schematic diagram of an audience region modeling provided in an embodiment of this application; Figure 7 This is a flowchart illustrating audience region modeling provided in an embodiment of this application; Figure 8 This is a flowchart illustrating a strategy for developing a public disclosure method, as provided in an embodiment of this application. Figure 9 This is a schematic diagram of the structure of a robot provided in an embodiment of this application; Figure 10 This is a schematic diagram of a computer program product provided in an embodiment of this application. Detailed Implementation
[0019] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0020] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0021] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0022] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0023] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0024] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0025] like Figure 1 The diagram shown is a flowchart of a voice mode control method for a robot provided in an embodiment of this application. The method includes: Step S101: Determine the command semantics of the sender and the sender based on the audio sensing information and visual sensing information in the target scene.
[0026] The robot collects environmental data in real time within the target scene through a multimodal perception system deployed on its body. Audio sensing information comes from a microphone array to capture sound signals; visual sensing information comes from a depth camera or an RGB camera to capture image signals.
[0027] After identifying the giver, the semantics of the giver's command are analyzed. By inputting the speech recognition text into a pre-trained natural language understanding model, intent classification and slot information are extracted from the text. For example, the model recognizes commands containing group-oriented intent, such as "Introduce something to everyone" or "Please explain something to everyone." This process aims to accurately understand whether the specific task the giver wants the robot to perform is a public explanation, providing a core basis for subsequent pattern determination.
[0028] Step S102: Determine the robot's voice pattern based on the command semantics of the giver.
[0029] Based on the extracted command semantics, decisions are made regarding the robot's interaction mode. Voice modes include at least a public explanation mode and a far-field command mode. By analyzing whether the command semantics contain keywords such as "group-oriented," "public output," or "guided explanation," the intention of the command issuer is determined to trigger a public explanation. For example, when the command semantics contain words such as "introduce," "explain," or "play," and the target is not a single entity like "everyone" or "you," it is determined to be an intention for a public explanation.
[0030] Step S103: When the voice mode is public explanation mode, determine the audience area corresponding to the target audience in the target scene.
[0031] Once the robot enters public speaking mode, its target audience shifts from a single giver to an audience within the scene. This step aims to construct a spatial model of the audience area to guide the robot's physical orientation and sound field coverage.
[0032] In public narration mode, the geometric parameters of the audience area can be calculated based on the spatial location information of the target audience. The audience area is defined by parameters such as the area center, area angular width, and coverage radius. The area center can be, for example, a geometric center calculated by weighting the positions of each target audience member; the area angular width is determined by the difference between the maximum and minimum azimuth angles of each target audience member relative to the robot; and the coverage radius is determined by the distance of the target audience member farthest from the robot. This process models discrete individual audience members as a continuous spatial region, providing a precise geometric spatial basis for the subsequent generation of narration strategies.
[0033] Step S104: Determine a public narration strategy based on the target audience and the audience area, and control the robot to conduct a public narration based on the public narration strategy.
[0034] Based on the target audience and the corresponding audience region, a specific public narration strategy is generated and executed. The public narration strategy covers multiple dimensions, including robot posture control, sound field control, and voice output control.
[0035] Specifically, the target presentation orientation is determined based on the center of the audience area, and the robot is controlled to turn towards that center, ensuring it faces the audience. The target sound field coverage is determined based on the angular width of the audience area, and the beam directivity of the speaker array is adjusted to concentrate sound energy to cover a fan-shaped area of that angular width. The target loudness is determined based on the coverage radius of the audience area and the noise intensity in the target scene; the larger the coverage radius or the stronger the ambient noise, the higher the target loudness setting.
[0036] Furthermore, the public speaking strategy also includes adjusting the voice style, such as adopting a more formal, clear, and moderately paced voice. During the presentation, the robot continuously monitors changes in ambient noise and audience feedback, dynamically adjusting the aforementioned parameters. By collaboratively controlling the target speaking direction, target sound field coverage, and target loudness, the robot can achieve adaptive speaking for the audience's region, thereby ensuring audibility and naturalness of interaction in complex far-field environments.
[0037] The aforementioned technical process accurately identifies the giver's intent by fusing audio and visual information, and smoothly switches the interaction focus from the giver to the modeled audience area, solving the technical problem of the robot's inability to distinguish between the giver and the actual audience. The geometric modeling of the audience area provides a quantitative basis for sound field coverage and robot orientation, enabling precise projection of voice output onto the target group. This effectively avoids audience omissions and sound field misalignment caused by only facing the giver, significantly improving the robot's service quality and user experience in public presentation scenarios.
[0038] In the application, when a change in the target audience's location information is detected, resulting in a significant change in the corresponding audience area, the public explanation strategy is updated.
[0039] In another alternative embodiment, such as Figure 2 The diagram shows a flowchart illustrating how to determine a command issuer based on audio and visual sensing information according to an embodiment of this application. The step of determining the command issuer and the command semantics of the command issuer based on audio and visual sensing information in a target scene includes: Step S201: Based on the audio sensing information, the sound source is located to obtain the sound source information of the giver. The sound source information includes the direction information, distance information and confidence level of the sound source.
[0040] Sound source localization utilizes a microphone array mounted on the robot to spatially acquire and process sound signals within the target scene, analyzing the positional attributes of the sound-emitting target in spatial geometry. The resulting sound source information is not a single coordinate value, but rather structured data characterizing the multidimensional physical features of the sound source in polar or Cartesian coordinate systems. Specifically, orientation information describes the angular offset of the sound source relative to the robot's orientation, distance information quantifies the radial distance between the sound source and the robot, and sound source confidence evaluates the reliability and certainty of the current localization result, reflecting the signal-to-noise ratio and the degree of multipath interference.
[0041] In this application, the raw audio signal acquired by the microphone array is used to calculate the aforementioned sound source information through signal processing algorithms such as Time Difference of Arrival (TDOA), Power Ratio of Arrival, or beamforming. First, speech activity detection is performed on the acquired audio signal to filter out valid frames containing human voices. Then, the Generalized Cross Correlation-Phase Transform (GCC-PHAT) algorithm is used to calculate the time delay between different microphone channels, solving for the azimuth and elevation angles of the sound source. The sound source distance is estimated by combining a sound pressure level attenuation model or multi-channel phase consistency analysis. Finally, a confidence index is calculated based on energy distribution and spatial coherence. This process transforms temporally mixed ambient sound waves into sound source information with clear spatial directionality, enabling the initial identification of the potential location and distance of the giver, even in far-field scenarios or those with background noise. This provides crucial auditory perception input for subsequent multimodal fusion.
[0042] Step S202: Determine the location information of the person in the target scene based on the visual sensing information, wherein the location information of the person includes the person's coordinates and the person's distance.
[0043] Personnel location information is a spatial description of the presence of a human target obtained by imaging and analyzing the target scene through a vision sensor, mapping the image pixel domain to the physical space domain. This information consists of personnel coordinates and personnel distance, where personnel coordinates represent the two-dimensional or three-dimensional position of the target personnel in the robot's own coordinate system or the scene's global coordinate system, and personnel distance represents the Euclidean distance between the target personnel and the robot body.
[0044] Color and depth images of the target scene are acquired using monocular or binocular cameras. Human detection models or human keypoint detection models are used to identify all candidate areas for people, outputting human bounding boxes or skeletal keypoints. If monocular vision is used, the projected coordinates of people on the physical ground are estimated by incorporating ground plane constraints within the camera; if a depth camera is used, the pixel coordinates are directly converted to 3D spatial coordinates using depth data. During dynamic movement, target tracking and coordinate transformation are performed in real time, mapping the identified personnel positions in the images to a unified set of physical coordinates, and simultaneously calculating the straight-line distance between each person and the robot base. This process provides high-precision visual observation evidence, correcting sound source localization errors caused by acoustic reflection and reverberation. Through the complementary relationship between vision and hearing, false alarm targets that emit sound but are not actual people (such as television playback sounds or echoes) are eliminated, thus accurately constructing the spatial distribution of people in complex exhibition halls or shopping mall environments.
[0045] Step S203: Determine the starter in the target scene based on the starter's voice source information and the personnel location information.
[0046] The process of identifying the giver involves spatiotemporally aligning and correlating the auditory and visual spatial information acquired in the preceding steps to pinpoint the target of the command from all visually detected individuals. This step enhances decision robustness through cross-validation of multimodal information, addressing the vulnerability of single-sensory perception to interference. The identification logic is based on the consistency between sound source location information and personnel coordinates, as well as the matching degree between sound source distance information and personnel distance.
[0047] In practice, the coordinates of each visual inspector relative to the robot's azimuth angle are calculated and compared with the sound source's azimuth information. Personnel with angle deviations less than a preset threshold are selected as candidates. Further calculations are made to determine the difference between the candidate's visual distance and the sound source distance, eliminating those with excessively large distance differences. Finally, based on the sound source confidence index, the candidate with the highest confidence or closest distance is selected as the final command giver among those meeting spatial consistency constraints. When multiple candidates meet the conditions, gaze direction detection (determining whether a person is looking at the robot) or mouth movement detection (determining whether a person is speaking) can be introduced as auxiliary decision-making criteria. This data fusion strategy, based on spatial geometric consistency and confidence weighting, effectively avoids misjudging bystanders located in the sound source direction but not speaking as the command giver. It also allows for the inference of the possible location of the obscured command giver based on reliable sound source information when visual occlusion results in only partial detection, thus accurately determining the command giver's identity in the target scene and providing an accurate interactive object basis for subsequent command semantic understanding and voice mode switching.
[0048] The aforementioned technical features work together: the sound source localization step provides coarse-grained directional guidance and acoustic confidence assessment, while the personnel location information acquisition step provides high-precision visual spatial coordinates. These two aspects are combined through a spatial matching algorithm, achieving a transformation from independent perceptual modalities to a unified decision-making logic. This cross-modal fusion mechanism leverages the direct sensitivity of the sound source to vocal activity and the precise spatial reconstruction capability of vision, overcoming the perceptual limitations of single modalities under noisy, occluded, or far-field conditions. This enables the starter identification process to possess higher accuracy and environmental adaptability in complex and ever-changing public scenarios, thus pinpointing the exact response target for the robot's subsequent interactive behaviors.
[0049] In an optional embodiment, determining the command semantics of the giver and the giver based on audio sensing information and visual sensing information in the target scene further includes: Step S301: When the distance between the giver and the robot is greater than the maximum distance for near-field interaction, the giver is determined to be a far-field giver.
[0050] The maximum near-field interaction distance serves as a distance threshold for classifying robot interaction modes, defining the physical space into near-field and far-field interaction zones. Within the near-field interaction zone, interactions are typically one-to-one and private, with the giver often also being the direct recipient of the information. In the far-field interaction zone, the giver's intentions are more command-oriented, aiming to drive the robot to perform operations directed towards the public or specific groups. This maximum near-field interaction distance is not a fixed constant but a dynamic parameter determined based on the robot's acoustic coverage, visual recognition range, and the spatial characteristics of the application scenario. In practice, sound pressure level attenuation data of the robot in typical scenarios can be collected during system initialization to test the voice interaction signal-to-noise ratio and recognition rate at different distances. This, combined with the clear recognition distance of the visual sensor within the effective field of view, allows for the determination of a benchmark value that balances interaction success rate and coverage. For example, for exhibition hall guidance scenarios, this distance can be set to 1.5 to 2.5 meters; for open spaces such as shopping malls or airports, it can be set to 3 to 5 meters. In addition, this threshold can be dynamically adjusted according to the level of ambient noise. When high ambient noise is detected, the maximum distance for near-field interaction is appropriately reduced to ensure the quality of interaction.
[0051] Based on the distance between the giver and the robot obtained from the aforementioned steps, this distance value is compared with the maximum near-field interaction distance. To improve the robustness of the determination, this distance value is obtained by integrating multimodal sensor data from audio ranging and visual ranging. When the comparison result shows that the giver's distance exceeds the maximum near-field interaction distance, the giver is determined to be in the far-field region and thus identified as a far-field giver. This determination changes the logical attribute of the current interaction, transforming it from a personalized question-and-answer session for the giver to a group-oriented command response or a public explanation request. By establishing a role determination mechanism based on distance thresholds, the robot can accurately distinguish the functional positioning of the giver, laying a logical foundation for the subsequent precise definition of the sound field coverage objects.
[0052] The method further includes: Step S302: If the giver is a far-field giver, exclude the far-field giver from the target audience.
[0053] To ensure that the far-field giver can be modeled separately from the audience, it's crucial to exclude them from the target audience set. In traditional interaction modes, the system often defaults to treating the giver as the respondent. However, in far-field public speaking scenarios, the giver might be located outside the edge of the audience group, or even be a physically separated leader from the speaking area. Including the far-field giver in the target audience would cause deviations in the robot's sound field coverage and orientation adjustment strategies. For example, the robot might focus on the distant giver and ignore the densely packed audience nearby, or sacrifice near-field speech clarity to accommodate long-distance transmission requirements.
[0054] like Figure 3 The diagram illustrates a scenario where the far-field giver and audience area are separated, as provided in this application. It shows a scenario where the giver is located at a distance, while the robot faces the nearby audience area to provide explanations. During the construction of the target audience set, filtering logic is executed to detect the currently identified giver's identity. If the identifier has been marked as a far-field giver, the location data point corresponding to that giver is forcibly removed when calculating the audience area center, coverage radius, and generating the public explanation strategy. This means that subsequent audience area modeling is based solely on the location and status information of other individuals within the interaction area who demonstrate a willingness to listen. Through this exclusion mechanism, it is ensured that the formulation of the public explanation strategy (including robot turning angle, sound beam projection direction, volume gain calculation, etc.) fully serves the audience group that actually needs to receive the explanation content, avoiding interference from the far-field giver and achieving a precise transition from single-person interaction to group service.
[0055] The aforementioned technical solution effectively solves the technical problem of misaligned sound field coverage objects under far-field commands by setting a distance threshold to determine the role of the giver and implementing a giver exclusion strategy during the audience area modeling stage based on the determination result. This separation mechanism enables the robot to accurately identify the actual service target group, ensuring that the voice energy, directionality, and explanation content are focused on the audience area, thereby improving the interaction accuracy and explanation experience in complex multi-target scenarios.
[0056] One possible implementation is, such as Figure 4 The diagram shown is a flowchart illustrating a method for determining a target audience in a target scenario, as provided in this application. Before determining the robot's voice pattern based on the command semantics of the giver, the method further includes: Step S401: Determine candidate listeners in the target scene based on at least one of depth information, sound source information, and map information, and visual information of the target scene.
[0057] Visual information is acquired from the target scene and combined with at least one of depth information, sound source information, and map information to filter individuals with potential for interaction as candidate audience members. For example, the location of candidate audience members can be obtained by clustering point cloud data of people acquired by a depth camera; or the potential audience area can be inferred by combining the seating distribution or queuing area in the scene map. Among them, visual information is acquired by a camera to detect the two-dimensional planar coordinates and appearance features of people's bodies, faces, or postures within the field of view; depth information is acquired using depth sensors or binocular vision technology to provide accurate distance data and three-dimensional spatial coordinates to compensate for the limitations of single visual perception in the distance dimension; sound source information is acquired and processed by a microphone array to indicate the existence and location of the sound source, assisting in locating people who are interacting or asking questions in multi-person scenes; map information includes static data such as scene layout, exhibit location, or service area division to define the effective interaction area.
[0058] The aforementioned multimodal information is fused and processed to remove individuals from the entire pool of participants who are located in background-obscured areas, non-interactive areas, or are too far away to be effectively perceived. Those within the interactive areas with clearly defined spatial locations are retained, forming a candidate audience set. This process provides fundamental data support for subsequent refined screening, ensuring the accuracy and effectiveness of the processed individuals.
[0059] Step S402: Calculate the attention score for each candidate listener based on their orientation, gaze, dwell time, and behavioral posture.
[0060] For each individual in the candidate audience set, features are extracted across four dimensions: orientation, gaze, dwell time, and behavioral posture. An attention score, quantifying the current level of attention, is then calculated based on these features. Orientation features are determined by analyzing key points on the human body or the angle of facial orientation, indicating whether the person is facing the robot or the target of the explanation. A body or face facing the robot indicates the physical posture basis for receiving the explanation. Gazing features are obtained through a gaze estimation algorithm, further refining the analysis of the gaze direction to determine whether the gaze point is located within the robot or exhibit area, thus distinguishing between high attention states and irrelevant directions. Dwell time is tracked by an algorithm to determine the duration of a person's presence in a specific area, used to filter out non-target individuals who are merely passing by or briefly entering. Behavioral posture is detected using a posture recognition network, capturing actions such as looking up, nodding, and raising a hand, which indicate active participation or attention.
[0061] Based on the above characteristics, a weighted summation method is used to calculate the attention score, which is formally represented as follows:
[0062] in, Indicates the first Attention score of each candidate audience member Indicates the orientation feature score, Indicates the gaze feature score. This represents the score for the dwell time feature. This represents a score indicating behavioral posture features. , , , These represent the weight coefficients for the corresponding features. The range of values for each feature score and weight coefficient can be, for example,... This multi-dimensional weighted calculation transforms vague concepts of attention into quantifiable numerical indicators, thereby accurately distinguishing between bystanders and genuine audience members.
[0063] Step S403: Determine the target audience from the candidate audience based on the attention score and attention threshold.
[0064] An attention threshold is set as a limit to determine whether a candidate audience member has effective attention. This threshold can be derived based on historical interaction data statistics, for example, by selecting a quantile value that achieves the expected level of audience recognition accuracy. The attention score of each candidate audience member is compared with this attention threshold. If a candidate audience member's attention score is greater than or equal to the attention threshold, it is determined that they are currently maintaining effective attention to the robot or the content being explained, and they are identified as a target audience member. Conversely, if the attention score is lower than the attention threshold, they are determined to be an invalid background person or a passerby who is not interested in listening to the explanation.
[0065] Through the above screening mechanism, the final target audience set only includes people with genuine willingness to interact. When constructing the audience area, the focus can be on the core audience, significantly improving the accuracy of audience area modeling, and thus improving the pertinence of subsequent explanation strategies.
[0066] In yet another alternative embodiment, such as Figure 5 The diagram shown is a flowchart of an implementation method for determining the voice pattern of a robot based on the command semantics of the giver, as provided in this application. The step of determining the voice pattern of the robot based on the command semantics of the giver includes: Step S501: Calculate the semantic probability that the command semantics of the giver are publicly explained based on the audio sensing information.
[0067] Semantic probability is used to quantify the likelihood that a voice command issued by a user contains an intent to explain, introduce, or describe something to a group or the public. It involves acquiring the user's voice signal through an audio sensor, performing speech recognition to obtain text content, and then analyzing keywords, sentence structure, or overall semantics within the text using natural language processing techniques to calculate the confidence level that the command belongs to the category of public explanation. Specifically, the calculation process can involve inputting the text obtained from speech recognition into a pre-trained intent classification model, with the model outputting a probability value belonging to the public explanation category; or matching a rule base containing public-meaning words such as "introduce," "explain," "for everyone," and "play for," calculating matching weights, and normalizing the result to obtain the probability value. The semantic probability value can be set between 0 and 1, with values closer to 1 indicating a stronger likelihood that the command requires the robot to provide a public explanation.
[0068] In applications, visual sensing information can also be used to evaluate semantic probability, for example, when visual information indicates the presence of multiple audience members, the semantic probability can be increased.
[0069] Step S502: Calculate the audience distribution score based on the number, concentration, and location information of the target audience in the target scene.
[0070] Audience distribution score characterizes the degree to which the spatial distribution of the audience in the target scene supports triggering the public narration mode. Based on the location information of each target audience member determined in the preceding steps, the number, concentration, and relative position of the audience members to the robot are statistically analyzed. A larger number of audience members and a more concentrated spatial distribution indicate a more pronounced audience group effect, making the public narration mode more suitable. The calculation logic for this distribution score is as follows: first, the total number of target audience members is counted, with a higher base score assigned to a larger number; second, the variance or dispersion of all target audience location points is calculated, with lower dispersion indicating greater concentration and a higher weighting coefficient; simultaneously, the distance between the audience area and the robot is considered, with distributions at a moderate distance and within the robot's optimal auditory coverage area assigned higher scores. The audience distribution score, calculated comprehensively across these dimensions, effectively distinguishes between single-point interaction and group interaction scenarios, avoiding the accidental triggering of a public narration mode with an excessively large coverage area when there are only a few scattered audience members.
[0071] Step S503: Obtain the far-field command probability that the command issuer is a far-field command issuer.
[0072] The far-field command probability is used to determine the likelihood that the giver is in a far-field state relative to the robot, which is an important indicator for distinguishing between close-range private interactions and far-field public commands. This probability is determined comprehensively based on factors such as the distance between the giver and the robot, the energy attenuation characteristics of the sound source signal, and the confidence level of sound source localization. Specifically, the distance information of the giver is obtained; when this distance is greater than a preset maximum near-field interaction distance threshold (e.g., 1.5 meters or 2 meters), the far-field command probability increases. Combining the inverse square law of the distance between the sound source signal intensity collected by the microphone array and the signal strength, if the signal intensity conforms to the far-field attenuation characteristics, the probability value is further increased. Simultaneously, if the location confidence level output by the sound source localization module is high, it indicates that the far-field sound source recognition is reliable. The far-field command probability is generated, for example, by substituting the aforementioned distance factor, intensity factor, and confidence factor into a preset probability calculation model or weighted formula. This probability reflects the spatial scale of the interaction; a higher far-field probability means that the robot needs to use a larger volume and a wider sound field coverage, thus tending to enter a public explanation mode.
[0073] Step S504: Calculate the public explanation mode score based on the semantic probability, the distribution score, the far-field command probability, and the attention score of the target audience.
[0074] The score for the public presentation mode is a quantitative decision-making indicator that comprehensively considers semantic intent, audience distribution, spatial distance, and audience status. The parameters from these four dimensions are weighted and fused to form the final judgment criterion. This fusion process can be formalized into the following decision function:
[0075] In the formula, The calculated score for the public explanation mode. The semantic probability, Score the audience distribution. The probability of issuing commands in the far field. The attention score is given to the target audience. to These are preset weighting coefficients, which can be configured according to the emphasis of the application scenario. For example, they can be increased in an exhibition hall scenario. and To emphasize the purpose of the explanation and the target audience, the volume can be increased in noisy public places. This strengthens the weighting of far-field recognition. This weighted calculation avoids the limitations of a single dimension; for example, even if the semantics contain an explanatory intent, if there is a lack of an audience (…), the analysis may still be ineffective. (low) or the audience's attention is extremely scattered ( (If the score is low), the total score will also be suppressed, thereby reducing the risk of false triggering.
[0076] Step S505: Determine the robot's voice mode based on the score of the public explanation mode.
[0077] Through the steps described above, this application constructs a multi-dimensional probabilistic weighted decision-making model that organically combines language semantics, spatial distribution, distance factors, and audience status, achieving precise triggering of the public explanation mode. Semantic probability ensures that the response matches the user's intent, audience distribution score guarantees that the mode matches the audience size, far-field command probability adapts to the spatial scale of the interaction, and attention score filters out invalid or low-attention scenarios. The synergistic effect of these factors significantly improves the intelligence level and robustness of the robot's voice mode switching.
[0078] In one optional implementation, determining the robot's voice pattern based on the publicly explained mode score includes: Step S601: When the score in the public explanation mode is not less than the trigger threshold and the number of target listeners is greater than the minimum number of listeners, the robot's voice mode is determined to be the public explanation mode.
[0079] Step S602: When any of the following conditions are triggered: the score of the public explanation mode is not greater than the exit threshold, the number of target listeners is less than the minimum number of listeners, and the attention score of the target listeners meets the preset attention distraction condition, the voice mode of the robot is determined to be the far-field command mode.
[0080] Wherein, the trigger threshold is greater than the exit threshold.
[0081] The aforementioned mode-switching logic effectively suppresses frequent state transitions caused by fluctuations in the score near the critical point in the public explanation mode by introducing a dual-threshold judgment mechanism with hysteresis characteristics. The trigger threshold and exit threshold are two pre-configured boundary parameters, forming a non-overlapping hysteresis interval. The trigger threshold defines the lower confidence limit required to enter the public explanation mode, ensuring that the robot only performs mode switching when there is sufficient evidence that the user intends to give a group explanation; the exit threshold defines the lower tolerance limit for maintaining this mode, and its value is strictly lower than the trigger threshold. This asymmetric threshold design allows the system to use different judgment criteria when entering and exiting the same state, thereby avoiding repeated oscillations near a single critical value and improving the stability of the state machine operation.
[0082] The minimum audience size constitutes the basic threshold for initiating public guided tours. This parameter is set based on a quantitative analysis of the effectiveness of public guided tour scenarios, aiming to ensure a sufficient audience size to support group interaction. Specifically, this can be achieved by statistically analyzing the audience distribution of scenarios with positive user feedback in historical guided tour records, extracting high-coverage quantile values (e.g., the 95th percentile), and calibrating this value in conjunction with the actual space capacity of the application scenario. For example, in a small guided tour scenario, the minimum audience size can be set to 2 people; while in a large exhibition hall presentation scenario, this value can be adjusted to 5 people or higher. Only when the real-time count of the target audience exceeds this threshold is the space condition for initiating a public guided tour considered met; otherwise, it is considered insufficient to support the public guided tour.
[0083] The preset attention distraction condition is used to dynamically monitor the interaction status of the audience, preventing the mechanical maintenance of the presentation mode when no one is paying attention or when the audience's attention has significantly shifted. The determination of this condition relies on the temporal monitoring and statistical analysis of attention scores. The system periodically calculates the average attention score of all valid listeners within the audience area and counts the proportion of listeners whose attention scores are below a specific low attention threshold. The preset attention distraction condition is deemed met when one of the following conditions occurs: the average attention score remains below the preset minimum attention threshold for several consecutive time windows (e.g., 3 to 5 seconds); or the proportion of low-attention listeners exceeds the preset upper limit (e.g., more than 60% of listeners have an attention score below 0.3). The fulfillment of these conditions indicates a substantial decline in the overall attention level of the audience, rendering continued public presentations lacking interactive value, and the system will therefore forcibly exit the current mode.
[0084] Through the aforementioned hierarchical judgment logic, a state switching mechanism that combines stability and sensitivity is constructed. On the one hand, by utilizing the hysteresis interval between the trigger threshold and the exit threshold, instantaneous misjudgments caused by sensor data noise are filtered out, ensuring the smoothness of mode switching. On the other hand, the minimum number of listeners and preset attention distraction conditions serve as fallback strategies for forced exit. Even if the score in the public explanation mode has not yet fallen below the exit threshold, once the system detects that listeners have left or lost attention, it can promptly terminate the explanation behavior and return to the far-field command mode. This collaborative judgment mechanism not only optimizes the allocation of computing resources and avoids ineffective interference with the environment, but also significantly improves the intelligent response capability of human-computer interaction and the naturalness of the user experience.
[0085] In yet another alternative embodiment, such as Figure 6 and Figure 7 The figures shown are a schematic diagram and a flowchart of an audience region modeling method provided in this application embodiment. When the voice mode is a public explanation mode, determining the audience region corresponding to the target audience in the target scene includes: Step S701: Determine the region center of the corresponding audience area based on the location information of each target audience member in the target scene.
[0086] The target audience location information is a set of spatial coordinates of the valid audience members who have been screened and confirmed in the previous steps. This information is not a simple list of discrete points, but rather structured data that characterizes the actual distribution of the audience group in the target scene, and is used to quantify the physical spatial distribution of the audience.
[0087] The calculation of the region center aims to spatially aggregate a discrete group of listeners into a representative geometric center point, which will serve as the core reference coordinates for the robot to adjust its orientation and plan the direction of the sound field coverage. When calculating the region center, a weighted average algorithm based on listener distance or attention can be used, for example, instead of a simple geometric average, to highlight the importance of the core listener region.
[0088] Specifically, the position coordinates of each target audience member in the robot coordinate system are first obtained. ,in and Representing the first The horizontal and vertical coordinates of each audience member are determined in the horizontal plane. Then, a weighted average of all target audience member coordinates is calculated as the center of the region. The coordinate values are calculated using the following formula.
[0089] In the formula, The total number of the target audience, For the first The weighting coefficients for each target audience member can be determined by factors such as the distance between the audience member and the robot, the audience member's attention score, or the audience member's importance level. For example, audience members who are closer to the robot or have higher attention scores can be given greater weight, thus shifting the area center towards the core audience region. Through this weighted calculation method, the area center can more accurately reflect the main service direction that the robot should face, providing accurate physical direction for subsequent sound field projection.
[0090] Step S702: Determine the angular width of the audience area based on the orientation information of each target audience member relative to the robot.
[0091] The area angle width can refer to the minimum horizontal angle range required to cover all target listeners with the robot as the pole. This parameter defines the lateral spatial dimension that the speaker beamforming or robot turning needs to cover.
[0092] To determine this angle range, it is first necessary to calculate the azimuth angle of each target audience member relative to the robot's current position, i.e., the angular offset of the audience member in the robot's coordinate system. Based on the position information of each target audience member and the robot's own position coordinates, the arctangent function is used to calculate the... The relative azimuth of each listener Then, the maximum value is found among all the calculated azimuth angles. and minimum value The difference between the two is calculated as the region angular width. The computational logic can be expressed as follows:
[0093] In practical applications, if the audience distribution spans... (directly ahead) and At the boundary, the angle values can be periodically processed to calculate the correct minimum included angle. Furthermore, to ensure the edge integrity of the sound field coverage, the calculated angle can also be... By adding a preset edge margin to the base, the final target value of the sound field coverage angle is obtained. The area angle width determined in this way can guide the robot to adjust its orientation or control the beamwidth of the speaker, so that the acoustic energy can completely cover the sector where all listeners are located, while avoiding energy sidelobe leakage caused by excessive coverage.
[0094] Step S703: Determine the coverage radius of the audience area based on the distance between the location information of each target audience member and the center of the area.
[0095] The coverage radius characterizes the maximum longitudinal distance between the listener area and the robot, and this parameter directly determines the loudness gain requirement of the speech output and the depth of the sound field projection.
[0096] When calculating the coverage radius, the primary consideration is the spatial location of the furthest listener to ensure that the sound pressure level can cover the farthest reaches of the listener distribution. Specifically, the calculation process might involve calculating the location coordinates of each target listener. The regional center determined by the above steps The coverage radius can be determined by either calculating the Euclidean distance between the target audience members or directly calculating the distance between each target audience member and the robot's current position, and then selecting the maximum value from all the calculation results. The selection logic can be formalized as follows:
[0097] In the formula, Indicates the first A distance function from the target audience to the center of the region.
[0098] After determining the coverage radius, a preset distance-loudness mapping table can be consulted based on this radius value, or the required target gain can be calculated based on an acoustic attenuation model. This ensures that listeners at the edge of the coverage radius can also hear speech signals with the required clarity. Furthermore, the coverage radius can also be used to determine whether to activate the robot's movement mechanism, for example, when... When the effective amplification distance threshold of the robot is exceeded, the robot can plan a path to move closer to the audience area in order to shorten the acoustic propagation distance.
[0099] The audience area model constructed using three dimensions—region center, region angle width, and coverage radius—abstracts the originally discretely distributed target audience into spatial objects with clear geometric boundaries and physical directionality. This model enables the robot to coordinately adjust its physical orientation, sound field beamwidth, and speech output loudness based on the actual spatial distribution of the audience, rather than solely on the position of a single giver. This collaborative control strategy based on the spatial distribution of the audience group ensures that acoustic energy is accurately projected onto the area where the target audience is located, improving the uniformity of sound pressure level and speech intelligibility within the audience area while effectively reducing noise interference to non-target areas, thus significantly optimizing the voice interaction experience in public speaking scenarios.
[0100] In yet another alternative embodiment, such as Figure 8 The diagram shows a flowchart of a public speaking strategy formulation method provided in an embodiment of this application. The step of determining the public speaking strategy based on the target audience and the audience region, and controlling the robot to perform public speaking based on the public speaking strategy, includes: Step S801: Determine the target explanation orientation based on the center of the audience area.
[0101] The target narration orientation can refer to the physical orientation of the robot itself or the direction of the main beam of its directional loudspeaker, aiming to ensure that the narration sound is projected along the optimal path. Using the audience area center coordinates calculated in the preceding steps, these coordinates represent the geometric or weighted center of gravity of all target audience members in spatial distribution. Combining the robot's real-time position coordinates with the aforementioned audience area center coordinates, the spatial relative orientation between the two is calculated, including horizontal yaw and vertical pitch angles. In response to this spatial relative orientation, the robot's gimbal rotation mechanism or the steering mechanism of its wheeled chassis is controlled to adjust the robot's front axis or the main lobe of the loudspeaker to align with this orientation, thus establishing the target narration orientation. This orientation adjustment mechanism can highly concentrate sound energy onto the core area where the audience is gathered, effectively avoiding sound energy attenuation and sound coloration problems caused by the robot facing away from the audience or orientation deviations.
[0102] Step S802: Determine the target sound field coverage range based on the angular width of the listener area.
[0103] The target sound field coverage is defined as the horizontal or vertical diffusion angle of the sound waves generated by the directional loudspeaker or beamforming algorithm, used to define the sector boundary for effective sound radiation. The listener area angular width reflects the lateral distribution span of the target audience from the current viewpoint, such as the angular size when the audience is arranged in a fan shape. The azimuth angles of each target audience member relative to the robot are statistically analyzed, and the maximum and minimum azimuth angles are extracted. The difference between these two angles is calculated as the listener area angular width. Based on this angular width, the target sound field coverage is set, and the loudspeaker beamwidth is configured to be slightly greater than or equal to this angular width to ensure complete sound field coverage for all listeners distributed at different angles. For example, when the detected listener area angular width is 60 degrees, the target sound field coverage can be set to 65 to 70 degrees to allow for a safety margin to accommodate minor displacements of the audience. By precisely matching the geometric distribution characteristics of the audience, this setting avoids poor reception for edge listeners due to insufficient coverage angles, and also prevents ineffective energy radiation to areas without listeners due to excessive coverage angles.
[0104] Step S803: Determine the target loudness based on the coverage radius of the audience area and the noise intensity in the target scene.
[0105] Target loudness is defined as the sound pressure level or volume gain value when the robot outputs speech, directly determining the perceived clarity of the content for the audience in a specific acoustic environment. The audience area coverage radius characterizes the depth scale of the audience distribution, typically taken as the distance to the target audience furthest from the robot; the noise intensity in the target scene reflects the degree to which background noise masks the speech signal. Combining these two types of parameters, an adaptive gain strategy is used to calculate the target loudness. First, the distance compensation gain is calculated based on the audience area coverage radius, following the free-field sound pressure attenuation law, where greater gain is required for greater distances. Simultaneously, environmental noise data of the target scene is collected in real time to obtain noise intensity, and the signal-to-noise ratio compensation gain is calculated accordingly to ensure that the speech output sound pressure level is higher than a preset decibel threshold (e.g., 10 to 15 dB) for the environmental noise intensity, thus meeting the speech intelligibility index requirements. The final target loudness is determined jointly by the distance compensation gain and the signal-to-noise ratio compensation gain, and its decision logic can be formally expressed as follows:
[0106] in, Indicates the target loudness, in decibels; This indicates the preset baseline loudness reference value; Indicates the radius of the audience coverage area, in meters; This represents the noise intensity in the current target scene, expressed in decibels. This indicates the preset reference noise level. and The weighting coefficients can be calibrated through acoustic environment simulation experiments. This computational mechanism enables the robot to maintain a moderate volume in quiet exhibition halls to avoid disturbing others, while automatically increasing the loudness in noisy shopping malls or airports to penetrate background noise and ensure the comprehensibility of the explanations.
[0107] Step S804: Determine the public narration strategy based on the target narration orientation, the target sound field coverage, and the target loudness.
[0108] The public narration strategy is a comprehensive control instruction set composed of robot posture control commands, sound field adjustment parameters, and voice output characteristics. It is used to standardize the robot's behavioral logic in public narration mode. By integrating the three key parameters previously identified—target narration orientation, target sound field coverage, and target loudness—a unified public narration strategy is generated. This strategy specifically includes the target narration orientation parameter for driving the motor to perform steering actions, the target sound field coverage parameter for configuring beamforming algorithms or speaker array directivity, and the target loudness parameter for adjusting the audio amplifier gain. The robot synchronously performs physical steering and sound field adjustment operations according to this public narration strategy, ensuring optimal orientation during the narration process, accurately covering the audience distribution area with sound field energy, and adaptively matching the output loudness with environmental noise and audience distance. Through the coordinated control of multi-dimensional parameters, the robot can stably provide high-quality, high-definition public narration services in dynamically changing and complex scenarios.
[0109] By jointly mapping the spatial geometric features (center and angular width) of the audience area with the acoustic environmental features (coverage radius and noise intensity), the above process achieves closed-loop adaptive control of the robot's narration posture and voice output parameters. This control mechanism overcomes the limitations of single-parameter adjustment, enabling the robot's public narration behavior to respond in real time to changes in audience distribution and environmental noise fluctuations, ensuring efficient utilization of narration sound energy and consistency in the audience's reception experience.
[0110] In practice, the public explanation strategy also includes enhancing the clear speech band based on the noise spectrum, avoiding interference bands, or reducing some low-frequency energy.
[0111] In an optional implementation, the method further includes: Step S901: During the public presentation, obtain the attention scores of each of the target audience members.
[0112] A real-time feedback mechanism is established for the public presentation process. By continuously tracking changes in the audience's psychological state, a data foundation is provided for dynamic adjustments to subsequent strategies. This attention score is not a simple, single-dimensional existence judgment, but a high-dimensional quantitative indicator representing the audience's level of attention to the current presentation content, calculated based on the fusion of multimodal perceptual data. Specifically, visual sensors collect facial orientation data, gaze tracking data, and head posture data of the target audience; depth sensors or depth cameras acquire changes in the target audience's distance relative to the robot and their body orientation; and a microphone array collects the target audience's voice feedback data (such as questions and echoes) and specific acoustic responses to the presentation content. Combining this multi-source data, for each target audience member, an attention score is calculated based on their degree of facing the robot, the duration of their gaze on the robot or the presentation target area, the duration of their stay in the current area, and whether they engage in interactive behaviors such as asking questions or nodding.
[0113] Step S902: Calculate the average attention score based on the attention scores of the target audience, and calculate the proportion of the target audience whose attention scores are less than the low attention threshold.
[0114] Aggregating individual-level perceptual data into a holistic group-level assessment provides a macro-level decision-making basis for determining whether intervention is needed in the current presentation. The average attention score reflects the overall attention level of the audience group; it can be calculated, for example, by taking the arithmetic mean of the attention scores of all detected target audience members, as shown in the formula below.
[0115] In the formula, This indicates the total number of the current target audience. Indicates the first The attention score of each target audience member. The proportion of those with low attention thresholds reflects the dispersion or attention loss of the audience group. The calculation logic is to count the number of audience members whose attention scores are below a preset threshold and divide that number by the total number of audience members. For example, the formula is:
[0116] In the formula, This indicates the preset low attention threshold, which can be set to values such as 0.4 or 0.5, depending on the strictness of attention requirements in the application scenario. This represents a counting function that satisfies the condition. The closer the value is to 1, the more severe the loss of attention. By calculating the average attention score and the proportion of low attention, the audience's state can be characterized from two dimensions: the overall level and the individual distribution. This avoids misjudgments that may be caused by a single indicator (such as some audience members leaving but the overall atmosphere is still good, or the overall average is acceptable but a large number of audience members are in a critical state).
[0117] Step S903: When the average attention score is continuously less than the low attention threshold for a period of time longer than a first time or the proportion is greater than the attention distraction proportion, adjust the explanation content parameters and explanation control parameters of the public explanation strategy.
[0118] The key to constructing a closed-loop control system for explanations is to determine the degree of deterioration in the audience's state through preset trigger conditions and execute different levels of strategy adjustments accordingly to ensure the effectiveness of the explanation. This judgment logic introduces a time-dimensional constraint, namely, a duration greater than a first time interval, to filter out brief fluctuations in attention scores caused by instantaneous environmental interference (such as sudden loud noises or temporary obstructions), preventing the robot from making excessively frequent strategy jitters. The first time interval can be set to, for example, 3 seconds, 5 seconds, etc., with the specific value depending on the system's trade-off between response speed and stability. The attention distraction ratio can be set to, for example, 60%, 70%, or 80%, to define the boundary of group attention distraction. When any of the above conditions is triggered, the depth of strategy execution can be graded according to the severity. Adjustments to explanation content parameters include, for example, shortening the text length of the current explanation segment, reducing the information density per unit time, increasing the frequency of pauses to give the audience time to digest the information, or switching from a detailed explanation to a concise summary. Adjusting the control parameters can include, for example, adjusting the robot's orientation to re-engage distracted listeners, increasing the loudness or clarity of the speech output, changing the speaking speed or tone to increase auditory stimulation, or controlling the robot to move to a better coverage position. For example, when Below 0.4 for 5 consecutive seconds and When the audience is more than 60% fatigued or distracted, the robot can determine that they are in a state of moderate fatigue or distraction. At this point, the control strategy could be to immediately interrupt long sentences and generate a guiding question (such as, "Do you need me to repeat this part?"), accompanied by a head-turning motion to attempt to refocus the audience's attention. Through this dynamic adjustment, the robot's presentation is no longer a one-way, fixed output, but rather possesses human-like interactive capabilities that perceive the environment and adaptively optimize, thereby effectively extending the audience's effective attention span.
[0119] Through the steps described above, the method provided in this application constructs a closed-loop control system based on real-time attention feedback. The abstract psychological state of the audience is transformed into a calculable attention score, and a comprehensive evaluation is performed using both average score and discrete proportion indicators. A time dimension constraint is introduced into the triggering conditions to effectively filter out instantaneous noise interference and ensure the stability of strategy adjustments. Finally, by collaboratively adjusting the content of the explanation and control parameters, a shift from one-way instruction to adaptive interaction is achieved, significantly improving the robot's explanation effect and user satisfaction in complex dynamic scenarios.
[0120] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0121] Figure 9 This is a schematic diagram of the structure of a robot provided in one embodiment of this application. Figure 9 As shown, the robot 9 in this embodiment includes: at least one processor 90 ( Figure 9 (Only one is shown in the diagram), memory 91, and computer program 92 stored in said memory 91 and executable on said at least one processor 90, wherein said processor 90 executes said computer program 92 to implement the steps in any of the above method embodiments.
[0122] The robot may include, but is not limited to, a processor 90 and a memory 91. Those skilled in the art will understand that... Figure 9 The example shown is merely of robot 9 and does not constitute a limitation on robot 9. It may include more or fewer parts than shown, or combine certain parts, or different parts, such as input / output devices, network access devices, etc.
[0123] The processor 90 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0124] In some embodiments, the memory 91 may be an internal storage unit of the robot 9, such as a hard disk or memory of the robot 9. In other embodiments, the memory 91 may be an external storage device of the robot 9, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the robot 9. Furthermore, the memory 91 may include both internal storage units and external storage devices of the robot 9. The memory 91 is used to store operating systems, applications, bootloaders, data, and other programs, such as the program code of computer programs. The memory 91 can also be used to temporarily store data that has been output or will be output.
[0125] In one embodiment, the robot further includes a microphone array, a vision sensor array, a speaker array, and a steering mechanism.
[0126] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0127] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0128] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0129] like Figure 10As shown, this application provides a computer program product 100, including a computer program 92, which, when run, causes the steps in the above-described method embodiments to be executed.
[0130] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a device / robot, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0131] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0132] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0133] In the embodiments provided in this application, it should be understood that the disclosed robots and methods can be implemented in other ways. For example, the robot embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0135] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A voice mode control method for a robot, characterized in that, include: The command semantics of the initiator and the initiator are determined based on the audio and visual sensor information in the target scene. The robot's voice pattern is determined based on the command semantics of the giver; When the voice mode is a public explanation mode, determine the audience area corresponding to the target audience in the target scene; A public speaking strategy is determined based on the target audience and the audience area, and the robot is controlled to conduct a public speaking presentation based on the public speaking strategy. Determining the robot's voice pattern based on the command semantics of the giver includes: Calculate the semantic probability that the command of the giver is a publicly explained semantic based on the audio sensing information; Calculate the audience distribution score based on the number, concentration, and location information of the target audience in the target scenario; Obtain the far-field command probability that the command issuer is a far-field command issuer; The score for the public explanation mode is calculated by weighting the semantic probability, the distribution score, the far-field command probability, and the attention score of the target audience. The robot's voice mode is determined based on the score of the publicly explained mode.
2. The voice mode control method for a robot as described in claim 1, characterized in that, The step of determining the command semantics of the sender and the sender based on audio and visual sensor information in the target scene includes: Based on the audio sensing information, the sound source is located to obtain the sound source information of the giver. The sound source information includes the direction information, distance information and sound source confidence level of the sound source. The location information of the person in the target scene is determined based on the visual sensing information, and the location information of the person includes the person's coordinates and the person's distance. The giver in the target scene is determined based on the giver's voice source information and the personnel location information.
3. The voice mode control method for a robot as described in claim 2, characterized in that, The step of determining the command semantics of the sender and the sender based on audio and visual sensor information in the target scene also includes: When the distance between the giver and the robot is greater than the maximum distance for near-field interaction, the giver is determined to be a far-field giver. The method further includes: If the giver is a far-field giver, the far-field giver is excluded from the target audience.
4. The voice mode control method for a robot as described in claim 1, characterized in that, Before determining the robot's voice pattern based on the command semantics of the giver, the method further includes: Candidate listeners in the target scene are determined based on at least one of depth information, sound source information, and map information, as well as visual information. An attention score for each candidate audience member is calculated based on their orientation, gaze, dwell time, and behavioral posture. The target audience is determined from the candidate audience based on the attention score and attention threshold.
5. The voice mode control method for a robot as described in claim 1, characterized in that, Determining the robot's voice mode based on the publicly explained mode score includes: When the score in the public explanation mode is not less than the trigger threshold and the number of target listeners is greater than the minimum number of listeners, the robot's voice mode is determined to be the public explanation mode. When any of the following conditions are triggered: the score in the public explanation mode is not greater than the exit threshold, the number of target listeners is less than the minimum number of listeners, and the attention score of the target listeners meets the preset attention distraction condition, the robot's voice mode is determined to be far-field command mode. Wherein, the trigger threshold is greater than the exit threshold.
6. The voice mode control method for a robot as described in claim 1, characterized in that, When the voice mode is a public explanation mode, determining the audience area corresponding to the target audience in the target scene includes: Determine the region center of the corresponding audience area based on the location information of each target audience member in the target scene; The angular width of the audience area is determined based on the orientation information of each target audience member relative to the robot; The coverage radius of the audience area is determined based on the distance between the location information of each target audience member and the center of the area.
7. The voice mode control method for a robot as described in claim 6, characterized in that, The step of determining a public speaking strategy based on the target audience and the audience region, and controlling the robot to conduct a public speaking presentation based on the public speaking strategy, includes: Determine the target speaking direction based on the center of the audience area; The target sound field coverage range is determined based on the angular width of the audience area; The target loudness is determined based on the audience area coverage radius and the noise intensity of the target scene; The public narration strategy is determined based on the target narration orientation, the target sound field coverage, and the target loudness.
8. The voice mode control method for a robot as described in any one of claims 1 to 7, characterized in that, The method further includes: During the public presentation, attention scores are obtained for each of the target audience members; The average attention score is calculated based on the attention scores of the target audience, and the proportion of the target audience whose attention scores are less than the low attention threshold is also calculated. When the average attention score remains below the low attention threshold for a period of time longer than a first time or the proportion is greater than the attention distraction proportion, the explanation content parameters and explanation control parameters of the public explanation strategy are adjusted.
9. A robot 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, it implements the steps of the voice mode control method for the robot as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Audio output equipment control method and device, control equipment and storage medium
CN119987711A
Humanoid robot interactive explanation control system and method based on multi-modal large model
CN122431125A
