WO2023273700A1 - 一种交互窗口显示方法、装置、设备及存储介质 - Google Patents

一种交互窗口显示方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2023273700A1
WO2023273700A1 PCT/CN2022/094643 CN2022094643W WO2023273700A1 WO 2023273700 A1 WO2023273700 A1 WO 2023273700A1 CN 2022094643 W CN2022094643 W CN 2022094643W WO 2023273700 A1 WO2023273700 A1 WO 2023273700A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
information
structure data
target
data
Prior art date
Application number
PCT/CN2022/094643
Other languages
English (en)
French (fr)
Inventor
马锐锋
徐远
黄晓波
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023273700A1 publication Critical patent/WO2023273700A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification

Definitions

  • the present disclosure relates to the field of data display, and in particular to an interactive window display method, device, equipment and storage medium.
  • Visual programming is a Windows application development tool, based on the principle of "what you see is what you get” programming thinking, trying to realize the visualization of programming work. Nodes in visual programming are used to implement sub-functions in the program. Visual programming is realized by connecting each node. In the process of visual programming, users often need a quick node addition entry to improve the efficiency of visual programming, such as node addition dialog box Wait.
  • the present disclosure provides a method for displaying an interactive window, the method comprising:
  • 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 based on the preset data structure In the target interaction window;
  • the node information includes a mapping relationship between node classification and node description information.
  • the node classification included in the second node information in the node structure data is determined, and included in the second node information The node description information in the two-node information is deleted from the node classification.
  • the node description information includes a correspondence between node names and node function description information
  • the displaying the target interactive window based on the node structure data and the interactive window frame includes:
  • the preset data structure is a data structure including a key-value pair relationship
  • the key in the key-value pair relationship is used to store node classification
  • the value in the key-value pair relationship is used To store node description information.
  • the method further includes: before obtaining the node structure data in response to the interactive window display operation,
  • the configuration file includes node information of the node
  • the node information is stored according to a preset data structure to obtain node structure data corresponding to the target visual programming application.
  • the method further includes: after displaying the target interaction window based on the node structure data and the interaction window frame,
  • the method further includes: after displaying the target interaction window based on the node structure data and the interaction window frame,
  • the node information is displayed on the visual programming interface.
  • the node structure data in response to the node information being updated, is dynamically updated.
  • the present disclosure provides an interactive window display device, the device comprising:
  • the first acquisition module is configured to acquire node structure data in response to an 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 make the node information based on The preset data structure is displayed in the target interaction window;
  • the display module displays the target interactive window based on the node structure data and the interactive window frame.
  • the present disclosure provides a non-transitory computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device realizes the above-mentioned Methods.
  • the present disclosure provides a device, including: a memory, and a processor, wherein a computer program is stored on the memory, and when the computer program is executed by the processor, the processor realizes the above-mentioned method.
  • the present disclosure provides a computer program product, where the computer program product includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the above method is implemented.
  • the present disclosure provides a computer program, which implements the above method when the program is executed by a processor.
  • FIG. 1 is a schematic flowchart of a method for displaying an interactive window provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of another interactive window display method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of an interactive window display provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of displaying node information provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an interactive window display device provided by an embodiment of the present disclosure.
  • Fig. 6 is a schematic structural diagram of an interactive window display device provided by an embodiment of the present disclosure.
  • a quick node addition entry is needed, such as a node addition dialog box, which includes a search bar, node classification, node name, node content information, etc. Users can search for the items to be added through the node addition dialog box in visual programming Node, complete the addition of nodes.
  • the way to display the node addition dialog box is to hard-code the preset node content into the node addition dialog box.
  • the code of the content is modified so that the node content displayed in the node adding dialog box is updated, that is, when the node content changes, the version of the visual programming software needs to be upgraded to realize the update of the node content. If the user does not update the visual programming software in time, the user cannot obtain the latest node content. Therefore, how to realize the online update of the node content when the node information is updated, and simultaneously update the content in the node addition dialog box is an urgent need to be solved. technical problem.
  • the embodiment of the present disclosure provides an interactive window display method, which 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, so the display based on the node structure data The node information in the target interaction window is updated in real time. It can be seen that the embodiment of the present disclosure can update the node content on the target interaction window without the user manually updating the software version, which improves the user experience of using the visual programming software.
  • the present disclosure provides an interactive window display method, device, device, and storage medium.
  • the node information is updated, the node structure data storing the node information can be based on the The update operation is performed on the data structure, so that the target interactive window displayed based on the updated node structure data can also display the updated node information.
  • the embodiment of the present disclosure realizes the display of the interactive window based on the dynamically updated node information, so , the node content displayed on the interactive window is also updated dynamically.
  • An embodiment of the present disclosure provides an interactive window display method.
  • node structure data is obtained, wherein the node structure data includes node information stored according to a preset data structure, and the node structure data is used to make the node Information is displayed in the target interactive window based on a preset data structure.
  • the target interactive window is displayed.
  • the node information is stored according to the preset data structure.
  • the node structure data can be updated based on the preset data structure, so the target interactive window displayed based on the node structure data
  • the node information in is updated in real time. It can be seen that the embodiments of the present disclosure can update the node content on the target interaction window without updating the software version, which improves the user's experience of using related software.
  • FIG. 1 is a schematic flowchart of a method for displaying an interactive window provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method includes:
  • 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 interaction window based on the preset data structure.
  • the interactive window may include a dialog box, a pop-up window, and the like. Get the node structure data when the interactive window display operation is received.
  • methods 1 the user triggers the display operation of the interactive window by clicking a corresponding button
  • method 2 the user triggers the display operation of the interactive window by right-clicking
  • Embodiments of the present disclosure do not limit the specific manner in which the user triggers the display operation of the interactive window.
  • the interactive window display operation can be used to trigger the display of the interactive window, and the interactive window is used to display node information, and the interactive window can add an interactive window for the node, etc.
  • the embodiment of the present disclosure can view the node information on the interactive window, add nodes, etc.
  • the node structure data in the embodiments of the present disclosure includes node information stored according to a preset data structure.
  • the preset data structure may refer to a Map data structure including multiple key-value pairs, where each key-value pair is used to store information belonging to the same node. Classified node information.
  • the node structure data performs an update operation based on the preset data structure, so that the update of the node information is synchronized to the node data structure, realizing the dynamic update of the node data structure. Therefore, when an interactive window display operation is received, the obtained node structure data includes updated node information, that is, the obtained node structure data is updated.
  • the node information includes a mapping relationship between node classification and node description information.
  • the obtained node structure data in response to the display operation of the interactive window, includes the mapping relationship between the node classification and the node description information stored according to the preset data structure.
  • one node classification corresponds to one or more node description information.
  • the node structure data is updated based on the preset data structure, and the updated node is obtained. structured data.
  • the node structure data when there is a new update operation in the node description information of the node information, the node structure data performs the new operation based on the preset data structure to obtain the updated node structure data; when there is a delete update operation in the node description information of the node information When , the node structure data is deleted based on the preset data structure, and the updated node structure data is obtained; and so on.
  • the preset data structure is a data structure containing a key-value pair relationship
  • the key key in the key-value pair relationship is used to store the classification of nodes
  • the value in the key-value pair relationship is used to store the node Description information
  • one key usually corresponds to multiple values, that is to say, a node classification usually includes node description information corresponding to multiple nodes.
  • the obtained node structure data in response to the display operation of the interactive window, includes node information stored according to the correspondence between the key key and the value value, wherein the key key is used to store the node classification, and the value value is used to store the node Description.
  • the node structure data is updated based on the data structure of the key-value pair relationship to obtain the updated node structure data.
  • the node information existence update operation may include adding, deleting, modifying and so on for node information.
  • the first node description information in the node information is stored under the node classification in the node structure data.
  • the node classification in the first node information when it is detected that there is a new operation for the node description information of the first node information, it is first determined whether the node classification in the first node information exists in the current node structure data.
  • the node classification in the first node information exists in the current node structure data.
  • the key key of the first node information exists in the current node structure data, wherein the key key is used to store the node classification.
  • the updated node structure data is obtained.
  • the node classification corresponding to the second node information in the node structure data is determined, and the node description information corresponding to the second node information Delete from this node category.
  • the node classification corresponding to the second node information is directly determined in the node structure data, and the node corresponding to the second node information is The description information is deleted from the node classification, and the updated node structure data is obtained.
  • the node classification corresponding to the third node information in the node structure data is determined, and the third node information is modified.
  • the node classification corresponding to the third node information is directly determined in the node structure data, and the third node under the node classification The information is modified accordingly to obtain the updated node structure data.
  • the node structure data including storing node information according to the preset data structure is obtained, because the node structure data can perform corresponding update operations based on the preset data structure when the node information is updated. , so the obtained node structure data is also updated in real time.
  • the target interaction window is displayed based on the updated node structure data and the interaction window frame.
  • the target interaction window is used to display node information, and you can view node information, add nodes, etc. on the target interaction window.
  • the interactive window frame includes the display style of the interactive window, etc., which are used to set the display position of the node information.
  • the node classification can be displayed on the left side of the interactive window
  • the node description information can be displayed on the right side of the interactive window, which is used to add nodes controls can be displayed in the lower right corner of the interactive window, etc.
  • the node description information includes a correspondence between node names and node function description information.
  • the target interactive window is generated based on the node structure data and the interactive window frame, the corresponding relationship between the node classification and the node name is filled into the secondary menu control in the interactive window frame, and the information between the node name and the node function description information The corresponding relationship of is filled into the information display control in the interactive window frame, and the target interactive window is displayed.
  • the node function description information is used to describe the specific functions of the nodes, so that users can know the functions that the corresponding nodes can realize by viewing the node function description information, and facilitate the addition of nodes.
  • the corresponding relationship between the node classification and the node name is filled into the secondary menu control in the interaction window frame, where one node classification corresponds to one or more nodes Name
  • the secondary menu control includes the corresponding relationship between node classification and node name.
  • the corresponding relationship between the node name and the node function description information is filled into the information display control in the interactive window frame, wherein a node name corresponds to a node function description information, and the information display control is used to display the correspondence between each node name.
  • the description information of the node function that is, the description information showing one or more specific functions corresponding to each node name.
  • the node structure data is obtained, wherein the node structure data includes node information stored according to a preset data structure, and the node structure data is used to make the node information Displayed in the target interactive window based on a preset data structure. Then, based on the node structure data and the interactive window frame, the target interactive window is displayed.
  • the embodiment of the present disclosure stores 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, so the node information in the target interaction window displayed based on the node structure data and the interaction window frame is updated in real time. It can be seen that the embodiment of the present disclosure can update the node content on the target interaction window without the user manually updating the software version, which improves the user's experience of using related software.
  • nodes are used to implement sub-functions in the program, and visual programming can be realized by connecting each node.
  • Node information can include node classification, node name, node function description information, etc. , where the node function description information includes input port configuration information, output port configuration information, etc., and the port is the access point of the connection line between nodes, which is used to provide input data to the node and output the result of the node operation.
  • the configuration of the node corresponding to the target visual programming application is obtained in response to the start operation of the target visual programming application file, wherein the configuration file includes the node information of the node. Then, the node information is stored according to the preset data structure, and the node structure data corresponding to the target visual programming application is obtained.
  • the configuration file of the node is used to describe the files related to the node and the interactive window, including the node information that needs to be displayed on the interactive window.
  • a node has a set of corresponding configuration files.
  • the configuration file of the node includes the node Category (category), node name (name), unique identifier (id), input port configuration information (inputs), output port configuration information (outputs), node function description (description), etc.
  • the configuration files of all nodes are traversed, and each configuration file is read in turn.
  • a new node structure data (map) is created, and the default data structure will be
  • the node information in the configuration file of each node is stored in the node structure data, and the node structure data corresponding to the target visual programming application is obtained.
  • the preset data structure is a data structure containing key-value pairs
  • the unique identifier (id), input port configuration information (inputs), output port configuration information (outputs), and node function description (description) are used as the value value to obtain the node structure corresponding to the target visual programming application with a key-value pair relationship data structure data (map).
  • the node configuration file not only includes the basic node information of node classification and node name, but also includes the detailed function description information of the node that needs to be displayed on the interactive window.
  • traverse The configuration files of all nodes can dynamically update the node information, so the node structure data obtained based on the node configuration files can trigger the execution of the update operation when there is an update of the node information.
  • based on the node structure data and the interaction window frame after displaying the target interaction window, when a keyword search operation for node information is received on the target interaction window, based on the current node structure data, obtain The keyword search operation corresponds to the search result, and then the search result is displayed on the target interaction window.
  • the target interaction window is taken as an example of a target dialog box.
  • the target dialog box is used to display node information, and node information, node search, and node addition can be performed on the target dialog box.
  • a keyword search operation for node information is received on the target dialog box, based on the current node structure data, a search result corresponding to the keyword search operation is obtained, and then the search result is displayed on the target dialog box.
  • the search result may include node classification, node name, node description information, and the like. Since the node structure data can perform an update operation when there is an update of the node information, the dynamic update of the node structure data is realized, so the search results displayed on the target dialog box are obtained based on the dynamically updated node structure data.
  • the target interaction window is taken as an example of a target dialog box.
  • the target dialog box is used to display node information, and node information, node search, and node addition can be performed on the target dialog box.
  • the node information display operation for the target node is received, the node information corresponding to the target node is obtained from the current node structure data, and the node information is displayed.
  • the target node added on the visual programming interface based on the target interaction window can display the corresponding node information, that is, the user can view the node information of the added target node by clicking or other means.
  • the node structure data can perform an update operation when the node information is updated, the dynamic update of the node structure data is realized. Therefore, when responding to the operation of displaying the node information of the target node, the node information corresponding to the displayed target node is Obtained from the dynamically updated node structure data.
  • FIG. 2 is a schematic flowchart of another method for displaying an interactive window provided by an embodiment of the present disclosure, as shown in FIG. 2 , taking the interactive window as a dialog box as an example, the method includes:
  • the configuration file includes the node information of the node, and the node information can include node classification, node name, node function description information, etc., wherein the node function description information includes input port configuration information, output port configuration information, etc.
  • the entry and exit points of the connection lines are used to provide input data to nodes and output results of node operations.
  • the configuration file of the node is used to describe the file related to the node and the dialog box, including the node information that needs to be displayed on the dialog box.
  • FIG. 3 it is a schematic diagram of a dialog box display provided by the embodiment of the present disclosure.
  • the node configuration file includes node classification (category), node name (name), unique identifier (id), input port configuration information (inputs), output port configuration information (outputs), and node function description (description).
  • the preset data structure is a data structure including a key-value pair relationship
  • the key in the key-value pair relationship is used to store node classification
  • the value in the key-value pair relationship is used to store node description information.
  • the configuration information (outputs) and the node function description (description) are used as the value value to obtain the first node structure data corresponding to the target visual programming application having a key-value pair relationship data structure.
  • 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.
  • the first node structure data obtained after storing the node information according to the data structure of the key-value pair relationship in S202 is obtained.
  • the first node structure data The update operation can be performed based on the pre-data structure, so that the update of the node information is synchronized to the node data structure, and the dynamic update of the node data structure is realized.
  • the first node information when there is a new operation in the first node information, it is determined whether there is a node classification corresponding to the first node information in the first node structure data, and if so, describe the node in the first node information The information is stored in the corresponding node category in the first node structure data to generate the second node structure data. If not, first add a node category corresponding to the first node information in the first node structure data, and then store the node description information in the first node information in the newly added node category to generate the second node structure data.
  • the target dialog box is used to display node information, and node information, search nodes, add nodes, etc. can be viewed on the target dialog box.
  • the dialog box frame includes the display style of the dialog box, and is used to set the node information Display location, etc., such as UI style, refer to Figure 3, where the node classification is displayed on the left side of the dialog box, the node description information is displayed on the right side of the dialog box, and the control for adding nodes is displayed in the lower right corner of the dialog box. Search The node's search bar is displayed in the upper left corner of the dialog box, etc.
  • node classification category
  • node name name
  • node function description information including the unique identifier (id ), the input port configuration information (inputs), the output port configuration information (outputs), and the node function description (description)
  • the information display control in the dialog frame based on the first node structure data and the diagram A dialog frame in 3 that displays the target dialog.
  • the search results may include the node corresponding to a certain node classification, the node description information corresponding to a certain node, etc. Since the node structure data can perform an update operation when the node information is updated, the dynamic update of the node structure data is realized , so the search results displayed in the target dialog box are obtained based on the dynamically updated node structure data.
  • the first way is to double-click the target node to add it to the visual programming interface; After the target node, trigger the button of "add node” to add to the visual programming interface; and so on.
  • the 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, the dynamic update of the node structure data is realized. Therefore, when responding to the operation of displaying the node information of the target node, the node information corresponding to the displayed target node is from the dynamic Obtained from the updated node structure data.
  • FIG. 4 it is a schematic diagram of a node information display provided by the embodiment of the present disclosure.
  • the target node can be displayed when the cursor moves to the target node.
  • the node function description information of the target node is convenient for users to view the specific function description of the target node when using the target node.
  • S206-S207 can be executed before S205, that is, after the target dialog box is displayed, any target node can be added on the visual programming interface based on the target dialog box, and its node information can be displayed.
  • An embodiment of the present disclosure provides an interactive window display method.
  • the node structure data triggers the execution of the update operation, and then displays the target interaction based on the node structure data and the interaction window frame. window. It can be seen that the node information in the target interaction window displayed based on the node structure data in the embodiment of the present disclosure is updated in real time.
  • the search results corresponding to the keyword search operation can be obtained based on the node structure data and the node information corresponding to the target node can be obtained from the node structure data. Since the node structure data can be dynamically updated, the displayed search Results and node information are obtained based on dynamically updated node structure data. It can be seen that the embodiments of the present disclosure can update the node content on the target interaction window without updating the software version, which improves the user experience of using related software.
  • the present disclosure also provides an interactive window display device.
  • FIG. 5 it is a schematic structural diagram of an interactive window display device provided by an embodiment of the present disclosure.
  • the device includes:
  • the first acquisition module 501 is configured to acquire node structure data in response to an 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 make the node information display in the target interaction window based on the preset data structure;
  • the display module 502 displays the target interactive window based on the node structure data and the interactive window frame.
  • the node information includes a mapping relationship between node classification and node description information.
  • the device further includes:
  • An adding module configured to determine whether there is a node classification included in the first node information in the node structure data when an adding operation for the first node information is detected;
  • a first storage module configured to store the node description information included in the first node information in the node structure if it is determined that the node classification included in the first node information exists in the node structure data Under the classification of the nodes in the data;
  • the second storage module is configured to, if it is determined that the node classification included in the first node information does not exist in the node structure data, add the node classification in the node structure data and include in the node classification
  • the node description information in the first node information is stored under the newly added node category.
  • the device further includes:
  • a deletion module configured to determine the node classification included in the second node information in the node structure data when a deletion operation on the second node information is detected, and include it in the second node information The node description information of is deleted from the node category.
  • the node description information includes a correspondence between node names and node function description information
  • the display module 502 includes:
  • the filling sub-module is used to fill the corresponding relationship between the node classification and the node name in the node description information into the secondary menu control in the interactive window frame, and link the node name and the node function
  • the corresponding relationship between the description information is filled into the information display control in the interaction window frame to generate the target interaction window;
  • the display submodule is used to display the target interaction window.
  • the preset data structure is a data structure including a key-value pair relationship
  • the key in the key-value pair relationship is used to store node classification
  • the value in the key-value pair relationship is used To store node description information.
  • the device further includes:
  • the second acquiring module is configured to acquire a configuration file of a node corresponding to the target visual programming application in response to a startup operation for the target visual programming application; wherein, the configuration file includes node information of the node;
  • the third storage module is configured to store the node information according to a preset data structure, and obtain node structure data corresponding to the target visual programming application.
  • the device further includes:
  • a third acquisition module configured to acquire a search result 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;
  • a first display module configured to display the search result on the target interaction window.
  • the device further includes:
  • a fourth obtaining module configured to obtain node information corresponding to the target node from the node structure data in response to a node information display operation for the target node;
  • the second display module is configured to display the node information on the visual programming interface.
  • the interactive window display device provided by the embodiments of the present disclosure, firstly, responds to the interactive window display operation to obtain node structure data, wherein the node structure data includes node information stored according to a preset data structure, and the node structure data is used to make the node information based on Preset data structures are displayed in the target interaction window. Then, based on the node structure data and the interactive window frame, the target interactive window is displayed.
  • the node information is stored 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, so the target interactive window displayed based on the node structure data The node information in is updated in real time. It can be seen that the embodiments of the present disclosure can update the node content on the target interaction window without updating the software version, which improves the user experience of using related software.
  • an embodiment of the present disclosure also provides a non-transitory computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on the terminal device, the The terminal device implements the interactive window display method described in the embodiments of the present disclosure.
  • Embodiments of the present disclosure also provide a computer program product, including computer programs/instructions.
  • the computer programs/instructions are executed by a processor, the method for displaying an interactive window described in the embodiments of the present disclosure is implemented.
  • an embodiment of the present disclosure also provides an interactive window display device, as shown in FIG. 6 , which may include:
  • Processor 601 , memory 602 , input device 603 and output device 604 The number of processors 601 in the interactive window display device may be one or more, and one processor is taken as an example in FIG. 6 .
  • the processor 601 , the memory 602 , the input device 603 and the output device 604 may be connected through a bus or in other ways, wherein connection through a bus is taken as an example in FIG. 6 .
  • the memory 602 can be used to store software programs and modules, and 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, wherein the program storage area may store an operating system, an application program required by at least one function, and the like.
  • the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the input device 603 can be used to receive input numbers or character information, and generate signal input related to user setting and function control of the interactive window display device.
  • the processor 601 will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the executable files stored in the memory 602.
  • the application program realizes various functions of the above-mentioned interactive window display device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例提供了一种交互窗口显示方法、装置、设备及存储介质,首先,响应于交互窗口显示操作,获取节点结构数据,其中,节点结构数据包括按照预设数据结构存储的节点信息,节点结构数据用于使得节点信息基于预设数据结构显示在目标交互窗口中。然后,基于节点结构数据和交互窗口框架,显示目标交互窗口。

Description

一种交互窗口显示方法、装置、设备及存储介质
相关申请的交叉引用
本申请要求于2021年6月29日提交的名称为“一种交互窗口显示方法、装置、设备及存储介质”的中国专利申请第202110729935.3号的优先权,该申请的公开通过引用被全部结合于此。
技术领域
本公开涉及数据显示领域,尤其涉及一种交互窗口显示方法、装置、设备及存储介质。
背景技术
可视化编程,是Windows应用程序开发工具,以“所见即所得”的编程思想为原则,力图实现编程工作的可视化。可视化编程中的节点用于实现程序中的子功能,通过连接各个节点以实现可视化编程,在可视化编程的过程中用户往往需要快捷的节点添加入口,以提高可视化编程的效率,例如节点添加对话框等。
发明内容
第一方面,本公开提供了一种交互窗口显示方法,所述方法包括:
响应于交互窗口显示操作,获取节点结构数据;其中,所述节点结构数据包括按照预设数据结构存储的节点信息,所述节点结构数据用于使得所述节点信息基于所述预设数据结构显示在目标交互窗口中;
基于所述节点结构数据和交互窗口框架,显示所述目标交互窗口。
一种可选的实施方式中,所述节点信息包括节点分类与节点描述信息之间的映射关系。
一种可选的实施方式中,当检测到针对第一节点信息的新增操作时,确定所述节点结构数据中是否存在包括在所述第一节点信息中的节点分类;
如果确定所述节点结构数据中存在包括在所述第一节点信息中的节点分类,则将包括在所述第一节点信息中的节点描述信息存储于所述节点结构数据中的所述节点分类下;
如果确定所述节点结构数据中不存在包括在所述第一节点信息中的节点分类,则在所述节点结构数据中新增所述节点分类,并将包括在所述第一节点信息中的节点描述信息存储于新增的所述节点分类下。
一种可选的实施方式中,当检测到针对第二节点信息的删除操作时,确定所述节点结构数据中的包括在所述第二节点信息中的节点分类,并将包括在所述第二节点信息中的节点描述信息从所述节点分类下删除。
一种可选的实施方式中,所述节点描述信息包括节点名称和节点功能描述信息之间的对应关系;
所述基于所述节点结构数据和交互窗口框架,显示所述目标交互窗口,包括:
将所述节点分类与所述节点描述信息中的节点名称之间的对应关系填充至交互窗口框架中的二级菜单控件,以及,将所述节点名称与所述节点功能描述信息之间的对应关系填充至所述交互窗口框架中的信息展示控件,生成所述目标交互窗口;
显示所述目标交互窗口。
一种可选的实施方式中,所述预设数据结构为包含键值对关系的数据结构,所述键值对关系中的键用于存储节点分类,所述键值对关系中的值用于存储节点描述信息。
一种可选的实施方式中,所述方法还包括:所述响应于交互窗口显示操作,获取节点结构数据之前,
响应于针对目标可视化编程应用的启动操作,获取所述目标可视化编程应用对应的节点的配置文件;其中,所述配置文件中包括所述节点的节点信息;
按照预设数据结构对所述节点信息进行存储,得到所述目标可视化编程应用对应的节点结构数据。
一种可选的实施方式中,所述方法还包括:所述基于所述节点结构数据和交互窗口框架,显示目标交互窗口之后,
当在所述目标交互窗口上接收到针对节点信息的关键词搜索操作时,基于所述节点结构数据,获取所述关键词搜索操作对应的搜索结果;
将所述搜索结果展示于所述目标交互窗口上。
一种可选的实施方式中,所述方法还包括:所述基于所述节点结构数据和交互窗口框架,显示目标交互窗口之后,
基于所述目标交互窗口在可视化编程界面上添加目标节点;
响应于针对所述目标节点的节点信息展示操作,从所述节点结构数据中获取所述目标节点对应的节点信息;
对所述节点信息在所述可视化编程界面上进行展示。
一种可选的实施方式中,响应于所述节点信息被更新,所述节点结构数据被动态地更新。
第二方面,本公开提供了一种交互窗口显示装置,所述装置包括:
第一获取模块,用于响应于交互窗口显示操作,获取节点结构数据;其中,所述节点结构数据包括按照预设数据结构存储的节点信息,所述节点结构数据用于使得所述节点信息基于所述预设数据结构显示在目标交互窗口中;
显示模块,基于所述节点结构数据和交互窗口框架,显示目标交互窗口。
第三方面,本公开提供了一种非瞬态的计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现上述的方法。
第四方面,本公开提供了一种设备,包括:存储器,处理器,其中,在所述存储器上存储有计算机程序,当所述计算机程序被处理器执行时,使得所述处理器实现上述的方法。
第五方面,本公开提供了一种计算机程序产品,所述计算机程序产品包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现上述的方法。
第六方面,本公开提供了一种计算机程序,该程序被处理器执行时实现上述的方法。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种交互窗口显示方法的流程示意图;
图2为本公开实施例提供的另一种交互窗口显示方法的流程示意图;
图3为本公开实施例提供的一种交互窗口显示的示意图;
图4为本公开实施例提供的一种节点信息展示的示意图;
图5为本公开实施例提供的一种交互窗口显示装置的结构示意图;
图6为本公开实施例提供的一种交互窗口显示设备的结构示意图。
具体实施方式
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行 进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
可视化编程中需要快捷的节点添加入口,例如节点添加对话框,节点添加对话框包括搜索栏、节点分类、节点名称、节点内容信息等,用户在可视化编程中可以通过节点添加对话框搜索需要添加的节点,完成节点的添加。
目前,显示节点添加对话框的方式是将预设的节点内容硬编码到节点添加对话框,但是,当节点内容发生变化时,例如节点内容信息有更新时,需要对节点添加对话框中关于节点内容的代码进行修改,使得呈现在节点添加对话框中的节点内容得到更新,即当节点内容发生变化时,需要升级可视化编程软件的版本才能实现节点内容的更新。如果用户没有及时更新可视化编程软件,则用户无法获取最新的节点内容,因此,如何在节点信息存在更新时实现节点内容在线更新,并同步更新节点添加对话框中的内容,是目前亟需解决的技术问题。为此,本公开实施例提供了一种交互窗口显示方法,按照预设数据结构存储节点信息,一旦节点信息存在更新时,节点结构数据能够基于预设数据结构进行更新,因此基于节点结构数据显示的目标交互窗口中的节点信息是实时更新的,可见,本公开实施例无需用户手动更新软件版本即可实现对目标交互窗口上的节点内容的更新,提升了用户使用可视化编程软件的体验。
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种交互窗口显示方法、装置、设备及存储介质,在节点信息存在更新时,存储有节点信息的节点结构数据能够基于预设数据结构执行更新操作,从而使得基于更新后的节点结构数据显示的目标交互窗口也能够展示更新后的节点信息,可见,本公开实施例是基于动态更新的节点信息实现交互窗口的显示,因此,交互窗口上显示的节点内容也是动态更新的。
本公开实施例提供的技术方案与相关技术相比至少具有如下优点:
本公开实施例提供了一种交互窗口显示方法,首先,响应于交互窗口显示操作,获取节点结构数据,其中,节点结构数据包括按照预设数据结构存储的节点信息,节点结构数据用于使得节点信息基于预设数据结构显示在目标交互窗口中。然后,基于节点结构数据和交互窗口框架,显示目标交互窗口。本公开实施例提供的交互窗口显示方法中,按照预 设数据结构存储节点信息,一旦节点信息存在更新时,节点结构数据能够基于预设数据结构进行更新,因此基于节点结构数据显示的目标交互窗口中的节点信息是实时更新的。可见,本公开实施例无需通过更新软件版本即可实现对目标交互窗口上的节点内容的更新,提升了用户使用相关软件的体验。
图1为本公开实施例提供的一种交互窗口显示方法的流程示意图,如图1所示,该方法包括:
S101,响应于交互窗口显示操作,获取节点结构数据。
其中,节点结构数据包括按照预设数据结构存储的节点信息,节点结构数据用于使得节点信息基于预设数据结构显示在目标交互窗口中。
本公开实施例中,交互窗口可以包括对话框、弹窗等。当接收到交互窗口显示操作时,获取节点结构数据。其中,触发交互窗口显示操作的方式可以包括多种,例如:方式一、用户通过点击相应按键来触发交互窗口显示操作;方式二、用户通过右键选择来触发交互窗口显示操作;等等。本公开实施例对于用户触发交互窗口显示操作的具体方式不做限制。
其中,交互窗口显示操作可以用于触发显示交互窗口,而交互窗口用于展示节点信息,交互窗口可以为节点添加交互窗口等,本公开实施例可以在交互窗口上查看节点信息、添加节点等。
本公开实施例中的节点结构数据包括按照预设数据结构存储的节点信息,预设数据结构可以指包括多个键值对的Map数据结构,其中每个键值对用于存储属于同一个节点分类的节点信息。当节点信息存在更新时,节点结构数据基于预设数据结构执行更新操作,使得节点信息的更新同步至节点数据结构中,实现节点数据结构的动态更新。因此,当接收到交互窗口显示操作时,获取到的节点结构数据包括更新后的节点信息,即获取到的节点结构数据是更新后的。
一种可选的实施方式中,节点信息包括节点分类与节点描述信息之间的映射关系。
本公开实施例中,响应于交互窗口显示操作,获取的节点结构数据中包括按照预设数据结构存储的节点分类与节点描述信息之间的映射关系。其中,一个节点分类对应一个或多个节点描述信息,当节点信息的节点分类或节点描述信息中的任意一项存在更新时,节点结构数据基于预设数据结构执行更新操作,得到更新后的节点结构数据。例如,当节点信息的节点描述信息存在新增的更新操作时,节点结构数据基于预设数据结构执行新增操 作,得到更新后的节点结构数据;当节点信息的节点描述信息存在删除的更新操作时,节点结构数据基于预设数据结构执行删除操作,得到更新后的节点结构数据;等等。
另一种可选的实施方式中,预设数据结构为包含键值对关系的数据结构,键值对关系中的键key用于存储节点分类,键值对关系中的值value用于存储节点描述信息,一个key通常对应多个value,也就是说,一个节点分类通常包括多个节点对应的节点描述信息。
本公开实施例中,响应于交互窗口显示操作,获取的节点结构数据中包括按照键key与值value的对应关系存储的节点信息,其中,键key用于存储节点分类,值value用于存储节点描述信息。当节点信息的键key或值value中的任意一项存在更新时,节点结构数据基于键值对关系的数据结构执行更新操作,得到更新后的节点结构数据。
一种可选的实施方式中,节点信息存在更新操作可以包括针对节点信息的新增操作、删除操作、修改操作等等。
当检测到针对第一节点信息的新增操作时,确定节点结构数据中是否存在第一节点信息中的节点分类,如果确定节点结构数据中存在第一节点信息中的节点分类,则将第一节点信息中的节点描述信息存储于节点结构数据中的该节点分类下。
本公开实施例中,当检测到针对第一节点信息的节点描述信息存在新增操作时,首先确定当前的节点结构数据中是否存在第一节点信息中的节点分类。或者,当检测到针对第一节点信息的值value存在新增操作时,首先确定当前的节点结构数据中是否存在第一节点信息的键key,其中,键key用于存储节点分类。如果确定当前的节点结构数据中存在第一节点信息中的节点分类,则将第一节点信息中更新的节点描述信息存储于节点结构数据中的该节点分类下,得到更新后的节点结构数据。
另一种可选的实施方式中,当检测到针对第一节点信息的新增操作时,确定节点结构数据中是否存在第一节点信息中的节点分类,如果确定节点结构数据中不存在第一节点信息中的节点分类,则在节点结构数据中新增该节点分类,并将第一节点信息中的节点描述信息存储于该新增的节点分类下。
本公开实施例中,当检测到针对第一节点信息的节点描述信息存在新增操作时,首先确定当前的节点结构数据中是否存在第一节点信息中的节点分类。或者,当检测到针对第一节点信息的值value存在新增操作时,首先确定当前的节点结构数据中是否存在第一节点信息的键key,其中,键key用于存储节点分类。如果确定当前的节点结构数据中不存在第一节点信息中的节点分类,则首先在节点结构数据中新增第一节点信息对应的节点分 类,然后将第一节点信息中更新的节点描述信息存储于该新增的节点分类下,得到更新后的节点结构数据。
另一种可选的实施方式中,当检测到针对第二节点信息的删除操作时,确定节点结构数据中与第二节点信息对应的节点分类,并将与第二节点信息对应的节点描述信息从该节点分类下删除。
本公开实施例中,当检测到针对第二节点信息的节点描述信息存在删除操作时,直接在节点结构数据中确定与第二节点信息对应的节点分类,并将与第二节点信息对应的节点描述信息从该节点分类下删除,得到更新后的节点结构数据。
另一种可选的实施方式中,当检测到针对第三节点信息的修改操作时,确定节点结构数据中与第三节点信息对应的节点分类,并对第三节点信息进行修改。
本公开实施例中,当检测到针对第三节点信息的节点描述信息存在修改操作时,直接在节点结构数据中确定与第三节点信息对应的节点分类,并对该节点分类下的第三节点信息进行相应的修改,得到更新后的节点结构数据。
本公开实施例中,响应于交互窗口显示操作,获取包括了按照预设数据结构存储节点信息的节点结构数据,由于节点结构数据能够在节点信息存在更新时基于预设数据结构执行相应的更新操作,因此获取到的节点结构数据也是实时更新的。
S102,基于节点结构数据和交互窗口框架,显示目标交互窗口。
本公开实施例中,当节点信息存在更新时,得到更新后的节点结构数据,基于更新后的节点结构数据和交互窗口框架,显示目标交互窗口。其中,目标交互窗口用于展示节点信息,并且可以在目标交互窗口上查看节点信息、添加节点等。交互窗口框架包括交互窗口的显示样式等,用于设置节点信息的展示位置等,例如,节点分类可以展示在交互窗口的左侧,节点描述信息可以展示在交互窗口的右侧,用于添加节点的控件可以展示在交互窗口的右下角,等等。
一种可选的实施方式中,节点描述信息包括节点名称和节点功能描述信息之间的对应关系。基于节点结构数据和交互窗口框架生成目标交互窗口时,将节点分类与节点名称之间的对应关系填充至交互窗口框架中的二级菜单控件中,以及,将节点名称与节点功能描述信息之间的对应关系填充至交互窗口框架中的信息展示控件中,并显示该目标交互窗口。
本公开实施例中,节点功能描述信息用于描述节点的具体功能,以便用户通过查看节 点功能描述信息获知对应节点能够实现的功能,便于节点的添加等。
当基于节点结构数据和交互窗口框架生成目标交互窗口时,将节点分类与节点名称之间的对应关系填充至交互窗口框架中的二级菜单控件中,其中,一个节点分类对应一个或多个节点名称,二级菜单控件中包括节点分类与节点名称之间的对应关系。此外,将节点名称与节点功能描述信息之间的对应关系填充至交互窗口框架中的信息展示控件中,其中,一个节点名称对应一个节点功能描述信息,信息展示控件用于展示每一个节点名称对应的节点功能描述信息,即展示每一个节点名称对应的一个或多个具体功能的描述信息。基于交互窗口框架中的二级菜单控件以及信息展示控件,生成目标交互窗口,并显示该目标交互窗口。
本公开实施例提供的交互窗口显示方法中,首先,响应于交互窗口显示操作,获取节点结构数据,其中,节点结构数据包括按照预设数据结构存储的节点信息,节点结构数据用于使得节点信息基于预设数据结构显示在目标交互窗口中。然后,基于节点结构数据和交互窗口框架,显示目标交互窗口。本公开实施例按照预设数据结构存储节点信息,一旦节点信息存在更新时,节点结构数据能够基于预设数据结构进行更新,因此基于节点结构数据和交互窗口框架显示的目标交互窗口中的节点信息是实时更新的。可见,本公开实施例无需用户手动更新软件版本即可实现对目标交互窗口上的节点内容的更新,提升了用户使用相关软件的体验。
一种可选的实施方式中,以可视化编程应用为例,节点用于实现程序中的子功能,通过连接各个节点以实现可视化编程,节点信息可以包括节点分类、节点名称、节点功能描述信息等,其中节点功能描述信息包括输入端口配置信息、输出端口配置信息等,端口为节点与节点之间连接线的接入接出点,用于向节点提供输入数据以及节点操作的结果输出。
由于节点结构数据并不是可视化编程应用本身已经存在的,因此在响应于交互窗口显示操作,获取节点结构数据之前,响应于针对目标可视化编程应用的启动操作,获取目标可视化编程应用对应的节点的配置文件,其中,配置文件中包括节点的节点信息。然后,按照预设数据结构对节点信息进行存储,得到目标可视化编程应用对应的节点结构数据。
本公开实施例中,节点的配置文件用于描述节点与交互窗口相关的文件,包括需要在交互窗口上显示的节点信息,一个节点具有一套对应的配置文件,例如,节点的配置文件 包括节点分类(category)、节点名称(name)、唯一标识符(id)、输入端口配置信息(inputs)、输出端口配置信息(outputs)、节点功能描述(description)等。
当接收到针对目标可视化编程应用的启动操作时,遍历所有节点的配置文件,并依次读入每个配置文件,在读入配置文件之前,新建节点结构数据(map),按照预设数据结构将每个节点的配置文件中的节点信息存储到节点结构数据中,得到目标可视化编程应用对应的节点结构数据。例如,如果预设数据结构为包含键值对关系的数据结构,按照预设数据结构将节点分类(category)作为节点结构数据的键key进行存储,再基于节点分类对应存储节点名称(name)、唯一标识符(id)、输入端口配置信息(inputs)、输出端口配置信息(outputs)、节点功能描述(description)作为值value,得到目标可视化编程应用对应的具有键值对关系数据结构的节点结构数据(map)。
本公开实施例中,节点的配置文件中不仅包括了节点分类、节点名称的基础节点信息,还包括了需要在交互窗口上显示的节点的详细功能描述信息,当检测节点信息存在更新时,遍历所有节点的配置文件时,能够实现动态更新节点信息,因此基于节点的配置文件得到的节点结构数据能够在节点信息存在更新时触发执行更新操作。
一种可选的实施方式中,基于节点结构数据和交互窗口框架,显示目标交互窗口之后,当在目标交互窗口上接收到针对节点信息的关键词搜索操作时,基于当前的节点结构数据,获取关键词搜索操作对应的搜索结果,然后将该搜索结果展示于目标交互窗口上。
本公开实施例中,以目标交互窗口为目标对话框为例,目标对话框用于展示节点信息,并且可以在目标对话框上进行查看节点信息、搜索节点、添加节点等。当在目标对话框上接收到针对节点信息的关键词搜索操作时,基于当前的节点结构数据,获取关键词搜索操作对应的搜索结果,然后将该搜索结果展示于目标对话框上。其中,搜索结果可以包括节点分类、节点名称、节点描述信息等。由于节点结构数据能够在节点信息存在更新时执行更新操作,实现节点结构数据的动态更新,因此展示于目标对话框上的搜索结果是基于动态更新的节点结构数据获取的。
一种可选的实施方式中,基于节点结构数据和交互窗口框架,显示目标交互窗口之后,基于目标交互窗口在可视化编程界面上添加目标节点时,响应于针对该目标节点的节点信息展示操作,从当前的节点结构数据中获取该目标节点对应的节点信息,并对该节点信息 进行展示。
本公开实施例中,以目标交互窗口为目标对话框为例,目标对话框用于展示节点信息,并且可以在目标对话框上进行查看节点信息、搜索节点、添加节点等。当接收到针对目标节点的节点信息展示操作时,从当前的节点结构数据中获取该目标节点对应的节点信息,并对该节点信息进行展示。
本公开实施例中,基于目标交互窗口在可视化编程界面上添加的目标节点能够展示对应的节点信息,即用户能够通过点击等方式针对已添加的目标节点的节点信息进行查看。此外,由于节点结构数据能够在节点信息存在更新时执行更新操作,实现节点结构数据的动态更新,因此在响应于针对目标节点的节点信息进行展示的操作时,展示的目标节点对应的节点信息是从动态更新的节点结构数据中获取的。
基于上述交互窗口显示方法,以可视化编程应用为例,节点用于实现程序中的子功能,通过连接各个节点以实现可视化编程,本公开实施例还提供了一种交互窗口显示方法,参考图2,为本公开实施例提供的另一种交互窗口显示方法的流程示意图,如图2所示,以交互窗口为对话框为例,该方法包括:
S201,响应于针对目标可视化编程应用的启动操作,获取目标可视化编程应用对应的节点的配置文件。
其中,配置文件中包括节点的节点信息,节点信息可以包括节点分类、节点名称、节点功能描述信息等,其中节点功能描述信息包括输入端口配置信息、输出端口配置信息等,端口为节点与节点之间连接线的接入接出点,用于向节点提供输入数据以及节点操作的结果输出。
本公开实施例中,节点的配置文件用于描述节点与对话框相关的文件,包括需要在对话框上显示的节点信息,参考图3,为本公开实施例提供的一种对话框显示的示意图,其中,节点的配置文件包括节点分类(category)、节点名称(name)、唯一标识符(id)、输入端口配置信息(inputs)、输出端口配置信息(outputs)、节点功能描述(description)。
S202,按照预设数据结构对节点信息进行存储,得到目标可视化编程应用对应的第一节点结构数据。
本公开实施例中,预设数据结构为包含键值对关系的数据结构,键值对关系中的键key用于存储节点分类,键值对关系中的值value用于存储节点描述信息。按照预设数据结构 将节点分类(category)作为节点结构数据的键key进行存储,再基于节点分类对应存储节点名称(name)、唯一标识符(id)、输入端口配置信息(inputs)、输出端口配置信息(outputs)、节点功能描述(description)作为值value,得到目标可视化编程应用对应的具有键值对关系数据结构的第一节点结构数据。
S203,响应于对话框显示操作,获取第一节点结构数据。
其中,所述节点结构数据包括按照预设数据结构存储的节点信息,所述节点结构数据用于使得所述节点信息基于所述预设数据结构显示在目标对话框中。
本公开实施例中,当接收到对话框显示操作时,获取S202中按照键值对关系的数据结构存储节点信息后得到的第一节点结构数据,当节点信息存在更新时,第一节点结构数据能够基于预数据结构执行更新操作,使得节点信息的更新同步至节点数据结构中,实现节点数据结构的动态更新。
本公开实施例中,例如,当第一节点信息存在新增操作时,确定第一节点结构数据中是否存在第一节点信息对应的节点分类,如果有,则将第一节点信息中的节点描述信息存储于第一节点结构数据中的对应节点分类中,生成第二节点结构数据。如果没有,则首先在第一节点结构数据中新增第一节点信息对应的节点分类,然后将第一节点信息中的节点描述信息存储于新增的节点分类中,生成第二节点结构数据。
S204,基于第一节点结构数据和对话框框架,显示目标对话框。
本公开实施例中,目标对话框用于展示节点信息,并且可以在目标对话框上查看节点信息、搜索节点、添加节点等,对话框框架包括对话框的显示样式等,用于设置节点信息的展示位置等,例如UI样式,参考图3,其中,节点分类展示在对话框的左侧,节点描述信息展示在对话框的右侧,用于添加节点的控件展示在对话框的右下角,搜索节点的搜索栏展示在对话框的左上角等。其中,节点分类(category)与节点名称(name)之间的对应关系填充至对话框框架中的二级菜单控件中,以及,节点名称(name)与节点功能描述信息(包括唯一标识符(id)、输入端口配置信息(inputs)、输出端口配置信息(outputs)、节点功能描述(description))之间的对应关系填充至对话框框架中的信息展示控件中,基于第一节点结构数据和图3中的对话框框架,显示目标对话框。
S205,当在目标对话框上接收到针对节点信息的关键词搜索操作时,获取第一节点结构数据,并基于第一节点结构数据,获取关键词搜索操作对应的搜索结果,并将搜索结果展示于目标对话框上。
本公开实施例中,搜索结果可以包括某个节点分类对应的节点、某个节点对应的节点描述信息等,由于节点结构数据能够在节点信息存在更新时执行更新操作,实现节点结构数据的动态更新,因此展示于目标对话框是搜索结果是基于动态更新的节点结构数据获取的。
S206,基于目标对话框在可视化编程界面上添加目标节点。
本公开实施例中,在目标对话框中选取一个目标节点后,可以通过多种方式添加到可视化编程界面上,例如,方式一、双击该目标节点以添加到可视化编程界面上;方式二、选取该目标节点后,触发“添加节点”的按键以添加到可视化编程界面上;等等。
S207,响应于针对目标节点的节点信息展示操作,获取第一节点结构数据,并从第一节点结构数据中获取目标节点对应的节点信息,并对该节点信息在可视化编程界面上进行展示。
本公开实施例中,当接收到针对目标节点信息的展示操作时,获取第一节点结构数据,从第一节点结构数据中获取该目标节点对应的节点信息,并对该节点信息进行展示。由于节点结构数据能够在节点信息存在更新时执行更新操作,实现节点结构数据的动态更新,因此在响应于针对目标节点的节点信息进行展示的操作时,展示的目标节点对应的节点信息是从动态更新的节点结构数据中获取的。
参考图4,为本公开实施例提供的一种节点信息展示的示意图,以已添加到可视化编程界面上的目标节点“XX检测”为例,当光标移动到目标节点上时可以展示该目标节点的节点功能描述信息,便于用户在使用目标节点时查看该目标节点的具体功能描述。
需要说明的是,在S204之后,S206-S207可以在S205之前执行,即在显示目标对话框之后,基于目标对话框可以在可视化编程界面上添加任意一个目标节点,并展示其节点信息。
本公开实施例提供了一种交互窗口显示方法,首先,响应于针对目标可视化编程应用的启动操作,获取目标可视化编程应用对应的节点的配置文件,其中,配置文件中包括节点的节点信息,按照预设数据结构对节点信息进行存储,得到目标可视化编程应用对应的节点结构数据,进而在节点信息存在更新时,节点结构数据触发执行更新操作,然后基于节点结构数据和交互窗口框架,显示目标交互窗口。可见,本公开实施例中基于节点结构数据显示的目标交互窗口中的节点信息是实时更新的。此外,在显示目标交互窗口之后,能够基于节点结构数据获取关键词搜索操作对应的搜索结果以及从节点结构数据中获取 目标节点对应的节点信息,由于节点结构数据能够实现动态更新,因此展示的搜索结果以及节点信息都是基于动态更新的节点结构数据获取的。可见,本公开实施例无需通过更新软件版本即可实现目标交互窗口上的节点内容的更新,提升了用户使用相关软件的体验。
基于上述方法实施例,本公开还提供了一种交互窗口显示装置,参考图5,为本公开实施例提供的一种交互窗口显示装置的结构示意图,所述装置包括:
第一获取模块501,用于响应于交互窗口显示操作,获取节点结构数据;其中,所述节点结构数据包括按照预设数据结构存储的节点信息,所述节点结构数据用于使得所述节点信息基于所述预设数据结构显示在目标交互窗口中;
显示模块502,基于所述节点结构数据和交互窗口框架,显示目标交互窗口。
一种可选的实施方式中,所述节点信息包括节点分类与节点描述信息之间的映射关系。
一种可选的实施方式中,所述装置还包括:
新增模块,用于当检测到针对第一节点信息的新增操作时,确定所述节点结构数据中是否存在包括在所述第一节点信息中的节点分类;
第一存储模块,用于如果确定所述节点结构数据中存在包括在所述第一节点信息中的节点分类,则将包括在所述第一节点信息中的节点描述信息存储于所述节点结构数据中的所述节点分类下;
第二存储模块,用于如果确定所述节点结构数据中不存在包括在所述第一节点信息中的节点分类,则在所述节点结构数据中新增所述节点分类,并将包括在所述第一节点信息中的节点描述信息存储于新增的所述节点分类下。
一种可选的实施方式中,所述装置还包括:
删除模块,用于当检测到针对第二节点信息的删除操作时,确定所述节点结构数据中的包括在所述第二节点信息中的节点分类,并将包括在所述第二节点信息中的节点描述信息从所述节点分类下删除。
一种可选的实施方式中,所述节点描述信息包括节点名称和节点功能描述信息之间的对应关系;
所述显示模块502包括:
填充子模块,用于将所述节点分类与所述节点描述信息中的节点名称之间的对应关系 填充至交互窗口框架中的二级菜单控件,以及,将所述节点名称与所述节点功能描述信息之间的对应关系填充至所述交互窗口框架中的信息展示控件,生成所述目标交互窗口;
显示子模块,用于显示所述目标交互窗口。
一种可选的实施方式中,所述预设数据结构为包含键值对关系的数据结构,所述键值对关系中的键用于存储节点分类,所述键值对关系中的值用于存储节点描述信息。
一种可选的实施方式中,所述装置还包括:
第二获取模块,用于响应于针对目标可视化编程应用的启动操作,获取所述目标可视化编程应用对应的节点的配置文件;其中,所述配置文件中包括所述节点的节点信息;
第三存储模块,用于按照预设数据结构对所述节点信息进行存储,得到所述目标可视化编程应用对应的节点结构数据。
一种可选的实施方式中,所述装置还包括:
第三获取模块,用于当在所述目标交互窗口上接收到针对节点信息的关键词搜索操作时,基于所述节点结构数据,获取所述关键词搜索操作对应的搜索结果;
第一展示模块,用于将所述搜索结果展示于所述目标交互窗口上。
一种可选的实施方式中,所述装置还包括:
添加模块,用于基于所述目标交互窗口在可视化编程界面上添加目标节点;
第四获取模块,用于响应于针对所述目标节点的节点信息展示操作,从所述节点结构数据中获取所述目标节点对应的节点信息;
第二展示模块,用于对所述节点信息在所述可视化编程界面上进行展示。
本公开实施例提供的交互窗口显示装置,首先,响应于交互窗口显示操作,获取节点结构数据,其中,节点结构数据包括按照预设数据结构存储的节点信息,节点结构数据用于使得节点信息基于预设数据结构显示在目标交互窗口中。然后,基于节点结构数据和交互窗口框架,显示目标交互窗口。本公开实施例提供的交互窗口显示方法中,按照预设数据结构存储节点信息,一旦节点信息存在更新时,节点结构数据能够基于预设数据结构进行更新,因此基于节点结构数据显示的目标交互窗口中的节点信息是实时更新的。可见,本公开实施例无需通过更新软件版本即可实现目标交互窗口上的节点内容的更新,提升了用户使用相关软件的体验。
除了上述方法和装置以外,本公开实施例还提供了一种非瞬态的计算机可读存储介 质,计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现本公开实施例所述的交互窗口显示方法。
本公开实施例还提供了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现本公开实施例所述的交互窗口显示方法。
另外,本公开实施例还提供了一种交互窗口显示设备,参见图6所示,可以包括:
处理器601、存储器602、输入装置603和输出装置604。交互窗口显示设备中的处理器601的数量可以一个或多个,图6中以一个处理器为例。在本公开的一些实施例中,处理器601、存储器602、输入装置603和输出装置604可通过总线或其它方式连接,其中,图6中以通过总线连接为例。
存储器602可用于存储软件程序以及模块,处理器601通过运行存储在存储器602的软件程序以及模块,从而执行交互窗口显示设备的各种功能应用以及数据处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。输入装置603可用于接收输入的数字或字符信息,以及产生与交互窗口显示设备的用户设置以及功能控制有关的信号输入。
具体在本实施例中,处理器601会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器602中,并由处理器601来运行存储在存储器602中的应用程序,从而实现上述交互窗口显示设备的各种功能。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不 会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (15)

  1. 一种交互窗口显示方法,所述方法包括:
    响应于交互窗口显示操作,获取节点结构数据;其中,所述节点结构数据包括按照预设数据结构存储的节点信息,所述节点结构数据用于使得所述节点信息基于所述预设数据结构显示在目标交互窗口中;
    基于所述节点结构数据和交互窗口框架,显示所述目标交互窗口。
  2. 根据权利要求1所述的方法,其中,所述节点信息包括节点分类与节点描述信息之间的映射关系。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    当检测到针对第一节点信息的新增操作时,确定所述节点结构数据中是否存在包括在所述第一节点信息中的节点分类;
    如果确定所述节点结构数据中存在包括在所述第一节点信息中的节点分类,则将包括在所述第一节点信息中的节点描述信息存储于所述节点结构数据中的所述节点分类下;
    如果确定所述节点结构数据中不存在包括在所述第一节点信息中的节点分类,则在所述节点结构数据中新增所述节点分类,并将包括在所述第一节点信息中的节点描述信息存储于新增的所述节点分类下。
  4. 根据权利要求2所述的方法,其中,所述方法还包括:
    当检测到针对第二节点信息的删除操作时,确定所述节点结构数据中的包括在所述第二节点信息中的节点分类,并将包括在所述第二节点信息中的节点描述信息从所述节点分类下删除。
  5. 根据权利要求2-4中任一项所述的方法,其中,所述节点描述信息包括节点名称和节点功能描述信息之间的对应关系;
    所述基于所述节点结构数据和交互窗口框架,显示所述目标交互窗口,包括:
    将所述节点分类与所述节点描述信息中的节点名称之间的对应关系填充至交互窗口框架中的二级菜单控件,以及,将所述节点名称与所述节点功能描述信息之间的对应关系填充至所述交互窗口框架中的信息展示控件,生成所述目标交互窗口;
    显示所述目标交互窗口。
  6. 根据权利要求2-4任一项所述的方法,其中,所述预设数据结构为包含键值对关系的数据结构,所述键值对关系中的键用于存储节点分类,所述键值对关系中的值用于存储 节点描述信息。
  7. 根据权利要求1所述的方法,还包括:所述响应于交互窗口显示操作,获取节点结构数据之前,
    响应于针对目标可视化编程应用的启动操作,获取所述目标可视化编程应用对应的节点的配置文件;其中,所述配置文件中包括所述节点的节点信息;
    按照预设数据结构对所述节点信息进行存储,得到所述目标可视化编程应用对应的节点结构数据。
  8. 根据权利要求1所述的方法,还包括:所述基于所述节点结构数据和交互窗口框架,显示目标交互窗口之后,
    当在所述目标交互窗口上接收到针对节点信息的关键词搜索操作时,基于所述节点结构数据,获取所述关键词搜索操作对应的搜索结果;
    将所述搜索结果展示于所述目标交互窗口上。
  9. 根据权利要求1所述的方法,还包括:所述基于所述节点结构数据和交互窗口框架,显示目标交互窗口之后,
    基于所述目标交互窗口在可视化编程界面上添加目标节点;
    响应于针对所述目标节点的节点信息展示操作,从所述节点结构数据中获取所述目标节点对应的节点信息;
    对所述节点信息在所述可视化编程界面上进行展示。
  10. 根据权利要求1所述的方法,其中,响应于所述节点信息被更新,所述节点结构数据被动态地更新。
  11. 一种交互窗口显示装置,所述装置包括:
    第一获取模块,用于响应于交互窗口显示操作,获取节点结构数据;其中,所述节点结构数据包括按照预设数据结构存储的节点信息,所述节点结构数据用于使得所述节点信息基于所述预设数据结构显示在目标交互窗口中;
    显示模块,基于所述节点结构数据和交互窗口框架,显示所述目标交互窗口。
  12. 一种非瞬态的计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现如权利要求1-10中任一项所述的方法。
  13. 一种设备,包括:存储器,处理器,其中,在所述存储器上存储有计算机程序, 当所述计算机程序被处理器执行时,使得所述处理器实现如权利要求1-10中任一项所述的方法。
  14. 一种计算机程序产品,所述计算机程序产品包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现如权利要求1-10中任一项所述的方法。
  15. 一种计算机程序,该程序被处理器执行时实现如权利要求1-10中任一项所述的方法。
PCT/CN2022/094643 2021-06-29 2022-05-24 一种交互窗口显示方法、装置、设备及存储介质 WO2023273700A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110729935.3A CN115543285A (zh) 2021-06-29 2021-06-29 一种交互窗口显示方法、装置、设备及存储介质
CN202110729935.3 2021-06-29

Publications (1)

Publication Number Publication Date
WO2023273700A1 true WO2023273700A1 (zh) 2023-01-05

Family

ID=84690318

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/094643 WO2023273700A1 (zh) 2021-06-29 2022-05-24 一种交互窗口显示方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN115543285A (zh)
WO (1) WO2023273700A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117148981A (zh) * 2023-08-28 2023-12-01 广州文石信息科技有限公司 墨水屏的文字输入方法、装置、设备以及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991956B (zh) * 2023-09-28 2023-12-08 北京云枢创新软件技术有限公司 一种基于eda的信号交互方法、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988007719A2 (en) * 1987-03-31 1988-10-06 Aimtech Corporation Apparatus for iconographically representing and executing a program
US20140282364A1 (en) * 2013-03-14 2014-09-18 Oracle International Corporation Method of searching data associated with nodes of a graphical program
CN109491736A (zh) * 2018-10-16 2019-03-19 深圳壹账通智能科技有限公司 一种弹框窗口的显示方法及设备
CN109542422A (zh) * 2018-11-21 2019-03-29 成都聚维合科技有限公司 一种实现可视图形化编程的方法
CN111949346A (zh) * 2020-07-03 2020-11-17 众安信息技术服务有限公司 一种交互控制方法、复用调取方法及系统、存储介质
CN112084315A (zh) * 2020-09-07 2020-12-15 腾讯科技(深圳)有限公司 问答互动方法、装置、存储介质及设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988007719A2 (en) * 1987-03-31 1988-10-06 Aimtech Corporation Apparatus for iconographically representing and executing a program
US20140282364A1 (en) * 2013-03-14 2014-09-18 Oracle International Corporation Method of searching data associated with nodes of a graphical program
CN109491736A (zh) * 2018-10-16 2019-03-19 深圳壹账通智能科技有限公司 一种弹框窗口的显示方法及设备
CN109542422A (zh) * 2018-11-21 2019-03-29 成都聚维合科技有限公司 一种实现可视图形化编程的方法
CN111949346A (zh) * 2020-07-03 2020-11-17 众安信息技术服务有限公司 一种交互控制方法、复用调取方法及系统、存储介质
CN112084315A (zh) * 2020-09-07 2020-12-15 腾讯科技(深圳)有限公司 问答互动方法、装置、存储介质及设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117148981A (zh) * 2023-08-28 2023-12-01 广州文石信息科技有限公司 墨水屏的文字输入方法、装置、设备以及存储介质
CN117148981B (zh) * 2023-08-28 2024-05-24 广州文石信息科技有限公司 墨水屏的文字输入方法、装置、设备以及存储介质

