Multi-person common schedule monthly view display method based on member color mapping

By assigning a unique color to each member and generating multi-color event bars, combined with a unified color parser and caching mechanism, the problems of unintuitive display of multi-person events and color consistency are solved, achieving stable color synchronization across views and devices, and improving information acquisition efficiency and user experience.

CN121807191APending Publication Date: 2026-04-07BEIJING DISCOVERY CORNER TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-08
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, events involving multiple users are not displayed intuitively in the monthly calendar view, and the color consistency is poor, making it difficult for users to identify them. Furthermore, the lack of a color synchronization mechanism across views and devices affects readability and user experience.

Method used

A member-based color mapping approach is adopted, which assigns a unique color to each member through a hash function, generates a multi-color stripe event bar, and combines a unified color parser and caching mechanism to ensure color consistency across views and devices, and provides texture encoding alternatives in colorblind or grayscale modes.

Benefits of technology

It enables rapid identification of multiple participants in a limited space, improves information acquisition efficiency, ensures color consistency and readability, supports colorblind users, and enhances the smoothness and applicability of the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121807191A_ABST
    Figure CN121807191A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-person common schedule monthly view display method based on member color mapping. The method relates to the technical field of schedule month view display, and comprises the following steps: establishing stable mapping from members to colors; generating monthly view display of a common schedule of multiple persons; determining a color tape layout; adaptively adjusting text display; and the display consistency is ensured. According to the method, members are stably mapped to the safety palette color through the hash function, the multi-person schedule is displayed as a single entry containing multiple color bands in the monthly view, the text contrast is automatically optimized according to the dynamic layout of the number of participants, and finally, the consistency display of cross-view and equipment is ensured through a unified analyzer and a cache mechanism. The cross-view and cross-device stable and efficient color synchronization is realized, and the problem that the cross-view and cross-device stable and efficient color synchronization is difficult to realize while the rendering performance of the client is guaranteed in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of calendar month view display technology, and more particularly to a method for displaying a shared calendar month view for multiple users based on member color mapping. Background Technology

[0002] First, the static binding of member identity with color is the cornerstone of the entire process. Each member is pre-assigned a unique and persistent color, which should be strictly consistent across all devices and views (day, week, month, list). When a multi-person event is created or identified, the process enters a critical stage, extracting core metadata such as event title and time, and dynamically determining its visual presentation based on the list of event participants.

[0003] For events involving only one person, the event bar background or left indicator bar is filled with that member's unique color for clarity. For events involving multiple participants, a horizontal color-bar segmented coding technique is used. Within the limited height of the moon view, the horizontal width of the event bar is divided equally according to the number of participants or unequally according to their roles. Each segment is filled with the corresponding member's unique color, miniaturized, and applied to the schedule display, achieving a "one person, one color" coding mapping within a very narrow space. If space is extremely limited (e.g., the event title text is long), a compromise solution of a multi-color indicator bar on the left is used. A vertical sequence of miniature color blocks stacked in order of participants is presented on the far left of the event bar, while the event title text is displayed on the right.

[0004] Finally, an interactive feedback mechanism should be added. When a user hovers the mouse over or clicks on the multi-person event bar, all participants' names and their corresponding colors should be clearly listed through tooltips (such as tooltips) or overlays to strengthen the association between colors and identities.

[0005] For example, the invention patent with publication number CN111949185A discloses a calendar display method, calendar display device, and readable storage medium, including: receiving an instruction for switching a calendar display mode; switching the calendar display mode according to the instruction, wherein the calendar display mode includes a month view, a week view, and a day view. Further, the method includes: displaying a month view in a window on the display of a mobile terminal; detecting a gesture requesting to display an association with the month view, wherein the gesture starts at any position on the display and continues to slide along a first direction; in response to detecting the gesture, the month view moves towards the top of the window along the first direction, and synchronously with the movement of the gesture, the display of the month view in the window decreases until it disappears; while the gesture continues: as the gesture moves along the first direction, the week view is moved from the top of the window into the window, thus completing the switch from the month view to the week view.

[0006] For example, the invention patent with publication number CN105930082A discloses a calendar view switching method, system, and smart mobile terminal, which includes: responding to a touch screen pinch gesture on the month view interface of a calendar application, gradually shrinking the month view interface in the foreground layer of the screen; during the shrinking of the month view interface, displaying the year view interface of the calendar application in the background layer of the screen; and when the month view interface shrinks to disappear, displaying the year view interface in the foreground layer of the screen.

[0007] However, in the process of implementing the inventive technical solution in the embodiments of this application, it was found that the above-mentioned technology has at least the following technical problems: In existing technologies, firstly, at the information presentation level, mainstream solutions typically display shared events by multiple participants as bar-shaped event entries of a single color, or simply by repeatedly displaying multiple event bars with the same content but different colors. The former completely fails to allow users to intuitively and instantly identify the composition and number of participants in the event, while the latter results in severe space occupation and high information redundancy, especially exacerbating visual congestion within the limited cells of the month view. Secondly, at the level of visual encoding consistency, some solutions adopt color systems based on the event source or locally randomly assigned, leading to inconsistent color representations of the same member or the same event on different device terminals (such as mobile phones, tablets, and computers) or different view modes on the same device (such as month view, week view, and desktop widgets), i.e., the phenomenon of "color drift," which seriously disrupts the user's color memory and cognitive continuity, increasing the learning and recognition costs for cross-platform use.

[0008] Furthermore, regarding readability and accessibility in limited spaces, an attempt was made to use stacked miniature avatars to identify participants. However, due to the small physical display area of ​​the lunar view cells, the size of the avatars directly conflicts with the font size of the event text, causing a sharp drop in text readability when there are many participants. At the same time, existing color schemes generally lack systematic consideration for colorblind, color-weak users, or grayscale display modes (such as power-saving mode or print preview). In these scenarios, information that relies solely on color differentiation will be completely or partially lost.

[0009] Finally, in terms of performance and consistency maintenance, existing technologies lack a unified, cacheable color mapping resolution and distribution mechanism, making it difficult to achieve stable and efficient color synchronization across views and devices while ensuring client rendering performance. Summary of the Invention

[0010] This application provides a method for displaying a shared monthly calendar view based on member color mapping, which solves the problem in the prior art that it is difficult to achieve stable and efficient color synchronization across views and devices while ensuring client rendering performance.

[0011] On the one hand, a method for displaying a shared monthly schedule based on member color mapping is provided, including the following steps: S1, establishing a stable mapping from members to colors: assigning a unique color to each member, mapping it to a predefined safe color palette based on the member identifier through a hash function, wherein the safe color palette contains at least 18 colors, and each color has a predefined visual contrast; S2, generating a shared monthly schedule display: for a single schedule event with multiple members participating, it is represented as an independent event bar in the monthly view interface, and the event bar is divided into multiple continuous color bands along its extension direction, wherein each color band corresponds to one participating member, and its color is determined by the stable mapping relationship described in step S1; S3, determining... Color band layout: Based on the total number of participants in the scheduled event, the number of color bands in the event bar is dynamically determined, and the color bands are arranged according to the preset member sorting rules; S4, Adaptive adjustment of text display: The brightness of the background color of the event bar is automatically calculated, and black or white is dynamically selected as the color of the text displayed on the event bar based on the brightness value to ensure sufficient visual contrast between the text and the background; S5, Ensure display consistency: Through a unified color parser and caching mechanism, the same color mapping logic is applied in multiple display views such as the monthly view, weekly view, and desktop widget. The caching mechanism manages the color mapping version and sends incremental data during device synchronization to ensure color consistency across views and devices.

[0012] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: 1. By representing multi-person events as a single entry containing multiple color bands and assigning a unique color band to each member based on a stable color mapping, users can instantly identify the composition and approximate number of participants within the limited space of the moon view, without needing to click to enter the details page, greatly improving information retrieval efficiency. This method fundamentally overcomes the shortcomings of existing technologies, such as missing or repeated display of single-color bar information leading to interface redundancy. Furthermore, through dynamic color band layout, weighted allocation, and adaptive text color adjustment mechanisms, not only is the orderly and flexible display ensured, but the contrast between text and complex background colors is also automatically optimized, thus guaranteeing clear readability of event content in various visual environments.

[0013] 2. By introducing a unified color parser and a caching mechanism with version management and incremental synchronization capabilities, a robust color allocation system has been built. This system ensures that the same member is always assigned the same color in any view (monthly view, weekly view, widget) and on any device, establishing a reliable color memory for users and completely eliminating the relearning cost caused by context switching. This global consistency not only enhances the application's professionalism but also enables seamless integration of users' schedule management across different platforms, significantly improving the smoothness and satisfaction of the user experience.

[0014] 3. By enabling users to manually override text colors and automatically switching to texture / pattern encoding when colorblindness / grayscale mode is detected, the technology significantly enhances support for colorblind and color-weak users and special display environments, demonstrating a deep commitment to accessibility. Furthermore, overflow handling and non-color encoding conversion mechanisms designed for edge scenarios such as large numbers of members or print output ensure that the technology can effectively and losslessly transmit core information even under extreme conditions, making it a mature, reliable, and widely applicable solution. Attached Figure Description

[0015] Figure 1 Flowchart of a method for displaying a shared monthly schedule view for multiple users based on member color mapping, provided in this application embodiment; Figure 2 An overall architecture diagram of the method for displaying a shared monthly schedule view based on member color mapping provided in this application embodiment; Figure 3 A flowchart illustrating the guarantee and optimization of color consistency in a multi-user shared monthly calendar view display method based on member color mapping, provided in this application embodiment. Detailed Implementation

[0016] The technical solution of the present invention will now be described with reference to the accompanying drawings.

[0017] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.

[0018] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, they convey the same meaning.

[0019] In this embodiment of the invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.

[0020] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0021] like Figure 1 The diagram shows a flowchart of a method for displaying a shared monthly schedule based on member color mapping according to an embodiment of this application. The method includes the following steps: S1, establishing a stable mapping from members to colors: assigning a unique color to each member, mapping it to a predefined safe color palette based on the member identifier using a hash function, wherein the safe color palette contains at least 18 colors, and each color has a predefined visual contrast; S2, generating a monthly schedule display for shared events: for a single schedule event with multiple members participating, representing it as an independent event bar in the monthly schedule interface, and dividing the event bar along its extension direction into multiple continuous color bands, wherein each color band corresponds to one participating member, and its color is determined by the stable mapping relationship described in step S1. S3. Determine the color band layout: Dynamically determine the number of color bands in the event bar based on the total number of participants in the scheduled event, and arrange the color bands according to the preset member sorting rules; S4. Adaptively adjust text display: Automatically calculate the brightness of the background color of the event bar, and dynamically select black or white as the color of the text displayed on the event bar based on the brightness value to ensure sufficient visual contrast between the text and the background; S5. Ensure display consistency: Apply the same color mapping logic in multiple display views such as the monthly view, weekly view, and desktop widget through a unified color parser and caching mechanism. The caching mechanism manages the color mapping version and sends incremental data during device synchronization to ensure color consistency across views and devices.

