An audio playing control method and device, a smart speaker and a storage medium
Smart speakers using NB-IoT communication modules can determine the presence of target objects based on environmental information, enabling energy-efficient playback, solving the problems of speaker resource waste and noise pollution, and extending the speaker's lifespan.
Patent Information
- Application Number
- CN202310146320.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2043-02-20
AI Technical Summary
Existing speakers sound or continuously play reminder messages when no one is passing by, resulting in wasted resources and noise pollution, and have a short lifespan.
The smart speaker using the NB-IoT communication module can determine the presence of a target object by collecting environmental information. If the target object is found, it can interact with the remote control terminal through the NB-IoT module to obtain downlink data and perform audio playback operations.
It reduces speaker energy consumption, extends speaker lifespan, and reduces noise pollution.
Smart Images

Figure CN116233692B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of wireless communication technology, in particular to an audio playing control method and device, an intelligent sound box and a storage medium. BACKGROUND
[0002] With the development of economic society, people's pursuit of spiritual life is constantly improving, and various scenic spots and parks have become the choice of relaxing the mind. Generally, sound boxes will be set up in general scenic spots for daily song playing or message notification, but the sound box will be empty when no one passes by, which not only wastes resources but also causes noise pollution. At the same time, the sound box in some dangerous places (such as the water side) always plays a reminder message, which will also cause waste of electric energy and short service life of the sound box.
[0003] Therefore, how to reduce the energy consumption of the sound box and improve the service life of the sound box is a technical problem to be solved by those skilled in the art at present. SUMMARY
[0004] The purpose of the present application is to provide an audio playing control method, an audio playing control device, an intelligent sound box and a storage medium, which can reduce the energy consumption of the sound box and improve the service life of the sound box.
[0005] To solve the above technical problems, the present application provides an audio playing control method applied to an intelligent sound box provided with an NB-IOT communication module, comprising:
[0006] Collecting environmental information of the position of the intelligent sound box, and determining whether there is a target detection object in a preset area according to the environmental information;
[0007] If the target detection object exists, sending uplink data to a remote control terminal through the NB-IOT communication module;
[0008] Receiving downlink data returned by the remote control terminal through the NB-IOT communication module, and executing an audio playing operation according to the downlink data.
[0009] Optionally, collecting environmental information of the position of the intelligent sound box, and determining whether there is a target detection object in a preset area according to the environmental information, comprises:
[0010] Collecting environmental information of the position of the intelligent sound box by using an infrared sensing device and a microphone; wherein the environmental information comprises environmental infrared sensing information and environmental sound information;
[0011] Determining first position information of a moving object in the environment according to the environmental infrared sensing information;
[0012] Determining second position information of an environmental sound source according to the environmental sound information;
[0013] determining whether the deviation value of the first position information and the second position information is less than a preset value;
[0014] if yes, determining that the target detection object exists in the preset area;
[0015] if no, determining that the target detection object does not exist in the preset area.
[0016] Optionally, before the audio playing operation is performed according to the downlink data, the method further comprises:
[0017] determining position information of the target detection object according to the first position information and the second position information;
[0018] adjusting a speaker orientation of the smart speaker according to the position information of the target detection object.
[0019] Optionally, before the uplink data is sent to the remote control terminal through the NB-IOT communication module, the method further comprises:
[0020] switching a current working state of the NB-IOT communication module from an idle state or an energy saving mode to a connected state.
[0021] Optionally, before the environmental information of the position where the smart speaker is located is collected, the method further comprises:
[0022] determining a current working state of the NB-IOT communication module;
[0023] if the NB-IOT communication module is in the idle state or the energy saving mode, collecting the environmental information of the position where the smart speaker is located;
[0024] if the NB-IOT communication module is in the connected state, continuing to play the audio data transmitted by the remote control terminal.
[0025] Optionally, after the uplink data is sent to the remote control terminal through the NB-IOT communication module, the method further comprises:
[0026] determining whether the downlink data returned by the remote control terminal is received within a preset time;
[0027] if no, switching the current working state of the NB-IOT communication module from the connected state to the idle state.
[0028] Optionally, the smart speaker further comprises a solar power supply module;
[0029] Correspondingly, the audio playing operation performed according to the downlink data comprises:
[0030] determining a current remaining power and a current charging rate of the solar power supply module;
[0031] determining a target playing volume according to the current remaining power and the current charging rate; wherein the current remaining power is related to the target playing volume, and the current charging rate is related to the target playing volume;
[0032] performing an audio playing operation according to the downlink data at the target playing volume.
[0033] The application further provides an audio playing control device applied to a smart speaker provided with an NB-IOT communication module, comprising:
[0034] a detection module, configured to collect environmental information of a position where the smart speaker is located, and determine whether a target detection object exists in a preset area according to the environmental information;
[0035] a data uploading module, configured to send uplink data to a remote control end through the NB-IOT communication module if the target detection object exists;
[0036] a data receiving module, configured to receive downlink data returned by the remote control end through the NB-IOT communication module;
[0037] a playing control module, configured to perform an audio playing operation according to the downlink data.
[0038] The application further provides a storage medium having a computer program stored thereon, wherein the computer program is executed to realize steps performed by the audio playing control method.
[0039] The application further provides a smart speaker comprising an NB-IOT communication module, a memory and a processor, wherein the memory has a computer program stored therein, and the processor realizes steps performed by the audio playing control method when the computer program in the memory is invoked.
[0040] The application provides an audio playing control method applied to a smart speaker provided with an NB-IOT communication module, comprising: collecting environmental information of a position where the smart speaker is located, and determining whether a target detection object exists in a preset area according to the environmental information; sending uplink data to a remote control end through the NB-IOT communication module if the target detection object exists; receiving downlink data returned by the remote control end through the NB-IOT communication module, and performing an audio playing operation according to the downlink data.
[0041] The application collects environmental information of the location where the smart sound box is located, and then determines whether there is a target detection object based on the environmental information, so as to execute an audio playing operation when the detection object exists. Specifically, when it is determined that the target detection object exists, the smart sound box sends uplink data to the remote control terminal through the NB-IOT communication module, so that the remote control terminal returns downlink data. The smart sound box receives the downlink data through the NB-IOT communication module, and then executes a corresponding audio playing operation based on the downlink data. The smart sound box in the application can obtain the downlink data and execute the audio playing operation through the interaction with the remote control terminal when the target detection object exists in the preset area. The above process takes whether the target detection object exists in the current environment as the basis for audio playing, so that the application can reduce the energy consumption of the sound box and improve the service life of the sound box. The application also provides an audio playing control device, a smart sound box and a storage medium, which have the above beneficial effects, and will not be described here. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the application, the drawings needed in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0043] Figure 1 A flow chart of an audio playing control method provided by an embodiment of the application;
[0044] Figure 2 A schematic diagram of a communication control system provided by an embodiment of the application;
[0045] Figure 3 A structural level schematic diagram of a smart sound box provided by an embodiment of the application;
[0046] Figure 4 A flow chart of a control method of a wireless communication sensing smart sound box provided by an embodiment of the application;
[0047] Figure 5 A structural schematic diagram of an audio playing control device provided by an embodiment of the application. DETAILED DESCRIPTION
[0048] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0049] Please see the following Figure 1 , Figure 1 A flowchart of an audio playing control method provided by the embodiments of the present application.
[0050] The specific steps can include:
[0051] S101: Collecting environment information of a location where the smart speaker is located, and determining whether a target detection object exists in a preset area according to the environment information;
[0052] In the embodiments of the present application, the smart speaker provided can be provided with an NB-IOT communication module, and the smart speaker can further include a main chip, an audio playing module and a power module.
[0053] The smart speaker can collect environment information of a current location, and then determine whether a target detection object exists in a preset area according to the environment information. The environment information can include image information, sound information, etc., and the target detection object can be a human, an animal, a vehicle, etc., which is not limited specifically. Further, if the environment information includes information corresponding to the target detection object, it can be determined that the target detection object exists in the preset area. The preset area is an area within a preset distance from the smart speaker.
[0054] Specifically, if the target detection object exists in the preset area, the smart speaker can perform the operations of S102 and S103; if the target detection object does not exist in the preset area, the smart speaker can stop the current audio playing operation or keep the current standby state, and the smart speaker does not play audio in the standby state.
[0055] S102: If the target detection object exists, sending uplink data to a remote control terminal through the NB-IOT communication module;
[0056] Wherein, the step is based on the presence of the target detection object in the preset area, at this time, the NB-IOT communication module can be used to send uplink data to the remote control terminal. NB-IOT (Narrow Band Internet of Things, NB-IOT) is a new technology in the IOT field, which supports low-power devices in the cellular data connection of the wide area network, also known as low-power wide-area network (LPWAN). NB-IOT has four characteristics: first, wide coverage, which provides improved indoor coverage. In the same frequency band, NB-IOT has a gain of 20dB over the existing network, which is equivalent to increasing the coverage area by 100 times. Second, it has the ability to support connections. NB-IOT can support 100,000 connections per sector, support low latency sensitivity, ultra-low device cost, low device power consumption, and optimized network architecture. Third, lower power consumption. The standby time of the NB-IOT terminal module can be up to 10 years. Fourth, lower cost. It can be directly deployed in 2G / 3G / 4G networks, and existing radio frequency and antennas can be reused.
[0057] As a feasible implementation, the uplink data can include an audio transmission request, so that the remote control terminal can select corresponding audio data to construct downlink data and return the downlink data to the smart speaker after receiving the uplink data.
[0058] As another feasible implementation, the uplink data can include prompt information indicating that the target detection object is detected and object parameters (such as quantity, type, distance, etc.) of the target detection object, so that the remote control terminal can select corresponding audio data as downlink data according to the object parameters and return the downlink data to the smart speaker.
[0059] S103: Receive the downlink data returned by the remote control terminal through the NB-IOT communication module, and execute the audio playback operation according to the downlink data.
[0060] Wherein, the smart speaker can also receive the downlink data returned by the remote control terminal through the NB-IOT communication module, and the downlink data can include a playback instruction and audio data. The smart speaker can extract the audio data from the downlink data to perform the audio playback operation corresponding to the playback instruction.
[0061] The embodiment collects environmental information of a location where the smart sound box is located, and then determines whether a target detection object exists based on the environmental information, so as to execute an audio playing operation when the detection object exists. Specifically, when it is determined that the target detection object exists, the smart sound box sends uplink data to a remote control terminal through an NB-IOT communication module, so that the remote control terminal returns downlink data. The smart sound box receives the downlink data through the NB-IOT communication module, and then executes a corresponding audio playing operation based on the downlink data. The smart sound box in the embodiment can obtain the downlink data through interaction with the remote control terminal and execute the audio playing operation when the target detection object exists in a preset area. The above process takes whether the target detection object exists in the current environment as a basis for audio playing, so that the embodiment can reduce the energy consumption of the sound box and improve the service life of the sound box.
[0062] As for Figure 1 For further introduction of the corresponding embodiment, the smart sound box can further include an infrared sensing device and a microphone. The infrared sensing device is used to collect environmental infrared sensing information in the surrounding environment, and the microphone is used to collect environmental sound information in the surrounding environment. The embodiment can determine whether a target detection object exists based on the infrared sensing information and the environmental sound information. The specific process is as follows: the infrared sensing device and the microphone are used to collect environmental information of a location where the smart sound box is located; the environmental information includes environmental infrared sensing information and environmental sound information; first position information of a moving object in the environment is determined according to the environmental infrared sensing information; second position information of an environmental sound source is determined according to the environmental sound information; it is determined whether a deviation value of the first position information and the second position information is less than a preset value; if yes, it is determined that the target detection object exists in the preset area; if no, it is determined that the target detection object does not exist in the preset area.
[0063] Further, before executing the audio playing operation according to the downlink data, the position information of the target detection object can be determined according to the first position information and the second position information; and the orientation of the loudspeaker of the smart sound box is adjusted according to the position information of the target detection object. Specifically, the first position information and the second position information can be weighted and calculated to obtain the position information of the target detection object. The above process can make the loudspeaker of the smart sound box face the position of the target detection object, so that the target detection object can listen to the audio played by the smart sound box.
[0064] As for Figure 1 For further introduction of the corresponding embodiment, before the NB-IOT communication module sends the uplink data to the remote control terminal, the current working state of the NB-IOT communication module can be switched from an idle state or an energy saving mode to a connected state.
[0065] The NB-IOT communication module has the following three working states: connected state, idle state and power saving mode (PSM).
[0066] After the NB-IOT communication module is registered in the network, it is in the connected state, in which it can send and receive data. If there is no data interaction for a period of time, it will enter the idle state. In the idle state, the NB-IOT communication module can send and receive data, and receiving downlink data will enter the connected state. If there is no data interaction for a period of time, it will enter the power saving mode. In the power saving mode, the NB-IOT communication module turns off the transceiver and does not listen to the wireless side paging. Therefore, although it is still registered in the network, the signaling is unreachable, so that the terminal stays in deep sleep state for a longer time to achieve the purpose of power saving.
[0067] The conversion of the three working states of the NB-IOT communication module can be automatically converted according to the inactivity timer. The NB-IOT technology has the characteristics of "high coverage, low power consumption and low cost", and is suitable for use in scenarios without power supply and with low data transmission rate requirements.
[0068] Further, before collecting the environmental information of the location where the smart speaker is located, the current working state of the NB-IOT communication module can be determined. If the NB-IOT communication module is in the idle state or the power saving mode, the environmental information of the location where the smart speaker is located is collected. If the NB-IOT communication module is in the connected state, it means that the smart speaker is playing audio, and at this time the audio data in the downlink data transmitted by the remote control terminal can be continued to be played.
[0069] Further, after sending the uplink data to the remote control terminal through the NB-IOT communication module, it can be judged whether the downlink data returned by the remote control terminal is received within a preset time. If not, the current working state of the NB-IOT communication module is switched from the connected state to the idle state.
[0070] As for Figure 1 Further to the corresponding embodiment, the smart speaker further includes a solar power supply module, which can convert light energy into electrical energy for storage and provide electrical energy for the operation of the smart speaker.
[0071] Correspondingly, the smart speaker can execute the audio playing operation in the following manner: determining the current residual power and the current charging rate of the solar power supply module; determining a target playing volume according to the current residual power and the current charging rate; wherein the current residual power is related to the target playing volume, and the current charging rate is related to the target playing volume; executing the audio playing operation according to the downlink data at the target playing volume.
[0072] As a feasible implementation manner, the target playing volume can be obtained by performing weighted calculation on the current residual power and the current charging rate by using a first calculation formula, the first calculation formula being V=a×E+b×U; V representing the numerical value of the target playing volume, E representing the numerical value of the current residual power, and U representing the numerical value of the current charging rate; a and b are both preset coefficients greater than 0.
[0073] Further, in order to avoid that the sound of the smart speaker is too large or too small, the target playing volume can be obtained by using a second calculation formula, the second calculation formula being:
[0074]
[0075] When the numerical value of the current residual power is greater than or equal to the numerical value E1 (such as 80%) of a first power threshold, the numerical value of the target playing volume is a first preset volume numerical value V1; when the numerical value of the current residual power is less than or equal to the numerical value E2 (such as 20%) of a second power threshold, the numerical value of the target playing volume is a second preset volume numerical value V2; when the numerical value of the current residual power is less than E1 and greater than E2, the numerical value of the target playing volume is obtained by performing weighted calculation according to the numerical value of the current residual power and the numerical value of the current charging rate. Further, (a×E1+b×U)≤V1, (a×E2+b×U)≥V2, and V1 is greater than V2.
[0076] By the above manner, the power input and the power output of the solar power supply module can be balanced, and the target playing volume is determined based on the current residual power and the current charging rate, so as to adjust the audio playing volume according to the current state of the solar power supply module.
[0077] The above-described processes are illustrated by the following examples in actual applications.
[0078] In order to better transmit broadcast information and give early warning to danger, and at the same time meet the requirement of energy saving, the embodiment improves a solar wireless communication induction intelligent sound box. The embodiment adopts NB-IOT communication technology, so that the outdoor sound box (scenic spots, parks, etc.) can be more reasonably arranged, and the needs of emergency notification and listening to songs are taken into account. The embodiment adopts infrared sensors and MIC to detect human bodies, and after detecting a human, the sound box performs subsequent actions (such as safety reminders, broadcasts, playing music, conversations, etc.), thereby saving energy and reducing noise pollution. The embodiment adopts a solar charging mode for the sound box, thereby getting rid of the consumption of long-distance wires and adapting to various application scenarios.
[0079] Referring to Figure 2 and Figure 3 , Figure 2 a communication control system schematic diagram provided by the embodiment of the application, Figure 3 a structural level schematic diagram of an intelligent sound box provided by the embodiment of the application. Figure 2 It is shown that a remote control end (such as a PC or a smart phone) communicates with the intelligent sound box 1, the intelligent sound box 2, …, the intelligent sound box N+1 based on NB-IOT communication technology. The intelligent sound box includes a main chip, a power control chip, an infrared induction module (i.e., an infrared induction device), an NB-IOT communication module, an acoustic module (a loudspeaker and a microphone MIC), and a solar panel and a storage battery.
[0080] When the infrared induction module senses a person passing by or the MIC detects a human voice, the NB-IOT communication module is woken up, and uplink data is sent to the remote control end. The PC end issues a command, a signal is issued based on a 2G / 3G / 4G network through the NB-IOT communication module, the NB-IOT module on the sound box end receives, and the sound box is controlled to broadcast or play music. The intelligent sound box converts electrical energy through the solar panel and stores it in the storage battery, and then supplies power through the power control chip.
[0081] Referring to Figure 4 , Figure 4 a flowchart of a control method of a wireless communication induction intelligent sound box also provided by the embodiment of the application, and specifically includes the following processes: the NB-IOT communication module is in an energy saving mode PSM or an idle state, the infrared sensor detects a human or the MIC identifies a human voice, the NB-IOT communication module enters a connected state, and uplink data is sent to a remote control end, so that the remote control end sends downlink data through the NB-IOT communication module. It is judged whether downlink data is received, if yes, the loudspeaker is controlled to emit sound, so that the user can listen; and if no, the NB-IOT communication module is controlled to be in an idle state.
[0082] As a feasible implementation, after the smart speaker sends the uplink data to the remote control end, the remote control end can return an audio playing instruction (such as a broadcast playing instruction or a music playing instruction). The remote control end can also send a signal through the NB-IOT communication module, and the smart speaker receives the signal and controls the loudspeaker to emit sound.
[0083] The scheme provided by the embodiment can make the smart speaker in a scenic spot or a park more practical and energy-saving, and can meet the needs of emergency notification and music listening. In addition, the scheme uses a solar power supply mode, which facilitates arrangement, reduces cost, and facilitates people's life.
[0084] Please refer to Figure 5 , Figure 5 The structural diagram of the audio playing control device provided by the embodiment of the application is applied to a smart speaker provided with an NB-IOT communication module, and includes:
[0085] The detection module 501 is configured to collect environmental information of a position where the smart speaker is located, and determine whether a target detection object exists in a preset area according to the environmental information.
[0086] The data uploading module 502 is configured to send uplink data to a remote control end through the NB-IOT communication module if the target detection object exists.
[0087] The data receiving module 503 is configured to receive downlink data returned by the remote control end through the NB-IOT communication module.
[0088] The playing control module 504 is configured to perform an audio playing operation according to the downlink data.
[0089] The embodiment collects environmental information of a position where the smart speaker is located, and then determines whether a target detection object exists based on the environmental information, so as to perform an audio playing operation when the detection object exists. Specifically, when it is determined that the target detection object exists, the embodiment sends uplink data to the remote control end through the NB-IOT communication module, so that the remote control end returns downlink data. The smart speaker receives the downlink data through the NB-IOT communication module, and then performs a corresponding audio playing operation based on the downlink data. The smart speaker in the embodiment can obtain downlink data and perform an audio playing operation through interaction with the remote control end when the target detection object exists in the preset area. The above process takes whether the target detection object exists in the current environment as a basis for audio playing, so the embodiment can reduce the energy consumption of the speaker and improve the service life of the speaker.
[0090] Further, the detection module 501 collects the environmental information of the location where the smart speaker is located, and determines whether there is a target detection object in the preset area according to the environmental information, which includes: collecting the environmental information of the location where the smart speaker is located by using an infrared sensing device and a microphone; wherein the environmental information includes environmental infrared sensing information and environmental sound information; determining the first position information of the moving object in the environment according to the environmental infrared sensing information; determining the second position information of the sound source in the environment according to the environmental sound information; determining whether the deviation value of the first position information and the second position information is less than a preset value; if yes, it is determined that the target detection object exists in the preset area; if not, it is determined that the target detection object does not exist in the preset area.
[0091] Further, it also includes:
[0092] The direction adjustment module is configured to determine the position information of the target detection object according to the first position information and the second position information before performing the audio playing operation according to the downlink data; and adjust the orientation of the loudspeaker of the smart speaker according to the position information of the target detection object.
[0093] Further, it also includes:
[0094] The state switching module is configured to switch the current working state of the NB-IOT communication module from the idle state or the energy saving mode to the connected state before sending the uplink data to the remote control terminal through the NB-IOT communication module.
[0095] Further, it also includes:
[0096] The state processing module is configured to determine the current working state of the NB-IOT communication module before collecting the environmental information of the location where the smart speaker is located; and if the NB-IOT communication module is in the idle state or the energy saving mode, the detection module 501 collects the environmental information of the location where the smart speaker is located; and if the NB-IOT communication module is in the connected state, the audio data transmitted by the remote control terminal is continuously played.
[0097] Further, it also includes:
[0098] The judgment module is configured to determine whether the downlink data returned by the remote control terminal is received within a preset time after sending the uplink data to the remote control terminal through the NB-IOT communication module; if not, the current working state of the NB-IOT communication module is switched from the connected state to the idle state.
[0099] Further, the smart speaker also includes a solar power supply module;
[0100] Correspondingly, the process in which the playing control module 504 performs the audio playing operation according to the downlink data comprises: determining the current residual power and the current charging rate of the solar power supply module; determining the target playing volume according to the current residual power and the current charging rate; the current residual power is related to the target playing volume, and the current charging rate is related to the target playing volume; performing the audio playing operation according to the downlink data at the target playing volume.
[0101] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part are described in the description of the embodiments of the method part, and are not described here.
[0102] The application further provides a storage medium having a computer program stored thereon, and the computer program can implement the steps provided by the above embodiments when executed. The storage medium can include a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.
[0103] The application further provides an intelligent speaker, which can include an NB-IOT communication module, a memory and a processor. The memory has a computer program stored therein, and the processor can implement the steps provided by the above embodiments when calling the computer program in the memory. Of course, the intelligent speaker can also include various network interfaces, power supplies and other components.
[0104] The embodiments in the description are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts of each embodiment can be referred to each other. For the device disclosed by the embodiments, since it corresponds to the method disclosed by the embodiments, the description is relatively simple, and the related parts can be referred to the method part. It should be pointed out that for ordinary skilled in the art, without departing from the principles of the application, the application can be improved and modified in several ways, and these improvements and modifications also fall within the protection scope of the claims of the application.
[0105] It is further noted that the terminology "first", "second" and the like used in the specification are merely used for differentiating one entity or action from another, and do not necessarily imply any actual physical or logical relationship or order between such entities or actions. Moreover, the use of the term "including", "containing" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements is not required to comprise only those elements but can include other elements not expressly listed or inherent to such process, method, article or apparatus. An element preceded by "comprises a..." does not, without further restriction, preclude the existence of additional elements of the same nature as those recited.
Claims
1. An audio play control method, characterized by, The application is applied to a smart speaker provided with an NB-IOT communication module, and comprises the following steps of: collecting environmental information of a position where the smart speaker is located, and judging whether a target detection object exists in a preset area according to the environmental information; if the target detection object exists, sending uplink data to a remote control terminal through the NB-IOT communication module; receiving downlink data returned by the remote control terminal through the NB-IOT communication module, and executing an audio playing operation according to the downlink data; the smart speaker further comprises a solar power supply module; correspondingly, the step of executing the audio playing operation according to the downlink data comprises the following steps of: determining a current residual power and a current charging rate of the solar power supply module; determining a target playing volume according to the current residual power and the current charging rate; wherein the current residual power is related to the target playing volume, and the current charging rate is related to the target playing volume; executing the audio playing operation according to the target playing volume according to the downlink data.
2. The audio playback control method of claim 1, wherein, collecting environmental information of a position where the smart speaker is located, and judging whether a target detection object exists in a preset area according to the environmental information comprises the following steps of: collecting environmental information of a position where the smart speaker is located by using an infrared sensing device and a microphone; wherein the environmental information comprises environmental infrared sensing information and environmental sound information; determining first position information of a moving object in the environment according to the environmental infrared sensing information; determining second position information where an environmental sound source is located according to the environmental sound information; judging whether a deviation value of the first position information and the second position information is less than a preset value; if yes, it is determined that the target detection object exists in the preset area; if no, it is determined that the target detection object does not exist in the preset area.
3. The audio playback control method of claim 2, wherein, before executing the audio playing operation according to the downlink data, the method further comprises the following steps of: determining position information of the target detection object according to the first position information and the second position information; adjusting a speaker orientation of the smart speaker according to the position information of the target detection object.
4. The audio playback control method of claim 1, wherein, before sending uplink data to a remote control terminal through the NB-IOT communication module, the method further comprises the following step of: switching a current working state of the NB-IOT communication module from an idle state or an energy saving mode to a connected state.
5. The audio playback control method of claim 4, wherein, before collecting environmental information of a position where the smart speaker is located, the method further comprises the following step of: determining a current working state of the NB-IOT communication module; if the NB-IOT communication module is in the idle state or the energy saving mode, collecting the environmental information of the position where the smart speaker is located; if the NB-IOT communication module is in the connected state, continuing to play audio data transmitted by the remote control terminal.
6. The audio playback control method of claim 4, wherein, after sending uplink data to a remote control terminal through the NB-IOT communication module, the method further comprises the following steps of: judging whether the downlink data returned by the remote control terminal is received within a preset time; if no, switching the current working state of the NB-IOT communication module from the connected state to the idle state.
7. An audio play control apparatus characterized by comprising: the application is applied to a smart speaker provided with an NB-IOT communication module, and comprises the following steps of: The detection module is configured to collect environmental information of a location where the smart speaker is located, and determine whether a target detection object exists in a preset area according to the environmental information. The data uploading module is configured to send uplink data to a remote control terminal through the NB-IOT communication module if the target detection object exists. The data receiving module is configured to receive downlink data returned by the remote control terminal through the NB-IOT communication module. The playing control module is configured to perform an audio playing operation according to the downlink data. The smart speaker further comprises a solar power supply module. Correspondingly, the process in which the playing control module performs the audio playing operation according to the downlink data comprises: determining a current remaining power and a current charging rate of the solar power supply module; determining a target playing volume according to the current remaining power and the current charging rate; the current remaining power is related to the target playing volume, and the current charging rate is related to the target playing volume; and performing the audio playing operation according to the downlink data at the target playing volume.
8. A smart speaker, comprising: The smart speaker comprises an NB-IOT communication module, a memory and a processor, the memory stores a computer program, and the processor invokes the computer program in the memory to implement the steps of the audio playing control method according to any one of claims 1 to 6.
9. A storage medium, characterized by The storage medium stores computer executable instructions, and the computer executable instructions are loaded and executed by the processor to implement the steps of the audio playing control method according to any one of the above claims 1 to 6.
Citation Information
Patent Citations
Control method of intelligent loudspeaker box
CN113453102A
Audio equipment and system
CN208190894U