Terminal audio acquisition control method, electronic device and readable storage medium

It determines whether the user is speaking through the terminal face image and automatically controls audio transmission, solving the problem of noise and howling in multi-terminal conferences and ensuring audio clarity and reliability.

CN111753769BActive Publication Date: 2024-10-29GEER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010605095.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-29
Publication Date
2024-10-29
Estimated Expiration
2040-06-29

AI Technical Summary

Technical Problem

In multi-person remote conferences, since the microphones of multiple terminals are turned on at the same time, the echo suppression effect becomes poor or even ineffective, causing problems such as loud noise or howling. The existing technology relies on users to manually mute, but it is easy to forget and the speech is not heard. .

Method used

By obtaining the face image of the end user, it is determined whether the user is speaking. If so, the audio is sent to the server. Otherwise, the audio is not sent. This achieves automatic control of voice collection, which is equivalent to muting the microphone.

Benefits of technology

It reduces the noise or howling of the terminal, ensures that the audio is correctly received when the user speaks, avoids the problem of not being heard due to the user forgetting to mute, and realizes automatic control of voice collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111753769B_ABST
    Figure CN111753769B_ABST
Patent Text Reader

Abstract

The present invention discloses a terminal audio acquisition control method, in which it is first determined whether the user is speaking based on the face image of the user of the terminal. If it is determined that the user is speaking, the first current audio collected by the terminal is sent to the server, otherwise, the first current audio collected by the terminal is not sent to the server. This method makes the terminal not send the collected first current audio when the user of the terminal is not speaking, which is equivalent to the microphone mute effect in the prior art, reduces the noise or howling of the terminal, and also realizes the automatic control of voice acquisition, so that the user will not speak without being heard by others. The present invention also discloses an electronic device and a readable storage medium, which have the same beneficial effects as the above-mentioned terminal audio acquisition control method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio conferencing, and in particular to a terminal audio acquisition control method, an electronic device and a readable storage medium. Background Art

[0002] With the obvious increase in the demand for remote work, it is becoming more and more common for multiple people to hold remote meetings through mobile phones, speakers and other terminals. However, when multiple terminals are used simultaneously in a small area, since the microphones of multiple terminals are turned on at the same time, the microphones will re-record the sound played by the speakers of other terminals, causing the echo suppression effect of the terminal to deteriorate or even fail, and then the terminal may have a high noise or even howling problem. The solution in the prior art is to let the person who is not speaking manually mute the microphone of the terminal. This method can reduce the noise or howling problem of the terminal to a certain extent, but after muting, the user often has the problem of not being heard by others because he forgets that he has muted the microphone, and the effect is poor. Summary of the invention

[0003] The purpose of the present invention is to provide a terminal audio collection control method, an electronic device and a readable storage medium, which reduce the noise or howling of the terminal and also realize the automatic control of voice collection, so that the user can speak without being heard by others.

[0004] In order to solve the above technical problems, the present invention provides a terminal audio acquisition control method, which is applied to a terminal and includes:

[0005] Acquiring a facial image of a user of the terminal;

[0006] Determining whether the user is speaking based on the facial image;

[0007] If so, sending the first current audio collected by the terminal to the server;

[0008] If not, the first current audio collected by the terminal is not sent to the server.

[0009] Preferably, judging whether the user is speaking based on the face image includes:

[0010] Recognizing lips from the facial image;

[0011] It is determined whether the lips move multiple times within a first preset time period. If so, it is determined that the user is speaking; otherwise, it is determined that the user is not speaking.

[0012] Preferably, when acquiring the facial image of the user of the terminal, the method further includes:

[0013] Acquire a second current audio collected by the terminal, and save the second current audio to a memory;

[0014] After determining that the user is speaking, it also includes:

[0015] Acquire from the memory a second current audio of a second preset time length before the current moment of the user;

[0016] Sending the first current audio collected by the terminal to the server includes:

[0017] The second current audio and the first current audio obtained from the memory are transmitted to the server.

[0018] Preferably, before acquiring the facial image of the user of the terminal, the method further includes:

[0019] The server receives the gateway MAC sent by the conference system and the IP corresponding to the terminal accessing the conference system;

[0020] If there is a terminal whose gateway MAC is the same as the MAC of other gateways in the conference system, the terminals with the same gateway MAC are grouped into one conference group;

[0021] A dense mode instruction is sent to the terminals in the conference group based on the IP, so that the terminals enter the step of acquiring the facial image of the user of the terminal after receiving the dense mode instruction.

[0022] Preferably, it also includes:

[0023] If there is a terminal whose gateway MAC is different from the gateway MAC of other terminals in the conference system, a loose mode instruction is sent to the terminal whose gateway MAC is different from other terminals in the conference system based on the IP, so that after receiving the loose mode instruction, the terminal whose gateway MAC is different from other terminals in the conference system directly transmits the user's audio to the server when the user's audio is collected.

[0024] Preferably, after the terminals with the same gateway MAC are grouped into one conference group, the method further includes:

[0025] The server sorts each terminal in the conference group based on the IP;

[0026] Controlling each terminal in the conference group to send a detection audio signal in sequence;

[0027] receiving a detection audio signal sent by other terminals in the conference group and received by each of the terminals;

[0028] Determining the distance between each of the terminals based on the strength of the detection audio signal;

[0029] Determine whether there is a terminal whose minimum distance to other terminals in the conference group is greater than a distance threshold;

[0030] If so, the terminal whose distance to multiple other terminals in the conference group is greater than the distance threshold is removed from the conference group;

[0031] A loose mode instruction is sent to the terminal excluded from the conference group based on the IP, so that after receiving the loose mode instruction, the terminal excluded from the conference group directly transmits the user's audio to the server when the user's audio is collected.

[0032] Preferably, it also includes:

[0033] When receiving audio sent by multiple terminals in the conference group in dense mode, the server determines the speaking terminal according to a preset speaking priority principle, controls the speaking terminal to send subsequent audio, and controls other terminals in the conference group not to send subsequent audio.

[0034] Preferably, it also includes:

[0035] The display device is controlled to perform corresponding display according to the state of the terminal.

[0036] In order to solve the above technical problems, the present invention further provides an electronic device, comprising:

[0037] Memory for storing computer programs;

[0038] The processor is used to implement the steps of the terminal audio acquisition control method as described above when executing the computer program.

[0039] In order to solve the above technical problem, the present invention further provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the terminal audio acquisition control method as described above are implemented.

[0040] The present invention provides a terminal audio collection control method, in which it is first determined whether the user is speaking based on the face image of the user of the terminal. If it is determined that the user is speaking, the first current audio collected by the terminal is sent to a server. Otherwise, the first current audio collected by the terminal is not sent to the server. This method makes it possible for the terminal to not send the collected first current audio when the user of the terminal is not speaking, which is equivalent to the microphone mute effect in the prior art, reduces the noise or howling of the terminal, and also realizes automatic control of voice collection, so that the user will not speak without being heard by others.

[0041] The present invention also provides an electronic device and a readable storage medium, which have the same beneficial effects as the above-mentioned terminal audio acquisition control method. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are 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 creative work.

[0043] Figure 1 A process flow chart of a terminal audio acquisition control method provided by the present invention;

[0044] Figure 2 A schematic diagram of the relationship between a plurality of terminals and a server provided by the present invention;

[0045] Figure 3 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION

[0046] The core of the present invention is to provide a terminal audio collection control method, an electronic device and a readable storage medium, which reduce the noise or howling of the terminal and also realize the automatic control of voice collection, so that the user can speak without being heard by others.

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] Please refer to Figure 1 , Figure 1 The present invention provides a process flow chart of a terminal audio acquisition control method.

[0049] The method is applied to a terminal, comprising:

[0050] S11: Acquire a facial image of a user of the terminal;