[0022] It should be noted that, as Figure 2The diagram shows the overall architecture of the multi-person shared monthly calendar view display method based on member color mapping provided in this application embodiment. The specific process is as follows: The first module, "Establishing a Stable Color Map," is the cornerstone of the system. It maps the unique identifier of each member to a secure color palette through a hash function, assigns an initial exclusive color to each member, and saves this mapping relationship in a versioned manner to provide color data support for subsequent processes. The second module, "Processing Calendar Events and Rendering," is the core display process. It starts by obtaining the calendar event, determines that it is a multi-person event, identifies the list of participating members, queries their corresponding colors, then divides the event bar according to the number of members and fills it with the corresponding colors in sequence, finally generating an intuitive multi-color strip event bar for display. The third module, "Optimization and Guarantee," is a real-time enhancement and adaptation layer. Before rendering, it performs conflict detection and avoidance on the event bar to ensure local readability, automatically calculates the optimal contrast between text and background, and checks the system accessibility mode to decide whether to enable texture / pattern encoding to replace the color strip or keep the original color encoding, thereby creating the final adapted monthly calendar view. The fourth module, "Cross-View / Device Consistency," serves as the global synchronization hub. When a monthly view, weekly view, or widget requests rendering, it invokes a unified color resolver. This resolver queries and compares the color mapping version number. If the version is too old, it requests and applies an incremental update; otherwise, it directly uses the local mapping. This ensures that absolutely consistent color data is returned across any terminal and view. These four modules collaborate closely through a clear data flow, forming a complete closed-loop system from data mapping, UI rendering, real-time optimization to ensuring global consistency.

[0023] In this embodiment, several pain points in the prior art are systematically addressed through five core steps. First, in step S1, a hash function based on member identifiers is used to stably map them to a secure color palette containing at least 12 high-contrast colors, assigning a unique color to each member, thus laying the foundation for color consistency from the outset. Next, in step S2, for shared events involving multiple people, the event is innovatively rendered as a single bar event in the lunar view, and this event bar is divided into multiple continuous color bands, each strictly corresponding to one member and filled with its exclusive color. This allows the composition information of participating members to be presented intuitively and without redundancy within the limited lunar view space, enabling users to quickly identify "who participated in the event" without interaction, greatly improving information acquisition efficiency.

[0024] Then, step S3 dynamically determines the number of color strips based on the total number of participating members and arranges them according to rules such as fixed order or alphabetical order, ensuring the orderliness and adaptability of the layout. Step S4 automatically calculates the background brightness of the event bar and dynamically selects the black and white text color with the highest contrast. This adaptive adjustment mechanism fundamentally ensures the clear readability of the event text on any background color, optimizing the basic user experience.

[0025] Finally, step S5 ensures that the same color mapping logic is applied across different views (monthly view, weekly view, widgets, etc.) and on different devices through a unified color parser and a caching mechanism with version management and incremental synchronization capabilities. This consistency guarantee system completely solves the "color drift" problem, ensuring that the user's established color perception remains consistent across different platforms and scenarios, significantly improving application reliability and user experience smoothness. In summary, this method, through its interconnected technical steps, not only achieves intuitive visualization of multi-person schedules but also achieves significant technological advancements in consistency, readability, and universality.

[0026] Furthermore, establishing a stable mapping from members to colors includes: color mapping, conflict detection and avoidance, and intra-session consistency maintenance. The color mapping uses the member identifier as an input parameter, calculates a hash value using a predetermined hash function, and maps the resulting hash value to a corresponding color in the safe color palette, completing the initial color allocation. The conflict detection and avoidance is used to detect the colors assigned to multiple adjacent event bars on the same screen in real time when rendering the moon view. When the visual contrast between the background colors of adjacent event bars is found to be lower than a preset threshold, a color conflict is determined. The intra-session consistency maintenance is used to initiate a conflict avoidance mechanism for conflicting colors, temporarily replacing the conflicting color with an alternative color in the safe color palette that has sufficient contrast with the adjacent color, and recording this temporary replacement relationship for the current display session to ensure that the colors of all event bars within the same screen view have high distinguishability.

[0027] It's important to note that the crucial step of "establishing a stable mapping from members to colors" is a sophisticated system comprising three sub-processes, designed to achieve global stability and local display optimization in color allocation. First, color mapping is performed: the system uses each member's unique identifier as input, calculates a hash using a predefined hash function, and maps the hash result to a corresponding color in a predefined secure color palette, completing the initial color allocation. The technical advantage of this step is that it establishes a long-term, stable, and reproducible color identity for each member, fundamentally ensuring that the same member is assigned the same color across different devices and views. This establishes a reliable foundation for color perception for users and solves the core problem of color drift.

[0028] However, even with a safe color palette that provides good global contrast, when rendering a specific moon view screen, the colors of adjacent event bars may still result in insufficient visual contrast due to accidental layout combinations. Therefore, the system performs conflict detection and avoidance: during real-time rendering of the moon view, it dynamically detects the background colors assigned to adjacent event bars within the same screen. When it detects that the visual contrast between any two events is below a preset threshold, it determines that a color conflict has occurred. The technical effect of this mechanism is that it gives the system the ability to perceive the local visual environment in real time, proactively identifying potential risk points that may affect the user's ability to quickly distinguish between events, thereby elevating the goal of color consistency from "global stability" to "local optimum."

[0029] It should be further explained that once a conflict is detected, the system immediately initiates an in-session consistency maintenance process: temporarily replacing the conflicting color with an alternative color from the safe color palette that has sufficient contrast with both the conflicting color and its surrounding colors, and limiting this replacement relationship to the current screen display session. The ultimate technical effect of this step is that, without compromising the long-term stability of the global color mapping, it ensures that all adjacent event bars on the current screen have extremely high distinguishability through intelligent, temporary local adjustments. This achieves optimal recognition in key user visual focus areas, perfectly balancing the seemingly contradictory requirements of global consistency and local readability.

[0030] Furthermore, the division of the event bar into multiple continuous color bands along its extension direction specifically includes: vertical division and horizontal division; the vertical division, along the horizontal direction of the event bar, equally or proportionally divides the event bar into multiple parallel vertical color bands, each vertical color band representing one participating member; the horizontal division, along the vertical direction of the event bar, equally or proportionally divides the event bar into multiple parallel horizontal color bands, each horizontal color band representing one participating member, wherein the width or height of each color segment is evenly distributed or distributed according to a specific proportion based on the number of participating members.

[0031] In this embodiment, when dividing a shared event schedule into multiple continuous color bands, two optional and specific physical segmentation methods are provided to adapt to different interface layouts and visual requirements. The first is vertical segmentation, which divides the event strip horizontally into multiple parallel vertical color bands, either equally or proportionally. The second is horizontal segmentation, which divides the event strip vertically into multiple parallel horizontal color bands, either equally or proportionally. These two specific implementation methods, firstly, clarify the physical implementation path of the core concept of "multi-color band encoding" from a technical perspective, preventing others from circumventing patent protection by simply changing the segmentation direction, thereby consolidating the rigor and scope of protection of the claims.

[0032] In specific segmentation, the width or height of each color band can be flexibly allocated according to the number of participating members. A uniform allocation strategy, where each member's color band occupies equal space, embodies the principle of fairness, ensuring consistent visual weight for each participant. Its technical effect is to provide a standard, unambiguous basic display mode, allowing users to quickly and intuitively judge the total number of participants through the number of color bands. A more advanced proportional allocation strategy assigns different weights to members based on their role in the event (e.g., organizer, key participant) or status (e.g., accepted, pending), thus allowing members with higher weights to occupy a larger display area. This non-uniform allocation technique is particularly effective, transcending simple information presentation by introducing the concept of information hierarchy. It proactively guides the user's visual focus, prioritizing the display of more critical participant information, thereby greatly optimizing the efficiency and intelligence of information transmission within limited display space, providing users with deeper insights. In summary, by providing a combination of two segmentation directions and two allocation strategies, this invention enables the display of multi-color band event bars to possess both basic feasibility and the flexibility to adapt to complex scenarios and enhance user experience.

[0033] Furthermore, step S2 also includes: an overflow handling mechanism for scenarios with a high number of participants, the overflow handling mechanism including overflow detection and visual prompts as well as interactive details disclosure; the overflow detection and visual prompts indicate that a threshold for the number of participating members is preset; when the number of participating members of the scheduled event exceeds the threshold, it is determined to be an overflow event, and a visual prompt is provided on the event bar to indicate that the currently displayed color band is a thumbnail view of the number of members; the interactive details disclosure indicates that an interactive response interface is provided to respond to the user's preset operation on the overflow event bar, expand a floating layer or switch to the details page to display the complete information of participating members in a list format.

[0034] In this embodiment, the overflow handling mechanism integrated in step S2 is an intelligent solution for scenarios with a high number of participants. It ensures graceful degradation of information display and complete information retrieval through two coherent sub-steps. First, the system performs overflow detection and visual cues: a threshold for the number of participants is preset (e.g., 10 people). When the number of participants in a schedule event exceeds this threshold, the system immediately determines it as an "overflow event." At this time, the system no longer attempts to cram too many indistinguishable narrow color bands into the limited event bar space, but instead provides a clear visual cue on the event bar (such as an ellipsis "..." or a special icon at the end). The direct technical effect of this step is that it acknowledges the objective limitations of physical display space. By automatically switching from a "full color band view" to a "thin-out cue view," it cleverly avoids visual clutter and complete loss of readability caused by excessively narrow color bands, thus ensuring the overall cleanliness and browsability of the monthly view interface by default.

[0035] However, the thumbnail view is not the end of the information. Therefore, the system further provides an interactive details reveal function. It pre-sets an interactive response interface (such as listening for the user's "long press" gesture on the overflow event bar). When the user performs this operation on the event bar, the system responds immediately, expanding a floating layer or directly jumping to the details page, displaying the complete details of all participating members in a clear, scrollable list format. The core technical effect of this step is the realization of the advanced interactive concept of "layered information display." It perfectly balances the contradiction between "limited interface space" and "information completeness": maintaining simplicity at the macro-level view and providing a panoramic view as needed at the micro-level interaction. This ensures both efficiency for users during daily browsing and the ability to obtain all information without loss when in-depth queries are required, greatly enhancing the application's usability and the integrity of the user experience. The entire overflow handling mechanism together forms a complete closed loop from automatic detection and graceful degradation to on-demand expansion, enabling this invention to easily handle various complex usage scenarios.

[0036] Furthermore, the specific steps for dynamically determining the number of color bands in the event bar are as follows: based on the specific attributes of each participating member in the scheduled event, assign a weight value to each member; the attributes include, but are not limited to, the organizer of the event, the acceptance status of the event, or the member's role in the group; according to the weight value, the total width or height of the event bar is non-uniformly distributed so that the color band corresponding to the member with higher weight occupies a larger display area.

[0037] In this embodiment, an intelligent weighted allocation strategy is introduced when dynamically determining the number and layout of color bands in the event bar. This strategy achieves a leap from "equal display" to "emphasized display" through two precise steps. First, the system dynamically assigns a weight value to each participating member based on their specific attributes in the event. These attributes cover key metadata of the event, such as whether the member is the organizer of the event, their acceptance status of the event (e.g., accepted, pending, rejected), or their inherent role in the group (e.g., team leader, core project member). The technical effect of this step is that it transforms abstract member identities and event states into quantifiable numerical indicators, providing precise data for subsequent visual differentiation and enabling the display logic to deeply reflect the inherent semantics of the event.

[0038] Subsequently, the system distributes the total width or height of the event bar non-uniformly based on the calculated weight values. Members with higher weight values ​​have a larger display area occupied by their corresponding color band within the event bar. The core technological effect of this step is revolutionary, upgrading color band encoding from simply identifying "who is participating" to intelligently reflecting "who is participating more importantly." For example, the color band of the event organizer will be wider, instantly attracting the user's visual focus; the color band of invited members will be wider than that of undecided members, intuitively conveying the degree of confirmation of the meeting. This weight-based non-uniform layout greatly optimizes the information density and transmission efficiency within a limited pixel space, guiding users to prioritize the most critical information. It moves beyond mechanically listing participants, providing a hierarchical and insightful visual summary, significantly improving the efficiency of schedule management and decision support capabilities.

[0039] Furthermore, the preset member sorting rules specifically include fixed order rules and alphabetical order rules; the fixed order rules sort participating members according to a predefined fixed order, which is specified by default or set by a user with management privileges; the alphabetical order rules arrange participating members in ascending or descending order according to the alphabetical or pinyin order of their names.

[0040] It's important to note that the preset member sorting rules ensure the consistency and predictability of the color band arrangement through two explicit sorting logics, enabling users to quickly form stable visual memories. The first is a fixed order rule, which sorts members according to a predefined, typically associated with a specific group (such as a family or a fixed project team). This order can be assigned by the system based on specific logic (such as creation time) or manually set by users with administrative privileges based on group habits or importance. The technical advantage lies in providing strong sorting stability and cognitive inertia for groups with stable member relationships and inherent natural or social order. For example, in a family calendar, the fixed order is "father, mother, child," allowing users to identify specific members at fixed positions on the event bar without having to search each time. This significantly reduces the user's cognitive load and improves information retrieval speed, making it particularly suitable for frequently used, close-knit, or fixed-circle scenarios.

[0041] The second method is alphabetical order, which strictly follows the alphabetical or alphabetical order of the participating members' names, arranging them in ascending or descending order. Its technical advantage lies in providing a universal, fair, and objective sorting method, independent of any subjective settings or group characteristics. This rule is particularly suitable for groups with dynamically changing members, temporary formations, or lacking clear hierarchical relationships (such as one-time project meetings or large event participation groups). It ensures the uniqueness and predictability of the sorting results, allowing any user to quickly deduce the approximate position of a specific member's color band based on common sense, thus guaranteeing the applicability and fairness of the solution in various open or dynamic scenarios. In summary, by providing two complementary rules—fixed order and alphabetical order—the sorting mechanism of this invention can satisfy the high requirements of stability and habit in close-knit circles while adapting to the needs of objectivity and universality in open environments, demonstrating its comprehensive design and wide applicability.

[0042] Furthermore, the adaptive text display adjustment also includes a user preference overriding mechanism and an accessibility mode adaptation mechanism: the user preference overriding mechanism means that, based on the automatic calculation and selection of text color, a user configuration interface is provided. The user configuration interface allows users to manually force the text color of global or specific event bars to be black or white, in order to adapt to the user's personalized visual habits or reading needs under specific ambient lighting conditions; when the user makes a manual selection, the user-specified color will be used first, and the dynamic calculation logic based on background brightness will only be restored when the user resets to automatic mode.

[0043] In this embodiment, by introducing a user preference overriding mechanism, the personalization and user-friendliness of the solution are greatly enhanced, based on the adaptive adjustment of text display. The specific steps of this mechanism are as follows: In addition to the system's automatic calculation and selection of black and white text colors based on background brightness, a user configuration interface is provided. This interface allows users to manually force the text color of all event bars (global settings) or a specific event bar to be black or white according to their subjective feelings and actual needs. The technical effect of this step is that it acknowledges the limitations of pure algorithmic automation; a single contrast calculation formula may not satisfy all users' personalized visual habits (such as some users having a special preference for white text) or cope with complex and changing ambient lighting conditions (such as users finding the automatic selection result unsatisfactory under strong light). When the user makes a manual selection through this interface, the system will follow the principle of "user intent first," prioritizing the user-specified color within the corresponding range and temporarily suspending the automatic calculation logic. The key technical effect of this design is that it achieves a delicate balance between automation and user control, partially returning the final readability decision-making power to the user, reflecting respect for the user's subjective experience. The system will only resume dynamic calculation based on background brightness when the user actively resets the settings to "automatic mode". Therefore, the overall effect of this mechanism is to significantly improve the adaptability and flexibility of the technical solution under different user preferences and special scenarios, upgrading from "what the machine thinks is best" to "what the user feels is most comfortable" display effect, thereby enhancing user satisfaction and sense of control over the application.

[0044] Furthermore, the specific steps of the accessibility mode adaptation mechanism are as follows: continuously monitor whether system-level color assistance functions are enabled, including but not limited to color blind mode, color weak mode, or grayscale display mode; when such a mode is detected to be activated, an encoding replacement process is automatically triggered, specifically: maintain the logic of automatically selecting black and white text colors based on background brightness to ensure basic readability; replace the color codes of the color strips used to distinguish different members in the event bar with a predefined set of highly distinguishable texture or pattern codes, while keeping the arrangement order and meaning of the color strips unchanged, so as to ensure that the composition information of participating members can still be effectively distinguished and identified through visual texture in the event of color information distortion or loss.

[0045] In this embodiment, the system first continuously monitors in the background whether the operating system-level color assistance function is enabled, comprehensively covering color blindness modes (such as red-blindness and green-blindness), color weakness modes, and grayscale display modes. The technical effect of this continuous monitoring step is that it enables the system to proactively perceive changes in the user's visual environment or physiological characteristics, rather than passively waiting for user configuration, thus providing a prerequisite for subsequent intelligent adaptation. Once any of the above modes is detected as activated, the system immediately and automatically triggers a sophisticated encoding replacement process. This process first maintains the logic of automatically selecting black and white text colors based on background brightness. This ensures that the most important text information on the event bar (such as the schedule title) maintains basic readability under any circumstances, which is the bottom line guarantee of information accessibility. Next, the process performs the core operation: seamlessly replacing the color-coded stripes in the event bar that originally relied on color to distinguish different members with a predefined set of highly distinguishable textures (such as diagonal lines, dot matrix, and grid) or pattern codes, while strictly maintaining the arrangement order of the color stripes and the correspondence between members. This second step is the essence of the invention's enhanced accessibility, and its technical effect is revolutionary: it means that even if color information is completely distorted or missing (e.g., on a black-and-white printout or for colorblind users), the core function of this invention—rapidly identifying participant composition—not only does not fail, but can be completely and accurately transmitted through a color-independent visual channel (texture / pattern). This ensures that colorblind, color-weak, or special display environments can obtain complete schedule information without difference from ordinary users, thereby extending the applicability of the technology from "most users" to "all users," reflecting profound humanistic care and technological foresight, and significantly enhancing the product's inclusive value.

[0046] Furthermore, the color parser is specifically configured to perform the following operations: During the rendering process of the monthly view, weekly view, and desktop widget view, the same color parser instance is invoked. This instance uses the exact same hash function algorithm and the same secure color palette data source to perform color calculations, eliminating color allocation differences caused by view switching or different display carriers at the source; a version identifier is introduced, which is strongly associated with the version number of the global member list; when data synchronization is performed between devices, the consistency of the version identifier is first compared, and based on this identifier, the color mapping logic is ensured to be executed synchronously in a distributed environment, so that the same member is resolved to an absolutely consistent color on different terminal devices.

[0047] In this embodiment, a robust global color consistency guarantee system is constructed through meticulous design on two levels. First, within a single device, the resolver is designed to forcibly call the same color resolver instance during the rendering process of all views, including the monthly view, weekly view, and desktop widgets. This instance strictly uses the exact same hash function algorithm and the same secure color palette data source for all color calculations. The key technical effect of this step is that it implements the "single data source" principle at the code and resource levels, completely eliminating color allocation differences caused by independent initialization or the use of different computing resources by different view modules. This ensures that the color identity of members remains absolutely stable when users switch between different views on the same device, solving the problem of color drift across views.

[0048] It's important to explain that, to extend this consistency to a distributed environment across devices, the system introduces a second core mechanism: a versioned identifier strongly associated with the global member list version number. When different devices (such as a user's phone and computer) synchronize data, the synchronization logic first rigorously compares whether the versioned identifiers corresponding to the color mapping rules on both sides are consistent. The technical effect of this design is fundamental: it strictly binds the synchronization of color mapping rules to changes in the member data itself. Only when the member list changes (such as adding or deleting members) causing the version number to update, will the color mapping rules be synchronized and updated. This ensures that all networked devices always perform color resolution based on the same set of "rule snapshots," thus ensuring that the same member is resolved to an absolutely consistent color on any terminal device. This fundamentally eliminates cross-device color drift, establishing a seamless and reliable color recognition experience for users, and greatly enhancing the consistency and trust in cross-platform use.

