A smart interface switching regulation method and system for a multifunctional interface
By constructing a structured set of switching paths and a timing feature matrix, the degree of component invocation is quantified, enabling intelligent caching and clearing operations. This solves the problems of slow response and high memory consumption when switching between multi-functional interfaces, improving response efficiency and device stability.
Patent Information
- Application Number
- CN202511492693.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-20
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-10-20
AI Technical Summary
The existing multi-functional interface switching relies on frequent manual triggering of physical buttons, resulting in low response efficiency, high memory consumption, rigid caching strategies, and an inability to adjust according to the frequency of component usage, leading to high operational complexity and wasted memory resources.
By constructing a structured switching path set and timing feature matrix through the interface layout and path processing module, the state matrix and timing configuration module, the timing feature and called quantification module, and the cache intelligent adjustment module, the component calling degree is quantified, and intelligent caching and clearing operations are realized.
It improves the switching efficiency of the multi-functional interface, reduces memory usage, and ensures the timeliness of emergency operations and the stability of device operation.
Smart Images

Figure CN120973457B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of interface management, in particular to an intelligent interface switching and adjusting method and system for a multifunctional interface. BACKGROUND
[0002] With the development of intelligent display control devices, the interface functions of display control devices suitable for precise operation are becoming increasingly complex, usually integrating multiple types of interfaces such as parameter adjustment, fault alarm, historical data query, and maintenance record. Such multifunctional interfaces face the following key problems in actual use, taking an oxygen generator as an example:
[0003] The existing interface switching of the oxygen generator relies on frequent manual triggering of physical buttons (e.g., "main interface → parameter setting → flow adjustment" requires 3 button presses), and lacks structured management of switching behavior, with disordered switching paths and low response efficiency. In emergency situations (e.g., rapid adjustment of patient oxygen concentration), users may experience operation delays due to path confusion, and even cause medical risks; experimental data shows that the average response time of commonly used interfaces of the oxygen generator (such as oxygen concentration adjustment) under the traditional switching method is 0.7-1.2s, which cannot meet the real-time adjustment requirements;
[0004] Existing technologies mostly adopt "full caching" or "no caching" strategies, with rigid caching strategies and high memory occupation. If all interface components are cached, the memory occupation rate of the oxygen generator can reach more than 35% after 12 hours of operation, easily leading to interface lag and data refresh delay; if not cached, the components need to be reloaded every time the switching is performed, further prolonging the response time, and the memory resources cannot be adjusted according to the differences in component usage frequency, such as the "maintenance record" interface, which is only called 1-2 times a week, but is cached equally with the "parameter adjustment" interface, which is called dozens of times a day, resulting in waste of memory resources;
[0005] The existing system cannot objectively quantify the actual call frequency of interface components, and only relies on user subjective setting of "frequently used interfaces", leading to mismatching of caching resources, for example, postoperative patients need to frequently monitor oxygen concentration and flow, and the corresponding interface components should be cached preferentially, but the traditional system cannot automatically identify such usage habits and still needs manual setting, increasing the operation complexity and poor adaptability (different patients have different interface usage requirements). SUMMARY
[0006] The present application aims to provide an intelligent interface switching and adjusting method and system for a multifunctional interface to solve the problems raised in the background.
[0007] To solve the above technical problems, the present application provides the following technical solutions:
[0008] An intelligent interface switching and adjustment system for a multi-functional interface, the system includes: an interface layout and path processing module, a state matrix and timing configuration module, a timing feature and called measurement module, and a cache intelligent adjustment module;
[0009] The interface layout and path processing module is used to import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points, and generate a set of switching paths.
[0010] The state matrix and timing configuration module constructs an interface state matrix based on the switching path set and configures a synchronization timing set containing synchronization sequence fragments.
[0011] The timing feature and called metric module is used to add timing features to the interface state matrix, form a timing feature matrix, and evaluate the called degree of the timing feature matrix;
[0012] The cache intelligent adjustment module is used to determine whether to trigger a cache instruction based on the degree of invocation, quantify the cache adjustment duration, and control the data storage to perform cache or intelligent clearing operations.
[0013] As a preferred embodiment of the present invention, the interface layout and path processing module includes a layout diagram import marking unit and a switching path set generation unit;
[0014] The layout diagram import marking unit is used to import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points respectively, and uniformly number the marked position points and trigger points respectively.
[0015] The switching path set generation unit forms a touch switching path between any two interface switching trigger points based on the functional execution logic order of the interface component box, thereby constituting a switching behavior and generating a switching path set.
[0016] As a preferred embodiment of the present invention, the state matrix and timing configuration module includes a state matrix construction unit and a synchronization timing set configuration unit;
[0017] The state matrix construction unit is used to construct an interface state matrix with the switching behavior number as the row number and the interface component box position point number as the column number, and to map the switching path set to the corresponding row to form an interface state matrix between different interface switching trigger points.
[0018] The synchronization time set configuration unit is used to uniformly set the synchronization time nodes of the data cache, divide the synchronization sequence segments between adjacent time nodes, and form a synchronization time set containing multiple synchronization sequence segments.
[0019] As a preferred embodiment of the present invention, the timing feature and called degree quantification module includes a timing feature appending unit and a called degree calculation unit;
[0020] The timing feature addition unit locks the interface component boxes called within each synchronization sequence segment based on the synchronization timing set, and sets 1 or 0 at the corresponding position in the interface state matrix according to the locking state of the interface component boxes, thereby adding timing features to the interface state matrix to generate a timing feature matrix.
[0021] The called degree calculation unit is used to calculate the similarity between the current time series feature matrix and the historical time series feature matrix, and to count the number of valid similarities by combining a preset similarity threshold. The called degree of the current time series feature matrix is quantified by the proportion of valid similarities.
[0022] As a preferred embodiment of the present invention, the cache intelligent adjustment module includes a cache trigger judgment unit and a cache duration calculation and clearing unit;
[0023] The cache triggering judgment unit is used to preset the call degree threshold, compare the call degree of the time sequence feature matrix with the call degree threshold, and determine whether to trigger the cache instruction of the interface component box.
[0024] The cache duration calculation and clearing unit is used to extract the synchronization sequence fragments of the corresponding interface component boxes when the cache is triggered, form a cache timing feature set, calculate the average duration of the continuous timing range as the cache adjustment duration, control the data storage to cache the interface component boxes according to the cache adjustment duration, and perform intelligent clearing of the interface component boxes if the cache adjustment duration is exceeded.
[0025] A method for intelligent interface switching and adjustment for multi-functional interfaces, comprising the following steps:
[0026] Step S1: Import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points and assign them uniform numbers, and form a touch switching path between the interface switching trigger points according to the functional execution logic order of the interface component boxes, and generate a switching path set.
[0027] Step S2: Construct an interface state matrix based on the switching path set, map the switching path set to the interface state matrix, and uniformly configure the synchronization timing of the data cache to form a synchronization timing set composed of synchronization sequence fragments;
[0028] Step S3: Based on the synchronization time sequence set, lock the interface component boxes called within each synchronization sequence segment. Set the interface component box to 1 or 0 according to whether it is locked in the corresponding position in the interface state matrix. Add timing features to the interface state matrix to form a timing feature matrix. Evaluate the calling degree of the timing feature matrix according to the order of the synchronization sequence segments.
[0029] Step S4: Determine whether the invocation degree of the timing feature matrix has reached the invocation degree threshold. If it has, trigger the caching instruction of the interface component box, extract the corresponding synchronization sequence fragment to form a cache timing feature set and quantify the cache adjustment duration to control the data storage to continuously cache according to the cache adjustment duration. If it has not reached the threshold, do not trigger the caching instruction. If the cache adjustment duration is exceeded, perform intelligent clearing on the interface component box to release the memory of the data storage.
[0030] As a preferred embodiment of the present invention, the specific implementation process of step S1 includes:
[0031] Import the interface layout diagram of the display control device, and mark the interface component box position points and interface switching trigger points in the interface layout diagram. The marked interface component box position points and interface switching trigger points are uniformly numbered. Each interface component box position point corresponds to an interface component box with a unique functional attribute. The interface switching trigger point is the physical medium that triggers the interface switching operation.
[0032] Between any two interface switching trigger points, a touch point switching path is formed based on the functional execution logic order of the interface component boxes. This path constitutes the switching behavior from the current interface component box to the target interface component box, and a set of switching paths is generated, denoted as . ,in, and Let i and j represent the trigger points for the interface switching, respectively, where i ≠ j. Let A represent the position point of the a-th UI component frame, and A represent the total number of UI component frame positions. Indicates the trigger point for interface switching. Switch trigger points on the interface The corresponding set of switching paths generated between them, where x is the number of the switching action;
[0033] It should be noted that the component calls of multifunctional interfaces (such as oxygen concentrators) have clear functional execution logic relationships (for example, after adjusting the oxygen concentration, the user will usually check the flow monitoring; after powering on, the main interface is entered first, and then the user jumps to the parameter or alarm interface as needed). Based on this logic, a set of switching paths is generated, which can transform disordered manual switching behavior into structured path data and accurately locate the relationship between "current component and target component".
[0034] As a preferred embodiment of the present invention, the specific implementation process of step S2 includes:
[0035] Based on the switching path set, a UI state matrix is constructed, where the row numbers of the UI state matrix are the numbers of the switching behaviors, and the column numbers are the numbers of the UI component box positions. The switching path set... Mapped to the x-th row of the interface state matrix, forming the interface switching trigger point. Switch trigger points on the interface The interface state matrix between them is denoted as ;
[0036] The synchronization timing of the data cache is configured uniformly to form a synchronization timing set, denoted as . ,in, This represents the nth synchronization sequence segment consisting of two adjacent synchronization time nodes, where N represents the total number of synchronization sequence segments.
[0037] As a preferred embodiment of the present invention, the specific implementation process of step S3 includes:
[0038] Based on the synchronization time set, lock onto the synchronization sequence segment. All UI component frames called within the synchronized sequence segment Inner interface component box If locked, then in the interface state matrix Lieutenant General Interface Component Frame All corresponding matrix elements are set to 1. If in a synchronization sequence segment... Inner interface component box If not locked, then in the interface state matrix Lieutenant General Interface Component Frame All corresponding matrix elements are set to 0 to adjust the interface state matrix. Additional time series features are denoted as the time series feature matrix. ;
[0039] It should be noted that the invocation of interface components has a dynamic time dimension (e.g., within 1 hour of the oxygen concentrator being turned on, the "Parameter Settings" interface is invoked 80% of the time; after 8 hours of operation, the "Historical Data Query" interface is invoked 60% of the time). By adding time-series features to the interface state matrix (dividing the synchronization sequence into 10-second intervals), the component invocation status at different time periods can be recorded, overcoming the deficiency of traditional "static matrices" in reflecting time-dimensional differences. Furthermore, the intervals for different time nodes can be set according to the actual application of the display control equipment, thereby achieving a multi-scenario architecture for the historical time-series feature matrix.
[0040] Based on the order of synchronization sequence segments in the synchronization time series set, the invocation degree of the time series feature matrix is quantized. In the formula, e is the current synchronization sequence segment. The serial number, Representing the time series feature matrix With the current time series feature matrix The number of matrix elements with a value of 1 after a Boolean intersection operation between them. Representing the time series feature matrix With the current time series feature matrix The number of matrix elements with a value of 1 after a Boolean logical AND operation between them. Representing the time series feature matrix With the current time series feature matrix Similarity between them The current time series feature matrix The degree to which the function is invoked, where P is a preset similarity threshold. As an indicator function, if similarity If the similarity threshold P is greater than or equal to the similarity threshold, then let If similarity If the similarity is less than the similarity threshold P, then let ;
[0041] It should be noted that the core of the call frequency is to reflect the "frequency of repeated use" of a component. However, call data in a single time period cannot reflect frequency characteristics. By calculating the similarity between the current time-series feature matrix and the historical matrix (using the "intersection-union ratio": number of intersection elements / number of union elements), the repeated call of components in different time periods can be objectively statistically analyzed. For example, the "oxygen concentration adjustment" component of the oxygen concentrator was called in all three historical time-series matrices, and the similarity with the current matrix reached 1.0, indicating that its call frequency is high, thus avoiding the bias of subjectively setting "frequently used components".
[0042] As a preferred embodiment of the present invention, the specific implementation process of step S4 includes:
[0043] A preset call threshold is set if the current time series feature matrix... If the invocation degree is greater than or equal to the invocation degree threshold, the caching instruction of the UI component box is triggered; otherwise, the caching instruction of the UI component box is not triggered. The caching method is as follows:
[0044] For the current time series feature matrix The matrix element in the text corresponds to the UI component box with the value 1. Switching trigger points in the interface Switch trigger points on the interface The nth time series feature matrix formed between them If there is a UI component box If the corresponding matrix element is set to 1, then the synchronization sequence segment is extracted. ;
[0045] Collect all extracted synchronization sequence fragments and construct them as the interface switching trigger points. Switch trigger points on the interface Interface component boxes between The cache time-series feature set, denoted as ,and ;
[0046] In cache time-series feature set In this process, a time series range consisting of consecutive synchronization sequence segments is captured, wherein the time series range is composed of at least two synchronization sequence segments with adjacent sequence numbers; the duration of each time series range is obtained, and the duration of the h-th time series range is denoted as . Quantify the UI component box Cache adjustment duration In the formula, H represents the cache time-series feature set. The total number of time ranges captured in the process;
[0047] The data storage in the display control device adjusts the cache duration. For UI component boxes Implement continuous caching; if the cache adjustment period is exceeded... Then the data storage device is for the interface component box Perform intelligent cleanup;
[0048] It should be noted that the core requirement of caching is "fast response for frequently used components and memory release for infrequently used components". A preset call frequency threshold is set (e.g., 0.4 for an oxygen generator, corresponding to a component called ≥3 times per week). When the call frequency of a component is ≥ the call frequency threshold, it indicates that it is a frequently used component (e.g., "oxygen concentration adjustment"), and triggering caching can shorten the next loading time. When the call frequency is < the call frequency threshold (e.g., "maintenance records", called ≤1 time per week), it is not cached and is cleared after timeout to avoid memory occupation.
[0049] Compared with existing technologies, the beneficial effects achieved by this invention are as follows: This invention imports the interface layout diagram of the display control device, marks the position points of interface component boxes and interface switching trigger points, and generates a structured switching path set; it constructs an interface state matrix based on the path set, and combines it with a synchronization timing set to form a timing feature matrix; it quantifies the component call degree by measuring the similarity between the current and historical timing feature matrices, and triggers intelligent caching or clearing operations based on the call degree threshold. This invention solves the problems of slow response and high memory consumption in existing multi-functional interface switching, and is especially suitable for display control devices requiring precise operation, such as oxygen concentrators. It can improve the efficiency of switching frequently used interfaces and ensure the timeliness of emergency operations and the stability of equipment operation. Attached Figure Description
[0050] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof.
[0051] Figure 1 This is a schematic diagram illustrating the steps of an intelligent interface switching and adjustment method for a multi-functional interface according to the present invention. Detailed Implementation
[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0053] In this first embodiment: an intelligent interface switching and adjustment system for a multi-functional interface is provided. The system includes: an interface layout and path processing module, a state matrix and timing configuration module, a timing feature and called measurement module, and a cache intelligent adjustment module.
[0054] The interface layout and path processing module is used to import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points, and generate a set of switching paths.
[0055] The interface layout and path processing module includes a layout diagram import marker unit and a switching path set generation unit.
[0056] The layout diagram import marking unit is used to import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points respectively, and uniformly number the marked position points and trigger points.
[0057] The switching path set generation unit, based on the functional execution logic order of the interface component box, forms a touch switching path between any two interface switching trigger points, constitutes the switching behavior, and generates a switching path set.
[0058] The state matrix and timing configuration module constructs the interface state matrix based on the switching path set and configures the synchronization timing set containing synchronization sequence fragments;
[0059] The state matrix and timing configuration module includes a state matrix construction unit and a synchronization timing set configuration unit.
[0060] The state matrix construction unit is used to construct the interface state matrix with the switching behavior number as the row number and the interface component box position point number as the column number, and to map the switching path set to the corresponding row to form the interface state matrix between different interface switching trigger points.
[0061] The synchronization time set configuration unit is used to uniformly set the synchronization time nodes of the data cache, divide the synchronization sequence segments between adjacent time nodes, and form a synchronization time set containing multiple synchronization sequence segments.
[0062] The timing feature and call metric module is used to attach timing features to the interface state matrix, form a timing feature matrix, and evaluate the call frequency of the timing feature matrix.
[0063] The timing feature and called degree metric module includes a timing feature appending unit and a called degree calculation unit;
[0064] The timing feature addition unit locks the interface component boxes called within each synchronization sequence segment based on the synchronization timing set, and sets 1 or 0 at the corresponding position in the interface state matrix according to the locking state of the interface component box, thereby adding timing features to the interface state matrix to generate a timing feature matrix.
[0065] The callability calculation unit is used to calculate the similarity between the current time series feature matrix and the historical time series feature matrix, and to count the number of valid similarities by combining a preset similarity threshold. The callability of the current time series feature matrix is quantified by the proportion of valid similarities.
[0066] The cache intelligent adjustment module is used to determine whether to trigger a cache instruction based on the degree of invocation, quantify the cache adjustment duration, and control the data storage to perform cache or intelligent clearing operations.
[0067] The cache intelligent adjustment module includes a cache trigger judgment unit and a cache duration calculation and clearing unit;
[0068] The cache trigger judgment unit is used to preset the call degree threshold, compare the call degree of the time sequence feature matrix with the call degree threshold, and determine whether to trigger the cache instruction of the interface component box.
[0069] The cache duration calculation and clearing unit is used to extract the synchronization sequence fragments of the corresponding interface component boxes when the cache is triggered, form a cache timing feature set, calculate the average duration of the continuous timing range as the cache adjustment duration, control the data storage to cache the interface component boxes according to the cache adjustment duration, and perform intelligent clearing of the interface component boxes if the cache adjustment duration is exceeded.
[0070] Please see Figure 1 In this second embodiment, a smart interface switching and adjustment method for a multi-functional interface is provided, applicable to the first embodiment described above. This embodiment takes the application of an oxygen concentrator display control device as an example. (Main interface, displaying real-time oxygen concentration and flow rate) (Oxygen concentration adjustment interface, 0-95% step adjustment) (Flow rate adjustment interface, adjustable in steps from 1 to 10 L / min) (The fault alarm interface displays the fault code and troubleshooting suggestions.) (Historical data query interface, oxygen concentration / flow rate curve for the past 7 days) (Maintenance record interface, filter replacement time, equipment maintenance record). (Press "Main Interface") (Press the "Parameter Settings" button) (Press the "Alarm Inquiry" button) (Press the "Historical Data" button) (Press "Maintenance");
[0071] The method includes the following steps:
[0072] Step S1: Import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points and assign them uniform numbers, and form a touch switching path between the interface switching trigger points according to the functional execution logic order of the interface component boxes, and generate a switching path set.
[0073] For example, import the interface layout diagram of the display control device, and mark the interface component box position points and interface switching trigger points in the interface layout diagram. The marked interface component box position points and interface switching trigger points are uniformly numbered. Each interface component box position point corresponds to an interface component box with a unique functional attribute, and the interface switching trigger point is the physical medium that triggers the interface switching operation.
[0074] Between any two interface switching trigger points, a touch point switching path is formed based on the functional execution logic order of the interface component boxes. This path constitutes the switching behavior from the current interface component box to the target interface component box, and a set of switching paths is generated, denoted as . ,in, and Let i and j represent the trigger points for the interface switching, respectively, where i ≠ j. Let A represent the position point of the a-th UI component frame, and A represent the total number of UI component frame positions. Indicates the trigger point for interface switching. Switch trigger points on the interface The corresponding set of switching paths generated between them, where x is the number of the switching action;
[0075] For example, based on the user operation logic of the oxygen concentrator (by analyzing 1000 clinical operation logs), a touchpoint switching path can be formed between any two trigger points:
[0076] Switching behavior : (Main Interface) → (Parameter settings), the logical order is "main interface → oxygen concentration adjustment → flow rate adjustment", path set ;
[0077] Switching behavior : → (Alarm query), the logical order is "Main interface → Fault alarm", path set ;
[0078] Switching behavior : → (Historical data), the logical order is "Oxygen concentration adjustment → Main interface → Historical data", path set ;
[0079] Switching behavior : → (Maintenance), the logical order is "Main Interface → Maintenance Records", path set .
[0080] Step S2: Construct an interface state matrix based on the switching path set, map the switching path set to the interface state matrix, and uniformly configure the synchronization timing of the data cache to form a synchronization timing set composed of synchronization sequence fragments;
[0081] For example, based on the set of switching paths, an interface state matrix is constructed, where the row numbers of the interface state matrix are the numbers of the switching behaviors, and the column numbers are the numbers of the position points of the interface component boxes. Then, the set of switching paths... Mapped to the x-th row of the interface state matrix, forming the interface switching trigger point. Switch trigger points on the interface The interface state matrix between them is denoted as ;
[0082] The synchronization timing of the data cache is configured uniformly to form a synchronization timing set, denoted as . ,in, This represents the nth synchronization sequence segment consisting of two adjacent synchronization time nodes, where N represents the total number of synchronization sequence segments;
[0083] For example, the data cache synchronization time node is set to one every 10 seconds (balancing data accuracy and redundancy control), and 5 synchronization sequence segments are divided: ,in Let N be the nth synchronization sequence segment, where N=5.
[0084] Step S3: Based on the synchronization time sequence set, lock the interface component boxes called within each synchronization sequence segment. Set the interface component box to 1 or 0 according to whether it is locked in the corresponding position in the interface state matrix. Add timing features to the interface state matrix to form a timing feature matrix. Evaluate the calling degree of the timing feature matrix according to the order of the synchronization sequence segments.
[0085] For example, based on the synchronization time set, lock onto the synchronization sequence segment. All UI component frames called within the synchronized sequence segment Inner interface component box If locked, then in the interface state matrix Lieutenant General Interface Component Frame All corresponding matrix elements are set to 1. If in a synchronization sequence segment... Inner interface component box If not locked, then in the interface state matrix Lieutenant General Interface Component Frame All corresponding matrix elements are set to 0 to adjust the interface state matrix. Additional time series features are denoted as the time series feature matrix. ;
[0086] Based on the order of synchronization sequence segments in the synchronization time series set, the invocation degree of the time series feature matrix is quantized. In the formula, e is the current synchronization sequence segment. The serial number, Representing the time series feature matrix With the current time series feature matrix The number of matrix elements with a value of 1 after a Boolean intersection operation between them. Representing the time series feature matrix With the current time series feature matrix The number of matrix elements with a value of 1 after a Boolean logical AND operation between them. Representing the time series feature matrix With the current time series feature matrix Similarity between them The current time series feature matrix The degree to which the function is invoked, where P is a preset similarity threshold. As an indicator function, if similarity If the similarity threshold P is greater than or equal to the similarity threshold, then let If similarity If the similarity is less than the similarity threshold P, then let ;
[0087] For example, locking each t based on a synchronization time set n The component box called internally sets its value to 1 or 0 at the corresponding position in the interface state matrix:
[0088] User Operations → , call , , Temporal feature matrix ;
[0089] User Operations → , call , Temporal feature matrix ;
[0090] User's next action → , call , , Temporal feature matrix ;
[0091] User Operations → , call , , Temporal feature matrix ;
[0092] User Operations → , call , , Temporal feature matrix ;
[0093] The preset similarity threshold P=0.8 (determined through clinical testing: similarity ≥0.8 corresponds to a component repetition rate ≥80%), and the current synchronization sequence segment is set. Calculate the similarity with historical segments n=1-4:
[0094] : and Number of intersection elements The union of elements has 3 elements. F=1;
[0095] : and Number of intersection elements number of elements in the union , F=0;
[0096] : and The number of elements in the intersection is 3, and the number of elements in the union is 3. F=1;
[0097] : and Number of intersection elements number of elements in the union , F=0;
[0098] Called degree .
[0099] Step S4: Determine whether the invocation degree of the timing feature matrix has reached the invocation degree threshold. If it has, trigger the caching instruction of the interface component box, extract the corresponding synchronization sequence fragment to form a cache timing feature set and quantify the cache adjustment duration to control the data storage to continuously cache according to the cache adjustment duration. If it has not reached the threshold, do not trigger the caching instruction. If the cache adjustment duration is exceeded, perform intelligent clearing on the interface component box to release the memory of the data storage.
[0100] For example, a preset call degree threshold is set, if the current time series feature matrix If the invocation degree is greater than or equal to the invocation degree threshold, the caching instruction of the UI component box is triggered; otherwise, the caching instruction of the UI component box is not triggered. The caching method is as follows:
[0101] For the current time series feature matrix The matrix element in the text corresponds to the UI component box with the value 1. Switching trigger points in the interface Switch trigger points on the interface The nth time series feature matrix formed between them If there is a UI component box If the corresponding matrix element is set to 1, then the synchronization sequence segment is extracted. ;
[0102] Collect all extracted synchronization sequence fragments and construct them as the interface switching trigger points. Switch trigger points on the interface Interface component boxes between The cache time-series feature set, denoted as ,and ;
[0103] In cache time-series feature set In this process, a time series range consisting of consecutive synchronization sequence segments is captured, where each time series range is composed of at least two synchronization sequence segments with adjacent sequence numbers; the duration of each time series range is obtained, and the duration of the h-th time series range is denoted as... Quantify the UI component box Cache adjustment duration In the formula, H represents the cache time-series feature set. The total number of time ranges captured in the process;
[0104] The data storage in the display control device adjusts the cache duration. For UI component boxes Implement continuous caching; if the cache adjustment period is exceeded... Then the data storage device is for the interface component box Perform intelligent cleanup.
[0105] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0106] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for intelligent interface switching and adjustment for a multi-functional interface, characterized in that, The method includes the following steps: Step S1: Import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points and assign them uniform numbers, and form a touch switching path between the interface switching trigger points according to the functional execution logic order of the interface component boxes, and generate a switching path set. Step S2: Construct an interface state matrix based on the switching path set, map the switching path set to the interface state matrix, and uniformly configure the synchronization timing of the data cache to form a synchronization timing set composed of synchronization sequence fragments; Step S3: Based on the synchronization time sequence set, lock the interface component boxes called within each synchronization sequence segment. Set the interface component box to 1 or 0 according to whether it is locked in the corresponding position in the interface state matrix. Add timing features to the interface state matrix to form a timing feature matrix. Evaluate the calling degree of the timing feature matrix according to the order of the synchronization sequence segments. Step S4: Determine whether the invocation degree of the timing feature matrix has reached the invocation degree threshold. If it has, trigger the caching instruction of the interface component box, extract the corresponding synchronization sequence fragment to form a cache timing feature set and quantify the cache adjustment duration to control the data storage to continuously cache according to the cache adjustment duration. If it has not reached the threshold, do not trigger the caching instruction. If the cache adjustment duration is exceeded, perform intelligent clearing on the interface component box to release the memory of the data storage.
2. The intelligent interface switching and adjustment method for a multi-functional interface according to claim 1, characterized in that, The specific implementation process of step S1 includes: Import the interface layout diagram of the display control device, and mark the interface component box position points and interface switching trigger points in the interface layout diagram. The marked interface component box position points and interface switching trigger points are uniformly numbered. Each interface component box position point corresponds to an interface component box with a unique functional attribute. The interface switching trigger point is the physical medium that triggers the interface switching operation. Between any two interface switching trigger points, a touch point switching path is formed based on the functional execution logic order of the interface component boxes. This path constitutes the switching behavior from the current interface component box to the target interface component box, and a set of switching paths is generated, denoted as . ,in, and Let i and j represent the trigger points for the interface switching, respectively, where i ≠ j. Let A represent the position point of the a-th UI component frame, and A represent the total number of UI component frame positions. Indicates the trigger point for interface switching. Switch trigger points on the interface The corresponding set of switching paths is generated between them, and x is the number of the switching behavior.
3. The intelligent interface switching and adjustment method for a multi-functional interface according to claim 2, characterized in that, The specific implementation process of step S2 includes: Based on the switching path set, a UI state matrix is constructed, where the row numbers of the UI state matrix are the numbers of the switching behaviors, and the column numbers are the numbers of the UI component box positions. The switching path set... Mapped to the x-th row of the interface state matrix, forming the interface switching trigger point. Switch trigger points on the interface The interface state matrix between them is denoted as ; The synchronization timing of the data cache is configured uniformly to form a synchronization timing set, denoted as . ,in, This represents the nth synchronization sequence segment consisting of two adjacent synchronization time nodes, where N represents the total number of synchronization sequence segments.
4. The intelligent interface switching and adjustment method for a multi-functional interface according to claim 3, characterized in that, The specific implementation process of step S3 includes: Based on the synchronization time set, lock onto the synchronization sequence segment. All UI component frames called within the synchronized sequence segment Inner interface component box If locked, then in the interface state matrix Lieutenant General Interface Component Frame All corresponding matrix elements are set to 1. If in a synchronization sequence segment... Inner interface component box If not locked, then in the interface state matrix Lieutenant General Interface Component Frame All corresponding matrix elements are set to 0 to adjust the interface state matrix. Additional time series features are denoted as the time series feature matrix. ; Based on the order of synchronization sequence segments in the synchronization time series set, the invocation degree of the time series feature matrix is quantized. In the formula, e is the current synchronization sequence segment. The serial number, Representing the time series feature matrix With the current time series feature matrix The number of matrix elements with a value of 1 after a Boolean intersection operation between them. Representing the time series feature matrix With the current time series feature matrix The number of matrix elements with a value of 1 after a Boolean logical AND operation between them. Representing the time series feature matrix With the current time series feature matrix Similarity between them The current time series feature matrix The degree to which the function is invoked, where P is a preset similarity threshold. As an indicator function, if similarity If the similarity threshold P is greater than or equal to the similarity threshold, then let If similarity If the similarity is less than the similarity threshold P, then let .
5. The intelligent interface switching and adjustment method for a multi-functional interface according to claim 4, characterized in that, The specific implementation process of step S4 includes: A preset call threshold is set if the current time series feature matrix... If the invocation degree is greater than or equal to the invocation degree threshold, the caching instruction of the UI component box is triggered; otherwise, the caching instruction of the UI component box is not triggered. The caching method is as follows: For the current time series feature matrix The matrix element in the text corresponds to the UI component box with the value 1. Switching trigger points in the interface Switch trigger points on the interface The nth time series feature matrix formed between them If there is a UI component box If the corresponding matrix element is set to 1, then the synchronization sequence segment is extracted. ; Collect all extracted synchronization sequence fragments and construct them as the interface switching trigger points. Switch trigger points on the interface Interface component boxes between The cache time-series feature set, denoted as ,and ; In cache time-series feature set In this process, a time series range consisting of consecutive synchronization sequence segments is captured, wherein the time series range is composed of at least two synchronization sequence segments with adjacent sequence numbers; the duration of each time series range is obtained, and the duration of the h-th time series range is denoted as... Quantify the UI component box Cache adjustment duration In the formula, H represents the cache time-series feature set. The total number of timing ranges captured; the data storage in the display control device adjusts the cache duration. For UI component boxes Implement continuous caching; if the cache adjustment period is exceeded... The data storage device then accesses the interface component box. Perform intelligent cleanup.
6. An intelligent interface switching and adjustment system for a multi-functional interface, comprising executing the intelligent interface switching and adjustment method for a multi-functional interface as described in any one of claims 1-5, characterized in that, The system includes: an interface layout and path processing module, a state matrix and timing configuration module, a timing feature and called metric module, and a cache intelligent adjustment module; The interface layout and path processing module is used to import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points, and generate a set of switching paths. The state matrix and timing configuration module constructs an interface state matrix based on the switching path set and configures a synchronization timing set containing synchronization sequence fragments. The timing feature and called metric module is used to add timing features to the interface state matrix, form a timing feature matrix, and evaluate the called degree of the timing feature matrix; The cache intelligent adjustment module is used to determine whether to trigger a cache instruction based on the degree of invocation, quantify the cache adjustment duration, and control the data storage to perform cache or intelligent clearing operations.
7. The intelligent interface switching and adjustment system for a multi-functional interface according to claim 6, characterized in that, The interface layout and path processing module includes a layout diagram import and marking unit and a path switching set generation unit; The layout diagram import marking unit is used to import the interface layout diagram of the display control device, mark the position points of the interface component boxes and the interface switching trigger points respectively, and uniformly number the marked position points and trigger points respectively. The switching path set generation unit forms a touch switching path between any two interface switching trigger points based on the functional execution logic order of the interface component box, thereby constituting a switching behavior and generating a switching path set.
8. The intelligent interface switching and adjustment system for a multi-functional interface according to claim 6, characterized in that, The state matrix and timing configuration module includes a state matrix construction unit and a synchronization timing set configuration unit; The state matrix construction unit is used to construct an interface state matrix with the switching behavior number as the row number and the interface component box position point number as the column number, and to map the switching path set to the corresponding row to form an interface state matrix between different interface switching trigger points. The synchronization time set configuration unit is used to uniformly set the synchronization time nodes of the data cache, divide the synchronization sequence segments between adjacent time nodes, and form a synchronization time set containing multiple synchronization sequence segments.
9. The intelligent interface switching and adjustment system for a multi-functional interface according to claim 6, characterized in that, The temporal feature and called degree quantification module includes a temporal feature appending unit and a called degree calculation unit; The timing feature addition unit locks the interface component boxes called within each synchronization sequence segment based on the synchronization timing set, and sets 1 or 0 at the corresponding position in the interface state matrix according to the locking state of the interface component boxes, thereby adding timing features to the interface state matrix to generate a timing feature matrix. The called degree calculation unit is used to calculate the similarity between the current time series feature matrix and the historical time series feature matrix, and to count the number of valid similarities by combining a preset similarity threshold. The called degree of the current time series feature matrix is quantified by the proportion of valid similarities.
10. The intelligent interface switching and adjustment system for a multi-functional interface according to claim 6, characterized in that, The cache intelligent adjustment module includes a cache trigger judgment unit and a cache duration calculation and clearing unit; The cache triggering judgment unit is used to preset the call degree threshold, compare the call degree of the time sequence feature matrix with the call degree threshold, and determine whether to trigger the cache instruction of the interface component box. The cache duration calculation and clearing unit is used to extract the synchronization sequence fragments of the corresponding interface component boxes when the cache is triggered, form a cache timing feature set, calculate the average duration of the continuous timing range as the cache adjustment duration, control the data storage to cache the interface component boxes according to the cache adjustment duration, and perform intelligent clearing of the interface component boxes if the cache adjustment duration is exceeded.
Citation Information
Patent Citations
Method for managing interface switching logic
CN105446715A
Interface layout generation method based on intelligent gateway and intelligent gateway
CN120675889A