Configuration interaction method and device, equipment, medium and product
By dynamically displaying configuration elements that match the interactive commands in the visual configuration interface and updating the rendering results in real time, the problem of interface congestion and difficulty of operation caused by the large number of configuration items is solved, and an efficient and intuitive configuration experience is achieved.
Patent Information
- Application Number
- CN202512060534.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-14
AI Technical Summary
Existing visual configuration solutions have a large number of configuration items, resulting in numerous interface elements, which increases the visual filtering burden and operational difficulty of objects, and can easily cause slow page loading and interactive lag.
By displaying an interactive command area in the configuration interface, a dynamic configuration panel is dynamically displayed in response to interactive commands, containing matching interactive configuration elements, and the rendering results are updated in real time in the visualization interface, establishing a close mapping relationship between operational elements and visual effects.
It effectively solves the problems of interface congestion and information overload caused by a large number of configuration items, maximizes screen space utilization, lowers the operation threshold, improves configuration efficiency and accuracy, provides instant and intuitive visual feedback, and simplifies the configuration process of complex systems.
Smart Images

Figure CN121858000A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of configuration, and more specifically, to a configuration interaction method, apparatus, device, medium, and product. Background Technology
[0002] With the rapid development of data visualization technology, the functions of systems such as ECharts have become increasingly rich, and the number of their configuration items has grown exponentially, often containing tens of thousands of nested parameters.
[0003] Existing visual configuration solutions typically expose all system configuration items to the object through visual controls, which are organized hierarchically in sidebars or pop-ups. To aid in searching, some systems provide keyword-based search boxes, allowing the object to locate specific configuration items by entering parameter names. However, due to the large number of configuration items and numerous controls resulting in a multitude of interface elements, this not only greatly increases the visual filtering burden on the object and the difficulty of configuring by operating controls, but also easily leads to slow page loading and interactive lag. Summary of the Invention
[0004] The embodiments of this application provide a configuration interaction method, configuration interaction device, electronic device, computer-readable storage medium, and computer program product, which construct an efficient interaction of instruction-on-demand configuration element display-real-time feedback, thereby improving the accuracy and efficiency of configuration interaction.
[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0006] According to one aspect of the embodiments of this application, a configuration interaction method is provided, comprising: displaying a configuration interface for a target system, the configuration interface including an instruction interaction area; responding to an interaction instruction received through the instruction interaction area, displaying a dynamic configuration panel in the configuration interface, the dynamic configuration panel including interactive configuration elements matching the interaction instruction; responding to a trigger operation on the interactive configuration elements, displaying a visual display interface, and updating and displaying the rendering result of the target system in the visual display interface in real time to present a visual effect consistent with the interactive configuration elements after the trigger operation.
[0007] According to one aspect of the embodiments of this application, a configuration interaction device is provided, comprising: a display module for displaying a configuration interface for a target system, the configuration interface including an instruction interaction area; a display module for displaying a dynamic configuration panel in the configuration interface in response to an interaction instruction received through the instruction interaction area, the dynamic configuration panel including interactive configuration elements matching the interaction instruction; the display module is further configured to display a visual display interface in response to a trigger operation on the interactive configuration elements; the display module is further configured to update and display the rendering result of the target system in the visual display interface in real time to present a visual effect consistent with the interactive configuration elements after the trigger operation.
[0008] In one embodiment of this application, the interactive instructions include configuration content belonging to different configuration categories. The display module is further configured to display multiple visual separation areas in the dynamic configuration panel, and to aggregate and display the interactive configuration elements corresponding to the configuration content in the corresponding visual separation areas according to their respective configuration categories. If a trigger operation targeting an area outside the dynamic configuration panel is detected, the display of the dynamic configuration panel is terminated, thereby hiding the dynamic configuration panel.
[0009] In one embodiment of this application, the configuration interface includes the visualization display interface; the display module is further configured to obtain the presentation area of the visual target object in the target system pointed to by the interaction command in the visualization display interface; in the visualization display interface, the dynamic configuration panel is displayed in a floating form around the presentation area; wherein, the display position of the dynamic configuration panel is dynamically associated with the presentation area, and the display area of the dynamic configuration panel does not obscure the visual target object.
[0010] In one embodiment of this application, the configuration interface includes the visualization display interface; the dynamic configuration panel is presented in the visualization display interface as a layer overlaid on the rendering result of the target system; the display module is further configured to detect in real time in the visualization interface whether there is spatial overlap between the display area of the dynamic configuration panel and the visual target object in the target system; if there is spatial overlap, while updating the rendering result of the target system in the visualization display interface, the background of the dynamic configuration panel is switched to a semi-transparent or transparent visual state, or a visual penetration window is formed in the spatial overlap area to present the visual target object located below the dynamic configuration panel.
[0011] In one embodiment of this application, the dynamic configuration panel further includes associated interactive configuration elements that are logically related to the interactive configuration elements; the display module is further configured to respond to a trigger operation on the interactive configuration element, if the visual change generated by the trigger operation is logically mutually exclusive with the associated interactive configuration element, the associated interactive configuration element is switched to an unavailable visual grayed-out state in the dynamic configuration panel, and a warning mark is displayed to indicate the cause of the conflict; if there is no logical mutual exclusion, the visual effect based on the combined action of the interactive configuration element and the associated interactive configuration element is simultaneously presented in the visualization display interface.
[0012] In one embodiment of this application, the dynamic configuration panel further includes a state verification function group, which includes a visual comparison control and a state rollback control. The display module is also configured to, in response to an interactive operation on the visual comparison control, alternately switch or overlay the visual state of the target system before the triggering operation and the rendering result after the triggering operation in the visual display interface; in response to an interactive operation on the state rollback control, restore the visual state before the triggering operation in the visual display interface, and revert the interactive configuration elements in the dynamic configuration panel to the display state before the triggering operation.
[0013] In one embodiment of this application, the interactive instruction includes multiple instruction content fragments, and the interactive configuration elements in the dynamic configuration panel have a visual mapping relationship with the instruction content fragments in the interactive instruction; the display module is further configured to respond to a focus operation on any of the interactive configuration elements in the dynamic configuration panel, and to highlight the specific instruction content fragment that has a visual mapping relationship with the interactive configuration element in the instruction interaction area. And / or, in response to a selection operation on any instruction content fragment in the instruction interaction area, the interactive configuration element that has a visual mapping relationship with the instruction content fragment is highlighted in the dynamic configuration panel.
[0014] In one embodiment of this application, the interactive configuration element includes an operation control and a visual feature pattern representing the current selected state of the operation control. The display module is further configured to combine and display the operation control and the visual feature pattern in the dynamic configuration panel. The visual feature pattern is presented as a graphical form corresponding to the current selected state of the operation control, so as to display the visual effect corresponding to the current selected state in the dynamic configuration panel.
[0015] In one embodiment of this application, the dynamic configuration panel includes a first display state and a second display state, wherein the display area of the dynamic configuration panel in the first display state is smaller than the display area in the second display state; the display module is further configured to display the dynamic configuration panel in the configuration interface as the first display state, and present only the interactive configuration elements of the first priority in the display area; in response to an expansion trigger operation targeting the edge area or a specific gesture recognition area of the dynamic configuration panel, the dynamic configuration panel is switched from the first display state to the second display state to increase the display area of the dynamic configuration panel, wherein, as the display area increases, the interactive configuration elements of the second priority are animated.
[0016] In one embodiment of this application, the dynamic configuration panel further includes a configuration source anchor point control; the display module is further configured to, in response to a drag operation on the configuration source anchor point control, display a visual proxy pattern that follows the cursor movement in the visualization display interface, the visual proxy pattern representing the current configuration state of the interactive configuration element; in response to the end of the drag operation in the target area of the visualization display interface, identify whether there are other visual target objects in the target area; if there are other visual target objects, update the display appearance of the other visual target objects to a visual effect consistent with the interactive configuration element.
[0017] In one embodiment of this application, the apparatus further includes an acquisition module, configured to acquire metadata of each configuration item in the full configuration set of the target system and the current configuration state of the target system, wherein the metadata includes the configuration path, data type, and semantic description information of the configuration item; identify the configuration intent of the interaction instruction based on the semantic information of the interaction instruction, and generate a configuration item recommendation result corresponding to the configuration intent based on the metadata and the current configuration state of the target system, wherein the configuration item recommendation result includes a target configuration path; determine a target configuration item based on the target configuration path, and determine the interaction configuration element based on the target configuration item.
[0018] In one embodiment of this application, the device further includes a configuration module, configured to: identify the data type of the target configuration item based on the metadata; obtain a preset mapping relationship between configuration item data types and interactive configuration elements; instantiate the target configuration item into a corresponding interactive configuration element based on the data type and the mapping relationship, and arrange the generated interactive configuration elements in the layout container of the dynamic configuration panel; and establish a bidirectional data binding relationship between the interactive configuration element and the configuration status data of the target system according to the configuration path corresponding to the target configuration item in the metadata.
[0019] In one embodiment of this application, the display module is further configured to obtain the configuration change value generated by the triggering operation; based on the two-way data binding relationship, synchronously write the configuration change value into the data node pointed to by the target configuration path in the configuration status data of the target system to obtain the updated configuration status data; call the rendering engine interface of the target system to apply the updated configuration status data to the running instance of the target system to drive the visualization display area to perform view redraw and update the rendering result of the target system.
[0020] In one embodiment of this application, the acquisition module is further configured to extract the configuration path, data type, default value, value range, and description of each configuration item from the standard configuration document of the target system, and determine the extracted content as the basic attribute information of each configuration item; perform synonym expansion and keyword annotation processing on each configuration item to generate an extended semantic tag containing a set of synonyms and a set of keywords; establish a logical association index to indicate recommended links between the current configuration item and other related configuration items based on the functional coupling degree between each configuration item; and encapsulate the basic attribute information, the extended semantic tag, and the logical association index into the metadata.
[0021] In one embodiment of this application, the acquisition module is further configured to perform semantic retrieval on the interaction command to retrieve configuration items that are semantically related to the interaction command in the full configuration set, forming a subset of candidate configuration items; retrieve historical operation records that are semantically similar to the interaction command from a preset example library to construct a reference example containing the mapping relationship between the command and the configuration; assemble the meta-information of the subset of candidate configuration items, the current configuration state of the target system, the reference example, and the interaction command into the prompt word context according to a preset structured template; and input the prompt word context into a pre-trained language model to obtain the configuration item recommendation result output by the language model.
[0022] In one embodiment of this application, the configuration item recommendation result further includes the confidence level of the target configuration path; the device further includes a matching module, configured to perform word segmentation and keyword extraction on the interaction instruction to obtain a target key string when the confidence level of the target configuration path is identified to be lower than a preset threshold; perform string fuzzy matching on the full configuration set of the target system based on the target key string; the display module is further configured to render a source prompt identifier in the dynamic configuration panel if a target configuration item is matched, to indicate that the interaction configuration element is generated based on the string fuzzy matching; if no target configuration item is matched, display a visual anomaly prompt in the instruction interaction area, and expand a recommendation intent tag cloud around the instruction interaction area, the recommendation intent tag cloud containing preset popular configuration instructions or candidate instructions with text similarity to the target key string.
[0023] In one embodiment of this application, the configuration item recommendation result further includes the recommended initial value and recommendation reason corresponding to the target configuration path; the display module is further configured to use the recommended initial value as the initial rendering state of the interactive configuration element in the dynamic configuration panel; and to display explanatory prompt information corresponding to the recommendation reason in the dynamic configuration panel along with the interactive configuration element.
[0024] According to one aspect of the embodiments of this application, an electronic device is provided, including one or more processors; and a storage device for storing one or more computer programs, which, when executed by the one or more processors, cause the electronic device to implement the configuration interaction method as described above.
[0025] According to one aspect of the embodiments of this application, the embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of an electronic device, causes the electronic device to perform the configuration interaction method as described above.
[0026] According to one aspect of the embodiments of this application, an embodiment of this application provides a computer program product, including a computer program stored in a computer-readable storage medium, wherein a processor of an electronic device reads from the computer-readable storage medium and executes the computer program, causing the electronic device to perform the configuration interaction method as described above.
[0027] In the technical solution provided by the embodiments of this application, by responding to the interactive commands received in the command interaction area of the configuration interface, and dynamically displaying a dynamic configuration panel containing matching elements in response to the interactive commands, on the one hand, it breaks the limitation of the static layout of the traditional configuration interface that lists all configuration items. It only displays interactive configuration elements that are highly relevant to the current command when the object needs them, effectively solving the problem of interface congestion and information overload caused by a large number of configuration items, maximizing the utilization of screen space, and enabling the object to focus on the configuration content of current interest. On the other hand, the corresponding configuration entry can be directly invoked through the command interaction area, shortening the cumbersome search-click-configuration path to a flat command-configuration path, greatly reducing the operation threshold and cognitive burden, and improving configuration efficiency. Furthermore, by responding to the trigger operation of the interactive configuration elements, a visual display interface is displayed and the rendering results of the target system are updated in real time. A close real-time mapping relationship is established between the operational elements and the visual effects, providing intuitive visual feedback that is WYSIWYG. This allows the user to observe the visual impact of the operation on the target system immediately and intuitively while adjusting the object, thereby improving the accuracy and smoothness of the interaction. For the object, the configuration process has changed from manual searching to expressing intent and obtaining results, which fundamentally simplifies the configuration process of complex systems and improves the user experience while achieving efficient configuration.
[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0029] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0030] Figure 1 This is a schematic diagram of one implementation environment involved in this application.
[0031] Figure 2 This is a flowchart illustrating a configuration interaction method in an exemplary embodiment of this application.
[0032] Figure 3 This is a schematic diagram illustrating a configuration interface and a visualization interface, as shown in an exemplary embodiment of this application.
[0033] Figure 4 This is a schematic diagram illustrating a dynamic configuration panel display, as shown in another exemplary embodiment of this application.
[0034] Figure 5 This is a schematic diagram illustrating a dynamic configuration panel display, as shown in another exemplary embodiment of this application.
[0035] Figure 6 This is a schematic diagram illustrating the configuration interface changes as shown in another exemplary embodiment of this application.
[0036] Figure 7 This is a schematic diagram illustrating the configuration interface changes as shown in another exemplary embodiment of this application.
[0037] Figure 8 This is a schematic diagram illustrating the configuration interface changes as shown in another exemplary embodiment of this application.
[0038] Figure 9 This is a schematic diagram illustrating the configuration interface changes as shown in another exemplary embodiment of this application.
[0039] Figure 10 This is a schematic diagram illustrating a dynamic configuration panel display, as shown in another exemplary embodiment of this application.
[0040] Figure 11 This is a schematic diagram illustrating a dynamic configuration panel display, as shown in another exemplary embodiment of this application.
[0041] Figure 12 This is a schematic diagram illustrating the configuration interface changes as shown in another exemplary embodiment of this application.
[0042] Figure 13 This is a schematic diagram illustrating a dynamic configuration panel and a visual interface, as shown in another exemplary embodiment of this application.
[0043] Figure 14 This is a flowchart illustrating another configuration interaction method as shown in an exemplary embodiment of this application.
[0044] Figure 15 This is a schematic diagram illustrating a dynamic configuration interface as shown in an exemplary embodiment of this application.
[0045] Figure 16 This is a schematic diagram illustrating another dynamically configured interface and command interaction area, as shown in an exemplary embodiment of this application.
[0046] Figure 17 This is a flowchart illustrating another configuration interaction method as shown in an exemplary embodiment of this application.
[0047] Figure 18 This is a schematic diagram illustrating a configuration interaction system, which is another exemplary embodiment of this application.
[0048] Figure 19This is a schematic diagram illustrating the interaction between different layers in a configuration interaction system, as shown in another exemplary embodiment of this application.
[0049] Figure 20 This is a flowchart illustrating a configuration interaction method, which is another exemplary embodiment of this application.
[0050] Figure 21 This is a structural block diagram illustrating a configuration interaction device in an exemplary embodiment of this application.
[0051] Figure 22 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0052] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0053] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0054] The flowcharts shown in the accompanying diagrams are merely illustrative and do not necessarily include all content and operations, nor do they necessarily have to be executed in the described order. For example, some operations may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0055] It should also be noted that "multiple" as mentioned in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0056] The technical solutions of the embodiments of this application will be described in detail below.
[0057] Please see Figure 1 , Figure 1This is a schematic diagram of an implementation environment related to this application. The implementation environment includes a terminal device 100 and a server 200, wherein the target system runs on the server 200.
[0058] The terminal device 100 is used to display a configuration interface, which includes an instruction interaction area. In response to an interaction instruction received through the instruction interaction area, a dynamic configuration panel is displayed in the configuration interface. The dynamic configuration panel contains interactive configuration elements that match the interaction instruction. In response to a trigger operation on the interactive configuration elements, a visual display interface is further displayed, and the rendering result of the target system is updated in real time in the visual display interface to present a visual effect consistent with the interactive configuration elements after the trigger operation.
[0059] Among them, terminal devices can be electronic devices with display functions such as smartphones, tablets, laptops, desktop computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, and aircraft. Servers can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This document does not impose any restrictions on these.
[0060] The terminal device and the server establish a communication connection in advance via a network, enabling them to communicate with each other. The network can be a wired network or a wireless network, and this is not a limitation. It should be noted that in specific embodiments of this application, if the plot or script involves objects, permission or consent from those objects is required when these embodiments are applied to specific products or technologies. Furthermore, the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0061] The following describes in detail the various implementation details of the technical solutions in the embodiments of this application.
[0062] like Figure 2 As shown, Figure 2 This is a flowchart illustrating a configuration interaction method according to an embodiment of this application. This method can be applied to... Figure 1 The implementation environment shown can be executed by a terminal device. The configuration interaction method can include S210 to S230, which are described in detail below.
[0063] S210. Display the configuration interface for the target system. The configuration interface includes a command interaction area.
[0064] In this embodiment of the application, the terminal device first renders and displays a configuration interface, which is a graphical object interface (GUI) for objects to interact with the target system.
[0065] The command interaction area is a specific functional area in the configuration interface, used to receive natural language, keywords, or operation codes input by the object. The command interaction area can be a text input box, a command line window, or a speech-to-text input panel, and there are no restrictions here. The existence of this area allows the object to initiate the configuration process by expressing intent, without having to manually search for configuration items in a complex menu tree.
[0066] S220. In response to an interactive command received through the command interaction area, a dynamic configuration panel is displayed in the configuration interface. The dynamic configuration panel contains interactive configuration elements that match the interactive command.
[0067] In this embodiment, input events in the command interaction area of the configuration interface are detected in real time. When an input operation of an object is detected, an interaction command containing the input content is received. The interaction command includes the configuration intent of the object's target system. A panel area is dynamically generated or invoked in the configuration interface. Unlike traditional static panels, the content of this panel is not fixed, but is generated in real time according to the object's current intent. That is, the panel may be blank or non-existent in the initial state. Only after receiving the object's configuration intent is the corresponding interface structure constructed in real time according to the selected target configuration items.
[0068] Optionally, the dynamic configuration panel only contains interactive configuration elements that match the interactive commands. These interactive configuration elements are visual controls in the graphical object interface used to receive object-triggered operations and intuitively control the display attributes of the target system. They are the concrete representation of the abstract configuration parameters of the target system on the interactive interface. The interactive configuration elements take on different graphical forms depending on the type of visual attribute they control, including but not limited to: numerical adjustment controls: such as sliders or steppers, used to control continuous or discrete numerical attributes such as size, opacity, and angle; state switching controls: such as switches or checkboxes, used to control Boolean attributes such as legend display and axis visibility; enumeration selection controls: such as drop-down lists, segment controllers, or icon button groups, used to switch enumeration attributes such as chart type and line style; and visual picking controls: such as color palettes or gradient editors, used to directly define visual style attributes such as fill color and border color.
[0069] Each interactive configuration element has an operable interactive area and a visual feedback appearance that represents the current state. When an object performs a click, drag, or input operation on the area, the element can drive the rendering result of the target system in the visualization interface to undergo corresponding visual changes in real time.
[0070] Optionally, the dynamic configuration panel uses an adaptive-size container. The width and height of the container dynamically expand and contract according to the number and type of interactive configuration elements it contains, in order to maintain a minimum visual footprint for the panel. The interactive configuration elements are arranged in a single-column compact arrangement or a fluid grid arrangement within the container.
[0071] The configuration status data of the target system refers to the set of core parameters used to control the system's operating behavior or appearance. A mapping relationship is established between the interactive configuration elements and the underlying configuration status data of the target system. This association ensures that the interactive configuration elements on the interface are not just graphical displays, but handles with actual control capabilities. When an object operates on an interactive configuration element to change its state, the change can be directly transmitted and modified to the underlying configuration status data. Conversely, if the underlying data changes, the display status of the interactive configuration element will also be updated synchronously.
[0072] In one example, the target system could be a data visualization charting system, where interactive configuration elements are used to adjust the visual style of the charts or data series parameters; the target system could be a front-end object interface (UI) component library, where interactive configuration elements are used to adjust the attribute parameters or layout mode of UI components in real time; the target system could also be a back-end service orchestration system or a microservice architecture, where interactive configuration elements are used to adjust the service's runtime parameters, environment variables, or network topology configuration.
[0073] In one example, the configuration intent corresponding to the interaction command is obtained, and the target configuration item that matches the cooperation intent is filtered from the full configuration set of the target system. The interactive configuration elements in the dynamic configuration panel correspond to the target configuration items. The target configuration item refers to the abstract data node in the target system used to define specific functions or visual attributes, and the interactive configuration element is the concrete instantiation object of the above target configuration item in the GUI interface.
[0074] The process involves semantic parsing of received interactive instructions, converting unstructured natural language descriptions of object input into structured intents that can be processed by computers, i.e., configuration intents. Action keywords and object keywords can be extracted from the instructions to construct intent description data containing operation type and operation object.
[0075] The full configuration set refers to the logical set of all parameter items supported by the target system that are in a configurable state. It covers all options from basic attributes to advanced functions. For example, for a chart system, the full set includes all possible settings such as title, axis, color, legend, etc.
[0076] Based on the parsed configuration intent, a search or match is performed within the full configuration set. By calculating the semantic relevance between the intent description data and the configuration item metadata, a subset of specific configuration items highly relevant to the current intent is identified from the full configuration set and designated as the target configuration items. Redundant configuration items unrelated to the current intent are filtered out. For example, when the intent is "change background color," a specific configuration item related to "color" or "background" will be precisely located from hundreds or thousands of configuration items; this is the target configuration item. Subsequently, a color palette control corresponding to the target configuration item will be displayed in the dynamic configuration panel.
[0077] S230, in response to a trigger operation on an interactive configuration element, displays a visual display interface and updates the rendering result of the target system in real time in the visual display interface to present a visual effect consistent with the interactive configuration element after the trigger operation.
[0078] In the embodiments of this application, the object performs actions on interactive configuration elements in the dynamic configuration panel, such as dragging a slider, clicking a switch, or inputting a value, to generate the trigger operation; the terminal responds to the operation and displays a visual display interface; the visual display interface is an area used to display the final visual effect of the target system; the visual display interface can be an interface area in the configuration interface, or it can be an interface independent of the configuration interface, such as a pop-up window or an independent display device.
[0079] In this system, in response to a trigger operation on an interactive configuration element, the configuration state data of the target system is updated. The rendering result of the target system, which is rendered based on the updated configuration state data, is then displayed in real time on the visualization interface. This means that the response to the trigger operation on the object is continuous and has no perceptible delay. The rendering result of the target system is updated and displayed immediately, and the rendering result presents a visual effect consistent with the interactive configuration element after the trigger operation. This indicates that there is a strict mirror mapping relationship between the appearance state of the interactive configuration element and the rendering state of the target system. In other words, whatever the interactive configuration element currently indicates, the target system displays, providing a WYSIWYG configuration experience.
[0080] Optionally, the visualization interface initially displays the rendering results of the target system's historical configuration status data; when the configuration status data changes, it can drive the target system's rendering engine to read the latest configuration status data and redraw or incrementally update the view to obtain new rendering results, which are then updated and displayed in the visualization interface.
[0081] like Figure 3 As shown, in Figure 3In (a), the configuration interface includes a command interaction area 200 and a visual display interface 100. The command interaction area 200 is placed at the top center or floats prominently above the visual display interface 100. Figure 3 In (b), the input box displays the text instruction already entered by the object: "Set the title to 20-point font and change the bars to red"; a floating card dynamic configuration panel 300 pops up below or near the input box; the dynamic configuration panel only contains the controls corresponding to the two parsed configuration items; control A corresponds to the title font size; control B corresponds to the bar color. In the visualization display interface 100, in response to the object's trigger operation on control A, the configuration device data of the target system's title font size is updated to "20", and in response to the trigger operation of control B, the configuration device data of the target system's color selector is updated to "red". At this time, the chart in the visualization display interface 100 changes, the chart's title text becomes significantly larger (corresponding to 20-point font), and the chart's bar color has changed to red (corresponding to the color selector).
[0082] In this embodiment, by responding to interactive commands received in the command interaction area of the configuration interface, and dynamically displaying a dynamic configuration panel containing matching elements in response to the interactive commands, on the one hand, it breaks the limitation of the static layout of the traditional configuration interface that lists all configuration items. It only displays interactive configuration elements that are highly relevant to the current command when the object needs them, effectively solving the problem of interface congestion and information overload caused by a large number of configuration items, maximizing the utilization of screen space, and enabling the object to focus on the configuration content of interest. On the other hand, the corresponding configuration entry can be directly invoked through the command interaction area, shortening the cumbersome search-click-configuration path to a flat command-configuration path, greatly reducing the operation threshold and cognitive burden, and improving configuration efficiency. Furthermore, by responding to the trigger operation of the interactive configuration elements, a visual display interface is displayed and the rendering results of the target system are updated in real time. A close real-time mapping relationship is established between the operational elements and the visual effects, providing intuitive visual feedback that is WYSIWYG. This allows the user to observe the visual impact of the operation on the target system immediately and intuitively while adjusting the object, thereby improving the accuracy and smoothness of the interaction. For the object, the configuration process has changed from manual searching to expressing intent and obtaining results, which fundamentally simplifies the configuration process of complex systems and improves the user experience while achieving efficient configuration.
[0083] In one embodiment of this application, the interactive instructions include configuration content belonging to different configuration categories. Displaying a dynamic configuration panel in the configuration interface includes: displaying multiple visual separation areas in the dynamic configuration panel, and aggregating and displaying interactive configuration elements corresponding to the configuration content in the corresponding visual separation areas according to their respective configuration categories; if a trigger operation targeting an area outside the dynamic configuration panel is detected, the display of the dynamic configuration panel is terminated, and the dynamic configuration panel is hidden.
[0084] In this process, natural language processing technology is used to break down complex long instructions into multiple independent atomic configuration contents. For example, the instruction "change the title to red and rotate the X-axis text by 45 degrees" is broken down into configuration content A (object: title, action: change color) and configuration content B (object: X-axis, action: rotate). The configuration category of each configuration content is analyzed. For example, the configuration category of configuration content A involves the title, and the configuration category of configuration content B involves the coordinate axis component.
[0085] In this embodiment, based on the configuration content of different configuration categories, multiple independent visual separation areas are constructed within the dynamic configuration panel. Card-style separation can be used, such as each configuration category corresponding to an independent white rounded corner card background, with gray spacing between cards; dividing line separation can also be used, that is, rendering horizontal dividing lines between control groups of different configuration categories, supplemented with subheadings; tab separation can also be used, that is, if there are many categories, generating top tabs, each top tab corresponding to a configuration category.
[0086] like Figure 4 As shown in (a), in the dynamic configuration panel, interactive configuration elements belonging to the title configuration category (such as color pickers) are displayed in the first visual partition area 312; elements belonging to the coordinate axis configuration category (such as angle sliders) are displayed in the first visual partition area 313.
[0087] While displaying the dynamic configuration panel, when a click or touch is detected, the trigger coordinates are calculated. If the coordinates are within the geometric rectangle of the dynamic configuration panel, it is considered a valid operation, and the panel remains displayed. If the coordinates are outside the dynamic configuration panel, it is determined that the user intends to end the configuration or view the results; in this case, in response to the aforementioned external trigger operation, the panel is hidden. Figure 4 As shown in (b), the object clicked on the blank area of the dynamic visualization display area, and the dynamic configuration panel was no longer displayed in the configuration interface.
[0088] Optionally, after determining the configuration category corresponding to the configuration content, it is also possible to determine the logical coupling and spatial correlation between each configuration category; if each category targets different attributes of the same component, such as "title color" and "title font size", it is determined to be strongly correlated; if each dimension involves multiple independent and unrelated target objects, such as "modify the title in the upper left corner" and "modify the legend in the lower right corner", it is determined to be independent and spatially discrete.
[0089] When the logic of each configuration category is closely related, a unified dynamic configuration panel container is constructed. Inside this container, multiple visual separation areas are divided by means of card backgrounds, horizontal dividing lines or tabs, and interactive configuration elements of different categories are categorized and arranged.
[0090] When configuration intent involves multiple independent and unrelated target configuration items, such as simultaneously modifying the title and axes, the dynamic configuration panel manifests as multiple separate micro-cards. Each micro-card floats near its corresponding target object in the visualization area. For example, the micro-card containing the title configuration item floats next to the chart title, and the card containing the axis configuration item floats next to the axis line. These separate micro-cards coexist on the interface, supporting parallel object operations. Objects do not need to be scrolled up and down in a large panel to find them; instead, they can be adjusted directly in place of the visual target.
[0091] The above solution identifies configuration categories and constructs visually separated areas, automatically organizing complex configuration content into logically clear functional blocks, enabling objects to quickly locate specific configuration modules. The interactive feature of hiding the panel when clicking on the area outside ensures that when an object completes the configuration and wants to view the rendering result of the visualization area in full screen, there is no need to search for a dedicated close button. This maximizes the use of screen space for displaying core data and ensures an immersive browsing experience.
[0092] In one embodiment of this application, the configuration interface includes a visual display interface, in which a dynamic configuration panel is displayed, including: obtaining the presentation area of the visual target object in the target system pointed to by the interaction command in the visual display interface; in the visual display interface, displaying the dynamic configuration panel in a floating form at the periphery of the presentation area; wherein, the display position of the dynamic configuration panel is dynamically associated with the presentation area and does not obscure the visual target object.
[0093] This process involves transforming abstract interactive commands into concrete visual entities, parsing the semantic meaning within the commands, and identifying and marking the visual entity responding to the command within the current visualization interface. The visual target object refers to the specific graphic element rendered on the screen within the target system (such as a data visualization chart) that the object intends to modify. For example, if the interactive command is "modify the title color," the visual target object is the "title text element" at the top of the chart; if the command is "adjust the transparency of the first bar," the visual target object is the "rectangular element" representing the first data series in the chart.
[0094] The visual outline or space occupied by a visual target object on the visualization display interface is the presentation area. For example, interactive configuration elements are UI controls within a panel, while visual target objects are graphic elements on a chart.
[0095] In the visualization interface, the dynamic configuration panel is no longer embedded in a fixed sidebar or bottom, but instead appears as a lightweight floating card or bubble window. This panel has an independent rendering layer, and its visual layer is higher than the visualization display area, thus creating a visual effect of floating above the chart. The floating panel is projected onto the visual neighborhood of the target object. For example, if the object wants to modify the title in the upper left corner, the panel will appear next to the title; if it wants to modify the legend in the lower right corner, the panel will appear next to the legend.
[0096] The display position of the dynamic configuration panel is dynamically linked to the presentation area and does not obscure the main content of the visual target object. The dynamic linkage refers to the real-time binding of the panel coordinates and the target object coordinates. For example, when the visualization display interface is scaled or panned, or when the position of the visual target object (such as a column) changes due to data refresh, the bounding box of the visual target object is recalculated in real time, and the screen coordinates of the floating panel are updated synchronously. This ensures that the configuration panel always follows the visual target object closely like a label.
[0097] like Figure 5 As shown, the visualization interface 100 displays a dynamic configuration panel 300. The display position of the dynamic configuration panel 300 is related to the visual target object, namely the tallest pillar, and does not obscure the main content of the visual target object.
[0098] Optionally, to enhance the visual belonging relationship between interactive configuration elements and visual target objects, visual guide elements can be rendered between the dynamic configuration panel and the visual target objects. Visual guide elements are represented by connecting lines, guide arrows, or highlighted halos, and are used to establish the visual belonging relationship between interactive configuration elements and visual target objects.
[0099] The above solution, through its floating form and proximity layout, places the operation panel directly next to the visual target object. The object does not need to be viewed, and modifications can be made while observing the object. This achieves an in-situ editing experience where you can edit wherever you are looking. Through dynamic visual following, a strong spatial logic is established between the configuration panel and the target object. When the interface changes, the panel always follows the target, enhancing the intuitiveness and certainty of the configuration operation.
[0100] In one embodiment of this application, when the dynamic configuration panel is displayed, the dynamic configuration panel automatically enters the focus editing mode; in the focus editing mode, other background elements in the visualization display area other than the visual target object to which the configuration intent is directed are subjected to visual weakening processing, such as reducing transparency, grayscale, or blurring, in order to highlight the visual target currently being configured.
[0101] In one embodiment of this application, the dynamic configuration panel further includes associated interactive configuration elements that are logically related to the interactive configuration elements. The logical relationship includes a dependency relationship or a mutual exclusion relationship. That is, in the dynamic configuration panel, not only are the controls of the intent configuration items displayed, but also the associated interactive configuration elements are displayed together according to the association index, so that the cascading effects of the object observation change can be achieved.
[0102] Based on this, in order to ensure the logical consistency of the complex configuration system and avoid system errors caused by object operations, step S240 includes: in response to a trigger operation on an interactive configuration element, detecting whether there is a logical mutual exclusion between the visual change generated by the trigger operation and the associated interactive configuration element; if there is a logical mutual exclusion, switching the interactive configuration element corresponding to the associated configuration item to an unavailable visual grayed-out state in the dynamic configuration panel and displaying a warning mark to indicate the cause of the conflict; if there is no logical mutual exclusion, synchronously presenting the visual effect based on the combined effect of the interactive configuration element and the associated interactive configuration element in the visualization display interface.
[0103] In this embodiment, the detection object performs a triggering operation on an interactive configuration element, obtains the configuration change value caused by the triggering operation, and detects whether there is a logical constraint conflict between the change value caused by the triggering operation and the current configuration state data of the associated interactive configuration element in the target system. For example, the configuration change value is combined with the current configuration state data to construct a configuration combination state to be verified. Based on the identifiers of the interactive configuration element and the associated interactive configuration element, a search is performed in the logical association index of the full configuration set to extract the logical constraints between the two, such as mutual exclusion, dependency, or numerical range restrictions. Based on the extracted logical constraints, a compatibility check is performed on the configuration combination state to be verified. If the logical constraints indicate that the two are mutually exclusive and both exist in the combination to be verified, the check is determined to fail, that is, the visual change generated by the triggering operation and the associated interactive configuration element are logically mutually exclusive; if the check passes, it is determined that there is no mutual exclusion.
[0104] If a logical mutual exclusion is detected, the associated interactive configuration elements in the dynamic configuration panel will be automatically switched to an unavailable state, such as reducing saturation, adding a semi-transparent mask, or lightening the font color, to intuitively inform the object that the option is currently invalid. Warning markers, such as red exclamation mark icons or prompts, will be rendered around the grayed-out associated items, clearly indicating the reason for the conflict. If there is no logical mutual exclusion, update the configuration state data of the interaction configuration element, keep the effective state of the associated interaction configuration element unchanged, and drive the visualization display area to perform view redraw based on the updated intent configuration item and interaction configuration element, and present the final chart of the two working together on the visualization interface.
[0105] For example, the dynamic configuration panel displays a "Chart Type Selector" (currently selected as "Bar Chart") as an interactive configuration element, and a "Coordinate Axis Configuration Panel" as an associated interactive configuration element; such as Figure 6 As shown, when an object in the dynamic configuration panel clicks the "Chart Type" dropdown and switches the value from "Bar Chart" to "Pie Chart", in response to this triggering operation, based on the logical association index, it is detected that there is a logical mutual exclusion (i.e., logical constraint conflict) between "Pie Chart" and "Axis Configuration". The originally highlighted "X-axis Settings" panel instantly dims (e.g., the transparency drops to 40% and the text turns gray), the input box becomes read-only, and the slider cannot be dragged. Next to the title of the "X-axis Settings" panel, a red exclamation mark icon or a yellow prompt bar pops up, displaying the text: "The current chart type (pie chart) does not support X-axis configuration".
[0106] like Figure 7As shown, when the object is in the dynamic configuration panel, clicking the "Chart Type" drop-down box and switching the value from "Bar Chart" to "Line Chart" will detect that both are rectangular coordinate system charts and there is no logical conflict. Therefore, the rectangular bars in the picture will become points connected by lines; the X-axis at the bottom will still exist and will maintain the style of red and 12px font size, ultimately presenting a line chart with a red X-axis.
[0107] By implementing the above solution, logical constraint detection is performed at the moment of triggering the operation, and the associated items are immediately switched to an unavailable visual grayed-out state when a conflict is detected. This effectively prevents dirty data from entering the rendering engine and greatly improves the operational stability and robustness of the target system. In the absence of conflicts, the system can update and display the rendering results in the visualization area based on the updated interactive configuration elements. This ensures that objects can not only see the change of a single parameter, but also intuitively observe how the change coexists harmoniously with other existing interactive configuration elements, thereby obtaining a complete global configuration perspective.
[0108] To support trial and error and effect comparison during the configuration process, in one embodiment of this application, the dynamic configuration panel further includes a state verification function group, which includes a visual comparison control and a state rollback control. In response to the interactive operation of the visual comparison control, the visual state of the target system before the trigger operation and the rendering result after the trigger operation are alternately displayed or displayed in a split-screen overlay in the visualization display interface. In response to the interactive operation of the state rollback control, the visual state before the trigger operation is restored in the visualization display interface, and the interactive configuration elements in the dynamic configuration panel are reverted to the display state before the trigger operation.
[0109] Specifically, before the response object triggers an operation, a deep copy operation is performed on the current full configuration state data of the target system to generate a historical configuration snapshot independent of the current running memory. This historical configuration snapshot can be pushed into the historical state stack for caching so that it can be called at any time later.
[0110] In this embodiment, the dynamic configuration panel displays not only the target configuration items but also a status verification function group, such as the status verification function group displayed in the top toolbar of the panel or at the end of the current operation row. The status verification function group includes a visual comparison control, which can be an "eye" icon or a "compare" button, used to trigger the view switching of A / B status; it also includes a status rollback control, which can be an "undo" arrow icon or a "reset" button, used to restore the old status.
[0111] After displaying the rendering results of the target system in the visualization interface, it enters the comparison mode in response to the interactive operation of the visual comparison control, so that the object can intuitively perceive the difference before and after the modification.
[0112] In one example, when an object presses and holds the visual contrast control, a historical snapshot is temporarily injected into the rendering engine, and the visualization interface instantly switches back to the visual state of the target system before the triggering operation occurred; when the object releases the control, the interface reverts to the new rendering result after the triggering operation.
[0113] In another example, when an object clicks the visual contrast control, a split-screen overlay display is activated in the visualization interface. That is, the interface is divided into two parts: the left side renders the visual state of the target system before the triggering operation, and the right side renders the rendering result after the triggering operation. A draggable dividing slider is provided in the middle. The object can drag the slider to dynamically change the display area of the two parts, so as to intuitively compare the local details before and after the modification in the same screen.
[0114] If the object is not satisfied with the new configuration after the above comparison, it can click the status rollback control. In response to the click operation, the most recent historical configuration snapshot is popped from the historical status stack and overwritten into the current configuration status data of the target system. At this time, the visual display interface restores the visual state before the triggering operation, and the interactive configuration elements in the dynamic configuration panel will also be reset synchronously, realizing lossless undo.
[0115] like Figure 8 As shown in (a), the current rendering result after the trigger operation is displayed in the visualization display interface, and the status verification function group, including the comparison control and the undo control, is displayed in the dynamic configuration panel 300; in (b), in response to the click operation of the comparison control, the visual state of the target system before the trigger operation and the current rendering interface are displayed in a split screen in the visualization display interface; in (c), in response to the click operation of the undo control, the rendering result corresponding to the historical snapshot is displayed in the visualization display interface, and the status verification function group should be in a visually grayed-out unavailable state.
[0116] By generating and caching historical snapshots and providing convenient state rollback controls, the above solutions enable objects to boldly try various configuration schemes, providing a zero-risk trial-and-error environment, reducing the psychological burden of decision-making for objects, and enhancing the sense of security in the configuration process.
[0117] In one embodiment of this application, the configuration interface includes a visual display interface; the dynamic configuration panel is presented in the visual display interface as a layer overlaid on the rendering result of the target system. In response to the trigger operation of the interactive configuration element, the interface further includes: in the visual interface, detecting in real time whether there is spatial overlap between the display area of the dynamic configuration panel and the visual target object in the target system; if there is spatial overlap, while updating the rendering result of the target system in the visual display interface, the background of the dynamic configuration panel is switched to a semi-transparent or transparent visual state, or a visual penetration window is formed in the spatial overlap area to present the visual target object located below the dynamic configuration panel.
[0118] The configuration interface is constructed as a unified view container. The bottom layer is the visualization display interface, which is used to render the real-time results of the target system. The top layer is the rendering layer of the dynamic configuration panel. The dynamic configuration panel is instantiated as a floating container. This floating container is located above the visualization display interface in the Z-axis direction, so that the panel appears to be floating above the chart data, thereby allowing the panel to move or be positioned freely within the screen plane.
[0119] In response to continuous triggering operations on interactive configuration elements, the visual target object corresponding to the interactive configuration element is identified, and it is detected whether the display area of the dynamic configuration panel in the visualization display interface intersects with the presentation area of the visual target object. If the intersection area is greater than 0, it indicates that there is spatial overlap.
[0120] Once overlap is detected, a dual concurrent operation is immediately executed: First, it continues to respond to triggering actions on interactive configuration elements, driving real-time changes in the color or shape of the underlying chart, thus updating the rendering result. Second, to ensure the object can see these changes, the rendering properties of the dynamic configuration panel are dynamically modified. In one example, the opacity of the background layer of the dynamic configuration panel is reduced from the default 100% to a low threshold (e.g., 10% or 0%). To ensure usability, foreground interactive configuration elements on the panel (such as slider handles and text labels) maintain high opacity; this effect is similar to "frosted glass becoming transparent," allowing the object to see the chart below directly through the panel background. In another example, instead of changing the overall panel opacity, a mask or cutout area is dynamically calculated and drawn on the panel's background layer based on the coordinate range of the visual target object. This area forms a visually permeable window, like opening an "observation window" on the panel, precisely revealing the key chart elements that were previously obscured.
[0121] At the most critical moment when the object is obscured by a finger or the panel is covered (i.e. when adjusting parameters to observe the effect), the visual target object that was originally obscured (such as a column that is changing color) becomes clearly visible through the faded background or through the window; when the object releases its finger (the operation ends), the panel is automatically restored to its initial opaque state to ensure the readability of the panel information.
[0122] like Figure 9 As shown in (a), in the visualization interface, the dynamic configuration interface 300 and the visual target object 111 have spatial overlap. The opacity of the background layer of the dynamic configuration panel 300 is reduced to show the changes in the visual target object, while the foreground interactive configuration elements on the panel maintain high opacity, such as... Figure 9 As shown in (b), there is a visual passthrough window in the dynamic configuration panel 300 to display changes in the visual target object.
[0123] The above solution allows the configuration panel to maintain proximity while enabling unobstructed real-time preview of underlying data content through intelligent visual transformations (transparency / windowing), greatly improving the configuration accuracy of objects on small screens or in complex chart scenarios.
[0124] In one embodiment of this application, the interactive instruction includes multiple instruction content fragments, and the interactive configuration elements in the dynamic configuration panel have a visual mapping relationship with the instruction content fragments in the interactive instruction; the method further includes: in response to a focus operation on any interactive configuration element in the dynamic configuration panel, highlighting a specific instruction content fragment that has a visual mapping relationship with the interactive configuration element in the instruction interaction area; and / or, in response to a selection operation on any instruction content fragment in the instruction interaction area, highlighting an interactive configuration element that has a visual mapping relationship with the instruction content fragment in the dynamic configuration panel.
[0125] Specifically, the complete natural language command input by the object in the command interaction area (e.g., "change the color of / title / to / red") is parsed into multiple independent command content fragments. These fragments are the smallest semantic units that constitute the object's intent, such as "title", "color", and "red". When the dynamic configuration panel is generated, not only are the interactive configuration elements rendered, but a corresponding index is also established in the background between the element and the specific command content fragment that triggered its generation. For example, the "color picker" control is triggered by the "red" fragment in the command. This one-to-one logical link is the visual mapping relationship.
[0126] The system monitors the focus of an object on the dynamic configuration panel in real time. When an object hovers its mouse cursor over an interactive configuration element, presses and holds its finger on the element, or switches the input focus to the element using the Tab key, a focus operation is detected. Based on a pre-stored visual mapping relationship, the system identifies the specific instruction fragment corresponding to the control, such as "red". The system immediately updates the style of the specific text fragment in the instruction interaction area (input box), for example, by bolding the word "red", changing the font color (e.g., making it a highlight blue), adding an underline, or applying a background color block highlight. At this time, the object can visually see that the specific word in the input box has "highlighted".
[0127] When an object selects a segment of text in the instruction interaction area by double-clicking, dragging the cursor, or clicking the word capsule, such as selecting "title", the dynamic configuration panel searches for all interactive configuration elements associated with that text segment, such as the "title content input box" and the "title font size slider", based on the visual mapping relationship. The visual state of these target controls is immediately updated in the dynamic configuration panel. For example, the target controls will perform significant visual feedback, such as blinking borders, jittering animations, instantaneous zoom, or displaying a halo around the control. This helps the object quickly locate the operation item related to the word among many controls.
[0128] like Figure 10 As shown in (a), entering "Set the title to font size 20 and change the column to red" in the command interaction area, in response to the focus operation of the object's title in the dynamic configuration panel, highlights it in the command interaction area "20"; Figure 10 In (b), in response to the selection of the object as “red” in the command interaction area, the color picker is highlighted in the dynamic configuration panel.
[0129] The above solution, through the focus control and highlighting mechanism, intuitively shows the parsing logic path to the object. This transparent interactive design improves interpretability and provides efficient interactive error correction and accurate positioning capabilities, establishing the object's trust in the intelligent system.
[0130] In one embodiment of this application, the interactive configuration element includes an operation control and a visual feature pattern representing the current selected state of the operation control. Displaying a dynamic configuration panel in the configuration interface includes: combining and displaying the operation control and the visual feature pattern in the dynamic configuration panel; wherein the visual feature pattern is presented as a graphical form corresponding to the current selected state of the operation control, so as to display the visual effect corresponding to the current selected state in the dynamic configuration panel.
[0131] In order to improve the intuitiveness of the configuration interface, a refined rendering process is implemented for interactive configuration elements when rendering the dynamic configuration panel.
[0132] Interactive configuration elements are no longer simple input controls, but rather constructed as composite components comprising two core parts: Operation controls: interactive carriers for receiving object input or selection behavior, such as drop-down list boxes, text input boxes, sliders, or radio button groups. Visual feature graphics: graphical preview areas used to intuitively represent the meaning of the current parameters, such as color blocks, line thumbnails, symbol icons, or font previews.
[0133] Based on the attribute type controlled by the interactive configuration element, a corresponding visual feature pattern is generated. For color configuration scenarios, the operation control is a text input box or drop-down menu displaying the color code (e.g., #FF5733); the visual feature pattern renders a circular or square color block filled with that color value on the left or inside of the control. For marker symbol configuration scenarios, the operation control is a grid selector used to select the shape of the scatter plot markers; the visual feature pattern directly renders specific geometric shapes, such as triangles, circles, and rhombuses, rather than just displaying text such as "Triangle" or "Circle".
[0134] The two can be combined and displayed in the dynamic configuration panel. An embedded layout can be used, such as using a color block as the prefix icon for the input box, or a side-by-side layout, as shown in the figure, located to the right of the text label.
[0135] When an object changes the selected state of its control, such as changing a dropdown from a solid line to a dashed line, not only is the underlying configuration data updated, but the visual feature pattern is also immediately redrawn, presenting it in a new graphical form, that is, the color blocks change color and the lines become dashed.
[0136] like Figure 11 As shown, the dynamic configuration panel 300 includes operation controls for selecting line styles. When selected, it is "solid line". The dynamic configuration panel also displays the visual feature pattern corresponding to "solid line". The dynamic configuration panel 300 also includes operation controls for filling textures. When selected, it is "diagonal line". The dynamic configuration panel also displays the visual feature pattern corresponding to "diagonal line".
[0137] The above solution achieves the effect of controls by directly displaying visual feature patterns in the panel; objects do not need to read and understand text labels, but can quickly confirm the current selection state by intuitively recognizing the graphic. The visual retrieval efficiency of the configuration panel is greatly improved through the graphical display.
[0138] In one embodiment of this application, the dynamic configuration panel includes a first display state and a second display state, wherein the display area of the dynamic configuration panel in the first display state is smaller than the display area in the second display state; displaying the dynamic configuration panel in the configuration interface includes: displaying the dynamic configuration panel in the first display state in the configuration interface, and presenting only the interactive configuration elements of the first priority in the display area; the method further includes: in response to an expansion trigger operation targeting the edge area or a specific gesture recognition area of the dynamic configuration panel, switching the dynamic configuration panel from the first display state to the second display state to increase the display area of the dynamic configuration panel, wherein, as the display area increases, the interactive configuration elements of the second priority are animated.
[0139] To optimize screen space utilization and reduce the initial cognitive load on objects, this application implements a polymorphic view-based interaction flow. Specifically, when the dynamic configuration panel is invoked in response to an interaction command, it is initialized to its first display state (i.e., compact mode) by default. In this state, the dynamic configuration panel is constrained to a small display area, for example, appearing as a bottom floating bar occupying only 15% of the screen height, or a small card following the cursor. According to a preset priority strategy, only the highest priority interactive configuration elements are presented in the panel. For example, if the current configuration object is a "bar chart," the compact panel only displays the two most frequently used controls, "fill color" and "bar width," while hiding other secondary controls. This design minimizes obstruction of the underlying visual display interface.
[0140] Define gesture response areas at specific locations in the dynamic configuration panel, including the panel's edge areas (such as the bottom or side borders) or explicit gesture recognition areas; monitor object input applied to these areas in real time and identify extended trigger operations; for example, dragging an object outward by pressing and holding the panel edge, performing a two-finger spread gesture within the panel area, or clicking and long-pressing the extended control bar.
[0141] Once an expansion trigger operation is detected, a switching instruction is issued from the first display state to the second display state (i.e., extended mode), driving the rendering engine to execute a transition animation. The display area of the dynamically configured panel smoothly increases in size following the object's gesture displacement (or according to a preset easing curve). For example, the panel is pulled out like a drawer, expanding its height to 50% of the screen.
[0142] As the area increases, the secondary priority interactive configuration elements that were originally hidden, such as "shadow blur", "border line type", and "transparency gradient", are presented one by one through fade-in, slide-in or accordion expansion.
[0143] When the operation ends or the maximum threshold is reached, the panel freezes in the second display state, providing the object with full and detailed configuration capabilities.
[0144] like Figure 12 As shown in (a), in the configuration interface, the dynamic configuration panel 300 is in the first display state, that is, it is initially displayed in a small display area, which contains the first priority interactive configuration elements, namely the title font size, and responds to the expansion trigger operation of the edge area of the expansion panel. Figure 12 In (b), the dynamic configuration panel of the configuration interface is in the second display state, its display area is increased, and the second priority interactive configuration elements, namely font weight and font color, are displayed with animation.
[0145] The above solution ensures that the object has the largest field of view to observe chart changes when performing high-frequency basic configurations by default displaying the first display state. Only when the object really needs to be fine-tuned will the panel be expanded interactively, with smooth accompanying animations. This makes the interface changes no longer abrupt but a continuous fluid response that follows finger movements, improving the user experience. Moreover, this on-demand space management strategy effectively solves the inherent pain point of floating panels being obstructed.
[0146] In one embodiment of this application, the dynamic configuration panel also renders a configuration source anchor point control; the method further includes: in response to a drag operation on the configuration source anchor point control, displaying a visual proxy pattern that follows the cursor movement in the visualization display interface, the visual proxy pattern representing the current configuration state of the interactive configuration element; in response to the end of the drag operation in the target area of the visualization display interface, identifying whether there are other visual target objects in the target area; if there are other visual target objects, updating the display appearance of the other visual target objects to a visual effect consistent with the interactive configuration element.
[0147] To address the tediousness of repetitive operations in multi-object configuration scenarios, a configuration source anchor mechanism is introduced, allowing objects to reuse their configuration states across different visual objects through intuitive drag-and-drop operations. Specifically, in a designated functional area of the dynamic configuration panel—such as the toolbar or title in the upper right corner of the panel—the system renders a configuration source anchor control. This control is typically designed as an icon with a "grabable" implication, such as a six-dot matrix icon, a hand icon, or dynamically presented as a thumbnail of the current configuration style. For example, if the current panel configuration is red-filled, the anchor icon's center will be red to visually indicate that the current configuration state is an entity that can be "extracted" and "moved."
[0148] The system monitors dragging operations on the source anchor control of the configuration element, such as long-pressing and moving the left mouse button, or pressing and dragging with a finger. Once dragging displacement is detected, a semi-transparent visual proxy image is immediately generated below the cursor or touch point. This visual proxy image is not a generic icon, but rather a visual snapshot representing the current configuration state of the interactive configuration element. For example, if the object is configuring a "dashed line, blue, 2px wide" border, when the anchor point is dragged, the visual proxy that follows the cursor is a semi-transparent box or line displaying a blue dashed line style.
[0149] The visual proxy pattern floats above all interface levels and strictly follows the cursor movement, providing the object with clear visual feedback that the style is being moved; the object moves the cursor to a certain area in the visualization interface and performs a release operation, releasing the mouse or finger; the screen coordinates of the release point are obtained in real time, and it is detected whether there are other visual target objects in the target area where the coordinates are located, such as another set of bars in the chart, another pie chart sector, or another piece of text.
[0150] If another valid visual target object is identified, the style cloning logic is immediately triggered, which applies the visual attributes (such as color, font size, and line style) represented by the currently interactive configuration element in the dynamic configuration panel to the target object. In the visualization interface, the selected target object undergoes an instant visual change, updating its appearance to match the source configuration; for example, a gray column instantly turns into the same red as the source object.
[0151] like Figure 13 As shown, the dynamic configuration panel includes interactive configuration elements and configuration source anchor point controls. The object drag configuration source anchor point controls are displayed in the visualization interface, and in response to the end of dragging, a visual effect is also displayed on other visual target objects, that is, the diagonal line fill effect is displayed on both columns.
[0152] The above solution transforms the tedious parameter alignment process into an intuitive drag-and-drop operation by configuring the source anchor point through drag-and-drop interaction. This efficient mechanism, similar to a "style brush," greatly improves the efficiency of batch configuration and style unification.
[0153] In one embodiment of this application, another configuration interaction method is provided, which can be applied to Figure 1 The implementation environment shown is as follows: Figure 14 As shown, this configuration interaction method is in Figure 2 Based on S210~S240 shown, S1410~S1430 have been added; S1410~S1430 are described in detail below.
[0154] S1410. Obtain the metadata of each configuration item in the full configuration set and the current configuration status of the target system, wherein the metadata includes the configuration path, data type and semantic description information of the configuration item.
[0155] In this embodiment of the application, a full set of configurations for the target system is pre-constructed. This set can be a configuration knowledge base, which is a structured index of all configurable capabilities of the target system. By querying the configuration knowledge base, the meta-information of each configuration item is extracted. This meta-information refers to the definition data describing the attributes of the configuration item itself.
[0156] Metadata includes configuration paths, data types, and semantic descriptions. The configuration path is the unique index address of the configuration item within the target system's data structure; for example, in an ECharts chart, the path identifier for the X-axis name is xAxis.name, and the path identifier for the title font size is title.textStyle.fontSize. The data type defines the data format accepted by the configuration item, such as String, Number, Boolean, Color, or Object. Semantic descriptions are natural language explanations of the configuration item's functionality, including keyword annotations and synonym tags.
[0157] The current configuration state of the target system refers to a real-time snapshot of the full set of parameters residing in memory at the current runtime, which determines the current visual presentation and interactive behavior of the target system.
[0158] In one example, the above metadata can be automatically extracted and stored in a local index by parsing the TypeScript definition file (.d.ts) or the JSON Schema of the official API documentation of the target system.
[0159] In one example, obtaining the metadata of each configuration item in the full configuration set includes: extracting the configuration path, data type, default value, value range, and description of each configuration item from the standard configuration document of the target system, and determining the extracted content as the basic attribute information of each configuration item; performing synonym expansion and keyword annotation processing on each configuration item to generate extended semantic tags containing a set of synonyms and a set of keywords; establishing a logical association index to indicate recommended links between the current configuration item and other related configuration items based on the functional coupling between each configuration item; and encapsulating the basic attribute information, extended semantic tags, and logical association index into metadata.
[0160] First, access the official standard configuration document of the target system. The document tree can be traversed through a web crawler or document parser to configure the path, data type, default value, value range and description for each configuration item. The default value is used to indicate the initial value that takes effect by default, the value range and the set or interval of legal values, and the description is the function explanation text provided by the official website.
[0161] Because standard configuration documentation descriptions are often too academic or simplistic, they struggle to cover the diverse natural language expressions of objects. For example, an object might refer to a "legend" as an "icon description." Therefore, in this embodiment, each configuration item is expanded using synonyms. For instance, a domain-specific dictionary is used to match synonyms for the core words in the configuration item name and description; for example, "color" is expanded to include terms like "color," "color," "coloring," and "hue." Each configuration item can also be annotated with keywords. For example, the TF-IDF algorithm is used to extract the core feature words of the configuration item to obtain a keyword set, and then the synonym set and keyword set are merged to generate an extended semantic tag for the configuration item. The description of the configuration item and the extended semantic tag together generate semantic description information.
[0162] Understandably, independent configuration items cannot reflect the complex dependencies within the target system. Therefore, it is necessary to obtain the functional coupling degree between configuration items. This functional coupling degree refers to the degree to which the existence state, value range, or activation logic of one configuration item constrains or affects another configuration item. Functional coupling degree includes structural dependency coupling, logical mutual exclusion coupling, and semantic co-occurrence coupling. Structural dependency coupling refers to the survival dependency of the parent-child hierarchy, meaning that the validity of the child configuration item depends entirely on the enabled state of the parent configuration item; for example, the functional coupling degree of the label font size depends on the label display being true. Logical mutual exclusion coupling means that two configuration items cannot coexist in business logic; for example, there is strong mutual exclusion coupling between polar coordinate systems and Cartesian coordinate systems. Semantic co-occurrence coupling means that although two configuration items are logically independent, they appear together very frequently in actual use cases; for example, when "title text" is configured, it is necessary to recommend "title position" and "title style" in conjunction.
[0163] A logical association index is built based on functional coupling to indicate recommended links. This involves parsing the preconditions or constraints in the target system's official documentation, such as "this attribute is only valid when tooltip.trigger is 'axis'", and extracting these conditional logics using regular expressions to generate a conditional dependency table. Then, using all configuration items as nodes, the generated conditional dependency table is read and traversed, converting each dependency entry into directed edges between nodes, i.e., using functional coupling as edges, thus constructing a graph of configuration item relationships. If a change in configuration item A causes configuration item B to become invalid, a strong control link between A and B is established; if configuration items A and B are frequently used together, a weak recommendation link between A and B is established. The relationship graph is then traversed to generate a logical association index with the configuration path as the key. This index can be stored as a JSON object or an adjacency list structure.
[0164] The extracted basic attribute information used to represent objective facts, the generated extended semantic tags used to represent enhanced subjective understanding, and the logical association index used to represent the relational grid are structured, packaged, and merged into a JSON object to obtain meta-information.
[0165] In the above scheme, extended semantic tags are generated through synonym expansion and keyword annotation, which increases the ability to understand the diversity of natural language expressions. By analyzing the degree of functional coupling and establishing a logical association index, isolated configuration items can be woven into a logically tight knowledge network to proactively recommend related supporting configuration items. This will then be transformed into structured, semantically rich, and logically related meta-information, making the meta-information more accurate and comprehensive.
[0166] S1420. Identify the configuration intent of the interaction command based on the semantic information of the interaction command, and generate a configuration item recommendation result corresponding to the configuration intent based on the metadata and the current configuration state of the target system. The configuration item recommendation result includes the target configuration path.
[0167] In this embodiment of the application, a three-stage process of semantic analysis, state verification, and intent synthesis is used to generate configuration item recommendation results.
[0168] In the first stage, semantic feature-based preliminary intent matching is performed. First, the received interaction command is semantically parsed, and candidate configuration items are retrieved from the full configuration set. For example, the meta-information of each configuration item in the full configuration set, especially the semantic description information, is pre-converted into a high-dimensional configuration item feature vector using a text embedding model and stored in a vector database. When an interaction command is received, semantic parsing and intent recognition are performed on the command to obtain the configuration intent, which is then converted into a configuration intent feature vector of the same dimension. The semantic similarity between the configuration intent feature vector and the feature vectors of each configuration item is calculated. The Top-N configuration items with similarity scores exceeding a preset threshold are selected as the candidate configuration item set. Another example is word segmentation and keyword extraction of the interaction command to extract verbs and nouns. A pre-built keyword-configuration path inverted index is used to quickly find configuration items containing the corresponding keywords.
[0169] In the second stage, deep validation and disambiguation are performed based on the current configuration state. Initial matching may yield multiple candidate configuration items, or the instruction itself may be a relative description. At this point, the current configuration state of the target system is introduced for secondary processing. For example, disambiguation filtering is performed using the current configuration state of the target system; that is, the current configuration state is read to determine whether the candidate configuration item is worth modifying. If the current value of a candidate configuration item is consistent with the expected direction of the object (e.g., the object wants to "show," but it is already set to `show: true`), the recommendation weight of that configuration item is reduced or it is filtered out. Conversely, if the current state differs from the instruction, its weight is increased. Relative value calculation can also be performed using the current configuration state of the target system. If the interaction instruction is a relative intent, such as "zoom in" or "shift left," the runtime value of the configuration item in the current state is read, and based on a preset step size logic, incremental calculations are performed on top of the baseline value to obtain the accurate recommendation value.
[0170] In the third stage, the configuration item recommendation results are generated. Based on the results of the semantic matching and status verification described above, the final configuration item recommendation results are generated. This result is a structured data object, including the target configuration path, which is the index path of the unique or optimal configuration item confirmed after filtering.
[0171] Optionally, configuration item recommendation results can be obtained through a specific generative large model. In one example, a prompt word is obtained by injecting interactive instructions, metadata of each configuration item, and the current configuration state of the target system through a structured prompt word template. The prompt word is then input into the model to obtain configuration item recommendation results.
[0172] In another example, to improve the accuracy and efficiency of the model output, step S420 includes: performing semantic retrieval on the interaction command to retrieve configuration items that are semantically related to the interaction command in the full configuration set, forming a subset of candidate configuration items; retrieving historical operation records that are semantically similar to the interaction command from a preset example library to construct a reference example containing the mapping relationship between the command and the configuration; assembling the meta-information of the candidate configuration item subset, the current configuration state of the target system, the reference example, and the interaction command into a prompt word context according to a preset structured template; and inputting the prompt word context into a pre-trained language model to obtain the configuration item recommendation results output by the language model.
[0173] Understandably, since the full configuration set contains tens of thousands of configuration items, directly putting them all into the context window of the language model would exceed the prompt word limit or increase inference costs, and too much interference information would interfere with the model. Therefore, we first use a pre-trained Embedding model to convert the interaction instructions into high-dimensional instruction semantic vectors. In a pre-built vector database, we calculate the similarity between the instruction semantic vector and the meta-information feature vectors of the full configuration items, and extract the Top-K configuration items with the highest similarity scores to obtain a subset of candidate configuration items, which greatly narrows the search scope of the model.
[0174] In this embodiment, a high-quality instruction-configuration example library is pre-built, storing historical operation records that have been manually verified. By comparing the semantic distance between the current interaction instruction and the historical records in the example library, several records with the highest similarity are retrieved, and the object inputs and standard outputs in these records are extracted to construct reference examples. Each reference example clearly shows the mapping relationship between a specific instruction and a specific configuration modification.
[0175] A predefined structured template is used, which defines the splicing order and format constraints of each information block. According to the template requirements, the meta-information of the candidate configuration item subset, the current configuration status of the target system, reference examples and interaction instructions are filled into the template to generate the final prompt word context. Then, the prompt word context is used as input parameters to input the pre-trained language model to generate configuration item recommendation results.
[0176] The preset language model can be a large language model (LLM, such as the GPT series) deployed in the cloud, or a lightweight inference model (such as a Web-LLM-based quantization model) deployed on a local terminal.
[0177] S1430. Determine the target configuration item based on the target configuration path, and determine the interactive configuration element based on the target configuration item.
[0178] The target configuration path serves as the index key for searching the target configuration item in the trie or hash table of the full configuration set.
[0179] Optionally, the configuration item recommendation results also include the recommended initial value and the recommendation reason corresponding to the target configuration path. The recommended initial value is a specific parameter value calculated based on the interaction command and the current system state. The recommendation reason is a generated natural language explanation that explains why the target configuration path and the value were selected. For example, the recommendation reason is: "The object intent was detected to be emphasized, and the current background is dark, so a highly saturated orange-red is recommended to improve contrast."
[0180] Based on this, a dynamic configuration panel is displayed in the configuration interface, including: using the recommended initial value as the initial rendering state of the interactive configuration element in the dynamic configuration panel; and displaying explanatory prompts corresponding to the recommendation reasons in the dynamic configuration panel along with the interactive configuration element.
[0181] Specifically, when instantiating the target configuration item into an interactive configuration element, the data characteristics of the recommended initial value are parsed and transformed into visual channel parameters that control the graphics rendering. The visual channel parameters include, but are not limited to, spatial displacement, fill color value, rotation angle, shape size, or transparency. The rendering engine of the terminal device draws the interactive configuration element according to the calculated visual channel parameters, so that it presents the configured geometric shape when the object is first seen.
[0182] If the interactive configuration element is a slider, and the recommended initial value is 0.8 (range 0-1), calculate the linear displacement pixel value of the slider on the track (for example, if the track width is 200px, then the displacement is 160px), and render the geometric position of the slider accordingly so that it is physically docked at 80%.
[0183] If the interactive configuration element is a color picker, and the recommended initial value is red, set the text in the input box to #FF0000, control the color picker cursor on the color wheel to move to the center coordinates of the red area, and update the fill texture of the preview area.
[0184] In this embodiment of the application, in order to eliminate the confusion of the object regarding the automatic modification of parameters, explanatory prompts are constructed on the interface. The accompanying explanatory information is visually close to the interactive configuration elements in terms of spatial layout, so as to establish a strong visual association between the recommendation reasons and the interactive configuration elements.
[0185] In one example, the accompanying display could be a floating bubble with an AI logo at the edge of the interactive configuration element, such as the upper right, containing the text of the recommendation reason; the bubble expands when the mouse hovers over it or the element is focused; alternatively, a line of small-sized auxiliary text could be displayed below or to the side of the interactive configuration element, showing a summary of the recommendation reason; if the recommendation reason involves association with other configuration items, such as "to match dark mode", the current element can be visually connected to the associated element with a dotted line or a highlight of the same color, and the recommendation reason can be displayed at the connection point.
[0186] In another example, to avoid disrupting the original layout structure by directly inserting text into the panel's flow layout, a separate explanatory visualization layer is created, floating above the standard document flow. This layer encapsulates the text, icons, or confidence dashboards of the recommendation reasons. It acquires the geometric features of the interactive configuration elements in the screen coordinate system, identifying key feature points or graphical boundaries. For example, for static controls, key feature points are typically the top-right vertex or the center of the right edge of their graphical bounding box; for dynamic controls, key feature points could be the center point of the slider handle, meaning the position of the key point moves with the value. The positioning coordinates of the explanatory visualization layer are then bound to these key feature points, such as fixing the explanatory layer to the right side of the input box with a fixed spacing. Alternatively, if the key feature point is moving, the explanatory layer calculates the slider's screen coordinates in real time and performs translation transformations accordingly. Through this anchoring technique, regardless of how the panel scrolls, scales, or how the control's shape changes, the explanatory layer always remains closely attached to the interactive configuration element. This inseparable spatial relationship forms a gestalt in the visual psychology of the object, making the object intuitively believe that the reason is specifically for explaining the specific parameter, rather than a global prompt.
[0187] It should be noted that when displaying the initial rendering state and explanatory information above, the configuration state data of the underlying target system may not yet be updated. At this time, the interactive configuration element is in a suggestion state, intuitively displaying the recommended result to the object and waiting for the object's confirmation or further fine-tuning.
[0188] like Figure 15 As shown, the internal details of the dynamic configuration panel 300 are displayed. The recommended initial value is 24. The slider control (interactive configuration element) in the dynamic configuration panel is directly set to the position of 24. A bubble tooltip 311 (explanatory tooltip) is displayed above or beside the slider, which shows the matching intent "get bigger". Next to the color control below, gaze text (explanatory tooltip) is also displayed.
[0189] By using the above method, the recommended initial value is directly used as the initial rendering state of the interactive configuration element, which completes the "filling" action for the object. The object no longer needs to manually drag the slider or enter the value. It only needs to glance at the pre-filled value to see if it is satisfactory. This reduces the operation cost of the object to the minimum, greatly shortens the configuration path, and transparently shows the reason for the recommendation to the object through the accompanying explanatory prompts, which enhances the interpretability of the system and the object's trust.
[0190] Optionally, when generating configuration item recommendation results through a preset language model, the configuration item recommendation results also include the confidence level of the target configuration path. To ensure robustness and service availability, the method further includes: when the confidence level of the target configuration path is found to be lower than a preset threshold, performing word segmentation and keyword extraction on the interaction command to obtain the target key string; performing string fuzzy matching on the full configuration set of the target system based on the target key string; if the target configuration item is matched, displaying a source prompt in the dynamic configuration panel to indicate that the interaction configuration element is generated based on string fuzzy matching; if the target configuration item is not matched, displaying a visual anomaly prompt in the command interaction area, and expanding a recommendation intent tag cloud around the command interaction area, the recommendation intent tag cloud containing preset popular configuration commands or candidate commands with text similarity to the target key string.
[0191] Specifically, when receiving the configuration item recommendation results output by the preset language model, the confidence level of the model for the result is obtained simultaneously. This confidence level is the probability distribution value of the model output layer, with a value range of 0 to 1. It is then determined whether the confidence level of the target configuration path is lower than a preset threshold. If it is higher than or equal to the threshold, it indicates that the preset language model inference is reliable, and the process directly proceeds to the subsequent panel rendering process. If it is lower than the threshold, it indicates that there is uncertainty in the preset language model, triggering a downgrade to execute rule-based text matching logic.
[0192] This process involves calling natural language processing to segment interactive commands, removing stop words, extracting target key strings with substantial retrieval significance, and then using a fuzzy matching algorithm in the index of the full configuration set to find the configuration item that is closest in literal meaning based on the extracted target key strings.
[0193] Based on the fuzzy matching results, if a match is successful, a downgraded result with an identifier is rendered. If the fuzzy matching algorithm successfully locates the target configuration item, the corresponding interactive configuration element will still be displayed in the dynamic configuration panel, but a source hint identifier will be added. This identifier is used to explicitly distinguish that the result is generated based on mechanical matching rather than language model inference, thereby reducing the user's psychological expectation of the accuracy of the result and prompting the user to carefully check it. The source hint identifier displays a specific visual icon, such as a "magnifying glass" icon or the words "keyword matching," next to or in the corner of the interactive configuration element's title.
[0194] like Figure 16 As shown in (a), the dynamic configuration panel 300 displays color controls and text controls, and displays a source hint label 312 on the side of the color controls and text controls to indicate that the matching is based on keywords.
[0195] If fuzzy matching also fails to find a valid result, the current instruction is marked as unparseable, and abnormal guidance logic is executed in the configuration interface. This includes applying visual error feedback to the instruction interaction area, such as performing an input box vibration animation or rendering the border a red warning color to visually inform the user that the input is invalid. Simultaneously, a recommended intent tag cloud is displayed around the input box, such as at the bottom or in a floating layer. This tag cloud contains pre-set popular configuration instructions, such as Top-N high-frequency operations based on system big data; it also includes text similarity candidate instructions, such as calculating the compliant instruction closest to the currently edited string, for example, if the user inputs "background color," recommending "background color." Each tag in the tag cloud is a clickable interactive element; clicking it automatically fills the compliant instruction back into the input box and triggers a new recognition process.
[0196] like Figure 16 As shown in (b), since the interactive instructions cannot be parsed, the instruction interaction area 200 is displayed as a vibration animation, and a recommended intent tag cloud 400 is displayed below the instruction interaction area 200, which contains popular instructions and similar instructions.
[0197] The above solution automatically reverts to keyword matching mode when model recognition fails. Even when faced with ambiguous or non-standard input, it still has a high probability of providing a usable configuration entry point, greatly improving the system's robustness and service availability. By rendering a source prompt icon when the match is successfully downgraded, it achieves fine-grained management and prompts for the expected object. In extreme cases where recognition is completely impossible, it provides error correction suggestions and popular guidance through the recommendation intent tag cloud, smoothly transforming the object's execution failure into instruction correction, thus improving the learning efficiency and interactive experience for novice users.
[0198] In the embodiments of this application, see also Figure 14As shown, after determining the target configuration item, in order to transform the abstract configuration intent into a concrete operation interface that the object can perceive, it is necessary to dynamically construct interactive configuration elements. Therefore, the configuration interaction method also includes...
[0199] S1440. Identify the data type of the target configuration item based on the metadata.
[0200] In this embodiment, the target data type is obtained by reading the data type field in the metadata of the target configuration item. To provide a more accurate interactive experience, the data type can be finely divided. The target data type includes basic programming types and domain-specific types. Basic programming types refer to common computer data formats, such as String, Number, Boolean, and Array. Domain-specific types refer to types with special semantics and format constraints in specific business scenarios. For example, in the field of data visualization, there are Color (color, which must support Hex / RGB format), Gradient (gradient color object), Enum (enumeration, with a fixed set of options), Padding (margin, containing four values: top, right, bottom, and left), etc.
[0201] S1450. Obtain the mapping relationship between the preset configuration item data type and the interactive configuration element.
[0202] In this embodiment of the application, a mapping table between configuration item data types and interactive configuration elements is pre-set and maintained internally. The mapping table includes the mapping relationship between the data types of different configuration items and the best interactive configuration elements. For example, string type is mapped to text input box, color type is mapped to color picker, boolean type is mapped to switch, and enum type is mapped to select drop-down selection box.
[0203] S1460. Based on the data type and mapping relationship, instantiate the target configuration item into the corresponding interactive configuration element, and arrange the generated interactive configuration elements in the layout container of the dynamic configuration panel.
[0204] Based on the data type and mapping relationship, the optimal interactive configuration element corresponding to the target configuration item can be determined, and a dynamic instantiation process can be executed. For example, for a color configuration item, a new element will be created in memory. <colorpicker / > The component instance is injected with the current value of the target configuration item as the default value and the semantic description in the meta information as a tag, thus obtaining the interactive configuration element.
[0205] It is understandable that the number of generated interactive configuration elements can be multiple. The generated interactive configuration elements are arranged within the layout container of the dynamic configuration panel. The layout container refers to the parent interface container in the dynamic configuration panel that is used to hold and manage the arrangement rules of child components. The layout container is responsible for managing the arrangement of interactive configuration elements. It can use a flow layout or grid layout to arrange the interactive configuration elements in the order of generation; or, according to the hierarchy of the configuration path (such as belonging to the same parent node), related elements can be grouped and wrapped in cards or field sets to form a clear visual structure.
[0206] S1470. Based on the configuration path corresponding to the target configuration item in the metadata, establish a two-way data binding relationship between the interactive configuration element and the configuration status data of the target system.
[0207] In this embodiment, a two-way data binding relationship is established between the interactive configuration element and the configuration status data of the target system. The two-way data binding relationship includes a forward binding relationship from the interactive configuration element to the target system. An event detector can be registered for each instantiated interactive configuration element. When the object operates the interactive configuration element, a detection callback is triggered. The callback function uses the configuration path in the metadata as an index key to locate the specific node in the configuration status data of the target system and writes a new value.
[0208] Two-way data binding also includes a reverse binding relationship between the target system and the interactive configuration element. The interactive configuration element subscribes to the configuration status data of the target system. When the configuration status data of the target system changes due to other reasons (such as code modification, undo / redo operation, API push), the change is detected through the configuration path and the corresponding interactive configuration element is automatically triggered to re-render, updating the display value of the interactive configuration element to the latest data.
[0209] In this embodiment, interactive configuration elements are instantiated by identifying data types and matching mapping relationships. The most suitable interactive configuration elements for operation can be automatically generated based on the data characteristics of the configuration items. This avoids the tedious process of manually writing form code in traditional development, while preventing input format errors and improving the convenience and accuracy of configuration operations. By establishing a two-way data binding relationship based on the configuration path, it is ensured that every operation of the object can be mapped to the underlying data of the target system in real time, and changes in the underlying data can be reflected on the operation interface in an instant.
[0210] In one embodiment of this application, another configuration interaction method is provided, which can be applied to Figure 1 The implementation environment shown is as follows: Figure 17 As shown, this configuration interaction method is in Figure 14Based on S1470 shown, S240 is extended to S1710~S1730, which are described in detail below.
[0211] S1710. Obtain the configuration change value generated by the trigger operation.
[0212] When a triggering action occurs, the latest input value, i.e., the configuration change value, is extracted from the event object or component state of the interactive configuration element; for example, if the object drags an opacity slider from 0.5 to 0.8, the configuration change value generated by the triggering action is the value 0.8.
[0213] S1720. Based on the two-way data binding relationship, the configuration change value is synchronously written into the data node pointed to by the target configuration path in the configuration status data of the target system to obtain the updated configuration status data.
[0214] By leveraging the two-way data binding relationship, the target configuration path associated with the current interactive configuration element is read. Using this path as an index, the configuration status data of the target system is traversed in memory to accurately locate the corresponding leaf node, i.e., the data node. The obtained configuration change value is written to the data node, overwriting the original value to obtain the updated configuration status data.
[0215] S1730. Call the target system's rendering engine interface to apply the updated configuration status data to the target system's running instance, thereby driving the visualization display area to perform view redraw and updating the rendering results of the target system.
[0216] Once a data change is detected, the standard API provided by the target system, i.e., the rendering engine interface, is immediately invoked. For the ECharts charting system, this interface is chartInstance.setOption(option); for the React component library, it is the render() method triggered by setState or props updates.
[0217] The updated configuration status data, containing the latest parameters, is passed as a parameter to this interface and applied to the current running instance of the target system. After receiving the new data, the target system's rendering engine calculates the data differences and redraws the canvas.
[0218] Once the redraw is complete, the visual display area of the terminal device will immediately show the latest visual effects, such as a change in transparency, which updates the rendering results of the target system.
[0219] The above approach, by directly locating and writing data nodes using the target configuration path, ensures that modifications to objects only affect specific configuration items and do not accidentally interfere with other irrelevant parameters; and immediately calls the rendering engine interface and drives view redrawing after data update, thus creating an instant-response WYSIWYG interactive experience.
[0220] To facilitate understanding of the technical solutions of this application, embodiments of this application provide a system architecture that supports the above-described configuration interaction method. This configuration interaction system adopts a layered and modular design concept, aiming to decouple core logic from specific business scenarios (such as different chart libraries, front-end frameworks, or back-end services).
[0221] like Figure 18 He Ru Figure 19 As shown, the system consists of four core logic layers, which communicate with each other through clearly defined interfaces, ensuring loose coupling and high scalability.
[0222] The object interaction layer is the direct object-oriented interactive interface, primarily providing two core components: an intent input component, manifested as a natural language input box or search box, serving as the main entry point for objects to express configuration intents; and a dynamic configuration panel, used to hold interactive configuration elements dynamically generated by the system. This layer is responsible for capturing object input events (such as text input and clicks) and receiving instructions from the intelligent core layer to dynamically render or update interface elements.
[0223] The intelligent core layer is the system's "brain" and decision-making center, comprising two key sub-modules: a local AI inference engine (i.e., the aforementioned language model), responsible for deep semantic understanding and intent recognition of unstructured input; and a configuration knowledge base (i.e., the aforementioned full configuration set), serving as a structured information source to provide the AI engine with specialized domain knowledge support. These two layers work together to complete the crucial transformation from natural language descriptions to structured configuration recommendations. Notably, the AI inference logic of this layer can be executed entirely on the client side to ensure extremely high response speed and data privacy.
[0224] Data Layer: This layer acts as the system's state management center. Its core responsibility is to maintain the current full configuration state data of the target system (such as an ECharts chart instance). It receives configuration change requests from the object interaction layer, updates the internal state tree, and notifies the feedback layer to synchronize with the presentation layer.
[0225] Feedback and Presentation Layer: This layer is responsible for applying the configuration state in the data layer to the target system (e.g., calling the setOption interface of the ECharts instance) and driving the rendering engine to perform view redraw, presenting the visualization results to the object in real time, and completing the configuration-preview closed loop.
[0226] Based on the above architecture, the object experience flow includes: the object first expresses its configuration intent to the system through natural language (such as "mark the bar with the highest sales in red and add data labels"), the system parses the intent in the background through the intelligent core layer, accurately identifies the configuration items that need to be adjusted (such as series[].itemStyle.color and series[].label), and then dynamically generates a simple form control with only these related settings in the interaction layer. When the object makes adjustments to these controls, each modification is synchronized to the target system in real time through the data layer and immediately provides visual feedback in the presentation layer; the whole process does not require the object to manually navigate through a complex configuration tree, realizing a highly efficient configuration experience where what you think is what you get.
[0227] like Figure 20 As shown, the configuration interaction method includes...
[0228] S2010, Receive natural language or keywords input by the recipient.
[0229] Continuously monitor input events in the object's interaction layer to obtain the object's text commands.
[0230] S2020: Call the local AI engine and combine it with the configured knowledge base to perform semantic parsing. The object command is passed to the local AI inference engine, which combines a pre-built configuration knowledge base to perform deep semantic parsing and intent recognition of the command.
[0231] S2030, Generate structured configuration item recommendation results. Based on the analysis results, the system outputs a structured data object containing the target configuration path, recommended initial values, and reasoning.
[0232] S2040, a dynamic form generation engine, renders UI components on demand. Based on the above recommendations, the dynamic form generation engine instantiates the corresponding interactive configuration elements as needed and arranges them in the dynamic configuration panel.
[0233] S2050, Detect changes in form values.
[0234] S2060, Real-time updates of target system configuration. Detect changes in the values of form items, update the data layer state in real time, and drive the target system to perform rendering updates.
[0235] S2070, Process ends or waiting for the next input from the target.
[0236] The pre-construction of a configuration knowledge base is crucial, as its quality determines the system's intelligence level. Its construction includes: full extraction; first, extracting all configuration items from the target system's (e.g., ECharts) official configuration documentation; defining detailed metadata for each configuration item, including not only basic path identifiers, data types, default values, and value ranges, but also clear functional descriptions; semantic enhancement; to achieve accurate semantic understanding, each configuration item needs to be manually annotated or automatically generated with rich sets of keywords and synonyms; for example, for the "color" configuration item, keywords should include "color," "coloring," "coloring," etc.; and establishing logical relationships between configuration items; for example, when configuring "title," index links should be established between it and "title style" and "title position" to support intelligent related recommendations.
[0237] Local AI Inference Engine: This module is the core of achieving intelligence, and its workflow is based on meticulous prompt word engineering. Upon receiving object input, it constructs a structured prompt word template, which injects several key pieces of information: the object's original input, relevant configuration item information retrieved from the knowledge base, and the current configuration status of the target system. This provides sufficient context for locally running lightweight AI models (such as those based on Web-LLM technology). To ensure the parsability and stability of the output results, the output format of the model is strictly constrained by the prompt words, requiring it to return a structured JSON object. This object typically contains the inference process, a list of recommended items (each item explicitly specifies the configuration path, the initial value of the recommendation, and the reason for the recommendation), and other fields, ensuring machine readability and providing accurate input for subsequent steps.
[0238] Dynamic Form Generation Engine: This engine is responsible for transforming AI's intelligent recommendations into concrete, interactive object interfaces. Internally, the engine maintains a core type-component mapping table, which maps the data type of configuration items to the corresponding optimal UI form components. For example, string type maps to text input boxes, color type maps to color pickers, boolean type maps to switches, and enum type maps to select dropdown boxes. For each configuration item recommended by the AI, the engine finds the corresponding UI component from the mapping table based on its data type, then dynamically creates an instance of that component and automatically organizes it within a consistent layout container. The generated form components establish a two-way data binding with the data model of the data layer.
[0239] Real-time feedback: When an object interacts with a form component, changes are immediately notified to the data layer; after the data layer updates its configuration state, it triggers an update event. Upon detecting this event, the feedback layer immediately calls the target system's API to apply the latest configuration and triggers a redraw. This on-demand generation and incremental update approach not only achieves WYSIWYG but also effectively avoids the performance bottleneck caused by traditional full form rendering.
[0240] The configuration interaction method and system provided in this application replace the traditional full-form configuration mode with an intent-driven, on-demand intelligent configuration approach. It uses search and natural language as the core interaction entry points, lowering the barrier to entry for users. A lightweight AI model integrated locally is used to analyze user intent in real time and accurately identify target configuration items. The configuration form interface is dynamically and on-demand generated, rendering only configuration items related to the current intent, simplifying the interface. Real-time feedback on configuration changes is provided, offering a WYSIWYG configuration experience. The configuration process is transformed from manual searching to an intelligent mode of expressing intent and obtaining results. This fundamentally simplifies the configuration process of complex systems, achieving a qualitative leap in efficiency, eliminating the cognitive burden of complex systems, and enabling non-professional users to easily complete professional configurations.
[0241] The apparatus embodiments of this application are described herein, which can be used to execute the configuration interaction method in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the configuration interaction method described above.
[0242] This application provides a configuration interaction device that can be deployed on a terminal device, such as... Figure 21 As shown, the device includes...
[0243] Display module 2110 is used to display a configuration interface for the target system, the configuration interface including an instruction interaction area.
[0244] The display module 2120 is used to display a dynamic configuration panel in the configuration interface in response to an interactive instruction received through the instruction interaction area. The dynamic configuration panel contains interactive configuration elements that match the interactive instruction.
[0245] The display module 2110 is also used to display a visual display interface in response to a trigger operation on the interactive configuration element.
[0246] The display module 2120 is also used to update and display the rendering result of the target system in real time in the visualization display interface, so as to present a visual effect consistent with the interactive configuration element after the trigger operation.
[0247] In one embodiment of this application, based on the aforementioned scheme, the interaction instruction includes configuration content belonging to different configuration categories, and the display module is further used to display multiple visual separation areas in the dynamic configuration panel, and to aggregate and display the interactive configuration elements corresponding to the configuration content in the corresponding visual separation areas according to their respective configuration categories; if a trigger operation targeting an area outside the dynamic configuration panel is detected, the display of the dynamic configuration panel is terminated, thereby hiding the dynamic configuration panel.
[0248] In one embodiment of this application, based on the foregoing scheme, the configuration interface includes the visualization display interface; the display module is further used to obtain the presentation area of the visual target object in the target system pointed to by the interaction command in the visualization display interface; in the visualization display interface, the dynamic configuration panel is displayed in a floating form around the presentation area; wherein, the display position of the dynamic configuration panel is dynamically associated with the presentation area, and the display area of the dynamic configuration panel does not obscure the visual target object.
[0249] In one embodiment of this application, based on the foregoing scheme, the configuration interface includes the visualization display interface; the dynamic configuration panel is presented in the visualization display interface as a layer covering the rendering result of the target system; the display module is further used to detect in real time in the visualization interface whether there is spatial overlap between the display area of the dynamic configuration panel and the visual target object in the target system; if there is spatial overlap, while updating the rendering result of the target system in the visualization display interface, the background of the dynamic configuration panel is switched to a semi-transparent or transparent visual state, or a visual penetration window is formed in the spatial overlap area to present the visual target object located below the dynamic configuration panel.
[0250] In one embodiment of this application, based on the foregoing scheme, the dynamic configuration panel further includes associated interactive configuration elements that are logically related to the interactive configuration elements; the display module is further configured to respond to a trigger operation on the interactive configuration element, if the visual change generated by the trigger operation is logically mutually exclusive with the associated interactive configuration element, the associated interactive configuration element is switched to an unavailable visual grayed-out state in the dynamic configuration panel, and a warning mark is displayed to indicate the cause of the conflict; if there is no logical mutual exclusion, the visual effect based on the combined action of the interactive configuration element and the associated interactive configuration element is simultaneously presented in the visualization display interface.
[0251] In one embodiment of this application, based on the foregoing scheme, the dynamic configuration panel further includes a state verification function group, which includes a visual comparison control and a state rollback control; the display module is further configured to, in response to an interactive operation on the visual comparison control, alternately switch or overlay the visual state of the target system before the triggering operation and the rendering result after the triggering operation in the visual display interface; in response to an interactive operation on the state rollback control, restore the visual state before the triggering operation in the visual display interface, and revert the interactive configuration elements in the dynamic configuration panel to the display state before the triggering operation.
[0252] In one embodiment of this application, based on the foregoing scheme, the interactive instruction includes multiple instruction content fragments, and the interactive configuration elements in the dynamic configuration panel have a visual mapping relationship with the instruction content fragments in the interactive instruction; the display module is further configured to respond to a focus operation on any of the interactive configuration elements in the dynamic configuration panel, and to highlight the specific instruction content fragment that has a visual mapping relationship with the interactive configuration element in the instruction interaction area. And / or, in response to a selection operation on any instruction content fragment in the instruction interaction area, the interactive configuration element that has a visual mapping relationship with the instruction content fragment is highlighted in the dynamic configuration panel.
[0253] In one embodiment of this application, based on the aforementioned scheme, the interactive configuration element includes an operation control and a visual feature pattern for representing the current selected state of the operation control. The display module is further used to combine and display the operation control and the visual feature pattern in the dynamic configuration panel. The visual feature pattern is presented as a graphical form corresponding to the current selected state of the operation control, so as to display the visual effect corresponding to the current selected state in the dynamic configuration panel.
[0254] In one embodiment of this application, based on the foregoing scheme, the dynamic configuration panel includes a first display state and a second display state, wherein the display area of the dynamic configuration panel in the first display state is smaller than the display area in the second display state; the display module is further configured to display the dynamic configuration panel in the configuration interface as the first display state, and only present the interactive configuration elements of the first priority in the display area; in response to an expansion trigger operation targeting the edge area or a specific gesture recognition area of the dynamic configuration panel, the dynamic configuration panel is switched from the first display state to the second display state to increase the display area of the dynamic configuration panel, wherein, as the display area increases, the interactive configuration elements of the second priority are animated.
[0255] In one embodiment of this application, based on the foregoing scheme, the dynamic configuration panel further renders a configuration source anchor point control; the display module is further configured to, in response to a drag operation on the configuration source anchor point control, display a visual proxy pattern that follows the cursor movement in the visualization display interface, the visual proxy pattern representing the current configuration state of the interactive configuration element; in response to the end of the drag operation in the target area of the visualization display interface, identify whether there are other visual target objects in the target area; if there are other visual target objects, update the display appearance of the other visual target objects to a visual effect consistent with the interactive configuration element.
[0256] In one embodiment of this application, based on the foregoing scheme, the device further includes an acquisition module, configured to acquire metadata of each configuration item in the full configuration set and the current configuration state of the target system, wherein the metadata includes the configuration path, data type, and semantic description information of the configuration item; identify the configuration intent of the interaction instruction based on the semantic information of the interaction instruction, and generate a configuration item recommendation result corresponding to the configuration intent based on the metadata and the current configuration state of the target system, wherein the configuration item recommendation result includes the target configuration path; determine the target configuration item based on the target configuration path, and determine the interaction configuration element based on the target configuration item.
[0257] In one embodiment of this application, based on the foregoing scheme, the device further includes a configuration module, configured to: identify the data type of the target configuration item according to the metadata; obtain a preset mapping relationship between the configuration item data type and the interactive configuration element; instantiate the target configuration item into a corresponding interactive configuration element based on the data type and the mapping relationship, and arrange the generated interactive configuration elements in the layout container of the dynamic configuration panel; and establish a bidirectional data binding relationship between the interactive configuration element and the configuration status data of the target system according to the configuration path corresponding to the target configuration item in the metadata.
[0258] In one embodiment of this application, based on the foregoing scheme, the device further includes a synchronization module, used to obtain the configuration change value generated by the triggering operation; based on the bidirectional data binding relationship, synchronously write the configuration change value into the data node pointed to by the target configuration path in the configuration status data of the target system to obtain the updated configuration status data; call the rendering engine interface of the target system to apply the updated configuration status data to the running instance of the target system to drive the visualization display area to perform view redrawing and update the rendering result of the target system.
[0259] In one embodiment of this application, based on the foregoing scheme, the acquisition module is further configured to extract the configuration path, data type, default value, value range, and description of each configuration item from the standard configuration document of the target system, and determine the extracted content as the basic attribute information of each configuration item; perform synonym expansion and keyword annotation processing on each configuration item to generate an extended semantic tag containing a set of synonyms and a set of keywords; establish a logical association index to indicate recommended links between the current configuration item and other related configuration items according to the functional coupling degree between each configuration item; and encapsulate the basic attribute information, the extended semantic tag, and the logical association index into the meta-information.
[0260] In one embodiment of this application, based on the foregoing scheme, the acquisition module is further configured to perform semantic retrieval on the interaction command to retrieve configuration items that are semantically related to the interaction command in the full configuration set, forming a subset of candidate configuration items; retrieve historical operation records that are semantically similar to the interaction command from a preset example library to construct a reference example containing the mapping relationship between the command and the configuration; assemble the meta-information of the subset of candidate configuration items, the current configuration state of the target system, the reference example, and the interaction command into the prompt word context according to a preset structured template; and input the prompt word context into a pre-trained language model to obtain the configuration item recommendation result output by the language model.
[0261] In one embodiment of this application, based on the foregoing scheme, the configuration item recommendation result further includes the confidence level of the target configuration path; the device further includes a matching module, configured to perform word segmentation and keyword extraction on the interaction instruction when the confidence level of the target configuration path is identified to be lower than a preset threshold, to obtain a target key string; and to perform string fuzzy matching on the full configuration set of the target system based on the target key string; the display module is further configured to render a source prompt identifier in the dynamic configuration panel if a target configuration item is matched, to indicate that the interaction configuration element is generated based on the string fuzzy matching; and to display a visual anomaly prompt in the instruction interaction area if no target configuration item is matched, and to expand a recommendation intent tag cloud around the instruction interaction area, the recommendation intent tag cloud containing preset popular configuration instructions or candidate instructions with text similarity to the target key string.
[0262] In one embodiment of this application, based on the foregoing scheme, the configuration item recommendation result further includes the recommended initial value and recommendation reason corresponding to the target configuration path; the display module is further configured to use the recommended initial value as the initial rendering state of the interactive configuration element in the dynamic configuration panel; and to display explanatory prompt information corresponding to the recommendation reason in the dynamic configuration panel along with the interactive configuration element. It should be noted that the apparatus provided in the above embodiments and the method provided in the above embodiments belong to the same concept, and the specific way in which each module and unit performs operations has been described in detail in the method embodiments, and will not be repeated here.
[0263] Embodiments of this application also provide an electronic device, including one or more processors and a storage device, wherein the storage device is used to store one or more computer programs, which, when executed by one or more processors, cause the electronic device to implement the configuration interaction method as described above.
[0264] Figure 22 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.
[0265] It should be noted that, Figure 22 The computer system 2200 of the electronic device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application, wherein the electronic device may be a terminal device or a server.
[0266] like Figure 22As shown, the computer system 2200 includes a central processing unit (CPU) 2201, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in read-only memory (ROM) 2202 or a program loaded from storage portion 2208 into random access memory (RAM) 2203. Various programs and data required for system operation are also stored in RAM 2203. The CPU 2201, ROM 2202, and RAM 2203 are interconnected via bus 2204. An input / output (I / O) interface 2205 is also connected to bus 2204.
[0267] In some embodiments, the following components are connected to the I / O interface 2205: an input section 2206 including a keyboard, mouse, etc.; an output section 2207 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 2208 including a hard disk, etc.; and a communication section 2209 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 2209 performs communication processing via a network such as the Internet. A drive 2210 is also connected to the I / O interface 2205 as needed. A removable medium 2211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 2210 as needed so that computer programs read from it can be installed into the storage section 2208 as needed.
[0268] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 2209, and / or installed from removable medium 2211. When the computer program is executed by processor (CPU) 2201, it performs various functions defined in the system of this application.
[0269] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0270] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and a computer program.
[0271] The units or modules described in the embodiments of this application can be implemented in software or hardware, and can also be located in a processor. The names of these units or modules do not necessarily limit the specific unit or module itself.
[0272] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the configuration interaction method as described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not assembled into the electronic device.
[0273] Another aspect of this application provides a computer program product comprising a computer program stored in a computer-readable storage medium. A processor of an electronic device reads the computer program from the computer-readable storage medium and executes the computer program, causing the electronic device to perform the configuration interaction method provided in the various embodiments described above.
[0274] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0275] Other embodiments of this application will readily conceive of by considering the specification and practicing the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0276] The above description is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.
Claims
1. A configuration interaction method, characterized in that, include: Displays a configuration interface for the target system, the configuration interface including a command interaction area; In response to an interactive instruction received through the instruction interaction area, a dynamic configuration panel is displayed in the configuration interface, the dynamic configuration panel containing interactive configuration elements that match the interactive instruction; In response to a trigger operation on the interactive configuration element, a visual display interface is displayed, and the rendering result of the target system is updated and displayed in real time on the visual display interface to present a visual effect consistent with the interactive configuration element after the trigger operation.
2. The method according to claim 1, characterized in that, The interactive commands include configuration content belonging to different configuration categories, and a dynamic configuration panel is displayed in the configuration interface, including: The dynamic configuration panel displays multiple visually separated areas, and the interactive configuration elements corresponding to the configuration content are aggregated and displayed in the corresponding visually separated areas according to their respective configuration categories. If a trigger operation is detected targeting an area outside the dynamic configuration panel, the display of the dynamic configuration panel will be terminated, and the dynamic configuration panel will be hidden.
3. The method according to claim 1, characterized in that, The configuration interface includes the visual display interface; the configuration interface displays a dynamic configuration panel, including: Obtain the presentation area of the visual target object in the target system pointed to by the interactive command in the visualization display interface; In the visualization interface, the dynamic configuration panel is displayed in a floating form around the presentation area; wherein the display position of the dynamic configuration panel is dynamically related to the presentation area, and the display area of the dynamic configuration panel does not obstruct the visual target object.
4. The method according to claim 1, characterized in that, The configuration interface includes the visual display interface; the dynamic configuration panel is presented in the visual display interface as a layer that overlays the rendering result of the target system; In response to a triggering operation on the interactive configuration element, the method further includes: In the visualization interface, it is detected in real time whether there is spatial overlap between the display area of the dynamic configuration panel and the visual target object in the target system; If spatial overlap exists, while updating the rendering results of the target system in the visualization display interface, the background of the dynamic configuration panel is switched to a semi-transparent or transparent visual state, or a visual penetration window is formed in the spatial overlap area to present the visual target object located below the dynamic configuration panel.
5. The method according to claim 1, characterized in that, The dynamic configuration panel also includes associated interactive configuration elements that are logically related to the interactive configuration elements; The step of displaying a visual interface in response to a trigger operation on the interactive configuration element, and updating and displaying the rendering results of the target system in the visual interface in real time, includes: In response to a trigger operation on the interactive configuration element, detect whether there is a logical mutual exclusion between the visual change generated by the trigger operation and the associated interactive configuration element; If logical mutual exclusion exists, the associated interactive configuration element in the dynamic configuration panel will be switched to an unavailable visual grayed-out state, and a warning mark will be displayed to indicate the cause of the conflict. If the logical mutual exclusion does not exist, the visual effects based on the combined effect of the interactive configuration elements and the associated interactive configuration elements will be presented synchronously in the visualization display interface.
6. The method according to claim 1, characterized in that, The dynamic configuration panel further includes a status verification function group, which includes a visual comparison control and a status rollback control; the method further includes: In response to interactive operations on the visual contrast control, the visual display interface alternately switches between displaying or displays in split-screen overlay the visual state of the target system before the triggering operation and the rendering result after the triggering operation. In response to an interactive operation on the state rollback control, the visual state before the triggering operation is restored in the visualization display interface, and the interactive configuration elements in the dynamic configuration panel are reverted to their display state before the triggering operation.
7. The method according to claim 1, characterized in that, The interactive commands include multiple command content fragments, and the interactive configuration elements in the dynamic configuration panel have a visual mapping relationship with specific command content fragments in the interactive commands; the method further includes: In response to a focus operation on any of the interactive configuration elements in the dynamic configuration panel, a specific instruction content fragment that has a visual mapping relationship with the interactive configuration element is highlighted in the instruction interaction area; And / or, in response to a selection operation on any instruction content fragment in the instruction interaction area, the interactive configuration element that has a visual mapping relationship with the instruction content fragment is highlighted in the dynamic configuration panel.
8. The method according to claim 1, characterized in that, The interactive configuration elements include operation controls and visual feature patterns representing the current selected state of the operation controls. Displaying a dynamic configuration panel in the configuration interface includes: In the dynamic configuration panel, the operation controls and the visual feature patterns are displayed in combination; wherein, the visual feature patterns are presented as a graphical form corresponding to the current selection state of the operation controls, so as to display the visual effect corresponding to the current selection state in the dynamic configuration panel.
9. The method according to claim 1, characterized in that, The dynamic configuration panel includes a first display state and a second display state, wherein the display area of the dynamic configuration panel in the first display state is smaller than the display area in the second display state. The display of the dynamic configuration panel in the configuration interface includes: In the configuration interface, the dynamic configuration panel is displayed in the first display state, and only the interactive configuration elements with the first priority are presented in the display area; The method further includes: In response to an expansion trigger operation targeting the edge area or a specific gesture recognition area of the dynamic configuration panel, the dynamic configuration panel is switched from the first display state to the second display state to increase the display area of the dynamic configuration panel. As the display area increases, the interactive configuration elements of the second priority are animated.
10. The method according to claim 1, characterized in that, The dynamic configuration panel also includes a configuration source anchor point control; the method further includes: In response to a drag operation on the configuration source anchor control, a visual proxy pattern that follows the cursor movement is displayed in the visualization interface. The visual proxy pattern represents the current configuration state of the interactive configuration element. In response to the end of the drag operation in the target area of the visualization interface, it is identified whether there are other visual target objects in the target area; If other visual target objects exist, their display appearance will be updated to match the visual effect of the interactive configuration element.
11. The method according to claim 1, characterized in that, The step of displaying a dynamic configuration panel in the configuration interface in response to an interactive command received through the command interaction area includes: Obtain the metadata of each configuration item in the full configuration set of the target system and the current configuration status of the target system, wherein the metadata includes the configuration path, data type and semantic description information of the configuration item; The configuration intent of the interaction instruction is identified based on the semantic information of the interaction instruction, and a configuration item recommendation result corresponding to the configuration intent is generated based on the meta-information and the current configuration state of the target system. The configuration item recommendation result includes the target configuration path. The target configuration item is determined based on the target configuration path, and the interactive configuration element is determined based on the target configuration item.
12. The method according to claim 11, characterized in that, Determining the interaction configuration element based on the target configuration item includes: The data type of the target configuration item is identified based on the metadata; Obtain the mapping relationship between the preset configuration item data types and interactive configuration elements; Based on the data type and the mapping relationship, the target configuration item is instantiated into the corresponding interactive configuration element, and the generated interactive configuration elements are arranged in the layout container of the dynamic configuration panel. Based on the target configuration path, a two-way data binding relationship is established between the interactive configuration element and the configuration status data of the target system.
13. The method according to claim 12, characterized in that, The step of displaying a visual interface in response to a trigger operation on any of the interactive configuration elements, and updating the rendering results of the target system in the visual interface in real time, includes: Obtain the configuration change value generated by the triggering operation; Based on the bidirectional data binding relationship, the configuration change value is synchronously written into the data node pointed to by the target configuration path in the configuration status data of the target system to obtain the updated configuration status data; The rendering engine interface of the target system is invoked to apply the updated configuration status data to the running instance of the target system, thereby driving the visualization display area to perform view redraw and update the rendering results of the target system.
14. The method according to claim 11, characterized in that, The method further includes: Extract the configuration path, data type, default value, value range and description of each configuration item from the standard configuration document of the target system, and determine the extracted content as the basic attribute information of each configuration item; For each of the configuration items, synonym expansion and keyword tagging are performed to generate extended semantic tags containing a set of synonyms and a set of keywords; Based on the functional coupling degree between each configuration item, a logical association index is established to indicate the recommended links between the current configuration item and other related configuration items; The basic attribute information, the extended semantic tags, and the logical association index are encapsulated into the meta-information.
15. The method according to claim 11, characterized in that, The step of identifying the configuration intent of the interaction instruction based on its semantic information, and generating a configuration item recommendation result corresponding to the configuration intent based on the metadata and the current configuration state of the target system, includes: Semantic retrieval is performed on the interaction command to retrieve configuration items that are semantically related to the interaction command from the full configuration set, forming a subset of candidate configuration items; Retrieve historical operation records with semantic similarity to the interactive instructions from a preset example library, and construct a reference example containing the mapping relationship between instructions and configuration; Based on a preset structured template, the meta-information of the candidate configuration item subset, the current configuration status of the target system, the reference example, and the interaction instructions are assembled into a prompt word context. The context of the prompt word is input into a pre-trained language model to obtain the configuration item recommendation results output by the language model.
16. The method according to claim 15, characterized in that, The configuration item recommendation result also includes the confidence level of the target configuration path; the method further includes: When the confidence level of the target configuration path is found to be lower than a preset threshold, the interaction command is segmented and keywords are extracted to obtain the target key string; Based on the target key string, perform fuzzy string matching on the full configuration set of the target system; If a target configuration item is matched, a source indicator is displayed in the dynamic configuration panel to indicate that the interactive configuration element is generated based on the fuzzy matching of the string; If no target configuration item is matched, a visual anomaly prompt is displayed in the instruction interaction area, and a recommended intent tag cloud is expanded around the instruction interaction area. The recommended intent tag cloud contains preset popular configuration instructions or candidate instructions that have text similarity to the target keyword string.
17. The method according to claim 11, characterized in that, The configuration item recommendation results also include the recommended initial value and the recommendation reason corresponding to the target configuration path; The configuration interface displays a dynamic configuration panel, including: The recommended initial value is used as the initial rendering state of the interactive configuration element in the dynamic configuration panel; The dynamic configuration panel displays explanatory prompts corresponding to the recommendation reasons along with the interactive configuration elements.
18. A configuration interaction device, characterized in that, include: The display module is used to display a configuration interface for the target system, the configuration interface including an instruction interaction area; The display module is used to display a dynamic configuration panel in the configuration interface in response to an interactive command received through the command interaction area. The dynamic configuration panel contains interactive configuration elements that match the interactive command. The display module is also used to display a visual display interface in response to a trigger operation on the interactive configuration element; The display module is also used to update and display the rendering results of the target system in real time in the visualization display interface, so as to present a visual effect consistent with the interactive configuration elements after the trigger operation.
19. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to perform the method of any one of claims 1 to 17.
20. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by the processor of the electronic device, causes the electronic device to perform the method of any one of claims 1 to 17.
21. A computer program product, characterized in that, The computer program product includes a computer program stored in a computer-readable storage medium, wherein a processor of an electronic device reads from and executes the computer program to cause the electronic device to perform the method of any one of claims 1 to 17.
Citation Information
Cited By
Out-of-band asynchronous security configuration and state rollback method and system for heterogeneous edge nodes
CN122093260A