[0049] Furthermore, the color parser and caching mechanism specifically include: persistently storing the version history of color mapping rules on the server side; when client devices synchronize, the server compares the local version of the device with the latest version and only sends the incremental update of the color mapping, rather than the full data, thereby optimizing network transmission efficiency and reducing client processing overhead; when the color parser runs on the client, it monitors the current network status and computing load of the device in real time; and dynamically adjusts the execution priority of the color parsing task and the allocation of system resources based on the monitoring results.

[0050] In this embodiment, through meticulous optimization on both the server and client sides, the efficient and stable operation of the color consistency function is jointly ensured. On the server side, this mechanism persistently stores the entire version history of the color mapping rules. When a client device initiates a synchronization request, the server does not simply send the latest rules, but intelligently compares the version number stored locally on the client with the latest version number on the server, and only sends the client "incremental update" data packets that have changed since its local version. The core technical effect of this step is that it greatly optimizes network data transmission efficiency, avoiding the redundant traffic consumption caused by transmitting the complete color mapping table with each synchronization; at the same time, the client only needs to process a small amount of incremental data, which also significantly reduces its computing and storage overhead. This is crucial for mobile devices with limited power and bandwidth resources, demonstrating the efficiency of the solution in cloud-based collaborative design.

[0051] When the client device is running, the color parser does not blindly execute tasks, but rather monitors the device's current network status (such as Wi-Fi or cellular network) and CPU computing load in real time. Based on the monitored real-time system resource status, the color parser dynamically adjusts the execution priority of its color parsing tasks and system resource allocation strategies. For example, when network bandwidth is narrow or the CPU is heavily loaded with other tasks, the parser will appropriately reduce the priority of its own tasks, suspending or delaying non-critical color calculations. The technical effect of this client-side dynamic scheduling mechanism is that it ensures that the enhanced feature of color consistency will not become a bottleneck that slows down the overall application interface response speed or excessively consumes system resources. Through intelligent resource adaptation, this mechanism guarantees the overall smoothness and responsiveness of the user interface. Even under conditions of insufficient device performance or poor network conditions, it can prioritize the interactivity of core operations, thereby maintaining a good basic user experience while achieving advanced functions, making the technical solution both functionally advanced and practically deployable.