[0051] S12: judging whether the user is speaking based on the face image, if yes, proceed to S13, otherwise, proceed to S14;

[0052] S13: Sending the first current audio collected by the terminal to the server;

[0053] S14: Do not send the first current audio collected by the terminal to the server.

[0054] Considering that in the prior art, in order to reduce noise and howling, users will manually turn off the microphone of their own terminal when they are not speaking, but often forget to turn the microphone back on when speaking afterwards, so that their own speech cannot be heard. In order to solve this technical problem, the present application provides a terminal audio collection control method, which sends the user's audio to the server only when the user speaks, otherwise, the user's audio is not sent, so that the audio collected by the microphone of the terminal of the silent user (for example, including the sound emitted by other terminal microphones or environmental noise) will not be sent to the server.

[0055] It should be noted that the terminal audio collection control method provided in the present application is particularly suitable for scenarios where multiple terminals work simultaneously in a small range.

[0056] Specifically, considering that the facial image can uniquely correspond to the user of the terminal, and the user's face will have some different features when speaking and when not speaking. Therefore, in order to accurately detect whether the user is speaking, in this method, the facial image of the user of the terminal will be obtained first, and then based on the facial image, it will be determined whether the user of the terminal is speaking. If it is determined that the user of the terminal is speaking, the first current audio collected by the sound collection device of the terminal is sent to the server, so that the server sends the first current audio to other terminals of the conference system connected to the terminal and plays it; if it is determined that the user of the terminal is not speaking, the first current audio collected by the sound collection device of the terminal is not sent to other terminals of the conference system connected to the terminal. Among them, the sound collection device here can be a microphone. It can be seen that the above method can realize the automatic control of whether the voice of the terminal user is uploaded, without the user manually turning off or on the microphone.

[0057] In practical applications, the user's face can be photographed by the terminal's camera to obtain the user's face video, and then face images are periodically obtained from the face video, and the face images obtained in two adjacent periods are compared to determine whether the user is speaking.

[0058] In summary, the present invention provides a terminal audio collection control method, which sends the first current audio collected by the terminal to the server only when it is determined that the user is speaking, otherwise, the first current audio collected by the terminal is not sent to the server. This method ensures that the terminal will not send the collected first current audio when the user of the terminal is not speaking, which is equivalent to the microphone mute effect in the prior art, reduces the noise or howling of the terminal, ensures the clarity of the audio received by the participants, and also realizes automatic control of voice collection, and does not cause the user to speak without being heard by others.

[0059] Based on the above embodiments:

[0060] As a preferred embodiment, judging whether the user is speaking based on the face image includes:

[0061] Recognize lips from face images;

[0062] It is determined whether the lips move multiple times within a first preset time period. If so, it is determined that the user is speaking; otherwise, it is determined that the user is not speaking.

[0063] Specifically, the present application takes into account that one of the characteristics of the terminal user that is significantly different when speaking and not speaking is the movement of the user's lips. When the user is speaking, the lips usually move continuously, and when the user is not speaking, the lips usually do not move or move discontinuously. Based on this, in this embodiment, after obtaining the user's facial image, the lips can be identified from the facial image, and it can be determined whether the lips move multiple times within a first preset time length. If so, it means that the user is speaking, and the first current audio collected by the terminal is sent to the server. Otherwise, it means that the user is not speaking, and the first current audio collected by the terminal is not sent to the server. It can be seen that this method can relatively simply and accurately determine whether the user of the terminal is speaking.

[0064] In addition, it should be noted that since the above S11-S14 are repeated periodically during the operation of the terminal, if it is determined that the user's lips have no continuous movement within the third preset time after the user speaks for a period of time, it is determined that the user has finished speaking. The third preset time here can be 1 second.

[0065] The first preset time length here may be but not limited to 500ms, and the multiple times here may be but not limited to 3 times. Of course, other methods may also be used to determine whether the terminal user is speaking, and this application does not make any special limitation here.

[0066] As a preferred embodiment, when acquiring the facial image of the user of the terminal, it also includes:

[0067] Acquire the second current audio collected by the terminal, and save the second current audio to the memory;

[0068] After determining that the user is speaking, it also includes:

[0069] Acquire from the memory a second current audio of a second preset time length before the current moment of the user;

[0070] Sending the first current audio collected by the terminal to the server includes:

[0071] The second current audio and the first current audio obtained from the memory are transmitted to the server.

[0072] Considering that the audio of the user's speech is not sent to the server during the period of judging whether the user is speaking and determining whether the user is speaking, although this period of time is very short, it may still cause users of other terminals to miss some audio information. To solve this problem, in this application, during the use of the terminal, the microphone of the terminal is always turned on, that is, the terminal is always collecting audio, but the collected audio will be subsequently uploaded to the server based on whether the user is speaking.

[0073] Specifically, when acquiring the face image of the user of the terminal, the second current audio collected by the terminal is also acquired, and the second current audio is saved in the memory. When it is determined that the user is speaking, the second current audio of the second preset time before the current moment of the user is acquired from the memory, and the second current audio and the first current audio are sent to the server so that other terminals can hear the complete audio of the user. The second preset time here can be, but is not limited to, 1s. In addition, the memory here can be, but is not limited to, a cache.

[0074] Based on this method, when it is determined that the user is not speaking, the microphone can be used to record the audio and save it in the memory, but the recording is not sent to the server.

[0075] It can be seen that this method allows users of other terminals connected to the conference system to hear the complete audio of the terminal, ensuring that no sound is lost, thereby improving the reliability of voice communication.

[0076] As a preferred embodiment, before acquiring the facial image of the user of the terminal, the method further includes:

[0077] The server receives the gateway MAC sent by the conference system and the IP corresponding to the terminal accessing the conference system;

[0078] If there are terminals whose gateway MAC is the same as other gateway MACs in the conference system, the terminals with the same gateway MAC are grouped into one conference group;

[0079] A dense mode instruction is sent to the terminals in the conference group based on IP, so that the terminals enter the step of acquiring the facial image of the user of the terminal after receiving the dense mode instruction.

[0080] Please refer to Figure 2 , Figure 2 A schematic diagram of the relationship between multiple terminals and a server provided by the present invention.

[0081] Considering that there are usually multiple terminals connected to the conference system, the locations of the multiple terminals may be far apart or very close to each other. In order to ensure the call quality and reduce noise and howling, in this application, the above-mentioned voice control method provided in this application is adopted for multiple terminals that are very close to each other.

[0082] Specifically, the present application also considers that multiple terminals usually access a gateway for voice communication. After the terminal accesses the gateway, the gateway will assign an IP to it. The IP corresponds to the terminal one-to-one, and a gateway may access multiple terminals. Further considering that the locations of multiple terminals are close, that is, when multiple terminals are within a small physical range, these multiple terminals may access the same gateway. Based on this, the present application uses the gateway MAC to determine whether the terminal accessing the conference system is in dense mode or sparse mode.

[0083] Specifically, after the terminal accesses the conference system, the conference system obtains the gateway MAC of the gateway connected to the terminal accessing the conference system and the IP corresponding to the terminal accessing the conference system, wherein the gateway MAC corresponds to the gateway one-to-one, the gateway MAC can characterize the gateway, and the IP corresponds to the terminal one-to-one. If there is a terminal whose gateway MAC is the same as other gateway MACs in the conference system, it is highly likely that the distance between these terminals with the same gateway MAC is relatively close, possibly within a small physical range. At this time, the server divides the terminals with the same gateway MAC into a conference group, and sends a dense mode instruction to the terminals in the conference group based on the IP. After receiving the dense mode instruction, each terminal enters the step of obtaining the facial image of the user of the terminal.

[0084] It can be seen that this method can simply and reliably determine the terminals in dense mode connected to the conference system, so that the subsequent server can control each terminal in dense mode to enter the step of obtaining the facial image of the terminal user, reducing noise and howling, and ensuring call quality.

[0085] As a preferred embodiment, it also includes:

[0086] If there is a terminal whose gateway MAC is different from the gateway MAC of other terminals in the conference system, a loose mode instruction is sent to the terminal whose gateway MAC is different from other terminals in the conference system based on IP, so that after receiving the loose mode instruction, the terminal whose gateway MAC is different from other terminals in the conference system directly transmits the user's audio to the server when the user's audio is collected.

[0087] Specifically, if the server determines that the gateway MAC of the gateway connected to the terminal in the conference system is different from the gateway MACs of other terminals in the conference system, it means that the location of the terminal is most likely far away from the locations of other terminals, and the terminal is in loose mode. At this time, the server sends a loose mode instruction to the terminal. After receiving the loose mode instruction, the terminal directly transmits the user's audio to the server when collecting the user's audio, so as to simplify the voice collection and upload process.

[0088] As a preferred embodiment, after the terminals with the same gateway MAC are grouped into one conference group, the following further comprises:

[0089] The server sorts each terminal in the conference group based on IP;

[0090] Control each terminal in the conference group to send a detection audio signal in sequence;

[0091] Receiving detection audio signals sent by other terminals in the conference group received by each terminal;

[0092] Determining the distance between each terminal based on the strength of the detection audio signal;

[0093] Determine whether there is a terminal whose minimum distance to other terminals in the conference group is greater than a distance threshold;

[0094] If so, the terminal whose distance to multiple other terminals in the conference group is greater than the distance threshold is removed from the conference group;

[0095] A loose mode instruction is sent to the terminal excluded from the conference group based on IP, so that after receiving the loose mode instruction, the terminal excluded from the conference group directly transmits the user's audio to the server when the user's audio is collected.

[0096] In order to further improve the accuracy of determining the modes of multiple terminals connected to the conference system, in this embodiment, the mode of the terminal is further determined based on the distance between the terminals in the conference group.

[0097] Specifically, the server first sorts the terminals in the conference group based on IP. The purpose of sorting is to facilitate each terminal in the subsequent conference group to send a detection audio signal of a preset duration (which can be but is not limited to 100ms) in sequence. If the distance between any two terminals in the conference group is short, the signal strength of the detection audio signal sent by the other party received by the two terminals will be stronger. If the distance between any two terminals in the conference group is far, the signal strength of the detection audio signal sent by the other party received by the two terminals will be weaker or even no detection audio signal sent by the other party will be received (at this time it can be understood that the signal strength of the received detection audio signal is 0). It can be seen that each terminal in the conference group will receive the detection audio signal sent by other terminals in the conference group, and upload the detection audio signal to the server. After receiving the detection audio signal sent by each terminal, the server will determine the distance between each terminal based on the strength of the detection audio signal. If so, it is determined whether there is a terminal whose minimum distance to other terminals in the conference group is greater than the distance threshold. If so, it means that the terminal is far away from other terminals in the conference group. At this time, the terminal whose distance to multiple other terminals in the conference group is greater than the distance threshold is removed from the conference group, and a loose mode instruction is sent to the terminal removed from the conference group based on IP. After receiving the loose mode instruction, the terminal removed from the conference group directly transmits the user's audio to the server when the user's audio is collected. Among them, the minimum distance here can be but is not limited to 10m.

[0098] It should be noted that, in actual applications, after receiving the detection audio signal sent by other terminals, the terminal can calculate the distance between itself and other terminals, and upload the distance to the server so that the server can make subsequent judgments directly based on the distance. In addition, in order to further improve the accuracy of distance acquisition, in actual applications, each terminal can be controlled to send the detection audio signal in sequence, and the above sending process can be repeated in a round-robin manner, for example, it can be repeated twice, so that the subsequent server or terminal can calculate the distance after averaging multiple detection audio signals after receiving the detection audio signal, or calculate the distance first and then take the average. In addition, after obtaining the distance between each terminal in the conference group, the server can also generate a relative distance table between all terminals in the conference group, and send the relative distance table to each terminal in the conference group.

