Date component library optimization method and device for Web

By adding information prompts and displaying the date component in a floating window, the problems of complex date component display and limited information display in existing technologies are solved, thereby improving user experience and operational efficiency.

CN121526545APending Publication Date: 2026-02-13SHANGHAI ZHUODAO MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411102550.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

The existing date component lacks intuitive indicators when displaying and confirming training plans, which increases operational complexity and time costs. Furthermore, the display of detailed training plan information is limited, making it difficult for users to quickly obtain the information they need.

Method used

By adding informational markers to the date component, including color coding and icon hints, and displaying detailed content via a floating window, the date component library is optimized to improve user experience.

Benefits of technology

This allows users to quickly view detailed training plan information, simplifies the operation process, and improves user experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121526545A_ABST
    Figure CN121526545A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a date component library optimization method and device for Web, and relates to the technical field of webpage date component optimization technologies. The method comprises the following steps: acquiring a date plan calling request; according to the date plan calling request, calling a first interface to obtain date information corresponding to the date plan calling request; and performing information prompt identification processing on the date information according to preset identification logic to obtain an identified target date component. Through the method and the device, the problem that a detailed training plan cannot be quickly checked due to less date component information is solved, and the effect of improving user experience is further achieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of date component library optimization, in particular, to a date component library optimization method and device for Web. BACKGROUND

[0002] In the medical field, formulating and managing long-term training plans for patients is a crucial part of rehabilitation treatment. A patient's multi-day training plan usually involves multiple dates and different training content, and ensuring that these plans are accurately recorded and executed has a direct impact on the patient's rehabilitation effect. However, there are certain challenges in confirming the existence of training plans in the date component, mainly manifested in the following two aspects.

[0003] Since the training plan covers multiple dates, the existing date component often lacks intuitive identification when displaying and confirming whether there is a training plan on a specific day, resulting in doctors or patients needing to check each day's plan one by one, increasing the operation complexity and time cost.

[0004] In the existing date component, the display mode of training plan details is limited, and users cannot quickly view and obtain the required information. For example, after clicking on a day, only simple training arrangements can be seen, and important information such as detailed training content and time arrangements cannot be directly seen.

[0005] There is currently no good solution to the above problems. SUMMARY

[0006] Embodiments of the present application provide a date component library optimization method and device for Web to at least solve the problem that detailed training plans cannot be quickly obtained through the date component in related technologies.

[0007] According to an embodiment of the present application, a date component library optimization method for Web is provided, comprising: obtaining a date plan calling request; According to the date plan calling request, a first interface is called to obtain the date information corresponding to the date plan calling request; According to the preset identification logic, the date information is subjected to information prompt identification processing to obtain the identified target date component.

[0008] In one exemplary embodiment, the method further comprises: obtaining a plan display request for a target date; According to the plan display request, the pre-existing training plan in the database is subjected to screening and matching processing to obtain first plan information; The first plan information is displayed in the form of a floating window.

[0009] In one example embodiment, after the date information is subjected to the prompt identification processing according to the preset identification logic to obtain the identified target date component, the method further comprises: acquiring date component modification information through a preset first protocol, wherein the date component modification information comprises a prompt identification processing result; the date component modification information is obtained based on a pre-established link channel; performing type judgment on the date component modification information; performing page display adjustment processing according to the type judgment result, or reacquiring the date information and subjecting the reacquired date information to prompt identification processing.

[0010] In one example embodiment, before the first interface is called according to the date plan calling request to acquire the date information corresponding to the date plan calling request, the method further comprises: acquiring interface state information and path information of a date plan calling path, wherein the interface state information comprises data queue information, data transmission state and interface load information of the second interface, wherein the second interface is any interface used to acquire date information, and the second interface comprises the first interface; constructing the path information, the data queue information, the data transmission state and the interface load information into an interface time sequence queue based on time sequence; transforming the interface time sequence queue into an interface time sequence matrix according to a preset matrix construction rule; performing matrix matching calculation on the interface time sequence matrix to obtain a matrix matching result; in a case where the matrix matching result does not meet a preset condition, determining that the path information and / or the interface state information is abnormal.

[0011] According to another embodiment of the present application, a date component library optimization device for Web is provided, comprising: a request acquisition module configured to acquire a date plan calling request; an information acquisition module configured to call a first interface to acquire date information corresponding to the date plan calling request according to the date plan calling request; an identification module configured to subject the date information to prompt identification processing according to a preset identification logic to obtain an identified target date component.

[0012] In one example embodiment, the device further comprises: a display request acquisition module configured to acquire a target date plan display request after the date information is subjected to the prompt identification processing according to the preset identification logic. The plan information matching module is configured to perform screening and matching processing on the training plan pre-stored in the database according to the plan display request, to obtain first plan information. The plan display module is configured to display the first plan information in the form of a pop-up window.

[0013] In an example embodiment, the device further comprises: The modification information acquisition module is configured to, after the target date component is identified through the preset identification logic, acquire date component modification information through a preset first protocol, wherein the date component modification information comprises the identification result; and the date component modification information is obtained based on a pre-established link channel. The type judgment module is configured to perform type judgment on the date component modification information. The processing module is configured to perform page display adjustment processing according to the type judgment result, or re-acquire the date information and perform identification processing on the re-acquired date information.

[0014] In an example embodiment, the device further comprises: The information acquisition module is configured to, before the first interface is called to acquire the date information corresponding to the date plan calling request according to the date plan calling request, acquire interface state information and path information of a date plan calling path, wherein the interface state information comprises data queue information, data transmission state and interface load information of the second interface; the second interface is any interface used to acquire date information, and the second interface comprises the first interface. The queue construction module is configured to construct the path information, the data queue information, the data transmission state and the interface load information into an interface time sequence queue based on time sequence. The matrix construction module is configured to convert the interface time sequence queue into an interface time sequence matrix according to a preset matrix construction rule. The matching calculation module is configured to perform matrix matching calculation on the interface time sequence matrix, to obtain a matrix matching result. The abnormality judgment module is configured to determine that the path information and / or the interface state information is abnormal in a case where the matrix matching result does not meet a preset condition.

[0015] According to another embodiment of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.

[0016] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0017] By adding information prompts to the date component, this invention allows users to view detailed plans and other information through the date component, thus solving the problem of limited information in the date component and improving the user experience. Attached Figure Description

[0018] Figure 1 This is a flowchart of a method for optimizing a date component library for the Web according to an embodiment of the present invention; Figure 2 This is a structural block diagram of a date component library optimization device for the Web according to an embodiment of the present invention. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0020] In the following description, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0021] Furthermore, in this application, directional terms such as "upper," "lower," "left," and "right" may be defined relative to the orientation of the components shown in the accompanying drawings. It should be understood that these directional terms can be relative concepts, used for relative description and clarification, and may change accordingly depending on the orientation of the components in the accompanying drawings.

[0022] In this application, unless otherwise expressly specified and limited, the term "connection" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral part; it can be a direct connection or an indirect connection through an intermediate medium. Furthermore, the term "coupled" can refer to an electrical connection that enables signal transmission.

[0023] As used herein, “about,” “approximately,” or “approximately” includes the stated value and the average value within an acceptable range of deviation from the given value, wherein the acceptable range of deviation is determined by a person skilled in the art taking into account the measurement under discussion and the error associated with the measurement of the given quantity (i.e., the limitations of the measurement system).

[0024] This embodiment provides a method for optimizing a date component library for the Web. Figure 1 This is a flowchart of a method for optimizing a date component library for the Web according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S11: Obtain the date schedule call request; In this embodiment, the date component library is an important tool for users to interact with the application regarding dates in a web application. To optimize user experience and improve efficiency in web applications, the date component library is a crucial tool for users to interact with the application regarding dates.

[0025] The date schedule request is generated when the user interacts with the date component through the web interface. These interactions include (but are not limited to) clicking the calendar control, selecting a date range, and entering a specific date. When the user performs these actions, the front-end JavaScript code captures these interaction events and converts them into a request. Based on the user's interaction, the system dynamically constructs the parameters for the request. These parameters may include the user-selected date, the date range to be queried, and other filtering conditions that may affect the display of the date schedule. The request, including the necessary parameters, is sent to the server via AJAX or other HTTP clients. Upon receiving the request, the server places it in the interface's data queue for further processing. This process involves request sorting and priority management to ensure efficient processing.

[0026] Step S12: Based on the date schedule call request, call the first interface to obtain the date information corresponding to the date schedule call request; In this embodiment, the system first parses the received date schedule call request, extracts key information such as the user-selected date, time range, and any specific query parameters, and then validates the request parameters to ensure they conform to a predetermined format and business rules, such as checking whether the date range is reasonable and whether the filtering conditions are valid. Subsequently, based on the parsed and validated request parameters, the system constructs the detailed parameter set required to call the first interface, and then uses the constructed parameter set to initiate a call to the first interface via an appropriate HTTP method (such as GET or POST), receives the response returned by the first interface, and processes the response. This may include parsing JSON, XML, or other format response data. The date information returned by the interface is verified and cleaned to ensure its accuracy and consistency. Then, necessary business logic is applied to the obtained date information according to business needs, such as filtering plans for specific dates and formatting date display. At the same time, to improve performance, frequently requested date information can be cached to reduce repeated calls to the first interface. During the call process, if an error or exception is encountered (such as interface timeout, incorrect data format, etc.), the system will execute error handling logic, which may include retry mechanisms, error logging, or user error messages. After that, the processed date information is encapsulated into a response object and returned to the front-end application for further user interface display or further business processing.

[0027] The date information includes (but is not limited to) the specific date of training and possible training plans.

[0028] Step S13: Perform information prompting and marking processing on the date information according to the preset marking logic to obtain the marked target date component.

[0029] In this embodiment, when the date component is invoked, an interface is called to obtain the planned dates. Logical judgments are then made to modify and add intuitive identifiers, such as color coding or icon hints, so that therapists can easily see which dates have training plans in the calendar view. For example, a green dot can be used to indicate a training plan for that day.

[0030] The labeling logic determines which dates need special labeling. These rules can be set based on factors such as date importance, event type, and user preferences. During the labeling process, the system analyzes the date information, identifying keywords, event types, and associated plans or tasks to determine whether special labeling is necessary. Then, based on the preset labeling logic, the system automatically categorizes and labels the eligible dates. For example, dates with important meetings or medical appointments may be labeled as high priority. Specifically, for dates requiring special attention, the system generates corresponding alert labels, which may include color markings, icons, text labels, or other visual elements. A user interface option is provided, allowing users to configure the labeling logic according to their personal preferences, such as choosing how to label holidays, birthdays, or to-do items. Furthermore, when date information changes or users update their preferences, the system dynamically updates the alert labels to ensure accuracy and timeliness. Alternatively, these alert labels can be integrated into a web date component library to ensure users see these visual cues when browsing their calendars and quickly understand the relevance of each date.

[0031] By implementing the above steps and identifying information in the date component, users can view detailed training plans and other information directly through the date component, thus solving the problem of not being able to quickly obtain training plans and other information through the date component and improving the user experience.

[0032] The entities that perform the above steps can be base stations, terminals, etc., but are not limited to these.

[0033] In an optional embodiment, after the date information is processed according to preset identification logic, the method further includes: Step S14: Obtain the scheduled display request for the target date; Step S15: According to the plan display request, the training plans in the pre-existing database are filtered and matched to obtain the first plan information; Step S16: Display the first plan information in the form of a floating window.

[0034] In this embodiment, in addition to providing prompts through color icons, the user experience can be further enhanced by displaying detailed content through a floating window.

[0035] For example, when a therapist clicks on a date, the clicked date is sent to the backend via an API for database filtering, returning training plan details for that date, including training content and schedule. This allows users to obtain key information without having to navigate to a detailed page, improving operational efficiency.

[0036] Specifically, users select one or more marked dates through the interface to view more details. The system then detects the user's selection and generates a plan display request. This request includes the selected date information and possible user identification, ensuring the displayed plan is relevant to the user. Upon receiving the plan display request, the system queries pre-stored training plan data in the database and performs a filtering operation based on the date information in the request, matching training plans corresponding to the selected dates. This filtering process may include date matching, user matching, and plan type matching to ensure the most relevant and accurate plan information is returned. Simultaneously, the filtering results are sorted or categorized so users can more easily find plans of interest. After determining the filtered and matched plan information (i.e., the first plan information), the system decides to display this information in a floating window. This floating window is designed as a non-modal window, allowing users to continue interacting with the calendar interface while viewing plan details. The information displayed in the floating window may include key information such as the plan's title, description, time, location, and participants. Users can hover their mouse over the floating window to view more details or click buttons within the floating window for further actions, such as editing the plan or sending reminders.

[0037] It should be noted that a batch editing function is also provided, allowing therapists to add, modify, and delete training plans for multiple dates in one interface, reducing repetitive steps and simplifying the plan management process; at the same time, the display and interaction of the date component on mobile devices are optimized to ensure that users can easily view and manage training plans on devices such as mobile phones or tablets, improving the ease of use and flexibility.

[0038] In an optional embodiment, after performing prompting and marking processing on the date information according to preset marking logic to obtain the marked target date component, the method further includes: Step S121: Obtain date component modification information through a preset first protocol, wherein the date component modification information includes a prompt indicating the processing result; the date component modification information is obtained based on a pre-established link channel; Step S122: Determine the type of the date component modification information; Step S123: Adjust the page display according to the type judgment result, or re-acquire the date information and provide a prompt for the re-acquired date information.

[0039] In this embodiment, data synchronization is achieved by receiving user or system modifications to the interface content or parameters in real time and making adaptive adjustments based on the modifications.

[0040] For example, WebSocket (a network transmission protocol that enables full-duplex communication over a single TCP connection, and is a transmission protocol in which the server actively sends messages to the client) can be used to first open the page and establish a connection channel with the backend. Then, when the device status changes or a plan is created on another PC, the backend sends the modified information or some modified parameters (corresponding to the modified information of the aforementioned date component). After receiving the information, the backend determines the information type, modifies the page display, or re-acquires the data to ensure data synchronization.

[0041] Specifically, the system uses a listening mechanism to monitor date component modification information from users or other system components in real time, and receives the modification information via primary protocols such as WebSocket. The modification information may include new date plans, plan changes, plan cancellations, and corresponding prompts indicating the processing results. Furthermore, it utilizes WebSocket, long polling, or Server-Sentence Protocol (SSE) to receive these modifications. The system maintains real-time communication with clients through links such as Events to ensure that modified information is received immediately. Upon receiving modified information, the system first parses the information, extracting key data such as the modification type, affected dates, and plan details. Based on the parsed data, it determines the type of modification, classifying it as an addition, update, or deletion. The type determination guides subsequent processing to ensure appropriate response measures are taken. If the modification is a new plan, the system updates the calendar interface based on the new plan details, potentially adding new notification icons to the corresponding dates or adjusting floating window content. For plan changes, the system first removes the old notification icons, then reprocesses them based on the updated plan information and updates the page display. If a plan is canceled, the system removes the relevant notification icons and floating window information from the calendar interface to ensure user interface accuracy. In some cases, such as when the system detects data inconsistencies or a user requests more date information, the system may need to re-acquire date information. The re-acquired date information will be processed again to ensure all displayed information is up-to-date and accurate. Simultaneously, the system provides user interface feedback, such as loading animations or notifications, informing the user of the ongoing update operation.

[0042] In an optional embodiment, before invoking the first interface according to the date schedule call request to obtain the date information corresponding to the date schedule call request, the method further includes: Step S1101: Obtain interface status information and path information of the date plan call path, wherein the interface status information includes data queue information, data transmission status and interface load information of the second interface, wherein the second interface is any interface used to obtain date information, and the second interface includes the first interface; In this embodiment, the system actively queries or passively receives the status information of the second interface, including (but not limited to) the data queue length, data transmission status, and interface load. At the same time, the system captures all path information related to the date schedule call.

[0043] Step S1102: Based on the timing, construct the path information, the data queue information, the data transmission status, and the interface load information into an interface timing queue; In this embodiment, the acquired path information and interface status information are integrated in chronological order to form an interface time sequence queue, as shown below: in, Represents a timestamp. Represents data queue information. Represents the data transmission status. This represents the interface load information.

[0044] Step S1103: According to the preset matrix construction rules, the interface timing queue is converted into an interface timing matrix; In this embodiment, for example, for queue length, a value of 1 is assigned if the queue length is greater than 32 and less than 64 bytes, otherwise it is assigned 0; for action path, nodes A, B, and C correspond to 0-1-2 respectively; for queue entry and exit time, a value of 1 is assigned if the time is greater than 1 second, otherwise it is assigned 0, and so on. Thus, the following matrix sequence can be constructed: Step S1104: Perform matrix matching calculation on the interface timing matrix to obtain the matrix matching result; In this embodiment, the interface timing matrix is ​​matched and calculated to compare the actual state with preset performance indicators, and to evaluate whether the interface state meets expectations. Specifically: In the formula, R is the matching result matrix, and C is the preset condition matrix.

[0045] It should be noted that matrix matching calculation can be performed not only by comparing the matching result matrix with the preset condition matrix, but also by calculating the correlation coefficient between related elements in the interface time series matrix based on the Pearson correlation coefficient, and then using the correlation coefficient to determine the anomalies of the interface and path.

[0046] Step S1105: If the matrix matching result does not meet the preset conditions, determine that the path information and / or the interface status information are abnormal.

[0047] In this embodiment, if the value of R does not meet the preset threshold range, it is determined that there is an anomaly in the path information or interface status.

[0048] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0049] This embodiment also provides an apparatus for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0050] Figure 2 This is a structural block diagram of a date component library optimization device for the Web according to an embodiment of the present invention, such as... Figure 2 As shown, the device includes: Request retrieval module 21 is used to retrieve date schedule call requests; Information acquisition module 22 is used to call the first interface according to the date schedule call request to obtain the date information corresponding to the date schedule call request; The identification module 23 is used to perform prompt identification processing on the date information according to the preset identification logic to obtain the identified target date component.

[0051] In an optional embodiment, the apparatus further includes: The display request acquisition module is used to acquire the planned display request for the target date after the date information is processed by the preset identification logic. The plan information matching module is used to filter and match training plans in a pre-existing database according to the plan display request to obtain the first plan information; The plan display module is used to display the first plan information in the form of a floating window.

[0052] In an optional embodiment, the apparatus further includes: The modified information acquisition module is used to obtain date component modification information through a preset first protocol after the date information is processed by prompting and marking according to a preset marking logic to obtain the marked target date component. The date component modification information includes the prompting and marking processing result; the date component modification information is obtained based on a pre-established link channel. The type determination module is used to determine the type of the modification information of the date component. The processing module is used to adjust the page display based on the type judgment result, or to re-acquire the date information and provide a prompt for the re-acquired date information.

[0053] In an optional embodiment, the apparatus further includes: The information acquisition module is used to acquire interface status information and path information of the date plan call path before calling the first interface according to the date plan call request to obtain the date information corresponding to the date plan call request. The interface status information includes the data queue information, data transmission status and interface load information of the second interface. The second interface is any interface used to obtain date information, and the second interface includes the first interface. The queue construction module is used to construct an interface time-series queue based on the path information, the data queue information, the data transmission status, and the interface load information. The matrix construction module is used to convert the interface timing queue into an interface timing matrix according to preset matrix construction rules. The matching calculation module is used to perform matrix matching calculation on the interface time series matrix to obtain the matrix matching result; The anomaly detection module is used to determine that the path information and / or the interface status information are abnormal if the matrix matching result does not meet the preset conditions.

