CN113656260B - Control method and control device for electronic equipment, electronic equipment and storage medium - Google Patents

Control method and control device for electronic equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN113656260B
CN113656260B CN202110903642.2A CN202110903642A CN113656260B CN 113656260 B CN113656260 B CN 113656260B CN 202110903642 A CN202110903642 A CN 202110903642A CN 113656260 B CN113656260 B CN 113656260B
Authority
CN
China
Prior art keywords
signal
ultrasonic
module
audio
controlling
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.)
Active
Application number
CN202110903642.2A
Other languages
Chinese (zh)
Other versions
CN113656260A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110903642.2A priority Critical patent/CN113656260B/en
Publication of CN113656260A publication Critical patent/CN113656260A/en
Application granted granted Critical
Publication of CN113656260B publication Critical patent/CN113656260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • 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
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/57Control of contrast or brightness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/60Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/63Generation or supply of power specially adapted for television receivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Acoustics & Sound (AREA)
  • Quality & Reliability (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The application discloses a control method and a control device of electronic equipment, the electronic equipment and a storage medium, wherein the method comprises the following steps: controlling the audio playing module to emit a first signal, wherein the first signal comprises a first ultrasonic signal and a first audio signal; controlling the audio receiving module to receive a second signal, wherein the second signal comprises a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts a user; acquiring a first signal and a second signal; calculating a target distance between the electronic equipment and the user according to the second signal; and if the target distance is smaller than the preset distance threshold value, executing preset operation. Distance measurement is achieved through multiplexing of the audio signals and the ultrasonic signals in the audio playing module and the audio receiving module, the distance between the electronic equipment and a user can be effectively controlled, and user experience is improved.

Description

Control method and control device for electronic equipment, electronic equipment and storage medium
Technical Field
The present application relates to the field of vision protection, and in particular, to a control method and device for an electronic device, and a storage medium.
Background
With the continuous popularization of electronic products, taking television as an example, the electronic products have become indispensable household appliances for household users. The television program is confusing, can entertain mind and body, can receive external information, and people in any age group like to watch. However, when watching the television for too long or too short time from the display screen, the problems of dry eyes, eye swelling and pain and the like may be caused, and severe cases, the eyeballs are diseased to cause myopia, and related parameters of the television cannot be controlled by the distance between the user and the television so as to improve the watching experience of the user.
Disclosure of Invention
The embodiment of the application provides a control method and a control device for electronic equipment, the electronic equipment and a storage medium, which can effectively control the distance between the electronic equipment and a user and improve the user experience.
In a first aspect, an embodiment of the present application provides a method for controlling an electronic device, where the method includes:
Controlling an audio playing module to emit a first signal, wherein the first signal comprises a first ultrasonic signal and a first audio signal;
Controlling an audio receiving module to receive a second signal, wherein the second signal comprises a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts a user;
acquiring the second signal;
Calculating a target distance between the electronic equipment and a user according to the first signal and the second signal;
And if the target distance is smaller than a preset distance threshold value, executing preset operation.
In a second aspect, an embodiment of the present application provides a control apparatus for an electronic device, where the apparatus includes:
The control transmitting module is used for controlling the audio playing module to transmit a first signal, wherein the first signal comprises a first ultrasonic signal and a first audio signal;
the control receiving module is used for controlling the audio receiving module to receive a second signal, wherein the second signal comprises a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts a user;
The acquisition module is used for acquiring the second signal;
The calculating module is used for calculating the target distance between the electronic equipment and the user according to the first signal and the second signal;
and the execution module is used for executing preset operation if the target distance is smaller than a preset distance threshold value.
In a third aspect, an embodiment of the present application provides an electronic device, including:
the audio playing module is used for transmitting a first signal, wherein the first signal comprises a first ultrasonic signal and a first audio signal;
the audio receiving module is used for receiving a second signal, wherein the second signal comprises a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts a user;
the processor is electrically connected with the audio playing module and the audio receiving module respectively, and the processor is used for:
acquiring the second signal;
calculating a target distance between the television and a user according to the first signal and the second signal;
And if the target distance is smaller than a preset distance threshold value, executing preset operation.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the control method of an electronic device as described above.
In the embodiment of the application, the electronic equipment transmits the first signal by controlling the audio playing module, controls the audio receiving module to receive the second signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts a user, so as to obtain the first signal and the second signal, calculate the target distance between the electronic equipment and the user according to the first signal and the second signal, and execute the preset operation if the target distance is smaller than the preset distance threshold. Distance measurement is achieved through multiplexing of the audio signals and the ultrasonic signals in the audio playing module and the audio receiving module, the distance between the electronic equipment and a user can be effectively controlled, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a television according to an embodiment of the present application.
Fig. 3 is a first block diagram of a television according to an embodiment of the present application.
Fig. 4 is a second block diagram of a television according to an embodiment of the present application.
Fig. 5 is a third block diagram of a television according to an embodiment of the present application.
Fig. 6 is a fourth block diagram of a television according to an embodiment of the present application.
Fig. 7 is a schematic view of a television scene according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a television erroneous judgment detection function according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a control device of an electronic apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
The embodiment of the application provides a control method and device of electronic equipment, the electronic equipment and a storage medium. The electronic device may be a television, a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., and the embodiment uses the electronic device as a television for explanation. The following description of the embodiments is not intended to limit the preferred embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the application. The electronic device 100 may be a mobile terminal, a plasma television, an intelligent television, an LED television, a flat panel television, a 3D television, a liquid crystal television, and the like, which is not limited herein.
It will be appreciated that in some embodiments of the application the electronic device 100 is a television. Television is a device that uses electronic technology to transmit moving picture and audio signals, and is also an important broadcast and video communication tool. The television uses the visual residual effect of human eyes to display a frame of gradual change still picture, and forms a visual moving image. The television system transmitting end converts each fine part of scenery into electric signals according to brightness and chromaticity, then sequentially transmits the electric signals, and the receiving end displays the brightness and chromaticity of each fine part according to corresponding geometrical setting to reproduce the whole original image.
In some embodiments, the electronic device 100 includes a television body 101 and a circuit board (not shown), and a radio frequency system and a display screen 102 disposed on the television body 101, where the radio frequency system and the display screen 102 are electrically connected to the circuit board, and the display screen 102 plays a role of displaying pictures. Further, in the present embodiment, the tv body 101 forms a mounting cavity, and the circuit board and the radio frequency system are mounted in the mounting cavity, and are supported, positioned and protected by the tv body 101. In the embodiment shown in fig. 1, the television body 101 may be understood as a housing of the electronic device 100, where the television body 101 is substantially rectangular, and the appearance of the electronic device 100 is mainly represented by the television body 101. In other embodiments, the television body 101 may take other shapes such as cubes and the like. In this embodiment, the portion of the television body 101 exposed to the outside may be provided with a plurality of physical keys or virtual keys, and each physical key or virtual key may perform different functions, such as adjusting the brightness of the television display 102, adjusting the chromaticity of the display 102, adjusting the content displayed on the display 102, and so on. In some embodiments, the electronic device 100 may be a flat-type television or a hanging-type television, and the television body 101 of the flat-type television may be provided with a bracket (not shown in the figure) that functions to support the television body 101 above an object that is flat; the television body 101 of the hanging television may be provided with a connecting piece (not shown) which plays a role in detachably and fixedly connecting the television body 101 with a wall.
An embodiment of the present application provides a control method of an electronic device, please refer to fig. 2, and fig. 2 is a flow chart of the control method of the electronic device provided in the embodiment of the present application. The control method of the electronic device may include the following steps:
and 101, controlling the audio playing module to emit a first signal.
In this embodiment, the audio playing module may transmit a first signal, and the first signal may include a first ultrasonic signal and a first audio signal. The audio playing module may include an ultrasonic wave emitting sub-module and a speaker sub-module. The ultrasonic wave transmitting sub-module may transmit a first ultrasonic wave signal, and the speaker sub-module may amplify the first ultrasonic wave signal and the first audio signal.
And when the first audio signal is transmitted to the audio playing module, the ultrasonic signal and the first audio signal are overlapped, so that the ultrasonic signal and the first audio signal are transmitted to the audio playing module together, and the ultrasonic signal is transmitted, namely the first ultrasonic signal, through an ultrasonic transmitting sub-module in the audio playing module. In order to improve the recognition range and recognition accuracy of the first ultrasonic signal and the first audio signal, the speaker sub-module may be controlled to amplify the first ultrasonic signal and the first audio signal, thereby obtaining a first signal, and transmit the first signal to the outside of the electronic device.
102, Controlling the audio receiving module to receive the second signal.
The audio receiving module can receive a second signal, wherein the second signal comprises a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts a user. In addition, the audio receiving module may also receive a second audio signal and other signals, where the second audio signal may be an audio signal formed by the reflection of the first audio signal after contacting the user, or may be an audio signal sent by the user or other electronic devices, and the other signals may be understood as other signals besides the second ultrasonic signal and the second audio signal.
It should be noted that, after the first signal is transmitted to the outside of the electronic device, the first signal may be transmitted in multiple directions, the first ultrasonic signal in the first signal may be reflected after encountering an obstacle, if the obstacle encountered in the multiple directions in which the first ultrasonic signal is transmitted is a user, the audio receiving module is controlled to receive the second ultrasonic signal formed by the first ultrasonic signal contacting the user and reflecting, while ignoring the ultrasonic signals reflected by other obstacles, where the first signal contacts the first ultrasonic signal; if the user is not met in the directions of the first ultrasonic signals, all reflected ultrasonic signals are ignored, the audio transmitting module is controlled to retransmit the first signals until the met obstacle is the user, and the audio receiving module is controlled to receive the second signals.
It will be appreciated that after the audio playing module emits the first signal and contacts the user, the first signal may reflect, but there may be a loss of energy in the first signal, i.e. the reflected first signal may be weaker than the first signal, so as to generate the second signal for being received by the audio receiving module.
103, Acquiring a second signal.
The signal formed by the reflection of the first signal when the first signal contacts the user can comprise a second ultrasonic signal formed by the reflection of the first ultrasonic signal, a second audio signal formed by the transmission of the first audio signal, or an audio signal or other signals sent by other electronic equipment to the electronic equipment.
In order to realize ultrasonic detection and avoid the influence of other signals on ultrasonic signals, after the second signal is received by the audio receiving module, the second signal is subjected to filtering processing by the filtering module so as to filter the second audio signal and other signals received by the audio receiving sub-module, thereby extracting the second ultrasonic signal received by the ultrasonic receiving sub-module.
Because the frequency of the sound wave vibration corresponding to the second ultrasonic signal and the second audio signal is different, for example, the second ultrasonic wave is 40000Hz, the second audio signal is 2000Hz, and the second ultrasonic signal and the second audio signal do not belong to the same signal transmission channel, the filtering module can adopt a high-pass filtering mode, and because the rule of the high-pass filtering is that the high-frequency signal such as the second ultrasonic signal can normally pass through, and the low-frequency signal such as the second audio signal is blocked, the second audio signal is filtered, and then the second ultrasonic signal is reserved in the transmission channel for being received by the ultrasonic receiving submodule, and the filtered second audio signal is received by the audio receiving submodule.
104, Calculating the target distance between the electronic equipment and the user according to the first signal and the second signal.
The electronic device may further include a timer, among other things. When the ultrasonic wave transmitting sub-module transmits a first ultrasonic wave signal, the timer is controlled to start timing, and when the first signal contacts a user to generate a second signal after reflection occurs, the filtering module is controlled to filter the second signal to obtain a second ultrasonic wave signal, and at the moment, the timer is controlled to stop timing and obtain the target duration. The target time length is a time from the start of the timer to the stop of the timer, that is, a time at which the ultrasonic signal is detected once. And then calculating the target distance between the television and the user according to the first ultrasonic signal, the second ultrasonic signal and the target time length. It can be understood that the target distance can be obtained by a simple operation through the propagation speeds of the first ultrasonic signal and the second ultrasonic signal and the target time length of transmission.
And 105, if the target distance is smaller than the preset distance threshold value, executing a preset operation.
The target distance between the user and the electronic equipment is detected through the ultrasonic signal, and in order to realize control of the target distance, the user is ensured to watch the electronic equipment at a safe watching distance to protect eyesight, and the preset operation can be executed when the distance between the user and the electronic equipment is smaller than the target distance. For example, a preset device in the electronic equipment is controlled to send out prompt information. In some embodiments, the preset device may be a display screen or an audio playing module. If the target distance is smaller than the preset distance threshold, the display screen can be controlled to display a prompt picture, such as a word like 'too close distance', and the audio playing module can be controlled to send out prompt sounds, such as 'too close distance'. Of course, other preset devices with prompting function can be used to send out prompting information, such as flashing red light to warn when the distance between the user and the electronic device is smaller than the target distance.
It will be appreciated that performing the preset operation may be adjusting a parameter associated with a preset device in the electronic apparatus. The related parameters of the display screen, such as brightness, contrast, chromaticity and the like, can be adjusted according to the relation between the target distance and the preset distance threshold value, and the volume and the like of the audio playing module can be also adjusted, so that the comfort level of watching television of a user can be improved
If the target distance is greater than or equal to the preset distance threshold, the user is in the safe viewing distance, and the current distance between the electronic equipment and the user can be calculated periodically at the moment, so that periodic ultrasonic detection is realized, the distance between the user and the electronic equipment is detected in real time, and the detection precision is improved. For example, the detection is performed every 1 minute, 3 minutes, or the like, which is a measurement period.
In addition, when the user is at a safe viewing distance, if there is another user passing between the user and the electronic device or the user has a moving distance to a side close to the television, the target distance detected by the ultrasonic signal becomes small, thereby generating erroneous judgment. To solve this problem, the present embodiment adds a false positive detection function.
Specifically, when the current distance between the user and the electronic device detected by the ultrasonic signal is smaller than the preset distance threshold, it is determined whether the distance between the electronic device and the user is always smaller than the preset distance threshold within a first preset time period, that is, the time period when the user or other user stays at a position smaller than the preset distance threshold, where the first preset time period is a judgment criterion of the time period when the user or other user stays at an unsafe position, for example, the distance between the user and the electronic device is larger than the preset distance threshold, but at this time, the user wants to take the remote controller near the electronic device, then the distance between the user and the electronic device is smaller than the preset distance threshold, if it is determined that the user is at an unsafe distance to watch the electronic device, and performing the preset operation is inaccurate, and if it is determined that other user is at a safe watching position between the user and the electronic device, it is determined that the distance between the other user and the electronic device is smaller than the preset distance threshold, and performing the preset operation may also cause errors. Therefore, it is required to determine whether the current distance between the electronic device and the user or other users is always smaller than the preset distance threshold within the first preset duration, if not, the electronic device is controlled to work normally, for example, the television is controlled to play normally, and the distance between the electronic device and the user is recalculated, which indicates that the user or other users are only temporarily close to the electronic device and cannot indicate that the user views the electronic device at an unsafe distance; if so, controlling the electronic equipment to normally work, and indicating that the user is in an unsafe distance for too long, at the moment, judging that the user is in an unsafe distance to watch the electronic equipment, and taking eyesight protection measures such as stopping television playing and the like. The stopping of the television may be turning off the television, locking the screen or other modes.
The preset distance threshold may be 3 meters, 4 meters, 5 meters, and the like, and the first preset duration may be 1 minute, 2 minutes, 3 minutes, and the like, which are not limited herein.
The method ensures that the user and the electronic equipment are kept at a safe viewing distance, thereby protecting the eyesight of the user, and the eyesight of the user can be adversely affected if the user views the electronic equipment for too long. Therefore, if the current distance between the electronic equipment and the user is greater than the preset distance threshold, the electronic equipment is controlled to work normally within the second preset time, and the electronic equipment is controlled to stop working after the second preset time, so that the time for the user to watch the electronic equipment is limited, and the eyesight of the user is further protected. The second preset time period may be 1 hour, 2 hours, or the like, which is not particularly limited herein.
In addition, if the current distance between the electronic device and the user is greater than the preset distance threshold, the user is at a safe viewing distance, but the user may not view the electronic device because of some situations of going out and being far away from the electronic device, and if the electronic device keeps working, unnecessary energy consumption may be caused. Therefore, when the current distance between the electronic equipment and the user is larger than a preset distance threshold and larger than a target preset distance, starting timing, detecting whether the current distance between the user and the electronic equipment is always larger than the target preset distance within a third preset time length, and if so, controlling the electronic equipment to stop working; if not, controlling the electronic equipment to work normally.
As can be seen from the above, in this embodiment, the audio playing module is controlled to emit the first signal, the audio receiving module is controlled to receive the second signal, the second signal is obtained, the target distance between the electronic device and the user is calculated according to the first signal and the second signal, and if the target distance is smaller than the preset distance threshold, the preset operation is performed. The distance measurement is realized by multiplexing the audio playing module and the audio receiving module, the occupied space of the additional functional device can be reduced, the distance between the user and the electronic equipment can be effectively controlled, the watching duration of the user can be controlled, the prompt information is sent out according to the distance to protect the eyesight, and the user experience is improved according to the distance to adjust the relevant parameters of the electronic equipment.
Referring to fig. 3, fig. 3 is a first structural block diagram of the electronic device according to the embodiment of the present application. The electronic device 100 may include, among other things, an audio playback module 103, an audio receiving module 104, and a processor 105. The television body 101 of the electronic device 100 is provided with a circuit board in a mounting cavity formed therein, and the audio playing module 103, the audio receiving module 104 and the processor 105 can be integrated on the circuit board to realize functions corresponding to each functional module or functional component.
It should be noted that, generally, the frequency range of the sound wave that the user can recognize is 20-20000Hz, when the vibration frequency of the sound wave is greater than 20000Hz, the human ear cannot hear, and the ultrasonic wave is the sound wave with the vibration frequency greater than 20000Hz, such as 40000Hz, etc. The ultrasonic wave has shorter wavelength than the sound wave, has better directivity, can penetrate through an opaque object, and can be widely applied to the technologies of ultrasonic thickness measurement, distance measurement, remote control, ultrasonic imaging and the like. Thus, the present embodiment utilizes ultrasonic waves to achieve distance detection between the electronic device 100 and the user.
The audio playing module 103 may be disposed on the television body 101, and the audio playing module 103 may emit a first signal, where the first signal may include a first ultrasonic signal and a first audio signal.
Referring to fig. 4, fig. 4 is a second block diagram of an electronic device according to an embodiment of the present application. The audio playing module 103 may include an ultrasonic wave emitting sub-module 1031 and a speaker sub-module 1032, among others. The ultrasonic wave transmitting sub-module 1031 may transmit the first ultrasonic wave signal, and the speaker sub-module 1032 may amplify the first ultrasonic wave signal and the first audio signal.
It is understood that when the electronic device 100 is in a playing state, the display 102 will display a picture, and an audio signal such as the first audio signal will be present in the corresponding display picture. The processor 105 may be understood as a system-on-chip, or the processor 105 may be part of a system-on-chip that transmits the first audio signal to the audio playback module 103 and transmits the first audio signal to the outside of the electronic device 100 for user identification via the audio playback module 103.
In addition, the present embodiment superimposes the ultrasonic wave signal and the first audio signal while transmitting the first audio signal to the audio playing module 103, so that the ultrasonic wave signal and the first audio signal are transmitted to the audio playing module 103 together, and the ultrasonic wave signal is transmitted, that is, the first ultrasonic wave signal, through the ultrasonic wave transmitting sub-module 1031 in the audio playing module 103. In order to improve the recognition range and recognition accuracy of the first ultrasonic signal and the first audio signal, the audio playing module 103 is internally provided with a power amplification chip, and the power amplification chip can control the speaker submodule 1032 to amplify the first ultrasonic signal and the first audio signal, thereby obtaining a first signal, and transmitting the first signal to the outside of the electronic device 100.
In the related art, an ultrasonic sensor is required to emit an ultrasonic signal, and a speaker module or a loudspeaker is required to emit an audio signal, which are different functional components or functional modules, so that different driving circuits are required to be electrically connected with the processor 105, and the processor 105 needs to send control signals to the ultrasonic sensor and the speaker module respectively to control the ultrasonic signal and the audio signal to be sent respectively.
The audio playing module 103 in this embodiment may have the function of emitting the first ultrasonic signal and the first audio signal at the same time, that is, the processor 105 may send the control signal once to control the audio playing module 103 to emit the first ultrasonic signal and the first audio signal at the same time, because the audio signal is identifiable by the user, the electronic device 100 needs to have the speaker sub-module 1032 for emitting the audio signal, if the audio playing module 103 is to emit the first ultrasonic signal and the first audio signal at the same time, the ultrasonic emitting sub-module 1031 may be disposed in the audio playing module 103, and the ultrasonic emitting sub-module 1031 is a part of the audio playing module 103, so that no additional ultrasonic sensor is required to be disposed, thereby reducing the driving circuit between the ultrasonic sensor and the processor 105, and reducing the internal space of the electronic device 100 occupied by the functional device of the ultrasonic sensor. That is, by multiplexing the ultrasonic wave transmitting sub-module 1031 with the speaker sub-module 1032, the effect that the audio playing module 103 simultaneously transmits the first ultrasonic wave signal and the first audio signal is achieved.
With continued reference to fig. 1, the audio receiving module 104 may be disposed on the television body 101, and the audio receiving module 104 may receive a second signal, where the second signal includes a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting after the first ultrasonic signal contacts a user. In addition, the audio receiving module 104 may also receive a second audio signal and other signals, where the second audio signal may be an audio signal formed by reflecting the first audio signal after contacting the user, or may be an audio signal sent by the user or other electronic devices, and the other signals may be understood as other signals besides the second ultrasonic signal and the second audio signal.
Fig. 5 is a third block diagram of a television according to an embodiment of the present application. The audio receiving module 104 may include an ultrasonic receiving submodule 1041 and an audio receiving submodule 1042, among others. The ultrasonic wave receiving sub-module 1041 may receive the second ultrasonic wave signal, and the audio receiving sub-module 1042 may receive the second audio signal.
In the related art, an ultrasonic sensor is required to receive an ultrasonic signal, and a microphone or a far-field module is required to receive an audio signal, which are different functional components or functional modules, so that different driving circuits are required to be electrically connected with the processor 105, and the processor 105 needs to send control signals to the ultrasonic sensor and the far-field module respectively to control the ultrasonic signal and the audio signal to be received respectively.
The audio receiving module 104 in this embodiment may have the function of receiving the second ultrasonic signal and the second audio signal at the same time, that is, the processor 105 may send a control signal once to control the audio receiving module 104 to receive the second ultrasonic signal and the second audio signal at the same time, and since the audio signal may be sent by a user or may be sent by other electronic devices, the electronic device 100 needs to have the audio receiving submodule 1042 for receiving the audio signal, if the audio receiving module 104 is to receive the second ultrasonic signal and the second audio signal at the same time, the ultrasonic receiving submodule 1041 may be disposed in the audio receiving module 104, and the ultrasonic receiving module 1041 is a part of the audio receiving module 104, so that no additional ultrasonic sensor is required to be disposed, thereby reducing the driving circuit between the ultrasonic sensor and the processor 105 and reducing the internal space of the electronic device 100 occupied by the functional device of the ultrasonic sensor. That is, the audio receiving submodule 1042 is multiplexed by the ultrasonic receiving submodule 1041, so that the audio receiving module 104 receives the second ultrasonic signal and the second audio signal simultaneously.
In addition, the audio receiving submodule 1042 may be a far-field module or a microphone, and the far-field module is an artificial intelligent voice recognition technology which is fused with artificial intelligent voice search and is widely applied to intelligent televisions. The far-field module can realize voice control of the remote controller-free distance of 5 meters. The user can directly speak the instruction through the wake-up word at a longer distance to control the electronic equipment 100, so that the user operation is convenient; in contrast, the microphone may act as a kind of near field speech recognition.
The processor 105 may be used to process various operations of the electronic device 100, the processor 105 may be integrated on a circuit board, and the processor 105 is electrically connected to the audio playing module 103 and the audio receiving module 104, respectively. The processor 105 is a control center of the electronic device 100, connects various parts of the entire electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by running or loading computer programs stored in a memory and calling data stored in the memory, thereby performing overall monitoring of the electronic device 100.
The processor 105 may control the audio playing module 103 to emit a first signal, when the first signal contacts the user and reflects, control the audio receiving module 104 to receive a second signal, that is, obtain the first signal and the second signal, calculate a target distance between the electronic device 100 and the user according to the first signal and the second signal, and if the target distance is smaller than a preset distance threshold, execute a preset operation.
Specifically, the processor 105 may transmit the first ultrasonic signal and the first audio signal to the audio playing module 103, control the ultrasonic transmitting sub-module 1031 in the audio playing module 103 to transmit the first ultrasonic signal, control the speaker sub-module 1032 to amplify the first ultrasonic signal and the first audio signal, so as to obtain the first signal, and finally control the audio playing module 103 to transmit the first signal.
Referring to fig. 6, fig. 6 is a block diagram of a fourth configuration of a television according to an embodiment of the present application. The electronic device 100 may further include a filtering module 106 and a timer 107, among other things. The filtering module 106 is electrically connected to the processor 105, and the filtering module 106 may perform filtering processing on the second signal.
Because the frequencies of the acoustic vibrations corresponding to the second ultrasonic signal and the second audio signal are different, for example, the second ultrasonic wave is 40000Hz, and the second audio signal is 2000Hz, which do not belong to the same signal transmission channel, the filtering module 106 may adopt a high-pass filtering mode, and because the rule of the high-pass filtering is that the high-frequency signal, such as the second ultrasonic signal, can normally pass through, and the low-frequency signal, such as the second audio signal, is blocked, so as to filter the second audio signal, and further keep the second ultrasonic signal in the transmission channel for the ultrasonic sub-receiving module 1041 to receive, and the filtered second audio signal is received by the audio receiving sub-module 1042. The filtering module 106 may be a part of the audio receiving module 104, or may be separately provided, which is not specifically limited herein.
The timer 107 is electrically connected to the processor 105, the audio playing module 103, and the audio receiving module 104, respectively. When the ultrasonic wave transmitting sub-module 1041 transmits the first ultrasonic wave signal, the processor 105 controls the timer to start timing, and when the first signal contacts the user to generate the second signal after reflection, the filter module 106 is controlled to filter the second signal to obtain the second ultrasonic wave signal, and at this time, the timer 107 is controlled to stop timing and obtain the target duration. The target time length is a time from the start of the timer to the stop of the timer, that is, a time at which the ultrasonic signal is detected once. And then calculating the target distance between the electronic device 100 and the user according to the first ultrasonic signal, the second ultrasonic signal and the target duration. It can be understood that the target distance can be obtained by a simple operation through the propagation speeds of the first ultrasonic signal and the second ultrasonic signal and the target time length of transmission.
Referring to fig. 7, fig. 7 is a schematic view of a television according to an embodiment of the present application. The electronic device 100 transmits the first ultrasonic signal and the first audio signal to the audio playing module 103 through the processor 105, the audio playing module 103 amplifies the first ultrasonic signal and the first audio signal to form a first signal and transmits the first signal through the control of the power amplification chip, when the first signal contacts a user, the first signal is reflected to form a second signal, after the second signal reaches the electronic device 100, the processor 105 controls the audio receiving module 104 to receive the second signal, and calculates the time between the transmission of the first ultrasonic signal and the reception of the second signal through the timer 107, so as to calculate the target distance between the user and the electronic device 100, and judge whether the user is in a safe viewing distance according to the target distance, so that the distance between the user and the electronic device 100 is controlled, and further the effect of protecting the visual force is achieved.
If the target distance is greater than or equal to the preset distance threshold, the user is in the safe viewing distance, and the current distance between the electronic equipment and the user can be calculated periodically at the moment, so that periodic ultrasonic detection is realized, the distance between the user and the electronic equipment is detected in real time, and the detection precision is improved. For example, the detection is performed at intervals of 1 minute, 3 minutes, or the like.
In addition, when the user is at a safe viewing distance, if there is another user passing between the user and the electronic apparatus 100 or the user has a moving distance to a side close to the electronic apparatus 100, the target distance detected by the ultrasonic signal may become small, thereby generating erroneous judgment. To solve this problem, the present embodiment adds a false positive detection function.
Specifically, when the current distance between the electronic device 100 and the user detected by the ultrasonic signal is smaller than the preset distance threshold, it is determined whether the distance between the electronic device 100 and the user is always smaller than the preset distance threshold within a first preset duration, that is, the duration that the user or other user stays at a position smaller than the preset distance threshold, where the first preset duration is a criterion for the duration that the user or other user stays at an unsafe position, for example, the distance between the user and the electronic device 100 is greater than the preset distance threshold, but at this time, the distance between the user and the electronic device 100 is smaller than the preset distance threshold if the user wants to take a remote control near the electronic device 100, and if it is determined that the user is at an unsafe distance for watching the television, the preset operation is performed inaccurately, and if it is determined that other user is at a safe watching position between the user and the electronic device 100, the distance between the other user and the television is smaller than the preset distance threshold, the preset operation is performed, which also causes erroneous determination. Therefore, it is required to determine whether the distance between the electronic device 100 and the user or other users is always smaller than the preset distance threshold within the first preset duration, if not, the electronic device 100 is controlled to work normally, and the distance between the electronic device 100 and the user is recalculated, which indicates that the user or other users are only temporarily close to the electronic device 100, and cannot indicate that the user views the electronic device 100 at an unsafe distance; if so, the electronic device is controlled to work normally, which means that the user is at an unsafe distance for too long, and at this time, the user is determined to be at an unsafe distance to watch the electronic device 100, and measures for protecting eyesight such as stopping television playing and the like need to be taken. The television may be turned off, locked, or otherwise stopped.
The preset distance threshold may be 3 meters, 4 meters, 5 meters, and the like, and the first preset duration may be 1 minute, 2 minutes, 3 minutes, and the like, which are not limited herein.
Referring to fig. 8, fig. 8 is a schematic diagram of a television erroneous judgment detection function according to an embodiment of the application. The electronic device 100 starts an ultrasonic detection function, controls the audio playing module to emit a first signal, emits to obtain a second signal after the first signal contacts the user, and retransmits the first signal if the first signal does not contact the user until the user is detected to perform the next step. Calculating whether the distance between the user and the electronic device 100 is greater than a preset distance threshold through the first signal and the second signal, if so, restarting the next ultrasonic detection, wherein the time interval between two adjacent ultrasonic detections can be set according to specific conditions so as to realize periodic detection of the distance between the electronic device 100 and the user; if not, determining whether the current distance between the electronic equipment and the user is always smaller than the preset distance threshold value within the first preset time period, if not, controlling the electronic equipment 100 to work normally, and recalculating the current distance between the electronic equipment and the user, namely restarting the next ultrasonic detection; if yes, the electronic device 100 is controlled to stop working to protect the eyesight of the user.
The target distance between the user and the electronic device 100 is detected through the ultrasonic signal, so that the control of the target distance is realized, the user is ensured to watch the television to protect eyesight at a safe watching distance, and an early warning prompt can be sent out when the distance between the user and the electronic device 100 is smaller than the target distance. If the distance between the user and the electronic device 100 is detected to be smaller than the preset distance threshold, a preset operation is performed, for example, a preset device in the electronic device 100 is controlled to send a prompt message, and of course, the related parameters of the preset device in the electronic device can be adjusted according to the target distance.
The preset device may be a display screen 102 or an audio playing module 104, where the display screen 102 and the speaker may be electrically connected to the processor 105, respectively. If the target distance is smaller than the preset distance threshold, the display screen 102 may be controlled to display a prompt screen, for example, a word such as "too close distance" is displayed, or the audio playing module 104 may be controlled to emit a prompt sound, for example, a sound such as "too close distance you are. Of course, other preset devices with a prompting function may be used to send a prompting message, such as flashing a red light to warn when the distance between the user and the electronic device is smaller than the target distance when the electronic device 100 is provided with a prompting light.
The related parameters of the display screen, such as brightness, contrast, chromaticity, etc., may be adjusted according to the relationship between the target distance and the preset distance threshold, and the volume of the audio playing module may also be adjusted.
In this way, the user and the electronic device 100 are kept at a safe viewing distance, so that the eyesight of the user is protected, and if the user watches the television for too long, the eyesight of the user is adversely affected. Therefore, if the distance between the electronic device 100 and the user is greater than the preset distance threshold, the electronic device 100 is controlled to stop playing after the second preset time period. The second preset time period may be 1 hour, 2 hours, or the like, which is not particularly limited herein.
In addition, if the current distance between the electronic device and the user is greater than the preset distance threshold, the user is at a safe viewing distance, but the user may not view the electronic device because of some situations of going out and being far away from the electronic device, and if the electronic device keeps working, unnecessary energy consumption may be caused. Therefore, when the current distance between the electronic equipment and the user is larger than a preset distance threshold and larger than a target preset distance, starting timing, detecting whether the current distance between the user and the electronic equipment is always larger than the target preset distance within a third preset time length, and if so, controlling the electronic equipment to stop working; if not, controlling the electronic equipment to work normally.
As can be seen from the above, in this embodiment, the audio playing module 103 is controlled to emit the first signal, the audio receiving module 104 is controlled to receive the second signal, the second signal is obtained, the target distance between the electronic device 100 and the user is calculated according to the first signal and the second signal, and if the target distance is smaller than the preset distance threshold, the preset operation is performed. The distance measurement is realized through multiplexing the audio playing module 103 and the audio receiving module 104, the driving circuit is reduced, the design is simple, the occupied space of additional functional devices can be reduced, the distance of watching the electronic equipment and the watching time length of the user can be effectively controlled through detecting the distance between the user and the electronic equipment 100, prompt information is sent according to the distance to protect eyesight, and relevant parameters of the electronic equipment are regulated according to the distance, so that the user experience is improved.
The embodiment of the application also provides a control device of the electronic equipment. Referring to fig. 9, fig. 9 is a schematic structural diagram of a control device of an electronic apparatus according to an embodiment of the application. The control device 200 of the electronic apparatus may include a control transmitting module 201, a control receiving module 202, an obtaining module 203, a calculating module 204, and an executing module 205, as follows:
A control transmitting module 201, configured to control the audio playing module to transmit a first signal, where the first signal includes a first ultrasonic signal and a first audio signal;
the control receiving module 202 is configured to control the audio receiving module to receive a second signal, where the second signal includes a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting after the first ultrasonic signal contacts the user;
An acquisition module 203, configured to acquire a second signal;
A calculating module 204, configured to calculate a target distance between the electronic device and the user according to the first signal and the second signal;
and the execution module 205 is configured to execute a preset operation if the target distance is less than the preset distance threshold.
In the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
It should be noted that, the control device of the electronic device provided in the embodiment of the present application belongs to the same concept as the control method of the electronic device in the foregoing embodiment, and any method provided in the control method embodiment of the electronic device may be run on the control device of the electronic device, and detailed implementation processes of the method are shown in the control method embodiment of the electronic device, which is not described herein again.
In addition, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which when executed on a computer, causes the computer to execute the control method of the electronic device provided in any one of the above embodiments.
In some embodiments, the computer program described above, when run on the computer, performs the steps of:
Controlling an audio playing module to emit a first signal, wherein the first signal comprises a first ultrasonic signal and a first audio signal;
Controlling an audio receiving module to receive a second signal, wherein the second signal comprises a second ultrasonic signal, and the second ultrasonic signal is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts a user;
acquiring the second signal;
Calculating a target distance between the electronic equipment and a user according to the first signal and the second signal;
And if the target distance is smaller than a preset distance threshold value, executing preset operation.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in the control method of any electronic device provided by the embodiment of the present application can be executed by the instructions stored in the storage medium, so that the beneficial effects that can be achieved by the control method of any electronic device provided by the embodiment of the present application can be achieved, and detailed descriptions of the foregoing embodiments are omitted.
The control method of the electronic device, the electronic device and the storage medium provided by the embodiment of the application are described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (14)

1. A control method of an electronic device, the method comprising:
Controlling an audio playing module to emit first signals to a plurality of directions, wherein the first signals comprise first ultrasonic signals and first audio signals, and the first signals are reflected after encountering an obstacle;
If the first ultrasonic signal meets barriers in a plurality of directions of the transmission of the first ultrasonic signal is a user, controlling an audio receiving module to receive a second signal and neglecting ultrasonic signals reflected by the first signal contacting other barriers, wherein the second signal comprises a second ultrasonic signal which is an ultrasonic signal formed by reflecting the first ultrasonic signal after contacting the user;
If the first ultrasonic signals do not meet users in the transmitted directions, controlling the audio receiving module to ignore all reflected ultrasonic signals, controlling the audio playing module to resend the first signals until the met obstacles are users, and controlling the audio receiving module to receive second signals;
acquiring the second signal;
Calculating a target distance between the electronic equipment and a user according to the first signal and the second signal;
And if the target distance is smaller than a preset distance threshold value, executing preset operation.
2. The method of claim 1, wherein the controlling the audio receiving module to receive the second signal comprises:
controlling an ultrasonic receiving submodule in the audio receiving module to receive the second signal, and acquiring the second signal comprises the following steps:
and after the audio receiving module receives the second signal, controlling the filtering module to perform filtering processing on the second signal so as to extract the second ultrasonic signal received by the ultrasonic receiving submodule.
3. The method of controlling an electronic device according to claim 1, wherein before said controlling the audio playback module to transmit the first signal, the method further comprises:
controlling an ultrasonic wave transmitting sub-module in the audio playing module to transmit the first ultrasonic wave signal;
and controlling a speaker sub-module in the audio playing module to amplify the first ultrasonic signal and the first audio signal so as to obtain the first signal.
4. The method according to claim 2, wherein the audio playing module includes an ultrasonic wave emitting sub-module, and the calculating the target distance between the electronic device and the user according to the first signal and the second signal includes:
When the ultrasonic wave transmitting submodule transmits the first ultrasonic wave signal, starting timing;
stopping timing and obtaining a target duration when the filtering module performs filtering processing to obtain the second ultrasonic signal;
and calculating the target distance between the electronic equipment and the user according to the first ultrasonic signal, the second ultrasonic signal and the target duration.
5. The control method of an electronic device according to claim 1, characterized in that the method further comprises:
And if the target distance is greater than or equal to a preset distance threshold, periodically calculating the current distance between the electronic equipment and the user.
6. The control method of an electronic device according to claim 5, wherein after periodically calculating a current distance between the electronic device and a user if the target distance is greater than or equal to a preset distance threshold, the method further comprises:
if the current distance is smaller than the preset distance threshold, determining whether the current distance is always smaller than the preset distance threshold within a first preset duration;
If not, controlling the electronic equipment to work normally, and recalculating the target distance between the electronic equipment and the user;
If yes, the electronic equipment is controlled to stop working.
7. The control method of an electronic device according to claim 5, characterized in that the method further comprises:
and if the current distance is greater than or equal to the preset distance threshold, controlling the electronic equipment to work normally within a second preset time period, and controlling the electronic equipment to stop working after the second preset time period.
8. The method according to claim 1, wherein if the target distance is smaller than a preset distance threshold, performing a preset operation includes:
and if the target distance is smaller than a preset distance threshold, controlling the electronic equipment to send out prompt information and/or adjusting related parameters of the electronic equipment.
9. A control device of an electronic apparatus, characterized in that the device comprises:
The control transmitting module is used for controlling the audio playing module to transmit first signals to a plurality of directions, wherein the first signals comprise first ultrasonic signals and first audio signals, and the first signals are reflected after encountering obstacles;
The control receiving module is used for controlling the audio receiving module to receive a second signal and neglecting ultrasonic signals reflected by the first signal contacting other obstacles if the obstacles encountered by the first ultrasonic signal in the transmitted directions are users, wherein the second signal comprises a second ultrasonic signal which is an ultrasonic signal formed by reflecting the first ultrasonic signal after contacting the users; if the first ultrasonic signals do not meet users in the transmitted directions, controlling the audio receiving module to ignore all reflected ultrasonic signals, controlling the audio playing module to resend the first signals until the met obstacles are users, and controlling the audio receiving module to receive second signals;
The acquisition module is used for acquiring the second signal;
The calculating module is used for calculating the target distance between the electronic equipment and the user according to the first signal and the second signal;
and the execution module is used for executing preset operation if the target distance is smaller than a preset distance threshold value.
10. An electronic device, comprising:
The system comprises an audio playing module, a first receiving module and a second receiving module, wherein the audio playing module is used for transmitting first signals to a plurality of directions, the first signals comprise first ultrasonic signals and first audio signals, and the first signals are reflected after encountering an obstacle;
The audio receiving module is used for receiving a second signal and ignoring ultrasonic signals reflected by other obstacles contacted with the first signal if the obstacles encountered by the first ultrasonic signal in the transmitted directions are users, wherein the second signal comprises a second ultrasonic signal which is an ultrasonic signal formed by reflecting the first ultrasonic signal after the first ultrasonic signal contacts the users; if the first ultrasonic signal does not meet the user in the transmitted directions, the audio receiving module is used for ignoring all reflected ultrasonic signals and controlling the audio playing module to resend the first signal until the met obstacle is the user, and controlling the audio receiving module to receive the second signal;
the processor is electrically connected with the audio playing module and the audio receiving module respectively, and the processor is used for:
acquiring the second signal;
Calculating a target distance between the electronic equipment and a user according to the first signal and the second signal;
And if the target distance is smaller than a preset distance threshold value, executing preset operation.
11. The electronic device of claim 10, further comprising a filtering module electrically coupled to the processor, the filtering module configured to filter the second signal;
The audio receiving module comprises an ultrasonic receiving sub-module, the ultrasonic receiving sub-module is used for receiving the second ultrasonic signal, and the processor is further used for:
And after the audio receiving module receives the second signal, controlling the filtering module to perform filtering processing on the second signal so as to extract the second ultrasonic signal received by the ultrasonic receiving submodule.
12. The electronic device of claim 10, wherein the audio playback module comprises an ultrasonic wave transmission sub-module for transmitting the first ultrasonic wave signal and a speaker sub-module for amplifying the first ultrasonic wave signal and the first audio signal, the processor further configured to:
controlling the ultrasonic wave transmitting submodule to transmit the first ultrasonic wave signal;
Controlling the speaker sub-module to amplify the first ultrasonic signal and the first audio signal to obtain the first signal;
And controlling the audio playing module to emit the first signal.
13. The electronic device of claim 11, wherein the audio playback module comprises an ultrasonic wave emitting sub-module, the electronic device further comprising a timer electrically connected to the processor, the audio playback module, and the audio receiving module, respectively, the processor further configured to:
when the ultrasonic wave transmitting submodule transmits the first ultrasonic wave signal, controlling the timer to start timing;
When the filtering module performs filtering processing to obtain the second ultrasonic signal, controlling the timer to stop timing and obtaining a target duration;
and calculating the target distance between the electronic equipment and the user according to the first ultrasonic signal, the second ultrasonic signal and the target duration.
14. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when run on a computer, causes the computer to execute the control method of the electronic device according to any one of claims 1 to 8.
CN202110903642.2A 2021-08-06 2021-08-06 Control method and control device for electronic equipment, electronic equipment and storage medium Active CN113656260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110903642.2A CN113656260B (en) 2021-08-06 2021-08-06 Control method and control device for electronic equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110903642.2A CN113656260B (en) 2021-08-06 2021-08-06 Control method and control device for electronic equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113656260A CN113656260A (en) 2021-11-16
CN113656260B true CN113656260B (en) 2024-04-19

Family

ID=78478562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110903642.2A Active CN113656260B (en) 2021-08-06 2021-08-06 Control method and control device for electronic equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113656260B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114364018B (en) * 2021-12-24 2023-10-13 盒马(中国)有限公司 Positioning method and device
CN115862306B (en) * 2022-10-21 2024-05-17 广州视声智能科技有限公司 Intelligent control equipment control method and device based on ultrasonic waves

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4843464A (en) * 1986-05-15 1989-06-27 Gold Star Co., Ltd. Device for automatic sensing of televiewing distance
CN103188463A (en) * 2011-12-31 2013-07-03 青岛海尔软件有限公司 Television anti-myopia warning system with ultrasonic distance measurement and warning method
CN105491311A (en) * 2014-09-18 2016-04-13 汕头市奥斯卡网络科技有限公司 Intelligent television myopia prevention device
CN206042248U (en) * 2016-09-21 2017-03-22 康佳集团股份有限公司 System based on ultrasonic ranging realizes control TV set
CN112188362A (en) * 2020-09-29 2021-01-05 歌尔科技有限公司 Playing method, device and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2560389A (en) * 2016-12-06 2018-09-12 Cirrus Logic Int Semiconductor Ltd Methods and apparatuses for driving audio and ultrasonics from the same transducer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4843464A (en) * 1986-05-15 1989-06-27 Gold Star Co., Ltd. Device for automatic sensing of televiewing distance
CN103188463A (en) * 2011-12-31 2013-07-03 青岛海尔软件有限公司 Television anti-myopia warning system with ultrasonic distance measurement and warning method
CN105491311A (en) * 2014-09-18 2016-04-13 汕头市奥斯卡网络科技有限公司 Intelligent television myopia prevention device
CN206042248U (en) * 2016-09-21 2017-03-22 康佳集团股份有限公司 System based on ultrasonic ranging realizes control TV set
CN112188362A (en) * 2020-09-29 2021-01-05 歌尔科技有限公司 Playing method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN113656260A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN113656260B (en) Control method and control device for electronic equipment, electronic equipment and storage medium
EP3373032B1 (en) Method and device for determining status of terminal, and terminal
WO2020019821A1 (en) Microphone hole-blockage detection method and related product
US9986358B2 (en) Sound apparatus, television receiver, speaker device, audio signal adjustment method, and recording medium
CN111107389B (en) Method, device and system for determining live broadcast watching time length
CN105959793A (en) Volume adjusting method and device
CN114245267B (en) Method and system for multi-device cooperative work and electronic device
CN110460721B (en) Starting method and device and mobile terminal
CN113596657A (en) Earphone in-ear detection method, terminal and computer readable storage medium
CN107684787B (en) Dust removal method and dust removal device for mobile terminal
CN111683329B (en) Microphone detection method, device, terminal and storage medium
US20110109809A1 (en) Electronic device and automatic turnoff method for the same
US20060256986A1 (en) Remote control system with a wireless earphone function and corresponding method
CN114390426A (en) Volume calibration method and device
CN111081283A (en) Music playing method and device, storage medium and terminal equipment
CN110782890A (en) Alarm clock reminding method, intelligent projector and related product
CN108319440B (en) Audio output method and mobile terminal
CN114125549A (en) Sound field sound effect control method, terminal and computer readable storage medium
US11395079B2 (en) Method and device for detecting audio input module, and storage medium
CN109218913B (en) Sound adjusting method, terminal equipment and device with storage function
CN105812972B (en) System and method for controlling handheld device by utilizing earphone
CN115623123B (en) Audio processing method and equipment
CN109144461A (en) Sounding control method, device, electronic device and computer-readable medium
CN109348021B (en) Mobile terminal and audio playing method
CN201409181Y (en) Television capable of controlling watching distance

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