[0099] In addition, in actual applications, after sequencing each terminal in the conference group, the server can control each terminal to send the detection audio signal in sequence, or send the sequence number in the entire conference group to each terminal in the conference group, so that each terminal starts sending the detection audio signal after the previous terminal has sent the detection audio signal. This application does not make any special restrictions on how to control each terminal to send the detection audio signal in sequence, and it shall be determined according to the actual situation.

[0100] It can be seen that this embodiment further determines whether each terminal in the conference group is within a small physical range through the distance between each terminal in the conference group, thereby improving the accuracy of determining the terminals in dense mode that access the conference system. In addition, the terminals in sparse mode are controlled to directly transmit the user's audio to the server when the user's audio is collected, thereby simplifying the voice collection and upload process. It can be seen that this embodiment implements different voice collection and upload processes for terminals in different modes, achieving a balance between reducing noise and simplifying voice collection and upload.

[0101] As a preferred embodiment, it also includes:

[0102] When receiving audios sent by multiple terminals in the conference group in dense mode, the server determines the speaking terminal according to the preset speaking priority principle, controls the speaking terminal to send subsequent audios, and controls other terminals in the conference group not to send subsequent audios.

[0103] Considering that multiple terminals may send audio to the server at the same time, that is, the speakers of multiple terminals will emit sounds, and these sounds may be collected by microphones of other terminals, thereby generating noise or howling.

[0104] To solve the above technical problems, in this embodiment, when the server detects that multiple people are speaking locally, that is, when receiving audio sent by multiple terminals in the conference group in dense mode, it will determine the speaking terminal according to the preset speech priority principle, and control the speaking terminal to send subsequent audio, and control other terminals in the conference group not to send subsequent audio. Among them, the preset speech priority principle here can be to allocate speaking time according to the preset conference role or speaking frequency, such as giving priority to the conference host, giving priority to those with more speaking time, giving priority to those with less speaking time, etc., which can be set according to actual conditions.

[0105] It can be seen that this method can ensure that only one terminal in the conference group in the dense mode can speak at the same time, thereby reducing noise and howling and ensuring the reliability of multi-terminal communication.

[0106] As a preferred embodiment, it also includes:

[0107] The display device is controlled to display accordingly according to the state of the terminal.

[0108] In order to facilitate the user to know the status of the terminal in time, the processor will also control the display device to display accordingly according to the status of the terminal.

[0109] Take the display device as a display light as an example:

[0110] When the terminal is in a silent state, the display light is always on in a first color, such as red;

[0111] When the terminal is speaking, the indicator light is always on in the second color, for example, blue.

[0112] When the terminal is connecting to the Internet, the indicator light flashes quickly; when the Internet is successfully connected, the indicator light flashes in two colors in a breathing pattern and stops after 3 seconds;

[0113] When the terminal is detecting audio, the display lights are displayed in a marquee manner; after the test is completed, the display lights are all on for 3 seconds and then go out.

[0114] The display performed by the display device when the terminal is in different states can be set according to actual conditions, and this application does not make any special limitation here.

[0115] Please refer to Figure 3 , Figure 3 A schematic diagram of the structure of an electronic device provided by the present invention, the electronic device comprising:

[0116] Memory for storing computer programs;

[0117] The processor is used to implement the steps of the above-mentioned terminal audio acquisition control method when executing the computer program.

[0118] Specifically, the electronic device here may be a terminal, or include a terminal and a server, wherein the terminal may be a mobile phone, a speaker, etc.

[0119] In addition to the memory and processor, the terminal may also include a display screen with touch and display functions, a speaker with sound playback function, a microphone with sound recording function, a camera with image acquisition function, a display light for displaying reminders or providing lighting effects, and a wireless mode for establishing communication for data transmission, wherein the wireless module here may be WiFi, an operator network module (3G / 4G / 5G), etc. For an introduction to an electronic device provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here.

[0120] The present invention also provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the terminal audio acquisition control method as described above are implemented.

[0121] For an introduction to a readable storage medium provided by the present invention, please refer to the above method embodiment, and the present invention will not be described in detail here.

[0122] It should be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0123] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A terminal audio acquisition control method, characterized in that: include: After receiving the dense mode instruction, the terminal obtains a facial image of a user of the terminal; Determining whether the user is speaking based on the facial image; If so, sending the first current audio collected by the terminal to the server, so that the server sends the first current audio to other terminals of the conference system connected to the terminal for playback; If not, not sending the first current audio collected by the terminal to the server; Before obtaining the facial image of the user of the terminal, the method further includes: The server receives the gateway MAC sent by the conference system and the IP corresponding to the terminal accessing the conference system; If there is a terminal whose gateway MAC is the same as the MAC of other gateways in the conference system, the terminals with the same gateway MAC are grouped into one conference group; Sending a dense mode instruction to the terminals in the conference group based on the IP; After the terminals with the same gateway MAC are grouped into a conference group, it also includes: The server determines the distance between each of the terminals; Determine whether there is a terminal whose minimum distance to other terminals in the conference group is greater than a distance threshold; If so, the terminal whose minimum distance to multiple other terminals in the conference group is greater than the distance threshold is removed from the conference group; Sending a loose mode instruction to the terminal excluded from the conference group based on the IP, so that after receiving the loose mode instruction, the terminal excluded from the conference group directly transmits the user's audio to the server when collecting the user's audio; When acquiring the facial image of the user of the terminal, it also includes: Acquire a second current audio collected by the terminal, and save the second current audio to a memory; After determining that the user is speaking, it also includes: Acquire from the memory a second current audio of a second preset time length before the current moment of the user; Sending the first current audio collected by the terminal to the server includes: The second current audio and the first current audio obtained from the memory are transmitted to the server.

2. The terminal audio acquisition control method according to claim 1, characterized in that: Determining whether the user is speaking based on the face image includes: Recognizing lips from the facial image; It is determined whether the lips move multiple times within a first preset time period. If so, it is determined that the user is speaking; otherwise, it is determined that the user is not speaking.

3. The terminal audio acquisition control method according to claim 1, characterized in that: Also includes: If there is a terminal whose gateway MAC is different from the gateway MAC of other terminals in the conference system, a loose mode instruction is sent to the terminal whose gateway MAC is different from other terminals in the conference system based on the IP, so that after receiving the loose mode instruction, the terminal whose gateway MAC is different from other terminals in the conference system directly transmits the user's audio to the server when the user's audio is collected.

4. The terminal audio acquisition control method according to claim 1, characterized in that: The server determines the distance between each of the terminals, including: The server sorts each terminal in the conference group based on the IP; Controlling each terminal in the conference group to send a detection audio signal in sequence; receiving a detection audio signal sent by other terminals in the conference group and received by each of the terminals; The distances between the terminals are determined based on the strengths of the detection audio signals.

5. The terminal audio acquisition control method according to claim 1, characterized in that: Also includes: When receiving audio sent by multiple terminals in the conference group in dense mode, the server determines the speaking terminal according to a preset speaking priority principle, controls the speaking terminal to send subsequent audio, and controls other terminals in the conference group not to send subsequent audio.

6. The terminal audio acquisition control method according to claim 5, characterized in that: Also includes: The display device is controlled to perform corresponding display according to the state of the terminal.

7. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the terminal audio acquisition control method as described in any one of claims 1 to 6 when executing the computer program.

8. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the terminal audio acquisition control method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Conference audio control method, system and device and computer readable storage medium

    CN110300001A

  • Multimedia meeting implementation method, device, and system

    WO2017004831A1