[0054] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0055] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0056] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0057] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0058] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0059] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0060] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0061] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0062] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0063] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0064] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for optimizing a date component library for the Web, characterized in that, include: Get the scheduled call request for the date; Based on the date schedule call request, the first interface is invoked to obtain the date information corresponding to the date schedule call request; The date information is processed by a preset identification logic to obtain the identified target date component.

2. The method according to claim 1, characterized in that, After processing the date information according to the preset identification logic, the method further includes: Request the scheduled display for the target date; According to the plan display request, the training plans in the pre-existing database are filtered and matched to obtain the first plan information; The first plan information is displayed in a floating window.

3. The method according to claim 1, characterized in that, After performing prompting and marking processing on the date information according to preset marking logic to obtain the marked target date component, the method further includes: Date component modification information is obtained through a preset first protocol, wherein the date component modification information includes a prompt indicating the processing result; the date component modification information is obtained based on a pre-established link channel; The type of modification information of the date component is determined; Based on the type determination result, the page display is adjusted, or the date information is retrieved again, and the retrieved date information is marked with a prompt.

4. The method according to claim 1, characterized in that, Before invoking the first interface according to the date schedule call request to obtain the date information corresponding to the date schedule call request, the method further includes: Obtain interface status information and path information of the date plan call path, wherein the interface status information includes the data queue information, data transmission status and interface load information of the second interface, wherein the second interface is any interface used to obtain date information, and the second interface includes the first interface; Based on the timing sequence, the path information, the data queue information, the data transmission status, and the interface load information are constructed into an interface timing queue. According to the preset matrix construction rules, the interface timing queue is transformed into an interface timing matrix; Matrix matching calculation is performed on the interface timing matrix to obtain the matrix matching result; If the matrix matching result does not meet the preset conditions, it is determined that the path information and / or the interface status information are abnormal.

5. A date component library optimization device for the Web, characterized in that, include: The request retrieval module is used to retrieve date schedule call requests; The information acquisition module is used to call the first interface according to the date schedule call request to obtain the date information corresponding to the date schedule call request; The identification module is used to perform prompt identification processing on the date information according to the preset identification logic to obtain the identified target date component.

6. The apparatus according to claim 5, characterized in that, The device further includes: The display request acquisition module is used to acquire the planned display request for the target date after the date information is processed by the preset identification logic. The plan information matching module is used to filter and match training plans in a pre-existing database according to the plan display request to obtain the first plan information; The plan display module is used to display the first plan information in the form of a floating window.

7. The apparatus according to claim 5, characterized in that, The device further includes: The modified information acquisition module is used to obtain date component modification information through a preset first protocol after the date information is processed by prompting and marking according to a preset marking logic to obtain the marked target date component. The date component modification information includes the prompting and marking processing result; the date component modification information is obtained based on a pre-established link channel. The type determination module is used to determine the type of the date component modification information; The processing module is used to adjust the page display based on the type judgment result, or to re-acquire the date information and provide a prompt for the re-acquired date information.

8. The apparatus according to claim 5, characterized in that, The device further includes: The information acquisition module is used to acquire interface status information and path information of the date plan call path before calling the first interface according to the date plan call request to obtain the date information corresponding to the date plan call request. The interface status information includes data queue information, data transmission status and interface load information of the second interface. The second interface is any interface used to obtain date information, and the second interface includes the first interface. The queue construction module is used to construct an interface time-series queue based on the path information, the data queue information, the data transmission status, and the interface load information. The matrix construction module is used to convert the interface timing queue into an interface timing matrix according to preset matrix construction rules. The matching calculation module is used to perform matrix matching calculation on the interface time series matrix to obtain the matrix matching result; The anomaly detection module is used to determine that the path information and / or the interface status information are abnormal if the matrix matching result does not meet the preset conditions.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to perform the method described in any one of claims 1 to 5 when executed.

10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method as described in any one of claims 1 to 5.