Menu generation method and device, electronic equipment and computer readable storage medium
Patent Information
- Application Number
- CN202611050587.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-14
- Publication Date
- 2026-10-16
AI Technical Summary
静态配置的系统设置项难以满足用户的个性化需求,且用户需要手动查找和添加所需的系统设置项,操作繁琐,降低了用户体验
通过获取使用场景信息,能够感知用户当前所处的具体使用环境,使得生成的快捷设置菜单可以与用户的实时使用状态相匹配,提高了菜单内容的情境适应性;获取当前用户所属的用户群体信息,能够识别用户的年龄层、使用习惯等特征,从而根据不同用户群体的偏好差异进行个性化生成,使不同特征的用户获得更符合其操作习惯的系统设置项;通过获取多个系统设置项各自的使用频率信息,能够反映用户对各个系统设置项的实际使用热度,以使高频使用的系统设置项具有更高的优先级,避免了低频的系统设置项占用系统快捷设置菜单的资源;通过综合使用场景信息、用户群体信息和各系统设置项的使用频率信息来确定优先级,并依次自动筛选目标系统设置项生成快捷设置菜单,实现了从多维度智能评估多个系统设置项的重要性,使得最终生成的快捷设置菜单更加精准地契合当前用户在当前使用场景下的实际需求,减少了用户手动查找和配置的操作步骤,显著提升了操作效率和用户满意度。
Smart Images

