CN111669681A - Control method and device of intelligent sound equipment and storage medium - Google Patents

Control method and device of intelligent sound equipment and storage medium Download PDF

Info

Publication number
CN111669681A
CN111669681A CN202010479358.2A CN202010479358A CN111669681A CN 111669681 A CN111669681 A CN 111669681A CN 202010479358 A CN202010479358 A CN 202010479358A CN 111669681 A CN111669681 A CN 111669681A
Authority
CN
China
Prior art keywords
target
distance
intelligent sound
target user
state
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
CN202010479358.2A
Other languages
Chinese (zh)
Other versions
CN111669681B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010479358.2A priority Critical patent/CN111669681B/en
Publication of CN111669681A publication Critical patent/CN111669681A/en
Application granted granted Critical
Publication of CN111669681B publication Critical patent/CN111669681B/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
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/06Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements

Abstract

The invention provides a control method, equipment and a storage medium of an intelligent sound, namely, the current signal intensity of a target wireless earphone corresponding to a target user is obtained, and the target distance between the target user and the intelligent sound is determined based on the current signal intensity; and when the target distance is not greater than a first distance threshold value, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode. According to the method and the device, the target distance between the target user and the intelligent sound box is determined based on the signal intensity of the target wireless earphone, and when the target distance between the target user and the intelligent sound box is detected to be very short, namely the target distance is not greater than a first distance threshold value, the intelligent sound box is controlled to exit a screen saver mode and enter a working mode, so that the user can conveniently perform related operations, the user experience is improved, meanwhile, the awakening error caused by abnormal awakening instructions is avoided, the awakening efficiency of the intelligent sound box is improved, and the technical problem that the awakening efficiency of the existing intelligent sound box awakening mode.

Description

