Portable wireless audio system, method of environment recognition thereof, and storage medium
By using the channel state information of RSSI test signals in portable wireless audio systems to calculate whether the system's environment is a closed or open space, the problem of forgetting in portable wireless audio systems is solved, accurate identification and user prompts are achieved, and resource waste is reduced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN JIELI MICROELECTRONICS TECH CO LTD
- Filing Date
- 2022-07-25
- Publication Date
- 2026-06-12
AI Technical Summary
In existing technologies, portable wireless audio systems are easily forgotten in enclosed spaces, making them impossible to retrieve. Furthermore, existing metal detection methods are prone to false alarms, increasing resource costs.
By calculating the channel state information of RSSI test signals in a portable wireless audio system, it can determine whether the system is in a closed or open space. The ratio of the total RSSI intensity to the reflected RSSI intensity is used to determine the environment, and a preset threshold is used for identification. When the environment is identified as a closed space, the user is notified.
It enables accurate identification of the environment of portable wireless audio systems, reduces false alarms, saves resource costs, and improves user experience.
Smart Images

Figure CN115767339B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to portable wireless audio systems, and more particularly to portable wireless audio systems, environmental identification methods, and storage media thereof. Background Technology
[0002] Portable wireless audio systems are now widely used, such as Bluetooth wireless earbuds (e.g., true wireless stereo (TWS)). Most wireless communication devices now have the ability to obtain RSSI (Received Signal Strength Indicator) data to ensure proper operation. For example, the left and right earbuds in Bluetooth wireless earbuds typically detect RSSI signal strength and automatically connect to the earbud with the strongest RSSI signal, thereby improving the pairing efficiency of Bluetooth earbuds.
[0003] Portable wireless audio systems are easily forgotten in enclosed spaces, making them unrecoverable and potentially causing further problems. For example, Bluetooth earphones are often placed in pockets. If these earphones are forgotten when washing clothes, and the clothes containing them and their charging case are placed directly into the washing machine, valuable electronic products are easily damaged by water during the washing process. If the washing machine has a drying function, the damage will be exacerbated. Patent No. 202110596033.7 describes a washing machine metal foreign object detection system and method based on the principle of pulsed electromagnetic induction. This patent includes a detection coil placed outside the washing machine's spin-drying tub, a pulse transmitting circuit electrically connected to the detection coil and sending pulse signals to the detection coil, a signal processing circuit electrically connected to the detection coil and receiving the induction signals emitted by the detection coil, a receiving control circuit electrically connected to the signal processing circuit and controlling whether it receives the induction signals emitted by the detection coil, and a main control processing circuit electrically connected to the pulse transmitting circuit and sending pulse transmission timing signals to it. Based on the principle of time-domain pulsed electromagnetic induction, the detection coil, driven by a periodic pulsed current, emits alternating electromagnetic waves into the washing machine drum, known as the primary field. If a metal object is found in a pocket of clothing placed in the drum, eddy currents are generated, exciting a secondary field. This secondary field is received by the detection coil and then processed by the detection system to trigger an alarm, thus achieving the purpose of detecting metal objects. However, since the outer shell of a Bluetooth headset charging case is not made of metal, it is not easily detected; when there are metal objects on the clothing, metal detection methods are prone to false alarms; and adding detection coils, pulse transmitting circuits, receiving control circuits, and other components inside the washing machine consumes more resources and costs.
[0004] In summary, there is no existing technology to identify portable wireless audio systems that have been left behind in enclosed spaces. Summary of the Invention
[0005] Based on the above situation, the main objective of this invention is to provide a portable wireless audio system and its environmental identification method and storage medium to identify the environment in which the portable wireless audio system is located.
[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0007] An environmental identification method for a portable wireless audio system, the portable wireless audio system comprising a first wireless audio device, a second wireless audio device, and a housing device, the housing device being used to house the first wireless audio device and the second wireless audio device, comprising the following steps: the housing device detects whether the first wireless audio device and the second audio device are located within the housing device; if so, then:
[0008] The receiving device instructs the first wireless audio device to transmit an RSSI test signal lasting a preset duration, and instructs the second wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, and calculates the channel impulse response of the channel state information to obtain signal energy amplitudes corresponding to multiple different times. It selects the largest signal energy amplitude as the first direct RSSI strength, and the sum of the remaining signal energy amplitudes as the first reflected RSSI strength, wherein the sum of the first direct RSSI strength and the first reflected RSSI strength equals the first total RSSI strength. The receiving device instructs the second wireless audio device to transmit the RSSI test signal lasting the preset duration, and instructs the first wireless audio device to perform RSSI strength calculation. The first wireless audio device obtains channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction. The system calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the second direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the second reflected RSSI intensity, wherein the sum of the second direct RSSI intensity and the second reflected RSSI intensity is equal to the second total RSSI intensity; the first wireless audio device or the second wireless audio device calculates the mean of the first total RSSI intensity and the second total RSSI intensity to obtain the mean of the total RSSI intensity, and calculates the mean of the first reflected RSSI intensity and the second reflected RSSI intensity to obtain the mean of the reflected RSSI intensity, and calculates the ratio of the mean of the reflected RSSI intensity to the mean of the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the mean of the total RSSI intensity is greater than a preset intensity threshold, then the environment in which the portable wireless audio system is located is determined to be a closed space; otherwise, the environment in which the portable wireless audio system is located is determined to be an open space.
[0009] Preferably, if the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has not yet been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio also sends a pairing request message to the mobile terminal to prompt the user of the mobile terminal; if the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has already been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio also sends a prompt message to the mobile terminal.
[0010] Preferably, the housing is used to house the first wireless audio device and the second wireless audio device within the internal space of the housing, and the outer shell of the housing is made of a non-electromagnetic shielding material.
[0011] Preferably, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, the first or second wireless audio device that calculates the ratio will emit a prompt tone.
[0012] This invention also provides an environmental identification method for a portable wireless audio system. The portable wireless audio system includes a first wireless audio device, a second wireless audio device, and a housing device. The housing device is used to house the first and second wireless audio devices. The method includes the following steps: the housing device detects whether the first and second audio devices are inside the housing device; if so, then:
[0013] The containing device instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain signal energy amplitudes corresponding to multiple different times, selects the largest signal energy amplitude as the direct RSSI strength, and uses the sum of the remaining signal energy amplitudes as the reflected RSSI strength, wherein the sum of the direct RSSI strength and the reflected RSSI strength equals the total RSSI strength. The second wireless audio device calculates the ratio of the reflected RSSI strength to the total RSSI strength. If the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, then the environment in which the portable wireless audio system is located is determined to be a closed space; otherwise, the environment in which the portable wireless audio system is located is determined to be an open space.
[0014] Preferably, if the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has not yet been paired with the mobile terminal, the second wireless audio device further prompts the user of the mobile terminal by sending a pairing request message to the mobile terminal; if the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has already been paired with the mobile terminal, the second wireless audio device further prompts the user of the mobile terminal by sending a prompt message to the mobile terminal.
[0015] Preferably, the housing is used to house the first wireless audio device and the second wireless audio device within the internal space of the housing, and the outer shell of the housing is made of a non-electromagnetic shielding material.
[0016] Preferably, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, the first wireless audio device emits a prompt tone.
[0017] This invention also provides a portable wireless audio system, including a first wireless audio device, a second wireless audio device, and a housing device. The housing device is used to house the first and second wireless audio devices. The housing device detects whether the first and second wireless audio devices are inside the housing device. If so, it instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI strength calculation. It also instructs the second wireless audio device to transmit the RSSI test signal for the preset duration and instructs the first wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain signal energy amplitudes corresponding to multiple different times, selects the largest signal energy amplitude as the first direct RSSI intensity, and uses the sum of the remaining signal energy amplitudes as the first reflected RSSI intensity. The sum of the first direct RSSI intensity and the first reflected RSSI intensity is equal to the first RSSI intensity. The first wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, and calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the second direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the second reflected RSSI intensity, wherein the sum of the second direct RSSI intensity and the second reflected RSSI intensity is equal to the second total RSSI intensity; the first wireless audio device or the second wireless audio device calculates the mean of the first total RSSI intensity and the second total RSSI intensity to obtain the mean of the total RSSI intensity, and calculates the mean of the first reflected RSSI intensity and the second reflected RSSI intensity to obtain the mean of the reflected RSSI intensity, and calculates the ratio of the mean of the reflected RSSI intensity to the mean of the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the mean of the total RSSI intensity is greater than a preset intensity threshold, then it is determined that the environment in which the portable wireless audio system is located is a closed space; otherwise, it is determined that the environment in which the portable wireless audio system is located is an open space.
[0018] Preferably, if the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has not yet been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio also sends a pairing request message to the mobile terminal to prompt the user of the mobile terminal; if the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has already been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio also sends a prompt message to the mobile terminal.
[0019] Preferably, the housing is used to house the first wireless audio device and the second wireless audio device within the internal space of the housing, and the outer shell of the housing is made of a non-electromagnetic shielding material.
[0020] Preferably, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, the first or second wireless audio device that calculates the ratio will emit a prompt tone.
[0021] This invention also provides a portable wireless audio system, including a first wireless audio device, a second wireless audio device, and a housing device. The housing device is used to house the first and second wireless audio devices. The housing device detects whether the first and second wireless audio devices are inside the housing device. If so, it instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI intensity calculation. The second wireless audio device obtains channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, calculates the channel impulse response of the channel state information to obtain signal energy amplitudes corresponding to multiple different times, and selects the largest signal energy amplitude as the direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the reflected RSSI intensity, wherein the sum of the direct RSSI intensity and the reflected RSSI intensity equals the total RSSI intensity. The second wireless audio device calculates the ratio of the reflected RSSI intensity to the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the total RSSI intensity is greater than a preset intensity threshold, it determines that the environment in which the portable wireless audio system is located is a closed space; otherwise, it determines that the environment in which the portable wireless audio system is located is an open space.
[0022] Preferably, if the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has not yet been paired with the mobile terminal, the second wireless audio device further prompts the user of the mobile terminal by sending a pairing request message to the mobile terminal; if the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has already been paired with the mobile terminal, the second wireless audio device further prompts the user of the mobile terminal by sending a prompt message to the mobile terminal.
[0023] Preferably, the housing is used to house the first wireless audio device and the second wireless audio device within the internal space of the housing, and the outer shell of the housing is made of a non-electromagnetic shielding material.
[0024] Preferably, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, the first wireless audio device emits a prompt tone.
[0025] [Beneficial Effects]
[0026] In some implementations, when the containment device detects that the first wireless audio device and the second audio device are within the containment device, the containment device instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain signal energy amplitudes at multiple different times, selects the largest signal energy amplitude as the first direct RSSI strength, and uses the sum of the remaining signal energy amplitudes as the first reflected RSSI strength. Additionally, the containment device instructs the second wireless audio device to transmit the RSSI test signal for the preset duration and instructs the first wireless audio device to perform RSSI strength calculation. The first wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction. The system calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the second direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the second reflected RSSI intensity. Then, it calculates the mean of the first total RSSI intensity and the second total RSSI intensity to obtain the mean of the total RSSI intensity, and calculates the mean of the first reflected RSSI intensity and the second reflected RSSI intensity to obtain the mean of the reflected RSSI intensity. It also calculates the ratio of the mean of the reflected RSSI intensity to the mean of the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the mean of the total RSSI intensity is greater than a preset intensity threshold, it is determined that the environment in which the portable wireless audio system is located is a closed space; otherwise, it is determined that the environment in which the portable wireless audio system is located is an open space. This achieves the identification of the environment in which the portable wireless audio system is located. Since the RSSI intensity is calculated by the first wireless audio device and the second wireless audio device respectively, the accuracy is higher.
[0027] In other solutions, when the containing device detects that the first wireless audio device and the second audio device are inside the containing device, the containing device instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the direct RSSI strength, and the sum of the remaining signal energy amplitudes as the reflected RSSI strength, wherein the sum of the direct RSSI strength and the reflected RSSI strength is equal to the total RSSI strength. The second wireless audio device calculates the ratio of the reflected RSSI strength to the total RSSI strength. If the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, it is determined that the environment in which the portable wireless audio system is located is a closed space; otherwise, it is determined that the environment in which the portable wireless audio system is located is an open space, thereby realizing the identification of the environment in which the portable wireless audio system is located.
[0028] Other beneficial effects of the present invention will be explained in detail through the introduction of specific technical features and technical solutions in specific embodiments. Those skilled in the art should be able to understand the beneficial technical effects brought about by these technical features and technical solutions through the introduction of these technical features and technical solutions. Attached Figure Description
[0029] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. In the drawings:
[0030] Figure 1 This is a schematic diagram of a portable wireless audio system according to a preferred embodiment of the present invention;
[0031] Figure 2 yes Figure 1 A flowchart of an environmental recognition method for a portable wireless audio system;
[0032] Figure 3 yes Figure 1 A schematic diagram of a portable wireless audio system in an enclosed space;
[0033] Figure 4 yes Figure 1 A flowchart of another environmental recognition method for portable wireless audio systems;
[0034] Figure 5 This is a schematic diagram of various RSSI intensities for a portable wireless audio system. Detailed Implementation
[0035] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail, but well-known methods, processes, procedures, and elements are not described in detail in order to avoid obscuring the essence of the present invention.
[0036] Furthermore, those skilled in the art should understand that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.
[0037] Unless the context explicitly requires it, the words "comprising," "including," and similar terms throughout the specification and claims should be interpreted as encompassing rather than being exclusive or exhaustive; that is, meaning "including but not limited to."
[0038] In the description of this invention, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means two or more.
[0039] Figure 1This is a schematic diagram of a portable wireless audio system 100 according to an embodiment of the present invention. The portable wireless audio system 100 includes a first wireless audio device 120, a second wireless audio device 130, and a housing device 110. The housing device 110 is used to house the first wireless audio device 120 and the second wireless audio device 130. Both the housing device 110 and the wireless audio devices have charging contacts. When the wireless audio devices are inside the housing device 110, the housing device 110 can charge the wireless audio devices through the contacting charging contacts and communicate with the wireless audio devices through the contacting charging contacts. For example, the housing device 110 can send relevant commands to the wireless audio devices through the contacting charging contacts. In one embodiment, the portable wireless audio system 100 can be a Bluetooth headset and a charging case, that is, the first wireless audio device 120 and the second wireless audio device 130 are Bluetooth headsets, the housing device 110 is a charging case, and the first wireless audio device 120 and the second wireless audio device 130 can use BLE communication. The housing 110 can be open, allowing the first wireless audio device 120 and the second wireless audio device 130 to be exposed after being housed within the housing 110. The wireless signals emitted by both devices are not shielded inside the housing 110, meaning they can leave the housing 110 and reach the outside. In this case, the outer shell of the housing 110 can be made of a non-electromagnetic shielding material (e.g., plastic, wood) or an electromagnetic shielding material (e.g., metal). Alternatively, the housing 110 can be closed, using a non-electromagnetic shielding material (e.g., plastic, wood). The first wireless audio device 120 and the second wireless audio device 130 are housed within the housing 110, and their wireless signals are not shielded inside the housing 110, meaning they can pass through the outer shell of the housing 110 and reach the outside.
[0040] Figure 2 This is a flowchart of an environmental recognition method for the aforementioned portable wireless audio system 100, including the following steps:
[0041] S100, the receiving device 110 detects whether the first wireless audio device 120 and the second audio device are inside the receiving device 110. If yes, steps S110 to S130 are executed; otherwise, step S140 is executed.
[0042] This step can be implemented using existing technology. For example, a Hall sensor can be installed in the housing 110, and the housing 110 can identify whether the first wireless audio device 120 and the second wireless audio device 130 are placed into or removed from the housing 110 through the Hall sensor.
[0043] S110, the receiving device 110 instructs the first wireless audio device 120 to transmit an RSSI test signal for a preset duration, and instructs the second wireless audio device 130 to perform RSSI strength calculation; the second wireless audio device 130 obtains the channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the first direct RSSI strength, and the sum of the remaining signal energy amplitudes as the first reflected RSSI strength, wherein the sum of the first direct RSSI strength and the first reflected RSSI strength is equal to the first total RSSI strength.
[0044] The receiving device 110 sends a command to the first wireless audio device 120 through its contacting charging contacts, instructing the first wireless audio device 120 to transmit an RSSI test signal for a preset duration (e.g., 1 second, 2 seconds, etc.). This RSSI test signal will reach the second wireless audio device 130 along multiple paths. These multiple paths include: a direct path from the first wireless audio device 120 to the second wireless audio device 130, and a reflected path from the first wireless audio device 120 after reflection from other objects to the second wireless audio device 130. There are usually multiple reflected paths. In other words, the second wireless audio device 130 can obtain information about the multiple paths formed by the RSSI test signal in space, i.e., channel state information. The receiving device 110 sends a command to the second wireless audio device 130 through its contacting charging contacts, instructing the second wireless audio device 130 to acquire the channel state information formed by the RSSI test signal, calculate the channel impulse response of this channel state information, and obtain the signal energy amplitude corresponding to multiple different times, i.e., a line-of-sight wireless transmission signal diagram with respect to time and energy. From the line-of-sight wireless transmission signal diagram relating time and energy, select the largest signal energy amplitude as the RSSI signal strength of the signal on the direct path (i.e., the direct signal) (i.e., the first direct RSSI strength), and use the sum of the remaining energy amplitudes as the RSSI signal strength of the signal on the reflection path (i.e., the reflected signal) (i.e., the first reflection RSSI strength).
[0045] S120, the receiving device 110 instructs the second wireless audio device 130 to transmit an RSSI test signal for a preset duration, and instructs the first wireless audio device 120 to perform RSSI strength calculation; the first wireless audio device 120 obtains the channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the second direct RSSI strength, and the sum of the remaining signal energy amplitudes as the second reflected RSSI strength, wherein the sum of the second direct RSSI strength and the second reflected RSSI strength is equal to the second total RSSI strength.
[0046] The receiving device 110 sends a command to the second wireless audio device 130 through its contacting charging contacts, instructing the second wireless audio device 130 to transmit the same RSSI test signal for a preset duration (e.g., 1 second, 2 seconds, etc.). This RSSI test signal will reach the first wireless audio device 120 along multiple paths. These multiple paths include: a direct path from the second wireless audio device 130 to the first wireless audio device 120, and a reflected path from the second wireless audio device 130 after reflection from other objects to the first wireless audio device 120. Multiple reflected paths are typically present. In other words, the first wireless audio device 120 can obtain information about the multiple paths formed by the RSSI test signal in space, i.e., channel state information. The receiving device 110 sends a command to the first wireless audio device 120 through its contacting charging contacts, instructing the first wireless audio device 120 to acquire the channel state information formed by the RSSI test signal, calculate the channel impulse response of this channel state information, and obtain the signal energy amplitude corresponding to multiple different times, i.e., a line-of-sight wireless transmission signal diagram with respect to time and energy. From the line-of-sight wireless transmission signal diagram relating time and energy, select the largest signal energy amplitude as the RSSI signal strength (i.e., the second direct RSSI strength) of the signal on the direct path (i.e., the direct signal), and use the sum of the remaining energy amplitudes as the RSSI signal strength (i.e., the reflected signal) of the signal on the reflection path (i.e., the reflected signal) (the second reflected RSSI strength).
[0047] S130, the first wireless audio device 120 or the second wireless audio device 130 calculates the average value of the first RSSI total intensity and the average value of the second RSSI total intensity to obtain the average value of the reflected RSSI intensity, and calculates the average value of the reflected RSSI intensity and the average value of the reflected RSSI intensity to obtain the average value of the reflected RSSI intensity, and calculates the ratio of the average value of the reflected RSSI intensity to the average value of the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the average value of the total RSSI intensity is greater than a preset intensity threshold, then it is determined that the environment in which the portable wireless audio system 100 is located is a closed space 200; otherwise, it is determined that the environment in which the portable wireless audio system 100 is located is an open space.
[0048] The first wireless audio device 120 can calculate the aforementioned average and ratio, and make relevant judgments. For example, the second wireless audio device 130 sends the calculated first direct RSSI intensity and first reflected RSSI intensity to the first wireless audio device 120. Then, the first wireless audio device 120 calculates the average total RSSI intensity and reflected RSSI intensity based on the first direct RSSI intensity, the first reflected RSSI intensity, the second direct RSSI intensity, and the second reflected RSSI intensity, and makes relevant judgments. When the portable wireless audio system 100 is in a closed space 200, the reflection effect of the closed space 200 on the RSSI test signal results in a larger ratio of reflected RSSI intensity to the average total RSSI intensity, and a larger average total RSSI intensity. Conversely, if the portable wireless audio system 100 is in an open space, the ratio of reflected RSSI intensity to the average total RSSI intensity is smaller, and the average total RSSI intensity is smaller. Therefore, based on the relationship between this ratio and a preset ratio threshold, and the relationship between the average total RSSI intensity and a preset intensity threshold, the environment in which the portable wireless audio system 100 is located can be determined. If both the ratio and the average total RSSI intensity are greater than the preset intensity threshold, the environment in which the portable wireless audio system 100 is located is determined to be a closed space 200 (e.g., inside a washing machine drum); otherwise, the environment in which the portable wireless audio system 100 is located is determined to be an open space (e.g., on a desktop). In some embodiments, the preset ratio threshold can be 20%, etc., and the preset intensity threshold can be -50 dBm or -30 dBm, etc. Figure 3 The diagram shows a portable wireless audio system 100 in an enclosed space 200.
[0049] When it is determined that the portable wireless audio system 100 is located in an enclosed space 200, the user can be notified in various ways to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space 200 (such as inside the drum of a washing machine).
[0050] In one embodiment, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold (even if the portable wireless audio system 100 is in the enclosed space 200), and the first wireless audio device 120 or the second wireless audio device 130 that calculates the ratio has not yet been paired with the mobile terminal 300, then the first wireless audio device 120 or the second wireless audio device 130 that calculates the ratio will also send a pairing request message to the mobile terminal 300 to notify the user of the mobile terminal 300. In this embodiment, even if the first wireless audio device 120 or the second wireless audio device 130 is not paired with the mobile terminal 300, the user of the mobile terminal 300 can still be notified through a pairing request message to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space 200.
[0051] In another embodiment, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold (even if the portable wireless audio system 100 is in the enclosed space 200), and the first wireless audio device 120 or the second wireless audio device 130 that calculates the ratio has been paired with the mobile terminal 300, then the first wireless audio device 120 or the second wireless audio device 130 that calculates the ratio also sends a prompt message to the mobile terminal 300. In this embodiment, a prompt message can be sent to the user through the first wireless audio device 120 or the second wireless audio device 130 that has been paired with the mobile terminal 300, so as to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space 200.
[0052] In another embodiment, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, the first wireless audio device 120 or the second wireless audio device 130 that calculates the ratio will emit a prompt tone to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space 200.
[0053] S140: After a predetermined period of time, step S100 is executed again. In this embodiment, during the predetermined period of time after determining that the portable wireless system is in an open space, the identification of the surrounding environment is paused to save the power of the portable wireless audio system 100. After the predetermined period of time has elapsed, step S100 is executed again, that is, the identification of the surrounding environment continues. It can be seen that this embodiment takes into account both energy consumption and the timeliness of identifying the surrounding environment.
[0054] Figure 4 This is a flowchart of another environmental recognition method for the aforementioned portable wireless audio system 100, including the following steps:
[0055] S200, the receiving device 110 detects whether the first wireless audio device 120 and the second audio device are inside the receiving device 110. If yes, steps S210 to S230 are executed; otherwise, step S240 is executed.
[0056] This step can be implemented using existing technology. For example, a Hall sensor can be installed in the housing 110, and the housing 110 can identify whether the first wireless audio device 120 and the second wireless audio device 130 are placed into or removed from the housing 110 through the Hall sensor.
[0057] S210, the receiving device 110 instructs the first wireless audio device 120 to transmit an RSSI test signal for a preset duration, and instructs the second wireless audio device 130 to perform RSSI strength calculation.
[0058] The receiving device 110 sends a command to the first wireless audio device 120 through its contacting charging contacts, instructing the first wireless audio device 120 to transmit an RSSI test signal for a preset duration (e.g., 1 second, 2 seconds, etc.). This RSSI test signal will reach the second wireless audio device 130 along multiple paths. These multiple paths include: a direct path from the first wireless audio device 120 to the second wireless audio device 130, and a reflected path from the first wireless audio device 120 after reflection from other objects to the second wireless audio device 130. There are usually multiple reflected paths. In other words, the second wireless audio device 130 can obtain information about the multiple paths formed by the RSSI test signal in space, i.e., channel state information.
[0059] S220, the second wireless audio device 130 obtains the channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the reflected RSSI intensity, wherein the sum of the direct RSSI intensity and the reflected RSSI intensity is equal to the total RSSI intensity.
[0060] The receiving device 110 sends a command to the second wireless audio device 130 through the mutually contacting charging contacts, instructing the second wireless audio device 130 to acquire the channel state information formed by the RSSI test signal, calculate the channel impulse response of the channel state information, and obtain the signal energy amplitude corresponding to multiple different times, i.e., the line-of-sight wireless transmission signal diagram with respect to time and energy. From the line-of-sight wireless transmission signal diagram with respect to time and energy, the largest signal energy amplitude is selected as the RSSI signal strength of the signal on the direct path (i.e., the direct signal) (i.e., the direct RSSI strength), and the sum of the remaining energy amplitudes is used as the RSSI signal strength of the signal on the reflection path (i.e., the reflected signal) (reflected RSSI strength).
[0061] S230, the second wireless audio device 130 calculates the ratio of the reflected RSSI intensity to the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the total RSSI intensity is greater than a preset intensity threshold, then the environment in which the portable wireless audio system 100 is located is a closed space 200; otherwise, the environment in which the portable wireless audio system 100 is located is an open space.
[0062] When the portable wireless audio system 100 is within an enclosed space 200, the reflection of the RSSI test signal by the enclosed space results in a larger ratio of reflected RSSI intensity to the average total RSSI intensity, and a larger average total RSSI intensity. Conversely, if the portable wireless audio system 100 is in an open space, the ratio of reflected RSSI intensity to the average total RSSI intensity is smaller, and the average total RSSI intensity is also smaller. Therefore, the environment in which the portable wireless audio system 100 is located can be determined based on the relationship between this ratio and a preset ratio threshold, and the relationship between the total RSSI intensity and a preset intensity threshold. If the ratio is greater than the preset ratio threshold and the total RSSI intensity is greater than the preset intensity threshold, then the environment in which the portable wireless audio system 100 is located is determined to be an enclosed space (e.g., inside a washing machine drum); otherwise, the environment in which the portable wireless audio system 100 is located is determined to be an open space (e.g., on a desktop). In some embodiments, the preset ratio threshold can be 20%, etc., and the preset intensity threshold can be -50 dBm or -30 dBm, etc. Figure 5 This is a schematic diagram illustrating the changes in total RSSI intensity, direct RSSI intensity, and reflected RSSI intensity over time in one embodiment.
[0063] When it is determined that the portable wireless audio system 100 is located in an enclosed space 200, the user can be notified in various ways to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space (such as inside the drum of a washing machine).
[0064] In one embodiment, if the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold (even if the portable wireless audio system 100 is in an enclosed space), and the second wireless audio device 130 has not yet been paired with the mobile terminal 300, then the second wireless audio device 130 also sends a pairing request message to the mobile terminal 300 to notify the user of the mobile terminal 300. In this embodiment, even if the second wireless audio device 130 is not paired with the mobile terminal 300, it can still notify the user of the mobile terminal 300 through a pairing request message to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space 200.
[0065] In another embodiment, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold (even if the portable wireless audio system 100 is in the enclosed space 200), and the second wireless audio device 130 has been paired with the mobile terminal 300, then the second wireless audio device 130 also sends a notification message to the mobile terminal 300. In this embodiment, the second wireless audio device 130, which has been paired with the mobile terminal 300, can send a notification message to the user to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space 200.
[0066] In another embodiment, if the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, the second wireless audio device 130 will emit a prompt tone to prevent the user from forgetting the portable wireless audio system 100 in the enclosed space 200.
[0067] S240: After a predetermined period of time, step S200 is executed again. In this embodiment, during the predetermined period of time after determining that the portable wireless system is in an open space, the identification of the surrounding environment is paused to save the power of the portable wireless audio system 100. After the predetermined period of time has elapsed, step S200 is executed again, that is, the identification of the surrounding environment continues. It can be seen that this embodiment takes into account both energy consumption and the timeliness of identifying the surrounding environment.
[0068] Furthermore, the present invention also provides a portable wireless audio system 100, including a first wireless audio device 120, a second wireless audio device 130, and a housing device 110. The housing device 110 is used to house the first wireless audio device 120 and the second wireless audio device 130. The housing device 110 detects whether the first wireless audio device 120 and the second audio device are inside the housing device 110. If so, it instructs the first wireless audio device 120 to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device 130 to perform RSSI strength calculation, and instructs the second wireless audio device 130 to transmit an RSSI test signal for a preset duration and instructs the first wireless audio device 120 to perform RSSI strength calculation. The second wireless audio device 130 obtains channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the first direct RSSI intensity, and uses the sum of the remaining signal energy amplitudes as the first reflected RSSI intensity. The first direct RSSI intensity and the first reflected RSSI intensity are... The sum of the RSSI intensities equals the first total RSSI intensity. The first wireless audio device 120 obtains the channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, and calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times. The largest signal energy amplitude is selected as the second direct RSSI intensity, and the sum of the remaining signal energy amplitudes is used as the second reflected RSSI intensity. The sum of the second direct RSSI intensity and the second reflected RSSI intensity equals the second total RSSI intensity. The first wireless audio device 120 or the second wireless audio device 130 calculates the mean of the first total RSSI intensity and the second total RSSI intensity to obtain the mean of the total RSSI intensity. The first reflected RSSI intensity and the second reflected RSSI intensity are also calculated to obtain the mean of the reflected RSSI intensity. The ratio of the mean of the reflected RSSI intensity to the mean of the total RSSI intensity is calculated. If the ratio is greater than a preset ratio threshold and the mean of the total RSSI intensity is greater than a preset intensity threshold, the environment in which the portable wireless audio system 100 is located is determined to be a closed space 200. Otherwise, the environment in which the portable wireless audio system 100 is located is determined to be an open space.
[0069] Furthermore, the present invention also provides a portable wireless audio system 100, including a first wireless audio device 120, a second wireless audio device 130, and a housing device 110. The housing device 110 is used to house the first wireless audio device 120 and the second wireless audio device 130. The housing device 110 detects whether the first wireless audio device 120 and the second audio device are inside the housing device 110. If so, it instructs the first wireless audio device 120 to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device 130 to perform RSSI strength calculation. The second wireless audio device 130 obtains the channel state formed by the RSSI test signal according to the RSSI strength calculation instruction. The system obtains the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the reflected RSSI intensity, wherein the sum of the direct RSSI intensity and the reflected RSSI intensity equals the total RSSI intensity; the second wireless audio device 130 calculates the ratio of the reflected RSSI intensity to the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the total RSSI intensity is greater than a preset intensity threshold, then it is determined that the environment in which the portable wireless audio system 100 is located is a closed space 200; otherwise, it is determined that the environment in which the portable wireless audio system 100 is located is an open space.
[0070] The present invention also provides a computer-readable storage medium for an environmental identification method, such as a chip, an optical disc, etc., on which a computer program is stored, which, when executed, implements the environmental identification method as described above.
[0071] It should be noted that the computer-readable storage medium described in the embodiments of this disclosure is not limited to the embodiments given above. For example, it can also be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In the embodiments of this disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0072] It will be understood by those skilled in the art that the above-described preferred solutions can be freely combined and superimposed without conflict. The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings; for example, two consecutively indicated blocks may actually be executed substantially in parallel, or sometimes in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions. The numbering of each step in this document is for ease of explanation and reference only and is not intended to limit the order of execution. The specific execution order is determined by the technology itself, and those skilled in the art can determine various permissible and reasonable orders based on the technology itself.
[0073] It should be noted that the use of step numbers (letters or numbers) to refer to certain specific method steps in this invention is merely for the purpose of convenience and brevity in description, and is by no means intended to restrict the order of these method steps. Those skilled in the art will understand that the order of the relevant method steps should be determined by the technology itself and should not be unduly restricted by the existence of step numbers. Those skilled in the art can determine various permissible and reasonable orderings of steps based on the technology itself.
[0074] Those skilled in the art will understand that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.
[0075] It should be understood that the above embodiments are merely exemplary and not restrictive. Various obvious or equivalent modifications or substitutions that can be made by those skilled in the art regarding the above details without departing from the basic principles of the present invention will be included within the scope of the claims of the present invention.
Claims
1. An environmental identification method for a portable wireless audio system, the portable wireless audio system comprising a first wireless audio device, a second wireless audio device, and a housing, the housing being used to house the first wireless audio device and the second wireless audio device, characterized in that, Includes the following steps: The housing device detects whether the first wireless audio device and the second audio device are inside the housing device; if so, then: The receiving device instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the first direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the first reflected RSSI intensity, wherein the sum of the first direct RSSI intensity and the first reflected RSSI intensity is equal to the first total RSSI intensity. The receiving device instructs the second wireless audio device to transmit the RSSI test signal for the preset duration, and instructs the first wireless audio device to perform RSSI strength calculation; the first wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI strength calculation instruction, and calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the second direct RSSI strength, and the sum of the remaining signal energy amplitudes as the second reflected RSSI strength, wherein the sum of the second direct RSSI strength and the second reflected RSSI strength is equal to the second total RSSI strength; The first wireless audio device or the second wireless audio device calculates the average of the first total RSSI intensity and the second total RSSI intensity to obtain the average total RSSI intensity, and calculates the average of the first reflected RSSI intensity and the second reflected RSSI intensity to obtain the average reflected RSSI intensity, and calculates the ratio of the average reflected RSSI intensity to the average total RSSI intensity. If the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, then the environment in which the portable wireless audio system is located is determined to be a closed space; otherwise, the environment in which the portable wireless audio system is located is determined to be an open space.
2. The environmental identification method according to claim 1, characterized in that, If the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has not yet been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio will also send a pairing request message to the mobile terminal to prompt the user of the mobile terminal. If the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio also sends a prompt message to the mobile terminal.
3. The environmental identification method according to claim 1, characterized in that, The housing is used to house the first wireless audio device and the second wireless audio device within its internal space, and the housing is made of a non-electromagnetic shielding material.
4. The environmental identification method according to claim 1, characterized in that, If the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, then the first or second wireless audio device that calculates the ratio will emit a prompt tone.
5. An environmental identification method for a portable wireless audio system, the portable wireless audio system comprising a first wireless audio device, a second wireless audio device, and a housing, the housing being used to house the first wireless audio device and the second wireless audio device, characterized in that, Includes the following steps: The housing device detects whether the first wireless audio device and the second audio device are inside the housing device; if so, then: The receiving device instructs the first wireless audio device to transmit an RSSI test signal for a preset duration, and instructs the second wireless audio device to perform RSSI strength calculation; The second wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, and calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the reflected RSSI intensity, wherein the sum of the direct RSSI intensity and the reflected RSSI intensity is equal to the total RSSI intensity. The second wireless audio device calculates the ratio of the reflected RSSI intensity to the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the total RSSI intensity is greater than a preset intensity threshold, then the environment in which the portable wireless audio system is located is determined to be a closed space; otherwise, the environment in which the portable wireless audio system is located is determined to be an open space.
6. The environmental identification method according to claim 5, characterized in that, If the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has not yet been paired with the mobile terminal, then the second wireless audio device will also send a pairing request message to the mobile terminal to prompt the user of the mobile terminal. If the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has been paired with the mobile terminal, then the second wireless audio device also sends a prompt message to the mobile terminal to notify the user of the mobile terminal.
7. The environmental identification method according to claim 5, characterized in that, The housing is used to house the first wireless audio device and the second wireless audio device within its internal space, and the housing is made of a non-electromagnetic shielding material.
8. The environmental identification method according to claim 5, characterized in that, If the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, then the first wireless audio device emits a prompt tone.
9. A portable wireless audio system, comprising a first wireless audio device, a second wireless audio device, and a receiving device, wherein the receiving device is used to receive the first wireless audio device and the second wireless audio device, characterized in that, The housing device detects whether the first wireless audio device and the second audio device are inside the housing device. If so, it instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI strength calculation. It also instructs the second wireless audio device to transmit the RSSI test signal for the preset duration and instructs the first wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the first direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the first reflected RSSI intensity, wherein the sum of the first direct RSSI intensity and the first reflected RSSI intensity is equal to the first total RSSI intensity. The first wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the second direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the second reflected RSSI intensity, wherein the sum of the second direct RSSI intensity and the second reflected RSSI intensity is equal to the second total RSSI intensity. The first wireless audio device or the second wireless audio device calculates the average of the first total RSSI intensity and the second total RSSI intensity to obtain the average total RSSI intensity, and calculates the average of the first reflected RSSI intensity and the second reflected RSSI intensity to obtain the average reflected RSSI intensity, and calculates the ratio of the average reflected RSSI intensity to the average total RSSI intensity. If the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, then the environment in which the portable wireless audio system is located is determined to be a closed space; otherwise, the environment in which the portable wireless audio system is located is determined to be an open space.
10. The portable wireless audio system according to claim 9, characterized in that, If the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has not yet been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio will also send a pairing request message to the mobile terminal to prompt the user of the mobile terminal. If the ratio is greater than a preset ratio threshold, the average total RSSI intensity is greater than a preset intensity threshold, and the first or second wireless audio device that calculates the ratio has been paired with the mobile terminal, then the first or second wireless audio device that calculates the ratio also sends a prompt message to the mobile terminal.
11. The portable wireless audio system according to claim 9, characterized in that, The housing is used to house the first wireless audio device and the second wireless audio device within its internal space, and the housing is made of a non-electromagnetic shielding material.
12. The portable wireless audio system according to claim 9, characterized in that, If the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, then the first or second wireless audio device that calculates the ratio will emit a prompt tone.
13. A portable wireless audio system, comprising a first wireless audio device, a second wireless audio device, and a receiving device, wherein the receiving device is used to receive the first wireless audio device and the second wireless audio device, characterized in that, The housing device detects whether the first wireless audio device and the second audio device are inside the housing device. If so, it instructs the first wireless audio device to transmit an RSSI test signal for a preset duration and instructs the second wireless audio device to perform RSSI strength calculation. The second wireless audio device obtains the channel state information formed by the RSSI test signal according to the RSSI intensity calculation instruction, and calculates the channel impulse response of the channel state information to obtain the signal energy amplitude corresponding to multiple different times, and selects the largest signal energy amplitude as the direct RSSI intensity, and the sum of the remaining signal energy amplitudes as the reflected RSSI intensity, wherein the sum of the direct RSSI intensity and the reflected RSSI intensity is equal to the total RSSI intensity. The second wireless audio device calculates the ratio of the reflected RSSI intensity to the total RSSI intensity. If the ratio is greater than a preset ratio threshold and the total RSSI intensity is greater than a preset intensity threshold, then the environment in which the portable wireless audio system is located is determined to be a closed space; otherwise, the environment in which the portable wireless audio system is located is determined to be an open space.
14. The portable wireless audio system according to claim 13, characterized in that, If the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has not yet been paired with the mobile terminal, then the second wireless audio device will also send a pairing request message to the mobile terminal to prompt the user of the mobile terminal. If the ratio is greater than a preset ratio threshold and the total RSSI strength is greater than a preset strength threshold, and the second wireless audio device has been paired with the mobile terminal, then the second wireless audio device also sends a prompt message to the mobile terminal to notify the user of the mobile terminal.
15. The portable wireless audio system according to claim 13, characterized in that, The housing is used to house the first wireless audio device and the second wireless audio device within its internal space, and the housing is made of a non-electromagnetic shielding material.
16. The portable wireless audio system according to claim 13, characterized in that, If the ratio is greater than a preset ratio threshold and the average total RSSI intensity is greater than a preset intensity threshold, then the first wireless audio device emits a prompt tone.
17. A computer-readable storage medium storing a computer program, characterized in that, The computer program is executed by a processor as the environmental identification method as described in any one of claims 1-8.