CN117635093A - Calendar view display method and device, storage medium and electronic equipment - Google Patents
Calendar view display method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN117635093A CN117635093A CN202311587037.4A CN202311587037A CN117635093A CN 117635093 A CN117635093 A CN 117635093A CN 202311587037 A CN202311587037 A CN 202311587037A CN 117635093 A CN117635093 A CN 117635093A
- Authority
- CN
- China
- Prior art keywords
- color
- schedule
- sequence
- target
- colors
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 239000003086 colorant Substances 0.000 claims abstract description 145
- 230000004044 response Effects 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 20
- 230000000694 effects Effects 0.000 description 14
- 230000008859 change Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 239000003999 initiator Substances 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000001228 spectrum Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000001795 light effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/109—Time management, e.g. calendars, reminders, meetings or time accounting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Human Computer Interaction (AREA)
- Entrepreneurship & Innovation (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The disclosure provides a calendar view display method, a calendar view display device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: acquiring a plurality of schedule objects, time information of each schedule object and a multicolor sequence; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the plurality of target colors; according to the time information of each schedule object, determining a display color for each schedule object in turn according to the preset color sequence of a plurality of target colors; and displaying the schedule objects on the calendar view by using the display colors of the schedule objects. According to the method, each schedule object can be rapidly distributed to one target color in the multicolor sequence for display, the arrangement color of the schedule objects in the calendar view can be controlled through the arrangement sequence of the colors in the multicolor sequence, the display mode of the calendar view is enriched, each schedule object is extremely easy to distinguish, and a user can conveniently view and rapidly find a required schedule.
Description
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a calendar view display method and device, a storage medium and electronic equipment.
Background
With the development of computer technology, intelligent devices and intelligent application programs installed on the intelligent devices have been widely developed and applied, for example, intelligent application programs with schedule management function bring great convenience to people's life.
In the related art, the calendar composition list is usually displayed, so that the display style is single, and when the user uses the calendar composition list, the user needs to check one by one and is difficult to record the checked calendar, so that the efficiency of using the calendar management function by the user is lower.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The invention aims to provide a calendar view display method, a calendar view display device, electronic equipment and a storage medium, which can be used for rapidly distributing each schedule object to one target color in a multicolor sequence for display, and can control arrangement color of the schedule objects in the calendar view through arrangement sequence of the colors in the multicolor sequence, so that the display mode of the calendar view is enriched.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided a calendar view display method including: acquiring a plurality of schedule objects, time information of each schedule object and a multicolor sequence; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the plurality of target colors; according to the time information of each schedule object, determining a display color for each schedule object in turn according to the preset color sequence of a plurality of target colors; and displaying the schedule objects on the calendar view by using the display colors of the schedule objects.
In one embodiment of the present disclosure, the number of the plurality of target colors is M; according to the time information of each schedule object, determining a display color for each schedule object in turn according to a preset color sequence of a plurality of target colors, including: sequencing the schedule objects according to the time information of the schedule objects from first to last to obtain a schedule sequence; determining the Kth target color in the multicolor sequence as the display color of the (K+nM) th schedule object in the schedule sequence; wherein n is a natural number; k is a positive integer less than or equal to M.
In one embodiment of the present disclosure, according to time information of each schedule object, determining a display color for each schedule object in turn according to a preset color sequence of a plurality of target colors includes: acquiring importance levels of all schedule objects, and determining the schedule objects with the importance levels meeting important conditions as important schedule objects; acquiring creation information of an important schedule object, if the creation information comprises a designated color, determining the important schedule object as a first schedule object, and determining schedule objects except the first schedule object in a plurality of schedule objects as second schedule objects; according to the time information of each second schedule object, determining a display color for each second schedule object in turn according to the preset color sequence of a plurality of target colors; and determining the designated color of the first schedule object as the display color of the first schedule object.
In one embodiment of the present disclosure, before acquiring the multi-color sequence, the calendar view presentation method further comprises: determining a plurality of target colors from the color set; based on the wavelength parameters of the visible light corresponding to each target color, the sequence from the large to the small of the wavelength parameters or the sequence from the small to the large of the wavelength parameters is used as a preset color sequence of a plurality of target colors; a multicolor sequence is generated based on the plurality of target colors and a preset color sequence of the plurality of target colors.
In one embodiment of the present disclosure, obtaining a plurality of calendar objects, time information of each calendar object, and a multicolor sequence includes: receiving a calendar view display request; determining a target time period and a target user according to the calendar view display request; acquiring time information of a plurality of schedule objects in a target time period and each schedule object; and acquiring a color configuration strategy of the target user, and acquiring a multicolor sequence under the condition that the color matching type in the color configuration strategy is a multicolor type.
In one embodiment of the present disclosure, the calendar view display method further includes: under the condition that the color matching type in the color configuration strategy is a single color type, acquiring a target single color from the color configuration strategy of a target user; the target single color is determined as the display color of each schedule object.
In one embodiment of the present disclosure, before acquiring the color configuration policy of the target user, the calendar view display method further includes: displaying a color configuration page; the color configuration page comprises a color matching type selection control, wherein the color matching type selection control comprises a multicolor option and a monochromatic option; responding to the triggering operation of the target user for the multicolor options, and recording the color matching type as a multicolor type in the color configuration strategy of the target user; responding to the triggering operation of the target user for the monochromatic option, recording the color matching type as the monochromatic type in the color configuration strategy of the target user, and displaying the color selection control; determining a target single color in response to a color selection operation for the color selection control; and storing the target single color into a color configuration strategy of a target user.
According to another aspect of the present disclosure, there is provided a calendar view display device including: the acquisition module is used for acquiring a plurality of schedule objects, time information of each schedule object and multicolor sequences; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the plurality of target colors; the determining module is used for determining display colors for each schedule object according to the time information of each schedule object and the preset color sequence of a plurality of target colors; and the display module is used for displaying each schedule object on the calendar view by using the display color of each schedule object.
According to yet another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the calendar view presentation method described above.
According to still another aspect of the present disclosure, there is provided an electronic apparatus including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the calendar view presentation method described above via execution of the executable instructions.
According to the calendar view display method provided by the embodiment of the disclosure, according to the acquired time information and multicolor sequences of a plurality of schedule objects, each schedule object, display colors are sequentially determined for each schedule object according to the preset color sequence of a plurality of target colors in the multicolor sequences, and each schedule object is displayed on the calendar view by using the display colors of each schedule object. On one hand, according to the scheme, each schedule object can be rapidly distributed to one target color in the multicolor sequence for display; on the other hand, the display colors presented by schedule objects arranged according to time can be continuously arranged according to the preset color sequence of the target colors in the multicolor sequence, namely, the arrangement colors of the schedule objects in the calendar view can be controlled through the arrangement sequence of the colors in the multicolor sequence, the display mode of the calendar view is enriched, each schedule object is easy to distinguish, and a user can conveniently check and quickly find a required schedule.
Further, when the colors in the multicolor sequence have regularity, the target colors in the multicolor sequence may be sequentially and cyclically assigned to the respective schedule objects in the schedule sequence. Therefore, when a plurality of schedule objects distributed with display colors are arranged on the calendar view according to the time information, the effect of regular change of color gradual change can be displayed, each schedule is easy to distinguish, and the convenience of checking the schedule is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which calendar view presentation methods of embodiments of the present disclosure may be applied;
FIG. 2 illustrates a flow chart of a calendar view presentation method of one embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of a calendar view being a day view in a calendar view display method of an embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a calendar view being a week view in a calendar view display method of an embodiment of the present disclosure;
FIG. 5 illustrates a system diagram of a calendar view presentation method to which an embodiment of the present disclosure may be applied;
FIG. 6 is a diagram showing a data use case structure of a calendar view showing method according to an embodiment of the present disclosure;
FIG. 7 illustrates an interactive schematic diagram of preserving color configuration policies in a calendar view presentation method of one embodiment of the present disclosure;
FIG. 8 illustrates an interactive schematic diagram of determining a display color of a calendar object in a calendar view display method according to one embodiment of the present disclosure;
FIG. 9 illustrates a block diagram of a calendar view display device of one embodiment of the present disclosure; and
fig. 10 shows a block diagram of a calendar view presentation computer device in an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present disclosure, the meaning of "a plurality" is at least two, such as two, three, etc., unless explicitly specified otherwise.
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which calendar view presentation methods of embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture may include a server 101, a network 102, and a client 103. Network 102 is the medium used to provide communication links between clients 103 and server 101. Network 102 may include various connection types such as wired, wireless communication links, or fiber optic cables, among others.
In an exemplary embodiment, the client 103 in data transmission with the server 101 may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an AR (Augmented Reality) device, a VR (Virtual Reality) device, a smart wearable device, and the like. Alternatively, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, a linux system, a windows system, and the like.
The server 101 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligent platforms, and the like. In some practical applications, the server 101 may also be a server of a network platform, and the network platform may be, for example, a transaction platform, a live broadcast platform, a social platform, or a music platform, which is not limited in the embodiments of the present disclosure. The server may be one server or may be a cluster formed by a plurality of servers, and the specific architecture of the server is not limited in this disclosure.
In an exemplary embodiment, the user may operate on the client 103, and send a calendar view display request to the server 101 through the client 103, where the calendar view display request may carry information requested by the user; upon receiving the calendar view presentation request, the server 101 may perform the calendar view presentation method provided by the present disclosure in response to the calendar view presentation request.
In an exemplary embodiment, the process by which the server 101 and the client 103 together implement the calendar view presentation method may be: the server 101 acquires a plurality of schedule objects, time information of each schedule object, and a multicolor sequence; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the plurality of target colors; the server 101 sequentially determines a display color for each schedule object according to the time information of each schedule object and the preset color sequence of a plurality of target colors; the client 103 displays each calendar object on the calendar view using the display color of each calendar object.
In addition, it should be noted that, fig. 1 is only one application environment of the calendar view display method provided in the present disclosure. The number of servers 101, networks 102, and clients 103 in FIG. 1 is merely illustrative, and any number of clients, networks, and servers may be provided as desired.
In order for those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the steps of the calendar view display method in the exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings and embodiments.
FIG. 2 illustrates a flow chart of a calendar view presentation method of one embodiment of the present disclosure. The method provided by the embodiments of the present disclosure may be performed by the server 101 or the client 103 as shown in fig. 1, but the present disclosure is not limited thereto.
In the following explanation, the server 101 is exemplified as an execution subject.
As shown in fig. 2, the calendar view display method provided by the embodiment of the present disclosure may include the following steps.
Step S201, obtaining a plurality of schedule objects, time information of each schedule object and a multicolor sequence; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the plurality of target colors.
In this step, the schedule object may be a schedule and a schedule for a certain time node or a certain period of time, for example, may be a meeting schedule, a scheduling schedule, or the like. The calendar object may be created by a user using the calendar application (e.g., specify a 14 to 15 meeting at day 31 of 8, 2023) or may be generated based on the production item (e.g., report the item every monday morning of 7 to 12, 2023). The time information of the schedule object may be a start time and an end time of the schedule object, or may include only the start time of the schedule object. The multicolor sequence can be preconfigured by an administrator user of the schedule application, or can be configured by different users based on respective requirements.
In some embodiments, before "acquire multicolor sequence" in step S201, the calendar view presentation method may further include: determining a plurality of target colors from the color set; based on the wavelength parameters of the visible light corresponding to each target color, the sequence from the large to the small of the wavelength parameters or the sequence from the small to the large of the wavelength parameters is used as a preset color sequence of a plurality of target colors; a multicolor sequence is generated based on the plurality of target colors and a preset color sequence of the plurality of target colors.
In this embodiment, the process of determining a plurality of target colors from the color set may specifically be: a plurality of target hues are determined, colors are selected under the target hues, and then the selected colors are used as a plurality of target colors. Specifically, a plurality of target hues may be determined first, at least one color belonging to the target hues may be selected from a color set for each target hue, and then the plurality of target colors may be determined based on the colors selected for all target hues.
Wherein, the target hue may be determined according to an optional hue provided by the calendar application, and the optional hue may include, for example: red (Red), orange (Orange), yellow (Yellow), yellow-Green (Green Yellow), green (Green), blue-Green (Blue Green), blue (Blue), violet (Violet), violet (purpe), magenta (Magenta), etc.; the target hue may be one or more of them.
For example, the target hues may be red, orange, and yellow, then at least one color may be taken down each of these three colors to make up a plurality of target colors; for another example, the target hue may be red, and then multiple colors may be selected under the red hue to make up multiple target colors. The color selection may be performed by selecting colors with different attributes, such as colors with different brightness or colors with different saturation.
In this embodiment, since the target colors are arranged according to the wavelength parameters, the selected target colors may be formed into a multi-color sequence having a rainbow characteristic, and each two adjacent colors of the multi-color sequence are similar, so that a gradient effect may be achieved. In some practical applications, the target colors may be arranged according to the arrangement order of the monochromatic light in the spectrum data, so as to obtain a polychromatic sequence. The multicolor sequence obtained in the practical application can also have rainbow characteristics and gradual change effect.
In some embodiments, if the plurality of target colors are colors with different brightness in the same hue, the brightness of the plurality of target colors may be in the order from high to low or from low to high as the preset color order. The multicolor sequence obtained in the embodiment can also have regular color change and has gradual change effect.
Step S203, according to the time information of each schedule object, the display color is determined for each schedule object in turn according to the preset color sequence of a plurality of target colors.
In this step, a target color may be sequentially allocated to each calendar object according to a preset color sequence of a plurality of target colors in the multicolor sequence, so as to be used as a display color of the calendar object in the calendar view. Through the step, each schedule object can be distributed to a target color for display, and the display colors presented by schedule objects arranged according to time can be continuously arranged according to a preset color sequence.
In some embodiments, the number of the plurality of target colors is M; according to the time information of each schedule object, determining a display color for each schedule object in turn according to a preset color sequence of a plurality of target colors, including: sequencing the schedule objects according to the time information of the schedule objects from first to last to obtain a schedule sequence; determining the Kth target color in the multicolor sequence as the display color of the (K+nM) th schedule object in the schedule sequence; wherein n is a natural number; k is a positive integer less than or equal to M.
In this embodiment, the schedule objects may be ordered according to the order of the start time of the schedule objects from first to last, so as to obtain a schedule sequence. Further, the maximum value of the (k+nm) value is the number of schedule objects, that is, the number of schedule objects can limit the values of K and n. For example, if M is 7 and the number of schedule objects is 3, the value of n is 0, and the value of k may be 1,2 or 3. The 1 st color in the multi-color sequence may be assigned to the 1 st calendar object in the calendar sequence, the 2 nd color in the multi-color sequence may be assigned to the 2 nd calendar object in the calendar sequence, and the 3 rd color in the multi-color sequence may be assigned to the 3 rd calendar object in the calendar sequence.
For another example, if M is 7 and the number of schedule objects is 11, n may take on a value of 0 or 1; wherein, when n takes 0, the value of K can be an integer from 1 to 7, and when n takes 1, the value of K can be an integer from 1 to 4. The 1 st to 7 th colors in the multicolor sequence can be respectively assigned to the 1 st to 7 th schedule objects in the schedule sequence, and the 1 st to 4 th colors in the multicolor sequence can be respectively assigned to the 8 th to 11 th schedule objects in the schedule sequence.
For example, there are 3 colors [ red, yellow, black ] in a multi-color sequence, and 6 calendar objects in a calendar sequence: [1,2,3,4,5,6], then by this embodiment, the following presentation colors can be assigned to the respective schedule objects: the display color of the schedule object 1 is "red", the display color of the schedule object 2 is "yellow", the display color of the schedule object 3 is "black", the display color of the schedule object 4 is "red", the display color of the schedule object 5 is "yellow", and the display color of the schedule object 6 is "black".
In some practical applications, assuming that the List of polychromatic sequences is List < String > list= [ "#ff0000", "#ff4500",.+ -.), the size of the polychromatic sequence List may be calculated first, size=list getsize (); then traversing the schedule sequence, carrying out color matching and value selection on each schedule object in the schedule sequence based on the subscript of the elements in the schedule sequence, specifically, aiming at the first element (schedule object) in the schedule sequence, performing list. Get (i++), namely, distributing the element (namely, sequencing the first target color) with the subscript of 0 in the multicolor sequence list to the first schedule object in the schedule sequence, and carrying out +1 operation on i to enable the value of the current i to be 1; next, for the second element in the schedule sequence, current i=1, performing list. Get (i++), that is, assigning the element with the index of 1 in the multicolor sequence list (i.e. ordering the target color of the second) to the second schedule object in the schedule sequence, and performing +1 operation on i to make the value of current i be 2; … … and so on, colors in a multi-color sequence are assigned to calendar objects in a calendar sequence in turn.
In addition, after each +1 operation is performed on i, it may be further determined whether i reaches the size value, if so, it means that the last target color in the polychromatic sequence has been used up, and the target colors in the polychromatic sequence have been allocated for one round, so for the purpose of recycling the polychromatic sequence, when i=size is determined, i may be assigned to 0 again, that is, i=0 may be set so that the current schedule object (the size+1 elements) is allocated again from the first target color in the polychromatic sequence.
By the embodiment, the target colors in the multicolor sequence can be sequentially and circularly distributed to each schedule object in the schedule sequence. Therefore, the display colors corresponding to the schedule objects distributed according to time have rainbow characteristics and gradual change effects, and when the schedule objects distributed with the display colors are distributed on the calendar view according to the time information, the gradual change effect of the colors can be displayed.
Step S205, each calendar object is displayed on the calendar view using the display color of each calendar object.
In this step, the calendar view may include views of different styles such as a day view, a month view, a week view, and the like, and the display positions of the respective calendar objects on the calendar view may be determined according to the time information of the calendar objects, and the respective calendar objects may be displayed at the respective display positions using their display colors.
FIG. 3 shows a schematic diagram of a calendar view being a daily view in a calendar view display method according to an embodiment of the present disclosure, as shown in FIG. 3, including a daily view 301, in which meeting 1, meeting 2, meeting 3, and meeting 4 are displayed in the daily view 301; wherein the conferences 1-4 are arranged according to their respective conference start times, and the conferences 1-4 are displayed using the target colors 1-4, respectively. Therefore, in the embodiment, the conferences 1-4 have a gradual color effect, so that the arrangement of the exhibition controls of the conferences 1-4 is regular, each conference is easy to distinguish, and the convenience of checking the conference schedule is improved.
FIG. 4 shows a schematic diagram of a calendar view being a week view in a calendar view display method according to one embodiment of the present disclosure, as shown in FIG. 4, including a week view 401, in which meetings 1-4 of Monday, meeting 5 of Tuesday, meeting 6-7 of Tuesday, meeting 8 of Tuesday, meeting 9 of Tuesday, and strokes 10-11 of Saturday are displayed in the week view 401; wherein conferences 1-9 and trips 10-11 are arranged on the peripheral view according to respective time information.
In this embodiment, the multicolor sequence includes target colors 1 to 5 arranged in sequence, and then the multicolor sequence is applied to the week view in this embodiment, the target colors 1 to 5 may be respectively assigned to conferences 1 to 5 as display colors of schedule objects of each conference, then the target colors 1 to 5 are respectively assigned to conferences 6 to 9 and a trip 10 as display colors of schedule objects, and finally the target color 1 is assigned to a trip 11 as display color thereof. It can be seen that in this embodiment, conferences 1 to 9 and strokes 10 to 11 have gradual color effects, and the arrangement of these schedule display controls appears to be regular, so that each schedule can be easily distinguished, and the convenience in viewing schedules is improved.
According to the calendar view display method, display colors can be determined for each calendar object in sequence according to the acquired time information and multicolor sequences of a plurality of calendar objects and a plurality of target colors in the multicolor sequences, and each calendar object is displayed on the calendar view by using the display colors of each calendar object. On one hand, according to the scheme, each schedule object can be rapidly distributed to one target color in the multicolor sequence for display; on the other hand, the display colors presented by schedule objects arranged according to time can be continuously arranged according to the preset color sequence of the target colors in the multicolor sequence, namely, the arrangement colors of the schedule objects in the calendar view can be controlled through the arrangement sequence of the colors in the multicolor sequence, the display mode of the calendar view is enriched, each schedule object is easy to distinguish, and a user can conveniently check and quickly find a required schedule.
Further, when the colors in the multicolor sequence have regularity, the target colors in the multicolor sequence may be sequentially and cyclically assigned to the respective schedule objects in the schedule sequence. Therefore, when a plurality of schedule objects distributed with display colors are arranged on the calendar view according to the time information, the effect of regular change of color gradual change can be displayed, each schedule is easy to distinguish, and the convenience of checking the schedule is improved.
In some embodiments, step S203 may include: acquiring importance levels of all schedule objects, and determining the schedule objects with the importance levels meeting important conditions as important schedule objects; acquiring creation information of an important schedule object, if the creation information comprises a designated color, determining the important schedule object as a first schedule object, and determining schedule objects except the first schedule object in a plurality of schedule objects as second schedule objects; according to the time information of each second schedule object, determining a display color for each second schedule object in turn according to the preset color sequence of a plurality of target colors; and determining the designated color of the first schedule object as the display color of the first schedule object.
In this embodiment, the importance level of the schedule object may be configured by the creator of the schedule object, in some practical applications, different schedule creation authorities may be set for different users, where the schedule creation authorities indicate whether the users have authorities to create the schedule object meeting the importance condition, if so, the users may choose to create an important schedule object, and the users may further configure a designated color in the creation information to be used as the display color of the schedule object when creating the schedule object.
In this embodiment, the second schedule object includes schedule objects that are non-important schedule objects, and schedule objects that do not have a specified color, for which colors may be assigned based on a multicolor sequence, and for the first schedule object that has a specified color, a corresponding specified color may be used for presentation. In some practical applications, the designated color may be a color different from the target color in the multicolor sequence, for example, may be some highlight color (such as bright yellow, bright green, etc.), and may also have a dynamic display effect (such as dynamic light effect, etc.). Important schedule objects with highlight colors or dynamic display effects can have outstanding display effects on a calendar view, so that a user can conveniently identify the important schedule objects.
In some embodiments, step S201 may include: receiving a calendar view display request; determining a target time period and a target user according to the calendar view display request; acquiring time information of a plurality of schedule objects in a target time period and each schedule object; and acquiring a color configuration strategy of the target user, and acquiring a multicolor sequence under the condition that the color matching type in the color configuration strategy is a multicolor type.
In this embodiment, the polychromatic sequence may be administrator configured and may be stored in a designated database; in this embodiment, after confirming that the color matching type is a multicolor type, access to the designated database may be requested to read the multicolor sequence. In some practical applications, the multi-color sequence may be configured by the target user based on the requirement of the target user in advance, different users may configure the multi-color sequence meeting the respective requirement and store the multi-color sequence in the specified database, and when the initiator (i.e., the target user) of the calendar view display request is identified, the multi-color sequence configured by the initiator may be called from the specified database. The user can configure the multicolor sequence meeting the requirements of the user, and the multicolor sequence can be regarded as providing a customized color matching service for the user, so that the calendar view display method is enriched, and the user experience is improved.
In some embodiments, the calendar view presentation method further comprises: under the condition that the color matching type in the color configuration strategy is a single color type, acquiring a target single color from the color configuration strategy of a target user; the target single color is determined as the display color of each schedule object.
In some embodiments, before acquiring the color configuration policy of the target user, the calendar view presentation method further comprises: displaying a color configuration page; the color configuration page comprises a color matching type selection control, wherein the color matching type selection control comprises a multicolor option and a monochromatic option; responding to the triggering operation of the target user for the multicolor options, and recording the color matching type as a multicolor type in the color configuration strategy of the target user; responding to the triggering operation of the target user for the monochromatic option, recording the color matching type as the monochromatic type in the color configuration strategy of the target user, and displaying the color selection control; determining a target single color in response to a color selection operation for the color selection control; and storing the target single color into a color configuration strategy of a target user.
In some practical applications, the color configuration policy of the target user may be the policy that the target user has used last time, and if the user modifies the content in the color configuration policy in this use, the color configuration policy of the target user may also be updated according to the modified content. For example, if the target user changes the color matching type from the multicolor type to the monochromatic type and designates the target monochromatic in the trial, the target monochromatic is used for displaying each schedule object at the time, and in the next use, if the user does not change, the target monochromatic designated at the time is still used for displaying each schedule object by default.
In addition, if the target user does not configure the color configuration policy, a default color matching mode may be used to determine the display color of each schedule object, for example, the default color matching mode may be that the color matching type is a single color type, and a default target single color is used as the display color of each schedule object; the default color scheme may also be that the color scheme is of a multi-color type, and a default multi-color sequence is used to determine the display color for each calendar object.
In some embodiments, step S203 may also include: acquiring creators of all schedule objects; if the creator of the schedule object is the same as the initiator of the calendar view display request, determining the schedule object as a third schedule object and determining the schedule objects except the third schedule object as a fourth schedule object; according to the time information of each third schedule object, determining a display color for each third schedule object in turn according to the preset color sequence of a plurality of target colors; and determining the preset color as the display color of the fourth schedule object.
In this embodiment, the multi-color sequence may be used to display the calendar object created by the initiator of the request for displaying the calendar view, and display the calendar object created by other users (not the initiator) using other colors, so that the calendar object created by the initiator and the calendar object created by other users may be effectively distinguished, so that the initiator can recognize the calendar object created by itself more easily.
In some embodiments, step S203 may also include: sequencing the schedule objects according to the time information of the schedule objects from first to last to obtain a schedule sequence; arranging a plurality of target colors in an inverted sequence according to a preset color sequence to obtain an inverted sequence; splicing the multicolor sequence and the reverse sequence to obtain an updated multicolor sequence; according to the time information of each schedule object, display colors are determined for each schedule object in sequence according to the sequence of the target colors in the updated multicolor sequence.
In this embodiment, if the polychromatic sequences are arranged according to the spectrum, the polychromatic sequences may have a rainbow feature, and the polychromatic sequences after reverse sequence and the original polychromatic sequences are spliced to obtain another updated polychromatic sequence with a gradient effect, and when a plurality of updated polychromatic sequences are circularly applied to a plurality of schedule objects, the display colors of every two schedule objects adjacent in time are all close, so that a plurality of schedule objects with smooth gradient colors can be displayed on the calendar view.
Fig. 5 shows a system diagram of a calendar view presentation method to which an embodiment of the present disclosure may be applied, as shown in fig. 5, including a calendar module 501, a color matching module 502, a meeting/calendar list 503, a rainbow arrangement algorithm module 504, a user color configuration table 505, and a configuration center 506.
In this embodiment, from the time when the user enters the calendar module 501, the display color of the meeting/schedule (i.e., the schedule object) can be colored; specifically, the user may perform color matching in the color matching module 502, and if the user selects the color matching type as the monochrome type, the target monochrome may be selected from the color selector at this time; if the user selects the color matching type as the multicolor type, the user only needs to select the option, and the color allocation for each schedule object can be completed by the rainbow arrangement algorithm module 504; after color matching (i.e., determining the display color), a color matching save interface needs to be invoked, and the color matching selection (i.e., color configuration policy) of the user is saved to the user color configuration table 505 by the color matching save interface, where the core fields recorded in the user color configuration table 505 may include: user information, color matching type and target monochromatic color code selected by a user under the monochromatic type; wherein the color matching type can be a single color type or a multi-color type.
In this embodiment, the administrator may select the target color, configure the target color into a seven-color list (i.e., a multi-color sequence) according to the arrangement order of the colors in the spectrum, and then save the seven-color list in the configuration center 506.
In this embodiment, when a user queries a list of meetings/schedules in the calendar module 501, the user needs to adjust the list to query, and after list data is generated in the meeting/schedule module 503, the user needs to perform color matching at this time, specifically, the rainbow arrangement algorithm module 504 may be adjusted to complete color matching. In the rainbow arrangement algorithm module 504, on one hand, the color matching type selected by the user can be firstly taken, and specifically, the color matching type selected by the user can be obtained by querying the user color configuration table 505; on the other hand, the conference/schedule list 503 may be traversed, in which case the color matching type is a single color type, all conference/schedules are target single colors selected by the user in the single color type, in which case the color matching type is a multi-color type, a seven-color list needs to be queried from the configuration center 506, and colors are sequentially fetched from the seven-color list, where if the length of the conference/schedule list 503 is longer than that of the seven-color list, the seven-color list will be repeatedly fetched, and the repeated fetching may be started from the beginning and started from the end, that is, the display colors of each conference/schedule in the conference/schedule list 503 are displayed according to the sequence of colors in the seven-color list.
If an important meeting or a special meeting (namely an important schedule object) exists, color jump processing can be performed, namely, the important meeting or the special meeting is skipped when a colorful list is used for color matching of the schedule object, and the important meeting or the special meeting is displayed by using a designated color or a designated display effect of the important meeting or the special meeting.
Other details of the embodiment of fig. 5 may be found in the other embodiments described above.
By the method, the colored processed list can be obtained, schedule objects in the colored processed list are returned to the client, and the schedule objects are displayed in a calendar view on the client so as to be convenient for a user to check.
Fig. 6 shows a schematic diagram of a data use case structure of a calendar view display method according to an embodiment of the present disclosure, and as shown in fig. 6, a diagram of a data use case when a user (including an application user and an administrator user) uses a rainbow arrangement 600 (i.e., a multicolor sequence) is shown.
The rainbow list 600 relates to the management of the sequence 601, single color 602, multiple colors 603, application scenes 604. Wherein the sequential arrangement 601 is related to the rainbow arrangement algorithm in the above embodiment; the single color 602 includes a color selector (i.e., a color selection control); the multi-color 603 then includes color hopping management including important and special meetings (i.e., showing important calendar objects using their designated colors) and seven-color light list management including ordinary meetings or calendars (i.e., determining their showing colors for non-important calendar objects using a rainbow arrangement algorithm). The application scenario 604 may include a calendar meeting list and a calendar schedule list, both of which may include a day view, a week view, and a month view.
Other details of the embodiment of fig. 6 may be found in the other embodiments described above.
Fig. 7 illustrates an interactive schematic diagram of maintaining color configuration policies in a calendar view presentation method of one embodiment of the present disclosure, as shown in fig. 7, including interactions between users (including application users and administrator users) with front end 701, high-efficiency conferencing service 702, configuration center 703, and database 704.
The application user can view the calendar through the front end 701, and then can configure the display color of the meeting/schedule, specifically can configure the color matching type, and the color matching type can comprise a single-color type and a multi-color type; the configuration of the multicolor type may specifically be to select a multicolor option, and the configuration of the monochrome type may be to select one color from the color selector after selecting the monochrome option; upon completion of the above configuration, a request to tune the color preservation interface may be initiated to efficient conferencing service 702.
After receiving the request, the high-efficiency conference service 702 may first verify the validity of the user; after verification, configuration information (namely the color configuration strategy of the user) can be inquired from the user color configuration table according to the user Id and the tenant Id, and color matching information is returned; the core fields of the user color configuration table may include: user Id, tenant Id, color type (mono/multi), color coding, creation time, modification time. If the configuration information exists in the returned color matching information, an updating entity can be constructed, otherwise, a creating entity can be constructed, and the creating entity can be specifically built or updated in a user color configuration table; after the creation or updating is completed, an execution result can be returned; the user may be instructed in the execution result to successfully save the color matching (i.e., to successfully update the color configuration policy).
In addition, the administrator user may write a previously prepared seven-color list (i.e., a multi-color sequence) to the configuration center 703, and after the writing is successful, an execution result may be returned, where the execution result may indicate that the seven-color list has been successfully configured. In some practical applications, the seven-color list structure may be: { "unique Key" [ "color code 1", "color code 2", "color code X" ] }.
Other details of the embodiment of fig. 7 may be found in the other embodiments described above.
Fig. 8 illustrates an interactive schematic diagram of determining a presentation color of a calendar object in a calendar view presentation method according to an embodiment of the present disclosure, including interactions between a user (including an application user) and a front end 801, an efficient meeting service 802, a configuration center 803, and a database 804, as shown in fig. 8.
Wherein a user can query the meeting/calendar list in the calendar through front end 801 and initiate a request to adjust the meeting/calendar list interface to efficient meeting service 802 through front end 801.
After receiving the request, the efficient conference service 802 can verify the validity of the user a priori, and after verification, can generate a conference/schedule list for the user to request to inquire; efficient conferencing service 802 can also query the user color configuration table for user Id and tenant Id, returning the queried user color configuration information (the user's color configuration policy).
If the user selects the single color type, the color code of the target single color designated by the user in advance can be taken from the configuration information, the conference/schedule list is traversed, and the color code of the target single color is set for the color field color of each element (i.e. each conference/schedule) in the conference/schedule list. If the user selects the multicolor type, the configuration center 803 can query a multicolor list (i.e., a multicolor sequence) configured by the administrator user, return the queried multicolor list, traverse the conference/schedule list, sequentially take color codes from the multicolor list, restart to take color codes from the head position of the multicolor list after the tail of the list is taken, and set the color codes taken from the multicolor list for the color field color of each element in the conference/schedule list; wherein, the key conference or the special conference can carry out color jump processing; after determining the presentation color (i.e., color coding) for each element in the meeting/calendar list, the meeting/calendar list for which the presentation color was determined may be returned.
Other content of the embodiment of fig. 8 may be referred to the other embodiments described above.
It is noted that the above-described figures are only schematic illustrations of processes involved in a method according to an exemplary embodiment of the invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
FIG. 9 illustrates a block diagram of a calendar view display device 900 of one embodiment of the present disclosure; as shown in fig. 9, includes: an acquisition module 901, configured to acquire a plurality of schedule objects, time information of each schedule object, and a polychromatic sequence; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the plurality of target colors; a determining module 902, configured to determine, according to time information of each schedule object, a display color for each schedule object in sequence according to a preset color sequence of a plurality of target colors; a display module 903, configured to display each calendar object on the calendar view using a display color of each calendar object.
According to the calendar view display device, according to the acquired time information and multicolor sequences of the plurality of schedule objects and the schedule objects, display colors can be determined for each schedule object in sequence according to the preset color sequence of the plurality of target colors in the multicolor sequences, and the display colors of the schedule objects are used for displaying the schedule objects on the calendar view. On one hand, according to the scheme, each schedule object can be rapidly distributed to one target color in the multicolor sequence for display; on the other hand, the display colors presented by schedule objects arranged according to time can be continuously arranged according to the preset color sequence of the target colors in the multicolor sequence, namely, the arrangement colors of the schedule objects in the calendar view can be controlled through the arrangement sequence of the colors in the multicolor sequence, the display mode of the calendar view is enriched, each schedule object is easy to distinguish, and a user can conveniently check and quickly find a required schedule.
In some embodiments, the number of the plurality of target colors is M; the determining module 902 determines, according to time information of each schedule object, a display color for each schedule object in sequence according to a preset color sequence of a plurality of target colors, including: sequencing the schedule objects according to the time information of the schedule objects from first to last to obtain a schedule sequence; determining the Kth target color in the multicolor sequence as the display color of the (K+nM) th schedule object in the schedule sequence; wherein n is a natural number; k is a positive integer less than or equal to M.
In some embodiments, the determining module 902 determines, for each calendar object, a display color sequentially according to a preset color sequence of a plurality of target colors according to time information of each calendar object, including: acquiring importance levels of all schedule objects, and determining the schedule objects with the importance levels meeting important conditions as important schedule objects; acquiring creation information of an important schedule object, if the creation information comprises a designated color, determining the important schedule object as a first schedule object, and determining schedule objects except the first schedule object in a plurality of schedule objects as second schedule objects; according to the time information of each second schedule object, determining a display color for each second schedule object in turn according to the preset color sequence of a plurality of target colors; and determining the designated color of the first schedule object as the display color of the first schedule object.
In some embodiments, the calendar view display device further comprises a sequence generation module 904, the sequence generation module 904 configured to determine a plurality of target colors from the set of colors before the acquisition module 901 acquires the multi-color sequence; based on the wavelength parameters of the visible light corresponding to each target color, the sequence from the large to the small of the wavelength parameters or the sequence from the small to the large of the wavelength parameters is used as a preset color sequence of a plurality of target colors; a multicolor sequence is generated based on the plurality of target colors and a preset color sequence of the plurality of target colors.
In some embodiments, the acquiring module 901 acquires a plurality of calendar objects, time information of each calendar object, and a multicolor sequence, including: receiving a calendar view display request; determining a target time period and a target user according to the calendar view display request; acquiring time information of a plurality of schedule objects in a target time period and each schedule object; and acquiring a color configuration strategy of the target user, and acquiring a multicolor sequence under the condition that the color matching type in the color configuration strategy is a multicolor type.
In some embodiments, the obtaining module 901 is further configured to obtain the target single color from the color configuration policy of the target user, where the color matching type in the color configuration policy is a single color type; the target single color is determined as the display color of each schedule object.
In some embodiments, the calendar view display device further includes a configuration module 905, where the configuration module 905 is configured to display a color configuration page before the obtaining module 901 obtains a color configuration policy of a target user; the color configuration page comprises a color matching type selection control, wherein the color matching type selection control comprises a multicolor option and a monochromatic option; responding to the triggering operation of the target user for the multicolor options, and recording the color matching type as a multicolor type in the color configuration strategy of the target user; responding to the triggering operation of the target user for the monochromatic option, recording the color matching type as the monochromatic type in the color configuration strategy of the target user, and displaying the color selection control; determining a target single color in response to a color selection operation for the color selection control; and storing the target single color into a color configuration strategy of a target user.
Other details of the embodiment of fig. 9 may be found in the other embodiments described above.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
Fig. 10 shows a block diagram of a calendar view presentation computer device in an embodiment of the present disclosure. It should be noted that the illustrated electronic device is only an example, and should not impose any limitation on the functions and application scope of the embodiments of the present invention.
An electronic device 1000 according to this embodiment of the present invention is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. Components of electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, and a bus 1030 that connects the various system components, including the memory unit 1020 and the processing unit 1010.
Wherein the storage unit stores program code that is executable by the processing unit 1010 such that the processing unit 1010 performs steps according to various exemplary embodiments of the present invention described in the above section of the "exemplary method" of the present specification. For example, the processing unit 1010 may perform the method as shown in fig. 2.
The memory unit 1020 may include readable media in the form of volatile memory units such as Random Access Memory (RAM) 10201 and/or cache memory unit 10202, and may further include Read Only Memory (ROM) 10203.
The storage unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 1030 may be representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1000 can also communicate with one or more external devices 1100 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any device (e.g., router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1050. Also, electronic device 1000 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 over the bus 1030. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the electronic device 1000, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
A program product for implementing the above-described method according to an embodiment of the present invention may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
According to one aspect of the present disclosure, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the methods provided in the various alternative implementations of the above-described embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims (10)
1. A calendar view display method, comprising:
acquiring a plurality of schedule objects, time information of each schedule object and a multicolor sequence; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the target colors;
According to the time information of each schedule object, determining a display color for each schedule object in turn according to the preset color sequence of the target colors;
and displaying the schedule objects on the calendar view by using the display colors of the schedule objects.
2. The method of claim 1, wherein the number of the plurality of target colors is M;
according to the time information of each schedule object, determining a display color for each schedule object in turn according to the preset color sequence of the target colors, including:
sequencing the schedule objects according to the time information of the schedule objects from first to last to obtain a schedule sequence;
determining the Kth target color in the multicolor sequence as the display color of the (K+nM) th schedule object in the schedule sequence; wherein n is a natural number; k is a positive integer less than or equal to M.
3. The method of claim 1, wherein determining a presentation color for each calendar object in turn in a preset color order of the plurality of target colors according to time information of each calendar object comprises:
acquiring importance levels of all schedule objects, and determining the schedule objects with the importance levels meeting important conditions as important schedule objects;
Acquiring creation information of the important schedule object, if the creation information comprises a designated color, determining the important schedule object as a first schedule object, and determining schedule objects except the first schedule object in the plurality of schedule objects as a second schedule object;
according to the time information of each second schedule object, determining a display color for each second schedule object in turn according to the preset color sequence of the target colors; the method comprises the steps of,
and determining the designated color of the first schedule object as the display color of the first schedule object.
4. The method of claim 1, wherein prior to acquiring the polychromatic sequence, the method further comprises:
determining a plurality of target colors from the color set;
based on the wavelength parameters of the visible light corresponding to each target color, taking the sequence from large to small of the wavelength parameters or the sequence from small to large of the wavelength parameters as a preset color sequence of the target colors;
the multi-color sequence is generated based on a preset color sequence of the plurality of target colors.
5. The method of any one of claims 1-4, wherein obtaining a plurality of calendar objects, time information for each calendar object, and a multi-color sequence comprises:
Receiving a calendar view display request;
determining a target time period and a target user according to the calendar view display request;
acquiring a plurality of schedule objects in the target time period and time information of each schedule object;
and acquiring a color configuration strategy of the target user, and acquiring the multicolor sequence under the condition that the color matching type in the color configuration strategy is a multicolor type.
6. The method of claim 5, wherein the method further comprises:
acquiring a target single color from the color configuration strategy of the target user under the condition that the color matching type in the color configuration strategy is a single color type;
and determining the target single color as the display color of each schedule object.
7. The method of claim 6, wherein prior to obtaining the color configuration policy for the target user, the method further comprises:
displaying a color configuration page; the color configuration page comprises a color matching type selection control, wherein the color matching type selection control comprises a multicolor option and a monochromatic option;
recording a color matching type as a multicolor type in a color configuration strategy of the target user in response to a triggering operation of the target user for the multicolor option;
Responding to the triggering operation of the target user for the single-color option, recording the color matching type as the single-color type in the color configuration strategy of the target user, and displaying a color selection control; determining a target single color in response to a color selection operation for the color selection control; and storing the target single color into a color configuration strategy of the target user.
8. A calendar view display device, comprising:
the acquisition module is used for acquiring a plurality of schedule objects, time information of each schedule object and multicolor sequences; the multicolor sequence comprises a plurality of target colors and a preset color sequence of the target colors;
the determining module is used for determining display colors for each schedule object in sequence according to the time information of each schedule object and the preset color sequence of the target colors;
and the display module is used for displaying each schedule object on the calendar view by using the display color of each schedule object.
9. A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the calendar view presentation method of any of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which when executed by the one or more processors cause the one or more processors to implement the calendar view presentation method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311587037.4A CN117635093A (en) | 2023-11-24 | 2023-11-24 | Calendar view display method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311587037.4A CN117635093A (en) | 2023-11-24 | 2023-11-24 | Calendar view display method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117635093A true CN117635093A (en) | 2024-03-01 |
Family
ID=90022736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311587037.4A Pending CN117635093A (en) | 2023-11-24 | 2023-11-24 | Calendar view display method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117635093A (en) |
-
2023
- 2023-11-24 CN CN202311587037.4A patent/CN117635093A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11537654B2 (en) | Automated personalized identifier switching in view of closeness | |
KR102308369B1 (en) | Automatic video editing system through artificial intelligence sound source analysis | |
CN109101309B (en) | Method and apparatus for updating user interface | |
CN110347946A (en) | A kind of page display method, device, computer equipment and storage medium | |
CN108667633A (en) | A kind of short video sharing method and apparatus | |
US9721321B1 (en) | Automated interactive dynamic audio/visual performance with integrated data assembly system and methods | |
CN110308895A (en) | The project development method that Project Development Platform and application item development platform are carried out | |
CN114154000A (en) | Multimedia resource publishing method and device | |
US20230267145A1 (en) | Generating personalized digital thumbnails | |
CN104793937B (en) | A kind of startup control method and device | |
US20090132915A1 (en) | View selection and switching | |
US9921728B2 (en) | Service providing device, and method of providing a user interface | |
CN117635093A (en) | Calendar view display method and device, storage medium and electronic equipment | |
US20230055968A1 (en) | Filtering group messages | |
US11163830B2 (en) | Augmenting the display of data in a tree format | |
US12020348B2 (en) | Decentralized procedural digital asset creation in augmented reality applications | |
CN114463104B (en) | Method, apparatus, and computer-readable storage medium for processing VR scene | |
US20230134092A1 (en) | Database synchronization employing parallel poll threads | |
AU2021384021B2 (en) | Graph-based color description generation | |
US10423579B2 (en) | Z/OS SMF record navigation visualization tooling | |
US20190377726A1 (en) | Domain centric natural language query answering | |
US20230229433A1 (en) | Application icon generation based on unique application property representation | |
CN110288309A (en) | Data interactive method, device, system, computer equipment and storage medium | |
US20190227306A1 (en) | Targeted content with image capture | |
US11514016B2 (en) | Paging row-based data stored as objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |