CN113630689A - Volume control method, device, equipment and storage medium - Google Patents

Volume control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113630689A
CN113630689A CN202110903986.3A CN202110903986A CN113630689A CN 113630689 A CN113630689 A CN 113630689A CN 202110903986 A CN202110903986 A CN 202110903986A CN 113630689 A CN113630689 A CN 113630689A
Authority
CN
China
Prior art keywords
volume
distance value
current
playing device
sound playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110903986.3A
Other languages
Chinese (zh)
Other versions
CN113630689B (en
Inventor
梁志涛
王兆琦
朱昌友
陈志扬
刘洪钊
晏章章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110903986.3A priority Critical patent/CN113630689B/en
Publication of CN113630689A publication Critical patent/CN113630689A/en
Application granted granted Critical
Publication of CN113630689B publication Critical patent/CN113630689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/08Systems for measuring distance only

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The present application relates to the field of home appliances, and in particular, to a volume control method, apparatus, device, and storage medium. The method comprises the following steps: acquiring a current distance value between a target object and a sound playing device; acquiring a first volume value corresponding to the current distance value according to the current distance value; and adjusting the current volume of the sound playing device to a first volume value. This application is used for solving when carrying out manual adjustment to sound play device's volume, the poor problem of convenience.

Description

Volume control method, device, equipment and storage medium
Technical Field
The present application relates to the field of home appliances, and in particular, to a volume control method, apparatus, device, and storage medium.
Background
With the gradual improvement of living standard, sound playing devices such as audio are frequently used in daily life of people, and the requirements on the sound playing devices are higher and higher. In the conventional sound playing device such as a sound box, the volume is adjusted mainly by manual adjustment, for example, by a button on the sound box or by an up-down button on a remote control.
However, when the volume of the sound playing device is adjusted manually, the adjustment process is complicated, for example, when the volume is adjusted by using a button on the sound playing device, each adjustment requires that the user first approach the sound playing device; when the adjustment is carried out through the remote control, the user needs to find the remote control first and then can carry out the adjustment of the volume through the remote control each time. Therefore, the mode of manually adjusting the volume greatly reduces the convenience of volume adjustment.
Disclosure of Invention
The application provides a volume control method, a volume control device, volume control equipment and a storage medium, which are used for solving the problem of poor convenience when the volume of a sound playing device is manually adjusted.
In a first aspect, an embodiment of the present application provides a volume control method, including: acquiring a current distance value between a target object and a sound playing device; acquiring a first volume value corresponding to the current distance value according to the current distance value; and adjusting the current volume of the sound playing device to a first volume value.
Optionally, the obtaining a current distance value between the target object and the sound playing apparatus includes: acquiring a millimeter wave signal, wherein the millimeter wave signal is used for measuring the distance between the target object and the sound playing device; and analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing device.
Optionally, the analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing apparatus includes: after the target object is identified from the millimeter wave signal, detecting the current speed of the target object; and when the current speed is determined to be zero, analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing device.
Optionally, the target object is at least one human individual; the analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing device includes: analyzing the millimeter wave signals to respectively obtain the current distance value of each human body individual; the obtaining a first volume value corresponding to the current distance value according to the current distance value includes: respectively determining a preset distance range in which each individual human body is located according to the current distance value of each individual human body; determining a comprehensive distance value according to the preset distance range of each individual human body; and acquiring a first volume value corresponding to the comprehensive distance value.
Optionally, the determining a comprehensive distance value according to the preset distance range in which each individual human body is located includes: determining a maximum preset distance range and a minimum preset distance range in the preset distance range of each human body; carrying out average calculation on the maximum value in the maximum preset distance range and the maximum value in the minimum preset distance range to obtain an average distance value; and taking the average distance value as a comprehensive distance value.
Optionally, the analyzing the millimeter wave signal to obtain a current distance value of each individual human body includes: after each human body individual is identified from the millimeter wave signals, detecting the current speed of each human body individual; and when the current speed of each human body individual is determined to be zero at the same time, analyzing the millimeter wave signals to respectively obtain the current distance value of each human body individual.
Optionally, the obtaining, according to the current distance value, a first volume value corresponding to the current distance value includes: acquiring a preset interference filtering weight, wherein the interference filtering weight is used for eliminating the interference of the environment where the sound playing device is located; weighting the current distance value according to the interference filtering weight value; and acquiring a first volume value corresponding to the current distance value after weighting processing.
Optionally, the target object is a human body; after the obtaining of the millimeter wave signal, before analyzing the millimeter wave signal and obtaining the current distance value between the target object and the sound playing device, the method further includes: when first gesture information is recognized from the millimeter wave signal, acquiring a volume maintaining instruction, wherein the volume maintaining instruction is used for indicating that the current volume of the sound playing device is unchanged; controlling the current volume of the sound playing device to be unchanged according to the volume maintaining instruction; after controlling the current volume of the sound playing device to be unchanged according to the volume maintaining instruction, the method further includes: when second gesture information is identified from the millimeter wave signals, a volume regulating instruction is obtained, wherein the volume regulating instruction is used for indicating the sound playing device to regulate and control the current volume; and controlling the sound playing device to regulate and control the current volume according to the current distance value of the human body in the millimeter wave signal according to the volume regulation and control instruction.
In a second aspect, an embodiment of the present application provides a volume control device, including: the first acquisition module is used for acquiring a current distance value between a target object and the sound playing device; the second obtaining module is used for obtaining a first volume value corresponding to the current distance value according to the current distance value; and the adjusting module is used for adjusting the current volume of the sound playing device to a first volume value.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus; the memory for storing a computer program; the processor is configured to execute the program stored in the memory to implement the volume control method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the volume control method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the current distance value between the target object and the sound playing device is obtained, then the first volume value is determined according to the current distance value, and finally the current volume of the sound playing device is adjusted to the first volume value. The method adjusts the current volume of the sound playing device according to the current distance value between the target object and the sound playing device. That is to say, in the process of volume adjustment, the device such as a key or a controller is not needed, so that the complexity of the volume adjustment process is greatly reduced, and the convenience of volume adjustment is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating steps of a volume control method according to an embodiment of the present disclosure;
fig. 2 is an exemplary diagram of a preset distance range setting provided in the embodiment of the present application;
fig. 3 is a diagram illustrating an example of communication connection between a floating sound and a terminal device provided in an embodiment of the present application;
fig. 4 is a schematic structural connection diagram of a sound control device provided in an embodiment of the present application;
fig. 5 is a schematic structural connection diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The volume control method provided by the embodiment of the application is used for adjusting the volume of the sound playing device. The processing flow of the method is realized in a processor, and the processor can be a software processing device installed in the sound playing device or other software processing devices capable of communicating with the sound playing device. The sound playing device may be any one of a stand-alone audio device, a television sound playing component, and other devices for playing sound. The scope of protection of the present application is not limited to the specific type of sound playing device.
In one embodiment, as shown in fig. 1, the volume control method is implemented by the following specific steps:
step 101, obtaining a current distance value between a target object and a sound playing device.
In this embodiment, the target object refers to an object for adjusting the volume of the sound playing device, and the specific type of the target object may be selected according to actual conditions and needs, for example, the target object may be a human body, or may also be an intelligent device such as a robot, an intelligent bracelet, and an intelligent mobile phone. The scope of protection of the present application is not limited to a particular type of target object.
In this embodiment, when the current distance value between the target object and the sound playing device is obtained, a required technical means may be selected to complete obtaining the current distance value according to conditions such as an environmental requirement, a technical requirement, or a cost requirement. For example, any one of infrared technology, ultrasonic technology, millimeter wave technology, image processing technology, and other technical means may be employed in acquiring the current distance value. The scope of protection of the present application is not limited by the technical means employed to obtain the current distance value.
And 102, acquiring a first volume value corresponding to the current distance value according to the current distance value.
In this embodiment, the correspondence between the distance value and the volume value may be preset and stored. Specifically, the corresponding relationship may be set in a specific implementation form according to actual conditions and needs, and the scope of protection of the present application is not limited by the specific implementation form of the corresponding relationship. Preferably, the correspondence between the distance value and the volume value may be set to be a positive correlation, that is, the set volume value is larger as the distance between the target object and the sound playing device is larger, for example, the volume value is 20 decibels (dB) when the distance between the target object and the sound playing device is 1 meter, and the volume value is 40dB when the distance between the target object and the sound playing device is 2 meters.
Step 103, adjusting the current volume of the sound playing device to a first volume value.
When the first volume value is determined, the sound playing device automatically adjusts the current volume to the first volume value to play music. Since the first volume value is determined according to the current distance value between the target object and the sound playing device, the adjusted current volume of the sound playing device provides a better sound experience for the user.
In one embodiment, the technical means used for obtaining the current distance value is the millimeter wave technology. Specifically, a current distance value between the target object and the sound playing device is obtained, and the implementation process is as follows: acquiring a millimeter wave signal, wherein the millimeter wave signal is used for measuring the distance between a target object and a sound playing device; and analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing device.
The millimeter wave refers to an electromagnetic wave with the wavelength of 1-10 mm, and is located in the overlapping wavelength range of microwave and far infrared wave, so that the millimeter wave has the characteristics of two wave spectrums. After the millimeter wave transmitting device transmits millimeter waves to a space, the target existing in the space can reflect an echo, and the millimeter wave receiving device can receive the echo to perform other processing.
The millimeter wave signal in the present embodiment refers to an echo reflected by a target. When the target object returns to the millimeter wave signal, the millimeter wave signal includes the radial distance and the radial velocity of the target object. Based on the above, the distance between the target object and the sound playing device can be measured by the millimeter wave signal.
In this embodiment, the millimeter wave receiving device may be installed in the sound playing device, and the millimeter wave receiving device on one side of the sound playing device receives the millimeter wave signal, so that the current distance value between the target object and the sound playing device may be obtained more accurately. The millimeter wave transmitting device and the millimeter wave receiving device can be installed in the sound playing device at the same time, and can also be installed at other positions as long as the method and the process of the application can be realized.
In one embodiment, the millimeter wave signal includes velocity information of the target object. Then, the millimeter wave signal is analyzed to obtain the current distance value between the target object and the sound playing device, and the specific implementation process is as follows: after a target object is identified from the millimeter wave signal, detecting the current speed of the target object; when the current speed is determined to be zero, the millimeter wave signal is analyzed, and a current distance value between the target object and the sound playing device is obtained.
In this embodiment, by extracting the current speed of the target object from the millimeter wave signal, when the current speed of the target object is not zero, it indicates that the target object is moving, and when the current speed of the target object is zero, it indicates that the target object is stationary at a position and does not move any more. When the target object does not move any more, the current distance value of the target object is extracted from the millimeter wave signal to adjust the current volume of the sound playing device. Through the process, the situation that when the target object moves, the current volume of the sound playing device changes continuously, and then resource waste and poor sound playing effect are caused can be avoided.
In one embodiment, the target object is at least one human individual, for example, three individuals, individual 1, individual 2, and individual 3, in a family space. The sound playing device needs to adjust the current volume according to at least one individual human body. Specifically, when the millimeter wave signal is analyzed to obtain the current distance value between the target object and the sound playing device, the millimeter wave signal is analyzed to obtain the current distance value of each individual human body. According to the current distance value, obtaining a first volume value corresponding to the current distance value, and the specific process is as follows: respectively determining the preset distance range of each individual human body according to the current distance value of each individual human body; determining a comprehensive distance value according to a preset distance range in which each individual human body is located; and acquiring a first volume value corresponding to the comprehensive distance value.
In this embodiment, when the target object is a human body, and when the target object is a human body, the millimeter wave signal includes not only the radial distance and the radial velocity of the human body, but also micro-motion information of each part of the human body, and the micro-motion information may cause a doppler effect. And the micro-doppler characteristics of each individual human body due to the micro-motion information are different. By analyzing the millimeter wave signals, different human bodies can be determined, and tracking of each human body can be completed. That is to say, each individual human body can be identified through the millimeter wave signal, and then the current distance value of each individual human body is analyzed.
In this embodiment, the preset distance range is a range in which the sound playing device is used as a circle center and the preset distance value is used as a radius. The preset distance range is preset according to actual conditions and needs. The preset distance ranges are in stepped presentation. For example, as shown in fig. 2, three preset distance ranges are set with the sound playing device as the center, and the first preset distance range takes 0 meter to 1 meter (including 1 meter) from the sound playing device as a preset distance value, that is, the first concentric circle range outside the sound playing device in fig. 2 is the first preset distance range. The second predetermined distance range is a predetermined distance value of 1 meter to 3 meters (including 3 meters) from the sound playing apparatus, that is, the range outside the first concentric circle and inside the second concentric circle outside the sound playing apparatus in fig. 2 is the second predetermined distance range. The third predetermined distance range is a predetermined distance value of 3 meters to 4 meters (including 4 meters) from the sound playing device, that is, the range outside the second concentric circle and inside the third concentric circle outside the sound playing device in fig. 2 is a third predetermined distance range. And determining a comprehensive distance value according to the preset distance range of each individual human body, and then determining a first volume value according to the comprehensive distance value.
In a specific embodiment, when the comprehensive distance value is determined according to the preset distance range in which each individual human body is located, the maximum preset distance range and the minimum preset distance range are determined in the preset distance range in which each individual human body is located; carrying out average calculation on the maximum value in the maximum preset distance range and the maximum value in the minimum preset distance range to obtain an average distance value; and taking the average distance value as a comprehensive distance value.
For example, when there are three human individuals, namely, the individual 1, the individual 2 and the individual 3, the preset distance range of the individual 1 is 0 to 1 meter, the preset distance range of the individual 2 is 1 to 3 meters, the preset distance range of the individual 3 is 3 to 4 meters, the maximum preset distance range is 3 to 4 meters, and the minimum preset distance range is 0 to 1 meter. Then, the average calculation is carried out on the 4 meters and the 1 meter, and the obtained average distance value is 2.5 meters, so that the obtained average distance value is a comprehensive distance value.
For another example, when there are three human individuals, namely, the individual 1, the individual 2 and the individual 3, the preset distance range of the individual 1 and the individual 2 is 1 meter to 3 meters, and the preset distance range of the individual 3 is 3 meters to 4 meters, then the maximum preset distance range is 3 meters to 4 meters, and the minimum preset distance range is 1 meter to 3 meters. Then, the average calculation is carried out on 4 meters and 3 meters, and the obtained average distance value is 3.5 meters, and 3.5 meters are comprehensive distance values.
In another specific embodiment, when determining the comprehensive distance value according to the preset distance range in which each individual human body is located, the specific rule may also adopt other specific forms, for example, after determining the maximum preset distance range and the minimum preset distance range, average calculation is performed on the minimum value in the maximum preset distance range and the minimum value in the minimum preset distance range to obtain the comprehensive distance value; or after the maximum preset distance range and the minimum preset distance range are determined, average calculation is carried out on the preset intermediate value in the maximum preset distance range and the preset intermediate value in the minimum preset distance range to obtain a comprehensive distance value. Or directly carrying out average calculation on the current distance value of each human body individual, and determining the first volume value by taking the average distance value as a comprehensive distance value. The process of determining the first volume value through the current distance value of at least one human individual can be set according to the actual situation and the requirement.
In the above embodiment, when the millimeter wave signal includes information of at least one human body individual, the current distance value of each human body individual is extracted, and then the current volume of the sound playing device is adjusted according to the current distance value of each human body individual. Therefore, the volume adjustment of the sound playing device is specific to each individual human body, and is not specific to one individual human body when two or more individual human bodies exist, so that the situation that a person far away from the sound playing device cannot hear the sound or a person near the sound playing device hears too much sound is avoided, and better sound experience is provided for a user.
In one embodiment, when the human body is at least one human body individual, the speed information of each human body individual is extracted from the millimeter wave signal, specifically, the millimeter wave signal is analyzed, and the current distance value of each human body individual is obtained respectively, and the implementation process is as follows: after each human individual is identified from the millimeter wave signals, detecting the current speed of each human individual; and when the current speed of each human body individual is determined to be zero at the same time, analyzing the millimeter wave signals and respectively obtaining the current distance value of each human body individual.
In this embodiment, the current speed of each individual human body is extracted from the millimeter wave signal, and when the current speed of each individual human body is zero at the same time, that is, when each individual human body does not move, the current distance value of each individual human body is obtained, so that the situation that the volume is continuously adjusted by the sound playing device in the process that any individual human body moves is avoided.
In one embodiment, there are various disturbances in the environment where the human body is located, such as noise in the environment, or attenuation of sound by obstacles. In order to eliminate the influence of interference, an interference filtering weight is preset. Specifically, according to the current distance value, a first volume value corresponding to the current distance value is obtained, and the implementation process is as follows: acquiring a preset interference filtering weight, wherein the interference filtering weight is used for eliminating the interference of the environment where the sound playing device is located; weighting the current distance value through the interference filtering weight value; and acquiring a first volume value corresponding to the current distance value after weighting processing.
Specifically, the weighting process is as follows:
and the current distance value after weighting processing is equal to the current distance value multiplied by the interference filtering weight value.
For example, when the obtained current distance value is 1 meter, the millimeter wave signal passes through a solid wall obstacle, and the interference filtering weight value corresponding to the preset solid wall obstacle is 1.1, the current distance value after weighting processing is 1.1 meter.
In this embodiment, when there are multiple types of interference, i.e., interference 1, interference 2, …, and interference N, where N is an integer greater than 1, the corresponding interference filtering weight 1, interference filtering weight 2, …, and interference filtering weight N are preset respectively, and the weighting process under multiple types of interference is as follows:
the current distance value after weighting processing under multiple kinds of interference is equal to the current distance value × interference filtering weight 1 × interference filtering weight 2 × … × interference filtering weight N.
In this embodiment, the interference of the environment where the sound playing device is located is eliminated by presetting the interference filtering weight. The interference filtering weight value can be set to a specific numerical value according to experiments or practical experience, and the protection range of the application is not limited by the setting rule and the setting numerical value of the interference filtering weight value.
In one embodiment, when the target object is a human body, the human body may control whether the sound playing device can adjust the volume by the distance by making a gesture. Specifically, after the millimeter wave signal is acquired, the millimeter wave signal is analyzed, and when first gesture information is identified from the millimeter wave signal before a current distance value between the target object and the sound playing device is acquired, a volume maintaining instruction is acquired, wherein the volume maintaining instruction is used for indicating that the current volume of the sound playing device is unchanged; and controlling the current volume of the sound playing device to be unchanged according to the volume maintaining instruction.
When the current volume of the sound playing device is controlled to be unchanged according to the volume maintaining instruction, and when second gesture information is identified from the millimeter wave signals, a volume regulating instruction is obtained, wherein the volume regulating instruction is used for indicating the sound playing device to regulate and control the current volume; and controlling the sound playing device to regulate and control the current volume according to the current distance value of the human body in the millimeter wave signal according to the volume regulation and control instruction.
In this embodiment, the user may control whether the sound playing device starts the function of adjusting the current volume according to the current distance value of the human body through the gesture. When the user does not need to adjust the current volume through the current distance value of the human body, first gesture information is made, and then after the first gesture information is identified through the millimeter wave signals, a volume maintaining instruction is obtained to indicate that the current volume is unchanged. And when the user needs to adjust the current volume according to the current distance value of the human body, making second gesture information, identifying the second gesture information through the millimeter wave signal, and acquiring a volume adjusting and controlling instruction to instruct the sound playing device to adjust and control the current volume.
Specifically, the first gesture information may be any one of palm opening, palm holding, hand upward movement, hand downward movement, and other types of gesture information, and similarly, the second gesture information may be any one of palm opening, palm holding, hand upward movement, hand downward movement, and other types of gesture information. Meanwhile, the first gesture information and the second gesture information are different.
In this embodiment, when the target object includes at least one human individual, and when the first gesture information of any one human individual is recognized, the distance between each human individual and the sound playing device is changed, and the volume of the sound playing device is kept unchanged. And when the second gesture information of any one human body individual is identified, the sound playing device controls the current volume of the sound playing device according to the current distance value between each human body individual and the sound playing device.
In this embodiment, when the user does not want the volume of the sound playing device to change, the sound playing device can be controlled to be unchanged through the gesture information, so that the diversification of volume control is increased, the practicability of the volume control method is improved, and the experience of the user is further improved.
In one embodiment, the sound playing device is a floating sound box. The suspension sound box comprises a base and a sound box, wherein the sound box is suspended above the base.
In a specific embodiment, the millimeter wave transmitter is installed on the base, the millimeter wave receiver is also installed on the base, and the processor installed in the base processes the millimeter wave signal and transmits the signal for controlling the volume to the sound box to play the sound with the first volume value.
In a specific embodiment, the millimeter wave generating device is mounted on the base, and the millimeter wave receiving device is mounted on the sound box. After the sound box receives the millimeter wave signals, the processor in the sound box directly processes the millimeter wave signals, and the process of playing sound with the first volume value is achieved.
In a specific embodiment, the base and the sound box may be simultaneously installed with millimeter wave integrated chips, for example, an integrated chip with model ST60 is used, and the millimeter wave integrated chip is an integrated millimeter wave transceiver, and is capable of transmitting millimeter wave signals and receiving millimeter wave signals.
In this embodiment, the millimeter wave integrated chip receives the millimeter wave signal, and the process of playing the sound with the first volume value is implemented.
In this embodiment, when the millimeter wave chip is the ST60 chip, the process of data communication can be realized by this ST60 chip. The ST60 chips communicate with each other in the 60GHz frequency band by the millimeter wave technology.
At present, the sound quality of the suspended sound box is uneven, and one reason is that the sound quality is different due to audio and video data transmission between the base and the sound box. The mode that data transmission between present base and the audio amplifier adopted is mostly bluetooth, wifi transmission. The wireless transmission mode can influence the auditory effect to a certain extent, and the reason is that when the data volume is overlarge or the number of devices using the network at the same time is large, the problem of network signal congestion is caused, so that audio and video transmission and analysis of sound are realized. The millimeter wave technology has the advantages of being wide in frequency spectrum, high in reliability, good in directivity and the like, and signal congestion cannot occur. And the distance between the base of the suspension sound and the sound is short, and the millimeter wave technology is particularly suitable for short-distance data transmission.
As shown in fig. 3, the floating audio device 30 includes a base 301 and a sound box 302, and other terminal devices, for example, a mobile phone terminal 303, a television terminal 304, or a projection terminal 305, can implement data transmission with the floating audio device 30, mainly implement transmission with the base 301, and implement playing of required sound.
In one implementation form, the transmission between the mobile phone terminal 303, the television terminal 304, or the projection terminal 305 and the floating audio 30 may respectively adopt a data conversion interface form to transmit audio and video data to be played to the base 301, and then the base 301 transmits the audio and video data to the sound box 302 through the ST60 chip by adopting a millimeter wave technology, so as to play sound information contained in the audio and video data.
In another implementation form, other terminal devices such as the mobile phone terminal 303, the television terminal 304, or the projection terminal 305 are respectively provided with an ST60 chip, and each terminal device directly communicates with the base 301 through the ST60 chip. The audio and video data is directly transmitted in a 60GHz frequency band through a millimeter wave technology. That is, it is not necessary to establish a communication connection between each terminal device and the floating sound 30, but data transmission is directly performed by the millimeter wave technology. The millimeter wave technology has the advantages of wide spectrum, high reliability, good directivity and the like, improves the transmission precision of audio and video data, ensures the quality of played sound, and avoids the problem that audio and video effects are affected by sound blockage, noise and the like caused when terminal equipment transmits data in the forms of Bluetooth, wifi transmission and the like.
Meanwhile, data transmission is carried out by adopting a millimeter wave technology, and data transmission can be realized without a network distribution between the terminal equipment of the mobile phone terminal and the suspension sound equipment. The operation steps of playing the sound are further simplified, and the convenience in the process of playing the sound is improved.
According to the volume control method, the current distance value between the target object and the sound playing device is obtained, then the first volume value is determined according to the current distance value, and finally the current volume of the sound playing device is adjusted to the first volume value. The method adjusts the current volume of the sound playing device according to the current distance value between the target object and the sound playing device. That is to say, in the process of volume adjustment, the device such as a key or a controller is not needed, so that the complexity of the volume adjustment process is greatly reduced, and the convenience of volume adjustment is improved.
When the target object is a human body, the method adjusts the current volume of the sound playing device according to the current distance value between the human body and the sound playing device. That is to say, in the process of volume adjustment, the user does not need to approach the sound playing device and the user does not need to find the remote controller, so that the experience of the user is improved.
Based on the same concept, embodiments of the present application provide a volume control device, and specific implementation of the device may refer to descriptions in the method embodiment section, and repeated descriptions are omitted, as shown in fig. 4, the device mainly includes:
a first obtaining module 401, configured to obtain a current distance value between a target object and a sound playing apparatus;
a second obtaining module 402, configured to obtain, according to the current distance value, a first volume value corresponding to the current distance value;
an adjusting module 403, configured to adjust the current volume of the sound playing apparatus to a first volume value.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device mainly includes: a processor 501, a memory 502 and a communication bus 503, wherein the processor 501 and the memory 502 communicate with each other through the communication bus 503. The memory 502 stores a program executable by the processor 501, and the processor 501 executes the program stored in the memory 502 to implement the volume control method described in the above embodiments.
The communication bus 503 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 503 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The Memory 502 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 501.
The Processor 501 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In still another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the sound control method described in the above-described embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1. A method of volume control, comprising:
acquiring a current distance value between a target object and a sound playing device;
acquiring a first volume value corresponding to the current distance value according to the current distance value;
and adjusting the current volume of the sound playing device to a first volume value.
2. The volume control method of claim 1, wherein the obtaining a current distance value between the target object and the sound playing device comprises:
acquiring a millimeter wave signal, wherein the millimeter wave signal is used for measuring the distance between the target object and the sound playing device;
and analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing device.
3. The volume control method of claim 2, wherein the analyzing the millimeter-wave signal to obtain the current distance value between the target object and the sound playing device comprises:
after the target object is identified from the millimeter wave signal, detecting the current speed of the target object;
and when the current speed is determined to be zero, analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing device.
4. The volume control method according to claim 2, wherein the target object is at least one human individual;
the analyzing the millimeter wave signal to obtain the current distance value between the target object and the sound playing device includes:
analyzing the millimeter wave signals to respectively obtain the current distance value of each human body individual;
the obtaining a first volume value corresponding to the current distance value according to the current distance value includes:
respectively determining a preset distance range in which each individual human body is located according to the current distance value of each individual human body;
determining a comprehensive distance value according to the preset distance range of each individual human body;
and acquiring a first volume value corresponding to the comprehensive distance value.
5. The volume control method according to claim 4, wherein the determining a comprehensive distance value according to the preset distance range in which each individual human body is located comprises:
determining a maximum preset distance range and a minimum preset distance range in the preset distance range of each human body;
carrying out average calculation on the maximum value in the maximum preset distance range and the maximum value in the minimum preset distance range to obtain an average distance value;
and taking the average distance value as a comprehensive distance value.
6. The volume control method according to claim 4, wherein the analyzing the millimeter wave signal to obtain the current distance value of each individual human body comprises:
after each human body individual is identified from the millimeter wave signals, detecting the current speed of each human body individual;
and when the current speed of each human body individual is determined to be zero at the same time, analyzing the millimeter wave signals to respectively obtain the current distance value of each human body individual.
7. The volume control method according to claim 1, wherein the obtaining a first volume value corresponding to the current distance value according to the current distance value comprises:
acquiring a preset interference filtering weight, wherein the interference filtering weight is used for eliminating the interference of the environment where the sound playing device is located;
weighting the current distance value according to the interference filtering weight value;
and acquiring a first volume value corresponding to the current distance value after weighting processing.
8. The volume control method according to claim 2, wherein the target object is a human body;
after the obtaining of the millimeter wave signal, before analyzing the millimeter wave signal and obtaining the current distance value between the target object and the sound playing device, the method further includes:
when first gesture information is recognized from the millimeter wave signal, acquiring a volume maintaining instruction, wherein the volume maintaining instruction is used for indicating that the current volume of the sound playing device is unchanged;
controlling the current volume of the sound playing device to be unchanged according to the volume maintaining instruction;
after controlling the current volume of the sound playing device to be unchanged according to the volume maintaining instruction, the method further includes:
when second gesture information is identified from the millimeter wave signals, a volume regulating instruction is obtained, wherein the volume regulating instruction is used for indicating the sound playing device to regulate and control the current volume;
and controlling the sound playing device to regulate and control the current volume according to the current distance value of the human body in the millimeter wave signal according to the volume regulation and control instruction.
9. A volume control device, comprising:
the first acquisition module is used for acquiring a current distance value between a target object and the sound playing device;
the second obtaining module is used for obtaining a first volume value corresponding to the current distance value according to the current distance value;
and the adjusting module is used for adjusting the current volume of the sound playing device to a first volume value.
10. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory to implement the volume control method according to any one of claims 1 to 8.
11. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the volume control method of any one of claims 1 to 8.
CN202110903986.3A 2021-08-06 2021-08-06 Volume control method, device, equipment and storage medium Active CN113630689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110903986.3A CN113630689B (en) 2021-08-06 2021-08-06 Volume control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110903986.3A CN113630689B (en) 2021-08-06 2021-08-06 Volume control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113630689A true CN113630689A (en) 2021-11-09
CN113630689B CN113630689B (en) 2022-09-16

Family

ID=78383313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110903986.3A Active CN113630689B (en) 2021-08-06 2021-08-06 Volume control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113630689B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024082885A1 (en) * 2022-10-17 2024-04-25 青岛海信激光显示股份有限公司 Projection system and control method therefor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312600A (en) * 2007-05-22 2008-11-26 鸿富锦精密工业(深圳)有限公司 Volume regulating apparatus and automatic volume regulating method
US20090195435A1 (en) * 2006-06-19 2009-08-06 Ariel-University Research And Develoment Company Ltd. Hand-held device and method for detecting concealed weapons and hidden objects
CN109218816A (en) * 2018-11-26 2019-01-15 平安科技(深圳)有限公司 A kind of volume adjusting method and device based on Face datection
CN110730266A (en) * 2018-07-16 2020-01-24 Oppo(重庆)智能科技有限公司 Alarm clock volume control method and device, storage medium and terminal
CN112162684A (en) * 2020-09-25 2021-01-01 维沃移动通信有限公司 Parameter adjusting method and device and electronic equipment
CN113050788A (en) * 2019-12-26 2021-06-29 华为技术有限公司 Sound playing control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090195435A1 (en) * 2006-06-19 2009-08-06 Ariel-University Research And Develoment Company Ltd. Hand-held device and method for detecting concealed weapons and hidden objects
CN101312600A (en) * 2007-05-22 2008-11-26 鸿富锦精密工业(深圳)有限公司 Volume regulating apparatus and automatic volume regulating method
CN110730266A (en) * 2018-07-16 2020-01-24 Oppo(重庆)智能科技有限公司 Alarm clock volume control method and device, storage medium and terminal
CN109218816A (en) * 2018-11-26 2019-01-15 平安科技(深圳)有限公司 A kind of volume adjusting method and device based on Face datection
CN113050788A (en) * 2019-12-26 2021-06-29 华为技术有限公司 Sound playing control method and device
CN112162684A (en) * 2020-09-25 2021-01-01 维沃移动通信有限公司 Parameter adjusting method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024082885A1 (en) * 2022-10-17 2024-04-25 青岛海信激光显示股份有限公司 Projection system and control method therefor

Also Published As

Publication number Publication date
CN113630689B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US11122398B2 (en) Systems, methods, and devices for utilizing radar-based touch interfaces
EP3963945A1 (en) Controlling wireless connections in wireless motion sensing systems
EP3251388B1 (en) Method and apparatuses for proximity detection for device control
CN113630689B (en) Volume control method, device, equipment and storage medium
CN106911956B (en) Audio data playing method and device and mobile terminal
JP2021532674A (en) Dynamic RF power control of transmitter via VSWR detection for wireless communicator
US10154367B2 (en) Adaptive threshold for proximity based wireless communications features
US10863287B2 (en) Scene and state augmented signal shaping and separation
CN105118524A (en) Audio playing method and device
US20230037824A1 (en) Methods for reducing error in environmental noise compensation systems
US11601757B2 (en) Audio input prioritization
EP3840422B1 (en) Audio balancing method using uwb geolocation
CN111294704B (en) Audio processing method, device and storage medium
US11889288B2 (en) Using entertainment system remote commander for audio system calibration
US10735106B2 (en) Mobile device with ultrasound ranging
EP3493200B1 (en) Voice-controllable device and method of voice control
CN111208970A (en) Audio playing method and audio playing device
CN112927705B (en) Frequency response calibration method and related product
CN114979923A (en) Method, device and storage medium for determining hearing loss curve
CN114639383A (en) Device wake-up method, apparatus, electronic device and medium
US20180184356A1 (en) Wireless microphone system
CN112135340A (en) Power adjustment method, storage medium, wireless terminal device and electronic device
US20200120420A1 (en) Gain adjustment device, remote conversation device, and gain adjustment method
CN112867141A (en) Positioning control method, Bluetooth service node and electronic equipment
CN113963691A (en) Method, system, device, equipment and storage medium for adjusting voice equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant