Intelligent generation method of music playing interface
By periodically recording user click locations and time tags, verifying the music playback interface based on time intervals, and generating processing command adjustment parameters, solving the problem of real-time monitoring and intelligent adjustment in the existing technology, and improving the operating efficiency of the interface.
Patent Information
- Application Number
- CN202510240563.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-03-03
AI Technical Summary
The prior art cannot realize real-time monitoring and intelligent adjustment of the generated music playback interface, resulting in low operational efficiency.
By periodically recording the user click location, obtaining absolute distance and time tags, verifying the music playback interface based on time intervals, generating processing instructions to adjust running parameters, and ensuring that the interface is qualified.
Real-time monitoring and intelligent adjustment of the music playback interface is realized, the interface operation efficiency is improved, misjudgment and unqualified situations are avoided, and the interface complies with the standards.
Smart Images

Figure CN120335753A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and particularly to a method for intelligently generating a music playback interface. Background Art
[0002] The music playback interface refers to the part in the music player software for playing and controlling music, usually including various function buttons, such as play control function buttons, song information function buttons, and song background function buttons, etc. The play control function buttons include play / pause function buttons and volume adjustment function buttons, etc. Users can select different button combinations to meet different playback requirements. With the development of society, the music playback interface is widely used in different usage devices and usage scenarios. The generation of an excellent music playback interface has important practical significance in providing a good experience for users, enhancing users' auditory enjoyment, and enhancing users' visual enjoyment. And how to make the music playback interface maintain accuracy and efficiency has gradually become a topic closely related to life, which is an important manifestation of generating an excellent music playback interface.
[0003] Chinese Patent Publication No.: CN115776600B, discloses a display device and a method for displaying a music playback interface, which, in response to an operation of playing music, sends a media resource request; receives the media resource data and index data fed back by the server according to the media resource request; controls the display to display the cover data in the media resource data in the first display area of the playback interface, and displays the lyrics data in the media resource data in the second display area of the playback interface; receives an input switching instruction; when the switching instruction indicates switching the background of the playback interface, hides the display contents of the first and second display areas, and uses the index data to obtain a background image and display it in the third display area, and controls the lyrics data to float and be displayed on the background image.
[0004] It can be seen that the above display device switches the playback interface accordingly according to different switching instructions for switching the display form of the playback interface received, making the playback interface diversified and improving the user experience. However, the above solution cannot realize real-time monitoring and intelligent adjustment of the generated music playback interface, and thus cannot guarantee the operation efficiency of the generated music playback interface. Summary of the Invention
[0005] Therefore, the present invention provides a method for intelligently generating a music playback interface to overcome the problem in the prior art that real-time monitoring and intelligent adjustment of the generated music playback interface cannot be realized, resulting in low operation efficiency of the generated music playback interface.
[0006] To achieve the above object, the present invention provides a method for intelligently generating a music playback interface, including:
[0007] Generate a music playback interface based on user requirements. The music playback interface includes several function buttons, and the parameters of each function button include the layout of the function area, the size of the function area, and the layout of the function buttons;
[0008] Periodically record several click positions of the user on the music playback interface, and obtain the time tags corresponding to each click position;
[0009] For each of the click positions, sequentially obtain the absolute distance between the two closest click positions;
[0010] Record the two click positions with the absolute distance less than the preset absolute distance as a position pair;
[0011] Obtain the time tags of each of the position pairs, and determine the time interval of each position pair based on the time tags;
[0012] Verify the music playback interface based on the time interval;
[0013] Generate a corresponding processing instruction based on the verification result,
[0014] Or, complete the periodic verification of the music playback interface, and verify whether the next-period music playback interface is qualified;
[0015] Wherein, the verification includes verifying whether the music playback interface is qualified and determining the reason for the unqualified verification;
[0016] Redetermine the operating parameters of the corresponding components based on the received processing instruction.
[0017] Further, the process of verifying the music playback interface based on the time interval includes:
[0018] Compare the time interval with the preset time interval;
[0019] When the time interval is less than the preset time interval, record the position pair corresponding to the time interval as a single mis-touch event;
[0020] Count the number of the mis-touch events, and record the obtained number as the mis-touch event number;
[0021] Compare the mis-touch event number with the preset mis-touch event number;
[0022] When the mis-touch event number is less than the first preset mis-touch event number, verify that the music playback interface is qualified, complete the periodic verification of the music playback interface, and verify whether the next-period music playback interface is qualified;
[0023] When the number of accidental touch events is greater than or equal to the first preset number of accidental touch events and less than the second preset number of accidental touch events, verify that the music playback interface is unqualified, and verify whether the preset number of accidental touch events is qualified based on each of the accidental touch events;
[0024] When the number of accidental touch events is greater than or equal to the second preset number of accidental touch events, verify that the music playback interface is unqualified, and verify the reason for the unqualified music playback interface based on each of the accidental touch events.
[0025] Further, the process of verifying whether the preset number of accidental touch events is qualified based on each of the accidental touch events includes:
[0026] Respectively obtain the corresponding time tags in each of the accidental touch events;
[0027] Sequentially determine the starting point and the ending point of the site pair in each of the accidental touch events according to the time sequence of the corresponding time tags;
[0028] Obtain the time distribution value of each starting point of each of the accidental touch events;
[0029] Verify whether the preset number of accidental touch events is qualified based on the time distribution value;
[0030] When the time distribution value is less than or equal to the preset time distribution value, verify that the preset number of accidental touch events is qualified, verify that the music playback interface is qualified, complete the periodic verification of the music playback interface, and verify whether the music playback interface of the next cycle is qualified;
[0031] When the time distribution value is greater than the preset time distribution value, verify that the preset number of accidental touch events is unqualified, and correct the preset number of accidental touch events based on the music playback interface.
[0032] Further, the process of correcting the preset number of accidental touch events based on the music playback interface includes:
[0033] Obtain the interface size of the music playback interface;
[0034] Increase the preset number of accidental touch events based on the interface size, and the increase range of the preset number of accidental touch events is proportional to the interface size.
[0035] Further, the process of verifying the reason for the unqualified music playback interface based on each of the accidental touch events includes:
[0036] Sequentially connect the starting point and the ending point of each of the accidental touch events and obtain the vector of each accidental touch event;
[0037] Respectively draw horizontal lines through the starting points of each of the accidental touch events;
[0038] Obtain the angles of each of the horizontal lines rotated counterclockwise to each of the vectors;
[0039] Calculate the variance of each of the angles, and denote the obtained variance as the angle variance;
[0040] Verify the reason for the unqualified music playback interface based on the angle variance;
[0041] When the angle variance is less than or equal to the first preset angle variance, verify that the reason for the unqualified music playback interface is that the layout of the functional area does not meet the standard, and correct the layout of the functional area based on the magnitudes of the vectors;
[0042] When the angle variance is greater than the first preset angle variance and less than or equal to the second preset angle variance, verify the reason for the unqualified music playback interface based on the distribution of each mis-touch event;
[0043] When the angle variance is greater than the second preset angle variance, verify that the reason for the unqualified music playback interface is that the layout of the function buttons does not meet the standard, and determine a processing instruction for the layout of the function buttons based on the types of the function buttons.
[0044] Further, the process of correcting the layout of the functional area based on the magnitudes of the vectors includes:
[0045] Determine each mis-touch event of each function button;
[0046] Calculate the magnitude of the single vector of the single starting point and the single ending point of the single site pair in the single mis-touch event;
[0047] Sequentially determine the magnitudes of the vectors of the starting points and the ending points of each site pair in each mis-touch event in the single function button;
[0048] Calculate the average value of the magnitudes of the vectors in the single function button, and denote the obtained average value as the moving distance value;
[0049] Sequentially complete the determination of the moving distance values of each function button;
[0050] Move each functional area by the corresponding moving distance value in the direction from each ending point to each starting point.
[0051] Further, the process of verifying whether the angle variance is less than or equal to the first preset angle variance based on the angle variance after the movement of the functional area includes:
[0052] When verifying that the angular variance is less than or equal to the first preset angular variance, it is verified that the size of the functional area does not meet the standard;
[0053] Increase the size of the functional area based on the movement distance value, and the increase amplitude of the functional area size is proportional to the movement distance value.
[0054] Further, the process of verifying the reason for the unqualified music playing interface based on the distribution of each mis-touch event includes:
[0055] Determine the distribution concentration of each starting point in each mis-touch event;
[0056] Verify the reason for the unqualified music playing interface based on the distribution concentration;
[0057] When the distribution concentration is less than or equal to the preset distribution concentration, it is verified that the reason for the unqualified music playing interface is that the layout of the functional area does not meet the standard, and correct the layout of the functional area based on the magnitude of each vector;
[0058] When the distribution concentration is greater than the preset distribution concentration, it is verified that the reason for the unqualified music playing interface is that the layout of the function keys does not meet the standard, and determine the processing instruction for the layout of the function keys based on the types of the function keys.
[0059] Further, the process of determining the processing instruction for the layout of the function keys based on the types of the function keys includes:
[0060] Retrieve the corresponding preset function key layouts based on the determined types of each function key;
[0061] Record the total number of the function keys as the total number of function keys;
[0062] Determine the number of overlaps between each function key layout and each preset function key layout, and record the obtained number as the overlap number;
[0063] Calculate the ratio of the overlap number to the total number of function keys, and record the obtained ratio as the layout overlap degree;
[0064] Determine the processing instruction for the layout of the function keys based on the layout overlap degree;
[0065] When the layout overlap degree is greater than or equal to the preset layout overlap degree, correct the anchoring distance of each function key layout based on the layout overlap degree, where the anchoring distance is the activity radius of the center point of the function key layout when the function key layout meets the standard;
[0066] When the layout coincidence degree is less than the preset layout coincidence degree, optimize the function button layout, send a notice for optimizing the function button layout, and optimize the function button layout.
[0067] Further, the process of correcting the anchoring distance of each function button layout based on the layout coincidence degree includes:
[0068] Calculate the difference between the layout coincidence degree and the preset layout coincidence degree, and record the obtained difference as the coincidence degree difference;
[0069] Reduce the anchoring distance based on the coincidence degree difference, and the reduction amplitude of the anchoring distance is inversely proportional to the coincidence degree difference.
[0070] Compared with the prior art, the beneficial effects of the present invention are as follows: The present invention verifies whether the music playing interface is qualified based on the time interval, can accurately and timely verify whether the music playing interface is qualified, effectively realizes real-time monitoring of the music playing interface, generates corresponding processing instructions based on the verification results, and re-determines the operating parameters of the corresponding components based on the received processing instructions, effectively realizes intelligent adjustment of the music playing interface, so that the generated music playing interface is qualified, and effectively improves the operating efficiency of the music playing interface.
[0071] Further, when the number of accidental touch events is greater than or equal to the first preset number of accidental touch events and less than the second preset number of accidental touch events, the present invention verifies whether the preset number of accidental touch events is qualified based on the time distribution value, further realizes real-time monitoring of the music playing interface, avoids misjudgment between verifying that the music playing interface is qualified and verifying that the music playing interface is unqualified, and at the same time, effectively avoids the situation that the music playing interface is verified as unqualified due to the preset number of accidental touch events not meeting the standard, and further improves the operating efficiency of the music playing interface.
[0072] Further, when the present invention verifies that the preset number of accidental touch events is unqualified, increase the preset number of accidental touch events based on the interface size, effectively ensure the accuracy of the preset number of accidental touch events and can adapt to the application environment, while further realizing intelligent adjustment of the music playing interface, further improving the operating efficiency of the music playing interface.
[0073] Further, the present invention verifies the reason for the unqualified music playing interface based on the angle variance, can accurately determine the reason for the unqualified, is beneficial to the generation of subsequent processing instructions, while further realizing real-time monitoring of the music playing interface, further improving the operating efficiency of the music playing interface.
[0074] Furthermore, when the present invention verifies that the reason for the unqualified music playback interface is that the layout of the functional areas does not meet the standard, each functional area is moved by a corresponding moving distance value in the direction from each end point to each starting point, effectively avoiding the occurrence of the situation where the music playback interface is unqualified due to the layout of the functional areas not meeting the standard. While further realizing the intelligent adjustment of the music playback interface, the running efficiency of the music playback interface is further improved.
[0075] Furthermore, after the movement of the functional areas, the present invention verifies whether the angular variance is less than or equal to the first preset angular variance based on the angular variance, further realizing the real-time monitoring of the music playback interface. When the verified angular variance is less than or equal to the first preset angular variance, the size of the functional areas is increased based on the magnitudes of the vectors, effectively avoiding the occurrence of the situation where the music playback interface is unqualified due to the size of the functional areas not meeting the standard. While further realizing the intelligent adjustment of the music playback interface, the running efficiency of the music playback interface is further improved.
[0076] Furthermore, when the angular variance is greater than the first preset angular variance and less than or equal to the second preset angular variance, the present invention verifies the reason for the unqualified music playback interface based on the distribution concentration, effectively avoiding misjudgment between the layout of the functional areas not meeting the standard and the layout of the function buttons not meeting the standard. While further realizing the real-time monitoring of the music playback interface, the running efficiency of the music playback interface is further improved.
[0077] Furthermore, when the present invention verifies that the reason for the unqualified music playback interface is that the layout of the function buttons does not meet the standard, the processing instruction for the layout of the function buttons is determined based on the layout coincidence degree, further realizing the real-time monitoring of the music playback interface, accurately determining the anchoring distance for correcting the layout of each function button or the need to optimize the layout of the function buttons. While further realizing the intelligent adjustment of the music playback interface, the running efficiency of the music playback interface is further improved.
[0078] Furthermore, the present invention reduces the anchoring distance based on the coincidence degree difference, which can ensure the accuracy of the anchoring distance of the layout of the function buttons, effectively avoiding the occurrence of the situation where the music playback interface is unqualified due to the anchoring distance not meeting the standard. While further realizing the intelligent adjustment of the music playback interface, the running efficiency of the music playback interface is further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 It is a structural block diagram of a system for using the intelligent generation method of a music playback interface;
[0080] Figure 2 It is a flowchart of the intelligent generation method of the music playback interface of the present invention;
[0081] Figure 3 This is a flowchart for verifying whether the music playback interface of the present invention is qualified and whether the number of preset accidental touch events is qualified;
[0082] Figure 4 This is a flowchart for verifying the reasons for the unqualified music playback interface of the present invention. Specific embodiments
[0083] In order to make the objectives and advantages of the present invention clearer, the present invention will be further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0084] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and do not limit the protection scope of the present invention.
[0085] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0086] Please refer to Figure 1 As shown, it is a structural block diagram of a system using the intelligent generation method of a music playback interface. The structure of the embodiment of the present invention includes a generation module, a recording module, an analysis module, and a control module; among them,
[0087] The generation module is used to generate a music playback interface based on user requirements. The music playback interface includes several function buttons, and the parameters of each function button include the function area layout, the function area size, and the function button layout;
[0088] The recording module is connected to the generation module and is used to periodically record several click positions of the user on the music playback interface and obtain the time tags corresponding to each click position;
[0089] The analysis module is connected to the recording module and is used to sequentially obtain the absolute distance between the two click positions with the closest distance for each of the click positions;
[0090] The analysis module is also used to record the two click positions with the absolute distance less than the preset absolute distance as a position pair;
[0091] The analysis module is further configured to obtain the time tags of each of the site pairs, and determine the time intervals of each site pair based on the time tags;
[0092] The analysis module is further configured to verify the music playing interface based on the time interval;
[0093] The analysis module is further configured to generate corresponding processing instructions based on the verification results,
[0094] or, complete the periodic verification of the music playing interface, and verify whether the music playing interface of the next cycle is qualified;
[0095] Wherein, the verification includes verifying whether the music playing interface is qualified and determining the reasons for the unqualified verification;
[0096] The control module is respectively connected to the generation module and the analysis module, and is configured to re-determine the operating parameters of the corresponding components based on the received processing instructions.
[0097] Please refer to Figure 2 as shown, which is a flowchart of the intelligent generation method of the music playing interface of the present invention. The method according to the embodiment of the present invention includes:
[0098] Generate the music playing interface based on user requirements. The music playing interface includes a plurality of function buttons, and the parameters of each function button include the function area layout, the function area size, and the function button layout;
[0099] Periodically record a plurality of click sites of the user on the music playing interface, and obtain the time tags corresponding to each click site;
[0100] Specifically, the period of periodic recording in the embodiment of the present invention is 18h;
[0101] For each of the click sites, sequentially obtain the absolute distance between the two click sites that are the closest;
[0102] Record the two click sites with the absolute distance less than the preset absolute distance A as the site pair. Wherein, the preset absolute distance A in this embodiment is 5mm;
[0103] Obtain the time tags of each of the site pairs, and determine the time intervals of each site pair based on the time tags;
[0104] Verify the music playing interface based on the time interval;
[0105] Generate corresponding processing instructions based on the verification results,
[0106] Or, perform periodic verification on the music playing interface and verify whether the next cycle of the music playing interface is qualified;
[0107] Wherein, the verification includes verifying whether the music playing interface is qualified and determining the reasons for the unqualified verification;
[0108] Redetermine the operating parameters of the corresponding components based on the received processing instruction.
[0109] Please refer to Figure 3 As shown, it is a flowchart of the present invention for verifying whether the music playing interface is qualified and verifying whether the number of preset accidental touch events is qualified. The process of the present invention for verifying the music playing interface based on the time interval includes:
[0110] Compare the time interval with a preset time interval;
[0111] When the time interval is less than the preset time interval △T, record the corresponding site pair as a single accidental touch event. In this embodiment, the preset time interval △T = 0.61s;
[0112] Count the number of the accidental touch events and record the obtained number as the number of accidental touch events;
[0113] Compare the number of the accidental touch events with the preset number of accidental touch events;
[0114] When the number of the accidental touch events is less than the first preset number of accidental touch events N1, verify that the music playing interface is qualified, complete the periodic verification of the music playing interface, and verify whether the next cycle of the music playing interface is qualified. In this embodiment, the first preset number of accidental touch events N1 = 5;
[0115] When the number of the accidental touch events is greater than or equal to the first preset number of accidental touch events N1 and less than the second preset number of accidental touch events N2, verify that the music playing interface is unqualified, and verify whether the preset number of accidental touch events is qualified based on each of the accidental touch events. In this embodiment, the second preset number of accidental touch events N2 = 9;
[0116] When the number of the accidental touch events is greater than or equal to the second preset number of accidental touch events N2, verify that the music playing interface is unqualified, and verify the reasons for the unqualified music playing interface based on each of the accidental touch events.
[0117] Please continue to refer to Figure 3 As shown, the process of the present invention for verifying whether the preset number of accidental touch events is qualified based on each of the accidental touch events includes:
[0118] Obtain the corresponding time tags in each of the accidental touch events respectively;
[0119] Determine the start point and end point of each of the site pairs in each of the accidental touch events in chronological order according to the corresponding time tags respectively;
[0120] Obtain the time distribution value of each of the start points of each of the accidental touch events. Among them, the time tag of a single start point is denoted as the first time tag, obtain the time tag of another start point that is closest to the first time tag in terms of time distance, and denote the obtained time tag as the second time tag, calculate the time difference between the first time tag and the second time tag, and denote the obtained time difference as the first time difference, obtain the time tag of another start point that is closest to the second time tag in terms of time distance, and denote the obtained time tag as the third time tag, calculate the time difference between the second time tag and the third time tag, and denote the obtained time difference as the second time difference, and complete the acquisition of all time differences in turn, calculate the average value of the time differences, and denote the obtained average value as the time distribution value;
[0121] Verify whether the preset number of accidental touch events is qualified based on the time distribution value;
[0122] When the time distribution value is less than or equal to the preset time distribution value P, verify that the preset number of accidental touch events is qualified, verify that the music playing interface is qualified, complete the periodic verification of the music playing interface, and verify whether the next cycle of the music playing interface is qualified. Among them, in this embodiment, the preset time distribution value P = 2.1 s;
[0123] When the time distribution value is greater than the preset time distribution value P, verify that the preset number of accidental touch events is unqualified, and correct the preset number of accidental touch events based on the music playing interface.
[0124] Please continue to refer to Figure 3 As shown, the process of correcting the preset number of accidental touch events based on the music playing interface in the embodiment of the present invention includes:
[0125] Obtain the interface size of the music playing interface;
[0126] Increase the preset number of accidental touch events based on the interface size;
[0127] When the interface size is greater than the second preset interface size S2, increase the preset number of accidental touch events to 1.67 times the initial preset number of accidental touch events. Among them, in this embodiment, the second preset interface size S2 = 28 cm × 22 cm;
[0128] When the interface size is less than or equal to the second preset interface size S2 and greater than the first preset interface size S1, increase the number of preset accidental touch events to 1.43 times the initial preset number of accidental touch events. In this embodiment, the first preset interface size S1 = 17 cm × 8 cm;
[0129] When the interface size is less than or equal to the first preset interface size S1, increase the number of preset accidental touch events to 1.28 times the initial preset number of accidental touch events.
[0130] Please refer to Figure 4 as shown. It is a flowchart for verifying the reasons for the unqualified music playback interface of the present invention. The process of verifying the reasons for the unqualified music playback interface based on each of the accidental touch events in the embodiments of the present invention includes:
[0131] Connect the starting points and the ending points of each of the accidental touch events in sequence and obtain the vectors of each accidental touch event;
[0132] Draw horizontal lines through the starting points of each of the accidental touch events respectively;
[0133] Obtain the angles of rotation of each of the horizontal lines counterclockwise to each of the vectors;
[0134] Calculate the variance of each of the angles, and denote the obtained variance as the angle variance;
[0135] Verify the reasons for the unqualified music playback interface based on the angle variance;
[0136] When the angle variance is less than or equal to the first preset angle variance C1, verify that the reason for the unqualified music playback interface is that the functional area layout does not meet the standard, and correct the functional area layout based on the magnitudes of each of the vectors. In this embodiment, the first preset angle variance C1 = 0.055;
[0137] When the angle variance is greater than the first preset angle variance C1 and less than or equal to the second preset angle variance C2, verify the reasons for the unqualified music playback interface based on the distribution of each of the accidental touch events. In this embodiment, the second preset angle variance C2 = 0.081;
[0138] When the angle variance is greater than the second preset angle variance C2, verify that the reason for the unqualified music playback interface is that the functional button layout does not meet the standard, and determine the processing instructions for the functional button layout based on the types of functional buttons.
[0139] Please continue to refer to Figure 4 as shown. The process of correcting the functional area layout based on the magnitudes of each of the vectors in the embodiments of the present invention includes:
[0140] Determine each of the accidental touch events of each of the function buttons;
[0141] Calculate the magnitude of the single vector of the single starting point and the single ending point of a single site pair in a single accidental touch event;
[0142] Successively determine the magnitudes of the vectors of the respective starting points and the respective ending points of each site pair in each accidental touch event of a single function button;
[0143] Calculate the average value of the magnitudes of the vectors in a single function button, and record the obtained average value as the moving distance value;
[0144] Successively complete the determination of the moving distance values for each of the function buttons;
[0145] Move each of the functional areas by the corresponding moving distance value in the direction from each of the ending points to each of the starting points.
[0146] Please continue to refer to Figure 4 As shown, the process of verifying whether the angle variance is less than or equal to the first preset angle variance based on the movement of the functional area in the embodiment of the present invention includes:
[0147] When verifying that the angle variance is less than or equal to the first preset angle variance, verify that the size of the functional area does not meet the standard;
[0148] Increase the size of the functional area based on the moving distance value;
[0149] When the moving distance value is greater than or equal to the second preset moving distance value △V2, increase the size of the functional area to 1.087 times the initial functional area size, where the second preset moving distance value △V2 = 3.8 mm in this embodiment;
[0150] When the moving distance value is less than the second preset moving distance value △V2 and greater than or equal to the magnitude of the first preset vector △V1, increase the size of the functional area to 1.058 times the initial functional area size, where the first preset moving distance value △V1 = 2.6 mm in this embodiment;
[0151] When the moving distance value is less than the first preset moving distance value △V1, increase the size of the functional area to 1.035 times the initial functional area size.
[0152] Please continue to refer to Figure 4 As shown, the process of verifying the reason for the unqualified music playing interface based on the distribution of each accidental touch event in the embodiment of the present invention includes:
[0153] Determine the distribution concentration of each starting point in each mis-touch event. Among them, select a single starting point as the first starting point, obtain the starting point with the closest straight-line distance to the first starting point as the second starting point, calculate the distance between the first starting point and the second starting point, and record the obtained distance as the first distance. Obtain the starting point with the closest straight-line distance to the second starting point as the third starting point, calculate the distance between the second starting point and the third starting point, and record the obtained distance as the second distance. Sequentially complete the acquisition of the straight-line distances between each starting point, calculate the average value of each straight-line distance, and record the obtained average value as the distribution concentration;
[0154] Verify the reason for the unqualified music playing interface based on the distribution concentration;
[0155] When the distribution concentration is less than or equal to the preset distribution concentration E, verify that the reason for the unqualified music playing interface is that the layout of the functional area does not meet the standard, and correct the layout of the functional area based on the magnitudes of the vectors. In this embodiment, the preset distribution concentration E = 4.8 mm;
[0156] When the distribution concentration is greater than the preset distribution concentration E, verify that the reason for the unqualified music playing interface is that the layout of the function buttons does not meet the standard, and determine the processing instruction for the layout of the function buttons based on the types of the function buttons.
[0157] Please continue to refer to Figure 4 As shown, the process of determining the processing instruction for the layout of the function buttons based on the types of the function buttons in the embodiment of the present invention includes:
[0158] Retrieve the corresponding preset function button layouts based on the determined types of the function buttons;
[0159] Record the total number of the function buttons as the function button total;
[0160] Determine the number of overlaps between each function button layout and each preset function button layout, and record the obtained number as the overlap number;
[0161] Calculate the ratio of the overlap number to the function button total, and record the obtained ratio as the layout overlap degree;
[0162] Determine the processing instruction for the layout of the function buttons based on the layout overlap degree;
[0163] When the layout overlap degree is greater than or equal to the preset layout overlap degree G, correct the anchoring distance of each function button layout based on the layout overlap degree. The anchoring distance is the activity radius of the center point of the function button layout when the function button layout meets the standard. In this embodiment, the preset layout overlap degree G = 93%;
[0164] When the layout coincidence degree is less than the preset layout coincidence degree G, optimize the functional button layout, send a notice for optimizing the functional button layout, and optimize the functional button layout.
[0165] Please continue to refer to Figure 4 As shown, the process of correcting the anchoring distance of each functional button layout based on the layout coincidence degree in the embodiment of the present invention includes:
[0166] Calculate the difference between the layout coincidence degree and the preset layout coincidence degree, and record the obtained difference as the coincidence degree difference;
[0167] Reduce the anchoring distance based on the coincidence degree difference;
[0168] When the coincidence degree difference is greater than the second preset coincidence degree difference △F2, reduce the anchoring distance to 0.975 times the initial anchoring distance. In this embodiment, the second preset coincidence degree difference △F2 = 5.2%;
[0169] When the coincidence degree difference is less than or equal to the second preset coincidence degree difference △F2 and greater than the first preset coincidence degree difference △F1, reduce the anchoring distance to 0.956 times the initial anchoring distance. In this embodiment, the first preset coincidence degree difference △F1 = 2.8%;
[0170] When the coincidence degree difference is less than or equal to the first preset coincidence degree difference △F1, reduce the anchoring distance to 0.938 times the initial anchoring distance.
[0171] So far, the technical solution of the present invention has been described in combination with the preferred embodiments shown in the drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0172] The above are only the preferred embodiments of the present invention and are not used to limit the present invention; for those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent generation method for a music playback interface, characterized in that, Including: Generate a music playback interface based on user requirements. The music playback interface includes several function buttons, and the parameters of each function button include the layout of the function area, the size of the function area, and the layout of the function buttons; Periodically record several click positions of the user on the music playback interface, and obtain the time tags corresponding to each click position; For each of the click positions, sequentially obtain the absolute distance between the two closest click positions; Record the two click positions with the absolute distance less than the preset absolute distance as a position pair; Obtain the time tags of each of the position pairs, and determine the time interval of each position pair based on the time tags; Verify the music playback interface based on the time interval; Generate corresponding processing instructions based on the verification result, Or, complete the periodic verification of the music playback interface, and verify whether the next-period music playback interface is qualified; Wherein, the verification includes verifying whether the music playback interface is qualified and determining the reason for the unqualified verification; Redetermine the operating parameters of the corresponding components based on the received processing instructions.
2. The intelligent generation method of the music playing interface according to claim 1, characterized in that The process of verifying the music playback interface based on the time interval includes: Compare the time interval with the preset time interval; When the time interval is less than the preset time interval, record the position pair corresponding to the time interval as a single mis-touch event; Count the number of the mis-touch events, and record the obtained number as the mis-touch event number; Compare the mis-touch event number with the preset mis-touch event number; When the mis-touch event number is less than the first preset mis-touch event number, verify that the music playback interface is qualified, complete the periodic verification of the music playback interface, and verify whether the next-period music playback interface is qualified; When the mis-touch event number is greater than or equal to the first preset mis-touch event number and less than the second preset mis-touch event number, verify that the music playback interface is unqualified, and verify whether the preset mis-touch event number is qualified based on each of the mis-touch events; When the mis-touch event number is greater than or equal to the second preset mis-touch event number, verify that the music playback interface is unqualified, and verify the reason for the unqualified music playback interface based on each of the mis-touch events.
3. The intelligent generation method of the music playing interface according to claim 2, characterized in that, The process of verifying whether the preset mis-touch event number is qualified based on each of the mis-touch events includes: Respectively obtain the corresponding time tags in each of the mis-touch events; Sequentially determine the starting point and the ending point of the position pair in each of the mis-touch events according to the time sequence of the corresponding time tags; Obtain the time distribution value of each of the starting points of each of the mis-touch events; Verify whether the preset mis-touch event number is qualified based on the time distribution value; When the time distribution value is less than or equal to the preset time distribution value, verify that the preset mis-touch event number is qualified, verify that the music playback interface is qualified, complete the periodic verification of the music playback interface, and verify whether the next-period music playback interface is qualified; When the time distribution value is greater than the preset time distribution value, verify that the preset mis-touch event number is unqualified, and correct the preset mis-touch event number based on the music playback interface.
4. The intelligent generation method of the music playing interface according to claim 3, wherein The process of correcting the preset number of accidental touch events based on the music playback interface includes: Obtain the interface size of the music playback interface; Increase the preset number of accidental touch events based on the interface size, and the increase amplitude of the preset number of accidental touch events is proportional to the interface size.
5. The intelligent generation method of the music playing interface according to claim 3, characterized in that, The process of verifying the reason for the unqualified music playback interface based on each accidental touch event includes: Connect the start point and the end point of each accidental touch event in sequence and obtain the vector of each accidental touch event; Draw horizontal lines through the start points of each accidental touch event respectively; Obtain each angle of each horizontal line rotating counterclockwise to each vector; Calculate the variance of each angle, and record the obtained variance as the angle variance; Verify the reason for the unqualified music playback interface based on the angle variance; When the angle variance is less than or equal to the first preset angle variance, verify that the reason for the unqualified music playback interface is that the functional area layout does not meet the standard, and correct the functional area layout based on the magnitude of each vector; When the angle variance is greater than the first preset angle variance and less than or equal to the second preset angle variance, verify the reason for the unqualified music playback interface based on the distribution of each accidental touch event; When the angle variance is greater than the second preset angle variance, verify that the reason for the unqualified music playback interface is that the functional button layout does not meet the standard, and determine the processing instruction for the functional button layout based on the type of functional buttons.
6. The intelligent generation method of the music playing interface according to claim 5, wherein The process of correcting the functional area layout based on the magnitude of each vector includes: Determine each accidental touch event of each functional button; Calculate the magnitude of the vector of a single start point and a single end point of a single site pair in a single accidental touch event; Determine the magnitudes of the vectors of the start points and end points of each site pair in each accidental touch event in a single functional button in sequence; Calculate the average value of the magnitudes of the vectors in a single functional button, and record the obtained average value as the movement distance value; Determine the movement distance values of each functional button in sequence; Move each functional area by the corresponding movement distance value in the direction from each end point to each start point.
7. The intelligent generation method of the music playing interface according to claim 6, wherein The process of verifying whether the angle variance is less than or equal to the first preset angle variance based on the angle variance after the functional area is moved includes: When verifying that the angle variance is less than or equal to the first preset angle variance, verify that the functional area size does not meet the standard; Increase the functional area size based on the movement distance value, and the increase amplitude of the functional area size is proportional to the movement distance value.
8. The intelligent generation method of the music playing interface according to claim 5, characterized in that, The process of verifying the reason for the unqualified music playback interface based on the distribution of each accidental touch event includes: Determine the distribution concentration of the start points in each accidental touch event; Verify the reason for the unqualified music playback interface based on the distribution concentration; When the distribution concentration is less than or equal to the preset distribution concentration, verify that the reason for the unqualified music playback interface is that the functional area layout does not meet the standard, and correct the functional area layout based on the magnitude of each vector; When the distribution concentration is greater than the preset distribution concentration, verify that the reason for the unqualified music playback interface is that the layout of the function buttons does not meet the standard, and determine the processing instruction for the layout of the function buttons based on the types of the function buttons.
9. The intelligent generation method of the music playing interface according to claim 5, characterized in that, The process of determining the processing instruction for the layout of the function buttons based on the types of the function buttons includes: Retrieve the corresponding preset function button layouts based on the determined types of the function buttons; Record the total number of the function buttons as the total number of function buttons; Determine the number of overlaps between each of the function button layouts and each of the preset function button layouts, and record the obtained number as the overlap number; Calculate the ratio of the overlap number to the total number of function buttons, and record the obtained ratio as the layout overlap degree; Determine the processing instruction for the layout of the function buttons based on the layout overlap degree; When the layout overlap degree is greater than or equal to the preset layout overlap degree, correct the anchoring distance of each of the function button layouts based on the layout overlap degree, where the anchoring distance is the activity radius of the center point of the function button layout when the function button layout meets the standard; When the layout overlap degree is less than the preset layout overlap degree, perform optimization processing on the function button layout, send a function button layout optimization processing notice, and perform optimization processing on the function button layout.
10. The intelligent generation method of the music playing interface according to claim 9, characterized in that, The process of correcting the anchoring distance of each of the function button layouts based on the layout overlap degree includes: Calculate the difference between the layout overlap degree and the preset layout overlap degree, and record the obtained difference as the overlap degree difference; Reduce the anchoring distance based on the overlap degree difference, and the reduction amplitude of the anchoring distance is inversely proportional to the overlap degree difference.
Citation Information
Patent Citations
Display device and method for displaying music playing interface
CN115776600B
Music playing method, music playing interface generation method and related products
CN111399745A