An interactive window display method, device, equipment and storage medium

By storing node structure data containing node information and updating it based on a preset data structure, the problem of untimely node content updates is solved, enabling real-time dynamic display of node information and improving user experience.

CN115543285BActive Publication Date: 2026-08-25BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110729935.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-29
Publication Date
2026-08-25
Estimated Expiration
2041-06-29

AI Technical Summary

Technical Problem

In existing technologies, updating node content requires updating the software version, which causes the content of the node addition dialog box to not be updated in a timely manner, affecting the user experience.

Method used

By storing node structure data that stores node information, and updating it based on a preset data structure, the node information in the target interactive window is dynamically displayed.

Benefits of technology

It enables real-time updates of node information without requiring software version updates, thus improving the user experience of using visual programming software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115543285B_ABST
    Figure CN115543285B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure provides an interactive window display method, device, equipment and storage medium. First, in response to a preset interactive window display operation, node structure data is acquired, wherein the node structure data comprises node information stored according to a preset data structure, and the node structure data is used to enable the node information to be displayed in a target interactive window based on the preset data structure. Then, based on the node structure data and a preset interactive window framework, the target interactive window is displayed. The embodiment of the present disclosure stores the node information according to the preset data structure. Once the node information is updated, the node structure data can be updated based on the preset data structure. Therefore, the node information in the target interactive window displayed based on the node structure data is updated in real time. It can be seen that the embodiment of the present disclosure can realize the update of the node content on the target interactive window without updating the software version, thereby improving the experience of the user using the related software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data display, and more particularly to an interactive window display method, apparatus, device, and storage medium. Background Technology

[0002] Visual programming is a Windows application development tool that operates on the principle of "what you see is what you get," aiming to visualize the programming process. Nodes in visual programming are used to implement sub-functions within a program. Visual programming is achieved by connecting these nodes. Users often require quick entry points for adding nodes to improve efficiency, such as node addition dialog boxes.

[0003] Currently, the way to display the node addition dialog box is to hardcode the preset node content into the dialog box. When the node content changes, the only way to update the node content displayed in the node addition dialog box is to update the software version. Obviously, the update of the node content displayed in the node addition dialog box is not timely. Summary of the Invention

[0004] To solve the above-mentioned technical problems, or at least partially solve them, this disclosure provides an interactive window display method, apparatus, device, and storage medium. When node information is updated, the node structure data storing the node information can perform an update operation based on a preset data structure, thereby enabling the target interactive window displaying the updated node information based on the updated node structure data to also display the updated node information. It can be seen that the embodiments of this disclosure realize the display of the interactive window based on dynamically updated node information. Therefore, the node content displayed on the interactive window is also dynamically updated.

[0005] In a first aspect, this disclosure provides an interactive window display method, the method comprising:

[0006] In response to a preset interactive window display operation, node structure data is acquired; wherein, the node structure data includes node information stored according to a preset data structure, and the node structure data is used to display the node information in the target interactive window based on the preset data structure;

[0007] Based on the node structure data and the preset interactive window framework, the target interactive window is displayed.

[0008] In one optional implementation, the node information includes a mapping relationship between node classification and node description information.

[0009] In one optional implementation, when a new operation is detected targeting the first node information, it is determined whether the node structure data contains the node category from the first node information.

[0010] If it is determined that the node category in the first node information exists in the node structure data, then the node description information in the first node information is stored under the node category in the node structure data;

[0011] If it is determined that the node category in the first node information does not exist in the node structure data, then the node category is added to the node structure data, and the node description information in the first node information is stored under the newly added node category.

[0012] In one optional implementation, when a deletion operation targeting the second node information is detected, the node category corresponding to the second node information in the node structure data is determined, and the second node information is deleted from the node category.

[0013] In one optional implementation, the node description information includes the correspondence between node names and node function description information;

[0014] The step of displaying the target interactive window based on the node structure data and the preset interactive window framework includes:

[0015] The correspondence between the node category and the node name in the node description information is filled into a preset second-level menu control in the preset interactive window frame, and the correspondence between the node name and the node function description information is filled into a preset information display control in the preset interactive window frame to generate the target interactive window;

[0016] Display the target interactive window.

[0017] In one optional implementation, the preset data structure is a data structure containing key-value pairs, where the key in the key-value pairs is used to store node classification, and the value in the key-value pairs is used to store node description information.

[0018] In an optional implementation, before acquiring node structure data in response to a preset interactive window display operation, the method further includes:

[0019] In response to a launch operation for a target visual programming application, the configuration file of the node corresponding to the target visual programming application is obtained; wherein, the configuration file includes the node information of the node;

[0020] The node information is stored according to a preset data structure to obtain the node structure data corresponding to the target visualization programming application.

[0021] In an optional implementation, after displaying the target interactive window based on the node structure data and the preset interactive window framework, the method further includes:

[0022] When a keyword search operation targeting node information is received on the target interaction window, the search results corresponding to the keyword search operation are obtained based on the node structure data.

[0023] The search results are displayed on the target interactive window.

[0024] In an optional implementation, after displaying the target interactive window based on the node structure data and the preset interactive window framework, the method further includes:

[0025] Add target nodes to the visual programming interface based on the target interactive window;

[0026] In response to the node information display operation for the target node, the node information corresponding to the target node is obtained from the node structure data;

[0027] The node information is displayed on the visual programming interface.

[0028] Secondly, this disclosure provides an interactive window display device, the device comprising:

[0029] The first acquisition module is used to acquire node structure data in response to a preset interactive window display operation; wherein, the node structure data includes node information stored according to a preset data structure, and the node structure data is used to display the node information in the target interactive window based on the preset data structure;

[0030] The display module displays the target interactive window based on the node structure data and the preset interactive window framework.

[0031] Thirdly, this disclosure provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the above-described method.

[0032] Fourthly, this disclosure provides an apparatus comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method described above.

[0033] Fifthly, this disclosure provides a computer program product comprising a computer program / instruction that, when executed by a processor, implements the method described above.

[0034] The technical solution provided in this disclosure has at least the following advantages compared with the prior art:

[0035] This disclosure provides an interactive window display method. First, in response to a preset interactive window display operation, node structure data is acquired. The node structure data includes node information stored according to a preset data structure. This node structure data is used to display the node information in a target interactive window based on the preset data structure. Then, the target interactive window is displayed based on the node structure data and the preset interactive window frame. In this interactive window display method, node information is stored according to a preset data structure. Once the node information is updated, the node structure data can be updated based on the preset data structure. Therefore, the node information in the target interactive window displayed based on the node structure data is updated in real time. It is evident that this disclosure allows for updating the node content on the target interactive window without updating the software version, improving the user experience of the software. Attached Figure Description

[0036] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0037] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 A flowchart illustrating an interactive window display method provided in an embodiment of this disclosure;

[0039] Figure 2 A flowchart illustrating another interactive window display method provided in an embodiment of this disclosure;

[0040] Figure 3 This is a schematic diagram illustrating an interactive window display provided in an embodiment of this disclosure;

[0041] Figure 4 This is a schematic diagram illustrating a node information display provided in an embodiment of this disclosure;

[0042] Figure 5 This is a schematic diagram of the structure of an interactive window display device provided in an embodiment of the present disclosure;

[0043] Figure 6 This is a schematic diagram of the structure of an interactive window display device provided in an embodiment of the present disclosure. Detailed Implementation

[0044] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0045] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0046] Visual programming requires a quick entry point for adding nodes, such as a node addition dialog box. The node addition dialog box includes a search bar, node categories, node names, node content information, etc. Users can search for the node they need to add through the node addition dialog box in visual programming and complete the node addition.

[0047] Currently, the method for displaying the node addition dialog box involves hard-coding the preset node content into the dialog box. However, when the node content changes, such as when the node information is updated, the code related to the node content in the addition dialog box needs to be modified to update the node content displayed in the dialog box. In other words, when the node content changes, the version of the visual programming software needs to be upgraded to update the node content. If users do not update their visual programming software in a timely manner, they will not be able to obtain the latest node content. Therefore, how to achieve online updates of node content when node information is updated, and synchronously update the content in the node addition dialog box, is a pressing technical problem that needs to be solved.

[0048] To address this, this disclosure provides an interactive window display method that stores node information according to a preset data structure. Once the node information is updated, the node structure data can be updated based on the preset data structure. Therefore, the node information in the target interactive window displayed based on the node structure data is updated in real time. It can be seen that this disclosure embodiment can update the node content on the target interactive window without requiring the user to manually update the software version, thereby improving the user's experience of using visual programming software.

[0049] Figure 1 This is a flowchart illustrating an interactive window display method provided in an embodiment of the present disclosure, as shown below. Figure 1 As shown, the method includes:

[0050] S101, in response to the preset interactive window display operation, obtains node structure data.

[0051] The node structure data includes node information stored according to a preset data structure. The node structure data is used to display the node information in the target interactive window based on the preset data structure.

[0052] In this embodiment, the preset interactive window may include dialog boxes, pop-ups, etc. When a preset interactive window display operation is received, node structure data is acquired. The methods for triggering the preset interactive window display operation can include various methods, such as: method one, the user triggers the preset interactive window display operation by clicking a corresponding button; method two, the user triggers the preset interactive window display operation by right-clicking; and so on. This embodiment does not limit the specific method by which the user triggers the preset interactive window display operation.

[0053] The preset interactive window display operation can be used to trigger the display of the preset interactive window, which is used to display node information. The preset interactive window can add interactive windows to nodes, etc. In this embodiment of the disclosure, node information can be viewed and nodes can be added on the preset interactive window.

[0054] The node structure data in this embodiment includes node information stored according to a preset data structure. The preset data structure may refer to a Map data structure comprising multiple key-value pairs, where each key-value pair stores node information belonging to the same node category. When node information is updated, the node structure data undergoes an update operation based on the preset data structure, synchronizing the updated node information to the node data structure and achieving dynamic updating of the node data structure. Therefore, when a preset interactive window display operation is received, the obtained node structure data includes the updated node information; that is, the obtained node structure data is updated.

[0055] In one optional implementation, the node information includes a mapping relationship between node classification and node description information.

[0056] In this embodiment of the disclosure, in response to a preset interactive window display operation, the acquired node structure data includes a mapping relationship between node categories and node description information stored according to a preset data structure. Each node category corresponds to one or more node description information. When any item in the node category or node description information is updated, the node structure data undergoes an update operation based on the preset data structure to obtain updated node structure data. For example, when there is a new update operation in the node description information, the node structure data undergoes a new operation based on the preset data structure to obtain updated node structure data; when there is a deletion update operation in the node description information, the node structure data undergoes a deletion operation based on the preset data structure to obtain updated node structure data; and so on.

[0057] In another optional implementation, the preset data structure is a data structure containing key-value pairs. The key in the key-value pair is used to store the node category, and the value in the key-value pair is used to store the node description information. One key usually corresponds to multiple values. That is to say, a node category usually includes the node description information corresponding to multiple nodes.

[0058] In this embodiment of the disclosure, in response to a preset interactive window display operation, the acquired node structure data includes node information stored according to the correspondence between keys and values. The key is used to store node categories, and the value is used to store node description information. When either the key or the value of the node information is updated, the node structure data undergoes an update operation based on the preset key-value pair data structure to obtain the updated node structure data.

[0059] In one optional implementation, the node information update operation may include adding, deleting, modifying, etc., the node information.

[0060] When a new operation is detected targeting the first node information, it is determined whether the node category in the first node information exists in the node structure data. If the node category in the first node information exists in the node structure data, the node description information in the first node information is stored under that node category in the node structure data.

[0061] In this embodiment of the disclosure, when a new operation is detected for the node description information of the first node information, it is first determined whether the node category in the first node information exists in the current node structure data. Alternatively, when a new operation is detected for the value of the first node information, it is first determined whether the key of the first node information exists in the current node structure data, where the key is used to store the node category. If it is determined that the node category in the first node information exists in the current node structure data, the updated node description information in the first node information is stored under that node category in the node structure data, resulting in updated node structure data.

[0062] In another optional implementation, when a new operation is detected for the first node information, it is determined whether the node category in the first node information exists in the node structure data. If it is determined that the node category in the first node information does not exist in the node structure data, the node category is added to the node structure data, and the node description information in the first node information is stored under the newly added node category.

[0063] In this embodiment of the disclosure, when a new operation is detected for the node description information of the first node information, it is first determined whether the node category of the first node information exists in the current node structure data. Alternatively, when a new operation is detected for the value of the first node information, it is first determined whether the key of the first node information exists in the current node structure data, where the key is used to store the node category. If it is determined that the node category of the first node information does not exist in the current node structure data, the node category corresponding to the first node information is first added to the node structure data, and then the updated node description information in the first node information is stored under the newly added node category to obtain the updated node structure data.

[0064] In another alternative implementation, when a deletion operation targeting the second node information is detected, the node category corresponding to the second node information in the node structure data is determined, and the second node information is deleted from that node category.

[0065] In this embodiment of the disclosure, when a deletion operation is detected for the node description information of the second node information, the node category corresponding to the second node information is directly determined in the node structure data, and the second node information is deleted from the node category to obtain the updated node structure data.

[0066] In another optional implementation, when a modification operation targeting the third node information is detected, the node category corresponding to the third node information in the node structure data is determined, and the third node information is modified.

[0067] In this embodiment of the disclosure, when a modification operation is detected in the node description information of the third node information, the node category corresponding to the third node information is directly determined in the node structure data, and the third node information under the node category is modified accordingly to obtain the updated node structure data.

[0068] In this embodiment of the disclosure, in response to the preset interactive window display operation, node structure data including node information stored according to a preset data structure is obtained. Since the node structure data can perform corresponding update operations based on the preset data structure when the node information is updated, the obtained node structure data is also updated in real time.

[0069] S102, based on node structure data and a preset interactive window framework, displays the target interactive window.

[0070] In this embodiment of the disclosure, when node information is updated, updated node structure data is obtained. Based on the updated node structure data and a preset interactive window framework, a target interactive window is displayed. The target interactive window is used to display node information, and users can view and add nodes within it. The preset interactive window framework includes display styles and settings for the display position of node information. For example, node categories can be displayed on the left side of the preset interactive window, node descriptions can be displayed on the right side, and controls for adding nodes can be displayed in the lower right corner, etc.

[0071] In one optional implementation, the node description information includes the correspondence between node names and node function description information. When generating a target interactive window based on node structure data and a preset interactive window framework, the correspondence between node categories and node names is filled into a preset secondary menu control in the preset interactive window framework, and the correspondence between node names and node function description information is filled into a preset information display control in the preset interactive window framework, and the target interactive window is then displayed.

[0072] In this embodiment of the disclosure, the node function description information is used to describe the specific functions of the node, so that users can learn about the functions that the corresponding node can perform by viewing the node function description information, which facilitates the addition of nodes, etc.

[0073] When generating the target interactive window based on node structure data and a preset interactive window framework, the correspondence between node categories and node names is populated into the preset second-level menu control within the preset interactive window framework. Each node category corresponds to one or more node names, and the preset second-level menu control includes the correspondence between node categories and node names. Furthermore, the correspondence between node names and node function descriptions is populated into the preset information display control within the preset interactive window framework. Each node name corresponds to one node function description, and the preset information display control displays the node function description information corresponding to each node name, i.e., it displays the description information of one or more specific functions corresponding to each node name. Based on the preset second-level menu control and the preset information display control within the preset interactive window framework, the target interactive window is generated and displayed.

[0074] In the interactive window display method provided in this embodiment, firstly, in response to a preset interactive window display operation, node structure data is acquired. The node structure data includes node information stored according to a preset data structure, and is used to display the node information in the target interactive window based on the preset data structure. Then, the target interactive window is displayed based on the node structure data and the preset interactive window frame. This embodiment stores node information according to a preset data structure. Once the node information is updated, the node structure data can be updated based on the preset data structure. Therefore, the node information in the target interactive window displayed based on the node structure data and the preset interactive window frame is updated in real time. It is evident that this embodiment eliminates the need for users to manually update the software version to update the node content on the target interactive window, improving the user experience of the relevant software.

[0075] In one optional implementation, taking a visual programming application as an example, nodes are used to implement sub-functions in the program. Visual programming is achieved by connecting various nodes. Node information may include node classification, node name, node function description information, etc. The node function description information includes input port configuration information, output port configuration information, etc. The port is the access point of the connection line between nodes, used to provide input data to the node and output the result of node operation.

[0076] Since the node structure data does not already exist in the visual programming application itself, before retrieving the node structure data in response to the preset interactive window display operation, the configuration file of the nodes corresponding to the target visual programming application is retrieved in response to the launch operation of the target visual programming application. This configuration file includes the node information. Then, the node information is stored according to a preset data structure to obtain the node structure data corresponding to the target visual programming application.

[0077] In this embodiment of the disclosure, the configuration file of a node is used to describe the files related to the node and the preset interactive window, including the node information that needs to be displayed on the preset interactive window. A node has a corresponding configuration file. For example, the configuration file of a node includes node category, node name, unique identifier (id), input port configuration information (inputs), output port configuration information (outputs), node function description (description), etc.