Also Published As

Publication number Publication date
CN115543285A (zh) 2022-12-30

Similar Documents

Publication Publication Date Title
WO2023273700A1 (zh) 一种交互窗口显示方法、装置、设备及存储介质
WO2020119485A1 (zh) 一种页面显示方法、装置、设备及存储介质
US10372783B2 (en) Persisting the state of visual control elements in uniform resource locator (URL)-generated web pages
US11112962B2 (en) Content-based directional placement application launch
JP6018045B2 (ja) 選択したデータの一時的な書式設定とグラフ化
US9280327B2 (en) Simplifying development of user interfaces of applications
CN110221899B (zh) 一种用户界面的调节方法、装置及系统
US9513778B1 (en) Defining objects using an object-relationship map
CN113656533A (zh) 一种树形控件处理方法、装置及电子设备
US9396176B2 (en) Technique for copying and pasting information
CN111125581B (zh) 图片加载方法以及装置
CN109814778B (zh) 小程序选项卡的实现方法、装置、电子设备及介质
US7949994B2 (en) Method and computer program product for viewing extendible models for legacy applications
US11836212B2 (en) Systems and methods for rendering interactive web pages
CN110908647B (zh) 一种积木式编程的对象变量呈现方法、装置、终端及存储介质
KR20210121574A (ko) 데이터 셋 관리 장치 및 이를 이용한 기계학습 모델과 데이터 셋 사이의 관계 표시 방법
CN112328837A (zh) 数据展示方法、装置、设备及存储介质
US20150277723A1 (en) Exporting a component of a currently displayed user interface to a development system
US9342520B2 (en) System and method for changeable dynamic directory
CN111124386A (zh) 基于Unity的动画事件处理方法、装置、设备和存储介质
US20240231838A1 (en) Methods for generating configuration data packet and file, processing method, device and medium
US20230086037A1 (en) Graphical diagram comparison
US11449493B2 (en) Persistent and configurable multidimensional data constraints
JPH02165223A (ja) オブジェクト指向風マンマシンインタフェース実現方式
CN117311567A (zh) 基于导航树的对象数据展示方法、装置、电子设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22831523

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18567619

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22831523

Country of ref document: EP

Kind code of ref document: A1