An audio control method and system for an intelligent mattress, and a storage medium
By demarcating areas on the smart mattress and trajectory to control audio playback, combined with the wireless connection of TWS headphones, the problem of low audio control efficiency of existing smart mattresses is solved, improving user experience and control convenience.
Patent Information
- Application Number
- CN202210836466.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-07-15
AI Technical Summary
Existing smart mattresses require users to operate close to buttons when controlling audio, resulting in low control efficiency and poor user experience.
Audio playback is controlled by demarcating the first and second areas on the smart mattress and placing a designated track within the area, wireless connection and audio control are achieved in combination with TWS headsets.
It improves the convenience and efficiency of audio control, improves the user experience, avoids the inconvenience of wired headphones, and enhances the intelligence of smart mattresses.
Smart Images

Figure CN115243143B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent mattresses, and particularly relates to an audio control method and system for an intelligent mattress, and a storage medium. Background Art
[0002] Some intelligent mattresses on the market can not only adjust the softness and hardness according to user needs, but also provide massage for users and play audio for users, thereby improving the sleep quality of users.
[0003] In practice, it is found that when a user on an intelligent mattress needs to control the intelligent mattress to play the next audio or the previous audio, the user often needs to press a corresponding button provided on one side of the intelligent mattress with his hand. When the user on the intelligent mattress is far from one side of the intelligent mattress where the corresponding button is provided, the user has to turn over or get up first, and then press the corresponding button provided on one side of the intelligent mattress with his hand. This not only reduces the control efficiency of the audio of the intelligent mattress, but also reduces the user experience when using the intelligent mattress. Summary of the Invention
[0004] The embodiments of this application disclose an audio control method and system for an intelligent mattress, and a storage medium, which can improve the control efficiency of the audio of the intelligent mattress and the user experience when using the intelligent mattress.
[0005] In a first aspect of the embodiments of this application, an audio control method for an intelligent mattress is disclosed. The intelligent mattress is internally provided with an audio playback device and an intelligent main board. The intelligent mattress is further configured with TWS earphones, and the TWS earphones include a main earphone and a sub-earphone. The method includes:
[0006] When the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub-earphone, the intelligent main board detects a first area and a second area selected on the intelligent mattress;
[0007] The intelligent main board detects a first specified trajectory drawn in the first area, and controls the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone according to the first specified trajectory;
[0008] Alternatively, the intelligent main board detects a second specified trajectory drawn in the second area, and controls the audio playback device to play the audio information of the previous audio file to the main earphone and the sub-earphone according to the second specified trajectory.
[0009] As an optional implementation manner, in the first aspect of the embodiments of this application, after the intelligent main board detects the first area and the second area selected on the intelligent mattress, the method further includes:
[0010] The intelligent main board identifies the immediate status of the main earphone and the immediate status of the sub - earphone;
[0011] When the intelligent main board identifies that the immediate status of the main earphone is the non - worn state while the immediate status of the sub - earphone is the worn state, it activates the trajectory detection function of the first area; or, when it identifies that the immediate status of the main earphone is the worn state while the immediate status of the sub - earphone is the non - worn state, it activates the trajectory detection function of the second area;
[0012] The first specified trajectory detected by the intelligent main board in the first area includes:
[0013] The intelligent main board uses the trajectory detection function of the first area to detect the first specified trajectory swiped by the main earphone in the first area;
[0014] The second specified trajectory detected by the intelligent main board in the second area includes:
[0015] The intelligent main board uses the trajectory detection function of the second area to detect the second specified trajectory swiped by the sub - earphone in the second area.
[0016] As another alternative implementation, in the first aspect of the embodiments of the present application, before the audio playing device plays the audio signal of a certain audio file to the main earphone and the sub - earphone, the method further includes:
[0017] The intelligent main board instructs the main earphone to detect the shape structure of the first ear canal of the ear wearing the main earphone;
[0018] The intelligent main board instructs the sub - earphone to detect the shape structure of the second ear canal of the ear wearing the sub - earphone;
[0019] The intelligent main board, based on the first ear canal shape structure and the second ear canal shape structure, identifies whether the ear wearing the main earphone and the ear wearing the sub - earphone are the two ears of a certain pre - registered user; if so, it determines the default - playing first audio folder corresponding to the certain user;
[0020] The intelligent main board controls the audio playing device to play a certain audio file in the first audio folder to the worn main earphone and the worn sub - earphone.
[0021] As yet another alternative implementation, in the first aspect of the embodiments of the present application, if the intelligent main board, based on the first ear canal shape structure and the second ear shape structure, identifies that the ear wearing the main earphone and the ear wearing the sub - earphone are not the two ears of a certain preset user, then the method further includes:
[0022] The intelligent main board identifies the user level of the first user to whom the ear wearing the main earphone belongs according to the first ear canal shape structure;
[0023] The intelligent main board identifies the user level of the second user to whom the ear wearing the sub-earphone belongs according to the second ear canal shape structure;
[0024] The intelligent main board compares the user level of the first user with the user level of the second user. If it is determined that the user level of the first user is higher than or equal to the user level of the second user, the second audio folder that is default-played corresponding to the first user is determined; and, it is identified whether the second audio folder is configured with a privacy level. If it is not configured with a privacy level, the audio playback device is controlled to play a certain audio file in the second audio folder to the worn main earphone and the worn sub-earphone; or, if the second audio file is configured with a privacy level, the range of the first preset head distance value corresponding to the privacy level configured for the second audio file is determined; wherein, the higher the privacy level configured for the second audio file, the smaller the preset head distance value within the range of the first preset head distance value corresponding to the higher privacy level configured for the second audio file; and, the first instant distance value between the worn main earphone and the worn sub-earphone is obtained as the first instant head distance value between the first user to whom the ear wearing the main earphone belongs and the second user to whom the ear wearing the sub-earphone belongs; it is determined whether the first instant head distance value is within the range of the first preset head distance value. If so, the step of controlling the audio playback device to play a certain audio file in the second audio folder to the worn main earphone and the worn sub-earphone is executed;
[0025] Alternatively, if it is determined that the user level of the first user is lower than that of the second user, determine the third audio folder that is default-played by the second user; and, identify whether the third audio folder is configured with a privacy level. If it is not configured with a privacy level, control the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone; or, if the third audio file is configured with a privacy level, determine the range of the second preset head distance value corresponding to the privacy level configured by the third audio file; wherein, the higher the privacy level configured by the third audio file, the smaller the preset head distance value within the range of the second preset head distance value corresponding to the higher privacy level configured by the third audio file; and, obtain the second instantaneous distance value between the worn main earphone and the worn sub-earphone as the second instantaneous head distance value between the first user to whom the ear wearing the main earphone belongs and the second user to whom the ear wearing the sub-earphone belongs; determine whether the second instantaneous head distance value is within the range of the second preset head distance value. If so, execute the step of controlling the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone.
[0026] A second aspect of the embodiments of the present application discloses an audio control system for an intelligent mattress, including an intelligent mattress, an audio playback device and an intelligent main board are built in the intelligent mattress, and the intelligent mattress is further configured with TWS earphones. The TWS earphones include a main earphone and a sub-earphone, wherein:
[0027] The intelligent main board is used for detecting a first area and a second area selected on the intelligent mattress when the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub-earphone;
[0028] The intelligent main board is further used for detecting a first specified trajectory drawn in the first area, and controlling the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone according to the first specified trajectory;
[0029] Alternatively, the intelligent main board is further used for detecting a second specified trajectory drawn in the second area, and controlling the audio playback device to play the audio information of the previous audio file to the main earphone and the sub-earphone according to the second specified trajectory.
[0030] As an optional implementation manner, in the second aspect of the embodiments of the present application, the intelligent main board is further used for, after the intelligent main board detects the first area and the second area selected on the intelligent mattress, identifying the instantaneous state of the main earphone and the instantaneous state of the sub-earphone;
[0031] The intelligent main board is further configured to activate the trajectory detection function of the first area when it is recognized that the immediate state of the main earphone is the non-wearing state while the immediate state of the secondary earphone is the wearing state; or, activate the trajectory detection function of the second area when it is recognized that the immediate state of the main earphone is the wearing state while the immediate state of the secondary earphone is the non-wearing state;
[0032] The way for the intelligent main board to detect the first specified trajectory drawn in the first area is as follows:
[0033] The intelligent main board uses the trajectory detection function of the first area to detect the first specified trajectory drawn by the main earphone in the first area;
[0034] The way for the intelligent main board to detect the second specified trajectory drawn in the second area is as follows:
[0035] The intelligent main board uses the trajectory detection function of the second area to detect the second specified trajectory drawn by the secondary earphone in the second area.
[0036] As another optional implementation manner, in the second aspect of the embodiments of the present application, the intelligent main board is further configured to, before the audio playback device plays the audio signal of a certain audio file to the main earphone and the secondary earphone, instruct the main earphone to detect the first ear canal shape structure of the ear wearing the main earphone;
[0037] The intelligent main board is further configured to instruct the secondary earphone to detect the second ear canal shape structure of the ear wearing the secondary earphone;
[0038] The intelligent main board is further configured to, according to the first ear canal shape structure and the second ear canal shape structure, identify whether the ear wearing the main earphone and the ear wearing the secondary earphone are the two ears of a certain pre-registered user; if so, determine the first audio folder corresponding to the certain user for default playback;
[0039] The intelligent main board is further configured to control the audio playback device to play a certain audio file in the first audio folder to the worn main earphone and the worn secondary earphone.
[0040] As yet another optional implementation manner, in the second aspect of the embodiments of the present application, if the intelligent main board, according to the first ear canal shape structure and the second ear shape structure, identifies that the ear wearing the main earphone and the ear wearing the secondary earphone are not the two ears of a certain preset user, then:
[0041] The intelligent main board is further configured to, according to the first ear canal shape structure, identify the user level of the first user to which the ear wearing the main earphone belongs;
[0042] The intelligent main board is further configured to identify the user level of the second user to whom the ear wearing the sub - earphone belongs according to the second ear canal shape structure;
[0043] The intelligent main board is further configured to compare the user level of the first user with the user level of the second user. If it is compared that the user level of the first user is higher than or equal to the user level of the second user, determine the second audio folder that is default - played corresponding to the first user; and, identify whether the second audio folder is configured with a privacy level. If it is not configured with a privacy level, control the audio playback device to play a certain audio file in the second audio folder to the worn main earphone and the worn sub - earphone; or, if the second audio file is configured with a privacy level, determine the range of the first preset head - distance value corresponding to the privacy level configured for the second audio file; wherein, the higher the privacy level configured for the second audio file, the smaller the preset head - distance value within the range of the first preset head - distance value corresponding to the higher privacy level configured for the second audio file; and, obtain the first instant distance value between the worn main earphone and the worn sub - earphone as the first instant head - distance value between the first user to whom the ear wearing the main earphone belongs and the second user to whom the ear wearing the sub - earphone belongs; determine whether the first instant head - distance value is within the range of the first preset head - distance value. If so, execute the step of controlling the audio playback device to play a certain audio file in the second audio folder to the worn main earphone and the worn sub - earphone;
[0044] Alternatively, if it is determined that the user level of the first user is lower than that of the second user, determine the third audio folder that is the default playback for the second user; and, identify whether the third audio folder is configured with a privacy level. If it is not configured with a privacy level, control the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone; or, if the third audio file is configured with a privacy level, determine the range of the second preset head distance value corresponding to the privacy level configured for the third audio file; wherein, the higher the privacy level configured for the third audio file, the smaller the preset head distance value within the range of the second preset head distance value corresponding to the higher privacy level configured for the third audio file; and, obtain the second instantaneous distance value between the worn main earphone and the worn sub-earphone as the second instantaneous head distance value between the first user to whom the ear wearing the main earphone belongs and the second user to whom the ear wearing the sub-earphone belongs; determine whether the second instantaneous head distance value is within the range of the second preset head distance value. If so, execute the step of controlling the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone.
[0045] A third aspect of the embodiments of the present application discloses a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the audio control method of the intelligent mattress in the first aspect of the embodiments of the present application or any optional implementation manner of the first aspect of the embodiments of the present application are implemented.
[0046] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0047] In the embodiments of the present application, for a user on the intelligent mattress, the user only needs to select a first area and a second area on the intelligent mattress, and draw a first specified trajectory in the first area to control the intelligent mattress to play the next audio to the main and sub-headphones, or draw a second specified trajectory in the second area to control the intelligent mattress to play the previous audio to the main and sub-headphones. It can be seen that by implementing the embodiments of the present application, even if the user on the intelligent mattress is far from a certain side of the intelligent mattress provided with corresponding buttons, there is no need to first turn over or get up and then press the corresponding button provided on a certain side of the intelligent mattress with the hand. The user only needs to draw a first specified trajectory in the selected first area or draw a second specified trajectory in the selected second area to quickly and conveniently control the audio of the intelligent mattress, thereby improving the control efficiency of the audio of the intelligent mattress and enhancing the user experience when using the intelligent mattress. In addition, in the embodiments of the present application, the audio signal corresponding to the audio file played by the audio playback device is output through the main headphone and the sub-headphone included in the TWS headphone, which not only eliminates the need to open a headphone jack on the intelligent mattress, but also avoids the inconvenience brought by wired headphones to the user on the intelligent mattress. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0049] Figure 1 is a schematic flowchart of the first embodiment of the audio control method for an intelligent mattress disclosed in the embodiments of the present application;
[0050] Figure 2 is a scene diagram of the intelligent mattress detecting the first area selected on the intelligent mattress disclosed in the embodiments of the present application;
[0051] Figure 3 is a scene diagram of the intelligent mattress detecting the second area selected on the intelligent mattress disclosed in the embodiments of the present application;
[0052] Figure 4 is a schematic flowchart of the second embodiment of the audio control method for an intelligent mattress disclosed in the embodiments of the present application;
[0053] Figure 5 is a first scene diagram of the intelligent mattress during audio control disclosed in the embodiments of the present application;
[0054] Figure 6 is a second scene diagram of the intelligent mattress during audio control disclosed in the embodiments of the present application;
[0055] Figure 7 It is a schematic flowchart of the third embodiment of the audio control method of the intelligent mattress disclosed in the embodiments of the present application;
[0056] Figure 8 It is a schematic architecture diagram of the audio control system of the intelligent mattress disclosed in the embodiments of the present application. Detailed implementation manners
[0057] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0058] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0059] The embodiments of the present application disclose an audio control method, system and storage medium for an intelligent mattress, which can improve the control efficiency of the audio of the intelligent mattress and enhance the user experience when using the intelligent mattress. The following will be described in detail in conjunction with the accompanying drawings.
[0060] Please refer to Figure 1 , Figure 1 It is a schematic flowchart of the first embodiment of the audio control method of the intelligent mattress disclosed in the embodiments of the present application. In the audio control method of the intelligent mattress shown in Figure 1 , the intelligent mattress is built-in with an audio playback device and an intelligent main board, and the intelligent mattress is also configured with True Wireless Stereo (TWS) headphones. The TWS headphones include a main headphone and a sub-headphone. The main headphone and the sub-headphone are generally loaded in the headphone case when not in use. When the main headphone and the sub-headphone are needed, the main headphone and the sub-headphone can be taken out of the headphone case. After the main headphone and the sub-headphone are taken out and powered on, the two can automatically establish a first-stage wireless connection (such as a Bluetooth connection). Further, the main headphone can also establish a second-stage wireless connection with the audio playback device. As shown in Figure 1 , the audio control method of the intelligent mattress may include the following steps:
[0061] 101. When the intelligent main board plays the audio signal of a certain audio file to the main earphone and the sub - earphone of the audio playback device, it detects the first area and the second area selected on the intelligent mattress.
[0062] In some embodiments, when the user on the intelligent mattress wears the main earphone and the sub - earphone to listen to the audio signal of a certain audio file played by the audio playback device to the main earphone and the sub - earphone, one hand (such as the left hand) of the user can select (such as double - hammer strike) an area that the hand (such as the left hand) can directly touch from several areas divided on the upper surface of the intelligent mattress as the first area, and the first area is on the same side (such as the left side) of the user as this hand (such as the left hand); and, the other hand (such as the right hand) can select (such as double - hammer strike) another area that the other hand (such as the right hand) can directly touch from several areas divided on the upper surface of the intelligent mattress as the second area, and the second area is on the other side (such as the right side) of the user as the other hand (such as the right hand), so that when the intelligent main board plays the audio signal of a certain audio file to the main earphone and the sub - earphone, it can detect the first area and the second area selected on the intelligent mattress.
[0063] In other embodiments, when the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub - earphone, the user on the intelligent mattress can wear the sub - earphone on one ear and remove the main earphone from the other ear, and use the removed main earphone to touch an area among several areas divided on the upper surface of the intelligent mattress, so that when the intelligent main board plays the audio signal of a certain audio file to the main earphone and the sub - earphone, it reads the unique identifier of the main earphone through the touch - reading method, and takes the area touched by the main earphone as the first area; and, when the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub - earphone, the user on the intelligent mattress can wear the main earphone on one ear and remove the sub - earphone from the other ear, and use the removed sub - earphone to touch another area among several areas divided on the upper surface of the intelligent mattress, so that when the intelligent main board plays the audio signal of a certain audio file to the main earphone and the sub - earphone, it reads the unique identifier of the sub - main earphone through the touch - reading method, and takes the area touched by the sub - earphone as the second area. Among them, implementing this embodiment enables the intelligent main board to accurately detect the first area selected by the main earphone and the second area selected by the sub - earphone on the intelligent mattress when the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub - earphone.
[0064] Please refer to Figure 2 , Figure 2 which is a scene diagram of the intelligent mattress disclosed in the embodiment of the present application detecting the first area selected on the intelligent mattress. As Figure 2As shown, the upper surface of the intelligent mattress is divided into several regions (represented by squares). When the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub-earphone, the user on the intelligent mattress can wear the sub-earphone on one ear and remove the main earphone from the other ear, and use the removed main earphone to touch a region A1 among the several regions divided on the upper surface of the intelligent mattress, so that the intelligent main board can read the unique identifier of the main earphone through the touch reading method when the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub-earphone, and use the region A1 touched by the main earphone as the first region.
[0065] Please refer to Figure 3 , Figure 3 is a scene diagram of the intelligent mattress disclosed in the embodiment of the present application detecting the second region selected on the intelligent mattress. As Figure 3 shown, the upper surface of the intelligent mattress is divided into several regions (represented by squares). When the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub-earphone, the user on the intelligent mattress can wear the main earphone on one ear and remove the sub-earphone from the other ear, and use the removed sub-earphone to touch another region A2 among the several regions divided on the upper surface of the intelligent mattress, so that the intelligent main board can read the unique identifier of the sub-main earphone through the touch reading method when the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub-earphone, and use the another region A2 touched by the sub-earphone as the second region.
[0066] 102. The intelligent main board detects the first specified trajectory drawn in the first region, and controls the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone according to the first specified trajectory; or, detects the second specified trajectory drawn in the second region, and controls the audio playback device to play the audio information of the previous audio file to the main earphone and the sub-earphone according to the second specified trajectory.
[0067] Among them, the first specified trajectory and the second specified trajectory may be the same or different, and the embodiments of the application do not make a limitation. Exemplarily, both the first specified trajectory and the second specified trajectory may be triangles, or the first specified trajectory is a triangle while the second specified trajectory is a ring.
[0068] It can be seen that in Figure 1In the audio control method of the intelligent mattress shown, even if the user on the intelligent mattress is far from one side of the intelligent mattress where the corresponding button is provided, there is no need to turn over or get up first and then press the corresponding button provided on one side of the intelligent mattress with the hand. Just draw a first specified trajectory in the selected first area or draw a second specified trajectory in the selected second area to quickly and conveniently control the audio of the intelligent mattress, thereby improving the control efficiency of the audio of the intelligent mattress and enhancing the user experience when using the intelligent mattress. In addition, in Figure 1 In the audio control method of the intelligent mattress shown, the audio signal corresponding to the audio file played by the audio playback device is output through the main earphone and the sub-earphone included in the TWS earphone, which can not only save the trouble of opening a headphone jack on the intelligent mattress, but also avoid the inconvenience brought by wired earphones to the users on the intelligent mattress.
[0069] Please refer to Figure 4 , Figure 4 which is a schematic flowchart of the second embodiment of the audio control method of the intelligent mattress disclosed in the embodiments of the present application. In Figure 4 In the audio control method of the intelligent mattress shown, the intelligent mattress is built-in with an audio playback device and an intelligent main board, and the intelligent mattress is also configured with a TWS earphone. The TWS earphone includes a main earphone and a sub-earphone. After the main earphone and the sub-earphone are powered on, they can automatically establish a wireless connection in the first stage (such as a Bluetooth connection). Further, the main earphone can also establish a wireless connection with the audio playback device in the second stage. As Figure 4 shown, the audio control method of the intelligent mattress may include the following steps:
[0070] 401. When the intelligent main board detects that the audio signal of a certain audio file is played by the audio playback device to the main earphone and the sub-earphone, it detects the first area and the second area selected on the intelligent mattress.
[0071] Among them, the implementation manner of the above step 401 has been illustrated by examples in the previous embodiments and will not be elaborated here.
[0072] 402. The intelligent main board identifies the immediate status of the main earphone and the immediate status of the sub-earphone. If it is identified that the immediate status of the main earphone is the non-wearing state and the immediate status of the sub-earphone is the wearing state, steps 403 to 405 are executed; if it is identified that the immediate status of the main earphone is the wearing state and the immediate status of the sub-earphone is the non-wearing state, steps 406 to 408 are executed.
[0073] Among them, when the main and sub-earphones output the audio signal of a certain audio file played by the audio playback device, they can send the immediate status of the main and sub-earphones to the intelligent main board in real time; among them, the immediate status of the main earphone can be the wearing state or the non-wearing state, and the immediate status of the sub-earphone can be the wearing state or the non-wearing state.
[0074] 403. The intelligent main board activates the trajectory detection function in the first area.
[0075] Exemplarily, the trajectory detection function in the first area can be implemented by a film-type sensor array laid under the first area.
[0076] 404. The intelligent main board uses the trajectory detection function in the first area to detect the first specified trajectory drawn by the main earphone in the first area.
[0077] In some embodiments, the intelligent main board uses the trajectory detection function in the first area to detect the first specified trajectory drawn by the main earphone in the first area, including:
[0078] The intelligent main board uses the trajectory detection function in the first area to detect each trajectory point drawn in the first area;
[0079] The intelligent main board determines whether the unique identifier of the main earphone is read by the touch reading method for each trajectory point among the trajectory points drawn in the first area; if so, the trajectory formed by connecting the trajectory points drawn in the first area is determined as the first specified trajectory drawn by the main earphone in the first area.
[0080] Among them, implementing the above embodiments can accurately detect the first specified trajectory drawn by the main earphone in the first area, and then can accurately control the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone.
[0081] 405. The intelligent main board controls the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone according to the first specified trajectory, and ends this process.
[0082] Please refer to Figure 5 , Figure 5 which is the first scene diagram during the audio control of the intelligent mattress disclosed in the embodiments of the present application. As Figure 5 shown, the intelligent main board recognizes that the immediate state of the main earphone is the non-wearing state and the immediate state of the sub-earphone is the wearing state, activates the trajectory detection function in the first area A1 selected by the main earphone on the intelligent mattress, uses the trajectory detection function in the first area to detect the first specified trajectory (such as a triangle) drawn by the main earphone in the first area, and accurately controls the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone according to the first specified trajectory.
[0083] 406. The intelligent main board activates the trajectory detection function in the second area.
[0084] Exemplarily, the trajectory detection function in the second area can be implemented by a film-type sensor array laid under the second area.
[0085] 407. The intelligent main board uses the trajectory detection function of the second area to detect the second specified trajectory drawn by the sub-headphone in the second area.
[0086] In some embodiments, the intelligent main board uses the trajectory detection function of the second area to detect the second specified trajectory drawn by the sub-headphone in the second area, including:
[0087] The intelligent main board uses the trajectory detection function of the second area to detect each trajectory point drawn in the second area;
[0088] The intelligent main board determines whether the unique identifier of the sub-headphone is read by the touch reading method for each trajectory point among the trajectory points drawn in the second area; if so, the second trajectory formed by connecting the trajectory points drawn in the second area is determined as the second specified trajectory drawn by the sub-headphone in the second area.
[0089] Among them, implementing the above embodiments can accurately detect the second specified trajectory drawn by the sub-headphone in the second area, and then can accurately control the audio playback device to play the audio signal of the previous audio file to the main headphone and the sub-headphone.
[0090] 408. The intelligent main board controls the audio playback device to play the audio signal of the previous audio file to the main headphone and the sub-headphone according to the second specified trajectory, and ends this process.
[0091] Please refer to Figure 6 , Figure 6 which is the second scenario diagram during the audio control of the intelligent mattress disclosed in the embodiments of this application. As Figure 6 shown, the intelligent main board recognizes that the immediate state of the main headphone is the worn state while the immediate state of the sub-headphone is the non-worn state, and activates the trajectory detection function of the second area A2 selected by the sub-headphone on the intelligent mattress, and uses the trajectory detection function of the second area to detect the second specified trajectory (such as a ring) drawn by the sub-headphone in the second area, and accurately controls the audio playback device to play the audio signal of the second audio file to the main headphone and the sub-headphone according to the second specified trajectory.
[0092] It can be seen that implementing Figure 4 the audio control method of the intelligent mattress shown not only can improve the control efficiency of the audio of the intelligent mattress and enhance the user experience when using the intelligent mattress, but also can improve the accuracy when controlling the audio of the intelligent mattress; in addition, implementing Figure 4 the audio control method of the intelligent mattress shown enables the audio signal corresponding to the audio file played by the audio playback device to be output through the main headphone and the sub-headphone included in the TWS headset, which can not only save the trouble of opening a headphone jack on the intelligent mattress, but also avoid the inconvenience brought to the user on the intelligent mattress by the wired headset.
[0093] Please refer to Figure 7 , Figure 7 which is a schematic flowchart of the third embodiment of the audio control method for the intelligent mattress disclosed in the embodiments of the present application. In Figure 7 the audio control method for the intelligent mattress shown in Figure 7 , the intelligent mattress is built-in with an audio playback device and an intelligent main board, and the intelligent mattress is also configured with TWS earphones. The TWS earphones include a main earphone and a sub-earphone. After the main earphone and the sub-earphone are powered on, they can automatically establish a wireless connection in the first stage (such as a Bluetooth connection). Further, the main earphone can also establish a wireless connection with the audio playback device in the second stage. As
[0094] 701. The intelligent main board instructs the main earphone to detect the shape structure of the first ear canal of the ear wearing the main earphone; and instructs the sub-earphone to detect the shape structure of the second ear canal of the ear wearing the sub-earphone.
[0095] Among them, the main earphone can, according to the instruction of the intelligent main board, emit a detection signal to detect the shape structure of the first ear canal of the ear wearing the main earphone; and the sub-earphone can, according to the instruction of the intelligent main board, emit a detection signal to detect the shape structure of the second ear canal of the ear wearing the sub-earphone.
[0096] 702. The intelligent main board identifies whether the ear wearing the main earphone and the ear wearing the sub-earphone are the two ears of a certain pre-registered user according to the shape structure of the first ear canal and the shape structure of the second ear canal; if so, execute step 703; if not, execute steps 704 to 705.
[0097] 703. The intelligent main board determines the first audio folder corresponding to the default playback of the above-mentioned certain user, and controls the audio playback device to play a certain audio file in the first audio folder to the worn main earphone and the worn sub-earphone, and execute steps 712 to 713.
[0098] Among them, when a certain user on the intelligent mattress wears the main earphone and the sub-earphone and the above steps 701 to 703 are implemented, the intelligent main board can actively play a certain audio file in the first audio folder corresponding to the default playback of the user to the main and sub-earphones. For example, a certain audio file can be the audio file with the most playback times in the first audio folder, so that the user wearing the main and sub-earphones can quickly listen to the audio file in the first audio folder corresponding to the default playback of the user, improving the user experience.
[0099] 704. The intelligent main board identifies the user level of the first user to whom the ear wearing the main earphone belongs according to the first ear canal shape structure; and identifies the user level of the second user to whom the ear wearing the sub-earphone belongs according to the second ear canal shape structure.
[0100] Exemplarily, the second user may be a family member or partner of the first user.
[0101] 705. The intelligent main board compares the user level of the first user with the user level of the second user. If it is compared that the user level of the first user is higher than or equal to the user level of the second user, steps 706 to 707 are executed; if it is compared that the user level of the first user is lower than the user level of the second user, steps 709 to 710 are executed.
[0102] 706. The intelligent main board determines the second audio folder that is default-played for the first user.
[0103] 707. The intelligent main board identifies whether the second audio folder is configured with a privacy level. If it is not configured with a privacy level, step 708 is executed.
[0104] In some embodiments, if the second audio file is configured with a privacy level, a first preset head distance value range corresponding to the privacy level configured for the second audio file is determined; wherein, the higher the privacy level configured for the second audio file, the smaller the preset head distance value within the first preset head distance value range corresponding to the higher privacy level configured for the second audio file; and, the first instant distance value between the worn main earphone and the worn sub-earphone is obtained as the first instant head distance value between the first user to whom the ear wearing the main earphone belongs and the second user to whom the ear wearing the sub-earphone belongs; it is judged whether the first instant head distance value is within the first preset head distance value range. If so, step 708 is executed; otherwise, this process ends.
[0105] Among them, when implementing this embodiment, the closer the heads of the first user (such as a boyfriend) wearing the main earphone and the second user (such as a girlfriend) wearing the sub-earphone are, the greater the probability that the audio file in the second audio folder with a greater privacy level that is default-played for the first user is played by the audio playback device. This not only increases the playback probability of the audio file in the second audio folder with a greater privacy level that is default-played for the first user, but also helps to promote the affection between the first user (such as a boyfriend) and the second user (such as a girlfriend). In addition, the closer the heads of the first user (such as a boyfriend) wearing the main earphone and the second user (such as a girlfriend) wearing the sub-earphone are, the lower the risk that the second user leaks the audio file in the second audio folder with a greater privacy level that is default-played for the first user to other users when the first user is not paying attention.
[0106] 708. The intelligent main board controls the audio playback device to play a certain audio file in the second audio folder to the worn main earphone and the worn sub-earphone, and executes steps 712 to 713.
[0107] In some embodiments, the intelligent main board controls the audio playback device to play a certain audio file in the second audio folder to the worn main earphone and the worn sub-earphone, including:
[0108] The intelligent main board identifies whether the second audio folder is configured with a specified EQ sound effect; if there is no specified EQ sound effect, the intelligent main board controls the audio playback device to play a certain audio file in the second audio folder to the worn main earphone and the worn sub-earphone according to the default sound effect; if there is a specified EQ sound effect, the intelligent main board controls the audio playback device to play a certain audio file in the second audio folder to the worn main earphone and the worn sub-earphone according to the specified EQ sound effect.
[0109] Exemplarily, the specified EQ sound effect may include any one of 3D-HiFi, clear vocals, BASS&Hip pop, and theater surround EQ sound effects.
[0110] Among them, implementing the above embodiments can improve the experience of the first user wearing the main earphone.
[0111] 709. The intelligent main board then determines the third audio folder that is default-played for the second user.
[0112] 710. The intelligent main board identifies whether the third audio folder is configured with a privacy level. If it is not configured with a privacy level, step 711 is executed.
[0113] In some embodiments, if the third audio file is configured with a privacy level, the range of the second preset head distance value corresponding to the privacy level configured for the third audio file is determined; among them, the higher the privacy level configured for the third audio file, the smaller the preset head distance value within the range of the second preset head distance value corresponding to the higher privacy level configured for the third audio file; and, the second instant distance value between the worn main earphone and the worn sub-earphone is obtained as the second instant head distance value between the first user to whom the ear wearing the main earphone belongs and the second user to whom the ear wearing the sub-earphone belongs; it is judged whether the second instant head distance value is within the range of the second preset head distance value. If so, step 711 is executed.
[0114] Among them, when implementing this embodiment, the closer the heads of the first user (such as a boyfriend) wearing the main earphone and the second user (such as a girlfriend) wearing the sub-earphone are to each other, the greater the probability that the audio file in the third audio folder with a higher privacy level that is default-played by the second user will be played by the audio playback device. This not only increases the playback probability of the audio files in the third audio folder with a higher privacy level that are default-played by the second user, but also helps to promote the affection between the first user (such as a boyfriend) and the second user (such as a girlfriend). In addition, the closer the heads of the first user (such as a boyfriend) wearing the main earphone and the second user (such as a girlfriend) wearing the sub-earphone are to each other, the lower the risk that the first user will disclose the audio files in the third audio folder with a higher privacy level that are default-played by the second user to other users when the second user is not paying attention.
[0115] 711. The intelligent main board controls the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone, and executes steps 712 to 713.
[0116] In some embodiments, the intelligent main board controls the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone, including:
[0117] The intelligent main board identifies whether the third audio folder is configured with a specified EQ sound effect; if there is no specified EQ sound effect, the intelligent main board controls the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone according to the default sound effect; if there is a specified EQ sound effect, the intelligent main board controls the audio playback device to play a certain audio file in the third audio folder to the worn main earphone and the worn sub-earphone according to the specified EQ sound effect.
[0118] Exemplarily, the specified EQ sound effect may include any one of 3D-HiFi, clear vocals, BASS&Hip pop, and cinema surround.
[0119] Among them, implementing the above embodiment can improve the experience of the second user wearing the sub-earphone.
[0120] 712. When the intelligent main board detects the audio signal of playing a certain audio file to the main earphone and the sub-earphone, it detects the selected first area and second area on the intelligent mattress.
[0121] 713. The intelligent main board identifies the immediate status of the main earphone and the immediate status of the sub-earphone. If it is identified that the immediate status of the main earphone is the non-wearing state while the immediate status of the sub-earphone is the wearing state, steps 714 to 716 are executed; if it is identified that the immediate status of the main earphone is the wearing state while the immediate status of the sub-earphone is the non-wearing state, steps 717 to 719 are executed.
[0122] 714. The intelligent main board activates the trajectory detection function in the first area.
[0123] 715. The intelligent main board uses the trajectory detection function in the first area to detect the first specified trajectory drawn by the main earphone in the first area.
[0124] Among them, the implementation method of step 715 can refer to step 404 above and will not be elaborated here.
[0125] 716. The intelligent main board controls the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone according to the first specified trajectory, and ends this process.
[0126] In some embodiments, if the audio signal of the next audio file played by the audio playback device to the main earphone and the sub-earphone is the audio signal of the audio file in the second audio folder (which can be configured with a privacy level) that is default-played by the first user, the intelligent main board can query from the historical record whether the first user enjoyed the massage corresponding to a certain mode provided by the intelligent mattress when listening to the audio signal of the next audio file last time. If so, it controls the intelligent mattress to provide the massage corresponding to this mode to the first user and the second user. Among them, this mode can be any one of the four modes: stretching mode, twisting mode, revitalizing mode or relaxation mode. Implementing this embodiment can eliminate the need for the first user to manually control the intelligent mattress to provide the massage corresponding to this mode, improve the experience of the first user using the intelligent mattress, and improve the intelligence level of the intelligent mattress.
[0127] In other embodiments, if the audio signal of the next audio file played by the audio playback device to the main earphone and the sub-earphone is the audio signal of the audio file in the third audio folder (which can be configured with a privacy level) that is default-played by the second user, the intelligent main board can query from the historical record whether the second user enjoyed the massage corresponding to a certain mode provided by the intelligent mattress when listening to the audio signal of the next audio file last time. If so, it controls the intelligent mattress to provide the massage corresponding to this mode to the second user and the first user. Among them, this mode can be any one of the four modes: stretching mode, twisting mode, revitalizing mode or relaxation mode. Implementing this embodiment can eliminate the need for the second user to manually control the intelligent mattress to provide the massage corresponding to this mode, improve the experience of the second user using the intelligent mattress, and improve the intelligence level of the intelligent mattress.
[0128] 717. The intelligent main board activates the trajectory detection function in the second area.
[0129] 718. The intelligent main board uses the trajectory detection function in the second area to detect a second specified trajectory drawn by the secondary earphone in the second area.
[0130] Among them, the implementation method of step 718 can refer to the above step 407 and will not be elaborated here.
[0131] 719. The intelligent main board controls the audio playback device to play the audio signal of the previous audio file to the main earphone and the secondary earphone according to the second specified trajectory, and ends this process.
[0132] In some embodiments, if the audio signal of the previous audio file played by the audio playback device to the main earphone and the secondary earphone is the audio signal of the audio file in the second audio folder (which can be configured with a privacy level) that is the default playback for the first user, the intelligent main board can query from the historical record whether the first user enjoyed the massage corresponding to a certain mode provided by the intelligent mattress when listening to the audio signal of the previous audio file last time. If so, it controls the intelligent mattress to provide the massage corresponding to this mode to the first user and the second user. Among them, this mode can be any one of the four modes: stretching mode, twisting mode, revitalizing mode, or relaxation mode. Implementing this embodiment can save the first user from manually controlling the intelligent mattress to provide the massage corresponding to this mode, improve the experience of the first user using the intelligent mattress, and enhance the intelligence level of the intelligent mattress.
[0133] In other embodiments, if the audio signal of the previous audio file played by the audio playback device to the main earphone and the secondary earphone is the audio signal of the audio file in the third audio folder (which can be configured with a privacy level) that is the default playback for the second user, the intelligent main board can query from the historical record whether the second user enjoyed the massage corresponding to a certain mode provided by the intelligent mattress when listening to the audio signal of the previous audio file last time. If so, it controls the intelligent mattress to provide the massage corresponding to this mode to the second user and the first user. Among them, this mode can be any one of the four modes: stretching mode, twisting mode, revitalizing mode, or relaxation mode. Implementing this embodiment can save the second user from manually controlling the intelligent mattress to provide the massage corresponding to this mode, improve the experience of the second user using the intelligent mattress, and enhance the intelligence level of the intelligent mattress.
[0134] It can be seen that implementing Figure 7 the audio control method of the intelligent mattress shown can not only improve the control efficiency of the audio of the intelligent mattress and enhance the user experience when using the intelligent mattress, but also improve the accuracy when controlling the audio of the intelligent mattress; in addition, implementing Figure 7The audio control method of the intelligent mattress shown enables the audio signal corresponding to the audio file played by the audio playback device to be output through the main earphone and the sub-earphone included in the TWS earphone. This not only eliminates the need to open an earphone jack on the intelligent mattress but also avoids the inconvenience brought by wired earphones to the users on the intelligent mattress.
[0135] Please refer to Figure 8 , Figure 8 which is a schematic diagram of the architecture of the audio control system of the intelligent mattress disclosed in the embodiments of the present application. As Figure 8 shown, the audio control system of the intelligent mattress includes an intelligent mattress 801. The intelligent mattress 801 is built-in with an audio playback device 802 and an intelligent main board 803. The intelligent mattress 801 is also configured with a TWS earphone, and the TWS earphone includes a main earphone 804 and a sub-earphone 805. The main earphone 804 and the sub-earphone 805 automatically establish a wireless communication connection (such as a Bluetooth connection) when powered on. Among them:
[0136] The intelligent main board 803 is used to detect the first area and the second area selected on the intelligent mattress 801 when the audio playback device 802 plays the audio signal of a certain audio file to the main earphone 804 and the sub-earphone 805;
[0137] The intelligent main board 803 is also used to detect the first specified trajectory drawn in the first area and control the audio playback device 802 to play the audio signal of the next audio file to the main earphone 804 and the sub-earphone 805 according to the first specified trajectory;
[0138] Or, the intelligent main board 803 is also used to detect the second specified trajectory drawn in the second area and control the audio playback device 802 to play the audio information of the previous audio file to the main earphone 804 and the sub-earphone 805 according to the second specified trajectory.
[0139] In some embodiments, the intelligent main board 803 is also used to identify the immediate status of the main earphone 804 and the immediate status of the sub-earphone 805 after the intelligent main board 803 detects the first area and the second area selected on the intelligent mattress 801;
[0140] The intelligent main board 803 is also used to start the trajectory detection function of the first area when it is identified that the immediate status of the main earphone 804 is the non-wearing state while the immediate status of the sub-earphone 805 is the wearing state; or start the trajectory detection function of the second area when it is identified that the immediate status of the main earphone 804 is the wearing state while the immediate status of the sub-earphone 805 is the non-wearing state;
[0141] In some embodiments, the way for the intelligent main board 803 to detect the first specified trajectory drawn in the first area is:
[0142] The intelligent main board 803 detects a first specified trajectory drawn by the main earphone 804 in the first area by using the trajectory detection function of the first area.
[0143] In some embodiments, the way for the intelligent main board 803 to detect a second specified trajectory drawn in the second area is as follows:
[0144] The intelligent main board 803 detects a second specified trajectory drawn by the auxiliary earphone 805 in the second area by using the trajectory detection function of the second area.
[0145] In some embodiments, the way for the intelligent main board 803 to detect a first specified trajectory drawn by the main earphone 804 in the first area by using the trajectory detection function of the first area is as follows:
[0146] The intelligent main board 803 uses the trajectory detection function of the first area to detect each trajectory point drawn in the first area; and determines whether the unique identifier of the main earphone 804 is read by the touch reading method for each trajectory point among the trajectory points drawn in the first area; if so, determines the trajectory formed by connecting the trajectory points drawn in the first area as the first specified trajectory drawn by the main earphone 804 in the first area.
[0147] In some embodiments, the way for the intelligent main board 803 to detect a second specified trajectory drawn by the auxiliary earphone 805 in the second area by using the trajectory detection function of the second area is as follows:
[0148] The intelligent main board 803 uses the trajectory detection function of the second area to detect each trajectory point drawn in the second area; and determines whether the unique identifier of the auxiliary earphone 805 is read by the touch reading method for each trajectory point among the trajectory points drawn in the second area; if so, determines the second trajectory formed by connecting the trajectory points drawn in the second area as the second specified trajectory drawn by the auxiliary earphone 805 in the second area.
[0149] In some embodiments, the intelligent main board 803 is further configured to, before the audio playback device 802 plays the audio signal of a certain audio file to the main earphone 804 and the auxiliary earphone 805, instruct the main earphone 804 to detect the shape structure of the first ear canal of the ear wearing the main earphone 804;
[0150] The intelligent main board 803 is further configured to instruct the auxiliary earphone 805 to detect the shape structure of the second ear canal of the ear wearing the auxiliary earphone 805;
[0151] The intelligent main board 803 is further configured to, based on the shape structure of the first ear canal and the shape structure of the second ear canal, identify whether the ear wearing the main earphone 804 and the ear wearing the auxiliary earphone 805 are the two ears of a certain pre-registered user; if so, determine the first audio folder corresponding to the default playback of the user;
[0152] The intelligent main board 803 is also used to control the audio playback device 802 to play a certain audio file in the first audio folder to the worn main earphone 804 and the worn sub-earphone 805.
[0153] In some embodiments, if the intelligent main board 803 identifies, based on the first ear canal shape structure and the second ear shape structure, that the ear wearing the main earphone 804 and the ear wearing the sub-earphone 805 are not the two ears of a certain preset user, then:
[0154] The intelligent main board 803 identifies the user level of the first user to whom the ear wearing the main earphone 804 belongs based on the first ear canal shape structure;
[0155] The intelligent main board 803 identifies the user level of the second user to whom the ear wearing the sub-earphone 805 belongs based on the second ear canal shape structure;
[0156] The intelligent main board 803 compares the user level of the first user with the user level of the second user. If it is compared that the user level of the first user is higher than or equal to the user level of the second user, then the default-played second audio folder corresponding to the first user is determined; and, it is identified whether the second audio folder is configured with a privacy level. If it is not configured with a privacy level, then the audio playback device 802 is controlled to play a certain audio file in the second audio folder to the worn main earphone 804 and the worn sub-earphone 805; or, if the second audio file is configured with a privacy level, then the range of the first preset head distance value corresponding to the privacy level configured by the second audio file is determined; wherein, the higher the privacy level configured by the second audio file, the smaller the preset head distance value within the range of the first preset head distance value corresponding to the higher privacy level configured by the second audio file; and, the first instant distance value between the worn main earphone 804 and the worn sub-earphone 805 is obtained as the first instant head distance value between the first user to whom the ear wearing the main earphone 804 belongs and the second user to whom the ear wearing the sub-earphone 805 belongs; it is determined whether the first instant head distance value is within the range of the first preset head distance value. If so, the step of controlling the audio playback device 802 to play a certain audio file in the second audio folder to the worn main earphone 804 and the worn sub-earphone 805 is executed;
[0157] Alternatively, if it is determined that the user level of the first user is lower than that of the second user, determine the third audio folder that is default-played by the second user; and, identify whether the third audio folder is configured with a privacy level. If it is not configured with a privacy level, control the audio playback device 802 to play a certain audio file in the third audio folder to the worn main earphone 804 and the worn secondary earphone 805; or, if the third audio file is configured with a privacy level, determine the range of the second preset head distance value corresponding to the privacy level configured by the third audio file; wherein, the higher the privacy level configured by the third audio file, the smaller the preset head distance value within the range of the second preset head distance value corresponding to the higher privacy level configured by the third audio file; and, obtain the second instant distance value between the worn main earphone 804 and the worn secondary earphone 805 as the second instant head distance value between the first user to whom the ear wearing the main earphone 804 belongs and the second user to whom the ear wearing the secondary earphone 805 belongs; determine whether the second instant head distance value is within the range of the second preset head distance value. If so, execute the above step of controlling the audio playback device 802 to play a certain audio file in the third audio folder to the worn main earphone 804 and the worn secondary earphone 805.
[0158] It can be seen that implementing Figure 8 the audio control system of the intelligent mattress shown not only can improve the control efficiency of the audio of the intelligent mattress and enhance the user experience when using the intelligent mattress, but also can improve the accuracy when controlling the audio of the intelligent mattress; in addition, implementing Figure 8 the audio control system of the intelligent mattress shown enables the audio signal corresponding to the audio file played by the audio playback device to be output through the main earphone and the secondary earphone included in the TWS earphone, which can not only save the trouble of opening an earphone jack on the intelligent mattress, but also avoid the inconvenience brought by wired earphones to the users on the intelligent mattress.
[0159] The embodiment of the present application further discloses a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, all or part of the steps in the foregoing method embodiments are implemented.
[0160] The above has introduced in detail an audio control method and system, and a storage medium of an intelligent mattress disclosed in the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the application.
Claims
1. An audio control method for an intelligent mattress, the intelligent mattress being built-in with an audio playback device and an intelligent main board, characterized in that, The intelligent mattress is also configured with TWS earphones, and the TWS earphones include a main earphone and a sub-earphone. The method includes: When the audio playback device plays the audio signal of a certain audio file to the main earphone and the sub-earphone, the intelligent main board detects the first area and the second area selected on the intelligent mattress; The intelligent main board detects the first specified trajectory drawn in the first area, and controls the audio playback device to play the audio signal of the next audio file to the main earphone and the sub-earphone according to the first specified trajectory; Alternatively, the intelligent main board detects the second specified trajectory drawn in the second area, and controls the audio playback device to play the audio information of the previous audio file to the main earphone and the sub-earphone according to the second specified trajectory; After the intelligent main board detects the first area and the second area selected on the intelligent mattress, the method further includes: The intelligent main board identifies the immediate state of the main earphone and the immediate state of the sub-earphone; When the intelligent main board identifies that the immediate state of the main earphone is the non-wearing state and the immediate state of the sub-earphone is the wearing state, it activates the trajectory detection function of the first area; or, when it identifies that the immediate state of the main earphone is the wearing state and the immediate state of the sub-earphone is the non-wearing state, it activates the trajectory detection function of the second area; The intelligent main board detecting the first specified trajectory drawn in the first area includes: The intelligent main board uses the trajectory detection function of the first area to detect the first specified trajectory drawn by the main earphone in the first area; The intelligent main board detecting the second specified trajectory drawn in the second area includes: The intelligent main board uses the trajectory detection function of the second area to detect the second specified trajectory drawn by the sub-earphone in the second area; The intelligent main board using the trajectory detection function of the first area to detect the first specified trajectory drawn by the main earphone in the first area includes: The intelligent main board uses the trajectory detection function of the first area to detect each trajectory point drawn in the first area; The intelligent main board determines whether each trajectory point among the trajectory points drawn in the first area is read with the unique identifier of the main earphone through the touch reading method; if so, the trajectory formed by connecting the trajectory points drawn in the first area is determined as the first specified trajectory drawn by the main earphone in the first area.
2. The audio control method of the intelligent mattress according to claim 1, wherein The intelligent main board using the trajectory detection function of the second area to detect the second specified trajectory drawn by the sub-earphone in the second area includes: The intelligent main board uses the trajectory detection function of the second area to detect each trajectory point drawn in the second area; The intelligent main board determines whether each trajectory point among the trajectory points drawn in the second area is read with the unique identifier of the sub-earphone through the touch reading method; if so, the second trajectory formed by connecting the trajectory points drawn in the second area is determined as the second specified trajectory drawn by the sub-earphone in the second area.
3. The audio control method of the intelligent mattress according to any one of claims 1 to 2, characterized in that Before the smart main board plays the audio signal of a certain audio file to the main earphone and the sub - earphone by the audio playing device, the method further includes: The smart main board instructs the main earphone to detect the first ear canal shape structure of the ear wearing the main earphone; The smart main board instructs the sub - earphone to detect the second ear canal shape structure of the ear wearing the sub - earphone; The smart main board, according to the first ear canal shape structure and the second ear canal shape structure, identifies whether the ear wearing the main earphone and the ear wearing the sub - earphone are the two ears of a certain pre - registered user; if so, determines the first audio folder for default playback corresponding to the certain user; The smart main board controls the audio playing device to play a certain audio file in the first audio folder to the worn main earphone and the worn sub - earphone.
4. An audio control system for an intelligent mattress, comprising the intelligent mattress, wherein an audio playback device and an intelligent main board are built in the intelligent mattress, and characterized in that, The smart mattress is further configured with TWS earphones, and the TWS earphones include a main earphone and a sub - earphone, wherein: The smart main board is used for detecting the first selected area and the second selected area on the smart mattress when the audio playing device plays the audio signal of a certain audio file to the main earphone and the sub - earphone; The smart main board is further used for detecting a first specified trajectory drawn in the first area and, according to the first specified trajectory, controlling the audio playing device to play the audio signal of the next audio file to the main earphone and the sub - earphone; Or, the smart main board is further used for detecting a second specified trajectory drawn in the second area and, according to the second specified trajectory, controlling the audio playing device to play the audio information of the previous audio file to the main earphone and the sub - earphone; The smart main board is further used for, after detecting the first selected area and the second selected area on the smart mattress, identifying the immediate state of the main earphone and the immediate state of the sub - earphone; The smart main board is further used for, when identifying that the immediate state of the main earphone is the non - worn state and the immediate state of the sub - earphone is the worn state, starting the trajectory detection function of the first area; or, when identifying that the immediate state of the main earphone is the worn state and the immediate state of the sub - earphone is the non - worn state, starting the trajectory detection function of the second area; The way for the smart main board to detect the first specified trajectory drawn in the first area is: The smart main board uses the trajectory detection function of the first area to detect the first specified trajectory drawn by the main earphone in the first area; The way for the smart main board to detect the second specified trajectory drawn in the second area is: The smart main board uses the trajectory detection function of the second area to detect the second specified trajectory drawn by the sub - earphone in the second area; The way for the smart main board to use the trajectory detection function of the first area to detect the first specified trajectory drawn by the main earphone in the first area is: The intelligent main board uses the trajectory detection function of the first area to detect each trajectory point drawn in the first area; and determines whether each trajectory point drawn in the first area reads the unique identifier of the main earphone through the touch reading method; if so, determines the trajectory formed by connecting each trajectory point drawn in the first area as the first specified trajectory drawn by the main earphone in the first area.
5. The audio control system of the intelligent mattress according to claim 4, characterized in that, The way for the intelligent main board to use the trajectory detection function of the second area to detect the second specified trajectory drawn by the deputy earphone in the second area is as follows: The intelligent main board uses the trajectory detection function of the second area to detect each trajectory point drawn in the second area; and determines whether each trajectory point drawn in the second area reads the unique identifier of the deputy earphone through the touch reading method; if so, determines the second trajectory formed by connecting each trajectory point drawn in the second area as the second specified trajectory drawn by the deputy earphone in the second area.
6. The audio control system of the intelligent mattress according to any one of claims 4 to 5, characterized in that The intelligent main board is further configured to, before the audio playback device plays the audio signal of a certain audio file to the main earphone and the deputy earphone, instruct the main earphone to detect the shape structure of the first ear canal of the ear wearing the main earphone; The intelligent main board is further configured to instruct the deputy earphone to detect the shape structure of the second ear canal of the ear wearing the deputy earphone; The intelligent main board is further configured to, according to the shape structure of the first ear canal and the shape structure of the second ear canal, identify whether the ear wearing the main earphone and the ear wearing the deputy earphone are the two ears of a certain pre-registered user; if so, determine the first audio folder corresponding to the default playback of the certain user; The intelligent main board is further configured to control the audio playback device to play a certain audio file in the first audio folder to the worn main earphone and the worn deputy earphone.
7. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps in the audio control method of the intelligent mattress according to any one of claims 1 to 3.
Citation Information
Patent Citations
Music playing control method and terminal
CN108170357A
Wireless earphone pairing method and device and wireless earphone
CN112333593A
Audio processing method and device, computer readable storage medium and electronic equipment
CN114257910A