A method, system and medium for pushing music to multiple users in a vehicle based on big data
By establishing a shared hotspot on the vehicle end, it solves the problem that existing technology cannot meet the personalized needs of multiple users, realizes the sharing and management of vehicle music lists by multiple users, and improves the comfort of use.
Patent Information
- Application Number
- CN202411452010.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-17
AI Technical Summary
The existing in-car music push and control methods cannot meet the personalized needs of multiple users, nor can they realize the editing and playback control of the in-car music shared playlist by multiple terminals.
A shared hotspot is established through the vehicle terminal, and the user uses the client to connect to the shared hotspot within a preset range to realize the connection between the vehicle device and the user device, so that multiple users can share and manage the music list of the vehicle terminal.
A multi -user personalized experience is achieved, while improving the comfort of the use, allowing multiple users to jointly manage and play the music list of the vehicle -carrier end.
Smart Images

Figure CN118972446B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of in-vehicle multimedia technology, and more specifically, to a method, system and medium for in-vehicle multi-user music push based on big data. Background Art
[0002] With the popularization and intelligent development of automobiles, in-car entertainment systems are attracting more and more attention. At present, the in-car central control can only connect to a terminal via Bluetooth to push and control songs, and it is impossible for multiple users to connect to the same in-car device at the same time for playback control. When multiple people are in a vehicle, different users have different preferences for music. The existing in-car music push and control methods cannot meet the personalized needs of multiple users, nor can they allow multiple terminals to edit and control the playback of shared in-car music playlists.
[0003] In view of the above problems, effective technical solutions are urgently needed. Summary of the invention
[0004] The purpose of this application is to provide a method, system and medium for pushing music to multiple users in a vehicle based on big data. A shared hotspot can be established through the vehicle-mounted terminal. The user uses the user terminal to connect to the shared hotspot within a preset range to establish a connection between the vehicle-mounted device and the user device, thereby enabling multiple users to share and manage the music list on the vehicle-mounted terminal, achieving a personalized experience while improving the comfort of use.
[0005] The present application also provides a method for pushing music to multiple users in a vehicle based on big data, comprising the following steps:
[0006] Get the wifi hotspot information of the vehicle and extract the corresponding IP address information;
[0007] Acquire the IP address information based on the user terminal, and connect to the Wi-Fi hotspot information through a preset protocol to obtain connection confirmation information;
[0008] Obtain the music name information shared by multiple users and generate a shared playlist list;
[0009] The shared playlist is managed based on the user end and played based on the vehicle end.
[0010] Optionally, in the in-vehicle multi-user music push method based on big data described in the present application, the management of the shared playlist based on the user end and the playback based on the in-vehicle end include:
[0011] Obtaining control command information from the user end, including adding command information or deleting command information;
[0012] The shared playlist list is managed according to the adding instruction information or deleting instruction information.
[0013] Optionally, in the in-vehicle multi-user music push method based on big data described in the present application, managing the shared playlist list according to the adding instruction information or deleting instruction information includes:
[0014] Obtaining first user information corresponding to the deletion instruction information;
[0015] Acquire corresponding music name information according to the deletion instruction information;
[0016] Acquire the second user information sharing the music according to the music name information;
[0017] Acquire a preset first user permission corresponding to the first user information and a preset second user permission corresponding to the second user information;
[0018] If the preset first user authority is higher than the preset second user authority, executing a deletion instruction;
[0019] If the preset first user authority is lower than or equal to the preset second user authority, execution of the deletion instruction is suspended.
[0020] Optionally, in the in-vehicle multi-user music push method based on big data described in the present application, if the preset first user authority is lower than or equal to the preset second user authority, pausing the execution of the deletion instruction includes:
[0021] Acquire multiple user information corresponding to the connection confirmation information;
[0022] Based on the user terminal, a deletion vote is initiated to the multiple users, the number of affirmative votes and the corresponding user information and the number of negative votes and the corresponding user information are obtained, and a deletion confirmation index is obtained by processing, and the deletion confirmation index is compared with a preset deletion confirmation threshold, and the operation instruction is executed according to the threshold comparison result.
[0023] Optionally, in the in-vehicle multi-user music push method based on big data described in the present application, the user terminal initiates a deletion vote to the multiple users, obtains user information corresponding to the number of approval votes and user information corresponding to the number of disapproval votes, processes to obtain a deletion determination index, compares the deletion determination index with a preset deletion determination threshold, and executes an operation instruction according to the threshold comparison result, including:
[0024] Acquire a corresponding preset first weight value based on the user information corresponding to the consent ticket;
[0025] Acquire a corresponding preset second weight value based on the user information corresponding to the negative vote;
[0026] Obtaining a deletion determination index according to the number of votes in favor and the number of votes against in combination with the corresponding preset first weight value and the corresponding preset second weight value;
[0027] Performing a threshold comparison between the deletion determination index and a preset deletion determination threshold;
[0028] The preset deletion determination threshold includes a first preset deletion determination threshold and a second preset deletion determination threshold, and the second preset deletion determination threshold is greater than the first preset deletion determination threshold;
[0029] If it is less than the first preset deletion determination threshold, canceling the deletion instruction;
[0030] If it is greater than or equal to the first preset deletion determination threshold and less than the second preset deletion determination threshold, the deletion instruction is executed, and the deleted music is combined with the user information corresponding to the negative vote to generate a collection playlist list;
[0031] If it is greater than or equal to the second preset deletion determination threshold, only the deletion instruction is executed.
[0032] Optionally, the in-vehicle multi-user music push method based on big data described in the present application further includes:
[0033] Acquire the connection inactivity time data between the user terminal and the wifi hotspot of the vehicle terminal according to the connection confirmation information;
[0034] Performing a threshold comparison between the connection inactivity time data and a preset connection inactivity time threshold;
[0035] The connection no operation time threshold includes a preset first connection no operation time threshold and a preset second connection no operation time threshold, and the preset second connection no operation time threshold is greater than the preset first connection no operation time threshold;
[0036] If the time is less than the preset first connection no-operation time threshold, maintaining the connection between the user terminal and the vehicle terminal;
[0037] If it is greater than or equal to the preset first connection no operation time threshold and less than the preset second connection no operation time threshold, the user terminal is kept connected to the vehicle terminal, and an output warning is displayed on the user terminal;
[0038] If it is greater than or equal to the preset second connection no-operation time threshold, the connection between the user terminal and the vehicle-mounted terminal is disconnected.
[0039] In a second aspect, the present application provides a vehicle-mounted multi-user music push system based on big data, the system comprising: a memory and a processor, the memory comprising a program of a vehicle-mounted multi-user music push method based on big data, and the program of the vehicle-mounted multi-user music push method based on big data is executed by the processor to implement the following steps:
[0040] Get the wifi hotspot information of the vehicle and extract the corresponding IP address information;
[0041] Acquire the IP address information based on the user terminal, and connect to the Wi-Fi hotspot information through a preset protocol to obtain connection confirmation information;
[0042] Obtain the music name information shared by multiple users and generate a shared playlist list;
[0043] The shared playlist is managed based on the user end and played based on the vehicle end.
[0044] Optionally, in the in-vehicle multi-user music push system based on big data described in the present application, the management of the shared playlist based on the user terminal and the playback based on the in-vehicle terminal include:
[0045] Obtaining control command information from the user end, including adding command information or deleting command information;
[0046] The shared playlist list is managed according to the adding instruction information or deleting instruction information.
[0047] Optionally, in the in-vehicle multi-user music push system based on big data described in the present application, managing the shared playlist list according to the adding instruction information or deleting instruction information includes:
[0048] Obtaining first user information corresponding to the deletion instruction information;
[0049] Acquire corresponding music name information according to the deletion instruction information;
[0050] Acquire the second user information sharing the music according to the music name information;
[0051] Acquire a preset first user permission corresponding to the first user information and a preset second user permission corresponding to the second user information;
[0052] If the preset first user authority is higher than the preset second user authority, executing a deletion instruction;
[0053] If the preset first user authority is lower than or equal to the preset second user authority, execution of the deletion instruction is suspended.
[0054] In the third aspect, the present application also provides a computer-readable storage medium, which stores a vehicle-mounted multi-user music push method program based on big data. When the vehicle-mounted multi-user music push method program based on big data is executed by a processor, the steps of the vehicle-mounted multi-user music push method based on big data as described in any one of the above items are implemented.
[0055] From the above, it can be seen that the present application provides a method, system and medium for pushing music to multiple users in a vehicle based on big data. A shared hotspot is established through the vehicle-mounted terminal. The user uses the user terminal to connect to the shared hotspot within a preset range to establish a connection between the vehicle-mounted device and the user device, thereby realizing multi-user sharing and management of the vehicle-mounted music list, achieving a personalized experience while improving usage comfort.
[0056] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 A flowchart of a method for pushing music to multiple users in a vehicle based on big data provided in an embodiment of the present application;
[0059] Figure 2 A flowchart of obtaining a method for pushing music to multiple users in a vehicle based on big data and controlling a shared playlist list provided in an embodiment of the present application;
[0060] Figure 3 A flowchart of obtaining a deletion determination index and executing operation instructions for a method for pushing music to multiple users in a vehicle based on big data provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the 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 of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0062] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0063] Please refer to Figure 1 , Figure 1 The flowchart of the in-vehicle multi-user music push method based on big data in some embodiments of the present application. The in-vehicle multi-user music push method based on big data is used in a terminal device, such as a computer, a mobile phone terminal, etc. The in-vehicle multi-user music push method based on big data includes the following steps:
[0064] S11, obtaining the wifi hotspot information of the vehicle terminal and extracting the corresponding IP address information;
[0065] S12, obtaining the IP address information based on the user terminal, and connecting to the Wi-Fi hotspot information through a preset protocol to obtain connection confirmation information;
[0066] S13, obtaining music name information shared by multiple users and generating a shared playlist list;
[0067] S14: Manage the shared playlist based on the user terminal and play it based on the vehicle terminal.
[0068] It should be noted that in order to realize the push and control of the shared playlist list of the same vehicle-mounted terminal by multiple user terminals, a shared hotspot is first established through the vehicle-mounted terminal, and the IP address information of the shared wifi hotspot is obtained through the API provided by the operating system, that is, the application editing interface, and the socket protocol is used to create an IP server based on the current wifi hotspot to receive the music data of the user terminal. Within the preset range, the user connects to the shared hotspot through the user terminal wifi. The user terminal includes but is not limited to mobile phones, tablets, smart watches, etc. The user terminal pushes his favorite music to the vehicle-mounted terminal, and establishes a shared playlist list based on the music name information. The user obtains the shared playlist list of the current vehicle-mounted music application through the connection established by the socket on the user terminal. The user can manage the shared playlist online on the mobile terminal, such as adding songs, deleting songs, controlling music playback or pausing, and then push the playlist to the vehicle-mounted terminal for playback.
[0069] According to an embodiment of the present invention, the management of the shared playlist based on the user terminal and the playing based on the vehicle terminal include:
[0070] Obtaining control command information from the user end, including adding command information or deleting command information;
[0071] The shared playlist list is managed according to the adding instruction information or deleting instruction information.
[0072] It should be noted that after the user end is connected to the vehicle end, the user controls the shared playlist, such as adding or removing songs, controlling music playback or pausing, etc. First, the control instructions issued by the user end are obtained, and the shared playlist on the vehicle end is controlled according to the control instructions, such as playing, pausing, adding music, deleting music, etc.
[0073] Please refer to Figure 2 , Figure 2 The present invention is a flowchart of a method for pushing music to multiple users in a vehicle based on big data to obtain a shared playlist list and controlling the shared playlist list. According to an embodiment of the present invention, the shared playlist list is managed according to the adding instruction information or deleting instruction information, including:
[0074] S21, obtaining first user information corresponding to the deletion instruction information;
[0075] S22, obtaining corresponding music name information according to the deletion instruction information;
[0076] S23, obtaining the second user information sharing the music according to the music name information;
[0077] S24, obtaining a preset first user permission corresponding to the first user information and a preset second user permission corresponding to the second user information;
[0078] S25, if the preset first user authority is higher than the preset second user authority, executing a deletion instruction;
[0079] S26: If the preset first user authority is lower than or equal to the preset second user authority, suspending execution of the deletion instruction.
[0080] It should be noted that when multiple users control the same shared playlist list on the vehicle, if the control instruction obtained is a deletion instruction, since the shared playlist list is generated based on the music shared and pushed by multiple users, it is necessary to determine whether to execute the deletion based on the user's permissions. First, the first user information that issues the deletion instruction and the corresponding music name information are obtained, and then the second user information that shares the music is obtained. Based on the first user information and the second user information, the preset first user permissions corresponding to the first user and the preset second user permissions corresponding to the second user information are obtained. The permissions of the two users are compared, and whether to execute the deletion instruction is determined based on the level of permissions.
[0081] According to an embodiment of the present invention, if the preset first user authority is lower than or equal to the preset second user authority, suspending the execution of the deletion instruction includes:
[0082] Acquire multiple user information corresponding to the connection confirmation information;
[0083] Based on the user terminal, a deletion vote is initiated to the multiple users, the number of affirmative votes and the corresponding user information and the number of negative votes and the corresponding user information are obtained, and a deletion confirmation index is obtained by processing, and the deletion confirmation index is compared with a preset deletion confirmation threshold, and the operation instruction is executed according to the threshold comparison result.
[0084] It should be noted that on the basis of determining whether to execute the deletion instruction based on the authority, it is possible to further determine whether the music needs to be deleted based on different opinions of multiple users. In this embodiment, user voting is adopted to decide, based on which the deletion vote is initiated by the user end, and the deletion determination index is determined according to the voting situation, and then through threshold comparison, it is finally determined whether to execute the deletion instruction.
[0085] Please refer to Figure 3 , Figure 3 The present invention is a flowchart of obtaining a user's deletion confirmation index and executing an operation instruction of a method for pushing music to multiple users in a vehicle based on big data in some embodiments of the present application. According to an embodiment of the present invention, the method of initiating a deletion vote to the multiple users based on the user terminal, obtaining user information corresponding to the number of affirmative votes and user information corresponding to the number of negative votes, processing to obtain a deletion confirmation index, performing a threshold comparison between the deletion confirmation index and a preset deletion confirmation threshold, and executing an operation instruction according to the threshold comparison result, includes:
[0086] S31, obtaining a corresponding preset first weight value based on the user information corresponding to the consent ticket;
[0087] S32, obtaining a corresponding preset second weight value based on the user information corresponding to the negative vote;
[0088] S33, obtaining a deletion determination index according to the number of approval votes and the number of disapproval votes combined with the corresponding preset first weight value and the corresponding preset second weight value;
[0089] S34, performing a threshold comparison between the deletion determination index and a preset deletion determination threshold;
[0090] S35, the preset deletion determination threshold includes a first preset deletion determination threshold and a second preset deletion determination threshold, and the second preset deletion determination threshold is greater than the first preset deletion determination threshold;
[0091] S36: If the value is less than the first preset deletion determination threshold, canceling the deletion instruction;
[0092] S37: If the number of deleted songs is greater than or equal to the first preset deletion determination threshold and less than the second preset deletion determination threshold, the deletion instruction is executed, and the deleted music is combined with the user information corresponding to the negative vote to generate a collection playlist list;
[0093] S38: If it is greater than or equal to the second preset deletion determination threshold, only execute the deletion instruction.
[0094] It should be noted that, according to the preset corresponding weight values of user information, a plurality of corresponding preset first weight values are obtained based on the user information corresponding to the plurality of affirmative votes, a plurality of corresponding preset second weight values are obtained based on the user information corresponding to the plurality of negative votes, and a deletion determination index is obtained according to the number of affirmative votes and the number of negative votes combined with the corresponding preset first weight value and the corresponding preset second weight value;
[0095] The calculation formula of the deletion determination index is:
[0096] ;
[0097] in, To delete the determined index, , , , The numbers of votes in favor, votes against, the corresponding first weight value, and the corresponding second weight value are respectively;
[0098] The obtained deletion determination index is compared with the first preset deletion determination threshold and the second preset deletion determination threshold respectively. In this embodiment, the first preset deletion determination threshold is set to 0.7, and the second preset deletion determination threshold is set to 0.9. If the obtained deletion determination index is 0.5, the deletion instruction is canceled; if the obtained deletion determination index is 0.8, the deletion instruction is executed, and the deleted music is combined with the user information corresponding to the negative vote to generate a collection playlist list for personalized control of this type of users; if the obtained deletion determination index is 0.95, only the deletion instruction is executed.
[0099] According to an embodiment of the present invention, it also includes:
[0100] Acquire the connection inactivity time data between the user terminal and the wifi hotspot of the vehicle terminal according to the connection confirmation information;
[0101] Performing a threshold comparison between the connection inactivity time data and a preset connection inactivity time threshold;
[0102] The connection no operation time threshold includes a preset first connection no operation time threshold and a preset second connection no operation time threshold, and the preset second connection no operation time threshold is greater than the preset first connection no operation time threshold;
[0103] If the time is less than the preset first connection no-operation time threshold, maintaining the connection between the user terminal and the vehicle terminal;
[0104] If it is greater than or equal to the preset first connection no operation time threshold and less than the preset second connection no operation time threshold, the user terminal is kept connected to the vehicle terminal, and an output warning is displayed on the user terminal;
[0105] If it is greater than or equal to the preset second connection no-operation time threshold, the connection between the user terminal and the vehicle-mounted terminal is disconnected.
[0106] It should be noted that if the user sets the user terminal to automatically connect to the vehicle-mounted terminal within a preset range and there is no operation demand temporarily, the user terminal will cause heating or power consumption too quickly. Therefore, in order to improve the user's comfort, the connection no operation time data between the user terminal and the wifi hotspot of the vehicle-mounted terminal is first obtained, and the thresholds are compared with the preset first connection no operation time threshold and the preset second connection no operation time threshold. In this embodiment, the preset first connection no operation time threshold is 180 seconds, and the preset second connection no operation time threshold is 300 seconds. For example, if the obtained connection no operation time data is 120 seconds, the user terminal and the vehicle-mounted terminal are connected; if the obtained connection no operation time data is 185 seconds, the user terminal and the vehicle-mounted terminal are connected, and the output warning is displayed on the user terminal; if the obtained connection no operation time data is 301 seconds, the user terminal and the vehicle-mounted terminal are disconnected to reduce the power consumption of the user terminal.
[0107] It is worth mentioning that according to an embodiment of the present invention, it also includes:
[0108] Obtain vehicle operation data, including vehicle speed data and vehicle distance data;
[0109] Processing the vehicle speed data and the inter-vehicle distance data to obtain a congestion index;
[0110] Obtain vehicle travel time point data;
[0111] According to the congestion index and the vehicle travel time point data, a preset music resource library is searched to obtain the required music type and the corresponding music list;
[0112] Obtain corresponding user ratings based on the required music type and the corresponding music list, and generate a recommendation list based on the user ratings;
[0113] Music is played based on the vehicle-mounted terminal according to the recommendation list.
[0114] It should be noted that the vehicle operating environment changes at any time, the emotions of the users in the car will also change, and the demand for music will change accordingly. Therefore, the congestion index is obtained by processing the acquired vehicle speed data and the distance data between vehicles;
[0115] The congestion index calculation formula is:
[0116] ;
[0117] in, is the congestion index, , They are vehicle speed data and vehicle distance data, , is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset in-car music push platform);
[0118] According to the obtained congestion index and driving time point data, the preset music resource library is queried to obtain the required music type and the corresponding music list. The preset music resource library is constructed by obtaining the congestion index, driving time data and corresponding required music types of a large number of historical samples. For example, relaxing music is pushed during the morning rush hour when the road is congested, and dynamic music is pushed during the night when the highway is unobstructed. The corresponding required music type contains multiple music. The music list is generated according to preset rules. The preset rules include but are not limited to the music name, playback popularity, and creation time. The corresponding user rating is then obtained, and a recommendation list is generated according to the user rating. The music is played in the order of the recommendation list based on the in-vehicle terminal.
[0119] It is worth mentioning that according to an embodiment of the present invention, it also includes:
[0120] Get user location information and extract user location coordinate data.
[0121] Obtaining position information corresponding to a plurality of loudspeakers, and extracting corresponding loudspeaker position coordinate data;
[0122] According to the user position coordinate data and the speaker position coordinate data, corresponding distance data from the multiple speakers to the user are obtained;
[0123] Obtain in-vehicle noise data;
[0124] The playback volume of the corresponding speaker is adjusted according to the corresponding distance data and the in-vehicle noise data.
[0125] It should be noted that if there are multiple users in the car, the speakers corresponding to their positions are different. The same playback volume will cause different users to have different perceptions of the music, affecting the listening effect. Therefore, the user position information is determined based on the user end, the user position coordinate data is extracted, and then the speaker distribution position information is obtained, and the corresponding speaker position coordinate data is extracted. The user position coordinate data and the speaker position coordinate data are processed to obtain the corresponding distance data from multiple speakers to the user; the in-car noise data is obtained through a preset sensor, and the volume of the corresponding speaker near the user is adjusted according to the corresponding distance data combined with the in-car noise data, such as increasing the volume of the speaker close to the user, so that the user can achieve the best listening effect.
[0126] The present invention also discloses a vehicle-mounted multi-user music push system based on big data, comprising a memory and a processor, wherein the memory comprises a vehicle-mounted multi-user music push method program based on big data, and when the vehicle-mounted multi-user music push method program based on big data is executed by the processor, the following steps are implemented:
[0127] Get the wifi hotspot information of the vehicle and extract the corresponding IP address information;
[0128] Acquire the IP address information based on the user terminal, and connect to the Wi-Fi hotspot information through a preset protocol to obtain connection confirmation information;
[0129] Obtain the music name information shared by multiple users and generate a shared playlist list;
[0130] The shared playlist is managed based on the user end and played based on the vehicle end.
[0131] It should be noted that in order to realize the push and control of the shared playlist list of the same vehicle-mounted terminal by multiple user terminals, a shared hotspot is first established through the vehicle-mounted terminal, and the IP address information of the shared wifi hotspot is obtained through the API provided by the operating system, that is, the application editing interface, and the socket protocol is used to create an IP server based on the current wifi hotspot to receive the music data of the user terminal. Within the preset range, the user connects to the shared hotspot through the user terminal wifi. The user terminal includes but is not limited to mobile phones, tablets, smart watches, etc. The user terminal pushes his favorite music to the vehicle-mounted terminal, and establishes a shared playlist list based on the music name information. The user obtains the shared playlist list of the current vehicle-mounted music application through the connection established by the socket on the user terminal. The user can manage the shared playlist online on the mobile terminal, such as adding songs, deleting songs, controlling music playback or pausing, and then push the playlist to the vehicle-mounted terminal for playback.
[0132] According to an embodiment of the present invention, the management of the shared playlist based on the user terminal and the playing based on the vehicle terminal include:
[0133] Obtaining control command information from the user end, including adding command information or deleting command information;
[0134] The shared playlist list is managed according to the adding instruction information or deleting instruction information.
[0135] It should be noted that after the user end is connected to the vehicle end, the user controls the shared playlist, such as adding or removing songs, controlling music playback or pausing, etc. First, the control instructions issued by the user end are obtained, and the shared playlist on the vehicle end is controlled according to the control instructions, such as playing, pausing, adding music, deleting music, etc.
[0136] According to an embodiment of the present invention, managing the shared playlist list according to the adding instruction information or deleting instruction information includes:
[0137] Obtaining first user information corresponding to the deletion instruction information;
[0138] Acquire corresponding music name information according to the deletion instruction information;
[0139] Acquire the second user information sharing the music according to the music name information;
[0140] Acquire a preset first user permission corresponding to the first user information and a preset second user permission corresponding to the second user information;
[0141] If the preset first user authority is higher than the preset second user authority, executing a deletion instruction;
[0142] If the preset first user authority is lower than or equal to the preset second user authority, execution of the deletion instruction is suspended.
[0143] It should be noted that when multiple users control the same shared playlist list on the vehicle, if the control instruction obtained is a deletion instruction, since the shared playlist list is generated based on the music shared and pushed by multiple users, it is necessary to determine whether to execute the deletion based on the user's permissions. First, the first user information that issues the deletion instruction and the corresponding music name information are obtained, and then the second user information that shares the music is obtained. Based on the first user information and the second user information, the preset first user permissions corresponding to the first user and the preset second user permissions corresponding to the second user information are obtained. The permissions of the two users are compared, and whether to execute the deletion instruction is determined based on the level of permissions.
[0144] According to an embodiment of the present invention, if the preset first user authority is lower than or equal to the preset second user authority, suspending the execution of the deletion instruction includes:
[0145] Acquire multiple user information corresponding to the connection confirmation information;
[0146] Based on the user terminal, a deletion vote is initiated to the multiple users, the number of affirmative votes and the corresponding user information and the number of negative votes and the corresponding user information are obtained, and a deletion confirmation index is obtained by processing, and the deletion confirmation index is compared with a preset deletion confirmation threshold, and the operation instruction is executed according to the threshold comparison result.
[0147] It should be noted that on the basis of determining whether to execute the deletion instruction based on the authority, it is possible to further determine whether the music needs to be deleted based on different opinions of multiple users. In this embodiment, user voting is adopted to decide, based on which the deletion vote is initiated by the user end, and the deletion determination index is determined according to the voting situation, and then through threshold comparison, it is finally determined whether to execute the deletion instruction.
[0148] According to an embodiment of the present invention, the method of initiating a deletion vote to the multiple users based on the user terminal, obtaining user information corresponding to the number of approval votes and user information corresponding to the number of disapproval votes, processing to obtain a deletion determination index, performing a threshold comparison between the deletion determination index and a preset deletion determination threshold, and executing an operation instruction according to the threshold comparison result includes:
[0149] Acquire a corresponding preset first weight value based on the user information corresponding to the consent ticket;
[0150] Acquire a corresponding preset second weight value based on the user information corresponding to the negative vote;
[0151] Obtaining a deletion determination index according to the number of votes in favor and the number of votes against in combination with the corresponding preset first weight value and the corresponding preset second weight value;
[0152] Performing a threshold comparison between the deletion determination index and a preset deletion determination threshold;
[0153] The preset deletion determination threshold includes a first preset deletion determination threshold and a second preset deletion determination threshold, and the second preset deletion determination threshold is greater than the first preset deletion determination threshold;
[0154] If it is less than the first preset deletion determination threshold, canceling the deletion instruction;
[0155] If it is greater than or equal to the first preset deletion determination threshold and less than the second preset deletion determination threshold, the deletion instruction is executed, and the deleted music is combined with the user information corresponding to the negative vote to generate a collection playlist list;
[0156] If it is greater than or equal to the second preset deletion determination threshold, only the deletion instruction is executed.
[0157] It should be noted that, according to the preset corresponding weight values of user information, a plurality of corresponding preset first weight values are obtained based on the user information corresponding to the plurality of affirmative votes, a plurality of corresponding preset second weight values are obtained based on the user information corresponding to the plurality of negative votes, and a deletion determination index is obtained according to the number of affirmative votes and the number of negative votes combined with the corresponding preset first weight value and the corresponding preset second weight value;
[0158] The calculation formula of the deletion determination index is:
[0159] ;
[0160] in, To delete the determined index, , , , The numbers of votes in favor, votes against, the corresponding first weight value, and the corresponding second weight value are respectively;
[0161] The obtained deletion determination index is compared with the first preset deletion determination threshold and the second preset deletion determination threshold respectively. In this embodiment, the first preset deletion determination threshold is set to 0.7, and the second preset deletion determination threshold is set to 0.9. If the obtained deletion determination index is 0.5, the deletion instruction is canceled; if the obtained deletion determination index is 0.8, the deletion instruction is executed, and the deleted music is combined with the user information corresponding to the negative vote to generate a collection playlist list for personalized control of this type of users; if the obtained deletion determination index is 0.95, only the deletion instruction is executed.
[0162] According to an embodiment of the present invention, it also includes:
[0163] Acquire the connection inactivity time data between the user terminal and the wifi hotspot of the vehicle terminal according to the connection confirmation information;
[0164] Performing a threshold comparison between the connection inactivity time data and a preset connection inactivity time threshold;
[0165] The connection no operation time threshold includes a preset first connection no operation time threshold and a preset second connection no operation time threshold, and the preset second connection no operation time threshold is greater than the preset first connection no operation time threshold;
[0166] If the time is less than the preset first connection no-operation time threshold, maintaining the connection between the user terminal and the vehicle terminal;
[0167] If it is greater than or equal to the preset first connection no operation time threshold and less than the preset second connection no operation time threshold, the user terminal is kept connected to the vehicle terminal, and an output warning is displayed on the user terminal;
[0168] If it is greater than or equal to the preset second connection no-operation time threshold, the connection between the user terminal and the vehicle-mounted terminal is disconnected.
[0169] It should be noted that if the user sets the user terminal to automatically connect to the vehicle-mounted terminal within a preset range and there is no operation demand temporarily, the user terminal will cause heating or power consumption too quickly. Therefore, in order to improve the user's comfort, the connection no operation time data between the user terminal and the wifi hotspot of the vehicle-mounted terminal is first obtained, and the thresholds are compared with the preset first connection no operation time threshold and the preset second connection no operation time threshold. In this embodiment, the preset first connection no operation time threshold is 180 seconds, and the preset second connection no operation time threshold is 300 seconds. For example, if the obtained connection no operation time data is 120 seconds, the user terminal and the vehicle-mounted terminal are connected; if the obtained connection no operation time data is 185 seconds, the user terminal and the vehicle-mounted terminal are connected, and the output warning is displayed on the user terminal; if the obtained connection no operation time data is 301 seconds, the user terminal and the vehicle-mounted terminal are disconnected to reduce the power consumption of the user terminal.
[0170] It is worth mentioning that according to an embodiment of the present invention, it also includes:
[0171] Obtain vehicle operation data, including vehicle speed data and vehicle distance data;
[0172] Processing the vehicle speed data and the inter-vehicle distance data to obtain a congestion index;
[0173] Obtain vehicle travel time point data;
[0174] According to the congestion index and the vehicle travel time point data, a preset music resource library is searched to obtain the required music type and the corresponding music list;
[0175] Obtain corresponding user ratings based on the required music type and the corresponding music list, and generate a recommendation list based on the user ratings;
[0176] Music is played based on the vehicle-mounted terminal according to the recommendation list.
[0177] It should be noted that the vehicle operating environment changes at any time, the emotions of the users in the car will also change, and the demand for music will change accordingly. Therefore, the congestion index is obtained by processing the acquired vehicle speed data and the distance data between vehicles;
[0178] The congestion index calculation formula is:
[0179] ;
[0180] in, is the congestion index, , They are vehicle speed data and vehicle distance data, , is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset in-car music push platform);
[0181] According to the obtained congestion index and driving time point data, the preset music resource library is queried to obtain the required music type and the corresponding music list. The preset music resource library is constructed by obtaining the congestion index, driving time data and corresponding required music types of a large number of historical samples. For example, relaxing music is pushed during the morning rush hour when the road is congested, and dynamic music is pushed during the night when the highway is unobstructed. The corresponding required music type contains multiple music. The music list is generated according to preset rules. The preset rules include but are not limited to the music name, playback popularity, and creation time. The corresponding user rating is then obtained, and a recommendation list is generated according to the user rating. The music is played in the order of the recommendation list based on the in-vehicle terminal.
[0182] It is worth mentioning that according to an embodiment of the present invention, it also includes:
[0183] Get user location information and extract user location coordinate data.
[0184] Obtaining position information corresponding to a plurality of loudspeakers, and extracting corresponding loudspeaker position coordinate data;
[0185] According to the user position coordinate data and the speaker position coordinate data, corresponding distance data from the multiple speakers to the user are obtained;
[0186] Obtain in-vehicle noise data;
[0187] The playback volume of the corresponding speaker is adjusted according to the corresponding distance data and the in-vehicle noise data.
[0188] It should be noted that if there are multiple users in the car, the speakers corresponding to their positions are different. The same playback volume will cause different users to have different perceptions of the music, affecting the listening effect. Therefore, the user position information is determined based on the user end, the user position coordinate data is extracted, and then the speaker distribution position information is obtained, and the corresponding speaker position coordinate data is extracted. The user position coordinate data and the speaker position coordinate data are processed to obtain the corresponding distance data from multiple speakers to the user; the in-car noise data is obtained through a preset sensor, and the volume of the corresponding speaker near the user is adjusted according to the corresponding distance data combined with the in-car noise data, such as increasing the volume of the speaker close to the user, so that the user can achieve the best listening effect.
[0189] A third aspect of the present invention provides a readable storage medium, which stores a program for a method for pushing music to multiple users in a vehicle based on big data. When the program for pushing music to multiple users in a vehicle based on big data is executed by a processor, the steps of the method for pushing music to multiple users in a vehicle based on big data as described in any one of the above items are implemented.
[0190] The present invention discloses a method, system and medium for pushing music to multiple users in a vehicle based on big data. A shared hotspot is established by a vehicle-mounted terminal. Users use a user terminal to connect to the shared hotspot within a preset range to establish a connection between a vehicle-mounted device and a user device, thereby enabling multiple users to share and manage the music list on the vehicle-mounted terminal, achieving a personalized experience while improving comfort.
[0191] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0192] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0193] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0194] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, the aforementioned program can be stored in a readable storage medium, and when the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.
[0195] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A method for pushing music to multiple users in a vehicle based on big data, characterized in that: The following steps are involved: Get the wifi hotspot information of the vehicle and extract the corresponding IP address information; Acquire the IP address information based on the user terminal, and connect to the Wi-Fi hotspot information through a preset protocol to obtain connection confirmation information; Obtain the music name information shared by multiple users and generate a shared playlist list; The shared playlist is managed based on the user terminal and played based on the vehicle terminal; The user-side-based management of the shared playlist and the car-based playback includes: Obtain control command information from the user end, including deletion command information; Managing the shared playlist list according to the deletion instruction information; The managing the shared playlist list according to the deletion instruction information includes: Obtaining first user information corresponding to the deletion instruction information; Acquire corresponding music name information according to the deletion instruction information; Acquire the second user information sharing the music according to the music name information; Acquire a preset first user permission corresponding to the first user information and a preset second user permission corresponding to the second user information; If the preset first user authority is higher than the preset second user authority, executing a deletion instruction; If the preset first user authority is lower than or equal to the preset second user authority, suspending the execution of the deletion instruction; If the preset first user authority is lower than or equal to the preset second user authority, suspending the execution of the deletion instruction includes: Acquire multiple user information corresponding to the connection confirmation information; Initiating a deletion vote to the multiple users based on the user terminal, obtaining the number of affirmative votes and corresponding user information and the number of negative votes and corresponding user information, processing to obtain a deletion confirmation index, performing a threshold comparison between the deletion confirmation index and a preset deletion confirmation threshold, and executing an operation instruction according to the threshold comparison result; The method of initiating a deletion vote to the multiple users based on the user terminal, obtaining user information corresponding to the number of approval votes and user information corresponding to the number of disapproval votes, processing to obtain a deletion determination index, performing a threshold comparison between the deletion determination index and a preset deletion determination threshold, and executing an operation instruction according to the threshold comparison result includes: Acquire a corresponding preset first weight value based on the user information corresponding to the consent ticket; Acquire a corresponding preset second weight value based on the user information corresponding to the negative vote; Obtaining a deletion determination index according to the number of votes in favor and the number of votes against in combination with the corresponding preset first weight value and the corresponding preset second weight value; Performing a threshold comparison between the deletion determination index and a preset deletion determination threshold; The preset deletion determination threshold includes a first preset deletion determination threshold and a second preset deletion determination threshold, and the second preset deletion determination threshold is greater than the first preset deletion determination threshold; If it is less than the first preset deletion determination threshold, canceling the deletion instruction; If it is greater than or equal to the first preset deletion determination threshold and less than the second preset deletion determination threshold, the deletion instruction is executed, and the deleted music is combined with the user information corresponding to the negative vote to generate a collection playlist list; If it is greater than or equal to the second preset deletion determination threshold, only the deletion instruction is executed; Also includes: Obtain vehicle operation data, including vehicle speed data and vehicle distance data; Processing the vehicle speed data and the inter-vehicle distance data to obtain a congestion index; Obtain vehicle travel time point data; According to the congestion index and the vehicle travel time point data, a preset music resource library is searched to obtain the required music type and the corresponding music list; Obtain corresponding user ratings based on the required music type and the corresponding music list, and generate a recommendation list based on the user ratings; Playing music based on the vehicle-mounted terminal according to the recommendation list; The congestion index calculation formula is: ; in, is the congestion index, , They are vehicle speed data and vehicle distance data, , is the preset characteristic coefficient.
2. According to the method of pushing music to multiple users in a vehicle based on big data according to claim 1, it is characterized in that: Also includes: Acquire the connection inactivity time data between the user terminal and the wifi hotspot of the vehicle terminal according to the connection confirmation information; Performing a threshold comparison between the connection inactivity time data and a preset connection inactivity time threshold; The connection no operation time threshold includes a preset first connection no operation time threshold and a preset second connection no operation time threshold, and the preset second connection no operation time threshold is greater than the preset first connection no operation time threshold; If the time is less than the preset first connection no-operation time threshold, maintaining the connection between the user terminal and the vehicle terminal; If it is greater than or equal to the preset first connection no operation time threshold and less than the preset second connection no operation time threshold, the user terminal is kept connected to the vehicle terminal, and an output warning is displayed on the user terminal; If it is greater than or equal to the preset second connection no-operation time threshold, the connection between the user terminal and the vehicle-mounted terminal is disconnected.
3. A car-mounted multi-user music push system based on big data, characterized in that: The invention comprises a memory and a processor, wherein the memory comprises a program of a method for pushing music to multiple users in a vehicle based on big data, and when the method for pushing music to multiple users in a vehicle based on big data is executed by the processor, the following steps are implemented: Get the wifi hotspot information of the vehicle and extract the corresponding IP address information; Acquire the IP address information based on the user terminal, and connect to the Wi-Fi hotspot information through a preset protocol to obtain connection confirmation information; Obtain the music name information shared by multiple users and generate a shared playlist list; The shared playlist is managed based on the user terminal and played based on the vehicle terminal; The user-side-based management of the shared playlist and the car-based playback includes: Obtain control command information from the user end, including deletion command information; Managing the shared playlist list according to the deletion instruction information; The managing the shared playlist list according to the deletion instruction information includes: Obtaining first user information corresponding to the deletion instruction information; Acquire corresponding music name information according to the deletion instruction information; Acquire the second user information sharing the music according to the music name information; Acquire a preset first user permission corresponding to the first user information and a preset second user permission corresponding to the second user information; If the preset first user authority is higher than the preset second user authority, executing a deletion instruction; If the preset first user authority is lower than or equal to the preset second user authority, suspending the execution of the deletion instruction; If the preset first user authority is lower than or equal to the preset second user authority, suspending the execution of the deletion instruction includes: Acquire multiple user information corresponding to the connection confirmation information; Initiating a deletion vote to the multiple users based on the user terminal, obtaining the number of affirmative votes and corresponding user information and the number of negative votes and corresponding user information, processing to obtain a deletion confirmation index, performing a threshold comparison between the deletion confirmation index and a preset deletion confirmation threshold, and executing an operation instruction according to the threshold comparison result; The method of initiating a deletion vote to the multiple users based on the user terminal, obtaining user information corresponding to the number of approval votes and user information corresponding to the number of disapproval votes, processing to obtain a deletion determination index, performing a threshold comparison between the deletion determination index and a preset deletion determination threshold, and executing an operation instruction according to the threshold comparison result includes: Acquire a corresponding preset first weight value based on the user information corresponding to the consent ticket; Acquire a corresponding preset second weight value based on the user information corresponding to the negative vote; Obtaining a deletion determination index according to the number of votes in favor and the number of votes against in combination with the corresponding preset first weight value and the corresponding preset second weight value; Performing a threshold comparison between the deletion determination index and a preset deletion determination threshold; The preset deletion determination threshold includes a first preset deletion determination threshold and a second preset deletion determination threshold, and the second preset deletion determination threshold is greater than the first preset deletion determination threshold; If it is less than the first preset deletion determination threshold, canceling the deletion instruction; If it is greater than or equal to the first preset deletion determination threshold and less than the second preset deletion determination threshold, the deletion instruction is executed, and the deleted music is combined with the user information corresponding to the negative vote to generate a collection playlist list; If it is greater than or equal to the second preset deletion determination threshold, only the deletion instruction is executed; Also includes: Obtain vehicle operation data, including vehicle speed data and vehicle distance data; Processing the vehicle speed data and the inter-vehicle distance data to obtain a congestion index; Obtain vehicle travel time point data; According to the congestion index and the vehicle travel time point data, a preset music resource library is searched to obtain the required music type and the corresponding music list; Obtain corresponding user ratings based on the required music type and the corresponding music list, and generate a recommendation list based on the user ratings; Playing music based on the vehicle-mounted terminal according to the recommendation list; The congestion index calculation formula is: ; in, is the congestion index, , They are vehicle speed data and vehicle distance data, , is the preset characteristic coefficient.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an in-vehicle multi-user music push program based on big data. When the in-vehicle multi-user music push program based on big data is executed by the processor, the steps of a method for in-vehicle multi-user music push based on big data as described in any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Methods and systems for ordering and voting on shared media playlists
CN104303205A
System and method for controlling movement of automobile through mobile terminal
CN114449475A
Playing control method, device and equipment, user terminal and storage medium
CN115938407A