Music sofa control method
Patent Information
- Application Number
- CN202211579205.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2042-12-08
AI Technical Summary
因此每次用户需要驱动音乐沙发播放音乐时,都需要先找到对应的遥控器或控制终端,十分麻烦,而且当遥控器或控制终端电量不足时,用户便无法驱动音乐沙发播放音乐了,因此,音乐沙发的播放控制十分不方便
[0005] Compared to existing technologies, this application monitors pressure data on the music sofa. When the pressure data exceeds a preset pressure threshold, it identifies the user in the music sofa area to obtain the seating result of the music sofa. When the seating result indicates that the user is seated on the music sofa, it controls the music to play. This achieves the effect of driving the music sofa to play music as soon as the user sits on it, eliminating the need for the user to find a remote control to drive the music sofa to play music, thus improving the convenience of controlling the music sofa to play music.
Smart Images

Figure CN115862624B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart furniture control, specifically to a method for controlling a music sofa. Background Technology
[0002] Music sofas are smart furniture pieces that can play music. Currently, existing music sofas require users to operate them via remote control or a control terminal to send commands and drive them to play music. Therefore, every time a user needs to play music, they must first find the corresponding remote control or control terminal, which is quite inconvenient. Furthermore, when the remote control or control terminal is low on battery, the user cannot control the music sofa to play music, making music sofa playback control very inconvenient. Summary of the Invention
[0003] The purpose of this application is to overcome the shortcomings and deficiencies in the prior art and provide a music sofa control method that can improve the convenience of controlling the music sofa to play music.
[0004] One embodiment of this application provides a music sofa control method, including: Monitor pressure data on a music sofa, which is a smart piece of furniture capable of playing music; When the pressure data exceeds a preset pressure threshold, user identification is performed in the music sofa area to obtain the seating result of the music sofa; When the seating result indicates that a user is seated on the music sofa, controlling the playback of music includes: if the seating result indicates that two or more users are seated on the music sofa, obtaining the preset playlists corresponding to each user seated on the music sofa to obtain multiple preset playlists; combining the multiple preset playlists into a temporary playlist and playing the music from the temporary playlist; In this context, each song in the temporary playlist is tagged by a user; the step of playing the music in the temporary playlist includes: if the playback mode of the temporary playlist is random playback, obtaining the probability coefficients corresponding to each user tag; and based on the user tags of each song and the probability coefficients corresponding to each user tag, obtaining the probability that each song in the temporary playlist will be played as the next song. The step of obtaining the probability coefficients corresponding to each user tag if the playback mode of the temporary playlist is random playback includes: if the playback mode of the temporary playlist is random playback, determining each user tag corresponding to the currently playing music as the first user tag, and determining the user tags in the temporary playlist other than the first user tag as the second user tag; updating the probability coefficients corresponding to each user tag: decreasing the probability coefficient corresponding to the first user tag and increasing the probability coefficient corresponding to the second user tag; and obtaining the updated probability coefficients corresponding to each user tag.
[0005] Compared to existing technologies, this application monitors pressure data on the music sofa. When the pressure data exceeds a preset pressure threshold, it identifies the user in the music sofa area to obtain the seating result of the music sofa. When the seating result indicates that the user is seated on the music sofa, it controls the music to play. This achieves the effect of driving the music sofa to play music as soon as the user sits on it, eliminating the need for the user to find a remote control to drive the music sofa to play music, thus improving the convenience of controlling the music sofa to play music.
[0006] To provide a clearer understanding of this application, the specific embodiments of this application will be described below in conjunction with the accompanying drawings. Attached Figure Description
[0007] Figure 1 This is a flowchart of a music sofa control method according to an embodiment of this application.
[0008] Figure 2 This is a flowchart of steps S21-S22 of a music sofa control method according to an embodiment of this application.
[0009] Figure 3 This is a flowchart of steps S3421-S3422 of a music sofa control method according to an embodiment of this application. Detailed Implementation
[0010] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0011] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.
[0012] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The singular forms "a," "the," and "the" used in this application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The word "if" as used herein can be interpreted as "when," "when," or "in response to determination."
[0013] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0014] Please see Figure 1 This is a flowchart of a music sofa control method according to an embodiment of this application, including: S1: Monitors pressure data on the music sofa.
[0015] The music sofa is equipped with a player and is a type of music sofa capable of playing music. It also includes a pressure sensor and a user identification module. The pressure sensor detects pressure data from the music sofa; the user identification module performs human body recognition on the music sofa area to determine whether the person sitting on it is a user.
[0016] S2: When the pressure data is greater than the preset pressure threshold, user identification is performed in the music sofa area to obtain the seating result of the music sofa.
[0017] User identification in the music sofa area can be achieved using a camera and an image recognition processor. The camera captures images of users in the music sofa area and transmits them to the image recognition processor, which analyzes the user images to determine the user's identity. The camera can be a telescopic camera, positioned on the armrest side of the music sofa. When the pressure data detected by the pressure sensor exceeds a preset pressure threshold, the telescopic camera extends out from the armrest side of the music sofa and captures an image of the user seated on the sofa.
[0018] S3: When the seating result indicates that the user should sit on the music sofa, control the playback of music.
[0019] Compared to existing technologies, this application monitors pressure data on the music sofa. When the pressure data exceeds a preset pressure threshold, it identifies the user in the music sofa area to obtain the seating result of the music sofa. When the seating result indicates that the user is seated on the music sofa, it controls the music to play. This achieves the effect of driving the music sofa to play music as soon as the user sits on it, eliminating the need for the user to find a remote control to drive the music sofa to play music, thus improving the convenience of controlling the music sofa to play music.
[0020] In one feasible embodiment, the music sofa includes one or more seats, each of which is provided with a pressure sensor.
[0021] Please see Figure 2 S2: When the pressure data is greater than a preset pressure threshold, the step of performing user identification in the music sofa area to obtain the seating result on the music sofa includes: S21: When the pressure data is greater than the preset pressure threshold, the location of the pressure sensor that detected the pressure data is obtained, and the seat position information is obtained.
[0022] Specifically, pressure sensors are installed under the cushions of the music sofa, and each pressure sensor is associated with corresponding location information according to its installation position, so as to obtain the location information of the pressure sensor that detects the pressure when sitting down.
[0023] S22: Based on the seat location information, perform image acquisition and user identification on the seat to obtain the result of whether a user is seated on the music sofa.
[0024] In this context, image acquisition of the seats can be achieved by changing the camera's telescopic direction and shooting direction, allowing the camera to capture images of each seat on the music sofa based on the seat position information.
[0025] In this embodiment, the camera's extension and shooting direction can be changed based on the seat position information from the pressure sensor that senses the pressure of sitting on the seat. This allows the camera to successfully capture images of users sitting on the seats. The user's image is then recognized by the image recognition processor of the user recognition module to determine the user's identity. This eliminates the need for the camera to capture images of all seats, reducing the workload of image recognition processing and improving the efficiency of user identification.
[0026] In one feasible embodiment, step S3: controlling music playback when the seating result indicates that the user is seated on the music sofa, includes: S31: When the seating result indicates that a user has sat on the music sofa, if there is a preset playlist corresponding to the user, play music according to the preset playlist.
[0027] In this embodiment, when there is a preset playlist corresponding to a user sitting on the music sofa, music is played according to the preset playlist, with priority given to music from playlists created by the user according to their own preferences. This eliminates the need for the user to search for their own preset playlist, thus improving the user's music listening experience.
[0028] In one feasible embodiment, step S3: controlling music playback when the seating result indicates that the user is seated on the music sofa, includes: S32: When the seating result indicates that a user has sat on the music sofa, if there is no corresponding preset playlist for the user, play music according to the preset music push method.
[0029] One preset music recommendation method is to recommend music with one or more similar musical attributes based on the user's music playback history. These attributes include music genre, artist, language, composer, lyricist, etc. Another preset method is to recommend currently popular music, which can be obtained from music playback data of music and video streaming platforms.
[0030] In this embodiment, even if there is no preset playlist for the user sitting on the music sofa, music will still be played according to the preset music push method, so that the user sitting on the music sofa does not need to look for the remote control to find music to play, thus improving the convenience of controlling music playback.
[0031] In one feasible embodiment, step S3: controlling music playback when the seating result indicates that the user is seated on the music sofa, includes: S331: When the seating result indicates that the user should sit on the music sofa, the user's voice information is obtained and voice recognition is performed.
[0032] Speech recognition includes semantic analysis of speech, with the meaning of the content expressed by the speech information as the speech recognition result. Semantic analysis can be performed by directly analyzing the speech information to obtain the music playback operation indicated by the speech information, or by converting the speech information into text information and then analyzing the text information to obtain the music playback operation indicated by the speech information.
[0033] S332: Control music playback based on the voice recognition results.
[0034] The speech recognition result is the music playback operation indicated by the voice information. The music playback operation includes continuing playback, pausing playback, next song, previous song, and switching playback modes.
[0035] In this embodiment, users can control music playback via voice, further improving the convenience of controlling the music sofa.
[0036] In a feasible embodiment, step S332: controlling music playback based on the speech recognition result includes: if the speech recognition result includes specified music, controlling the playback of specified music.
[0037] In this embodiment, users can specify the music to play via voice, making it convenient for them to quickly select their favorite music to play.
[0038] In one feasible embodiment, the step of controlling music playback based on the speech recognition result includes: S3321: If the speech recognition result does not include the specified music, perform tone and emotion recognition based on the tone and mood of the speech information to obtain a first emotion recognition result; convert the speech information into text information, perform semantic emotion recognition on the text information to obtain a second emotion recognition result.
[0039] Whether the voice information includes music playback information and whether it includes a specific music can be determined based on keywords in the voice information. For example, if the voice information includes the keyword "play music" but does not include the music name, it means that the voice information includes music playback information but does not include the specific music.
[0040] The first emotion recognition result is to identify the emotions such as joy, anger, sorrow, and happiness expressed by the user's tone of voice based on the intonation and tone of the speech information.
[0041] The text information includes text from multiple languages such as Chinese, English, and Japanese. The second emotion recognition result is to identify the emotions (joy, anger, sorrow, etc.) expressed by the user's language content based on the meaning of the textual combinations of words.
[0042] S3322: Based on the first emotion recognition result and the second emotion recognition result, obtain the user emotion recognition result.
[0043] The user emotion recognition result can be obtained by weighted calculation of the first emotion recognition result and the second emotion recognition result.
[0044] S3323: Based on the user emotion recognition result, obtain and play music corresponding to the emotion domain.
[0045] In this embodiment, the voice information can be subjected to tone and emotion recognition to obtain a first emotion recognition result. The text information converted from the voice information can be subjected to semantic emotion recognition to obtain a second emotion recognition result. Then, the first emotion recognition result and the second emotion recognition result are weighted and calculated to obtain the corresponding user emotion recognition result. The music in the emotion domain corresponding to the user emotion recognition result is then determined as the designated music, so that the music sofa player can play music that is the same as the emotion expressed by the user's voice information.
[0046] In one feasible embodiment, step S3: controlling music playback when the seating result indicates that the user is seated on the music sofa, includes: S341: If the seating result indicates that two or more users are seated on the music sofa, obtain the preset playlists corresponding to each user seated on the music sofa to obtain multiple preset playlists.
[0047] S342: Combine the multiple preset playlists into a temporary playlist and play the music from the temporary playlist.
[0048] If the temporary playlist has no upper limit, it can include music from the preset playlists of all users sitting on the music sofa. If the temporary playlist has an upper limit, and the total number of music from the preset playlists of all users sitting on the music sofa exceeds the upper limit, a preset number of music can be randomly selected from the preset playlists of all users sitting on the music sofa and added to the temporary playlist. Alternatively, music that exists in at least two preset playlists can be prioritized and added to the temporary playlist, and then music can be randomly selected from the preset playlists of all users sitting on the music sofa and added to the temporary playlist, until the number of music reaches the upper limit of the temporary playlist.
[0049] In this embodiment, since different users have different music preferences, a temporary playlist can be generated by combining the preset playlists of all users sitting on the music sofa and then playing music. This can make the music played on the music sofa more comprehensive and better meet the music needs of all users sitting on the music sofa.
[0050] In one feasible embodiment, each song in the temporary playlist is tagged by a user. Specifically, each song obtains its corresponding user tag based on a saved preset playlist.
[0051] For example, music A is saved in both user a's preset playlist and user b's preset playlist, and the user tags for music A are a and b.
[0052] Please see Figure 3The step of playing the music in the temporary playlist includes: S3421: If the playback mode of the temporary playlist is random playback, obtain the probability coefficients corresponding to each user tag.
[0053] The probability coefficients corresponding to each user tag can be parameters negotiated and set by the user, parameters preset by the manufacturer, or parameters calculated according to the manufacturer's preset probability coefficient rules.
[0054] S3422: Based on the user tags of each song and the probability coefficients corresponding to each user tag, obtain the probability that each song in the temporary playlist will be played as the next song.
[0055] For example, in addition to the music currently playing, the temporary playlist also includes three other songs, A, B, and C. The user tags for music A are a and b, for music B are b and c, and for music C is c. If the probability coefficient of a is 1, the probability coefficient of b is 1, and the probability coefficient of c is 1.5, then the playback coefficient of music A is 2, the playback coefficient of music B is 2.5, and the playback coefficient of music C is 1.5. The probability of playing music A is 2 / (2+2.5+1.5). The probability of playing music B is 2.5 / (2+2.5+1.5). The probability of playing music C is 1.5 / (2+2.5+1.5).
[0056] In this embodiment, the probability of each song being played as the next song can be calculated based on the number of user tags for each song, which helps to increase the probability of playing music that multiple users like.
[0057] In a feasible embodiment, step S3421: if the playback mode of the temporary playlist is random playback, the step of obtaining the probability coefficients corresponding to each user tag includes: S34211: If the playback mode of the temporary playlist is random playback, the user tags corresponding to the currently playing music are determined as the first user tags, and the user tags in the temporary playlist other than the first user tags are determined as the second user tags.
[0058] S34212: Update the probability coefficients corresponding to each user tag: decrease the probability coefficient corresponding to the first user tag and increase the probability coefficient corresponding to the second user tag.
[0059] S34213: Obtain the probability coefficients corresponding to each updated user tag.
[0060] In this embodiment, by reducing the probability coefficient of each first user tag corresponding to the currently playing music and increasing the probability coefficient of the second user tag, when the music corresponding to a certain user tag is not randomly played multiple times, the probability coefficient of that user tag will increase multiple times, thereby increasing the probability of playing the music corresponding to that user tag. This can balance the music playback situation of each user tag in the temporary playlist.
[0061] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0062] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function selected in one or more boxes.
[0063] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.
[0064] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0065] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0066] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0067] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0068] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for controlling a music sofa, characterized in that, include: Monitor pressure data on a music sofa, which is a smart piece of furniture capable of playing music; When the pressure data exceeds a preset pressure threshold, user identification is performed in the music sofa area to obtain the seating result of the music sofa; When the seating result indicates that a user is seated on the music sofa, controlling the playback of music includes: if the seating result indicates that two or more users are seated on the music sofa, obtaining the preset playlists corresponding to each user seated on the music sofa to obtain multiple preset playlists; combining the multiple preset playlists into a temporary playlist and playing the music from the temporary playlist; In this context, each song in the temporary playlist is tagged by a user; the step of playing the music in the temporary playlist includes: if the playback mode of the temporary playlist is random playback, obtaining the probability coefficients corresponding to each user tag; and based on the user tags of each song and the probability coefficients corresponding to each user tag, obtaining the probability that each song in the temporary playlist will be played as the next song. The step of obtaining the probability coefficients corresponding to each user tag if the playback mode of the temporary playlist is random playback includes: if the playback mode of the temporary playlist is random playback, determining each user tag corresponding to the currently playing music as the first user tag, and determining the user tags in the temporary playlist other than the first user tag as the second user tag; updating the probability coefficients corresponding to each user tag: decreasing the probability coefficient corresponding to the first user tag and increasing the probability coefficient corresponding to the second user tag; and obtaining the updated probability coefficients corresponding to each user tag.
2. The music sofa control method according to claim 1, characterized in that, The step of controlling music playback when the seating result indicates that the user is seated on the music sofa includes: When the seating result indicates that a user has sat on the music sofa, if a preset playlist corresponding to the user exists, music is played according to the preset playlist.
3. The music sofa control method according to claim 1, characterized in that, The step of controlling music playback when the seating result indicates that the user is seated on the music sofa includes: When the seating result indicates that a user has sat on the music sofa, if there is no corresponding preset playlist for the user, music will be played according to the preset music push method.
4. The music sofa control method according to claim 1, characterized in that, The step of controlling music playback when the seating result indicates that the user is seated on the music sofa includes: When the seating result indicates that the user should sit on the music sofa, the user's voice information is acquired and voice recognition is performed. Control music playback based on voice recognition results.
5. The music sofa control method according to claim 4, characterized in that, The step of controlling music playback based on the speech recognition result includes: if the speech recognition result includes a specified piece of music, controlling the playback of the specified music.
6. The music sofa control method according to claim 4, characterized in that, The step of controlling music playback based on the speech recognition result includes: If the speech recognition result does not include the specified music, tone and emotion recognition is performed based on the tone and mood of the speech information to obtain a first emotion recognition result; the speech information is converted into text information, and semantic emotion recognition is performed on the text information to obtain a second emotion recognition result; Based on the first emotion recognition result and the second emotion recognition result, the user emotion recognition result is obtained; Based on the user's emotion recognition results, music corresponding to the emotion domain is obtained and played.
7. The music sofa control method according to any one of claims 1 to 6, characterized in that, The music sofa includes one or more seats, and each seat is equipped with a pressure sensor; The step of performing user identification in the music sofa area and obtaining the seating result on the music sofa when the pressure data is greater than a preset pressure threshold includes: When the pressure data exceeds a preset pressure threshold, the location of the pressure sensor that detected the pressure data is obtained, and seat position information is obtained. Based on the seat location information, images of the seats are captured and users are identified to determine whether a user is seated on the music sofa.
Citation Information
Patent Citations
Device for controlling local music playing by using speech
CN106251871A
Interaction method based on intelligent seat
CN112764534A