Control method and device of intelligent sound equipment and storage medium
Technical Field
The invention relates to the technical field of Bluetooth communication, in particular to a control method and device of an intelligent sound box and a computer readable storage medium.
Background
With the development of science and technology and the improvement of the living standard of people, the intelligent sound box is increasingly popularized in the daily life of people. Especially, the intelligent sound box with the screen can provide other interactive functions while providing the music playing function. When the intelligent sound box with the screen normally works, a user can perform related operations on a standby interface of the intelligent sound box. If the intelligent sound does not receive the relevant user instruction within a period of time, the intelligent sound enters a screen saver mode or a sleep mode. If the user needs to use the intelligent sound box again, the intelligent sound box needs to be awakened manually or through voice. However, the voice wake-up sound needs to be based on a specific vocabulary, so that an erroneous operation is easily generated, and the manual wake-up sound increases user operations. Therefore, how to solve the problem of low awakening efficiency of the current intelligent sound awakening mode is a technical problem which needs to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a control method and equipment of an intelligent sound box and a computer readable storage medium, and aims to solve the technical problem that the awakening efficiency of the existing intelligent sound box awakening mode is low.
In order to achieve the above object, the present invention provides a method for controlling an intelligent sound system, comprising:
the method comprises the steps of obtaining the current signal intensity of a target wireless earphone corresponding to a target user, and determining the target distance between the target user and the intelligent sound equipment based on the current signal intensity;
and when the target distance is not greater than a first distance threshold value, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode so that the target user can conveniently perform related operations based on a display interface of the intelligent sound equipment.
Optionally, after the step of obtaining the current signal strength of the target wireless headset currently worn by the target user and determining the target distance between the target user and the smart sound device based on the current signal strength, the method further includes:
when the target distance is greater than the first distance threshold, judging whether the target distance is not greater than a second distance threshold, wherein the first distance threshold is smaller than the second distance threshold;
when the target distance is not larger than the second distance threshold, judging whether the current moving state of the target user is an approaching state or not based on the target distance;
and when the current moving state is the approaching state, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode so that the target user can conveniently perform related operations based on a display interface of the intelligent sound equipment.
Optionally, when the target distance is not greater than the second distance threshold, the step of determining whether the current moving state of the target user is a close state based on the target distance specifically includes:
when the target distance is not greater than the second distance threshold, acquiring a historical distance corresponding to the target user from pre-stored historical data;
and judging whether the current moving state is the approaching state or not based on the target distance and the historical distance.
Optionally, after the step of determining whether the current moving state is the approaching state based on the target distance and the historical distance, the method further includes:
and sequencing the historical distance and the target distance according to the sequence of distance detection time, and determining that the current moving state is the approaching state when the sequenced distance value is in a descending state.
Optionally, after the step of obtaining the current signal strength of the target wireless headset corresponding to the target user and determining the target distance between the target user and the smart sound based on the current signal strength, the method further includes:
when the target distance is larger than a second distance threshold, judging whether the current moving state of the target user is a far state or not based on the target distance;
and when the current moving state is a far state, controlling the intelligent sound equipment to be switched from the working mode to the screen saver mode so as to reduce the power consumption of the intelligent sound equipment.
Optionally, if the target distance is greater than a second distance threshold, the step of determining whether the current moving state of the target user is a far state based on the target distance specifically includes:
if the target distance is greater than a second distance threshold, acquiring a historical distance corresponding to the target user from pre-stored historical data, and sequencing the historical distance and the target distance according to the distance detection time sequence;
and judging whether the current moving state of the target user is a far state or not based on the change state of the sorted distance values.
Optionally, before the step of obtaining the current signal strength of the target wireless headset corresponding to the target user and determining the target distance between the target user and the smart sound device based on the current signal strength, the method further includes:
when a connection instruction triggered by user operation is received, acquiring a wireless earphone in the connection instruction as the target wireless earphone;
and establishing wireless connection between the target wireless earphone and the intelligent sound equipment, so that the intelligent sound equipment can acquire the signal intensity of the target wireless earphone based on the wireless connection.
Optionally, the step of obtaining the current signal strength of the target wireless headset corresponding to the target user, and determining the target distance between the target user and the smart sound device based on the current signal strength specifically includes:
acquiring the current signal intensity of the target wireless earphone, and calculating a preset conversion formula and the current signal intensity to calculate the target distance, wherein the conversion formula is as follows:
d ^ 10^ ((abs (RSSI) -A)/(10 x n)), where d is the target distance, RSSI is the signal strength value, abs () is a function of the absolute value, A is the signal strength of the smart audio and the target wireless headset one meter away, and n is the ambient attenuation factor.
In addition, in order to achieve the above object, the present invention further provides a control device of a smart sound, including a processor, a memory, and a control program of the smart sound stored on the memory and executable by the processor, wherein the control program of the smart sound, when executed by the processor, implements the steps of the control method of the smart sound as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having a control program of the smart sound stored thereon, wherein the control program of the smart sound, when executed by a processor, implements the steps of the control method of the smart sound as described above.
The invention provides a control method of an intelligent sound, which comprises the steps of obtaining the current signal intensity of a target wireless earphone corresponding to a target user, and determining the target distance between the target user and the intelligent sound based on the current signal intensity; and when the target distance is not greater than a first distance threshold value, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode so that the target user can conveniently perform related operations based on a display interface of the intelligent sound equipment. Through the mode, the target distance between the target user and the intelligent sound box is determined based on the signal intensity of the target wireless earphone, and when the target distance between the target user and the intelligent sound box is detected to be very close, namely the target distance is not greater than the first distance threshold, the intelligent sound box is controlled to exit the screen saver mode and enter the working mode, so that the user can conveniently perform related operations, the user experience is improved, meanwhile, the awakening error caused by the abnormal awakening instruction is avoided, the awakening efficiency of the intelligent sound box is improved, and the technical problem that the awakening efficiency of the existing intelligent sound box awakening mode is low is solved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a control device of an intelligent sound system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a control method of an intelligent sound system according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a control method of an intelligent sound system according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a control method for an intelligent audio according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The control method of the intelligent sound equipment related to the embodiment of the invention is mainly applied to the control equipment of the intelligent sound equipment, and the control equipment of the intelligent sound equipment can be equipment with display and processing functions, such as a PC, a portable computer, a mobile terminal and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a control device of an intelligent sound system according to an embodiment of the present invention. In this embodiment of the present invention, the control device of the smart audio may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the control device of the smart audio, and may include more or less components than those shown, or combine some components, or a different arrangement of components.
With continued reference to fig. 1, a memory 1005, which is one type of computer-readable storage medium in fig. 1, may include an operating system, a network communication module, and a control program of the smart audio.
In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; the processor 1001 may call the control program of the smart audio stored in the memory 1005 and execute the control method of the smart audio according to the embodiment of the present invention.
The embodiment of the invention provides a control method of an intelligent sound box.
Referring to fig. 2, fig. 2 is a flowchart illustrating a control method of an intelligent sound system according to a first embodiment of the present invention.
In this embodiment, the control method of the smart audio includes the following steps:
step S10, obtaining the current signal intensity of a target wireless earphone corresponding to a target user, and determining the target distance between the target user and the intelligent sound equipment based on the current signal intensity;
if the intelligent sound does not receive the relevant user instruction within a period of time, the intelligent sound enters a screen saver mode or a sleep mode. If the user needs to use the intelligent sound box again, the intelligent sound box needs to be awakened manually or through voice. However, the voice wake-up sound needs to be based on a specific vocabulary, so that an erroneous operation is easily generated, and the manual wake-up sound increases user operations. In order to solve the above problem, the present embodiment determines the target distance between the target user and the intelligent sound device based on the signal strength of the target wireless headset, and when it is detected that the target distance between the target user and the intelligent sound device is very close, that is, the target distance is not greater than the first distance threshold, controls the intelligent sound device to exit the screen saver mode, and enters the working mode, so that the user can perform related operations, thereby improving the user experience, avoiding the wakeup error caused by the abnormal wakeup instruction, and improving the wakeup efficiency of the intelligent sound device. Specifically, the current signal strength RSSI of the target wireless headset for identifying the target user's location may be obtained through an intelligent sound control program installed in the intelligent sound. And then converting the current RSSI into distance data to be used as the target distance between the target user and the intelligent sound box. Thus, when the target distance is determined to be smaller than a certain set value, it indicates that the user wants to perform an operation close to the smart audio. In this embodiment, a target bluetooth headset is used as a target wireless headset.
Before step S10, the method further includes:
when a connection instruction triggered by user operation is received, acquiring a wireless earphone in the connection instruction as the target wireless earphone;
and establishing wireless connection between the target wireless earphone and the intelligent sound equipment, so that the intelligent sound equipment can acquire the signal intensity of the target wireless earphone based on the wireless connection.
In this embodiment, there are two ways to obtain the RSSI of the target bluetooth headset:
1) the RSSI of the target bluetooth headset is determined by searching for nearby bluetooth devices, i.e., for situations where no wireless connection (e.g., bluetooth connection) is established between the devices.
2) And sending a signal strength acquisition instruction to the target Bluetooth headset through Bluetooth connection to acquire the RSSI of the target Bluetooth headset, namely the RSSI is suitable for the condition that wireless connection is established between the devices.
Specifically, the target user can carry out bluetooth connection with own bluetooth headset and intelligent stereo set in advance to the intelligence stereo set confirms self position based on bluetooth headset that the bluetooth is connected, in order to carry out the control process of relative intelligent stereo set. When a connection instruction triggered by user setting operation is received, a target Bluetooth earphone is determined based on the connection instruction, and Bluetooth pairing connection is carried out on the target Bluetooth earphone and the intelligent sound equipment, so that the intelligent sound equipment can acquire the signal intensity of the target wireless earphone based on the Bluetooth connection. In a specific embodiment, under the condition that the user does not connect the bluetooth headset in advance, the smart sound box exits the screen saver mode and wakes up the smart sound box when detecting that the bluetooth headset which is not more than the first distance threshold from the smart sound box exists by searching the RSSI of the nearby bluetooth devices.
Wherein, the step S10 specifically includes:
acquiring the current signal intensity of the target wireless earphone, and calculating a preset conversion formula and the current signal intensity to calculate the target distance, wherein the conversion formula is as follows:
d ^ 10^ ((abs (RSSI) -A)/(10 x n)), where d is the target distance, RSSI is the signal strength value, abs () is a function of the absolute value, A is the signal strength of the smart audio and the target wireless headset one meter away, and n is the ambient attenuation factor.
In the present embodiment, the unit of RSSI is dBm, which is generally a negative value, and reflects the degree of attenuation of a signal, and ideally, the RSSI is 0dBm without attenuation, but in practice, even if a bluetooth device is very close, the RSSI has only a strength of-50 dBm, and in the transmission process, attenuation exists, and different RSSI values can be obtained, and a relative distance can be calculated according to a conversion formula. Wherein the conversion formula is as follows: d ^ 10^ ((abs (RSSI) -A)/(10 x n)), where d is the target distance, RSSI is the signal strength value, abs () is a function of the absolute value, A is the signal strength of the smart audio and the target wireless headset one meter away, and n is the ambient attenuation factor. Because the environment is different, the corresponding parameter value of bluetooth equipment is different, therefore different bluetooth headset are connected to intelligent stereo set, and every parameter in the formula needs to do the calibration according to actual demand to confirm the environmental attenuation factor.
And step S20, when the target distance is not greater than the first distance threshold, controlling the intelligent sound box to be switched from a screen saver mode to a working mode so that the target user can perform related operations based on the display interface of the intelligent sound box.
In this embodiment, when it is determined that the converted target distance is not greater than the first distance threshold, that is, the distance between the target user and the intelligent sound device is very close, the intelligent sound device is awakened, a screen saver mode is released, that is, the intelligent sound device is controlled to be switched from the screen saver mode to a working mode, so that the target user performs related operations based on the display interface of the intelligent sound device. The first distance threshold value can be set according to actual needs.
The embodiment provides a control method of an intelligent sound device, which includes the steps of obtaining current signal intensity of a target wireless earphone corresponding to a target user, and determining a target distance between the target user and the intelligent sound device based on the current signal intensity; and when the target distance is not greater than a first distance threshold value, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode so that the target user can conveniently perform related operations based on a display interface of the intelligent sound equipment. Through the mode, the target distance between the target user and the intelligent sound box is determined based on the signal intensity of the target wireless earphone, and when the target distance between the target user and the intelligent sound box is detected to be very close, namely the target distance is not greater than the first distance threshold, the intelligent sound box is controlled to exit the screen saver mode and enter the working mode, so that the user can conveniently perform related operations, the user experience is improved, meanwhile, the awakening error caused by the abnormal awakening instruction is avoided, the awakening efficiency of the intelligent sound box is improved, and the technical problem that the awakening efficiency of the existing intelligent sound box awakening mode is low is solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a control method of an intelligent sound system according to a second embodiment of the present invention.
Based on the foregoing embodiment shown in fig. 2, in this embodiment, after step S10, the method further includes:
step S30, when the target distance is greater than the first distance threshold, determining whether the target distance is not greater than a second distance threshold, where the first distance threshold is smaller than the second distance threshold;
step S40, when the target distance is not greater than the second distance threshold, determining whether the current movement state of the target user is an approaching state based on the target distance;
when the target distance is not greater than the second distance threshold, the step of determining whether the current moving state of the target user is a close state based on the target distance specifically includes:
when the target distance is not greater than the second distance threshold, acquiring a historical distance corresponding to the target user from pre-stored historical data;
and judging whether the current moving state is the approaching state or not based on the target distance and the historical distance.
And sequencing the historical distance and the target distance according to the sequence of distance detection time, and determining that the current moving state is the approaching state when the sequenced distance value is in a descending state.
And step S50, when the current movement state is the approaching state, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode so that the target user can conveniently perform related operations based on the display interface of the intelligent sound equipment.
In this embodiment, in order to further improve the control accuracy of the smart audio, when it is determined that the target distance is greater than the first distance threshold, that is, the distance between the target user and the smart audio is not very close to each other, it is further determined whether the target distance is not greater than a second distance threshold. And when the target distance is not greater than the second distance threshold, namely the target user is close to the intelligent sound box, further combining the current movement state of the target user to determine whether to wake up the screen of the intelligent sound box. The first distance threshold is smaller than the second distance threshold, and the second distance threshold can be set according to actual needs. Specifically, the process of determining the current moving state of the target user is as follows: and acquiring historical data prestored in a database or a cache, wherein the historical data is obtained by carrying out signal intensity detection on the target Bluetooth headset based on each signal intensity detection period and converting the signal intensity detection to obtain corresponding historical distance data. The distance of the target Bluetooth headset is detected every 3 seconds within 1 minute of 9:00-9:01, and the detection time and the distance data are stored in an associated mode to serve as historical data. And sequencing according to the sequence of the distance detection time, such as the distances corresponding to 3 seconds, 6 seconds, 9 seconds and the like of 1 minute. And when the sorted distance values are determined to be in a descending state, the descending state is mainly presented as a whole, namely the target user is determined to be approaching to the intelligent sound gradually, namely the current moving state of the target user is determined to be the approaching state. Namely, the target user is closer to the intelligent sound box, and the target user is approaching the intelligent sound box gradually, so that the intelligent sound box can be controlled to be switched from a screen saver mode to a working mode, and the target user can perform related operations based on the display interface of the intelligent sound box.
Referring to fig. 4, fig. 4 is a flowchart illustrating a control method for an intelligent sound system according to a third embodiment of the present invention.
Based on the foregoing embodiment shown in fig. 3, in this embodiment, after step S10, the method further includes:
step S60, when the target distance is greater than a second distance threshold, determining whether the current moving state of the target user is a distant state based on the target distance;
wherein, if the target distance is greater than a second distance threshold, the step of determining whether the current moving state of the target user is a far state based on the target distance specifically includes:
if the target distance is greater than a second distance threshold, acquiring a historical distance corresponding to the target user from pre-stored historical data, and sequencing the historical distance and the target distance according to the distance detection time sequence;
and judging whether the current moving state of the target user is a far state or not based on the change state of the sorted distance values.
And step S70, when the current movement state is a far-away state, controlling the intelligent sound equipment to be switched from the working mode to the screen saver mode so as to reduce the power consumption of the intelligent sound equipment.
In this embodiment, in order to reduce power consumption of the smart audio, when it is detected that the target user is far away from the smart audio, the smart audio is controlled to be switched from the working mode to the screen saver mode. When the target distance between the target user and the intelligent sound box is larger than a second distance threshold value, namely the target user is far away from the intelligent sound box, the current moving state of the target user is further obtained. And when the current moving state of the target user is far away, controlling the intelligent sound equipment to enter a low power consumption mode, such as a screen saver mode. Specifically, the process of determining the current moving state of the target user is as follows: and acquiring historical data prestored in a database or a cache, wherein the historical data is obtained by carrying out signal intensity detection on the target Bluetooth headset based on each signal intensity detection period and converting the signal intensity detection to obtain corresponding historical distance data. The distance of the target Bluetooth headset is detected every 3 seconds within 1 minute of 9:00-9:01, and the detection time and the distance data are stored in an associated mode to serve as historical data. And sequencing according to the sequence of the distance detection time, such as the distances corresponding to 3 seconds, 6 seconds, 9 seconds and the like of 1 minute. And when the sorted distance values are determined to be in the increasing state, the increasing state is mainly displayed on the whole, namely the target user is determined to be away from the intelligent sound box gradually, namely the current moving state of the target user is determined to be the away state. And controlling the intelligent sound to be switched from the working mode to the screen saver mode so as to reduce the power consumption of the intelligent sound. In a specific embodiment, when it is detected that the target distance between the target user and the smart audio is greater than a third distance threshold, the smart audio may be directly controlled to be switched from the working mode to the screen saver mode, so as to reduce power consumption of the smart audio. The third distance threshold is greater than the second distance threshold, and the third distance threshold can be set according to actual needs.
In further embodiments, to reduce false positives, the first distance threshold, the second distance threshold, and the third distance threshold may be determined through a number of experiments. The RSSI can be read repeatedly by reducing the time interval of the RSSI in a circulating manner, and the RSSI is compared with a set distance threshold value, so that the distance values measured repeatedly are smaller than the threshold value.
In addition, the embodiment of the invention also provides a control device of the intelligent sound box.
In this embodiment, the control device for the smart audio includes:
the distance determining module is used for acquiring the current signal intensity of a target wireless earphone corresponding to a target user and determining the target distance between the target user and the intelligent sound equipment based on the current signal intensity;
and the sound awakening module is used for controlling the intelligent sound to be switched into a working mode from a screen saver mode when the target distance is not greater than a first distance threshold value, so that the target user can conveniently perform related operations based on a display interface of the intelligent sound.
Further, the control device of the smart audio further includes:
the minimum distance judging module is used for judging whether the target distance is not greater than a second distance threshold value when the target distance is greater than the first distance threshold value, wherein the first distance threshold value is smaller than the second distance threshold value;
the approaching state judging module is used for judging whether the current moving state of the target user is an approaching state or not based on the target distance when the target distance is not larger than the second distance threshold;
and the approaching sound box awakening module is used for controlling the intelligent sound box to be switched into a working mode from a screen saver mode when the current moving state is the approaching state, so that the target user can conveniently perform related operations based on the display interface of the intelligent sound box.
Further, the approach state determination module specifically includes:
the historical distance acquiring unit is used for acquiring the historical distance corresponding to the target user from pre-stored historical data when the target distance is not greater than the second distance threshold;
and the approaching state judging unit is used for judging whether the current moving state is the approaching state or not based on the target distance and the historical distance.
Further, the approach state determination module specifically further includes:
and the distance sorting judgment unit is used for sorting the historical distance and the target distance according to the distance detection time sequence, and determining that the current moving state is the approaching state when the sorted distance value is in a descending state.
Further, the control device of the smart audio further includes:
a far-away state judgment module, configured to judge whether the current moving state of the target user is a far-away state based on the target distance when the target distance is greater than a second distance threshold;
and the screen saver mode conversion module is used for controlling the intelligent sound equipment to be switched from the working mode to the screen saver mode when the current moving state is the far-away state so as to reduce the power consumption of the intelligent sound equipment.
Further, the remote status determining module specifically includes:
the distance obtaining and sorting unit is used for obtaining the historical distance corresponding to the target user from prestored historical data when the target distance is greater than a second distance threshold value, and sorting the historical distance and the target distance according to the sequence of distance detection time;
and the far-away state judging unit is used for judging whether the current moving state of the target user is a far-away state or not based on the change state of the sorted distance values.
Further, the control device of the smart sound further comprises a target earphone determination module, configured to:
when a connection instruction triggered by user operation is received, acquiring a wireless earphone in the connection instruction as the target wireless earphone;
and establishing wireless connection between the target wireless earphone and the intelligent sound equipment, so that the intelligent sound equipment can acquire the signal intensity of the target wireless earphone based on the wireless connection.
Further, the distance determining module specifically includes a distance calculating unit, configured to:
acquiring the current signal intensity of the target wireless earphone, and calculating a preset conversion formula and the current signal intensity to calculate the target distance, wherein the conversion formula is as follows:
d ^ 10^ ((abs (RSSI) -A)/(10 x n)), where d is the target distance, RSSI is the signal strength value, abs () is a function of the absolute value, A is the signal strength of the smart audio and the target wireless headset one meter away, and n is the ambient attenuation factor.
Each module in the control device of the intelligent sound equipment corresponds to each step in the control method embodiment of the intelligent sound equipment, and the functions and the implementation process of the control device of the intelligent sound equipment are not described in detail herein.
In addition, the embodiment of the invention also provides control equipment of the intelligent sound equipment.
The control device of the intelligent sound comprises a processor, a memory and a control program of the intelligent sound stored on the memory and capable of being executed by the processor, wherein when the control program of the intelligent sound is executed by the processor, the steps of the control method of the intelligent sound are realized.
The method for implementing the control program of the intelligent sound system when executed may refer to each embodiment of the control method of the intelligent sound system of the present invention, and will not be described herein again.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a control program of the smart audio, wherein the control program of the smart audio, when executed by the processor, implements the steps of the control method of the smart audio as described above.
The method for implementing the control program of the intelligent sound system when executed may refer to each embodiment of the control method of the intelligent sound system of the present invention, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A control method of an intelligent sound box is characterized by comprising the following steps:
the method comprises the steps of obtaining the current signal intensity of a target wireless earphone corresponding to a target user, and determining the target distance between the target user and the intelligent sound equipment based on the current signal intensity;
and when the target distance is not greater than a first distance threshold value, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode so that the target user can conveniently perform related operations based on a display interface of the intelligent sound equipment.
2. The method of claim 1, wherein after the step of obtaining a current signal strength of a target wireless headset currently worn by a target user and determining a target distance between the target user and the smart sound based on the current signal strength, the method further comprises:
when the target distance is greater than the first distance threshold, judging whether the target distance is not greater than a second distance threshold, wherein the first distance threshold is smaller than the second distance threshold;
when the target distance is not larger than the second distance threshold, judging whether the current moving state of the target user is an approaching state or not based on the target distance;
and when the current moving state is the approaching state, controlling the intelligent sound equipment to be switched from a screen saver mode to a working mode so that the target user can conveniently perform related operations based on a display interface of the intelligent sound equipment.
3. The method for controlling a smart sound according to claim 2, wherein the step of determining whether the current movement state of the target user is the approaching state based on the target distance when the target distance is not greater than the second distance threshold specifically comprises:
when the target distance is not greater than the second distance threshold, acquiring a historical distance corresponding to the target user from pre-stored historical data;
and judging whether the current moving state is the approaching state or not based on the target distance and the historical distance.
4. The method for controlling a smart sound according to claim 3, wherein after the step of determining whether the current movement state is the approaching state based on the target distance and the historical distance, the method further comprises:
and sequencing the historical distance and the target distance according to the sequence of distance detection time, and determining that the current moving state is the approaching state when the sequenced distance value is in a descending state.
5. The method for controlling a smart sound according to claim 2, wherein after the step of obtaining the current signal strength of the target wireless earphone corresponding to the target user and determining the target distance between the target user and the smart sound based on the current signal strength, the method further comprises:
when the target distance is larger than a second distance threshold, judging whether the current moving state of the target user is a far state or not based on the target distance;
and when the current moving state is a far state, controlling the intelligent sound equipment to be switched from the working mode to the screen saver mode so as to reduce the power consumption of the intelligent sound equipment.
6. The method as claimed in claim 5, wherein the step of determining whether the current movement state of the target user is a distant state based on the target distance when the target distance is greater than a second distance threshold specifically comprises:
if the target distance is greater than a second distance threshold, acquiring a historical distance corresponding to the target user from pre-stored historical data, and sequencing the historical distance and the target distance according to the distance detection time sequence;
and judging whether the current moving state of the target user is a far state or not based on the change state of the sorted distance values.
7. The method for controlling a smart sound according to claim 1, wherein the step of obtaining a current signal strength of a target wireless headset corresponding to a target user and determining a target distance between the target user and the smart sound based on the current signal strength further comprises:
when a connection instruction triggered by user operation is received, acquiring a wireless earphone in the connection instruction as the target wireless earphone;
and establishing wireless connection between the target wireless earphone and the intelligent sound equipment, so that the intelligent sound equipment can acquire the signal intensity of the target wireless earphone based on the wireless connection.
8. The method as claimed in any one of claims 1 to 7, wherein the step of obtaining a current signal strength of a target wireless earphone corresponding to a target user and determining a target distance between the target user and the smart sound based on the current signal strength specifically comprises:
acquiring the current signal intensity of the target wireless earphone, and calculating a preset conversion formula and the current signal intensity to calculate the target distance, wherein the conversion formula is as follows:
d ^ 10^ ((abs (RSSI) -A)/(10 x n)), where d is the target distance, RSSI is the signal strength value, abs () is a function of the absolute value, A is the signal strength of the smart audio and the target wireless headset one meter away, and n is the ambient attenuation factor.
9. A control apparatus for a smart sound, comprising a processor, a memory, and a control program for the smart sound stored on the memory and executable by the processor, wherein the control program for the smart sound, when executed by the processor, implements the steps of the control method for the smart sound according to any one of claims 1 to 8.
10. A computer-readable storage medium, having a control program of a smart sound stored thereon, wherein the control program of the smart sound, when executed by a processor, implements the steps of the control method of the smart sound according to any one of claims 1 to 8.
CN202010479358.2A 2020-05-29 2020-05-29 Control method and device of intelligent sound equipment and storage medium Active CN111669681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479358.2A CN111669681B (en) 2020-05-29 2020-05-29 Control method and device of intelligent sound equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479358.2A CN111669681B (en) 2020-05-29 2020-05-29 Control method and device of intelligent sound equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111669681A true CN111669681A (en) 2020-09-15
CN111669681B CN111669681B (en) 2021-09-17

