Innovative design tool configuration method and system based on XML
Through the XML-based design tool configuration method, the problems of data interaction and tool combination between innovative design tools on different platforms are solved, and cross-platform reuse and flexible configuration of design files are realized.
Patent Information
- Application Number
- CN202311153366.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-07
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-09-07
AI Technical Summary
Existing innovative design tools lack standard data exchange formats and tool combination capabilities, making it difficult to reuse design files across different platforms.
An innovative design tool configuration method based on XML is used to form the tool's associated path by creating entity node objects and associated objects, and convert its data structure into XML files to achieve the combination and cross-platform reuse of multiple tools.
It realizes visual combination and data interaction between different design tools, ensuring the reusability and flexibility of design files across multiple platforms.
Smart Images

Figure CN117193757B
Abstract
Description
Technical Field
[0001] The present application relates to a computer technology, and more particularly to an XML-based innovative design tool configuration method and system. Background Art
[0002] Innovative design is the initial stage of product design, which determines the direction and goals of product design and avoids costly changes in the later stages of development. Innovative design tools are specifically designed to assist designers in product innovative design. These tools help promote idea generation and concept exploration.
[0003] However, the existing innovative design tools are of various types, which is not conducive to designers combining tools to form a tool chain and realizing diversified configuration of innovative design tools; at the same time, innovative design tools also lack a standard data exchange format, which is not conducive to data interaction between innovative design tools and design information on different platforms. Summary of the invention
[0004] In order to enable a variety of design tools to be configured in combination and the configured tool combination to be reused on different platforms, the present application proposes an innovative design tool configuration method and system based on XML.
[0005] In a first aspect, the present application provides an XML-based innovative design tool configuration method, the XML-based innovative design tool configuration method comprising:
[0006] In response to the user's creation of entity objects and entity association operations in the configuration interface, at least two entity node objects and at least one associated object are generated, and the at least two entity node objects include at least two tool node objects; the associated objects are used to associate different entity node objects to form at least one associated path of entity node objects; a corresponding XML file is generated according to the entity node object, the data structure of the associated object and the preset standard framework file, and the entity node object and the associated object are displayed on the configuration interface.
[0007] In the above implementation, the visual configuration method allows the user to conveniently combine different tools in the visual configuration interface. Specifically, by responding to the user's operation, entity node objects and associated objects are created, and different entities are associated through associated objects to form at least one associated path of entity node objects to achieve the combination of multiple tools, and the data structure of entity objects and associated objects is converted into an XML file according to the format of a preset standard framework file. Since the XML file is in a universal format, the created tool combination can be reused on different platforms.
[0008] Optionally, the entity node object includes a first problem node object, and the generating of a corresponding XML file based on the data structure of the entity node object and a preset standard framework file includes: generating a corresponding XML file based on an entity association path framework in the standard framework file; inserting the data structure of the first problem node object into a corresponding tag of the XML file according to the format of the problem node object defined in the standard framework file.
[0009] In product design, we usually start from a problem and use tools to analyze the problem. Therefore, when the first problem node object is created, it means that the problem will lead to a problem-tool analysis path. By pre-defining the entity association path framework in the standard framework file, we can quickly and easily generate the structural framework of the entity association path according to the framework when creating the first problem node object, and insert the first problem node object in the framework.
[0010] Optionally, the entity node object does not include the first problem node object, and generating a corresponding XML file based on the data structure of the entity node object and a preset standard framework file includes: inserting the data structure of the entity node object into a corresponding tag of the XML file according to the format of the entity node object defined in the standard framework file.
[0011] Since the entity association path framework is generated according to the standard framework file when the first problem node is created, when the entity node object is subsequently created, it is only necessary to insert the entity node object into the corresponding tag of the entity association path according to the format of the standard framework file. This implementation method can quickly and conveniently convert the data structure of the entity object and the association object into XML text.
[0012] Optionally, the entity node object includes at least one of the following objects: a non-first problem node object; a solution node object; an information node object; and a tool node object.
[0013] Optionally, the association path includes: an association object, a first node object, and a second node object; the association object includes a source node attribute and a target node attribute; the first node object serves as an input of the second node object; the source node attribute of the association object points to the first node object; and the target node attribute of the association object points to the second node object.
[0014] Optionally, the first node object includes a problem node object, and the second node object includes a tool node object.
[0015] In product design, a corresponding tool can be used to analyze a problem. Therefore, in the entity association path, the problem node is used as input and the tool node is used as output.
[0016] Optionally, the first node object includes a tool node object, and the second node object includes a problem node object.
[0017] In product design, a problem may output other problems after being analyzed by tools. Therefore, in the entity association path, the tool node is used as input and the problem node is used as output.
[0018] Optionally, the first node object includes a tool node object, and the second node object includes a solution node object.
[0019] In product design, a problem may be analyzed using tools to output a solution. Therefore, in the entity association path, the tool node is used as input and the solution node is used as output.
[0020] Optionally, the entity node object includes a tool node object and an information node object, and the XML-based innovative design tool configuration method further includes: in response to a user's operation of adding an information node to a tool, adding the information node object to the tool node object; and moving the data structure of the information node object in the XML file to a corresponding tag of the tool node object in the XML file.
[0021] In the above implementation, the information node can be added to the tool quickly and conveniently by responding to the user's operation of adding the information node to the tool. And by moving the data structure of the information node object in the XML file to the corresponding tag of the tool node object, the synchronization operation of adding the information node object in the XML file to the tool can be quickly and conveniently implemented.
[0022] Optionally, the XML-based innovative design tool configuration method also includes: obtaining an editing object in response to a user's editing operation; receiving user input data, assigning the input data to corresponding attributes of the editing object, and adding attribute values to corresponding attributes of the editing object in the XML file according to the standard framework file, and displaying the attribute values of the editing object.
[0023] In the above implementation process, the attribute editing of the entity node object and the relationship object is realized by providing the editing operation.
[0024] Optionally, the XML-based innovative design tool configuration method further includes: in response to a deletion operation by the user, deleting an object corresponding to the deletion operation from the XML file, and updating display content.
[0025] In the above implementation process, the deletion operation of the entity node object and the relationship object is implemented by providing the deletion operation.
[0026] Optionally, the object to be deleted is a tool node object, and the step of deleting the object to be deleted from the tool path XML file in response to a deletion operation by a user includes: in response to the deletion operation by the user, obtaining the tool node object and all information node objects inside the tool node object, deleting the tool node object in the XML file, but retaining all information node objects.
[0027] In the above implementation process, when the deleted object is a tool node object, all design information can be retained by deleting only the tool object and retaining the information node object inside the tool object.
[0028] In the second aspect, the present application provides an innovative design tool configuration system based on XML, including: a path creation module, used to generate at least two entity node objects and at least one associated object in response to the user's creation of entity object operations and entity association operations in the configuration interface, wherein the at least two entity node objects include at least two tool node objects; the associated objects are used to associate different entity node objects to form at least one associated path of entity node objects; an XML file generation module, used to generate a corresponding XML file based on the entity node object, the data structure of the associated object and a preset standard framework file, and display the entity node object and the associated object on the configuration interface.
[0029] In a third aspect, the present application provides an electronic device, characterized in that it includes: a processor and a memory; the processor is used to execute a program stored in the memory to implement the XML-based innovative design tool configuration method as described in any one of the first aspects.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the XML-based innovative design tool configuration method as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A flowchart of an innovative design tool configuration method based on XML provided in Example 1 of the present application;
[0033] Figure 2 A flowchart of another innovative design tool configuration method based on XML provided in Example 1 of the present application;
[0034] Figure 3 A flowchart of another innovative design tool configuration method based on XML provided in Embodiment 1 of the present application;
[0035] Figure 4 A flowchart of another innovative design tool configuration method based on XML provided in the first embodiment of the present application;
[0036] Figure 5 A schematic diagram of the structure of an innovative design tool configuration system based on XML provided in Example 2 of the present application;
[0037] Figure 6 This is a schematic diagram of the structure of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION
[0038] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0039] In order to better understand the technical solution provided by this application, a brief overview of the prior art is given below.
[0040] Current innovative design products only provide a variety of tools for innovative design, but do not provide combinations and connections between different tools. When the problem to be solved is more complex, it is necessary to explore it step by step. Each step will generate a new problem, and the corresponding tool is used to analyze the problem. Therefore, the existing products lack a combination of tools for complex problems. In addition, since the formats used by different innovative design platforms are not unified, the design files generated by one platform are difficult to reuse on other platforms. In view of this, the present application provides an XML-based innovative design tool configuration method, which realizes the association combination of multiple tools by creating entity node objects and associated objects, and by associating different entity node objects through associated objects. By converting entity node objects and associated objects into XML files according to the standard framework file format, the design files can be reused on multiple design platforms.
[0041] The method provided in this application is applicable to innovative design in all manufacturing industries. The software structure for implementing the method may include a configuration interface and a backend. The configuration interface is used to provide users with visual configuration and display of multiple tool combinations; the backend is used to respond to user operations on the configuration interface and perform corresponding data processing.
[0042] The technical solution provided by this application is described in detail below through specific embodiments.
[0043] Embodiment 1
[0044] In order to enable multiple tools to be combined and configured and the configured design files to be reused on different design platforms, this application provides an innovative design tool configuration method based on XML, such as Figure 1 As shown, the method includes:
[0045] S101: In response to the user's creation of entity object operations and entity association operations in the configuration interface, at least two entity node objects and at least one associated object are generated, and the at least two entity node objects include at least two tool node objects; the associated object is used to associate different entity node objects to form at least one associated path of entity node objects.
[0046] Among them, the method of creating entity object operation is not specifically limited. Exemplarily, it can be to directly drag the entity node object to the configuration interface, or to right-click the mouse and select the context menu item to create the entity node object. The entity node object is not specifically limited. Exemplarily, it can include problem node objects, tool node objects, solution node objects, and information node objects. Problem node objects are used to define problems, tool node objects are used to analyze problems, and solution node objects are used to output solutions to problems. Information node objects carry design information and can constitute the basic elements of tool node objects. The method of entity association operation is not specifically limited. Exemplarily, an associated object can be dragged between two entity node objects by dragging the mouse; or two entity node objects can be selected and the entity association can be performed by selecting the right-click context menu item. An association path refers to a path of interconnected entity node objects including multiple tool node objects formed by combining multiple tools.
[0047] Specifically, the user creates an entity object in the configuration interface, and the backend responds to the user's operation and creates a corresponding entity node object. When different entity node objects need to be associated, the user performs an entity association operation in the configuration interface, and the backend responds to the user's entity association operation to create an association object, and different entity node objects are associated through the association object. Since a problem in innovative design may be decomposed into multiple sub-problems after being analyzed by the corresponding tool, each sub-problem can be analyzed by the corresponding tool, and multiple solutions may be generated after the tool analysis, therefore, there may be more than one association path of the entity node object caused by a problem node object. Exemplarily, the silk-making process quality problem is analyzed using a fishbone diagram to obtain multiple sub-problems, wherein solving the reducer failure sub-problem can improve the silk-making process quality, so the reducer failure sub-problem is further analyzed using a fault tree. After analysis, it is obtained that there is a sub-problem between two structures that the upper nut does not support the connecting sleeve enough, and then the functional component analysis tool is used to analyze the sub-problem from the perspective of product or structure. Similar methods can also be used to analyze other sub-problems, so a problem can trigger multiple problem-tool paths.
[0048] In a feasible implementation, the association path includes: an association object, a first node object, and a second node object; the association object includes a source node attribute and a target node attribute; the first node object serves as an input of the second node object; the source node attribute of the association object points to the first node object; and the target node attribute of the association object points to the second node object.
[0049] Among them, the first node object and the second node object are both entity node objects. The types of the first node object and the second node object are not limited. Exemplarily, the first node object and the second node object can both be problem node objects, tool node objects, solution node objects, and information node objects. The first node object serves as an input node for the second node object. It can be understood that the first node object and the second node object are relative. Exemplarily, the entity node object includes a problem node object and a tool node object. The problem node object serves as an input node for the tool node object, then the first node object is a problem node object, and the second node object is a tool node object; at the same time, the tool node object can also serve as an input node for the solution node object, therefore, the tool node object is a first node object relative to the solution node object, and the solution node object is a second node object.
[0050] The associated object includes source node attributes and target node attributes, wherein the source node attribute points to the input node, and the target node attribute points to the output node of the input node. Therefore, the source node attribute of the associated node points to the first node object, and the target node attribute points to the second node object. In order to better perform visualization, the associated object also includes an edge object, which serves as a visualization form of the associated object. The edge object includes an edge direction attribute and a type attribute. The edge direction attribute represents the direction indicated when the associated object is visualized as an edge form. The edge direction attributes include forward, backward, bidirectional, and non-directional; the type attribute represents the type of interaction between the entities associated with the associated object, such as normal action, insufficient action, harmful action, and excessive action. Different types of edge objects have different visualization forms.
[0051] Specifically, the first node object and the second node object form an input-output node pair, and a plurality of input-output node pairs are associated through corresponding associated objects to form at least one associated path.
[0052] In a feasible implementation manner, the first node object includes a problem node object, and the second node object includes a tool node object.
[0053] Specifically, in innovative design, a problem can be analyzed by corresponding tools. Therefore, in the embodiment of the present application, the problem node object is specifically defined as the input node of the tool node object; correspondingly, the tool node object is the output node of the problem node object.
[0054] In a feasible implementation manner, the first node object includes a tool node object, and the second node object includes a problem node object.
[0055] Specifically, in innovative design, a problem can be decomposed into multiple sub-problems through tool analysis. Therefore, in the embodiment of the present application, the tool node object is specifically defined as the input node of the problem node object; correspondingly, the problem node object is defined as the output node of the tool node object.
[0056] In a feasible implementation manner, the first node object includes a tool node object, and the second node object includes a solution node object.
[0057] Specifically, in innovative design, a problem can generate at least one solution through tool analysis. Therefore, in the embodiment of the present application, the tool node object is specifically defined as the input node of the solution node object; correspondingly, the solution node object is defined as the output node of the tool node object.
[0058] In a feasible implementation manner, the first node object includes an information node object, and the second node object includes an information node object.
[0059] Specifically, an association relationship may also be generated between information nodes, and therefore, both the first node object and the second node object may be information node objects.
[0060] S102: Generate a corresponding XML file according to the data structure of the entity node object and the associated object and a preset standard framework file, and display the entity node object and the associated object on the configuration interface.
[0061] Among them, different entity node objects have different data structures. Exemplarily, the problem node object includes the following attributes: identification, name, type; the solution node object includes the following attributes: identification, name, content, type; the tool node object includes the following attributes: identification, name, type, associated object list, information node list; Exemplarily, the types of tool node objects may include component analysis, fishbone diagram, result chain, concept fan, function tree, checklist, creative template, fault tree, resource analysis, ideal solution, evolutionary potential, and the information node types in the information node list of different types of tool node objects are different; the information node object includes the following attributes: identification, name, type. The attributes of the associated object include: source node, target node, edge direction.
[0062] The standard framework file is the basis for generating an XML file from an entity association path. The standard framework file defines the XML text expression format of entity node objects and association objects.
[0063] Specifically, in response to the user's creation of an entity object operation or an entity association operation, after the entity node object or the associated object is generated, the configuration interface calls the visualization component to display the entity node object or the associated object. The parsing tool reads the data structure of the entity node object or the associated object, serializes it into a text in XML format and generates an XML file. Exemplarily, when the user creates a problem node object, the parsing tool obtains the data structure of the problem node object, and serializes the problem node object and the identification attribute, name attribute, type attribute and corresponding attribute value into a text in XML format according to the data format of the standard framework file, and writes the text in XML format to the corresponding tag of the XML file.
[0064] Optionally, the process of the parsing tool reading the data structure of the entity node object or the associated object, serializing it into a text in XML format and generating an XML file can also be implemented when the user saves the tool configuration.
[0065] like Figure 2 As shown, in a feasible implementation manner, the entity node object includes the first problem node object, and step S102 generates a corresponding XML file according to the data structure of the entity node object and a preset standard framework file, including:
[0066] S1021: Generate a corresponding XML file according to the entity association path framework in the standard framework file;
[0067] The standard framework file defines the data format of the association path framework. The association path framework defines the entity node object list and the association object list of an entity association path. The entity node object list is used to insert the entity node object; the association object list is used to insert the association object.
[0068] Optionally, when the user creates the first problem node object, the parsing tool reads the associated path framework in the standard framework file, generates an associated path framework XML text based on the associated path framework, and saves it as an XML file.
[0069] Optionally, the parsing tool reads the associated path framework in the standard framework file, generates an associated path framework XML text based on the associated path framework, and saves it as an XML file. This process can also be achieved when the user enters the design platform and starts tool configuration.
[0070] S1022: Insert the data structure of the first problem node object into the corresponding tag of the XML file according to the format of the problem node object defined in the standard framework file.
[0071] Specifically, after generating the XML file of the associated path framework text, the parsing tool obtains the data structure of the first problem node object, and serializes the first problem node object and its attributes and attribute values into XML format text according to the data format of the preset standard framework file, and writes the XML format text under the label of the entity node object list of the associated path framework of the XML file.
[0072] In a feasible implementation manner, the entity node object does not include the first problem node object, and step S102 generates a corresponding XML file according to the data structure of the entity node object and a preset standard framework file, including:
[0073] The data structure of the entity node object is inserted into the corresponding tag of the XML file according to the format of the entity node object defined in the standard framework file.
[0074] In a feasible implementation manner, the entity node objects include non-first problem node objects; solution node objects; information node objects; and tool node objects.
[0075] like Figure 3 As shown, in a feasible implementation manner, the entity node object includes a tool node object and an information node object, and the XML-based innovative design tool configuration method further includes:
[0076] S1031: In response to the user's operation of adding an information node to a tool, adding an information node object to a tool node object;
[0077] The implementation form of adding information nodes to the tool operation is not specifically limited, and can be implemented by dragging the information node object into the tool node object, or by selecting the information node object in the tool node object and selecting the "Add information node to tool operation" menu item in the right-click context.
[0078] Optionally, when the user drags an information node object to a tool node object, the backend adds the dragged information node object to the tool node object.
[0079] Optionally, the user selects an information node object and a tool node object, right-clicks "Add information node to tool operation" in the context menu, and the backend adds the selected information node object to the selected tool node object.
[0080] Furthermore, since the specific types of information nodes and associated objects are defined in the tool node object, the added information nodes and associated objects need to be converted from their original types into the information node types in the corresponding tool node object.
[0081] S1032: Move the data structure of the information node object in the XML file to the corresponding tag of the tool node object in the XML file.
[0082] Specifically, when the user adds an information node object to a tool node object, the data structure of the information node object is moved to the information node list tag of the tool node object in the XML file, and then the type of the information node object is converted from the type adapted to the tool node object to the original information node type.
[0083] like Figure 4 As shown, in a feasible implementation manner, the XML-based innovative design tool configuration method further includes:
[0084] S1041: Responding to the user's editing operation, obtaining an editing object;
[0085] The implementation of the editing operation is not specifically limited. For example, double-clicking an entity node object or an associated node object to edit it, or single-clicking or right-clicking to select a context menu item to implement the editing function. The editing object can be an entity node object or an associated object.
[0086] Specifically, when a user performs an editing operation on an entity node object or an associated node object, the backend obtains the editing object and editing attributes.
[0087] S1042: receiving the user's input data, assigning the input data to the corresponding attributes of the editing object, adding attribute values to the corresponding attributes of the editing object in the XML file according to the standard framework file, and displaying the attribute values of the editing object.
[0088] Specifically, after obtaining the edit object and edit attributes, the backend receives the user's input data and assigns the input data to the corresponding attributes of the edit object. The parsing tool serializes the edit object into XML text according to the standard framework file, and overwrites the old XML text content of the edit object in the XML file with the new XML text. After the user completes the editing operation, the front-end page displays the attribute value of the edit object.
[0089] In a feasible implementation, the XML-based innovative design tool configuration method further includes: in response to a deletion operation by the user, deleting an object corresponding to the deletion operation from the XML file, and updating the displayed content.
[0090] The object of the deletion operation may be an entity node object and / or an associated object.
[0091] In a feasible implementation manner, the object to be deleted is a tool node object, and the step: in response to a deletion operation by a user, deleting the object corresponding to the deletion operation from the XML file includes:
[0092] In response to a deletion operation by the user, a tool node object and all information node objects within the tool node object are acquired, the tool node object is deleted from the XML file, but all information node objects are retained.
[0093] Specifically, since the information node objects and their associations within a tool node object can be applied to different tool node objects, in order to reuse the design information more conveniently, when a user deletes a tool node object, only the tool node object is deleted, but the design information within the tool node object, i.e., the information nodes and their associations, is retained. The information nodes and their associations separated from the tool node object are converted back to the original type.
[0094] Embodiment 2
[0095] The present application provides an innovative design tool configuration system 200 based on XML, such as Figure 5 As shown, the XML-based innovative design tool configuration system 200 includes: a path creation module 201 and an XML file generation module 202.
[0096] The path creation module 201 is used to generate at least two entity node objects and at least one associated object in response to the user's creation of entity objects and entity association operations in the configuration interface, wherein the at least two entity node objects include at least two tool node objects; the associated object is used to associate different entity node objects to form at least one associated path of entity node objects;
[0097] The XML file generation module 202 is used to generate a corresponding XML file according to the data structure of the entity node object and the associated object and the preset standard framework file, and display the entity node object and the associated object on the configuration interface.
[0098] Optionally, the path creation module 201 is specifically used to generate a corresponding XML file according to the entity association path framework in the standard framework file; insert the data structure of the first problem node object into the corresponding tag of the XML file according to the format of the problem node object defined in the standard framework file.
[0099] Optionally, the path creation module 201 is specifically configured to insert the data structure of the entity node object into a corresponding tag of the XML file according to the format of the entity node object defined in the standard framework file.
[0100] Optionally, in the path creation module 201, the entity node object includes at least one of the following objects: a non-first problem node object, a solution node object, an information node object, and a tool node object.
[0101] Optionally, in the path creation module 201, the associated path includes: an associated object, a first node object, and a second node object; the associated object includes a source node attribute and a target node attribute; the first node object serves as an input of the second node object; the source node attribute of the associated object points to the first node object; and the target node attribute of the associated object points to the second node object.
[0102] Optionally, in the path creation module 201, the first node object includes a problem node object, and the second node object includes a tool node object.
[0103] Optionally, in the path creation module 201, the first node object includes a tool node object, and the second node object includes a problem node object.
[0104] Optionally, in the path creation module 201, the first node object includes a tool node object, and the second node object includes a solution node object.
[0105] Optionally, the tool configuration system 200 also includes an editing module 203, which is used to obtain an editing object in response to a user's editing operation; receive the user's input data, assign the input data to the corresponding attributes of the editing object, and add attribute values to the corresponding attributes of the editing object in the XML file according to the standard framework file, and display the attribute values of the editing object.
[0106] Optionally, the tool configuration system 200 further includes a deletion module 204 for deleting an object corresponding to a deletion operation from the XML file in response to a deletion operation by the user, and updating the display content.
[0107] Optionally, the object to be deleted is a tool node object, and the deletion module 204 is specifically used to respond to the user's deletion operation, obtain the tool node object and all information node objects inside the tool node object, delete the tool node object in the XML file, but retain all information node objects.
[0108] Embodiment 3
[0109] The present application embodiment provides an electronic device 300, such as Figure 6 As shown, the electronic device 300 includes: a processor 301 and a memory 302. Among them:
[0110] The processor 301 is used to execute one or more programs stored in the memory 302 to implement the XML-based innovative design tool configuration method described in the first embodiment.
[0111] Understandably, Figure 6 The structure shown is for illustration only. The electronic device 300 may also include Figure 6 More or fewer components as shown, or with Figure 6 Different configurations are shown.
[0112] For example, the processor 301 and the memory 302 may be connected via a communication bus. For another example, the electronic device may further include components such as a display, a mouse, and a keyboard.
[0113] In the embodiment of the present application, the processor 301 may be a central processing unit, a microprocessor, a single-chip microcomputer, etc., but it is not limited thereto. The memory 302 may be a random access memory, a read-only memory, a programmable read-only memory, an erasable read-only memory, an electrically erasable read-only memory, etc., but it is not limited thereto.
[0114] In the embodiment of the present application, the electronic device 300 may be, but is not limited to, a physical device such as a desktop computer, a laptop computer, a smart phone, a smart wearable device, a vehicle-mounted device, etc., and may also be a virtual device such as a virtual machine. In addition, the electronic device 300 is not necessarily a single device, but may also be a combination of multiple devices, such as a server cluster, etc.
[0115] This embodiment also provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash disk, an SD (Secure Digital Memory Card) card, an MMC (Multimedia Card) card, etc., in which one or more programs for implementing the above steps are stored, and the one or more programs can be executed by one or more processors to implement the XML-based innovative design tool configuration method described in the first embodiment. No further details are given here.
[0116] In the embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0117] The functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0118] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0119] As used herein, a plurality refers to two or more than two.
[0120] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An innovative design tool configuration method based on XML, characterized in that: The XML-based innovative design tool configuration method includes: In response to a user's creation of an entity object and an entity association operation in a configuration interface, at least two entity node objects and at least one association object are generated, wherein the at least two entity node objects include at least two tool node objects; the association object is used to associate different entity node objects to form at least one association path of the entity node objects; Generate a corresponding XML file according to the data structure of the entity node object, the associated object and a preset standard framework file, and display the entity node object and the associated object on the configuration interface; The entity node object includes a first problem node object, and the corresponding XML file is generated according to the data structure of the entity node object and a preset standard framework file, including: Generate a corresponding XML file according to the entity association path framework in the standard framework file; Inserting the data structure of the first problem node object into the corresponding tag of the XML file according to the format of the problem node object defined in the standard framework file; The entity node object does not include the first problem node object, and the corresponding XML file is generated according to the data structure of the entity node object and the preset standard framework file, including: Inserting the data structure of the entity node object into the corresponding tag of the XML file according to the format of the entity node object defined in the standard framework file; The entity node object includes at least one of the following objects: Non-first problem node object; Solution node object; Information node object; Tool node object; The association path includes: an association object, a first node object, and a second node object; the association object includes a source node attribute and a target node attribute; the first node object is used as an input of the second node object; the source node attribute of the association object points to the first node object; and the target node attribute of the association object points to the second node object. Wherein, the first node object includes a problem node object, and the second node object includes a tool node object; or the first node object includes a tool node object, and the second node object includes a problem node object; or the first node object includes a tool node object, and the second node object includes a solution node object; Or the first node object includes an information node object, and the second node object includes an information node object.
2. The XML-based innovative design tool configuration method according to claim 1, characterized in that: The entity node object includes a tool node object and an information node object, and the XML-based innovative design tool configuration method further includes: In response to a user's operation of adding an information node to a tool, adding the information node object to the tool node object; The data structure of the information node object in the XML file is moved to a corresponding tag of the tool node object in the XML file.
3. The XML-based innovative design tool configuration method according to claim 1, characterized in that: The XML-based innovative design tool configuration method also includes: In response to the user's editing operation, obtaining the editing object; Receive user input data, assign the input data to the corresponding attributes of the editing object, add attribute values to the corresponding attributes of the editing object in the XML file according to the standard framework file, and display the attribute values of the editing object.
4. An innovative design tool configuration system based on XML, characterized in that: include: A path creation module, for generating at least two entity node objects and at least one associated object in response to a user's entity object creation operation and entity association operation in a configuration interface, wherein the at least two entity node objects include at least two tool node objects; the associated object is used to associate different entity node objects to form at least one associated path of entity node objects; An XML file generation module, used to generate a corresponding XML file according to the data structure of the entity node object, the associated object and a preset standard framework file, and display the entity node object and the associated object on the configuration interface; The XML file generation module is specifically used to generate a corresponding XML file according to the entity association path framework in the standard framework file; insert the data structure of the first problem node object into the corresponding tag of the XML file according to the format of the problem node object defined in the standard framework file; The XML file generation module is specifically used to insert the data structure of the entity node object into the corresponding tag of the XML file according to the format of the entity node object defined in the standard framework file; The entity node object includes at least one of the following objects: a non-first problem node object; a solution node object; an information node object; a tool node object; The association path includes: an association object, a first node object, and a second node object; the association object includes a source node attribute and a target node attribute; the first node object is used as an input of the second node object; the source node attribute of the association object points to the first node object; and the target node attribute of the association object points to the second node object. Wherein, the first node object includes a problem node object, and the second node object includes a tool node object; or the first node object includes a tool node object, and the second node object includes a problem node object; or the first node object includes a tool node object, and the second node object includes a solution node object; Or the first node object includes an information node object, and the second node object includes an information node object.
5. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute the program stored in the memory to implement the XML-based innovative design tool configuration method as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the XML-based innovative design tool configuration method as described in any one of claims 1 to 3.
