A music playing method of an interactive music highway based on ultra-high frequency electronic tags
Through an interactive music road music playback method based on ultra-high frequency electronic tags, combined with vehicle and road information, the high matching of music and vehicle environment is achieved, the problem of lack of flexibility and interactivity in traditional music road design is solved, and the user experience and personalized services of music playback are improved.
Patent Information
- Application Number
- CN202411765488.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-12-04
AI Technical Summary
Traditional music road design lacks flexibility and interactivity, music cannot be changed, road grooves are easily worn, maintenance costs are high, and the designed music can only be accurately heard when the vehicle is driving at a preset speed.
An interactive music road music playback method based on ultra-high frequency electronic tags is adopted. By identifying vehicle information, road information and weather information, combining vehicle arrival time and driving estimation time, the sound generating equipment is controlled to play music, so as to achieve a high matching between the music and the environment when the vehicle is driving.
It realizes accurate music playback of sounding equipment, improves user experience, provides personalized music playback services, meets the preferences of different users, adjusts the power and playback status of sounding equipment in real time, and ensures that the playback effect is in line with the external environment and vehicle conditions.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a music playing method of an interactive music highway based on ultra-high frequency electronic tags. Background Art
[0002] With the development of intelligent transportation systems, more and more technological innovations are being applied to modern road construction to enhance driving experience and driving safety. In this context, interactive music highways, as an emerging technology, have gradually attracted attention. Traditional music highway designs usually involve setting a series of grooves of special shapes on the road surface. When a vehicle passes through these grooves at a certain speed, the sound produced by the contact between the tires and the ground forms a melody. Although this method is creative and entertaining, it also has some limitations. For example, once the grooves are laid, the music formed cannot be changed, lacking flexibility, the road surface grooves are easily worn and need to be regularly inspected and repaired, increasing the cost of long-term maintenance, and the designed music can only be accurately heard when the vehicle is driving at a preset speed, which limits its application scenarios. Summary of the invention
[0003] In order to overcome the shortcomings of the traditional music highway, which lacks flexibility and interactivity, the technical problem to be solved is: to provide a music playing method of an interactive music highway based on ultra-high frequency electronic tags.
[0004] The technical solution is: a music playing method of an interactive music highway based on ultra-high frequency electronic tags, comprising the following steps:
[0005] S1: Identify vehicle information and obtain road and weather information;
[0006] S2: according to the vehicle information and the road information, obtaining the arrival time of the current vehicle at each sound-emitting device and the estimated vehicle travel time;
[0007] S3: according to the estimated driving time of the vehicle, combined with the vehicle information and the weather information, obtain the type of music and the music clip that the sound device needs to play;
[0008] S4: obtaining a power variation curve of the sound-generating device according to the vehicle information and the road information;
[0009] S5: According to the arrival time and the power value, control the sound-emitting device to play the music clip.
[0010] Preferably, the identifying vehicle information and acquiring road information and weather information in S1 includes:
[0011] By identifying the ultra-high frequency electronic tag installed on the vehicle, the vehicle information is obtained, which includes the vehicle speed, the owner's music habits and the recent music playing records;
[0012] The road information includes the road length and the information of the sound-generating devices installed on the road. The sound-generating device information includes the number, interval and installation location of the sound-generating devices. The weather information includes the temperature and weather conditions.
[0013] Preferably, obtaining the arrival time of the current vehicle at each sound-emitting device and the estimated vehicle travel time according to the vehicle information and the road information in S2 includes:
[0014] By analyzing the road information, the locations of multiple sound-emitting devices on the road are obtained, and then combined with the vehicle information, the arrival time of the vehicle at each sound-emitting device and the estimated driving time of the vehicle on the road are obtained through a trained driving time planning model, wherein the sound source propagation range of the sound-emitting device is analyzed, and the time when the vehicle reaches the edge of the sound source propagation range of the sound-emitting device is the arrival time.
[0015] Preferably, the method of obtaining the arrival time of the vehicle at each sound-emitting device and the estimated driving time of the vehicle on the road through the trained driving time planning model includes:
[0016] S201: Collect input data, where the input data includes historical vehicle driving records, real-time vehicle speed, road information, and weather information;
[0017] S202: Standardizing the input data through preprocessing;
[0018] S203: Based on the LSTM model, the historical driving records are used to train a time series model to output a preliminary vehicle arrival time prediction;
[0019] S204: inputting the prediction results output by LSTM and the real-time road information and weather conditions into the SVR model to optimize the prediction time;
[0020] S205: The nonlinear characteristics on the road are learned through the SVR model, and the arrival time output by the LSTM is optimized to obtain the arrival time of the vehicle at each sound-emitting device and the estimated driving time of the vehicle on the road.
[0021] Preferably, the step of obtaining the type of music and the music clip to be played by the sound device according to the estimated vehicle travel time in S3 in combination with the vehicle information and the weather information includes:
[0022] S31: determining a set of music types suitable for playing according to the weather information, and performing an intersection operation on the set of music types in combination with the music habits of the car owner to obtain the type of music that the sound device needs to play;
[0023] S32: Obtain the music to be played according to the music type and the most recent music playing record;
[0024] S33: According to the estimated driving time of the vehicle, the music is segmented to obtain the music segment to be played.
[0025] Preferably, the music is segmented according to the estimated vehicle travel time to obtain the music segment to be played, including:
[0026] Obtaining the total duration of the music and comparing it with the estimated driving time of the vehicle;
[0027] If the estimated vehicle driving time is greater than or equal to the total duration of the music, there is no need to cut the music into segments; otherwise, cut the music into segments to obtain a set of music segments, obtain the playing time and the total number of times each music segment in the set of music segments, and select the music segment with the largest total number of times played according to the estimated vehicle driving time to obtain the music segment that needs to be played.
[0028] Preferably, the step of obtaining the power value of the sound-emitting device according to the vehicle information and the road information in S4 includes:
[0029] According to the vehicle information and the road information, a change in the distance between the vehicle and the sound-emitting device is obtained;
[0030] According to the distance change, through the formula:
[0031] ;
[0032] The power value of the sound-generating device is obtained, where is the expected decibel value, is the power of the sound-generating device, is the constant of the sound-generating device, is the distance between the vehicle and the sound-emitting device.
[0033] Preferably, the expected decibel value includes:
[0034] Get the ambient noise, combined with the window status, through the formula:
[0035] ;
[0036] The expected decibel value is is the expected decibel value of the vehicle, is the basic decibel value, is the vehicle interior noise intensity, is the ambient noise intensity.
[0037] Preferably, in S5, controlling the sound device to play the music clip according to the arrival time and the power value includes:
[0038] The arrival time is set as the music clip playing time of the sound device, and the window state change of the vehicle is obtained in real time, and the playback of the sound device that has not been passed is controlled according to the window state change;
[0039] If the window status changes from open to closed or remains closed, the next unused sound device in the vehicle will stop playing music;
[0040] If the state of the vehicle window changes from closed to open, the power of the next unused sound-generating device of the vehicle is recalculated, and the sound-generating device is controlled to play the music clip;
[0041] Otherwise, music playing is controlled on the sound-emitting device that has not been used in the vehicle according to the power value.
[0042] Preferably, the vehicle window state is in a continuously closed state, including:
[0043] When the vehicle passes the identification point, the window status is closed, and when the vehicle passes the preset number of sound-emitting devices, the window status is still closed, then it is determined that the window status change is continuously closed.
[0044] The present invention has the following advantages: by identifying vehicle information, road information and weather information, combined with the vehicle arrival time and the estimated vehicle driving time, the present invention can realize accurate music playback of the sound-emitting device, ensure that the music is highly matched with the environment when the vehicle is driving, thereby improving the user experience; it can automatically select the music type and music clip suitable for the current situation according to the owner's music habits and historical playback records, combined with weather information, to provide personalized music playback services to meet the preferences of different users; combined with the changes in the vehicle's driving process, the power and playback status of the sound-emitting device are adjusted in real time to ensure that the playback effect is always adapted to the external environment and vehicle conditions, avoid excessive or insufficient sound, and improve the music playback experience; and through this method, the interactive effect of the vehicle and the music highway is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of a process of a music playing method of an interactive music highway based on an ultra-high frequency electronic tag according to the present invention;
[0046] Figure 2 This is a training flow chart of the travel time planning model of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] Embodiment 1: A music playing method of an interactive music highway based on an ultra-high frequency electronic tag, such as Figure 1-2 As shown, the following steps are included:
[0049] S1: Identify vehicle information and obtain road and weather information;
[0050] By identifying the ultra-high frequency electronic tag installed on the vehicle, the vehicle information is obtained, including the vehicle speed, the owner's music habits and the recent music playing records;
[0051] The road information includes the road length and the information of the sound-emitting devices installed on the road. The sound-emitting devices information includes the number, interval and installation location of the sound-emitting devices. The weather information includes the temperature and weather conditions.
[0052] It should be noted that vehicle information is obtained by reading the UHF electronic tag installed on the vehicle, which includes but is not limited to the vehicle's speed, the owner's music preferences and its recent playback records. Road information covers the specific layout of all sound-emitting devices on the entire road, while weather information includes the current temperature and meteorological conditions. Such a data collection mechanism ensures that the system can accurately provide customized services for each user.
[0053] S2: according to the vehicle information and the road information, obtaining the arrival time of the current vehicle at each sound-emitting device and the estimated vehicle travel time;
[0054] By analyzing the road information, the locations of multiple sound-emitting devices on the road are obtained, and then combined with the vehicle information, the arrival time of the vehicle at each sound-emitting device and the estimated driving time of the vehicle on the road are obtained through a trained driving time planning model, wherein the sound source propagation range of the sound-emitting device is analyzed, and the time when the vehicle reaches the edge of the sound source propagation range of the sound-emitting device is the arrival time.
[0055] It should be noted that the system will analyze the pre-stored road information database to obtain the specific locations of all sound-emitting devices on the road. This information usually includes the geographical coordinates of each sound-emitting device, the installation height, and the distance to the next sound-emitting device. Then, the vehicle information (such as vehicle speed and acceleration) read from the UHF electronic tag is combined with the above road information, and a trained driving time planning model is used to predict when the vehicle will arrive at each sound-emitting device. This model can comprehensively consider factors such as vehicle speed changes and traffic conditions. In order to more accurately determine the "arrival time", it is also necessary to analyze the effective sound source propagation range of each sound-emitting device. Once the vehicle enters this range, it is regarded as the time point of arrival at the sound-emitting device. This ensures that the music clip can be played within the time period for the best hearing effect.
[0056] S201: Collect input data, where the input data includes historical vehicle driving records, real-time vehicle speed, road information, and weather information;
[0057] S202: Standardizing the input data through preprocessing;
[0058] S203: Based on the LSTM model, the historical driving records are used to train a time series model to output a preliminary vehicle arrival time prediction;
[0059] S204: inputting the prediction results output by LSTM and the real-time road information and weather conditions into the SVR model to optimize the prediction time;
[0060] S205: The nonlinear characteristics on the road are learned through the SVR model, and the arrival time output by the LSTM is optimized to obtain the arrival time of the vehicle at each sound-emitting device and the estimated driving time of the vehicle on the road.
[0061] It should be noted that historical vehicle driving records include the actual time data of past vehicles passing through specific road sections. These data can be obtained from traffic management systems or on-board sensors. The preprocessing operations for the data include: data cleaning: removing outliers and missing values to ensure data quality; feature engineering: creating new feature variables, such as calculating average speed and acceleration; standardization: scaling all features to the same numerical range to avoid some features affecting model training due to excessive values. Common standardization methods include Z-score standardization or minimum and maximum normalization. Use historical data sets to train the LSTM model, adjust the weights through the back-propagation algorithm, so that the model can accurately predict future travel times, use cross-validation methods to evaluate model performance, and further optimize the model by adjusting hyperparameters. Combine the LSTM prediction results with the latest road information and weather conditions to form a new input vector. Use the LSTM prediction results and other real-time information as input to train the SVR model to further optimize the arrival time prediction.
[0062] S3: according to the estimated driving time of the vehicle, combined with the vehicle information and the weather information, obtain the type of music and the music clip that the sound device needs to play;
[0063] S31: determining a set of music types suitable for playing according to the weather information, and performing an intersection operation on the set of music types in combination with the music habits of the car owner to obtain the type of music that the sound device needs to play;
[0064] S32: Obtain the music to be played according to the music type and the most recent music playing record;
[0065] S33: According to the estimated driving time of the vehicle, the music is segmented to obtain the music segment to be played.
[0066] Obtaining the total duration of the music and comparing it with the estimated driving time of the vehicle;
[0067] If the estimated vehicle driving time is greater than or equal to the total duration of the music, there is no need to cut the music into segments; otherwise, cut the music into segments to obtain a set of music segments, obtain the playing time and the total number of times each music segment in the set of music segments, and select the music segment with the largest total number of times played according to the estimated vehicle driving time to obtain the music segment that needs to be played.
[0068] It should be noted that the system will analyze the current weather conditions. For example, on sunny days, it will choose light and lively music; on rainy or cloudy days, it tends to play soft and quiet music; by reading the owner's music preference data (such as historical playback records), the system understands the owner's favorite music style; based on weather information, a preliminary set of music types is generated, and then the intersection operation is performed with the owner's music preferences to ensure that the final selected music type is in line with the weather atmosphere and meets the owner's personal preferences; after determining the music type, the system will filter out music tracks of that type from the database; according to the estimated driving time of the vehicle, the available time period is calculated; if the estimated driving time is not enough to play a song in full, the system will appropriately cut the music according to the driving time; select the most representative and popular parts as the playback clips to ensure a good listening experience even if the time is short.
[0069] S4: obtaining a power variation curve of the sound-generating device according to the vehicle information and the road information;
[0070] According to the vehicle information and the road information, a change in the distance between the vehicle and the sound-emitting device is obtained;
[0071] According to the distance change, through the formula:
[0072] ;
[0073] The power value of the sound-generating device is obtained, where is the expected decibel value, is the power of the sound-generating device, is the constant of the sound-generating device, is the distance between the vehicle and the sound-emitting device.
[0074] The expected decibel value includes:
[0075] Get the ambient noise, combined with the window status, through the formula:
[0076] ;
[0077] The expected decibel value is is the expected decibel value of the vehicle, is the basic decibel value, is the vehicle interior noise intensity, is the ambient noise intensity.
[0078] It should be noted that the system will obtain information on the vehicle's speed and acceleration to determine the change in position of the vehicle relative to the sound-emitting device and calculate the real-time distance between the vehicle and each sound-emitting device. This is the target volume level set by the system to ensure ideal hearing effects when music is played; This is the key parameter that needs to be calculated, indicating the power that the sound device should output. This is a variable that changes in real time and is used to dynamically adjust power. The system obtains the current ambient noise level through sensors installed on the outside of the vehicle or on the side of the road. These sensors are microphones or other sound level meter devices; the collected noise data is filtered and averaged to obtain a stable ambient noise value; based on the state of the windows, the noise level inside the vehicle is estimated. For example, when the windows are closed, the noise inside the car mainly comes from the engine and tires; when the windows are open, the outside noise will increase significantly; It is a preset basic volume level, usually based on the standard setting of comfortable listening experience, and the expected decibel value is calculated by the above formula , ensuring that the sound of the music playback can cover the background noise while maintaining a comfortable listening experience.
[0079] S5: According to the arrival time and the power value, control the sound-emitting device to play the music clip.
[0080] The arrival time is set as the music clip playing time of the sound device, and the window state change of the vehicle is obtained in real time, and the playback of the sound device that has not been passed is controlled according to the window state change;
[0081] If the window status changes from open to closed or remains closed, the next unused sound device in the vehicle will stop playing music;
[0082] If the state of the vehicle window changes from closed to open, the power of the next unused sound-generating device of the vehicle is recalculated, and the sound-generating device is controlled to play the music clip;
[0083] Otherwise, music playing is controlled on the sound-emitting device that has not been used in the vehicle according to the power value.
[0084] When the vehicle passes the identification point, the window status is closed, and when the vehicle passes the preset number of sound-emitting devices, the window status is still closed, then it is determined that the window status change is continuously closed.
[0085] It should be noted that the system sets the music clip playing time of each sound-emitting device according to the time when the vehicle arrives at each sound-emitting device calculated in the previous step, and sets the output power of each sound-emitting device according to the power value calculated by the formula, and obtains the changes in the vehicle's window status in real time. If the window changes from open to closed, or remains closed, this usually means that the owner is not interested in the currently playing music or wants to reduce external sound interference. Therefore, the system will pause the music playback of the next sound-emitting device that has not been passed. If the window changes from closed to open, this usually means that the owner is interested in the music and wants to hear more music. At this time, the system will recalculate the power value of the next sound-emitting device that has not been passed, and control it to start playing music. If there is no change in the window status, the system will control the sound-emitting device to play music according to the pre-set power value and arrival time.
[0086] The technical principles of the embodiments of the present invention are described above in conjunction with specific embodiments. These descriptions are only for explaining the principles of the embodiments of the present invention and cannot be interpreted in any way as limiting the protection scope of the embodiments of the present invention. Based on the explanations herein, those skilled in the art can think of other specific implementation methods of the embodiments of the present invention without creative work, and these methods will fall within the protection scope of the embodiments of the present invention.
Claims
1. A music playing method of an interactive music highway based on ultra-high frequency electronic tags, characterized in that: The following steps are involved: S1: Identify vehicle information and obtain road and weather information; S2: according to the vehicle information and the road information, obtaining the arrival time of the current vehicle at each sound-emitting device and the estimated vehicle travel time; S3: according to the estimated driving time of the vehicle, combined with the vehicle information and the weather information, obtain the type of music and the music clip that the sound device needs to play; S4: Obtaining a power value of a sound-generating device according to the vehicle information and the road information; S5: controlling the sound device to play the music clip according to the arrival time and the power value; In S5, according to the arrival time and the power value, the sound device is controlled to play the music clip, including: The arrival time is set as the music clip playing time of the sound device, and the window state change of the vehicle is obtained in real time, and the playback of the sound device that has not been passed is controlled according to the window state change; If the window status changes from open to closed or remains closed, the next unused sound device in the vehicle will stop playing music; If the state of the vehicle window changes from closed to open, the power of the next unused sound-generating device of the vehicle is recalculated, and the sound-generating device is controlled to play the music clip; Otherwise, music playing is controlled on the unused sound-emitting device of the vehicle according to the power value; The vehicle window state is in a continuously closed state, including: When the vehicle passes the identification point, the window status is closed, and when the vehicle passes the preset number of sound-emitting devices, the window status is still closed, then it is determined that the window status change is continuously closed.
2. The music playing method of the interactive music highway based on UHF electronic tags as claimed in claim 1, characterized in that: The identification of vehicle information and acquisition of road information and weather information described in S1 include: By identifying the ultra-high frequency electronic tag installed on the vehicle, the vehicle information is obtained, which includes the vehicle speed, the owner's music habits and the recent music playing records; The road information includes the road length and the information of the sound-generating devices installed on the road. The sound-generating device information includes the number, interval and installation location of the sound-generating devices. The weather information includes the temperature and weather conditions.
3. The music playing method of the interactive music highway based on UHF electronic tags as claimed in claim 1, characterized in that: The step of obtaining the arrival time of the current vehicle at each sound-emitting device and the estimated travel time of the vehicle according to the vehicle information and the road information in S2 includes: By analyzing the road information, the locations of multiple sound-emitting devices on the road are obtained, and then combined with the vehicle information, the arrival time of the vehicle at each sound-emitting device and the estimated driving time of the vehicle on the road are obtained through a trained driving time planning model, wherein the sound source propagation range of the sound-emitting device is analyzed, and the time when the vehicle reaches the edge of the sound source propagation range of the sound-emitting device is the arrival time.
4. The music playing method of the interactive music highway based on UHF electronic tags as claimed in claim 3, characterized in that: The arrival time of the vehicle at each sound-generating device and the estimated travel time of the vehicle on the road are obtained through the trained travel time planning model, including: S201: Collect input data, where the input data includes historical vehicle driving records, real-time vehicle speed, road information, and weather information; S202: Standardizing the input data through preprocessing; S203: Based on the LSTM model, the historical vehicle driving records are used to train a time series model to output a preliminary vehicle arrival time prediction; S204: inputting the prediction results output by LSTM and the real-time road information and weather conditions into the SVR model to optimize the prediction time; S205: The nonlinear characteristics on the road are learned through the SVR model, and the arrival time output by the LSTM is optimized to obtain the arrival time of the vehicle at each sound-emitting device and the estimated driving time of the vehicle on the road.
5. The music playing method of the interactive music highway based on UHF electronic tags as claimed in claim 2, characterized in that: The method of obtaining the type of music and the music clip to be played by the sound device according to the estimated vehicle travel time in S3 in combination with the vehicle information and the weather information includes: S31: determining a set of music types suitable for playing according to the weather information, and performing an intersection operation on the set of music types in combination with the music habits of the car owner to obtain the type of music that the sound device needs to play; S32: Obtain the music to be played according to the music type and the most recent music playing record; S33: According to the estimated driving time of the vehicle, the music is segmented to obtain the music segment to be played.
6. The music playing method of the interactive music highway based on UHF electronic tags as claimed in claim 5, characterized in that: The step of intercepting the music according to the estimated vehicle travel time to obtain the music segment to be played includes: Obtaining the total duration of the music and comparing it with the estimated driving time of the vehicle; If the estimated vehicle driving time is greater than or equal to the total duration of the music, there is no need to cut the music into segments; otherwise, cut the music into segments to obtain a set of music segments, obtain the playing time and the total number of times each music segment in the set of music segments, and select the music segment with the largest total number of times played according to the estimated vehicle driving time to obtain the music segment that needs to be played.
7. The music playing method of the interactive music highway based on UHF electronic tags as claimed in claim 1, characterized in that: The step of obtaining the power value of the sound-generating device according to the vehicle information and the road information in S4 includes: According to the vehicle information and the road information, a change in the distance between the vehicle and the sound-emitting device is obtained; According to the distance change, through the formula: ; The power value of the sound-generating device is obtained, where is the expected decibel value, is the power of the sound-generating device, is the constant of the sound-generating device, is the distance between the vehicle and the sound-emitting device.
8. The music playing method of the interactive music highway based on UHF electronic tags as claimed in claim 7, characterized in that: The expected decibel value includes: Get the ambient noise, combined with the window status, through the formula: ; The expected decibel value is is the expected decibel value of the vehicle, is the basic decibel value, is the vehicle interior noise intensity, is the ambient noise intensity.
Citation Information
Patent Citations
Method and device for data acquisition and analysis through combination of vehicle driving states
CN105761484A
Vehicle-mounted music recommendation method and device, equipment and storage medium
CN113849681A
Vehicle noise reduction method and vehicle
CN115083384A
Music playing device and method for position-based music road
CN115529345A