[0078] When a startup operation for the target visual programming application is received, the configuration files of all nodes are traversed, and each configuration file is read in sequence. Before reading the configuration file, a new node structure data (map) is created. The node information in the configuration file of each node is stored in the node structure data according to the preset data structure, resulting in the node structure data corresponding to the target visual programming application. For example, if the preset data structure is a data structure containing key-value pairs, the node category is stored as the key in the node structure data according to the preset data structure. Then, based on the node category, the node name (name), unique identifier (id), input port configuration information (inputs), output port configuration information (outputs), and node function description (description) are stored as the value, resulting in the node structure data (map) with key-value pair data structure corresponding to the target visual programming application.

[0079] In this embodiment of the disclosure, the configuration file of the node includes not only basic node information such as node classification and node name, but also detailed functional description information of the node that needs to be displayed on the preset interactive window. When the node information is detected to be updated, the configuration files of all nodes can be traversed to realize dynamic updating of the node information. Therefore, the node structure data obtained based on the node configuration file can trigger the execution of update operation when the node information is updated.

[0080] In one optional implementation, after displaying the target interactive window based on node structure data and a preset interactive window framework, when a keyword search operation targeting node information is received on the target interactive window, the search results corresponding to the keyword search operation are obtained based on the current node structure data, and then the search results are displayed on the target interactive window.

[0081] In this embodiment of the disclosure, a target dialog box is used as an example of a target interactive window. The target dialog box is used to display node information, and users can view node information, search for nodes, add nodes, etc., on the target dialog box. When a keyword search operation for node information is received on the target dialog box, the search result corresponding to the keyword search operation is obtained based on the current node structure data, and then the search result is displayed on the target dialog box. The search result may include node category, node name, node description information, etc. Since the node structure data can be updated when the node information is updated, achieving dynamic updating of the node structure data, the search result displayed on the target dialog box is obtained based on dynamically updated node structure data.

[0082] In one optional implementation, after displaying the target interactive window based on the node structure data and the preset interactive window framework, when adding a target node on the visual programming interface based on the target interactive window, in response to the node information display operation for the target node, the node information corresponding to the target node is obtained from the current node structure data and the node information is displayed.

[0083] In this embodiment of the disclosure, a target dialog box is used as an example of a target interactive window. The target dialog box is used to display node information, and users can view node information, search for nodes, add nodes, etc., on the target dialog box. When a node information display operation is received for a target node, the node information corresponding to the target node is obtained from the current node structure data, and the node information is displayed.

[0084] In this embodiment, target nodes added to the visual programming interface based on the target interaction window can display corresponding node information, meaning users can view the node information of added target nodes by clicking or other means. Furthermore, since the node structure data can be updated when node information is updated, achieving dynamic updating of the node structure data, the displayed node information for the target node is obtained from the dynamically updated node structure data when responding to an operation to display the node information of the target node.

[0085] Based on the above interactive window display method, taking a visual programming application as an example, nodes are used to implement sub-functions in the program. Visual programming is achieved by connecting various nodes. This disclosure also provides an interactive window display method, see reference... Figure 2 This is a flowchart illustrating another interactive window display method provided in an embodiment of this disclosure, as shown below. Figure 2 As shown, taking the interactive window as a dialog box as an example, the method includes:

[0086] S201, in response to the startup operation for the target visual programming application, obtain the configuration file of the node corresponding to the target visual programming application.

[0087] The configuration file includes node information, which may include node category, node name, node function description, etc. The node function description includes input port configuration information, output port configuration information, etc. The port is the access point of the connection line between nodes, used to provide input data to the node and output the result of node operation.

[0088] In this embodiment of the disclosure, the node's configuration file is used to describe the file related to the node and the preset dialog box, including node information that needs to be displayed on the preset dialog box, see reference. Figure 3This is a schematic diagram of a dialog box display provided in an embodiment of the present disclosure, wherein the configuration file of the node includes node category, node name, unique identifier (id), input port configuration information (inputs), output port configuration information (outputs), and node function description (description).

[0089] S202, store the node information according to the preset data structure to obtain the first node structure data corresponding to the target visualization programming application.

[0090] In this embodiment, the preset data structure is a key-value pair data structure. The key in the key-value pair is used to store node categories, and the value in the key-value pair is used to store node description information. The node categories are stored as the key in the node structure data according to the preset data structure. Then, based on the node category, the node name, unique identifier, input port configuration information, output port configuration information, and node function description are stored as the value, resulting in the first node structure data with a key-value pair data structure corresponding to the target visual programming application.

[0091] S203, in response to the preset dialog box display operation, obtain the first node structure data.

[0092] The node structure data includes node information stored according to a preset data structure, and the node structure data is used to display the node information in the target dialog box based on the preset data structure.

[0093] In this embodiment of the present disclosure, when a preset dialog box display operation is received, the first node structure data obtained after storing node information in the data structure according to the key-value pair relationship in S202 is obtained. When the node information is updated, the first node structure data can perform an update operation based on the pre-data structure, so that the update of the node information is synchronized to the node data structure, thereby realizing the dynamic update of the node data structure.

[0094] In this embodiment of the disclosure, for example, when a new operation is performed on the first node information, it is determined whether a node category corresponding to the first node information exists in the first node structure data. If so, the node description information in the first node information is stored in the corresponding node category in the first node structure data, generating the second node structure data. If not, a node category corresponding to the first node information is first added to the first node structure data, and then the node description information in the first node information is stored in the newly added node category, generating the second node structure data.

[0095] S204, based on the first node structure data and the preset dialog box framework, display the target dialog box.

[0096] In this embodiment, the target dialog box is used to display node information, and users can view, search for, and add nodes on the target dialog box. The preset dialog box framework includes the dialog box display style, etc., used to set the display position of node information, such as UI style, see reference. Figure 3 The node categories are displayed on the left side of the preset dialog box, node descriptions are displayed on the right side, controls for adding nodes are displayed in the lower right corner, and a search bar for searching nodes is displayed in the upper left corner. The mapping between node categories and node names is populated in the preset second-level menu controls within the preset dialog box frame, and the mapping between node names and node function descriptions (including unique identifiers (id), input port configuration information (inputs), output port configuration information (outputs), and node function description (description)) is populated in the preset information display controls within the preset dialog box frame, based on the first node structure data and... Figure 3 The default dialog box frame in the dialog box displays the target dialog box.

[0097] S205, when a keyword search operation for node information is received on the target dialog box, the first node structure data is obtained, and based on the first node structure data, the search results corresponding to the keyword search operation are obtained and displayed on the target dialog box.

[0098] In this embodiment of the disclosure, the search results may include nodes corresponding to a certain node category, node description information corresponding to a certain node, etc. Since the node structure data can perform update operations when the node information is updated, the node structure data can be dynamically updated. Therefore, the search results displayed in the target dialog box are obtained based on the dynamically updated node structure data.

[0099] S206, Add target nodes to the visual programming interface based on the target dialog box.

[0100] In this embodiment of the disclosure, after selecting a target node in the target dialog box, it can be added to the visual programming interface in various ways. For example, Method 1: Double-click the target node to add it to the visual programming interface; Method 2: Select the target node and trigger the "Add Node" button to add it to the visual programming interface; and so on.

[0101] S207, in response to the node information display operation for the target node, obtain the first node structure data, obtain the node information corresponding to the target node from the first node structure data, and display the node information on the visual programming interface.

[0102] In this embodiment of the disclosure, when a display operation for target node information is received, first node structure data is obtained, node information corresponding to the target node is obtained from the first node structure data, and the node information is displayed. Since the node structure data can perform an update operation when the node information is updated, realizing dynamic updating of the node structure data, when responding to the operation of displaying node information for the target node, the node information corresponding to the target node displayed is obtained from the dynamically updated node structure data.

[0103] refer to Figure 4 This is a schematic diagram of a node information display provided in an embodiment of this disclosure. Taking the target node "XX detection" that has been added to the visual programming interface as an example, when the cursor moves on the target node, the node function description information of the target node can be displayed, which makes it convenient for users to view the specific function description of the target node when using the target node.

[0104] It should be noted that after S204, S206-S207 can be executed before S205. That is, after the target dialog box is displayed, any target node can be added to the visual programming interface based on the target dialog box, and its node information can be displayed.

[0105] This disclosure provides an interactive window display method. First, in response to a startup operation for a target visual programming application, a configuration file of the nodes corresponding to the target visual programming application is obtained. The configuration file includes node information. The node information is stored according to a preset data structure to obtain node structure data corresponding to the target visual programming application. Then, when the node information is updated, the node structure data triggers an update operation. Finally, based on the node structure data and a preset interactive window framework, the target interactive window is displayed. It is evident that the node information in the target interactive window displayed based on the node structure data in this disclosure is updated in real time. Furthermore, after displaying the target interactive window, search results corresponding to keyword search operations and node information corresponding to the target node can be obtained based on the node structure data. Since the node structure data can be dynamically updated, the displayed search results and node information are obtained based on the dynamically updated node structure data. Therefore, this disclosure allows for updating the node content on the target interactive window without updating the software version, improving the user experience of the software.

[0106] Based on the above method embodiments, this disclosure also provides an interactive window display device, referencing... Figure 5 This is a schematic diagram of the structure of an interactive window display device provided in an embodiment of the present disclosure. The device includes:

[0107] The first acquisition module 501 is used to acquire node structure data in response to a preset interactive window display operation; wherein, the node structure data includes node information stored according to a preset data structure, and the node structure data is used to display the node information in the target interactive window based on the preset data structure;

[0108] Display module 502 displays the target interactive window based on the node structure data and the preset interactive window framework.

[0109] In one optional implementation, the node information includes a mapping relationship between node classification and node description information.

[0110] In one optional embodiment, the apparatus further includes:

[0111] A new module is added to determine whether the node structure data contains the node category of the first node information when a new operation for the first node information is detected.

[0112] The first storage module is used to store the node description information in the first node information under the node category in the node structure data if it is determined that the node category in the first node information exists in the node structure data.

[0113] The second storage module is used to add the node category in the node structure data if it is determined that the node category in the first node information does not exist in the node structure data, and to store the node description information in the first node information under the newly added node category.

[0114] In one optional embodiment, the apparatus further includes:

[0115] The deletion module is used to determine the node category corresponding to the second node information in the node structure data when a deletion operation for the second node information is detected, and to delete the second node information from the node category.

[0116] In one optional implementation, the node description information includes the correspondence between node names and node function description information;

[0117] The display module 502 includes:

[0118] The fill submodule is used to fill the correspondence between the node category and the node name in the node description information into a preset second-level menu control in a preset interactive window frame, and to fill the correspondence between the node name and the node function description information into a preset information display control in the preset interactive window frame, thereby generating the target interactive window;

[0119] The display submodule is used to display the target interactive window.

[0120] In one optional implementation, the preset data structure is a data structure containing key-value pairs, where the key in the key-value pairs is used to store node classification, and the value in the key-value pairs is used to store node description information.

[0121] In one optional embodiment, the apparatus further includes:

[0122] The second acquisition module is used to acquire the configuration file of the node corresponding to the target visual programming application in response to the launch operation of the target visual programming application; wherein the configuration file includes the node information of the node;

[0123] The third storage module is used to store the node information according to a preset data structure to obtain the node structure data corresponding to the target visualization programming application.

[0124] In one optional embodiment, the apparatus further includes:

[0125] The third acquisition module is used to acquire the search results corresponding to the keyword search operation based on the node structure data when a keyword search operation for node information is received on the target interaction window.

[0126] The first display module is used to display the search results on the target interactive window.

[0127] In one optional embodiment, the apparatus further includes:

[0128] Add a module to add target nodes on the visual programming interface based on the target interactive window;

[0129] The fourth acquisition module is used to acquire the node information corresponding to the target node from the node structure data in response to the node information display operation for the target node;

[0130] The second display module is used to display the node information on the visual programming interface.

[0131] The interactive window display device provided in this embodiment first acquires node structure data in response to a preset interactive window display operation. The node structure data includes node information stored according to a preset data structure, and is used to display the node information in a target interactive window based on the preset data structure. Then, the target interactive window is displayed based on the node structure data and the preset interactive window frame. In the interactive window display method provided in this embodiment, node information is stored according to a preset data structure. Once the node information is updated, the node structure data can be updated based on the preset data structure. Therefore, the node information in the target interactive window displayed based on the node structure data is updated in real time. It is evident that this embodiment can update the node content on the target interactive window without updating the software version, improving the user experience of using the relevant software.

[0132] In addition to the methods and apparatus described above, this disclosure also provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the interactive window display method described in this disclosure.

[0133] This disclosure also provides a computer program product, including a computer program / instruction, characterized in that the computer program / instruction, when executed by a processor, implements the interactive window display method described in this disclosure.

[0134] In addition, this disclosure also provides an interactive window display device, see [link to relevant documentation]. Figure 6 As shown, it may include:

[0135] The device includes a processor 601, a memory 602, an input device 603, and an output device 604. The interactive window display device can have one or more processors 601. Figure 6 Taking a processor as an example. In some embodiments of this disclosure, the processor 601, memory 602, input device 603, and output device 604 can be connected via a bus or other means, wherein, Figure 6 Taking the example of a connection between China and Israel via a bus.

[0136] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing of the interactive window display device by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The input device 603 can be used to receive input digital or character information, and to generate signal inputs related to user settings and function control of the interactive window display device.

[0137] Specifically in this embodiment, the processor 601 loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602, thereby realizing the various functions of the interactive window display device.

[0138] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0139] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for displaying an interactive window, characterized in that, The method includes: Obtain the configuration file of the node corresponding to the target visual programming application; wherein the configuration file includes the node information of the node; the node information includes the mapping relationship between node classification and node description information; The node information is stored according to a preset data structure to obtain the node structure data corresponding to the target visualization programming application; In response to a preset interactive window display operation, node structure data is acquired; wherein, the node structure data includes node information stored according to a preset data structure, and the node structure data is used to display the node information in the target interactive window based on the preset data structure; Based on the node structure data and the preset interactive window framework, the target interactive window is displayed.

2. The method according to claim 1, characterized in that, The method further includes: When a new operation is detected targeting the first node information, it is determined whether the node classification in the first node information exists in the node structure data; If it is determined that the node category in the first node information exists in the node structure data, then the node description information in the first node information is stored under the node category in the node structure data; If it is determined that the node category in the first node information does not exist in the node structure data, then the node category is added to the node structure data, and the node description information in the first node information is stored under the newly added node category.

3. The method according to claim 1, characterized in that, The method further includes: When a deletion operation targeting the second node information is detected, the node category corresponding to the second node information in the node structure data is determined, and the second node information is deleted from the node category.

4. The method according to any one of claims 1-3, characterized in that, The node description information includes the correspondence between node names and node function description information; The step of displaying the target interactive window based on the node structure data and the preset interactive window framework includes: The correspondence between the node category and the node name in the node description information is filled into a preset second-level menu control in the preset interactive window frame, and the correspondence between the node name and the node function description information is filled into a preset information display control in the preset interactive window frame to generate the target interactive window; Display the target interactive window.

5. The method according to any one of claims 1-3, characterized in that, The preset data structure is a data structure containing key-value pairs. The key in the key-value pair is used to store node classification, and the value in the key-value pair is used to store node description information.

6. The method according to claim 1, characterized in that, Before obtaining node structure data in response to a preset interactive window display operation, the method further includes: In response to a launch operation for a target visual programming application, the configuration file of the node corresponding to the target visual programming application is obtained; wherein, the configuration file includes the node information of the node; The node information is stored according to a preset data structure to obtain the node structure data corresponding to the target visualization programming application.

7. The method according to claim 1, characterized in that, After displaying the target interactive window based on the node structure data and the preset interactive window framework, the process further includes: When a keyword search operation targeting node information is received on the target interaction window, the search results corresponding to the keyword search operation are obtained based on the node structure data. The search results are displayed on the target interactive window.

8. The method according to claim 1, characterized in that, After displaying the target interactive window based on the node structure data and the preset interactive window framework, the process further includes: Add target nodes to the visual programming interface based on the target interactive window; In response to the node information display operation for the target node, the node information corresponding to the target node is obtained from the node structure data; The node information is displayed on the visual programming interface.

9. An interactive window display device, characterized in that, The device includes: The second acquisition module is used to acquire the configuration file of the node corresponding to the target visual programming application; wherein, the configuration file includes the node information of the node; the node information includes the mapping relationship between node classification and node description information; The third storage module is used to store the node information according to a preset data structure to obtain the node structure data corresponding to the target visualization programming application. The first acquisition module is used to acquire node structure data in response to a preset interactive window display operation; wherein, the node structure data includes node information stored according to a preset data structure, and the node structure data is used to display the node information in the target interactive window based on the preset data structure; The display module displays the target interactive window based on the node structure data and the preset interactive window framework.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the method as described in any one of claims 1-8.

11. A device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1-8.

12. A computer program product, characterized in that, The computer program product includes a computer program / instruction that, when executed by a processor, implements the method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • A method for realizing visual graphical programming

    CN109542422A