Family

ID=72385252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479358.2A Active CN111669681B (en) 2020-05-29 2020-05-29 Control method and device of intelligent sound equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111669681B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325404A (en) * 2021-05-26 2021-08-31 Oppo广东移动通信有限公司 Method and device for measuring equipment distance and electronic equipment
CN115240296A (en) * 2022-05-10 2022-10-25 深圳绿米联创科技有限公司 Equipment awakening method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257732A (en) * 2018-09-30 2019-01-22 Oppo广东移动通信有限公司 Apparatus control method, device and electronic equipment
CN109696833A (en) * 2018-12-19 2019-04-30 歌尔股份有限公司 A kind of intelligent home furnishing control method, wearable device and sound-box device
KR20190047559A (en) * 2017-10-27 2019-05-08 주식회사 비즈모델라인 System and Method for Providing OTP by using Bluetooth Earphone Device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190047559A (en) * 2017-10-27 2019-05-08 주식회사 비즈모델라인 System and Method for Providing OTP by using Bluetooth Earphone Device
CN109257732A (en) * 2018-09-30 2019-01-22 Oppo广东移动通信有限公司 Apparatus control method, device and electronic equipment
CN109696833A (en) * 2018-12-19 2019-04-30 歌尔股份有限公司 A kind of intelligent home furnishing control method, wearable device and sound-box device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325404A (en) * 2021-05-26 2021-08-31 Oppo广东移动通信有限公司 Method and device for measuring equipment distance and electronic equipment
WO2022247390A1 (en) * 2021-05-26 2022-12-01 Oppo广东移动通信有限公司 Method and apparatus for measuring device distance, electronic device, and readable storage medium
CN115240296A (en) * 2022-05-10 2022-10-25 深圳绿米联创科技有限公司 Equipment awakening method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111669681B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN106847298B (en) Pickup method and device based on diffuse type voice interaction
CN104580699B (en) Acoustic control intelligent terminal method and device when a kind of standby
CN109672775B (en) Method, device and terminal for adjusting awakening sensitivity
CN111669681B (en) Control method and device of intelligent sound equipment and storage medium
CN107888765B (en) Method for switching scene mode and mobile terminal
CN106371326B (en) Storage method and device for equipment working scene
CN111880855A (en) Equipment control method and distributed voice system
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
CN108108090B (en) Communication message reminding method and device
CN111405114A (en) Method and device for automatically adjusting volume, storage medium and terminal
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN107526522B (en) Black screen gesture recognition method and device, mobile terminal and storage medium
CN115985323B (en) Voice wakeup method and device, electronic equipment and readable storage medium
CN109348425B (en) Positioning information updating method, device, equipment and storage medium
CN107770386B (en) Alarm clock setting method, mobile terminal and computer readable storage medium
CN110958352A (en) Network signal display method, device, storage medium and mobile terminal
CN112394346B (en) Distance measurement method and device and terminal equipment
CN109507902A (en) A kind of information intelligent method for pushing based on smart home device
CN111880988B (en) Voiceprint wake-up log collection method and device
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN108702410B (en) Contextual model control method and mobile terminal
CN111897916B (en) Voice instruction recognition method, device, terminal equipment and storage medium
CN114707793A (en) Emergency plan generation method and device, storage medium and electronic equipment
CN111309223B (en) Application function starting method and device, storage medium and mobile terminal
CN209562638U (en) A kind of ultrasound wake-up module and ultrasonic wake-up microphone system

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