Figure CN122924632A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a menu generation method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0002] Smart terminal devices integrate numerous system settings functions. Most systems provide a Quick Settings Menu or Quick Settings Panel to centrally display frequently used system settings for easy user access. In related technologies, quick settings menus typically employ a static configuration model, meaning the system pre-sets a fixed set of system settings, or users manually edit the desired settings. Static configurations struggle to meet users' personalized needs, and the cumbersome process of manually searching for and adding desired settings degrades the user experience. Summary of the Invention
[0003] This application provides a menu generation method, apparatus, electronic device, and computer-readable storage medium that can dynamically generate system shortcut settings menus.
[0004] In a first aspect, embodiments of this application provide a menu generation method, including: Obtain usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the various system settings; Based on the usage scenario information, the user group information, and the usage frequency information of each of the system settings, the priority of each of the system settings is determined. Based on the priority of each of the multiple system settings, a target system setting is determined, and a system shortcut settings menu is generated based on the target system setting.
[0005] Secondly, embodiments of this application provide a menu generation apparatus, including: The information acquisition module is used to acquire usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the various system settings. The priority determination module is used to determine the priority of each of the multiple system settings items based on the usage scenario information, the user group information, and the usage frequency information of each of the multiple system settings items. The menu generation module is used to determine the target system setting item based on the priority of each of the multiple system setting items, and generate a system shortcut setting menu based on the target system setting item.
[0006] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the menu generation method described above.
[0007] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the menu generation method described above.
[0008] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.
[0009] The embodiments of this application have the following beneficial effects: By acquiring usage scenario information, the system can perceive the user's current usage environment, allowing the generated quick settings menu to match the user's real-time usage status and improving the contextual adaptability of the menu content. Acquiring user group information allows the system to identify user characteristics such as age and usage habits, enabling personalized quick settings menu generation based on the preferences of different user groups, providing system settings that better suit their operating habits. By acquiring the usage frequency information of multiple system settings, the system can reflect the actual usage intensity of each system setting, giving higher priority to frequently used system settings and preventing low-frequency system settings from occupying quick settings menu resources. By comprehensively considering usage scenario information, user group information, and the usage frequency information of each system setting to determine priority, and automatically selecting target system settings to generate quick settings menus, the system achieves multi-dimensional intelligent evaluation of the importance of multiple system settings. This results in a final quick settings menu that more accurately matches the user's actual needs in the current usage scenario, reducing the steps of manual searching and configuration, and significantly improving operational efficiency and user satisfaction. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is a schematic diagram of the steps of a menu generation method provided in an embodiment of this application; Figure 2 This is a schematic diagram of a system quick settings menu provided in an embodiment of this application; Figure 3 This is a user interface diagram of the intelligent recommendation function of the shortcut menu provided in an embodiment of this application; Figure 4 This is a data flow diagram of a menu generation method provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of a menu generation device provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0012] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0013] In smart terminal devices, multiple system settings are centrally displayed through a system quick settings menu, allowing users to quickly adjust device parameters and use system functions. This system quick settings menu can be maintained by the System UI module and uses a set of system settings items to represent the entry points for various system functions. Users can quickly access these system-level functions through drop-down panels or the control center interface, thereby improving system operation efficiency.
[0014] System settings refer to the configuration options provided by the operating system of a smart terminal device, used to control device function switches or adjust device operating parameters. Users can change the device's operating status or functional performance by enabling, disabling, or adjusting the values of various system settings. System settings may include, but are not limited to, one or more of the following: Wi-Fi switch settings, mobile data switch settings, vibration settings, do-not-disturb settings, sleep settings, volume adjustment settings, brightness adjustment settings, Bluetooth settings, power saving mode settings, location service settings, portrait lock settings, airplane mode settings, flashlight settings, and hotspot sharing settings.
[0015] Unlike application settings, system settings apply to the functionality or parameters of the entire smart device, rather than the functionality or parameters of a single application. For example, muting a game using its mute setting will not affect the volume settings in other video playback applications; however, lowering the volume through the system settings will lower the volume in all applications.
[0016] In relevant technical solutions, the system quick settings menu contains default system settings, which remain relatively fixed during system operation. Although some systems allow users to perform simple editing of system settings, such as performing "add," "delete," or "sort" operations, this method is essentially still a manual static configuration mechanism, and the system itself does not dynamically adjust according to the user's actual usage behavior or usage environment.
[0017] However, this approach has obvious shortcomings: different users have very different usage habits, and fixed system settings cannot meet the needs of all users; users also have different needs for system settings in different scenarios. For example, in a meeting scenario, users may need system settings with mute and do not disturb modes, while in an outdoor scenario, users may need system settings with brightness adjustment and positioning functions; in addition, users need to spend time and effort to manually configure system settings, which increases the learning cost and usage burden for users.
[0018] To solve or partially solve the above-mentioned technical problems, in one embodiment, such as Figure 1 As shown, a menu generation method is provided. Although the logical order is illustrated in the step diagram, in some cases, the steps shown or described can be performed in a different order than that shown in the diagram. Specifically, this menu generation method can be applied to smart terminal devices. These smart terminal devices may include, but are not limited to, one or more of smartphones, smart TVs, tablets, laptops, desktop computers, and in-vehicle terminals. Detailed descriptions are provided below. It should be noted that the order of description in the following embodiments is not intended to limit the priority of the embodiments.
[0019] according to Figure 1 The menu generation method shown includes at least steps S110 to S130, which are described in detail below: In step S110, the usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the multiple system settings are obtained; In step S120, the priority of each of the multiple system settings is determined based on the usage scenario information, user group information, and the usage frequency information of each of the multiple system settings. In step S130, a target system setting item is determined according to the priority of each of the multiple system setting items, and a system shortcut setting menu is generated based on the target system setting item.
[0020] Usage scenario information is a comprehensive classification of user usage situations based on time of day, device purpose, and content type, used to intuitively distinguish the user's current usage state. For example, when a user is watching a video, the usage scenario information would be "video playback scenario"; when a user is using the device at night, the usage scenario information would be "nighttime scenario." Based on usage scenario information, the system can understand the user's current actual needs and operational intentions, thereby providing more scenario-appropriate system settings. For example, brightness adjustment functionality might be more needed in a nighttime scenario, as brightness settings would have a higher priority score.
[0021] User group information refers to categorized information that reflects user characteristics and usage habits. User group information can be obtained by analyzing users' basic attributes (such as age group and gender) and behavioral data (such as usage frequency and time of day). For example, users can be divided into young users, middle-aged users, and elderly users. Different user groups have significantly different needs and preferences for system settings. For instance, young users may use Bluetooth more frequently, while elderly users may pay more attention to volume and font size settings. By identifying the user group, system settings that better suit the characteristics of that group can be provided.
[0022] Usage frequency information refers to statistical information on the historical frequency of user usage of various system settings. This information can be obtained by recording the number of times a user interacts with each system setting within a certain period. For example, the frequency of brightness settings usage can be determined by counting the number of times a user manually adjusted the screen brightness in the past week. Usage frequency information directly reflects the user's reliance on each system setting; frequently used settings are usually more important to the user and should be prioritized in the quick settings menu.
[0023] In one embodiment, the current user refers to the user currently using the smart terminal device; in another embodiment, the current user refers to the user who has used the smart terminal device multiple times in the past period (within the historical adjustment period), as will be detailed later.
[0024] By combining information on usage scenarios, the current user's user group, and the usage frequency of each system setting, a priority score can be determined for each system setting, thus determining their respective priorities. System settings with higher priority scores have higher priority and are more likely to be selected into the system quick settings menu.
[0025] Based on the calculated priority ranking, several top-ranked system settings items can be selected as target system settings items, and a system shortcut settings menu can be generated based on these target system settings items. The number of target system settings items can be the number of system settings items that the system shortcut settings menu can hold. For example, if the system shortcut settings menu accessed by a user through a drop-down panel can hold 10 system settings items, then the top 10 system settings items with the highest priority can be selected as target system settings items, and the system's System UI module can generate the system shortcut settings menu based on these target system settings items.
[0026] Figure 2 This is a schematic diagram of a system shortcut settings menu provided in an embodiment of this application; as shown... Figure 2 As shown, the system's quick settings menu includes: vibration settings, do-not-disturb settings, sleep settings, volume adjustment settings, brightness adjustment settings, Bluetooth settings, power saving mode settings, location service settings, and portrait lock settings. Users can quickly turn vibration on or off by clicking the vibration settings icon; they can quickly adjust the volume by sliding the volume adjustment settings; and so on.
[0027] When generating a system shortcut settings menu based on target system settings, higher-priority target system settings can be placed at the top of the system shortcut settings menu, or in a place that is more convenient for users to operate.
[0028] By acquiring usage scenario information, the system can perceive the user's current usage environment, enabling the generated quick settings menu to match the user's real-time usage status and improving the contextual adaptability of the menu content. Acquiring user group information allows the system to identify user age, usage habits, and other characteristics, thus enabling personalized generation based on the preferences of different user groups, providing system settings that better suit their operating habits. Acquiring the usage frequency information of multiple system settings reflects the actual usage intensity of each item, giving higher priority to frequently used system settings and preventing low-frequency system settings from occupying system quick settings menu resources. By comprehensively considering usage scenario information, user group information, and the usage frequency information of each system setting to determine priority, and automatically filtering target system settings to generate quick settings menus, the system achieves multi-dimensional intelligent evaluation of the importance of multiple system settings. This results in a more accurate quick settings menu that matches the user's actual needs in the current usage scenario, reducing manual search and configuration steps and significantly improving operational efficiency and user satisfaction.
[0029] The Smart Shortcut Menu recommendation feature automatically and dynamically generates system shortcut settings menus. When the Smart Shortcut Menu recommendation feature is turned off, the system shortcut settings menu will use a fixed menu. Figure 3 This is a user interface diagram of the intelligent recommendation function of the shortcut menu provided in an embodiment of this application; it can be displayed when the user powers on the device for the first time. Figure 3 The user interface shown guides users to enable the smart quick menu recommendation function and collects user preference data to help provide a better user experience for the system quick settings menu. Users can also access this user interface through other entry points (such as system settings). This user interface may include options for enabling or disabling the smart quick menu recommendation function, as well as user age group information, user usage information for the device, and an adjustment cycle, which can be customized by the user. Age group information helps determine the user's user group, usage information can be used for personalized system quick settings menu recommendations, and the adjustment cycle determines the update frequency of the system quick settings menu.
[0030] During a cold start, a personalized system shortcut settings menu can be generated directly based on the information provided by the user. This can be achieved by determining a user model based on the user's information, and then generating a personalized system shortcut settings menu based on that user model. The user model will be updated as user data is collected, resulting in a more intelligent and accurate system shortcut settings menu.
[0031] In one embodiment, after a user enables the smart recommendation function of the quick menu, each time the smart terminal device detects that a target system setting item (system quick settings menu) needs to be changed, the user currently using the smart terminal device is identified as the current user, and the user group information to which the current user belongs is determined; the usage scenario information is determined based on the current usage scenario, and the usage frequency information of multiple system settings items between the current change and the last change is obtained; based on the user group information, the usage scenario information and the usage frequency information, the target system setting item after the current change is determined, and then the system quick settings menu is generated.
[0032] Among them, the smart terminal device can determine that the target system settings need to be changed when user group information, usage scenario information and / or usage frequency information change (or the degree of change exceeds a preset threshold).
[0033] In another embodiment, after the user enables the smart recommendation function for the quick menu, the adjustment period set by the user (e.g., 7 days) can be obtained. At the corresponding adjustment time of each adjustment period, the usage scenario information, user group information, and usage frequency information of each system setting item can be determined based on the usage information of the smart terminal device within that adjustment period. Specifically, a smart terminal device may be used by multiple users within an adjustment period. The user with the longest usage time within that adjustment period can be identified as the current user, thereby determining the user group information to which the current user belongs. Similarly, a smart terminal device may have multiple usage scenarios within an adjustment period, such as nighttime usage, entertainment, and meeting scenarios. The information of the usage scenario with the longest usage time can be used to generate the system quick settings menu. The usage frequency information can be the usage frequency information of each of the multiple system settings items within that adjustment period.
[0034] In this way, based on the defined user group, usage scenario, and usage frequency, the target system settings can be determined, and a system shortcut settings menu can be generated. This avoids frequent adjustments to the system shortcut settings menu, which could lead to user inconvenience, and ensures that the generated system shortcut settings menu meets user needs to the greatest extent possible.
[0035] Based on the above technical solution, as an embodiment, the user group information to which the current user belongs can be obtained through the following steps: obtaining the age group information of the current user; obtaining the current user's usage records of system settings, including the frequency and time of use of system settings; and determining the user group information to which the current user belongs based on the age group information, usage frequency, and usage time.
[0036] Age group information refers to categorized data reflecting the age groups of users. Optionally, this could be age group information proactively provided by the user; for example, when a user first uses the device or registers an account, the system can guide the user to fill in personal information, including options for date of birth or age group. Optionally, the system can determine a user's age group information through user behavior and preference characteristics. For example, younger users may use social media apps, gaming apps, and music apps more frequently, while older users may use news apps, health apps, and video calling apps more frequently. Optionally, the user's age group can be comprehensively determined by combining information proactively provided by the user with other available data (such as usage behavior, account registration information, third-party platform authorization information, etc.).
[0037] The system can save user usage records for various system settings in different scenarios. These usage records refer to the historical operation data of users on each system setting item collected and stored by the system. The usage records mainly include information in two dimensions: usage frequency and usage time period. Usage frequency refers to the total number of times a user operates on a particular system setting item within a certain period, used to quantify the user's dependence on that system setting item. Usage time period refers to the time distribution characteristics of user operations on a particular system setting item, used to reflect the user's usage time patterns.
[0038] For example, statistics show that in the past 30 days, users operated the Wi-Fi switch 85 times, mainly during the daytime hours from 8:00 to 22:00, and operated the Bluetooth switch 62 times, mainly during the morning commute and the afternoon off-get off work hours.
[0039] By combining age group information and the current user's usage history of system settings, it's possible to determine the user group to which the current user belongs. This user group segmentation can be based on machine learning models or rules. For example, the following rules can be used for user group segmentation: If a user is between 18 and 25 years old and uses network connectivity system settings more frequently than average, they are classified as a young user group.
[0040] If a user is between 36 and 45 years old and frequently uses display and sound adjustment system settings, especially during weekdays, they are classified as a middle-aged user group.
[0041] If a user is 56 years of age or older and uses accessibility features frequently, they are classified as an elderly user group.
[0042] User groups can be divided into mutually exclusive groups (each user can only belong to one group) or non-mutually exclusive groups (a user can belong to multiple groups simultaneously). In the non-mutually exclusive case, a coefficient value can be assigned to each group. The coefficient value of a user for a group represents the proportion of the user belonging to that group out of all the groups the user belongs to. When calculating the user group weight later, the weights of the user's corresponding user groups can be weighted and summed based on this coefficient value to obtain the user group weight.
[0043] The user group segmentation results can be updated regularly (e.g., reassessed monthly or quarterly) to reflect changes in user characteristics and usage habits.
[0044] The technical solution adopted in this application combines age group information and usage records to create user profiles from both static attributes and dynamic behaviors, making user group segmentation more accurate and comprehensive. Age group information can be obtained in multiple ways, respecting users' autonomy while also possessing inference capabilities when users do not provide information, ensuring the applicability of the solution under different data availability conditions. When using age group information, interval divisions can be used instead of precise values, reducing the risk of privacy leaks; the analysis of usage records can be performed on local devices without uploading to the cloud, further ensuring the security of user data.
[0045] Based on the above technical solution, as an embodiment, the usage scenario information can be obtained through the following steps: obtaining application information used in the target scenario; obtaining content information displayed in the target scenario; obtaining time information corresponding to the target scenario; and determining the usage scenario information of the target scenario based on the application information, content information, and time information.
[0046] The target scenario can be any scenario where usage scenario information needs to be obtained. The application information refers to the relevant attribute information of the application currently running on or in the foreground of the smart terminal device, which may include, but is not limited to, application name and / or application type. Application types may include, but are not limited to, one or more of the following: audio / video playback, games, social networking, office work, reading, photography, and shopping. Application information can be obtained through the application management interface provided by the operating system. If the obtained application information is an application name, a pre-established name-type mapping table can be queried to map the specific application name to the application type.
[0047] The displayed content information refers to the type or characteristic information of the content currently displayed on the screen. Content information can supplement application information, providing more granular scene recognition. Optionally, it can be content information reported by the application, such as the application actively reporting the type of currently displayed content through a system interface. Optionally, it can be content information determined through content analysis, i.e., the system analyzes and identifies the content displayed on the screen.
[0048] The time information corresponding to the target scenario refers to the time characteristic data of the target scenario, including hours, minutes, days of the week, and whether it is a holiday. Time information can reflect the user's usage time patterns and help with scenario identification. For example, from 9 am to 6 pm on a weekday, the user may be in a work scenario; from 8 pm to 11 pm, the user may be in a leisure and entertainment scenario.
[0049] By combining application information, content information, and time information, usage scenario information can be determined. This scenario information can be determined using rule engines, decision trees, or machine learning models. For example, if the application information is a video playback application, the content information is a movie, and the time information is evening, it is determined to be a nighttime entertainment scenario; if the application information is a navigation application and the time information is daytime, it is determined to be a driving navigation scenario.
[0050] Optionally, in addition to application information, content information, and time information, other dimensions of information can be referenced to determine usage scenario information, such as location information (obtaining the user's current geographical location through technologies such as GPS and Wi-Fi positioning), motion status information (determining whether the user is stationary, walking, or driving through sensors such as accelerometers), ambient light information (determining ambient light conditions through light sensors), and device status information (such as battery level, network connection status, and whether headphones are plugged in).
[0051] By employing the technical solution of this application embodiment, and integrating multi-source data such as application information, content information, and time information, usage scenarios can be characterized from multiple perspectives, improving the accuracy and robustness of scenario recognition. By introducing fine-grained data such as content information, different usage sub-scenarios within the same application can be distinguished (e.g., the different brightness and volume requirements for watching movies and live streams), thereby providing more precise personalized services.
[0052] Based on the above technical solution, as an embodiment, the usage frequency information can be obtained through the following steps: collecting the usage frequency information of the current user for each of the multiple system settings within the adjustment period; when the usage frequency information of the current user for each of the multiple system settings within the adjustment period cannot be collected, the default usage frequency information of each of the multiple system settings is adopted.
[0053] In one embodiment, the usage frequency information of multiple system settings can be obtained through operation logs. Whenever a user performs an operation on a system setting (such as turning it on, off, or adjusting it), the system records an operation log entry in the background, including information such as the system setting identifier, operation type, and operation time. When it is necessary to calculate the usage frequency, the system can query the operation log database to count the number of operations performed on each system setting within the adjustment period.
[0054] In another embodiment, the usage frequency information of multiple system settings can be obtained by accumulating counters. The system maintains a counter for each system setting, and the corresponding counter is incremented by 1 each time the user operates on the system setting. At the end of each adjustment cycle, the value of each counter is recorded as the usage frequency, and then the counters are reset to zero to begin the statistics for the next cycle.
[0055] In situations such as cold starts, data loss or corruption, privacy mode or incognito mode, or user-initiated clearing of operation history data, the usage frequency information of each system setting item may not be available. In such cases, you can directly obtain the default usage frequency information of each of the multiple system settings items.
[0056] The default usage frequency information for multiple system settings can be the same value, or preset values determined based on big data or expert experience, to reflect the usage popularity of each system setting under normal circumstances.
[0057] For example, large-scale user statistics can be conducted, and the average usage frequency of each system setting can be obtained by statistically analyzing the usage data of a large number of anonymous users as the default usage frequency information; product experts can also estimate the default usage frequency information based on their understanding and experience of the target user group; and the default usage frequency of each system setting can be set for different user groups, different device models or different market regions.
[0058] Once the system resumes collecting personal usage data, it can gradually transition from default usage frequency information to actual usage frequency information. The transition can be gradual; for example, in the first week, use 50% default usage frequency information plus 50% actual usage frequency information; in the second week, use 30% default usage frequency information plus 70% actual usage frequency information; and in the third week, use only actual usage frequency information. This gradual transition avoids drastic menu changes caused by sudden data switching.
[0059] By employing the technical solution of this application embodiment, menu optimization can be performed based on the user's actual behavioral habits through the collection of personal historical usage data, providing a system quick settings menu that best meets individual needs. Simultaneously, by setting default usage frequency information as a fallback solution, the system can still operate normally in the absence of personal data, avoiding functional failures due to data loss.
[0060] Based on the above technical solution, as an embodiment, step S120 may include: determining the usage scenario weight of each of the multiple system settings based on usage scenario information; determining the user group weight of each of the multiple system settings based on user group information; determining the usage frequency weight of each of the multiple system settings based on the usage frequency information of each of the multiple system settings; and determining the priority of each of the multiple system settings by combining the user group weight, usage scenario weight and usage frequency weight of each of the multiple system settings.
[0061] A scoring mechanism can be used to determine priority. For each system setting item, its usage scenario weight, user group weight, and usage frequency weight are calculated separately. Then, these three weights are summed or weighted summed to obtain the priority score of the system setting item, thereby determining the priority of the system setting item.
[0062] Usage scenario weight refers to the quantified value of the importance of each system setting item in a specific usage scenario, used to measure the importance of that system setting item in that usage scenario. Different usage scenarios have different requirements for different system settings items. For example, in a nighttime usage scenario, eye protection settings and brightness adjustment settings have higher usage scenario weights, while Bluetooth on / off has lower usage scenario weights; in office and meeting usage scenarios, mute settings, screen projection settings, and Bluetooth settings have higher usage scenario weights.
[0063] The usage scenario weights of each system setting item under different usage scenarios can be determined based on a pre-established usage scenario weight configuration table; alternatively, the usage scenario weights of each system setting item under different usage scenarios can be determined based on rules.
[0064] User group weight refers to the quantified value of the importance of each system setting item within a specific user group, used to measure the importance of that system setting item to that user group. Different user groups have different needs and preferences for system settings items due to differences in factors such as age, occupation, and interests. For example, for younger users, the user group weight for Bluetooth settings can be set to 2, while the user group weight for basic system settings such as font settings is only 1; for older users, the user group weight for font settings can be set to 3, while the user group weight for Bluetooth settings can be set to 1.
[0065] The user group weight of each system setting item corresponding to different user groups can be determined based on a pre-established user group weight configuration table; alternatively, the user group weight of each system setting item corresponding to different user groups can be determined based on rules.
[0066] Usage frequency weighting refers to a quantitative value assigned to each system setting based on the user's historical usage behavior data, reflecting the frequency of its use. Higher usage frequency indicates a greater reliance on the system setting, and its usage frequency weight should be higher. Settings can be categorized into different frequency levels based on the number of uses, with different frequency levels corresponding to different usage frequency weights. For example, if a user has operated the volume control setting 35 times, the Bluetooth setting 18 times, and the airplane mode setting 2 times in the past 7 days, then the usage frequency weight for the volume setting could be 4, the Bluetooth setting 2, and the airplane mode setting 1.
[0067] The priority score of each system setting item can be calculated by summing: the priority score of the system setting item = the user group weight of the system setting item + the usage scenario weight of the system setting item + the usage frequency weight of the system setting item.
[0068] The priority score for each system setting can be calculated using a weighted summation method: System setting priority score = First coefficient × System setting user group weight + Second coefficient × System setting usage scenario weight + Third coefficient × System setting usage frequency weight. The first, second, and third coefficients are preset coefficients corresponding to the three weights, representing their respective importance. The first, second, and third coefficients can be adjusted according to actual needs. For example, to emphasize personalization, the value of the first coefficient can be increased; to emphasize scenario adaptability, the value of the second coefficient can be increased; and to emphasize historical usage habits, the value of the third coefficient can be increased.
[0069] After calculating the priority score for each system setting item, all system settings items can be sorted from highest to lowest priority score. Then, the top-ranked system settings items can be selected as target system settings items. For example, if the system quick settings menu supports displaying a maximum of 12 system settings items, the 12 system settings items with the highest priority scores can be selected as target system settings items.
[0070] The technical solution adopted in this application uses quantitative calculations based on three independent dimensions: scenario weight, user group weight, and usage frequency weight. This ensures that information from each dimension is not overwhelmed by other dimensions, and that each dimension can influence the final result. The priority score, calculated by combining the weights of the three dimensions, accurately reflects changes in the importance of each system setting. When the usage frequency of a system setting suddenly increases or its context changes, its priority score responds promptly.
[0071] Based on the above technical solution, as an embodiment, the menu generation method further includes: classifying multiple system settings items; determining the usage scenario weight of each type of system settings item in advance for different usage scenario information; determining the user group weight of each type of system settings item in advance for different user group information; pre-dividing multiple frequency levels and determining the usage frequency weight corresponding to different frequency levels.
[0072] To simplify the complexity of weight configuration and improve the rationality of weight allocation, system settings can be categorized, and weights can be configured for each category.
[0073] System settings can be categorized based on their functional attributes, intended use, or technical field. As shown in Table 1, system settings can be divided into three categories: basic, connectivity, and entertainment.
[0074] Table 1
[0075] The basic categories include, but are not limited to, font settings, brightness settings, and eye protection mode settings; the connectivity categories include, but are not limited to, screen mirroring settings and Bluetooth settings; and the entertainment categories include, but are not limited to, game mode settings, image enhancement settings, sound effect mode settings, and graphics effect mode settings.
[0076] The above classifications are merely examples; in actual applications, different classification methods can be adopted based on the specific system settings and business needs. The number and granularity of classifications can also be adjusted according to actual circumstances.
[0077] After classifying the system settings as shown in Table 2, usage scenario weights can be pre-assigned to each type of system setting for different use cases. The advantage of configuring weights by category is that it reduces configuration workload while ensuring that similar system settings have similar weight levels under the same usage scenario.
[0078] Table 2
[0079] After determining the configuration table of usage scenario weights for various system settings corresponding to different usage scenario information, when determining the usage scenario weight of each system setting item, the configuration table can be queried directly based on the category and usage scenario information of the system setting item, thereby quickly determining the usage scenario weight of the system setting item in the corresponding usage scenario.
[0080] As shown in Table 3, user group weights can be pre-assigned to various system settings for different user groups. The advantage of configuring weights by category is that it reduces the workload of configuration while ensuring that similar system settings have similar weight levels under the same user group.
[0081] Table 3
[0082] After determining the configuration table of user group weights for various system settings items corresponding to different user group information, when determining the user group weight of each system setting item, the configuration table can be queried directly based on the category of the system setting item and the user group information, thereby quickly determining the user group weight of the system setting item under the corresponding user group.
[0083] Multiple frequency levels can be pre-defined, and the usage frequency weight corresponding to each frequency level can be determined. The frequency level for each system setting item is determined based on its usage frequency. See Table 4 for details.
[0084] Table 4
[0085] The frequency levels and corresponding usage frequency weights described above are merely examples. In practical applications, different frequency levels can be defined and usage frequency weights determined based on the specific circumstances of the system settings and business requirements. After determining the configuration table for the usage frequency weights corresponding to different frequency levels, when determining the usage frequency weights of each system setting item, the configuration table can be directly queried based on the usage frequency of the system setting item, thereby quickly determining the usage frequency weight of the system setting item at the corresponding usage frequency.
[0086] The technical solution adopted in this application improves the efficiency and consistency of weight configuration by classifying system settings and configuring weights by category. Using categories as the configuration granularity significantly reduces the number of weights that need to be configured independently. System settings of the same type have similar weight levels under the same scenario or user group, avoiding unreasonable phenomena caused by improper weight configuration of individual system settings. Furthermore, when a system setting is added or deleted, it only needs to be assigned to the corresponding category to automatically inherit the weight of that category, eliminating the need for separate configuration and greatly reducing maintenance costs. Pre-dividing frequency levels and establishing a mapping relationship between frequency levels and weights allows the determination of frequency weights to be based on statistical data, eliminating the need for manual evaluation and improving the automation and scalability of the solution.
[0087] Based on the above technical solution, as an embodiment, the menu generation method further includes: checking whether the quick menu intelligent recommendation function is enabled; obtaining usage scenario information, user group information to which the current user belongs, and usage frequency information of each of the multiple system settings, including: when the quick menu intelligent recommendation function is enabled, detecting whether the set adjustment cycle has been reached; when the adjustment cycle has been reached, obtaining usage scenario information, user group information to which the current user belongs, and usage frequency information of each of the multiple system settings.
[0088] The intelligent quick menu recommendation feature is used to automatically and dynamically generate system quick settings menus. This feature is optional; users can choose to enable or disable it according to their preferences. When enabled, the system automatically collects user data and intelligently generates a personalized system quick settings menu; when disabled, the system does not perform intelligent menu generation.
[0089] The adjustment cycle refers to the minimum time interval between two system quick settings menu updates, used to control the update frequency of the system quick settings menu. A shorter adjustment cycle allows the system quick settings menu to respond more quickly to changes in user needs, but may lead to frequent changes in menu content; a longer adjustment cycle can maintain the stability of menu content, but may not reflect changes in user needs in a timely manner. In practical applications, a default adjustment cycle value (such as 7 days) can be provided, while allowing users to customize it according to their personal preferences.
[0090] The system can check whether the smart recommendation feature in the shortcut menu is enabled. The enabled / disabled status of this feature can be stored in the system's settings database or configuration file, and users can toggle it on or off through the system settings interface.
[0091] When the smart recommendation feature for the quick menu is enabled, it can detect whether the adjustment cycle has been reached. When the smart recommendation feature for the quick menu is enabled and the adjustment cycle has been reached, it can automatically obtain usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the multiple system settings. Based on the usage scenario information, user group information, and the usage frequency information of each of the multiple system settings, it can determine the priority of each of the multiple system settings; then, based on the priority of each of the multiple system settings, it can determine the target system setting and generate a system quick settings menu based on the target system setting.
[0092] By adopting the technical solution of this application embodiment, by providing a switch for the intelligent recommendation function of the quick menu, users can choose whether to use the function, respecting the usage preferences of different users; by setting the adjustment cycle, frequent updates of the menu can be avoided, ensuring the stability of the user interface, and users can form a memory of the menu layout and usage habits within a certain period of time.
[0093] Based on the above technical solution, as an embodiment, the menu generation method further includes: when the intelligent recommendation function of the shortcut menu is not enabled, displaying a fixed system shortcut settings menu by default; the fixed system shortcut settings menu supports user-defined editing.
[0094] When a user chooses to disable the smart recommendation feature in the quick settings menu, the system reverts to the traditional fixed menu mode. The fixed system quick settings menu refers to a pre-set set of default system settings items. These settings and their order are determined at the factory or during initialization and do not automatically adjust with changes in usage scenarios or user behavior. These system settings items are typically functions frequently used by most users, such as Wi-Fi toggle, Bluetooth toggle, brightness adjustment, and volume adjustment. The layout and content of the fixed system quick settings menu can be determined by the system designer during product development, or can be configured differently based on different device models, operating system versions, or market regions.
[0095] While the fixed system quick settings menu is a default system setting, users can customize it. Users can add, delete, and move system settings items in the fixed menu using long presses, dragging, and other operations, creating a custom menu that suits their personal preferences.
[0096] For example, if a user disables the smart recommendation feature in the quick settings menu, the system displays a fixed quick settings menu with six default settings: Wi-Fi, Bluetooth, brightness, volume, airplane mode, and flashlight. The user can then long-press and drag to replace the flashlight setting with a dark mode setting and adjust the order of the system settings. The system saves this custom configuration, and subsequent times the fixed quick settings menu is opened, it will display the settings in the user-defined order.
[0097] By adopting the technical solution of this application embodiment, the fixed system quick settings menu provides users with a familiar user experience, reducing learning costs and adaptation difficulties. By supporting user-defined editing, even when the intelligent recommendation function is turned off, users can still customize the menu content according to their needs, ensuring user control over the device. Furthermore, even if the intelligent recommendation function malfunctions or malfunctions, the system can revert to the fixed system quick settings menu mode, ensuring that users can always use the quick settings function normally.
[0098] Figure 4 This is a data flow diagram of a menu generation method provided in an embodiment of this application; as shown... Figure 4 As shown, the system can acquire application information, content information, and time information as raw data. Application information refers to the name and type of the application currently running on the device or in the foreground, such as a video player, map navigation software, or social media application. Content information refers to the type or characteristics of the content currently displayed on the screen, such as movie footage, short videos, text chat interfaces, or document content. Time information refers to the current time characteristics, including hour, minute, day of the week, and whether it is a holiday.
[0099] Based on the aforementioned raw data, combined with the user's age group information and usage records of various system settings (including usage frequency and time periods), the user group information to which the current user belongs can be determined. For example, by analyzing that the user's age group is 25 years old and that system settings such as Bluetooth and NFC are used frequently, the user can be categorized as a young tech user group. After determining the user group information, the user group weight of each system setting can be queried according to a pre-established group weight configuration table. The user group weight reflects the importance of a certain system setting to a specific user group. For example, for the young tech user group, the user group weight of the Bluetooth switch can be set to 3, and the NFC switch to 2; while for the elderly care user group, the user group weight of the font size can be set to 3.
[0100] Based on application information, content information, and time information, the current usage scenario can be comprehensively determined. For example, if the application information is a video playback application, the content information is a movie, and the time information is evening, the system determines the current usage scenario to be a nighttime video playback scenario. After determining the usage scenario information, the system queries the usage scenario weight of each system setting item in this scenario according to a pre-established scenario weight configuration table. For example, in a nighttime video playback scenario, the usage scenario weight of brightness adjustment can be set to 3, volume adjustment to 2, and airplane mode to 1.
[0101] The system can collect the actual number of times a user performs operations on each system setting item within the adjustment period to obtain the usage frequency information of each system setting item. After obtaining the usage frequency information, the system classifies each system setting item into its corresponding frequency level according to the pre-defined frequency levels and looks up the corresponding usage frequency weight in a table.
[0102] After the three parallel processing steps are completed, the system comprehensively calculates the user group weight, usage scenario weight, and usage frequency weight of each system setting item to obtain the priority score for each system setting item. The system settings items are then sorted from highest to lowest priority score, and the top-ranked items are selected as the target system settings items.
[0103] A system quick settings menu is generated based on the target system settings items, and these items are arranged in priority order within the menu. Finally, the SystemUI quick settings panel is updated, rendering the newly generated menu onto the device's system quick settings panel and replacing the existing content. This completes the entire process of generating and updating the system quick settings menu.
[0104] Through the above data flow, the entire process from raw data input to system quick settings menu update can be automated. The whole process has a clear structure and distinct levels. The three-way parallel processing improves data processing efficiency, and the comprehensive priority calculation ensures the scientific and reasonable nature of the menu content.
[0105] In one embodiment, a young user watching a movie on a TV can receive a priority score as shown in Table 5.
[0106] Table 5
[0107] In this scenario, entertainment and brightness settings have higher usage scenario weights due to the movie-watching context. Assuming the system quick settings menu can only hold five target system settings, only the top five system settings with the highest priority scores among the eight can be identified as target system settings. In this scenario, the system settings a user sees when opening the system quick settings menu include: picture quality mode, sound effect mode, brightness, screen mirroring, and Bluetooth settings.
[0108] In one embodiment, a young user who is formally using a TV device at work late at night can obtain a priority score as shown in Table 6.
[0109] Table 6
[0110] In this scenario, due to the office setting, connectivity and mute settings have high usage scenario weights; due to the nighttime setting, eye protection mode and brightness settings have high weights. Because the target users are young, entertainment settings have high user group weights. Assuming the system quick settings menu can only hold 5 target system settings, only the top 5 system settings with the highest priority scores among the 8 system settings mentioned above can be identified as target system settings. In this scenario, the system settings that a user sees when opening the system quick settings menu include: screen mirroring, Bluetooth, mute, eye protection mode, and brightness settings.
[0111] In one embodiment, user Xiao Wang watches a movie on his smartphone at 9 PM. The system detects that the currently running application is a video player, the content is a movie, the time is evening, and the lighting is dim, thus classifying it as a nighttime video playback scenario. The system identifies Xiao Wang's age as 25, placing him within the young user group, and notes that Xiao Wang frequently uses Bluetooth to connect headphones and constantly adjusts brightness and volume. After analyzing data from the past 7 days, display and sound adjustment system settings received higher scenario weights for nighttime video playback; for the young user group, the Bluetooth switch received a higher group weight; and the priority score for each system setting was calculated by combining frequency weights. Finally, the six highest-priority system settings were selected to generate a system quick settings menu, including the following system settings in order: brightness adjustment, volume adjustment, Bluetooth switch, dark mode, eye protection mode, and screen rotation lock. Xiao Wang can quickly adjust brightness and volume and activate eye protection mode while watching the movie, resulting in a good viewing experience.
[0112] In one embodiment, user Mr. Zhang uses the in-vehicle navigation system while driving during the day. The system detects that map navigation software is currently running, the vehicle is moving, and it is daytime, classifying it as a driving navigation scenario. Mr. Zhang, at 50 years old, belongs to the middle-aged user group and frequently adjusts the volume and air conditioning temperature. In the driving navigation scenario, location service and network connectivity system settings receive higher scenario weights; for middle-aged users, volume adjustment receives higher group weight. The system quick settings menu generated after comprehensive calculation includes the following system settings in order: volume adjustment, Bluetooth on / off, GPS on / off, screen brightness, air conditioning temperature, and voice assistant. Mr. Zhang can conveniently adjust the volume and answer calls while driving, improving driving safety.
[0113] In one embodiment, the user, Grandma Li, is 65 years old and has just started using a smartphone. The system detects that she mainly uses her phone during the day, frequently using WeChat and video players, classifying it as a daily leisure activity. Since she is a new user and lacks historical data, the system uses default usage frequency information. For elderly users, accessibility features and basic adjustment system settings receive higher weight. The system quick settings menu generated after comprehensive calculation includes the following system settings in order: font size, volume adjustment, brightness adjustment, Wi-Fi switch, ringtone, and emergency contacts. Grandma Li can easily adjust the font size and volume, significantly improving her user experience.
[0114] The technical solution adopted in this application obtains usage scenario information, user group information and usage frequency information, comprehensively determines the priority of each system setting item, and generates a personalized system shortcut setting menu accordingly. It has the advantages of high intelligence, high personalization, strong situational adaptability, good user experience and flexible scalability, and can be widely used in various smart terminal devices.
[0115] To facilitate better implementation of the menu generation method of this application, this application also provides a menu generation apparatus based on the above-described menu generation method. The meanings of the terms used are the same as in the menu generation method described above, and specific implementation details can be found in the descriptions of the method embodiments.
[0116] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of the menu generation device provided in the embodiments of this application, wherein the menu generation device includes: The information acquisition module 501 is used to acquire usage scenario information, user group information to which the current user belongs, and usage frequency information of each of the multiple system settings. The priority determination module 502 is used to determine the priority of each of the multiple system settings items based on the usage scenario information, the user group information, and the usage frequency information of each of the multiple system settings items. The menu generation module 503 is used to determine a target system setting item based on the priority of each of the multiple system setting items, and generate a system shortcut setting menu based on the target system setting item.
[0117] In one embodiment, the priority determination module 502 includes: The scenario weight determination unit is used to determine the respective scenario weights of multiple system setting items based on the scenario information. The user weight determination unit is used to determine the user group weight of each of the multiple system settings items based on the user group information. The frequency weight determination unit is used to determine the usage frequency weight of each of the multiple system setting items based on their respective usage frequency information. The priority determination unit is used to determine the priority of each of the multiple system settings by comprehensively considering the user group weight, usage scenario weight, and usage frequency weight of each of the multiple system settings.
[0118] In one embodiment, the device further includes: A classification module is used to classify the various system settings items. The first determining module is used to predetermine the usage scenario weights of various system settings items based on different usage scenario information; The second determining module is used to pre-determine the user group weight of various system settings for different user group information. The third determining module is used to pre-divide multiple frequency levels and determine the usage frequency weights corresponding to different frequency levels.
[0119] In one embodiment, the device further includes: The function detection module is used to check whether the intelligent recommendation function of the shortcut menu is enabled; The information acquisition module 501 includes: The period detection unit is used to detect whether the set adjustment period has been reached when the intelligent recommendation function of the shortcut menu is enabled; The information acquisition unit is used to acquire the usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the multiple system settings when the adjustment period is reached.
[0120] In one embodiment, the device further includes: The default display module is used to display a fixed system quick settings menu by default when the intelligent recommendation function of the quick menu is not enabled; the fixed system quick settings menu supports user customization.
[0121] In one embodiment, the information acquisition module 501 includes: The first acquisition unit is used to acquire the age group information of the current user; The second acquisition unit is used to acquire the current user's usage record of the system settings item, the usage record including the usage frequency and usage time of the system settings item; The group determination unit is used to determine the user group information to which the current user belongs based on the age group information, the usage frequency, and the usage time period.
[0122] In one embodiment, the information acquisition module 501 includes: The third acquisition unit is used to acquire application information used in the target scenario; The fourth acquisition unit is used to acquire content information displayed in the target scene; The fifth acquisition unit is used to acquire the time information corresponding to the target scene; The scenario determination unit is used to determine the usage scenario information of the target scenario based on the application information, the content information, and the time information.
[0123] In one embodiment, the information acquisition module 501 includes: The acquisition unit is used to acquire the usage frequency information of the current user for each of the multiple system settings within the adjustment period; The default unit is used to employ the default usage frequency information of each of the multiple system settings when the usage frequency information of the current user for each of the multiple system settings within the adjustment period cannot be collected.
[0124] By acquiring usage scenario information, the system can perceive the user's current usage environment, enabling the generated quick settings menu to match the user's real-time usage status and improving the contextual adaptability of the menu content. Acquiring user group information allows the system to identify user age, usage habits, and other characteristics, thus enabling personalized generation based on the preferences of different user groups, providing system settings that better suit their operating habits. Acquiring the usage frequency information of multiple system settings reflects the actual usage intensity of each item, giving higher priority to frequently used system settings and preventing low-frequency system settings from occupying system quick settings menu resources. By comprehensively considering usage scenario information, user group information, and the usage frequency information of each system setting to determine priority, and automatically filtering target system settings to generate quick settings menus, the system achieves multi-dimensional intelligent evaluation of the importance of multiple system settings. This results in a more accurate quick settings menu that matches the user's actual needs in the current usage scenario, reducing manual search and configuration steps and significantly improving operational efficiency and user satisfaction.
[0125] For specific limitations regarding the menu generation device, please refer to the limitations on the menu generation method above, which will not be repeated here. Each module in the aforementioned menu generation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0126] In addition, this application also provides an electronic device, such as Figure 6 As shown, it illustrates the structural diagram of the electronic device involved in this application, specifically: The electronic device may include components such as a processor 601 with one or more processing cores and a memory 602 with one or more computer-readable storage media. Those skilled in the art will understand that... Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 601 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, thereby providing overall monitoring of the electronic device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0127] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0128] In one embodiment, the electronic device further includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0129] In one embodiment, the electronic device may further include an input unit 604, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0130] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602, thereby implementing the steps in any of the menu generation methods provided in the embodiments of this application.
[0131] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0132] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the methods described in any embodiment of this application.
[0133] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of this application.
[0134] In some embodiments, a computer program product is also provided, including a computer program or instructions that, when executed by a processor, implement the methods described in any embodiment of this application.
[0135] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0136] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0137] To this end, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps of any of the menu generation methods provided in this application.
[0138] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0139] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0140] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the menu generation methods provided in this application, the beneficial effects that any of the menu generation methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0141] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0142] The above provides a detailed description of a menu generation method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A menu generation method, characterized in that, include: Obtain usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the various system settings; Based on the usage scenario information, the user group information, and the usage frequency information of each of the system settings, the priority of each of the system settings is determined; Based on the priority of each of the multiple system settings, a target system setting is determined, and a system shortcut settings menu is generated based on the target system setting.
2. The method according to claim 1, characterized in that, The step of determining the priority of each of the multiple system settings items based on the usage scenario information, the user group information, and the usage frequency information of each of the multiple system settings items includes: Based on the usage scenario information, the usage scenario weights of each of the multiple system settings items are determined; Based on the user group information, the user group weight of each of the multiple system settings items is determined; Based on the usage frequency information of each of the multiple system settings, determine the usage frequency weight of each of the multiple system settings; The priority of each of the system settings is determined by combining the user group weight, usage scenario weight, and usage frequency weight of each system setting item.
3. The method according to claim 2, characterized in that, The method further includes: The various system settings items are categorized. For different usage scenario information, the usage scenario weights of various system settings are determined in advance; For different user group information, the user group weight of each type of system setting item is determined in advance; Multiple frequency levels are pre-defined, and the usage frequency weights corresponding to different frequency levels are determined.
4. The method according to claim 1, characterized in that, The method further includes: Check if the quick menu smart recommendation function is enabled; The acquisition of usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the multiple system settings includes: When the smart recommendation function of the shortcut menu is enabled, it is checked whether the set adjustment cycle has been reached; When the adjustment period is reached, the usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the multiple system settings are obtained.
5. The method according to claim 4, characterized in that, The method further includes: When the intelligent recommendation function of the shortcut menu is not enabled, the fixed system shortcut settings menu is displayed by default; the fixed system shortcut settings menu supports user customization.
6. The method according to claim 1, characterized in that, Obtaining the user group information to which the current user belongs includes: Obtain the current user's age group information; Obtain the current user's usage history of the system settings items, the usage history including the frequency of use and the time period of use of the system settings items; Based on the age group information, the frequency of use, and the time period of use, the user group information to which the current user belongs is determined.
7. The method according to claim 1, characterized in that, Obtaining the usage scenario information includes: Obtain application information used in the target scenario; Obtain the content information displayed in the target scene; Obtain the time information corresponding to the target scene; Based on the application information, the content information, and the time information, the usage scenario information of the target scenario is determined.
8. The method according to claim 1, characterized in that, Obtain the usage frequency information of each of the system settings, including: Collect information on the frequency of use of each of the system settings by the current user within the adjustment period; If the current user's usage frequency information for each of the multiple system settings within the adjustment period cannot be collected, the default usage frequency information for each of the multiple system settings shall be used.
9. A menu generation device, characterized in that, include: The information acquisition module is used to acquire usage scenario information, the user group information to which the current user belongs, and the usage frequency information of each of the various system settings. The priority determination module is used to determine the priority of each of the multiple system settings items based on the usage scenario information, the user group information, and the usage frequency information of each of the multiple system settings items. The menu generation module is used to determine the target system setting item based on the priority of each of the multiple system setting items, and generate a system shortcut setting menu based on the target system setting item.
10. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the menu generation method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the menu generation method as described in any one of claims 1 to 8.