[0052] It should be added that, such as Figure 3The diagram shows the flowchart for ensuring and optimizing color consistency in a multi-user shared monthly calendar view display method based on member color mapping provided in this application embodiment. The specific process is as follows: First, the system enters the "Core Mapping and Conflict Avoidance" module: The system inputs a unique member identifier, calculates it using a hash function, and maps it to a predefined safe color palette, thus providing each member with an initial, globally stable color. Next, the system does not directly use this color but introduces a crucial intelligent decision point: real-time judgment of whether the color contrast of adjacent event bars is insufficient. If the contrast is sufficient, the initial color is maintained; if insufficient, a conflict avoidance mechanism is activated, temporarily selecting a higher-contrast alternative color for the session and recording this temporary relationship. This step ensures optimal color distinguishability in local visual areas while maintaining global color stability. Simultaneously, the "Color Parser and Caching Mechanism" module on the left side of the process operates in parallel, providing system-level guarantees for color consistency. The color parser eliminates inconsistencies in color calculation at the source by calling the same instance and using the same hash function and safe color palette in all scenarios. It also generates a versioned identifier bound to the global member list version, which is key to achieving cross-device synchronization. The caching mechanism stores the version history of color mappings on the server side. When the client synchronizes, it compares the version numbers and only sends incremental updates, greatly improving efficiency. Finally, when the color parser runs on the client, it monitors device performance (network and CPU load) in real time and dynamically adjusts the priority of parsing tasks, thus ensuring global color consistency while also taking into account the application's high performance and smoothness.

[0053] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0054] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0055] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0056] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0057] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the invention.

[0058] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A method for displaying a shared monthly calendar view based on member color mapping, characterized in that, Includes the following steps: S1. Establish a stable mapping from members to colors: Assign a unique color to each member and map it to a predefined safe color palette based on the member identifier through a hash function. The safe color palette contains at least 18 colors and each color has a predefined visual contrast. S2. Generate a monthly view display of a shared schedule for multiple people: For a single schedule event with multiple participants, it is represented as an independent event bar in the monthly view interface, and the event bar is divided into multiple continuous color bands along its extension direction. Each color band corresponds to one participating member, and its color is determined by the stable mapping relationship described in step S1. S3. Determine the color strip layout: Based on the total number of participants in the scheduled event, dynamically determine the number of color strips in the event bar, and arrange the color strips according to the preset member sorting rules; S4. Adaptive adjustment of text display: Automatically calculate the brightness of the background color of the event bar, and dynamically select black or white as the color of the text displayed on the event bar based on the brightness value to ensure sufficient visual contrast between the text and the background; S5. Ensure display consistency: Through a unified color parser and caching mechanism, the same color mapping logic is applied in multiple display views such as the monthly view, weekly view, and desktop widget. The caching mechanism manages the color mapping version and sends incremental data during device synchronization to ensure color consistency across views and devices.

2. The method for displaying a shared monthly calendar view based on member color mapping as described in claim 1, characterized in that, The establishment of a stable mapping from members to colors includes: color mapping, conflict detection and avoidance, and intra-session consistency maintenance; The color mapping is used to calculate the hash value by using the member identifier as an input parameter and a predetermined hash function, and then mapping the resulting hash value to a corresponding color in the secure color palette to complete the initial color allocation. The conflict detection and avoidance are used to detect the colors assigned to multiple adjacent event bars on the same screen in real time when rendering the moon view; when the visual contrast between the background colors of adjacent event bars is found to be lower than a preset threshold, it is determined that a color conflict has occurred. The session consistency maintenance is used to initiate a conflict avoidance mechanism for conflicting colors, temporarily replacing the conflicting color with an alternative color in the safe color palette that has sufficient contrast with the adjacent color, and recording the temporary replacement relationship for the current display session to ensure that the colors of all event bars within the same screen view have high distinguishability.

3. The method for displaying a shared monthly calendar view based on member color mapping as described in claim 1, characterized in that, The event bar is divided into multiple continuous color bands along its extension direction, specifically including: vertical division and horizontal division; The vertical segmentation, along the horizontal direction of the event bar, divides the event bar into multiple parallel vertical color bands, each vertical color band representing a participating member. The horizontal segmentation, along the vertical direction of the event bar, divides the event bar into multiple parallel horizontal color bands, each representing a participating member. The width or height of each color band is evenly distributed or distributed according to a specific ratio based on the number of participating members.

4. The method for displaying a shared monthly calendar view based on member color mapping as described in claim 1, characterized in that, Step S2 further includes: An overflow handling mechanism for scenarios with a high number of participants includes overflow detection and visual prompts, as well as interactive details disclosure; The overflow detection and visual cue represent a preset threshold for the number of participating members; when the number of participating members in the scheduled event exceeds the threshold, it is determined to be an overflow event, and a visual cue is provided on the event bar to indicate that the currently displayed color band is a thumbnail view of the number of members; The interactive details display indicates that an interactive response interface is provided to respond to the user's preset operation on the overflow event bar, expand a floating layer or switch to the details page to display complete information of participating members in a list format.

5. The method for displaying a shared monthly calendar view based on member color mapping as described in claim 1, characterized in that, The specific steps for dynamically determining the number of color bands in the event bar are as follows: Each participating member is assigned a weight value based on their specific attributes in the scheduled event; these attributes include, but are not limited to, the event organizer, the event acceptance status, or the member's role in the group. Based on the weight values, the total width or height of the event bar is non-uniformly distributed, so that the color bands corresponding to members with higher weights occupy a larger display area.

6. The method for displaying a shared monthly calendar view based on member color mapping as described in claim 1, characterized in that, The preset member sorting rules specifically include fixed order rules and alphabetical order rules; The fixed order rule sorts participating members according to a predefined fixed order, which is specified by default or set by a user with management privileges. The alphabetical order rule is to arrange the participating members' names in ascending or descending order based on the alphabetical or pinyin order.

7. The method for displaying a shared monthly calendar view based on member color mapping as described in claim 1, characterized in that, The adaptive text display adjustment also includes a user preference overwrite mechanism and an accessibility mode adaptation mechanism: The user preference overwrite mechanism means that, based on the automatic calculation and selection of text color, a user configuration interface is provided. The user configuration interface allows users to manually force the text color of global or specific event bars to be black or white, in order to adapt to the user's personalized visual habits or reading needs under specific ambient lighting conditions. When the user makes a manual selection, the user-specified color will be used first, and the dynamic calculation logic based on background brightness will only be restored when the user resets to automatic mode.

8. The method for displaying a shared monthly calendar based on member color mapping as described in claim 1, characterized in that, The specific steps of the accessibility pattern adaptation mechanism are as follows: Continuously monitor whether system-level color assistance functions are enabled, including but not limited to color blind mode, color weak mode, or grayscale display mode; When such a pattern is detected to be activated, an automatic code replacement process is triggered, specifically: Maintain the logic of automatically selecting black and white text colors based on background brightness to ensure basic readability; Replace the color codes of the color bands used to distinguish different members in the event bar with a predefined set of highly distinguishable texture or pattern codes, while keeping the arrangement order and meaning of the color bands unchanged, so as to ensure that the composition information of the participating members can still be effectively distinguished and identified through visual texture even if the color information is distorted or missing.

9. The method for displaying a shared monthly calendar view based on member color mapping as described in claim 1, characterized in that, The color parser is specifically configured to perform the following operations: During the rendering of the month view, week view, and desktop widget view, the same color resolver instance is called. This instance uses the exact same hash function algorithm and the same secure color palette data source to perform color calculations, eliminating color allocation differences caused by view switching or different display media from the root. A version identifier is introduced, which is strongly associated with the version number of the global member list. When data is synchronized between devices, the consistency of the version identifier is first compared, and based on this identifier, the color mapping logic is ensured to be executed synchronously in the distributed environment, so that the same member is resolved to an absolutely consistent color on different terminal devices.

10. The method for displaying a shared monthly calendar based on member color mapping as described in claim 1, characterized in that, The color parser and caching mechanism specifically include: The server persistently stores the version history of color mapping rules. When client devices synchronize, the server compares the local version of the device with the latest version and only sends the incremental update of the color mapping, instead of the full data, thereby optimizing network transmission efficiency and reducing client processing overhead. When the color parser is running on the client, it monitors the device's current network status and computing load in real time; and dynamically adjusts the execution priority of the color parsing task and the allocation of system resources based on the monitoring results.

Citation Information

Patent Citations

  • Calendar view switching method and system as well as intelligent mobile terminal

    CN105930082A

  • Calendar display method, calendar display device and readable storage medium

    CN111949185A

  • Event schedule counting and displaying method based on graphic color filling

    CN107861787A

  • Calendar view display method and device, storage medium and electronic equipment

    CN117635093A

  • Schedule display method and device

    CN117873356A