Method and device for creating multi-level visualization scheme of wisdom decision platform, computer device and medium
By processing unsaved solutions in the intelligent decision-making platform, generating target controls and solution nodes, and strongly binding them with scene instances, the problem of control and data disconnection is solved, achieving the integrity and consistency of the solution, and improving user experience and system stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- POWERCHINA ZHONGNAN ENG
- Filing Date
- 2026-03-06
- Publication Date
- 2026-06-16
AI Technical Summary
When creating new solutions, existing technologies often result in a disconnect between controls and data, leading to a failure to meet user needs.
By processing unsaved solutions in the intelligent decision-making platform, target controls and solution nodes are generated and strongly bound to scene instances to form a 'three-in-one' target solution, avoiding the disconnect between controls and data.
This achieves strong binding between controls and data, ensuring the integrity and consistency of the solution, avoiding the disconnect between controls and data, and improving user experience and system stability.
Smart Images

Figure CN121807200B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of interactive scene editing and project management, and in particular to a method, apparatus, computer equipment, and medium for creating multi-level visualization schemes for an intelligent decision-making platform. Background Technology
[0002] In modern interactive software systems, especially application software systems involving complex configuration management, scene editing, or scheme organization, users often have a variety of needs. When the application software system cannot meet the user's needs, it is usually necessary to add new schemes to realize the user's needs and thus complete the creation of the scene.
[0003] Currently, existing technologies typically create and manage controls and solution nodes separately when creating new solutions, which can lead to a disconnect between controls and data. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, and medium for creating a multi-level visualization solution for an intelligent decision-making platform that can avoid the disconnect between controls and data, in order to address the aforementioned technical problems.
[0005] A method for creating a multi-level visualization scheme for an intelligent decision-making platform, the method comprising:
[0006] S1. If there are unsaved solutions in the intelligent decision-making platform, process the unsaved solutions;
[0007] Preferably, the unsaved scheme is a scheme created in the past but not yet saved;
[0008] Preferably, the intelligent decision-making platform is a system that creates various different scenarios through multiple controls;
[0009] S2. When the unsaved scheme has been processed, call the control addition function to generate a target control to be added. The target control is associated with the first identifier and is used to select the target scheme associated with the target control.
[0010] Preferably, "processed" refers to one of the following: unsaved solutions have been saved, unsaved solutions have been temporarily cached, or unsaved solutions have been deleted.
[0011] S3. Call the node creation function to generate a scheme node, which is associated with the second identifier;
[0012] S4. Copy the scene instance from the scene currently displayed on the interactive interface of the intelligent decision-making platform, and combine the target control, the solution node and the scene instance associated with the same identifier to obtain the target solution;
[0013] S5. Call the scheme saving function to save the target scheme, which is a visualization scheme.
[0014] In one embodiment, the method further includes:
[0015] In response to a trigger operation on a pre-inspection control, a pre-inspection function is invoked, and the pre-inspection function is used to detect whether there is an unsaved scheme in the smart decision-making platform. The pre-inspection control is at the same level as the target control in the menu panel of the smart decision-making platform.
[0016] Preferably, each level of the menu in the intelligent decision-making platform includes a pre-inspection control. Triggering the pre-inspection control at a certain level of the menu panel indicates that a new target control has been added at that level.
[0017] Preferably, during the process from responding to a trigger operation on the preflight control to the failure or success of saving the target solution, responding to trigger operations on the preflight control again is prohibited. After the target solution fails to save or is saved successfully, responding to trigger operations on the preflight control is allowed.
[0018] In one embodiment, the method further includes:
[0019] In response to an attribute setting operation for the target control, the attribute information of the target control is set, including the name, style, and padding of the target control.
[0020] In one embodiment, S1 includes:
[0021] When there is an unsaved solution in the intelligent decision-making platform, a target pop-up window is displayed. The target pop-up window includes multiple selection controls, and the processing flow of each selection control for the unsaved solution is different.
[0022] In response to a trigger operation on the first control among the plurality of selection controls, and according to the processing flow corresponding to the first control, the unsaved scheme is automatically processed.
[0023] In one embodiment, the method further includes:
[0024] When the scenario instance copying fails, the target control and the solution node are automatically deleted, and the intelligent decision-making platform is restored to its initial state, which is the state in which the target control was not generated by calling the control addition function.
[0025] If the target solution fails to be saved, the target control, the solution node, and the target solution are automatically deleted, and the intelligent decision-making platform is restored to the initial state.
[0026] In one embodiment, the method further includes:
[0027] During the process of restoring the intelligent decision-making platform to its initial state, the addition of new target controls is prohibited.
[0028] In one embodiment, the method further includes:
[0029] In response to a scheme deletion operation triggered in the top layer of the menu panel of the intelligent decision-making platform, the number of controls in the top layer of the menu panel is detected;
[0030] When the number of controls exceeds a preset value, delete the second control that responds to the scheme deletion operation, the scheme node associated with the second control, and the target scheme.
[0031] When the number of controls equals a preset value, deleting the second control, the scheme node associated with the second control, and the target scheme is prohibited.
[0032] A multi-level visualization scheme creation device for an intelligent decision-making platform, the device comprising:
[0033] The solution processing module is used to process unsaved solutions when there are currently unsaved solutions on the intelligent decision-making platform.
[0034] The control generation module is used to call the control addition function to generate a target control to be added when the unsaved scheme has been processed. The target control is associated with the first identifier and is used to select the target scheme associated with the target control.
[0035] The node generation module is used to call the node creation function to generate scheme nodes, which are associated with the second identifier;
[0036] The solution creation module is used to copy a scene instance from the scene currently displayed on the interactive interface of the intelligent decision-making platform, and combine the target control, the solution node and the scene instance associated with the same identifier to obtain the target solution;
[0037] The scheme saving module is used to call the scheme saving function to save the target scheme, which is a visualization scheme.
[0038] A computer device includes a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the method described above.
[0039] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.
[0040] The aforementioned multi-level visualization scheme creation method, device, computer equipment, and medium for the intelligent decision-making platform, by processing unsaved schemes when they exist on the platform, and then calling a control addition function to generate target controls to be added once the unsaved schemes have been processed, associates the target controls with a first identifier, uses the target controls to select the target schemes associated with them, calls a node creation function to generate scheme nodes, associates the scheme nodes with a second identifier, copies a scene instance from the scene currently displayed on the interactive interface of the intelligent decision-making platform, and combines the target controls, scheme nodes, and scene instances associated with the same identifier to obtain the target scheme, and calls a scheme saving function to save the target scheme, thus strongly binding the target controls, scheme nodes, and scene instances to form a "three-in-one" target scheme and preventing disconnection. Attached Figure Description
[0041] Figure 1 This is an application environment diagram of a method for creating a multi-level visualization scheme for an intelligent decision-making platform in one embodiment.
[0042] Figure 2 This is a flowchart illustrating a method for creating a multi-level visualization scheme for an intelligent decision-making platform in one embodiment.
[0043] Figure 3 This is a flowchart illustrating the processing of the second control in one embodiment;
[0044] Figure 4 This is a flowchart of container refresh in one embodiment;
[0045] Figure 5 This is a schematic diagram of the overall process of creating a multi-level visualization scheme for an intelligent decision-making platform in one embodiment.
[0046] Figure 6 A structural block diagram of a device for creating a multi-level visualization scheme for an intelligent decision-making platform in one embodiment;
[0047] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0049] The multi-level visualization scheme creation method for the intelligent decision-making platform provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 interacts with server 104 via a wired / wireless channel. The data storage system can store the data that server 104 needs to process. S1. If there are unsaved solutions on the intelligent decision-making platform, process the unsaved solutions; S2. When the unsaved solutions have been processed, call the control addition function to generate a target control to be added. The target control is associated with a first identifier and is used to select the target solution associated with it; S3. Call the node creation function to generate a solution node, which is associated with a second identifier; S4. Copy a scene instance from the currently displayed scene on the intelligent decision-making platform's interactive interface, and combine the target control, solution node, and scene instance associated with the same identifier to obtain the target solution; S5. Call the solution saving function to save the target solution, which is a visual solution. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, etc. Server 104 can be a single server, a server cluster consisting of multiple servers, or a cloud computing center consisting of multiple servers.
[0050] In one embodiment, such as Figure 2 As shown, a method for creating a multi-level visualization scheme for an intelligent decision-making platform is provided, which can be applied to... Figure 1 Taking server 104 as an example, the following steps are included:
[0051] S1. If there are unsaved solutions in the intelligent decision-making platform, process the unsaved solutions;
[0052] The intelligent decision-making platform is a system used for scene creation through various visualized solutions (represented as controls). It can also be understood as a system for scene creation using various controls. For example, the intelligent decision-making platform can be used to create a 3D scene of a building or a 3D scene of a park. The intelligent decision-making platform's menu panel contains multiple levels of controls for selecting solutions.
[0053] Unsaved schemes are schemes created in the past but not yet saved. The handling of unsaved schemes includes three methods: saving, deleting, and temporary caching.
[0054] S2. When the unsaved scheme has been processed, call the control addition function to generate the target control to be added. The target control is associated with the first identifier and is used to select the target scheme associated with the target control.
[0055] Among them, "processed" refers to one of the following: the unsaved scheme has been saved, the unsaved scheme has been temporarily cached, or the unsaved scheme has been deleted.
[0056] The function for adding controls is AddButtonEvent(). The target control can be generated using the function Btn=GenWidget(BaseButton) within AddButtonEvent().
[0057] The first identifier is the target control's unique GUID (Globally Unique Identifier). Each control has a unique GUID.
[0058] S3. Call the node creation function to generate a scheme node, and associate the scheme node with the second identifier;
[0059] The node creation function is CreateNode(), and the generated plan node is PlanNode.
[0060] Furthermore, the hierarchy (Level) and second identifier (ParentGUID) of the solution node in the menu panel are set and registered to ProjectTsSystem or the parent node AddChild. The first identifier of the target control is compared with the second identifier of the solution node to determine if they are the same. If they are the same, the target control is directly displayed in the menu panel of the intelligent decision-making platform. The menu panel is a collapsible / expandable control list panel used to display various controls for solution selection hierarchically.
[0061] S4. Copy the scene instance from the currently displayed scene on the interactive interface of the intelligent decision-making platform, and combine the target control, solution node and scene instance associated with the same identifier to obtain the target solution;
[0062] In this context, the target control and scheme node associated with the same identifier can be understood as the first identifier of the target control being consistent with the second identifier of the scheme node.
[0063] The target control, solution node, and scene instance associated with the same identifier together constitute a target solution.
[0064] A scene instance can be all currently displayed instances or a subset of them. For example, all currently displayed buildings. Scene instances are copied by calling the function `ProScene.Copy(planNode.GUID, callback)`. `ProScene.Copy(planNode.GUID, callback)` is a function that copies the scene instance to the plan node. Its core function is to save a "snapshot" of the currently displayed scene in the interactive interface to the plan node, and then notify the caller via the callback upon completion.
[0065] S5. Call the scheme saving function to save the target scheme, which is a visualization scheme.
[0066] The function for saving the scheme is ProScene.Save(). By saving the target scheme, the copied scene instance can be solidified into a specific scheme. Therefore, when the scheme needs to be created again, it can be obtained directly by clicking the target control, instead of recreating the scheme step by step.
[0067] A visual solution refers to controls that can be directly observed by the user. The menu panel of the intelligent decision-making platform contains multiple levels of controls for selecting solutions.
[0068] Furthermore, when the target scheme is selected, the scheme saving function ProScene.Save() is called to save the target scheme. The selection of the target scheme is achieved through the function Btn.OnStateChangedEvent().
[0069] Furthermore, when the target solution is successfully saved, the data of the target solution in the temporary cache is cleared. At the same time, the message that the target solution was successfully saved is broadcast through the message center, the log is recorded, the target solution is marked as "the object currently being operated on", and the target control is set to the triggered state.
[0070] The multi-level visualization solution creation method of the aforementioned intelligent decision-making platform processes unsaved solutions when they exist on the platform. Once all unsaved solutions have been processed, a control addition function is called to generate target controls to be added. These target controls are associated with a first identifier and are used to select the target solutions associated with them. A node creation function is then called to generate solution nodes, which are associated with a second identifier. A scene instance is copied from the currently displayed scene on the intelligent decision-making platform's interactive interface and combined with the target controls, solution nodes, and scene instances associated with the same identifier to obtain the target solution. Finally, a solution saving function is called to save the target solution. This strongly binds the target controls, solution nodes, and scene instances, forming a "three-in-one" target solution and preventing any disconnect.
[0071] In one embodiment, the method further includes:
[0072] In response to a trigger operation on a preflight control, a preflight function is invoked, and the preflight function is used to detect whether there is an unsaved solution in the smart decision-making platform. The hierarchy of the preflight control in the menu panel of the smart decision-making platform is consistent with the hierarchy of the target control in the menu panel.
[0073] The preflight control is triggered by the user. Each level of the menu in the intelligent decision-making platform includes a preflight control. Clicking a preflight control at a certain level of the menu panel adds a new target control to that level.
[0074] The preflight function is PreAddButton(). This function uses TempCacheSystem to check if there are any unsaved schemes currently existing on the intelligent decision-making platform.
[0075] Furthermore, if there is no unsaved scheme, the control addition function is called directly to generate the target control to be added.
[0076] Furthermore, during the process from responding to a trigger operation on a preflight control to the failure or success of saving the target solution, responding to trigger operations on the preflight control again is prohibited. After the target solution fails to save or succeeds, responding to trigger operations on the preflight control is allowed.
[0077] In this embodiment, a pre-detection function is invoked in response to a trigger operation on a pre-detection control. This function detects whether there are any unsaved solutions currently existing on the intelligent decision-making platform, thus preventing the loss of unsaved solutions. Simultaneously, it prevents the mixing of old and new solutions, avoiding discrepancies between newly created target solutions and expectations.
[0078] In one embodiment, the method further includes:
[0079] In response to property setting operations on the target control, set the property information of the target control, including the name, style and padding of the target control.
[0080] The name of the target control is displayed within its border. Style refers to the target control's appearance, including its color, size, name font, and shape. Padding refers to the distance between the displayed name within the target control's border and the border itself.
[0081] The purpose of the target control can be clearly identified by the name displayed inside its border.
[0082] Attribute information can be set by the user through the interactive interface of the intelligent decision-making platform.
[0083] In this embodiment, in response to the property setting operation for the target control, the property information of the target control is set, so that the function of the target control can be clearly defined directly through the property information.
[0084] In one embodiment, S1 includes:
[0085] When there are unsaved solutions in the intelligent decision-making platform, a target pop-up window is displayed. The target pop-up window includes multiple selection controls, and the processing flow for the unsaved solutions is different for each selection control.
[0086] In response to a trigger operation on the first control among multiple selection controls, and based on the processing flow corresponding to the first control, the unsaved scheme is automatically processed.
[0087] The target pop-up is controlled by the function MessagePopup.ShowMessage_SaveContinueCancel.
[0088] The selection controls include a first selection control for canceling the control addition process, a second selection control for saving unsaved schemes, and a third selection control for temporarily caching unsaved schemes and adding new controls.
[0089] Furthermore, if the first control is the first selection control, the control addition process will exit directly without saving any unsaved schemes, and the intelligent decision-making platform will return to its initial state; if the first control is the second selection control, the scheme saving function ProScene.Save() will be called synchronously to save any unsaved schemes, and then a new control will be added; if the first control is the third selection control, the unsaved schemes will be cached or a new control will be added directly.
[0090] Furthermore, during the processing of unsaved schemes, responses to trigger operations targeting preflight controls are prohibited.
[0091] In this embodiment, when there are unsaved solutions in the intelligent decision-making platform, a target pop-up window is displayed. The target pop-up window includes multiple selection controls, and each selection control has a different processing flow for the unsaved solutions. In response to the trigger operation of the first control among the multiple selection controls, the unsaved solutions are automatically processed according to the processing flow corresponding to the first control. This achieves the best balance between data security, operational efficiency and user experience, ensuring that users do not lose unsaved solutions, nor are they forced to perform unnecessary operations, while ensuring that the system state is always clean and controllable.
[0092] In one embodiment, the method further includes:
[0093] When copying a scene instance fails, the target control and solution node are automatically deleted, and the intelligent decision-making platform is restored to its initial state, which is the state where the function to add the control to generate the target control has not been called.
[0094] If saving the target solution fails, the target control, solution node, and target solution will be automatically deleted, and the intelligent decision-making platform will be restored to its initial state.
[0095] If the scene instance copying fails, a new target solution cannot be created, and the target control and solution node will be automatically cleared to avoid useless resources occupying storage space.
[0096] If saving the target solution fails, the newly built target solution cannot be used. Therefore, the newly added controls, solution nodes, and copied target scenes are all useless resources and need to be cleared to free up storage space.
[0097] If the scenario instance copying fails or the target solution saving fails, the rollback function rollbackAdd(planNode, Btn) is executed, thereby restoring the intelligent decision-making platform to its initial state.
[0098] When clearing target controls, plan nodes, and target plans, the target plan is cleared by calling ProScene.Delete(planNode.GUID), the plan node stored in ProjectTsSystem is cleared by calling RemovePlanNode(planNode), and the target control in the menu panel of the intelligent decision-making platform is cleared by calling RemoveChild.
[0099] Furthermore, when scene instance copying fails, the system outputs a first prompt message indicating the failure and the reason for the failure; when target solution saving fails, the system outputs a second prompt message indicating the failure and the reason for the failure.
[0100] In this embodiment, when copying a scene instance fails, the target control and solution node are automatically deleted, and the intelligent decision-making platform is restored to its initial state. When saving a target solution fails, the target control, solution node, and target solution are automatically deleted, and the intelligent decision-making platform is restored to its initial state. This avoids wasting storage space in the intelligent decision-making platform.
[0101] In one embodiment, the method further includes:
[0102] Adding new target controls is prohibited during the process of restoring the intelligent decision-making platform to its initial state.
[0103] Furthermore, during the process of the intelligent decision-making platform returning to its initial state, responses to trigger operations targeting preflight controls are prohibited; however, responses to trigger operations targeting preflight controls are permitted once the intelligent decision-making platform has returned to its initial state.
[0104] In this embodiment, by prohibiting the addition of new target controls during the process of restoring the intelligent decision-making platform to its initial state, abnormal behaviors such as control and data logic disorder, duplicate node creation, container structure pollution, and transaction rollback failure caused by concurrent operations or inconsistent states can be avoided.
[0105] In one embodiment, the method further includes:
[0106] In response to a scheme deletion operation triggered in the top layer of the menu panel of the intelligent decision-making platform, the number of controls in the top layer of the menu panel is detected.
[0107] When the number of controls exceeds a preset value, delete the second control, the scheme node associated with the second control, and the target scheme that responds to the scheme deletion operation;
[0108] When the number of controls equals the preset value, it is prohibited to delete the second control, the scheme node associated with the second control, and the target scheme.
[0109] The top layer of the menu panel refers to the first level of the menu in the menu panel.
[0110] The scheme deletion operation is triggered by clicking the control to be deleted in the top layer of the menu panel. The second control that responds to the scheme deletion operation is the control to be deleted.
[0111] The plan deletion operation is broadcast via NotificationLists.PROJ.ON_FIRST_PLAN_DELETE so that all modules subscribed to the broadcast notification will receive the notification. When the intelligent decision-making platform receives the notification "Delete plan at the top level of the menu panel" (NotificationLists.PROJ.ON_FIRST_PLAN_DELETE), it automatically calls the OnFirstButtonDelete method in the MixinMasterMenu module, passing the plan node to be deleted (planNode) as a parameter to execute the complete deletion processing logic.
[0112] When deleting the second control, the associated plan node, and the target plan in the response plan deletion operation, the deletion operation is performed by calling ProScene.Delete(planNode.GUID), RemoveChild, and RemovePlanNode(planNode). The flowchart for handling the second control is as follows: Figure 3 As shown.
[0113] Furthermore, the default value is 1.
[0114] Furthermore, trigger the OnStateChangedEvent() method of the first control in the top layer of the menu panel to ensure that the intelligent decision-making platform always has available solutions.
[0115] In this embodiment, in response to a control deletion operation triggered at the top level of the menu panel of the intelligent decision-making platform, the number of controls at the top level of the menu panel is detected. When the number of controls exceeds a preset value, the second control that responded to the control deletion operation, the solution node associated with the second control, and the target solution are deleted. This frees up storage space in the intelligent decision-making platform and avoids storing useless resources. By prohibiting the deletion of the second control when the number of controls equals the preset value, the intelligent decision-making platform can avoid entering an invalid or crashed state of "no effective solution available," ensuring that the user always has at least one selectable solution.
[0116] In one embodiment, when the state of a control at the target level in the menu panel changes, the function OnStateChangedEvent() sends a notification, NotificationLists.PROJ.ON_PLAN_BASE_BUTTON_DOWN, via the MessageCenter. This notification is received and processed by the OnBaseButtonDown(Obj) function of MixinMasterMenu. In the OnBaseButtonDown function, processing is routed based on the RECOVER flag in the passed-in object Obj and the Level property of the control's target plan node. If Obj.RECOVER is true, only the display state of the controls at the target level is reset to the default style, and all sub-menu containers are hidden or cleared without recreating child controls. If Obj.RECOVER is false, the corresponding menu refresh logic is executed according to the value of Level, as follows: When Level == 0, the second-level menu container of the menu panel is displayed, the third-level menu is hidden, the existing controls in the second-level menu are cleared, and SecondContainer.AddChildWidget(planNode) is called; when Level == 1, the third-level menu container is displayed, the existing controls in the third-level menu are cleared, and ThirdContainer.AddChildWidget(planNode) is called; when Level == 2, only the selection style is set, and no sub-containers are operated. The `AddChildWidget(planNode)` function saves the passed-in plan node as a parent node reference in the called child container (e.g., stored as `this.planNode` or `this.ParentPlanNode`). It then iterates through the list of child nodes of that plan node (`planNode.Childs`), generating a corresponding control for each child node and adding it to the current menu container. It clears the temporarily cached target plan data, broadcasts a message indicating successful target plan saving via the message center, logs the event, marks the target plan as the "currently being operated on" object, and sets the control to a triggered state. The detailed flowchart of the container refresh is as follows: Figure 4 As shown in the diagram. The overall flowchart of the multi-level visualization solution creation method for the intelligent decision-making platform is as follows. Figure 5 As shown.
[0117] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0118] Based on the same inventive concept, this application also provides a multi-level visualization scheme creation device for a smart decision-making platform, which implements the multi-level visualization scheme creation method for the smart decision-making platform described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the multi-level visualization scheme creation device for a smart decision-making platform provided below can be found in the limitations of the multi-level visualization scheme creation method for a smart decision-making platform described above, and will not be repeated here.
[0119] In one embodiment, such as Figure 6 As shown, a multi-level visualization scheme creation device for an intelligent decision-making platform is provided, comprising:
[0120] The solution processing module is used to process unsaved solutions when they exist on the intelligent decision-making platform.
[0121] The control generation module is used to call the control addition function to generate target controls to be added when the unsaved scheme has been processed. The target controls are associated with the first identifier and are used to select the target scheme associated with the target control.
[0122] The node generation module is used to call the node creation function to generate scheme nodes, which are then associated with the second identifier.
[0123] The solution creation module is used to copy a scene instance from the currently displayed scene on the interactive interface of the intelligent decision-making platform, and combine the target control, solution node and scene instance associated with the same identifier to obtain the target solution;
[0124] The scheme saving module is used to call the scheme saving function to save the target scheme, which is a visual scheme.
[0125] Each module in the multi-level visualization solution creation device of the aforementioned intelligent decision-making platform can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0126] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores various types of data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a multi-level visualization scheme creation method for an intelligent decision-making platform.
[0127] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0128] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0129] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0130] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0131] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0132] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0133] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for creating a multi-level visualization scheme for an intelligent decision-making platform, characterized in that, The method includes: S1. If there are unsaved solutions in the intelligent decision-making platform, process the unsaved solutions; S2. When the unsaved scheme has been processed, call the control addition function to generate a target control to be added. The target control is associated with the first identifier and is used to select the target scheme associated with the target control. S3. Call the node creation function to generate a scheme node, which is associated with the second identifier; S4. Copy the scene instance from the scene currently displayed on the interactive interface of the intelligent decision-making platform, and combine the target control, the solution node and the scene instance associated with the same identifier to obtain the target solution; S5. Call the scheme saving function to save the target scheme, which is a visualization scheme; The method further includes: In response to a scheme deletion operation triggered in the top layer of the menu panel of the intelligent decision-making platform, the number of controls in the top layer of the menu panel is detected; When the number of controls exceeds a preset value, delete the second control that responds to the scheme deletion operation, the scheme node associated with the second control, and the target scheme. When the number of controls equals a preset value, deleting the second control, the scheme node associated with the second control, and the target scheme is prohibited.
2. The method according to claim 1, characterized in that, The method further includes: In response to a trigger operation on a pre-inspection control, a pre-inspection function is invoked, and the pre-inspection function is used to detect whether there is an unsaved scheme in the smart decision-making platform. The pre-inspection control is at the same level as the target control in the menu panel of the smart decision-making platform.
3. The method according to claim 1, characterized in that, The method further includes: In response to an attribute setting operation for the target control, the attribute information of the target control is set, including the name, style, and padding of the target control.
4. The method according to claim 1, characterized in that, S1 includes: When there is an unsaved solution in the intelligent decision-making platform, a target pop-up window is displayed. The target pop-up window includes multiple selection controls, and the processing flow of each selection control for the unsaved solution is different. In response to a trigger operation on the first control among the plurality of selection controls, and according to the processing flow corresponding to the first control, the unsaved scheme is automatically processed.
5. The method according to claim 1, characterized in that, The method further includes: When the scenario instance copying fails, the target control and the solution node are automatically deleted, and the intelligent decision-making platform is restored to its initial state, which is the state in which the target control was not generated by calling the control addition function. If the target solution fails to be saved, the target control, the solution node, and the target solution are automatically deleted, and the intelligent decision-making platform is restored to the initial state.
6. The method according to claim 5, characterized in that, The method further includes: During the process of restoring the intelligent decision-making platform to its initial state, the addition of new target controls is prohibited.
7. A multi-level visualization scheme creation device for an intelligent decision-making platform, used to execute the method according to any one of claims 1-6, characterized in that, The device includes: The solution processing module is used to process unsaved solutions when there are currently unsaved solutions on the intelligent decision-making platform. The control generation module is used to call the control addition function to generate a target control to be added when the unsaved scheme has been processed. The target control is associated with the first identifier and is used to select the target scheme associated with the target control. The node generation module is used to call the node creation function to generate scheme nodes, which are associated with the second identifier; The solution creation module is used to copy a scene instance from the scene currently displayed on the interactive interface of the intelligent decision-making platform, and combine the target control, the solution node and the scene instance associated with the same identifier to obtain the target solution; The scheme saving module is used to call the scheme saving function to save the target scheme, which is a visualization scheme.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.