Intelligent generation method of music playing interface
By recording user click points and time tags, the quality of the music playback interface is verified, and processing instructions are generated to adjust the layout. This solves the problem of low interface operation efficiency in existing technologies, realizes real-time monitoring and intelligent adjustment, and improves interface quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEILONGJIANG VOCATIONAL COLLEGE FOR NATTIES
- Filing Date
- 2025-03-03
- Publication Date
- 2026-04-10
AI Technical Summary
Existing technologies cannot achieve real-time monitoring and intelligent adjustment of the generated music playback interface, resulting in low operating efficiency.
By periodically recording user click points and time tags, calculating absolute distances and time intervals, the system verifies whether the music playback interface is up to standard, and generates processing instructions based on the verification results to adjust the layout of functional areas and buttons to improve interface quality.
It enables real-time monitoring and intelligent adjustment of the music playback interface, improving the interface's operating efficiency, avoiding misjudgments and non-compliance with standards, and ensuring interface quality.
Smart Images

Figure CN120335753B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to a method for intelligently generating a music playing interface. BACKGROUND
[0002] The music playing interface refers to the part of the music player software used for playing and controlling music, which usually includes various function buttons such as play control function buttons, song information function buttons, and song background function buttons,
[0003] The play control function buttons include play / pause function buttons and volume adjustment function buttons, etc., and users can meet different playing needs by selecting different button combinations. With the development of society, the music playing interface is widely used in different devices and scenarios, and the generation of an excellent music playing interface has important practical significance in providing a good experience for users, enhancing auditory enjoyment, and enhancing visual enjoyment. How to keep the music playing interface accurate and efficient has become a topic closely related to life, which is an important embodiment of generating an excellent music playing interface.
[0004] Chinese patent publication No. CN115776600B discloses a display device and a method for displaying a music playing interface. In response to an operation of playing music, a media request is sent. Media data and index data are received from a server in response to the media request. Cover data in the media data is displayed in a first display area of a play interface, and lyric data in the media data is displayed in a second display area of the play interface. A switching instruction is received. When the switching instruction indicates switching the background of the play interface, the display contents of the first and second display areas are hidden, and a background picture is displayed in a third display area using the index data, and the lyric data is displayed floating on the background picture.
[0005] It can be seen that the above display device can switch the play interface according to the received switching instruction for switching the display form of the play interface, and correspondingly switch the play interface to make the play interface diversified and improve the user experience. However, the above scheme cannot realize real-time monitoring and intelligent adjustment of the generated music playing interface, so as to ensure the running efficiency of the generated music playing interface. SUMMARY
[0006] Therefore, the present application provides a method for intelligently generating a music playing interface to overcome the problem that the generated music playing interface cannot be monitored and adjusted intelligently in real time in the prior art, thereby reducing the running efficiency of the generated music playing interface.
[0007] To achieve the above purpose, the present application provides a method for intelligently generating a music playing interface, comprising:
[0008] The music playing interface is generated based on user demand, and includes a plurality of function buttons, and parameters of each function button include function area layout, function area size and function button layout;
[0009] Periodically record a plurality of click points of the user on the music playing interface, and obtain time tags corresponding to each click point;
[0010] For each click point, the absolute distance between the two closest click points is obtained in sequence;
[0011] Two click points with an absolute distance less than a preset absolute distance are recorded as a point pair;
[0012] Obtain the time tags of each point pair, and determine the time interval of each point pair based on the time tags;
[0013] Verify the music playing interface based on the time interval;
[0014] Generate corresponding processing instructions based on the verification result,
[0015] Or, complete the periodic verification of the music playing interface, and verify whether the next period music playing interface is qualified;
[0016] The verification includes verifying whether the music playing interface is qualified and determining the reason for the unqualified verification;
[0017] Based on the received processing instructions, the running parameters of the corresponding components are re-determined;
[0018] The process of verifying the music playing interface based on the time interval includes:
[0019] Compare the time interval with a preset time interval;
[0020] When the time interval is less than the preset time interval, the point pair corresponding to the time interval is recorded as a single mis-touch event;
[0021] The number of mis-touch events is counted, and the obtained number is recorded as the number of mis-touch events;
[0022] Compare the number of mis-touch events with the preset number of mis-touch events;
[0023] When the number of mis-touch events is less than the first preset number of mis-touch events, the music playing interface is verified to be qualified, the periodic verification of the music playing interface is completed, and whether the next period music playing interface is qualified is verified;
[0024] when the number of the mistaken touch events is greater than or equal to the first preset mistaken touch event number and less than a second preset mistaken touch event number, verifying that the music playing interface is unqualified, and verifying whether the preset mistaken touch event number is qualified based on each of the mistaken touch events;
[0025] when the number of the mistaken touch events is greater than or equal to the second preset mistaken touch event number, verifying that the music playing interface is unqualified, and verifying the reason why the music playing interface is unqualified based on each of the mistaken touch events;
[0026] wherein the process of verifying whether the preset mistaken touch event number is qualified based on each of the mistaken touch events comprises:
[0027] respectively acquiring a corresponding time label in each of the mistaken touch events;
[0028] respectively determining a starting point and an ending point of the bit position pair in each of the mistaken touch events in a time sequence of the corresponding time label;
[0029] acquiring a time distribution value of each of the starting points of each of the mistaken touch events;
[0030] verifying whether the preset mistaken touch event number is qualified based on the time distribution value;
[0031] when the time distribution value is less than or equal to a preset time distribution value, verifying that the preset mistaken touch event number is qualified, verifying that the music playing interface is qualified, completing the periodic verification of the music playing interface, and verifying whether the next period music playing interface is qualified;
[0032] when the time distribution value is greater than the preset time distribution value, verifying that the preset mistaken touch event number is unqualified, and correcting the preset mistaken touch event number based on the music playing interface;
[0033] wherein the process of correcting the preset mistaken touch event number based on the music playing interface comprises:
[0034] acquiring an interface size of the music playing interface;
[0035] increasing the preset mistaken touch event number based on the interface size, and the increase amplitude of the preset mistaken touch event number is proportional to the interface size.
[0036] Further, the process of verifying the reason why the music playing interface is unqualified based on each of the mistaken touch events comprises:
[0037] connecting the starting point and the ending point of each of the mistaken touch events in sequence and acquiring a vector of each of the mistaken touch events;
[0038] respectively drawing a horizontal line through the starting point of each of the mistaken touch events;
[0039] obtaining each angle of each horizontal line counterclockwise rotating to each vector;
[0040] calculating variance of each angle and recording the obtained variance as angle variance;
[0041] verifying the reason of unqualified music playing interface based on the angle variance;
[0042] when the angle variance is less than or equal to a first preset angle variance, verifying the reason of unqualified music playing interface as that the function area layout does not conform to the standard, and correcting the function area layout based on the size of each vector;
[0043] when the angle variance is greater than the first preset angle variance and less than or equal to a second preset angle variance, verifying the reason of unqualified music playing interface based on the distribution of each mis-touch event;
[0044] when the angle variance is greater than the second preset angle variance, verifying the reason of unqualified music playing interface as that the function button layout does not conform to the standard, and determining the processing instruction for the function button layout based on the type of function button.
[0045] Further, the process of correcting the function area layout based on the size of each vector comprises:
[0046] determining each mis-touch event of each function button;
[0047] calculating the size of each vector of each starting point and each ending point of each site pair in a single mis-touch event;
[0048] determining the size of each vector of each starting point and each ending point of each site pair in each mis-touch event of a single function button in turn;
[0049] calculating the average value of the size of each vector in a single function button, and recording the obtained average value as a moving distance value;
[0050] determining the moving distance value of each function button in turn;
[0051] moving each function area to the corresponding moving distance value in the direction of each ending point to each starting point.
[0052] 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 function area is moved comprises:
[0053] when verifying that the angle variance is less than or equal to the first preset angle variance, verifying that the function area size does not conform to the standard;
[0054] The size of the functional area is increased based on the movement distance value, and the increase in the size of the functional area is proportional to the movement distance value.
[0055] Furthermore, the process of verifying the reasons for the music playback interface's malfunction based on the distribution of each of the aforementioned accidental touch events includes:
[0056] Determine the distribution concentration of each of the aforementioned starting points in each of the aforementioned accidental touch events;
[0057] Verify the reasons for the music playback interface's failure based on the aforementioned distribution concentration.
[0058] When the distribution concentration is less than or equal to the preset distribution concentration, the reason for the music playback interface being unqualified is that the functional area layout does not meet the standard, and the functional area layout is corrected based on the size of each vector.
[0059] When the distribution concentration is greater than the preset distribution concentration, the reason for the music playback interface being unqualified is that the function key layout does not meet the standard, and the processing instructions for the function key layout are determined based on the type of function key.
[0060] Furthermore, the process of determining the processing instructions for the function key layout based on the type of function key includes:
[0061] Based on the determined types of each function key, the corresponding preset function key layouts are retrieved.
[0062] The total number of function keys is recorded as the total number of function keys;
[0063] Determine the number of overlaps between each of the described function key layouts and each preset function key layout, and record the obtained number as the number of overlaps;
[0064] Calculate the ratio of the number of overlapping buttons to the total number of function buttons, and record the obtained ratio as the layout overlap degree;
[0065] The processing instructions for the function button layout are determined based on the layout overlap.
[0066] When the layout overlap is greater than or equal to the preset layout overlap, the anchoring distance of each function key layout is corrected based on the layout overlap, wherein the anchoring distance is the active radius of the center point of the function key layout when the function key layout conforms to the standard.
[0067] When the layout overlap is less than the preset layout overlap, the function key layout is optimized, a function key layout optimization notification is issued, and the function key layout is optimized.
[0068] Further, the process of correcting the anchor distance of each of the function key layouts based on the layout coincidence degree comprises:
[0069] calculating a difference between the layout coincidence degree and a preset layout coincidence degree, and recording the obtained difference as a coincidence degree difference;
[0070] reducing the anchor distance based on the coincidence degree difference, and the reduction range of the anchor distance is inversely proportional to the coincidence degree difference.
[0071] Compared with the prior art, the present application has the beneficial effects that the present application 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 result, re-determines the operation 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 operation efficiency of the music playing interface.
[0072] Further, when the number of mis-touch events is greater than or equal to the first preset number of mis-touch events and less than the second preset number of mis-touch events, the present application verifies whether the preset number of mis-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 not qualified, and effectively avoids the situation that the preset number of mis-touch events does not meet the standard, resulting in verification that the music playing interface is not qualified, and further improves the operation efficiency of the music playing interface.
[0073] Further, when it is verified that the preset number of mis-touch events is not qualified, the present application increases the preset number of mis-touch events based on the interface size, effectively ensures the accuracy of the preset number of mis-touch events and adapts to the application environment, further realizes intelligent adjustment of the music playing interface, and further improves the operation efficiency of the music playing interface.
[0074] Further, the present application verifies the reason why the music playing interface is not qualified based on the angle variance, can accurately determine the reason for disqualification, is conducive to the generation of subsequent processing instructions, further realizes real-time monitoring of the music playing interface, and further improves the operation efficiency of the music playing interface.
[0075] Further, the application moves each functional region by a corresponding moving distance value in the direction from each terminal point to each starting point when verifying that the unqualified reason of the music playing interface is that the functional region layout does not conform to the standard, effectively avoids the situation that the music playing interface is unqualified due to the functional region layout not conforming to the standard, further realizes intelligent adjustment of the music playing interface, and further improves the operation efficiency of the music playing interface.
[0076] Further, the application verifies whether the angle variance is less than or equal to the first preset angle variance based on the angle variance after the functional region is moved, further realizes real-time monitoring of the music playing interface, increases the functional region size based on the size of each vector when verifying that the angle variance is less than or equal to the first preset angle variance, effectively avoids the situation that the music playing interface is unqualified due to the functional region size not conforming to the standard, further realizes intelligent adjustment of the music playing interface, and further improves the operation efficiency of the music playing interface.
[0077] Further, the application verifies the reason why the music playing interface is unqualified based on the distribution concentration when the angle variance is greater than the first preset angle variance and less than or equal to the second preset angle variance, effectively avoids misjudgment between the functional region layout not conforming to the standard and the functional button layout not conforming to the standard, further realizes real-time monitoring of the music playing interface, and further improves the operation efficiency of the music playing interface.
[0078] Further, the application determines the processing instruction for the functional button layout based on the layout coincidence degree when verifying that the unqualified reason of the music playing interface is that the functional button layout does not conform to the standard, further realizes real-time monitoring of the music playing interface, accurately determines whether to correct the anchor distance of each functional button layout or to optimize the processing of the functional button layout, further realizes intelligent adjustment of the music playing interface, and further improves the operation efficiency of the music playing interface.
[0079] Further, the application reduces the anchor distance based on the coincidence degree difference, can ensure the accuracy of the anchor distance of the functional button layout, effectively avoids the situation that the music playing interface is unqualified due to the anchor distance not conforming to the standard, further realizes intelligent adjustment of the music playing interface, and further improves the operation efficiency of the music playing interface. BRIEF DESCRIPTION OF DRAWINGS
[0080] Figure 1 The structural block diagram of the system using the intelligent generation method of the music playing interface;
[0081] Figure 2 The flowchart of the intelligent generation method of the music playing interface of the application;
[0082] Figure 3 Flow chart for verifying whether the music playing interface is qualified and verifying whether the preset number of mistaken touch events is qualified;
[0083] Figure 4 Flow chart for verifying the reason why the music playing interface is unqualified. DETAILED DESCRIPTION
[0084] In order to make the objects and advantages of the present application clearer, the present application will be further described in conjunction with embodiments. It should be understood that the specific embodiments described herein merely serve the purpose of explaining the present application and are not intended to limit the present application.
[0085] The preferred embodiments of the present application will be described in conjunction with the accompanying drawings. It should be understood that the embodiments merely serve the purpose of explaining the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0086] In addition, it should be noted that, in the description of the present application, unless explicitly defined and limited, the terms "mounting", "connection" and "linking" should be understood in a broad sense, for example, can be fixed connection, can be detachable connection, or integral connection; can be mechanical connection, can be electrical connection; can be direct connection, can be indirect connection through intermediate medium, or can be internal connection of two elements. Those skilled in the art can understand the specific meaning of the above terms in the present application according to the specific circumstances.
[0087] Please refer to Figure 1 As shown in FIG. 1, it is a structure block diagram of a system using the intelligent generation method of music playing interface. The structure of the embodiment of the present application includes a generation module, a recording module, an analysis module and a control module; wherein,
[0088] The generation module is used to generate a music playing interface based on user demand, and the music playing interface includes a plurality of function buttons, and the parameters of each function button include function area layout, function area size and function button layout;
[0089] The recording module is connected with the generation module, and is used to periodically record a plurality of click points of the user on the music playing interface, and obtain time tags corresponding to each click point;
[0090] The analysis module is connected with the recording module, and is used to sequentially obtain the absolute distance between the two closest click points for each click point;
[0091] The analysis module is further used to record two click points with an absolute distance less than a preset absolute distance as a click point pair;
[0092] The analysis module is also used to acquire the time labels of each of the site pairs, and determine the time interval of each site pair based on the time labels;
[0093] The analysis module is also used to verify the music playing interface based on the time interval;
[0094] The analysis module is also used to generate corresponding processing instructions based on the verification result,
[0095] Or, complete the periodic verification of the music playing interface, and verify whether the next period music playing interface is qualified;
[0096] The verification includes verifying whether the music playing interface is qualified and determining the reason for the unqualified verification.
[0097] The control module is connected with the generation module and the analysis module respectively, and is used to redetermine the operation parameters of the corresponding components based on the received processing instructions.
[0098] Please refer to Figure 2 The flow chart of the intelligent generation method of the music playing interface of the present application is shown. The method of the present application embodiment includes:
[0099] The music playing interface is generated based on the user demand, and the music playing interface includes a plurality of function keys, and the parameters of each function key include the function area layout, the function area size and the function key layout;
[0100] Periodically record a plurality of click sites of the music playing interface, and acquire the time labels corresponding to each click site;
[0101] Specifically, the period of the periodic recording of the present application embodiment is 18h;
[0102] For each of the click sites, the absolute distance between the two closest click sites is acquired in turn;
[0103] Two click sites with an absolute distance less than a preset absolute distance A are recorded as a site pair, wherein the preset absolute distance A of the present embodiment is 5mm;
[0104] Acquire the time labels of each of the site pairs, and determine the time interval of each site pair based on the time labels;
[0105] Verify the music playing interface based on the time interval;
[0106] Generate corresponding processing instructions based on the verification result,
[0107] Or, complete the periodic verification of the music playing interface, and verify whether the next period music playing interface is qualified;
[0108] The verification includes verifying whether the music playing interface is qualified and determining the reason for the unqualified verification;
[0109] Based on the received processing instruction, the running parameters of the corresponding components are re-determined.
[0110] Please refer to Figure 3 The flowchart of verifying whether the music playing interface is qualified and whether the preset number of mis-touch events is qualified is shown in FIG. 1.
[0111] The time interval is compared with a preset time interval;
[0112] When the time interval is less than the preset time interval AT, the site corresponding to the time interval is recorded as a single mis-touch event, where the preset time interval AT = 0.61 s in this embodiment;
[0113] The number of mis-touch events is counted, and the obtained number is recorded as the number of mis-touch events;
[0114] The number of mis-touch events is compared with the preset number of mis-touch events;
[0115] When the number of mis-touch events is less than the first preset number of mis-touch events N1, it is verified that the music playing interface is qualified, the periodic verification of the music playing interface is completed, and whether the next period music playing interface is qualified is verified, where the first preset number of mis-touch events N1 = 5 in this embodiment;
[0116] When the number of mis-touch events is greater than or equal to the first preset number of mis-touch events N1 and less than the second preset number of mis-touch events N2, it is verified that the music playing interface is unqualified, and whether the preset number of mis-touch events is qualified is verified based on each mis-touch event, where the second preset number of mis-touch events N2 = 9 in this embodiment;
[0117] When the number of mis-touch events is greater than or equal to the second preset number of mis-touch events N2, it is verified that the music playing interface is unqualified, and the reason why the music playing interface is unqualified is verified based on each mis-touch event.
[0118] Please continue to refer to Figure 3 The process of verifying whether the preset number of mis-touch events is qualified based on each mis-touch event includes:
[0119] The time label corresponding to each mis-touch event is obtained respectively;
[0120] respectively determine the starting point and the ending point of the site pair in each of the false touch events in time sequence according to the corresponding time label;
[0121] obtain a time distribution value of each of the starting points of each of the false touch events, wherein a time label of a single starting point is recorded as a first time label, a time label of another starting point closest to the first time label in time is obtained, and the obtained time label is recorded as a second time label, a time difference value between the first time label and the second time label is calculated, and the obtained time difference value is recorded as a first time difference value, a time label of another starting point closest to the second time label in time is obtained, and the obtained time label is recorded as a third time label, a time difference value between the second time label and the third time label is calculated, and the obtained time difference value is recorded as a second time difference value, the obtaining of all the time difference values is sequentially completed, an average value of the time difference values is calculated, and the obtained average value is recorded as the time distribution value;
[0122] verify whether the preset false touch event quantity is qualified based on the time distribution value;
[0123] when the time distribution value is less than or equal to a preset time distribution value P, it is verified that the preset false touch event quantity is qualified, it is verified that the music playing interface is qualified, the periodic verification of the music playing interface is completed, and whether the next period music playing interface is qualified is verified, wherein, in the embodiment, the preset time distribution value P = 2.1 s;
[0124] when the time distribution value is greater than the preset time distribution value P, it is verified that the preset false touch event quantity is unqualified, and the preset false touch event quantity is corrected based on the music playing interface.
[0125] Please continue to refer to Figure 3 The process of correcting the preset false touch event quantity based on the music playing interface according to the embodiment of the application shown in the figure includes:
[0126] obtain the interface size of the music playing interface;
[0127] increase the preset false touch event quantity based on the interface size;
[0128] when the interface size is greater than a second preset interface size S2, the preset false touch event quantity is increased to 1.67 times of the initial preset false touch event quantity, wherein, in the embodiment, the second preset interface size S2 = 28 cm x 22 cm;
[0129] 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, increasing the preset number of mis-touch events to 1.43 times of the initial preset number of mis-touch events, wherein, in the embodiment, the first preset interface size S1 = 17 cm x 8 cm;
[0130] when the interface size is less than or equal to the first preset interface size S1, increasing the preset number of mis-touch events to 1.28 times of the initial preset number of mis-touch events.
[0131] Please refer to Figure 4 Fig. 1 is a flowchart showing a process of verifying a reason for unqualification of a music playing interface according to an embodiment of the present application. The process of verifying the reason for unqualification of the music playing interface based on each mis-touch event according to the embodiment of the present application includes:
[0132] sequentially connecting the starting point and the ending point of each mis-touch event and obtaining a vector of each mis-touch event;
[0133] drawing a horizontal line through the starting point of each mis-touch event, respectively;
[0134] obtaining each angle of each horizontal line rotated counterclockwise to each vector;
[0135] calculating a variance of each angle, and recording the obtained variance as an angle variance;
[0136] verifying the reason for unqualification of the music playing interface based on the angle variance;
[0137] when the angle variance is less than or equal to a first preset angle variance C1, verifying that the reason for unqualification of the music playing interface is that the layout of the functional area does not conform to a standard, and correcting the layout of the functional area based on the size of each vector, wherein, in the embodiment, the first preset angle variance C1 = 0.055;
[0138] when the angle variance is greater than the first preset angle variance C1 and less than or equal to a second preset angle variance C2, verifying the reason for unqualification of the music playing interface based on the distribution of each mis-touch event, wherein, in the embodiment, the second preset angle variance C2 = 0.081;
[0139] when the angle variance is greater than the second preset angle variance C2, verifying that the reason for unqualification of the music playing interface is that the layout of the functional button does not conform to a standard, and determining a processing instruction for the layout of the functional button based on the type of the functional button.
[0140] Please continue to refer to Figure 4 Fig. 2, the process of correcting the layout of the functional area based on the size of each vector according to the embodiment of the present application includes:
[0141] determining the start point and the end point of each of the touch events of each of the function keys;
[0142] calculating the size of the vector of the start point and the end point of each of the touch events of each of the function keys;
[0143] determining the size of the vector of the start point and the end point of each of the touch events of each of the function keys;
[0144] calculating the average of the size of the vector of each of the function keys, and recording the obtained average as a moving distance value;
[0145] determining the moving distance value of each of the function keys in sequence;
[0146] moving each of the function areas to the corresponding moving distance value in the direction from the end point to the start point.
[0147] Please continue to refer to Figure 4 As shown in the figure, 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 function area is moved in the embodiment of the present application includes:
[0148] When it is verified that the angle variance is less than or equal to the first preset angle variance, it is verified that the function area size does not meet the standard;
[0149] increasing the function area size based on the moving distance value;
[0150] When the moving distance value is greater than or equal to a second preset moving distance value ΔV2, the function area size is increased to 1.087 times the initial function area size, wherein the second preset moving distance value ΔV2 of the embodiment is 3.8 mm;
[0151] When the moving distance value is less than the second preset moving distance value ΔV2 and greater than or equal to a first preset vector size ΔV1, the function area size is increased to 1.058 times the initial function area size, wherein the first preset moving distance value ΔV1 of the embodiment is 2.6 mm;
[0152] When the moving distance value is less than the first preset moving distance value ΔV1, the function area size is increased to 1.035 times the initial function area size.
[0153] Please continue to refer to Figure 4 As shown in the figure, the process of verifying the reason why the music playing interface is unqualified based on the distribution of each of the touch events in the embodiment of the present application includes:
[0154] determine a distribution concentration of each of the starting points in each of the false touch events, wherein a single starting point is selected as a first starting point, a starting point closest to the first starting point in a straight line is selected as a second starting point, a distance between the first starting point and the second starting point is calculated and the calculated distance is recorded as a first distance, a starting point closest to the second starting point in a straight line is selected as a third starting point, a distance between the second starting point and the third starting point is calculated and the calculated distance is recorded as a second distance, the acquisition of the straight-line distance between each starting point is sequentially completed, an average value of each straight-line distance is calculated and the calculated average value is recorded as the distribution concentration;
[0155] verify a reason for unqualification of the music playing interface based on the distribution concentration;
[0156] when the distribution concentration is less than or equal to a preset distribution concentration E, verify that a reason for unqualification of the music playing interface is that the functional area layout does not conform to a standard, and correct the functional area layout based on the size of each of the vectors, wherein the preset distribution concentration E = 4.8 mm in this embodiment;
[0157] when the distribution concentration is greater than the preset distribution concentration E, verify that a reason for unqualification of the music playing interface is that the functional button layout does not conform to a standard, and determine a processing instruction for the functional button layout based on the type of the functional button.
[0158] Please continue to refer to Figure 4 The process of determining a processing instruction for the functional button layout based on the type of the functional button in the embodiment of the application shown includes:
[0159] retrieve each preset functional button layout corresponding to each determined type of the functional button;
[0160] record the total number of the functional buttons as a total number of functional buttons;
[0161] determine the number of overlaps between each of the functional button layouts and each preset functional button layout, and record the obtained number as an overlap number;
[0162] calculate the ratio of the overlap number to the total number of the functional buttons, and record the obtained ratio as a layout overlap degree;
[0163] determine a processing instruction for the functional button layout based on the layout overlap degree;
[0164] when the layout overlap degree is greater than or equal to a preset layout overlap degree G, correct the anchor distance of each of the functional button layouts based on the layout overlap degree, wherein the anchor distance is the activity radius of the center point of the functional button layout when the functional button layout conforms to a standard, and the preset layout overlap degree G = 93% in this embodiment;
[0165] When the layout coincidence degree is less than the preset layout coincidence degree G, the function key layout is optimized, a function key layout optimization processing notification is sent, and the function key layout is optimized.
[0166] Please continue to refer to Figure 4 As shown in the drawings, the process of correcting the anchor distance of each function key layout based on the layout coincidence degree in the embodiments of the present application includes:
[0167] The difference between the layout coincidence degree and the preset layout coincidence degree is calculated, and the obtained difference is recorded as a coincidence degree difference;
[0168] The anchor distance is reduced based on the coincidence degree difference;
[0169] When the coincidence degree difference is greater than a second preset coincidence degree difference ΔF2, the anchor distance is reduced to 0.975 times the initial anchor distance, wherein the second preset coincidence degree difference ΔF2 of the present embodiment is 5.2%;
[0170] When the coincidence degree difference is less than or equal to the second preset coincidence degree difference ΔF2 and greater than a first preset coincidence degree difference ΔF1, the anchor distance is reduced to 0.956 times the initial anchor distance, wherein the first preset coincidence degree difference ΔF1 of the present embodiment is 2.8%;
[0171] When the coincidence degree difference is less than or equal to the first preset coincidence degree difference ΔF1, the anchor distance is reduced to 0.938 times the initial anchor distance.
[0172] So far, the technical solutions of the present application have been described in combination with the preferred embodiments shown in the drawings, but those skilled in the art can easily understand that the protection scope of the present application is obviously not limited to these specific embodiments. Those skilled in the art can make equivalent changes or replacements to related technical features without deviating from the principles of the present application, and the technical solutions after these changes or replacements will fall within the protection scope of the present application.
[0173] The above description is only for the preferred embodiments of the present application and is not intended to limit the present application; for those skilled in the art, the present application can have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for intelligently generating a music playing interface, characterized in that, The application comprises: generating a music playing interface based on user needs, the music playing interface comprising several function buttons, the parameters of each function button including function area layout, function area size and function button layout; periodically recording several click points of the user on the music playing interface and obtaining the time tags corresponding to each click point; for each click point, obtaining the absolute distance of the two closest click points in turn; recording two click points as a click point pair if the absolute distance is less than a preset absolute distance; obtaining the time tags of each click point pair and determining the time interval of each click point pair based on the time tags; verifying the music playing interface based on the time interval; generating corresponding processing instructions based on the verification result, or, completing the periodic verification of the music playing interface and verifying whether the next period music playing interface is qualified; wherein the verification includes verifying whether the music playing interface is qualified and determining the reason for the unqualified verification; re-determining the operating parameters of the corresponding components based on the received processing instructions; wherein the process of verifying the music playing interface based on the time interval includes: comparing the time interval with a preset time interval; recording the click point pair corresponding to the time interval as a single mis-touch event when the time interval is less than the preset time interval; counting the number of mis-touch events and recording the obtained number as the number of mis-touch events; comparing the number of mis-touch events with a preset number of mis-touch events; when the number of mis-touch events is less than a first preset number of mis-touch events, verifying that the music playing interface is qualified, completing the periodic verification of the music playing interface and verifying whether the next period music playing interface is qualified; when the number of mis-touch events is greater than or equal to the first preset number of mis-touch events and less than a second preset number of mis-touch events, verifying that the music playing interface is unqualified and verifying whether the preset number of mis-touch events is qualified based on each mis-touch event; when the number of mis-touch events is greater than or equal to the second preset number of mis-touch events, verifying that the music playing interface is unqualified and verifying the reason for the unqualified music playing interface based on each mis-touch event; wherein the process of verifying whether the preset number of mis-touch events is qualified based on each mis-touch event includes: respectively obtaining the corresponding time tags in each mis-touch event; respectively determining the starting point and the ending point of the click point pair in each mis-touch event in turn according to the time sequence of the corresponding time tags; obtaining the time distribution value of each starting point of each mis-touch event; verifying whether the preset number of mis-touch events is qualified based on the time distribution value; when the time distribution value is less than or equal to a preset time distribution value, verifying that the preset number of mis-touch events is qualified, verifying that the music playing interface is qualified, completing the periodic verification of the music playing interface and verifying whether the next period music playing interface is qualified; when the time distribution value is greater than the preset time distribution value, verifying that the preset number of mis-touch events is unqualified and correcting the preset number of mis-touch events based on the music playing interface; The process of correcting the preset number of mistaken touch events based on the music playing interface comprises: acquiring the interface size of the music playing interface; increasing the preset number of mistaken touch events based on the interface size, and the increase amplitude of the preset number of mistaken touch events is proportional to the interface size. 2.The method of claim 1, wherein, The process of verifying the reason of unqualification of the music playing interface based on each mistaken touch event comprises: connecting the starting point and the ending point of each mistaken touch event in sequence and acquiring the vector of each mistaken touch event; drawing a horizontal line through the starting point of each mistaken touch event; acquiring each angle of each horizontal line when the horizontal line is rotated counterclockwise to each vector; calculating the variance of each angle and recording the obtained variance as angle variance; verifying the reason of unqualification of the music playing interface based on the angle variance; when the angle variance is less than or equal to a first preset angle variance, verifying that the reason of unqualification of the music playing interface is that the layout of the functional area does not conform to the standard, and correcting the layout of the functional area based on the size of each vector; when the angle variance is greater than the first preset angle variance and less than or equal to a second preset angle variance, verifying the reason of unqualification of the music playing interface based on the distribution of each mistaken touch event; when the angle variance is greater than the second preset angle variance, verifying that the reason of unqualification of the music playing interface is that the layout of the functional button does not conform to the standard, and determining the processing instruction for the layout of the functional button based on the type of the functional button. 3.The method of claim 2, wherein, The process of correcting the layout of the functional area based on the size of each vector comprises: determining each mistaken touch event of each functional button; calculating the size of a single vector of a single starting point and a single ending point of a single site pair in a single mistaken touch event; determining the size of each vector of each site pair in each mistaken touch event of a single functional button in sequence; calculating the average value of the size of each vector in a single functional button and recording the obtained average value as a moving distance value; determining the moving distance value of each functional button in sequence; moving each functional area to the corresponding moving distance value in the direction from each ending point to each starting point.
4. The method of claim 3, 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 movement of the functional area comprises: when it is verified that the angle variance is less than or equal to the first preset angle variance, verifying that the size of the functional area does not conform to the standard; increasing the size of the functional area based on the moving distance value, and the increase amplitude of the size of the functional area is proportional to the moving distance value.
5. The method of claim 2, wherein the music play interface is generated based on a user's preference. The process of verifying the reason of unqualification of the music playing interface based on the distribution of each mistaken touch event comprises: determining the distribution concentration of each starting point in each mistaken touch event; verifying the reason of unqualification of the music playing interface based on the distribution concentration; when the distribution concentration is less than or equal to a preset distribution concentration, verifying that the reason of unqualification of the music playing interface is that the layout of the functional area does not conform to the standard, and correcting the layout of the functional area based on the size of each vector. When the distribution degree is greater than the preset distribution degree, the unqualified reason of the music playing interface is verified as that the function button layout does not conform to the standard, and a processing instruction for the function button layout is determined based on the category of the function button. 6.The method of claim 2, wherein, The process of determining the processing instruction for the function button layout based on the category of the function button includes: retrieving each preset function button layout corresponding to the determined category of each function button; the total number of the function buttons is recorded as a function button total number; determining the number of each function button layout overlapping each preset function button layout, and recording the obtained number as an overlapping number; calculating the ratio of the overlapping number to the function button total number, and recording the obtained ratio as a layout overlapping degree; determining the processing instruction for the function button layout based on the layout overlapping degree; when the layout overlapping degree is greater than or equal to a preset layout overlapping degree, correcting the anchor distance of each function button layout based on the layout overlapping degree, wherein the anchor distance is the activity radius of the center point of the function button layout when the function button layout conforms to the standard; when the layout overlapping degree is less than the preset layout overlapping degree, performing optimization processing on the function button layout, issuing a function button layout optimization processing notification, and optimizing the function button layout.
7. The method of claim 6, wherein, The process of correcting the anchor distance of each function button layout based on the layout overlapping degree includes: calculating the difference between the layout overlapping degree and the preset layout overlapping degree, and recording the obtained difference as an overlapping degree difference; reducing the anchor distance based on the overlapping degree difference, and the reduction amplitude of the anchor distance is inversely proportional to the overlapping 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