System lock screen-based sub-region dynamic content display method and system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-19
- Publication Date
- 2026-08-11
AI Technical Summary
[0003]但是,现有技术在锁屏界面中进行动态内容展示时,通常更侧重于预设区域的静态显示,或者仅根据单一权限条件决定是否展示某项内容,尚未围绕锁屏状态下的实际使用场景建立连续的内容处理链条;一方面,现有方案对锁屏界面中的可展示区域确定方式较为粗略,往往未结合用户历史交互记录、时间上下文信息以及屏幕分辨率信息对锁屏界面中的候选区域进行针对性筛选,导致动态内容展示区域容易与锁屏通知区、身份显示区、解锁控件显示区等界面元素发生冲突,进而影响隐私保护、解锁操作或者界面完整性;另一方面,在内容进入展示阶段之前,现有方案通常缺少围绕内容来源、访问权限、历史交互频率、内容类别、更新时间以及用户反馈的逐层筛分机制,导致锁屏界面中可能出现展示内容与当前用户关注重点不匹配、内容时效性不足或者展示优先顺序不合理的问题
[0024] This application addresses issues such as coarse area determination, insufficient content screening, unreasonable display order, and unstable output control in the dynamic content display process under lock screen conditions. It constructs a continuous processing method consisting of security display sub-area determination, permitted content screening, adapted content generation, display priority sorting, layout allocation, rendering control, and resolution-adaptive output. This enables the dynamic content display in the lock screen interface to move beyond fixed areas and static output, and achieve dynamic display that adapts to current user preferences, usage scenarios, and terminal display conditions while ensuring the security of the lock screen interface.
Smart Images

Figure CN122547447A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction technology, and more specifically, to a method and system for displaying dynamic content in sub-regions based on a system lock screen. Background Technology
[0002] With the increasing popularity of smart terminal devices in human-computer interaction scenarios, the lock screen interface is no longer only used for status locking and unlock entry display, but also gradually takes on the display needs of message reminders, schedule reminders, information cards and other content. Therefore, how to output the displayed content in a restricted state has become a continuous focus of lock screen interaction design. Existing lock screen display solutions can usually reserve notification areas, component areas or fixed display areas in the lock screen interface and perform simple display control on some content.
[0003] However, existing technologies for displaying dynamic content on the lock screen typically focus more on the static display of preset areas, or decide whether to display certain content based solely on a single permission condition, without establishing a continuous content processing chain around the actual usage scenarios in the lock screen state. On the one hand, existing solutions determine the displayable areas in the lock screen interface in a rather coarse manner, often failing to specifically filter candidate areas based on user history, time context information, and screen resolution information. This can lead to conflicts between dynamic content display areas and interface elements such as lock screen notification areas, identity display areas, and unlock control display areas, thereby affecting privacy protection, unlocking operations, or interface integrity. On the other hand, before content enters the display stage, existing solutions usually lack a layered screening mechanism based on content source, access permissions, historical interaction frequency, content category, update time, and user feedback. This can result in issues such as the displayed content not matching the current user focus, insufficient timeliness of the content, or an unreasonable display priority order in the lock screen interface.
[0004] Furthermore, even if some existing solutions can display certain content on the lock screen, they mostly output it directly in a fixed order or with a preset style, lacking sorting processing that takes into account the user's current activity state and time context information. This makes it difficult to adjust the display priority of different content according to the current usage scenario. At the same time, for content that enters the display stage, existing solutions usually do not continue to perform layout position allocation, display layer allocation, rendering trigger control, and resolution adaptation adjustment in conjunction with the security display sub-area. Therefore, under different terminal resolutions, different lock screen time periods, or different content combinations, it is easy to have issues such as crowded layouts, unclear positions of key content, inappropriate output timing, and content exceeding boundaries, affecting the stability and usability of dynamic content display in the lock screen state.
[0005] Therefore, how to provide a method and system for displaying dynamic content in sub-regions based on the system lock screen, accurately determine the sub-regions for secure display in the lock screen state, and on this basis complete the permission screening, adaptation screening, priority sorting, layout control, rendering control and resolution adaptation output of candidate content, so as to improve the security, adaptability and display stability of dynamic content display in the lock screen interface, has become the technical problem that this application urgently needs to solve. Summary of the Invention
[0006] In order to overcome the above-mentioned defects of the prior art and to achieve the above objectives, this application provides the following technical solution:
[0007] In the first aspect, this application discloses a method for displaying dynamic content in a sub-region based on a system lock screen, including:
[0008] Step S1: Respond to the lock screen activation signal, obtain the user's historical interaction records, time context information and screen resolution information, and determine the secure display sub-area of the lock screen interface based on user preference information, time context information and preset area delineation rules;
[0009] Step S2: Obtain candidate content from the dynamic content source corresponding to the security display sub-area, perform access permission judgment on the candidate content, and filter the candidate content according to the interaction frequency in the user's historical interaction record to generate a set of permitted content.
[0010] Step S3: Determine the content category weight and update cycle based on the content category and update time of each content in the licensed content set, and extract user feedback corresponding to the licensed content set from the user's historical interaction records to generate an adapted content set;
[0011] Step S4: Based on the set of adapted content, combined with user activity data and time context information, sort the set of adapted content to generate a display priority sequence;
[0012] Step S5: Based on the display priority sequence, allocate layout positions and display levels within the safe display sub-area to generate initial display layout data;
[0013] Step S6: Based on the initial display layout data and time context information, determine the rendering method and generate display control instructions;
[0014] Step S7: Based on the display control instructions, the initial display layout data is adapted and adjusted according to the screen resolution information, and the adapted content set is output to the lock screen interface according to the adjusted display layout data to obtain the dynamic content display result of the sub-area.
[0015] Secondly, this application discloses a sub-region dynamic content display system based on the system lock screen, including:
[0016] The security zone determination module responds to the lock screen activation signal, obtains the user's historical interaction records, time context information and screen resolution information, and determines the secure display sub-area of the lock screen interface based on user preference information, time context information and preset area delineation rules;
[0017] The content filtering module obtains candidate content from the dynamic content source corresponding to the security display sub-area, performs access permission judgment on the candidate content, and filters the candidate content based on the interaction frequency in the user's historical interaction record to generate a set of permitted content.
[0018] The content adaptation module determines the content category weight and update cycle based on the content category and update time of each content in the licensed content set, and extracts user feedback corresponding to the licensed content set from the user's historical interaction records to generate an adapted content set.
[0019] The priority sorting module sorts the adapted content set based on user activity data and time context information, and generates a display priority sequence.
[0020] The layout generation module, based on the display priority sequence, allocates layout positions and display levels within the safe display sub-area to generate initial display layout data.
[0021] The instruction generation module determines the rendering method and generates display control instructions based on the initial display layout data and time context information;
[0022] The output module, based on display control commands and screen resolution information, adapts and adjusts the initial display layout data, and outputs the adapted content set to the lock screen interface according to the adjusted display layout data, thus obtaining the dynamic content display result of the sub-area.
[0023] Compared with related technologies, this application has the following advantages:
[0024] This application addresses issues such as coarse area determination, insufficient content screening, unreasonable display order, and unstable output control in the dynamic content display process under lock screen conditions. It constructs a continuous processing method consisting of security display sub-area determination, permitted content screening, adapted content generation, display priority sorting, layout allocation, rendering control, and resolution-adaptive output. This enables the dynamic content display in the lock screen interface to move beyond fixed areas and static output, and achieve dynamic display that adapts to current user preferences, usage scenarios, and terminal display conditions while ensuring the security of the lock screen interface.
[0025] This application obtains user historical interaction records, time context information, and screen resolution information, and determines a secure display sub-area based on user preference information, time context information, and preset area delineation rules. By limiting the display range of dynamic content from the lock screen interface in advance, it can avoid conflicts between the displayed content and the lock screen notification area, identity display area, unlock control display area, and screen boundaries, thereby improving the security and interface consistency of dynamic content display in the lock screen state.
[0026] This application performs access permission judgment on candidate content and filters it based on the frequency of interaction in the user's historical interaction records. Before entering the display process, it excludes content with unsuitable sources, mismatched permissions, or low historical attention. Furthermore, it generates an adapted content set based on content category, update time, and user feedback. This allows the content entering the subsequent display process to simultaneously consider displayability, timeliness, and user attention, thereby improving the effectiveness and relevance of the lock screen interface display content.
[0027] This application generates a display priority sequence based on an adapted content set and combined with user activity data and time context information. This makes the content sorting no longer dependent on fixed rules, but can adjust the display priority according to the current activity status and the current time period, thereby improving the matching degree between the displayed content and the current usage scenario and reducing the situation where important content is placed later or less relevant content is displayed first.
[0028] This application allocates layout positions and display levels within the secure display sub-region based on display priority sequence, determines the rendering method and generates display control instructions by combining time context information, and then adapts and adjusts the initial display layout data according to screen resolution information before outputting it to the lock screen interface. This enables the displayed content to maintain good layout order, display hierarchy and output stability under different terminal resolutions, different lock screen times and different content combinations, thereby improving the consistency and usability of the dynamic content display results on the lock screen interface. Attached Figure Description
[0029] Figure 1 A flowchart illustrating the sub-region dynamic content display method based on system lock screen provided in this application;
[0030] Figure 2 A schematic diagram of the sub-area dynamic content display system based on the system lock screen provided in this application. Detailed Implementation
[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0032] Example 1
[0033] Please see Figure 1 As shown, this embodiment provides a method for displaying dynamic content in sub-regions based on the system lock screen, including the following steps:
[0034] Step S1: In response to the lock screen activation signal, obtain user historical interaction records, time context information, and screen resolution information; based on user preference information, time context information, and preset area delineation rules, determine the secure display sub-area of the lock screen interface; in some implementations, the steps include:
[0035] The device receives the lock screen activation signal, which can be generated by a screen light-up event, a lock screen state switching event, or a timed wake-up event. After receiving the lock screen activation signal, the terminal device records the current time point as the reference time for obtaining time context information.
[0036] To obtain user historical interaction records, the terminal device retrieves lock screen interface interaction data within a preset statistical period from the local storage area, and merges it according to content identifiers to obtain historical click locations, historical dwell locations, historical trigger periods, content viewing frequency, content trigger frequency, click feedback, and dwell feedback.
[0037] The terminal device obtains time context information and parses the date, time, day of the week and time period information based on the aforementioned reference time. The time period information can be divided into early morning, morning, noon, afternoon, evening and night periods according to a preset division method. The preset division method can be formed based on the user's historical interaction records over multiple consecutive days.
[0038] The screen resolution information is obtained and a lock screen interface coordinate system is established. The terminal device obtains the screen pixel width and screen pixel height from the display configuration record, and establishes a lock screen interface coordinate system with the upper left corner of the screen as the origin. Subsequent candidate area division, security display sub-area coordinate output, layout position allocation and resolution adaptation all use the lock screen interface coordinate system as the unified coordinate basis.
[0039] User preference information is generated based on the user's historical interaction records. The terminal device counts the frequency of content viewing, cumulative dwell time, and number of click feedback for each content category in the user's historical interaction records, and generates content category preferences according to preset normalization rules. At the same time, the terminal device counts the number of triggers for each historical trigger time period and generates time period preferences according to preset normalization rules. The terminal device uses the content category preferences and time period preferences together to determine the user preference information.
[0040] Based on user preference information, candidate interaction areas are extracted from the lock screen interface. The terminal device maps the historical click positions and historical dwell positions in the user's historical interaction records to the lock screen interface in the lock screen interface coordinate system, and divides the lock screen interface into regions according to a preset grid division method. Subsequently, the terminal device counts the number of clicks and dwell time corresponding to each region, and combines the content category preference in the user preference information that corresponds to the current content category to perform region filtering. Regions with click counts in the previous range, dwell time in the previous range, and corresponding to the user preference information are determined as candidate interaction areas.
[0041] By combining time context information, the correspondence between the current time period and the historical triggering time periods corresponding to each candidate interaction area is determined. The terminal device obtains the historical triggering time periods corresponding to each candidate interaction area and counts the number of times the current time period appears in the historical triggering time periods corresponding to each candidate interaction area. Subsequently, the terminal device performs time period correspondence processing on each candidate interaction area based on the number of occurrences and retains the candidate interaction areas whose occurrences in the current time period are within the retention range.
[0042] Based on the preset area delineation rules, each candidate interaction area is filtered. The terminal device first eliminates candidate interaction areas that overlap with the lock screen notification area and identity display area according to the privacy information avoidance rules; then it eliminates candidate interaction areas that overlap with the unlock control display area according to the fixed component avoidance rules; finally, it eliminates candidate interaction areas that exceed the lock screen interface display boundary according to the screen boundary restriction rules, thus obtaining the target area.
[0043] The filtered target areas are identified as security display sub-areas. The terminal device obtains the top-left corner coordinates, area width, and area height of the target area. When there is more than one target area, it is sorted according to the area and the number of times it appears in the current time period. The target area with the highest sort position is identified as the security display sub-area.
[0044] For example, in one scenario, the terminal device receives a lock screen activation signal at 7:40 AM on a weekday and reads lock screen interaction data from the past seven days. Statistics show that users frequently view commuting information, schedule reminders, and weather information. Furthermore, between 7:00 AM and 8:30 AM on a weekday, the number of clicks and dwell time on the central right area of the lock screen are higher than in other areas. The terminal device obtains three candidate interaction areas in the lock screen reference coordinate system. The first area overlaps with the identity display area, the second area overlaps with the unlock control display area, and the third area has upper-left corner coordinates of 640 pixels and 780 pixels, a width of 360 pixels, and a height of 540 pixels. Since the third area has the highest historical trigger count during the current time period, it is determined as the security display sub-area.
[0045] Through the above steps, after the lock screen enters the display state, user preference information is first extracted from the user's historical interaction records. Then, combined with time context information and preset area delineation rules, a safe display sub-area that can be used to display dynamic content is determined from the lock screen, providing a unified display range and a unified coordinate basis for subsequent candidate content acquisition and layout allocation.
[0046] Step S2 involves obtaining candidate content from the dynamic content source corresponding to the secure display sub-area, performing access permission judgment on the candidate content, and filtering the candidate content based on the interaction frequency in the user's historical interaction records to generate a set of permitted content; in some implementations, the steps include:
[0047] Obtain the coordinates of the top left corner, the width, and the height of the corresponding security display sub-region.
[0048] The dynamic content source corresponding to the security display sub-area is determined. The terminal device obtains the dynamic content source configuration record. The dynamic content source configuration record includes at least the content source identifier, the output content category, the minimum display size, and the lock screen display permission. The terminal device determines the dynamic content source corresponding to the security display sub-area as the one whose minimum display size does not exceed the size of the security display sub-area and whose output content category corresponds to the user's preference information.
[0049] Candidate content is obtained from dynamic content sources. The terminal device sends a content request to the aforementioned dynamic content source. The content request includes at least the current time period, the size of the security display sub-area, and user preference information. Each candidate content has at least a content identifier, a content source identifier, an access permission identifier, a content category, an update time, and a display size.
[0050] Access permission judgment is performed on candidate content. The terminal device obtains the content source identifier and access permission identifier corresponding to each candidate content, compares the content source identifier with the lock screen displayable source list, and compares the access permission identifier with the lock screen displayable permission list. Only candidate content that passes both the source comparison and permission comparison will proceed to the next processing step.
[0051] The interaction frequency is calculated based on the user's historical interaction records. The terminal device extracts the corresponding content viewing frequency and content trigger frequency from the user's historical interaction records based on the content identifier or content category of the candidate content, and calculates the interaction frequency according to a preset combination rule. One feasible processing method is to first convert the content viewing frequency into a viewing component, then convert the content trigger frequency into a trigger component, and finally add the viewing component and the trigger component to obtain the interaction frequency. The preset combination rule is set as follows: repeated viewing behaviors are continuously counted, and occasional trigger behaviors are counted only once.
[0052] Based on the interaction frequency, the terminal device retains candidate content whose interaction frequency falls within the retention range and deletes candidate content whose interaction frequency falls within the elimination range. The method for setting the retention range and elimination range is as follows: continuous viewing behavior in the user's historical interaction record is used as the retention basis, and behavior that is not viewed after a brief trigger is used as the elimination basis.
[0053] A set of licensed content is generated. The terminal device will summarize the candidate content that is judged by access permission and filtered by interaction frequency to form a set of licensed content. Each piece of content in the set of licensed content must retain at least the content identifier, content source identifier, content category, update time, display size and interaction frequency.
[0054] Furthermore, based on the area size of the security display sub-area and user preference information, the terminal device determines the dynamic content sources corresponding to the security display sub-area, including map content sources, weather content sources, calendar content sources, health reminder content sources, instant message content sources, and promotional content sources. The candidate content returned by each dynamic content source is as follows: commuting traffic card, weather card, first schedule reminder card, step count reminder card, instant message summary card, and promotional card. Among them, commuting traffic card, weather card, first schedule reminder card, and step count reminder card are all compared by content source and access permission. Instant message summary card is removed because its access permission identifier does not belong to the lock screen's list of permissions. Promotional card is also removed because its content source identifier does not belong to the lock screen's list of sources. The terminal device then calculates the interaction frequency based on the user's historical interaction records. The commuting traffic card has a content viewing frequency of 18 times and a content trigger frequency of 8 times; the weather card has a content viewing frequency of 12 times and a content trigger frequency of 5 times; the first schedule reminder card has a content viewing frequency of 10 times and a content trigger frequency of 3 times; and the step count reminder card has a content viewing frequency of 8 times and a content trigger frequency of 2 times. Therefore, the aforementioned four types of content are summarized into a set of permitted content.
[0055] By following the steps above, once the secure display sub-area is determined, candidate content is obtained from the dynamic content source corresponding to the secure display sub-area. Then, by judging access permissions and filtering by interaction frequency, content that is not suitable for display on the lock screen or has a low number of historical uses is excluded, resulting in a set of permitted content that can continue to participate in the adaptation process.
[0056] Step S3: Determine the content category weight and update cycle based on the content category and update time of each content in the licensed content set, and extract user feedback corresponding to the licensed content set from user historical interaction records to generate an adapted content set; in some implementations, the steps include:
[0057] The terminal device obtains the content identifier, content category, update time, display size, and interaction frequency of each content in the licensed content set.
[0058] Content category weights are determined based on the set of licensed content and user history interaction records. Terminal devices categorize the set of licensed content by content category, and then count the content viewing frequency, cumulative dwell time, and number of click feedback corresponding to each content category from the user history interaction records. These are then converted into content category weights according to preset normalization rules. The content category weights are used to represent the degree of attention users pay to the corresponding content categories.
[0059] The update cycle is determined based on the update time and time context information. The terminal device obtains the current time from the time context information and calculates the time interval between the current time and the update time. Then, based on the preset time interval in which the time interval is located, the update cycle of the corresponding content is determined. The preset time interval is set by dividing the time interval into multiple time intervals according to the timeliness requirements of the dynamic content in the lock screen interface.
[0060] To extract user feedback, the terminal device extracts corresponding click feedback and dwell feedback from the user's historical interaction records based on the content identifier or content category of each content in the licensed content set, and uses both click feedback and dwell feedback as user feedback. Click feedback includes at least the number of clicks or the order of clicks, and dwell feedback includes at least the dwell time or the number of dwells.
[0061] The system performs adaptive screening based on content category weights, update cycles, and user feedback. The terminal device first converts the content category weights into category components, the update cycles into timeliness components, and user feedback into feedback components. Then, it synthesizes the category components, timeliness components, and feedback components according to preset combination rules to obtain the screening score corresponding to each piece of permitted content. The preset combination rules are set as follows: for content with strong timeliness requirements, the timeliness component is given a larger proportion; for content with strong continuity of interest, the feedback component is given a larger proportion.
[0062] A set of adapted content is generated. The terminal device retains the content whose scores fall within the retention range to form a set of adapted content. Each piece of content in the set of adapted content retains at least the content identifier, content category, update time, content category weight, update cycle, and user feedback.
[0063] As a continuation example, after the terminal device obtains four items from the permitted content set, it determines the content category weights according to each content type and determines the update cycle based on the time interval between the update time and the current time. Among them, the content category weight corresponding to the commuting traffic card is relatively high, and the update time is three minutes from the current time; the content category weight corresponding to the first schedule reminder card is next, and the update time is fifteen minutes from the current time; the content category weight corresponding to the weather card is next, and the update time is eight minutes from the current time; the content category weight corresponding to the step count reminder card is relatively low, and the update time is three hours from the current time. The terminal device then extracts corresponding user feedback from the user's historical interaction records. Among them, the commuting traffic card has a relatively high number of click feedbacks and the duration of the feedback, the first schedule reminder card has a relatively high number of click feedbacks, the weather card has a medium level of the duration of the feedback, and the step count reminder card has a relatively low number of click feedbacks and the duration of the feedback. After synthesizing a screening score based on the content category weights, update cycles, and user feedback, the terminal device retains the commuting traffic card, the first schedule reminder card, and the weather card to generate an adapted content set.
[0064] By following the steps above, and ensuring the displayability of the licensed content set, the licensed content is further filtered based on content category weight, update cycle, and user feedback. Content that both meets user preferences and has current display value is retained, resulting in a set of adapted content for sorting.
[0065] Step S4: Based on the adapted content set, and combining user activity data and time context information, sort the adapted content set to generate a display priority sequence; in some implementations, the steps include:
[0066] The terminal device retrieves the content identifier, content category, update time, content category weight, update cycle, and user feedback for each content in the adapted content set.
[0067] To acquire user activity data, the terminal device acquires touch records, the most recent unlock time, device posture change records, and the number of operations in the recent period within the most recent preset time period. The aforementioned touch records, most recent unlock time, device posture change records, and number of operations in the recent period together constitute user activity data.
[0068] The activity state is determined based on user activity data. The terminal device first counts the number of touches and device posture changes within the most recent preset time period, and then determines the time interval between the most recent unlock time and the current time. One feasible processing method is as follows: when there are no touch records within the most recent preset time period and the number of device posture changes is in the static range, it is determined to be in a static state; when the number of device posture changes is in the moving range, it is determined to be in a moving state; when there are continuous touch records within the most recent preset time period or the most recent unlock time is in an adjacent range, it is determined to be in an operating state. The method for setting the static range, moving range, and adjacent range is to distinguish between static, moving, and recent operating behaviors based on the user's daily device usage rhythm.
[0069] The terminal device obtains the current time period, weekday information, and date information, and generates a time component for each piece of content in the adapted content set based on the corresponding configuration relationship between content category and time period. The corresponding configuration relationship between content category and time period can be formed based on the user's historical interaction records.
[0070] When calculating display priority based on the set of adapted content, user activity data, and time context information, the terminal device first establishes preset basic scoring rules, preset activity correspondence tables, preset time period correspondence tables, and preset combination rules.
[0071] The method for establishing the preset basic scoring rules includes: establishing a category weight configuration table based on content categories, using the basic display importance of different content categories on the lock screen as the setting basis, and configuring corresponding category weights for each content category; establishing an update cycle configuration table based on content update characteristics, using the normal update frequency of content corresponding to each content category as the setting basis, and configuring corresponding update cycles for each content category; establishing a feedback scoring configuration table based on user interaction behavior, retaining clicks, pauses, and active expansion as positive feedback behaviors, and retaining ignores, quick swipes, and manual closes as negative feedback behaviors, and configuring corresponding feedback weights for different feedback behaviors; the terminal device reads the content category, the most recent update time, the corresponding update cycle, and user feedback records for each piece of content, obtains the category weight from the category weight configuration table, and calculates the weight based on the time interval between the current time and the most recent update time. The timeliness score should be determined by updating the proportional relationship between cycles, and the feedback score should be determined based on the occurrence of each feedback behavior and its corresponding weight in the user feedback record. Then, the category weight, timeliness score, and feedback score are synthesized according to a preset basic combination method to obtain the basic component. The preset basic combination method is as follows: first, the category weight, timeliness score, and feedback score are converted to a unified score range, and then each is multiplied by the corresponding basic combination coefficient and summed. The basic combination coefficient is established based on the degree of influence of each factor on the lock screen display sorting. Among them, the importance of the content category is used as the first setting basis, the timeliness of the content is used as the second setting basis, and the degree of user feedback is used as the third setting basis, so that the basic combination coefficient corresponding to the category weight is not lower than the basic combination coefficient corresponding to the timeliness score, and the basic combination coefficient corresponding to the timeliness score is not lower than the basic combination coefficient corresponding to the feedback score.
[0072] The terminal device then forms activity components based on user activity data. The method for establishing the preset activity mapping table includes: first, classifying activity status categories, and dividing the activity status categories into at least one or more of the following: commuting status, office status, rest status, and exercise status; then, statistically analyzing the historical trigger records, viewing records, or interaction records of different content categories under each activity status, using the historical usage frequency or historical response level of each content category under the corresponding activity status as the setting basis, and configuring an activity score corresponding to each content category for each activity status; the terminal device identifies the current activity status based on user activity data, and reads the activity scores of each content category corresponding to the current activity status from the preset activity mapping table, and determines the read activity scores as the activity components of the corresponding content.
[0073] The terminal device then forms time period components based on time context information. The method for establishing the preset time period correspondence table includes: first, dividing the time into multiple time periods according to the time distribution within a day, and forming time period categories by combining weekday status or rest day status; then, determining the time period score of each content category in the corresponding time period based on the historical viewing records, historical click records, or historical dwell records of different content categories in each time period, and writing the time period score into the preset time period correspondence table; the terminal device determines the current time period based on time context information, and reads the time period score of each content category corresponding to the current time period from the preset time period correspondence table, and determines the read time period score as the time period component of the corresponding content.
[0074] After obtaining the basic component, activity component, and time period component, the terminal device synthesizes the three components according to a preset combination rule. The preset combination rule is as follows: first, the basic component, activity component, and time period component are converted into a unified scoring range; then, they are multiplied by the basic component combination coefficient, activity component combination coefficient, and time period component combination coefficient respectively, and summed to obtain the display priority corresponding to each content. The basic component combination coefficient, activity component combination coefficient, and time period component combination coefficient are established based on the influence of the basic importance, the current activity relevance, and the current time period relevance on the lock screen display ranking; when the lock screen display emphasizes the long-term importance of the content, the basic component combination coefficient is increased; when the lock screen display emphasizes the adaptability to the current usage scenario, the activity component combination coefficient is increased; when the lock screen display emphasizes the immediate presentation needs of the current moment, the time period component combination coefficient is increased. The terminal device sorts the content in the adapted content set according to the display priority and uses the sorting result as the content output order.
[0075] The adapted content set is sorted and a display priority sequence is generated. The terminal device sorts the adapted content set from front to back according to the display priority, outputs the correspondence between the content identifier and the sort position, and forms the display priority sequence.
[0076] This example further illustrates that after obtaining touch records, the most recent unlock time, device posture change records, and the number of operations within the most recent preset time period, the terminal device determines that the current user is in a mobile state and that the current time is a weekday morning. Based on the current activity state and the current time period, the terminal device calculates the display priority for each item in the adapted content set. Since the commuting traffic card has a high correlation with the mobile state and the weekday morning time period, the first schedule reminder card also has a high correlation with the weekday morning time period, and the weather card has a moderate correlation with both the current activity state and the current time period, the terminal device determines the commuting traffic card as the first sorting position, the first schedule reminder card as the second sorting position, and the weather card as the third sorting position, thus generating a display priority sequence.
[0077] By performing the above steps, the resulting set of adapted content is combined with current user activity data and time context information, so that the display order reflects both the user's long-term preferences and the display needs at the current moment, resulting in a display priority sequence that can be directly called upon in subsequent layout allocation.
[0078] Step S5: Based on the display priority sequence, allocate layout positions and display levels within the safe display sub-region to generate initial display layout data; in some implementations, the steps include:
[0079] The terminal device obtains the display priority sequence and the security display sub-region. It also obtains the coordinates of the top left corner, the width, and the height of the security display sub-region.
[0080] Based on the coordinate system of the security display sub-area and the lock screen interface, layout units are established. The terminal device divides the security display sub-area into multiple rectangular layout units with a preset step size in the lock screen interface coordinate system, using the security display sub-area as the boundary, and records the starting coordinates of each layout unit. The preset step size is set by ensuring that there is a fixed coordinate interval when the content position is adjusted, and ensuring that display spacing is maintained between different contents.
[0081] When determining the content's occupied size, the terminal device first obtains the display size corresponding to each content in the adapted content set. The display size is used to represent the display width and display height of the corresponding content in the lock screen interface. Then, it reads the preset step size, which is used to represent the basic division size of the layout unit in the horizontal and vertical directions. Subsequently, the terminal device maps the display width of each content to the preset step size in the horizontal direction to determine the number of columns occupied, and maps the display height of each content to the preset step size in the vertical direction to determine the number of rows occupied. When the display width or display height cannot be divided evenly by the preset step size in the corresponding direction, the terminal device determines the corresponding number of columns or rows occupied by rounding up. When the display width or display height is less than the preset step size in the corresponding direction, the terminal device sets the number of occupied items in the corresponding direction to one, so as to obtain the number of rows and columns occupied by each content in the layout unit.
[0082] For example, the preset step size in the horizontal direction can be 90 pixels, and the preset step size in the vertical direction can be 60 pixels. When the display size corresponding to a certain content is 180 pixels by 120 pixels, the terminal device maps 180 pixels to 90 pixels to determine that the number of columns occupied is two, and maps 120 pixels to 60 pixels to determine that the number of rows occupied is two. When the display size corresponding to another content is 250 pixels by 60 pixels, the terminal device maps 250 pixels to three columns and 60 pixels to one row, thereby obtaining the number of rows and columns occupied by the corresponding content in the layout unit.
[0083] The layout positions are allocated according to the display priority sequence. The terminal device processes each content in the order of the display priority sequence. For each piece of content, the terminal device first calculates the center point of the safe display sub-area, and then sorts all available layout starting coordinates in ascending order of distance from the center point to form a candidate placement position sequence. Then, the layout boundary, content overlap and content spacing are checked one by one from the candidate placement position sequence, and the first candidate placement position that passes the check is selected as the layout position of the corresponding content. The layout position includes at least the horizontal coordinate of the upper left corner and the vertical coordinate of the upper left corner.
[0084] Display levels are assigned based on display priority sequence. The terminal device generates display level values for each content according to its sorting position in the display priority sequence. One feasible processing method is to use the total number of contents in the display priority sequence as the starting level value, and generate display level values for each content in descending order of sorting position.
[0085] The initial display layout data is generated by the terminal device, which summarizes the content identifier, layout position, display size, display level value and sorting position corresponding to each piece of content to form the initial display layout data.
[0086] In some implementations, for example, the terminal device divides the safety display sub-area into a layout unit with four horizontal columns and nine vertical rows, where the preset step size in the horizontal direction is 90 pixels and the preset step size in the vertical direction is 60 pixels; the display size of the commuting traffic card is 180 pixels by 120 pixels, corresponding to two columns and two rows; the display size of the first schedule reminder card is 270 pixels by 60 pixels, corresponding to three columns and one row; and the display size of the weather card is 180 pixels by 120 pixels, corresponding to two columns and two rows. After calculating the center point of the safety display sub-area, the terminal device first places the commuting traffic card at the upper left corner coordinates of 730 pixels and 960 pixels, and assigns it the highest display level value; then it places the first schedule reminder card at the upper left corner coordinates of 640 pixels and 840 pixels, and assigns it the second highest display level value; finally, it places the weather card at the upper left corner coordinates of 640 pixels and 1080 pixels, and assigns it the third display level value. The terminal device summarizes the content identifiers, layout positions, display sizes, display hierarchy values, and sorting positions corresponding to the aforementioned three items to form initial display layout data.
[0087] By performing the above steps, the sequential results in the display priority sequence are converted into specific coordinates and display levels within the safe display sub-region, allowing subsequent rendering processes to directly call the initial display layout data to complete display control.
[0088] Step S6: Based on the initial display layout data and time context information, determine the rendering method and generate display control instructions; in some implementations, the steps include:
[0089] The terminal device obtains the initial display layout data and acquires the content identifier, layout position, display size, display level value and sorting position corresponding to each content.
[0090] The instant display period is determined based on the time context information. The terminal device obtains the current time period and counts the number of clicks and the cumulative dwell time of the dynamic content corresponding to each time period from the user's historical interaction records. Then, the time periods with the number of clicks or the cumulative dwell time that are in the preceding range are determined as the instant display period. The instant display period is used to indicate the time period that is suitable for immediately outputting dynamic content after the lock screen is activated.
[0091] The rendering method is determined as follows: if the current time period falls within the instant display period, the terminal device will determine the rendering method as instant rendering; if the current time period does not fall within the instant display period, the terminal device will determine the rendering method as deferred rendering. Instant rendering refers to the method of outputting content according to the first waiting interval after the lock screen is activated; deferred rendering refers to the method of outputting content according to the second waiting interval after the lock screen is activated. The second waiting interval is longer than the first waiting interval.
[0092] The trigger time is determined based on the rendering method. The terminal device takes the activation time of the lock screen as the starting time. When the rendering method is real-time rendering, the terminal device adds the first waiting interval to the starting time to obtain the trigger time. When the rendering method is delayed rendering, the terminal device adds the second waiting interval to the starting time to obtain the trigger time. The method for setting the first and second waiting intervals is to distinguish between the case of immediate viewing and the case of shortly lighting up the screen and not continuing to view it.
[0093] The output order is determined based on the initial display layout data. The terminal devices are first sorted from front to back according to the display level value, and then sorted from front to back according to the sorting position if the display level values are the same, thus obtaining the content output order.
[0094] The terminal device generates display control instructions by writing the rendering method, trigger time, and content output order into the instruction data.
[0095] As another example, after the terminal device analyzes the number of clicks and cumulative dwell time of dynamic content in the user's historical interaction records for each time period, it determines that 7:00 AM to 8:30 AM on weekdays is the real-time display period. Since the current lock screen activation time is 7:40 AM, the terminal device sets the rendering method to real-time rendering and calculates the trigger time by adding the lock screen activation time to the first waiting interval. The terminal device then determines the output order based on the display hierarchy value and sorting position in the initial display layout data, prioritizing the output of commuter traffic cards, followed by the first schedule reminder card, and finally the weather card. Subsequently, the terminal device writes the real-time rendering method, trigger time, and the aforementioned content output order into the instruction data to generate display control instructions.
[0096] By following the steps above, based on the initial display layout data, the rendering method and output timing are determined by combining the time context information, and then display control instructions are generated, providing a direct control basis for subsequent resolution adaptation and lock screen interface output.
[0097] Step S7: Based on the display control instructions, the initial display layout data is adapted and adjusted according to the screen resolution information, and the adapted content set is output to the lock screen interface according to the adjusted display layout data to obtain the dynamic content display result of the sub-area; in some embodiments, the implementation steps include:
[0098] The terminal device acquires display control commands, initial display layout data, screen resolution information, and a set of adapted content, and simultaneously loads these into the processing flow.
[0099] When determining the resolution ratio based on screen resolution information, the terminal device first obtains a preset reference resolution, which is used to characterize the reference resolution used when generating the initial display layout data; then it reads the screen resolution information corresponding to the current terminal device and compares the screen pixel width in the screen resolution information with the reference width in the preset reference resolution to obtain the width ratio; it also compares the screen pixel height in the screen resolution information with the reference height in the preset reference resolution to obtain the height ratio; wherein, the width ratio is used for subsequent adaptation and adjustment of the horizontal layout position and horizontal display size, and the height ratio is used for subsequent adaptation and adjustment of the vertical layout position and vertical display size.
[0100] For example, the preset base resolution can be 1,080 pixels by 2,400 pixels, and the screen resolution of the current terminal device can be 720 pixels by 1,600 pixels. The terminal device compares 720 and 1,080 to obtain the width ratio, and compares 1,600 and 2,400 to obtain the height ratio. In this example, both the width ratio and the height ratio are two-thirds, so that the corresponding horizontal and vertical parameters in the initial display layout data can be adapted and adjusted according to the ratio.
[0101] The adaptation adjustment is performed based on the coordinate system of the lock screen interface. The terminal device adjusts the layout position and display size in the initial display layout data according to the width ratio and height ratio. One feasible processing method is to multiply the horizontal coordinate of the layout position by the width ratio, multiply the vertical coordinate of the layout position by the height ratio, multiply the width of the display size by the width ratio, and multiply the height of the display size by the height ratio to obtain the adjusted display layout data, while keeping the display layer value unchanged.
[0102] Based on the boundary verification of the security display sub-area, the terminal device compares the adjusted display layout data with the boundary of the security display sub-area. When any content exceeds the boundary of the security display sub-area, the terminal device prioritizes keeping the display size unchanged and shrinks the layout position according to the preset shrinkage rules until the corresponding content is completely within the security display sub-area. The preset shrinkage rules are set by first adjusting the horizontal coordinate and then adjusting the vertical coordinate until all boundary points enter the security display sub-area.
[0103] According to the display control command, the terminal device outputs an adapted content set. When the trigger time arrives, the terminal device writes each content in the adapted content set into the lock screen interface according to the content output order in the display control command and the adjusted display layout data. When writing, the terminal device first extracts the content data according to the content identifier, then completes the position arrangement according to the layout position and display size, and finally completes the stacking order control according to the display layer value.
[0104] Once the dynamic content display result of the sub-region is obtained, the terminal device forms an actual display screen on the lock screen interface, and the content identifier, actual display position, actual display size, actual display level value and actual display time are jointly determined as the dynamic content display result of the sub-region.
[0105] Continuing with the example above, the terminal device sets the preset base resolution to 1080 pixels by 2400 pixels and the current screen resolution to 720 pixels by 1600 pixels, resulting in a width and height ratio of two-thirds. Based on these width and height ratios, the terminal device adjusts the layout position and display size in the initial display layout data. Specifically, the commuter traffic card is adjusted from the top-left corner coordinates of 730 pixels, 960 pixels to 487 pixels, 640 pixels, and its display size is adjusted from 180 pixels by 120 pixels to 120 pixels by 80 pixels; the first schedule reminder card is adjusted from the top-left corner coordinates of 640 pixels, 960 pixels by 1600 pixels to 487 pixels, 960 pixels by 1600 pixels, and its display size is adjusted from 180 pixels by 120 pixels to 120 pixels by 80 pixels. The 840 pixels were adjusted to 427 pixels and 560 pixels, and the display size was adjusted from 270 pixels by 60 pixels to 180 pixels by 40 pixels; the weather card was adjusted from the top left corner coordinates of 640 pixels and 1080 pixels to 427 pixels and 720 pixels, and the display size was adjusted from 180 pixels by 120 pixels to 120 pixels by 80 pixels; the terminal device then performs boundary verification on the above adjustment results according to the boundary range corresponding to the security display sub-area. If none of the contents exceed the boundary, the commuting traffic card, the first schedule reminder card, and the weather card are written to the lock screen interface according to the content output order in the display control command, thus obtaining the dynamic content display result of the sub-area.
[0106] By following the steps above, using display control commands as the control basis and screen resolution information as the adaptation basis, the initial display layout data is adjusted for resolution, and the adapted content set is accurately output to the lock screen interface to obtain a sub-area dynamic content display result that can be directly presented.
[0107] Example 2
[0108] See Figure 2 As shown, this embodiment provides a sub-region dynamic content display system based on the system lock screen. Since this system uses the sub-region dynamic content display method based on the system lock screen in Embodiment 1, it has the same effect, and will not be described again here. The system includes:
[0109] The security zone determination module responds to the lock screen activation signal, obtains the user's historical interaction records, time context information and screen resolution information, and determines the secure display sub-area of the lock screen interface based on user preference information, time context information and preset area delineation rules;
[0110] The content filtering module obtains candidate content from the dynamic content source corresponding to the security display sub-area, performs access permission judgment on the candidate content, and filters the candidate content based on the interaction frequency in the user's historical interaction record to generate a set of permitted content.
[0111] The content adaptation module determines the content category weight and update cycle based on the content category and update time of each content in the licensed content set, and extracts user feedback corresponding to the licensed content set from the user's historical interaction records to generate an adapted content set.
[0112] The priority sorting module sorts the adapted content set based on user activity data and time context information, and generates a display priority sequence.
[0113] The layout generation module, based on the display priority sequence, allocates layout positions and display levels within the safe display sub-area to generate initial display layout data.
[0114] The instruction generation module determines the rendering method and generates display control instructions based on the initial display layout data and time context information;
[0115] The output module, based on display control commands and screen resolution information, adapts and adjusts the initial display layout data, and outputs the adapted content set to the lock screen interface according to the adjusted display layout data, thus obtaining the dynamic content display result of the sub-area.
[0116] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application; therefore, the scope of protection of this application should be determined by the scope of protection defined in the claims.
Claims
1. A method for displaying dynamic content based on a sub-region of a system lock screen, characterized in that, include: Step S1: Respond to the lock screen activation signal, obtain the user's historical interaction records, time context information and screen resolution information, and determine the secure display sub-area of the lock screen interface based on user preference information, time context information and preset area delineation rules; Step S2: Obtain candidate content from the dynamic content source corresponding to the security display sub-area, perform access permission judgment on the candidate content, and filter the candidate content according to the interaction frequency in the user's historical interaction record to generate a set of permitted content. Step S3: Determine the content category weight and update cycle based on the content category and update time of each content in the licensed content set, and extract user feedback corresponding to the licensed content set from the user's historical interaction records to generate an adapted content set; Step S4: Based on the set of adapted content, combined with user activity data and time context information, sort the set of adapted content to generate a display priority sequence; Step S5: Based on the display priority sequence, allocate layout positions and display levels within the safe display sub-area to generate initial display layout data; Step S6: Based on the initial display layout data and time context information, determine the rendering method and generate display control instructions; Step S7: Based on the display control instructions, the initial display layout data is adapted and adjusted according to the screen resolution information, and the adapted content set is output to the lock screen interface according to the adjusted display layout data to obtain the dynamic content display result of the sub-area.
2. The method of claim 1, wherein, Methods for generating secure display sub-regions include: Based on the user's historical click locations, historical dwell locations, and historical triggering periods in the user's historical interaction records, user preference information is generated; candidate interaction areas are extracted from the lock screen interface based on the user preference information; combined with time context information, the correspondence between the current time period and the historical triggering periods corresponding to each candidate interaction area is determined; each candidate interaction area is filtered according to preset area delineation rules, and the filtered target area is determined as the safe display sub-area.
3. The method of claim 1, wherein, Methods for obtaining the target region include: The system employs privacy information avoidance rules, fixed component avoidance rules, and screen boundary restriction rules. Based on the privacy information avoidance rules, candidate interaction areas that overlap with the lock screen notification area and identity display area are eliminated. Then, based on the fixed component avoidance rules, candidate interaction areas that overlap with the unlock control display area are eliminated. Finally, based on the screen boundary restriction rules, candidate interaction areas that exceed the lock screen display boundary are eliminated to obtain the target area.
4. The method of claim 1, wherein, Methods for generating licensed content collections include: Obtain the content source identifier and access permission identifier corresponding to each candidate content; perform access permission judgment based on the content source identifier and access permission identifier, and then perform interaction frequency screening based on the content viewing frequency and content triggering frequency in the user's historical interaction records. Summarize the candidate content that passes both the access permission judgment and interaction frequency screening to generate a set of permitted content.
5. The method for displaying dynamic content in sub-regions based on system lock screen according to claim 1, characterized in that, Methods for generating adapted content collections include: The content category weights for each content are determined based on the content category, and the update cycle for each content is determined based on the time interval between the update time and the current time. User feedback includes click feedback and dwell feedback. The permitted content set is filtered based on the content category weights, update cycles, click feedback, and dwell feedback to generate an adapted content set.
6. The method for displaying dynamic content in sub-regions based on system lock screen according to claim 1, characterized in that, Methods for generating display priority sequences include: Based on user activity data, determine the current user's activity state (stationary, mobile, or operational) and determine the current time period based on time context information. For each piece of content in the adapted content set, determine the display priority according to the corresponding activity state and the current time period, and sort them from high to low display priority. The sorting result is determined as the display priority sequence.
7. The method for displaying dynamic content in sub-regions based on system lock screen according to claim 1, characterized in that, Methods for generating initial display layout data include: Based on the sorting position, display size, and content category of each item in the display priority sequence, the layout position of each item is assigned in the safe display sub-area one by one; the content that is sorted first is assigned a layout position close to the center of the safe display sub-area, and the content that is sorted later is assigned a layout position far away from the center of the safe display sub-area; and the display level is assigned in order of sorting position, and the allocation result is determined as the initial display layout data.
8. The method for displaying dynamic content in sub-regions based on system lock screen according to claim 1, characterized in that, Methods for generating display control commands include: Based on the time context information, determine whether the current time period is within the preset instant display time period; if the current time period is within the preset instant display time period, determine the rendering method as instant rendering; if the current time period is not within the preset instant display time period, determine the rendering method as delayed rendering; set the corresponding trigger time according to the determined rendering method, determine the output order according to the initial display layout data, and write the rendering method, trigger time, and content output order into the instruction data to form display control instructions.
9. The method for displaying dynamic content in sub-regions based on system lock screen according to claim 8, characterized in that, Methods for obtaining the dynamic content display results of sub-regions include: Based on the width and height ratios between the screen resolution information and the preset baseline resolution, the initial display layout data is adapted and adjusted to obtain the adjusted display layout data. Based on the security display sub-area, the adjusted display layout data is checked for boundaries, and when the content corresponding to the adjusted display layout data exceeds the boundary of the security display sub-area, the position of the adjusted display layout data is shrunk according to the preset shrinkage rules. According to the display control instructions, the adapted content set is output to the lock screen interface based on the verified display layout data to obtain the dynamic content display result of the sub-area.
10. A sub-region dynamic content display system based on system lock screen, used to implement the sub-region dynamic content display method based on system lock screen as described in any one of claims 1-9, characterized in that, The system includes: The security zone determination module responds to the lock screen activation signal, obtains the user's historical interaction records, time context information and screen resolution information, and determines the secure display sub-area of the lock screen interface based on user preference information, time context information and preset area delineation rules; The content filtering module obtains candidate content from the dynamic content source corresponding to the security display sub-area, performs access permission judgment on the candidate content, and filters the candidate content based on the interaction frequency in the user's historical interaction record to generate a set of permitted content. The content adaptation module determines the content category weight and update cycle based on the content category and update time of each content in the licensed content set, and extracts user feedback corresponding to the licensed content set from the user's historical interaction records to generate an adapted content set. The priority sorting module sorts the adapted content set based on user activity data and time context information, and generates a display priority sequence. The layout generation module, based on the display priority sequence, allocates layout positions and display levels within the safe display sub-area to generate initial display layout data. The instruction generation module determines the rendering method and generates display control instructions based on the initial display layout data and time context information; The output module, based on display control commands and screen resolution information, adapts and adjusts the initial display layout data, and outputs the adapted content set to the lock screen interface according to the adjusted display layout data, thus obtaining the dynamic content display result of the sub-area.