Method for generating a visual system profile

The BSVConfig software automatically processes the visual system configuration files, solving the low efficiency and high error rate problems caused by manual editing in existing technologies. It achieves efficient and accurate configuration file generation and improves the overall engineering application performance of the visual system.

CN119781807BActive Publication Date: 2025-10-24BEIJING BLUESKY AVIATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411653666.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-10-24
Estimated Expiration
2044-11-19

AI Technical Summary

Technical Problem

The generation of existing visual system configuration files relies on manual editing, resulting in low efficiency and high error rates. The lack of unified management and automation tools makes it difficult to achieve dynamic updates and user-friendly interfaces, affecting the efficiency and reliability of engineering applications.

Method used

A method for generating a visual system configuration file is provided. The BSVConfig software responds to touch operations in the visual system configuration interface, automatically obtains and configures multiple configuration parameters, and generates a configuration file, including information reading, filling, updating, and visual configuration, reducing human errors and improving the efficiency of automated processing.

Benefits of technology

It greatly improves the accuracy and efficiency of the visual system configuration files, simplifies the management work of engineers, and significantly improves the overall efficiency and reliability of the visual system engineering application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119781807B_ABST
    Figure CN119781807B_ABST
Patent Text Reader

Abstract

The application provides a method for generating a visual system configuration file, which comprises: for each configuration control in a visual system configuration interface, in response to a touch operation received by the configuration control, obtaining a plurality of configuration parameters under a configuration path corresponding to the configuration control, and configuring a configurable parameter in the plurality of configuration parameters in a display configuration page of the plurality of configuration parameters to obtain a configuration result corresponding to the configuration control; and generating a visual system configuration file based on the configuration result corresponding to each configuration control. The application improves the efficiency and accuracy of processing the configuration file through automation technology, simplifies the management work of visual system engineers, automatically completes the editing and configuration of each configuration file, reduces the error rate of manual editing and configuration, and greatly improves the accuracy and efficiency of generating the visual system configuration file, and significantly improves the overall efficiency and reliability of the visual system engineering application.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of visual engineering application, and particularly relates to a visual system configuration file generation method. BACKGROUND

[0002] In the engineering application of a visual engine, the generation of a configuration file is particularly important, but the existing visual system configuration often depends on manual editing of the configuration to generate the configuration file, and this generation method is not only inefficient but also has a high error rate, that is, has the dual defects of low efficiency and high error rate. SUMMARY

[0003] The present application provides a visual system configuration file generation method to solve the defects of low generation efficiency and high error rate of the visual system configuration file caused by manual editing of the configuration in the prior art, improves the efficiency and accuracy of processing the configuration file through automatic technology, and also simplifies the management work of visual system engineers, automatically completes the editing and configuration of each configuration file, reduces the error rate of manual editing and configuration, thereby greatly improving the accuracy and efficiency of generating the visual system configuration file, and also significantly improves the overall efficiency and reliability of the engineering application of the visual system.

[0004] The present application provides a visual system configuration file generation method, comprising the following steps.

[0005] For each configuration control in the visual system configuration interface, in response to a touch operation received by the configuration control, a plurality of configuration parameters under a configuration path corresponding to the configuration control are obtained, and in a display configuration page of the plurality of configuration parameters, a configurable parameter in the plurality of configuration parameters is configured to obtain a configuration result corresponding to the configuration control; and based on the configuration result corresponding to each configuration control, a visual system configuration file is generated.

[0006] According to the visual system configuration file generation method provided by the present application, the configuration of the configurable parameter in the plurality of configuration parameters in the display configuration page of the plurality of configuration parameters comprises: in a system display configuration page of a plurality of system configuration parameters, a current visual channel configurable parameter in the plurality of system configuration parameters is configured.

[0007] According to the view system configuration file generation method provided by the application, the configurable parameters in the display configuration page of the plurality of configuration parameters are configured, including: in the view channel display configuration page of the plurality of channel service configuration parameters, based on the configuration result of the current view channel configurable parameter, the plurality of computer channel IP configurable parameters in the plurality of channel service configuration parameters are correspondingly edited and configured and hidden.

[0008] According to the view system configuration file generation method provided by the application, the configurable parameters in the display configuration page of the plurality of configuration parameters are configured, including: in the view channel display configuration page of the plurality of channel service configuration parameters, based on the configuration result of the current view channel configurable parameter, the plurality of computer channel IP configurable parameters in the plurality of channel service configuration parameters are correspondingly edited and configured and hidden.

[0009] According to the view system configuration file generation method provided by the application, in the case that the configuration control is a fusion file configuration control, the configurable parameters in the display configuration page of the plurality of configuration parameters are configured, including: in the fusion file display configuration page of the plurality of fusion file configuration parameters, the current channel state configurable parameter in the fusion file configuration parameter representing the original geometry fusion file of the image rendering computer is converted and configured; and / or, in response to the save operation in the fusion file display configuration page, the first file configurable parameter of the target geometry configuration file obtained by conversion and configuration is saved and configured; and / or, in response to the backup operation in the fusion file display configuration page, the second file configurable parameters of the original geometry fusion file and the target geometry fusion file are respectively backup configured.

[0010] According to the view system configuration file generation method provided by the application, in the case that the configuration control is the eye point script configuration control, the configuration of the configurable parameters in the display configuration page of the plurality of configuration parameters comprises: in the eye point script display configuration page of the plurality of eye point script configuration parameters, the numerical fine tuning configuration of the target direction offset configurable parameter of the eye point of the view system in the plurality of eye point script configuration parameters; and / or, in response to the rearrangement instruction, the rearrangement configuration of the sorting configurable parameter of the eye point script display configuration page; and / or, in response to the reordering serialization instruction, the corresponding rearrangement configuration and serialization configuration of the sorting configurable parameter and the serialization configurable parameter of the eye point script display configuration page.

[0011] According to the view system configuration file generation method provided by the application, the configuration of the configurable parameters in the display configuration page of the plurality of configuration parameters comprises: in the environment script display configuration page of the plurality of environment script configuration parameters, the numerical editing configuration of the target environment configurable parameter in the plurality of environment script configuration parameters, followed by the saving configuration and / or the backup configuration.

[0012] According to the view system configuration file generation method provided by the application, in the case that the configuration control is the script file configuration control, the configuration of the configurable parameters in the display configuration page of the plurality of configuration parameters comprises: in the script file display configuration page of the plurality of script file configuration parameters, the numerical fine tuning configuration of the script file index configurable parameter in the plurality of script file configuration parameters; if there is a target script file under the script path corresponding to the fine tuning configured script file index configurable parameter, the opening configuration of the target script file is performed on the script file configurable parameter in the script file display configuration page, or the script file configurable parameter is deleted and reconstructed; if there is no target script file, the script file configurable parameter is created and opened.

[0013] According to the view system configuration file generation method provided by the application, in the case that the configuration control is a database copy configuration control, the configuration of the configurable parameters in the display configuration page of the plurality of configuration parameters includes: in the database copy display configuration page of the plurality of database copy configuration parameters, at least one of the terrain data calling path configurable parameter, the texture data calling path configurable parameter and the model data calling path configurable parameter in the plurality of database copy configuration parameters is updated and configured; in response to the database parameter copy instruction, the copy configuration of the copy configurable parameter of the target view data corresponding to at least one target data calling path parameter is configured, so that the target view data is copied to each image rendering computer; wherein the target data calling path parameter includes at least one of the updated terrain data calling path configurable parameter, the updated texture data calling path configurable parameter and the updated model data calling path configurable parameter.

[0014] According to the view system configuration file generation method provided by the application, the plurality of configuration parameters under the configuration path corresponding to the configuration control are obtained, including: based on the preset data verification mechanism and the error processing mechanism, the plurality of initial configuration parameters under the configuration path corresponding to the configuration control are subjected to data verification, and the abnormal configuration data is subjected to error processing; the plurality of configuration parameters which pass the data verification and do not contain the abnormal configuration data are obtained from the plurality of initial configuration parameters.

[0015] The view system configuration file generation method provided by the application, wherein the view system configuration file generation method, for the plurality of configuration controls displayed in the view system configuration interface, each configuration control can automatically complete the configuration function of the target configurable parameter in the display configuration page of the plurality of configuration parameters after calling the plurality of configuration parameters under the corresponding configuration path under the condition of receiving the touch operation; until all configuration controls complete the corresponding configuration function, the view system configuration file can be generated. In this way, the efficiency and accuracy of processing the configuration file are improved through the automatic technology, and the management work of the view system engineer is also simplified, the editing and configuration of each configuration file are automatically completed, the error rate of manual editing and configuration is reduced, thereby the accuracy and efficiency of generating the view system configuration file are greatly improved, and the overall efficiency and reliability of the view system engineering application are also significantly improved. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to make the technical solutions in the present application or prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort based on these drawings.

[0017] Figure 1 is a flowchart of the method for generating the configuration file of the visual system provided by the present application.

[0018] Figure 2 is a schematic diagram of the configuration interface of the visual system provided by the present application.

[0019] Figure 3 is a schematic diagram of the system.xml page provided by the present application.

[0020] Figure 4 is a schematic diagram of the system.xml page displaying non-important information provided by the present application.

[0021] Figure 5 is a schematic diagram of the toybox.rst page provided by the present application.

[0022] Figure 6 is a schematic diagram of the Particle sub-page provided by the present application.

[0023] Figure 7 is a schematic diagram of the Grid Files page conversion process provided by the present application.

[0024] Figure 8 is a schematic diagram of the Grid Files page conversion completion provided by the present application.

[0025] Figure 9 is a schematic diagram of the eyepoint.rst page provided by the present application.

[0026] Figure 10 is a schematic diagram of the environment.rst page provided by the present application.

[0027] Figure 11 is a schematic diagram of the ScriptFiles configuration page provided by the present application.

[0028] Figure 12 is a schematic diagram of the Copy Database configuration page provided by the present application.

[0029] Figure 13 is a schematic diagram of the configuration file generation device of the visual system provided by the present application.

[0030] Figure 14It is a structural schematic diagram of the electronic device provided by the application. DETAILED DESCRIPTION

[0031] To make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described below in connection with the drawings in the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0032] In the embodiments of the present application, “at least one” means one or more, and “multiple” means two or more. “And / or” describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. In the textual description of the present application, the character “ / ” generally represents that the associated objects before and after it are in an “or” relationship. In addition, it should be noted that the serial numbers in the present application, such as “first”, “second”, etc., are only used to distinguish the described objects and do not have any sequence or technical meaning.

[0033] In the engineering application of the visual engine, the management, modification and generation of the configuration file are core links, and the generation of the configuration file is particularly important. However, the existing visual system configuration method often relies on manual editing of the configuration file, which not only has low efficiency but also has a high error rate, that is, it has the dual defects of low efficiency and high error rate. And with the in-depth application of the visual system in multiple fields, not only the generation quality of the configuration file is strictly required, but also the accuracy and automation level of the configuration file management have more strict standards.

[0034] The visual system is usually composed of a central management computer and multiple image rendering computers. In the engineering implementation process, in addition to the adjustment of the configuration file on the central management computer, the configuration files scattered on various image rendering computers often need to be updated synchronously. For this adjustment and updating process, the prior art is to obtain, manage and modify the configuration file on the corresponding computer through the tedious remote access operation of the engineer; this adjustment and updating method not only has complex operation and low efficiency, but also has high risk of human error, which seriously affects the work efficiency of the visual engineering application personnel. Therefore, in a complex visual system, the demand for unified management and dynamic updating of the configuration file becomes particularly urgent, and therefore, how to accurately and quickly generate the visual system configuration file is a technical problem to be solved at present.

[0035] For example, the existing visual system configuration file method has the following problems: (1) efficiency bottleneck: the process of manually editing the configuration file is time-consuming and prone to human factors, resulting in low overall work efficiency; (2) error risk: since the configuration file usually contains complex parameters and structures, manual editing increases the possibility of introducing errors, which can be difficult to find and costly to repair; (3) maintenance difficulties: as the size of the visual system expands, manually managing and maintaining configuration files scattered across multiple computers becomes increasingly difficult; (4) lack of unified management: existing technologies lack a centralized management system to uniformly handle configuration file generation, distribution, and updates, resulting in scattered and chaotic management; (5) weak dynamic update capability: existing methods are difficult to implement dynamic updates of configuration files, usually requiring system restarts or complex update processes, affecting system real-time performance and response speed; (6) user interface is not user-friendly: the lack of an intuitive user interface makes it difficult for non-technical users to participate in configuration file editing and management, limiting system usability; (7) lack of automation tools: the lack of automation tools to assist in configuration file generation and validation forces engineers to rely on professional knowledge and experience to complete these tasks; (8) remote operation is complex: for distributed visual systems, remote access and operation of configuration files on each node is complex and vulnerable to network security issues.

[0036] To solve the above technical problems, the present application provides a visual system configuration file generation method, wherein the execution subject of the visual system configuration file generation method is a visual system configuration tool software developed and installed in an electronic device in advance, and the visual system configuration tool software can be referred to as BSVConfig software. The BSVConfig software at least has information reading function, information filling function, information updating function and information visualization configuration function. The electronic device can be a personal computer (PC), a portable device, a notebook computer, a smart phone, a tablet computer and other devices such as a portable wearable device. The specific form of the electronic device is not limited in the present application.

[0037] In order to facilitate the understanding of the visual system configuration file generation method provided by the embodiments of the present application, the following will be described in detail through the following several exemplary embodiments. It can be understood that the following several exemplary embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0038] Referring to Figure 1 The flowchart of the visual system configuration file generation method provided by the present application is shown in Figure 1 The visual system configuration file generation method includes the following steps 110 and 120.

[0039] In step 110, for each configuration control in the visual system configuration interface, in response to a touch operation received by the configuration control, a plurality of configuration parameters under a configuration path corresponding to the configuration control are obtained, and in a display configuration page of the plurality of configuration parameters, a configurable parameter in the plurality of configuration parameters is configured to obtain a configuration result corresponding to the configuration control.

[0040] The visual system configuration interface can be a graphical user interface (GUI) provided by the BSVConfig software, which is used for the user to quickly configure through inputting click operations, drop-down menu selection operations, text input, and other simple operations, instead of traditional manual editing configuration.

[0041] When the BSVConfig software is started, an initial interface or a human-computer interaction interface will be displayed first, which can be a Setting page and the Setting page can display configuration information, so the Setting page can be used as the visual system configuration interface.

[0042] In the visual system configuration interface, configuration controls with different configuration functions are displayed, and a plurality of configuration controls can be displayed vertically on the left side of the visual system configuration interface. Each configuration control can also display its configuration path. In this way, when a touch operation input by the user is received by a configuration control in the plurality of configuration controls, the BSVConfig software can respond to the touch operation and automatically read each configuration parameter required to implement the corresponding configuration function from the configuration path corresponding to the configuration control. The number of configuration parameters usually belongs to different types, and some of the plurality of configuration parameters can be configured, and some of the plurality of configuration parameters cannot be configured. Therefore, the BSVConfig software can automatically set a configurable item for each configurable parameter in the plurality of configuration parameters in a display configuration page of the plurality of configuration parameters to obtain and display the configurable item of each target configuration parameter. Each configurable item can receive a touch operation of the user and implement the configuration function of the corresponding configuration control.

[0043] For example, as shown in the visual system configuration interface diagram, in the visual system configuration interface, a plurality of configuration controls are displayed vertically on the left side of the visual system configuration interface, and each configuration control can display its configuration path. Figure 2 Figure 2 ​In the embodiment, the left side of the configuration interface of the visual system is an index column, and the plurality of configuration controls displayed in the index column include a system configuration (system.xml) control, a channel service configuration (GPServer.xml) control, a basic configuration (BlueSkyView.cfg) control, a model script configuration (toybox.rst) control, an eye point script configuration (eyepoint.rst) control, an environment script (environment.rst) configuration control, a script file configuration (ScriptFiles) control, a fusion file conversion configuration (Grid Files) control, a database copy configuration (CopyDatabase) control, and a Setting control. When the Setting control in the left index column receives a user touch operation, the system configuration page corresponding to the system.xml control, i.e., the system.xml page, is switched to. When the system.xml control receives a user touch operation, the system.xml page is also switched to.

[0044] It should be noted that different configuration pages displayed by the BSVConfig software correspond to different sets of configuration parameters. Each set of configuration parameters is first placed in a corresponding initial configuration file, and each initial configuration file can be distinguished as an.xml file, a.cfg file, and an.rst file according to the file suffix. Since the initial configuration file usually contains complex configuration parameters and parameter structures, automatically completing the editing of the configuration file can reduce the error rate of manual editing.

[0045] In step 120, the visual system configuration file is generated based on the configuration results corresponding to the configuration controls.

[0046] Specifically, for each configuration control displayed in the configuration interface of the visual system, when each configuration control completes the corresponding configuration function, the configuration result corresponding to each configuration control is generated, and each configuration result indicates that the corresponding configuration control completes the corresponding configuration function, and it is determined that the visual system configuration file is generated.

[0047] For example, when the system.xml control, the GPServer.xml control, the BlueSkyView.cfg control, the toybox.rst control, the eyepoint.rst control, the environment.rst configuration control, the ScriptFiles control, the Grid Files conversion configuration control, and the database copy configuration control complete the corresponding configuration functions, it is determined that the visual system configuration file is generated.

[0048] The method for generating a visual system configuration file provided by the embodiment of the present application can automatically complete the configuration function of a target configurable parameter in the display configuration page of a plurality of configuration parameters after calling the plurality of configuration parameters under the corresponding configuration path when each configuration control in the configuration interface of the visual system receives a touch operation, until all configuration controls complete the corresponding configuration function, and then the visual system configuration file is generated. In this way, the efficiency and accuracy of processing the configuration file are improved by using the automatic technology, the management work of the visual system engineer is simplified, the editing and configuration of each configuration file are automatically completed, the error rate of manual editing and configuration is reduced, the accuracy and efficiency of generating the visual system configuration file are greatly improved, and the overall efficiency and reliability of the visual system engineering application are significantly improved.

[0049] Based on the above Figure 1 The method for generating a visual system configuration file shown in the above embodiment, in an example embodiment, when the configuration control is a system configuration control, the BSVConfig software configures the configurable parameters in the plurality of configuration parameters in the display configuration page of the plurality of configuration parameters in step 110, and the configuration process is implemented by the following steps.

[0050] In the system display configuration page of the plurality of system configuration parameters, the current visual channel configurable parameters in the plurality of system configuration parameters are configured.

[0051] Specifically, as shown in the visual system configuration interface diagram Figure 2 When the Setting control in the left index column receives a user touch operation, or the system.xml control receives a user touch operation, the system.xml page is switched to, and the top horizontal index column of the system.xml page includes the General control, the GP1 control, the GP2 control, the GP3 control, the GP4 control, the GP5 control, the GP6 control, the GP7 control, and the GP8 control. The GP1 control to the GP8 control are the channel computer controls of the eight image rendering computers, that is, the eight visual channels.

[0052] Specifically, as shown in the visual system configuration interface diagram Figure 3The system.xml page diagram is shown. In the system.xml page, when the user clicks the General control, the General configuration sub-page is entered, and the current view channel configurable parameters (currGPNum) displayed by the General configuration sub-page are the target configuration parameters. The editing configuration items of the currGPNum can be specifically the channel adding (AddGP) item and the channel deleting (DeleteGP) item. The updating of the current view channel configurable parameters can be realized by editing the channel adding (AddGP) item and the channel deleting (DeleteGP) item. When the currGPNum is 8, the current view channel configurable parameters can be updated to 10 or 11 by clicking the channel adding (AddGP) item, and the current view channel configurable parameters can be updated to 6 or 4 by clicking the channel deleting (DeleteGP) item.

[0053] Further, the configuration prompt information can be displayed for the current view channel configurable parameters. The configuration prompt information is used to prompt that the DeleteGP item is unavailable when the currGPNum is 1, and to prompt that the AddGP item is unavailable when the currGPNum is 12. This is determined because the total number of view channels cannot exceed 12 and cannot be lower than 1 according to the current project requirement.

[0054] In the Figure 3 , Network represents the network parameter, SimHost-IP represents the simulation host IP parameter, SimHost-Port represents the simulation host port number parameter, Ig-Bind-Port represents the central management computer sending port number parameter, RT-IP represents the central management computer IP parameter, Ig-Rcv-Port represents the central management computer receiving port number parameter, SceneConfigFile represents the scene configuration file parameter, RT represents the central management computer parameter, node represents the node number parameter, ud represents the node name parameter, syn represents the node IP parameter, rcvport represents the node receiving port number parameter, mac represents the node physical address parameter, sendport represents the node sending port number parameter, synport represents the node synchronization port number parameter, ResX represents the horizontal resolution parameter, ResY represents the vertical resolution parameter, FPS represents the refresh rate parameter, SlotAutoPowerOn represents the image rendering computer automatic starting parameter, RunTime AutoLaunch represents the view engine real-time software automatic starting parameter, and Http Enable represents whether to enable the http service parameter.

[0055] It should be noted that for the system configuration file containing multiple system configuration parameters, the BSVConfig software can automatically display the system configuration parameters (such as currGPNum) with high frequency of modification and high attention in the system configuration file as the target system configuration parameters in the General configuration sub-page, and hide the system configuration parameters with low attention and infrequent use as the non-important information below the General configuration sub-page, and set a Display Details control for the non-important information, so that the non-important information can be automatically displayed when the user clicks the Display Details control, as shown in the non-important information diagram. Figure 4 When the Display Details control is clicked again, the non-important information can be hidden.

[0056] Based on the above Figure 1 The visual system configuration file generation method shown in the above embodiment, in an example embodiment, the visual system configuration file generation method provided by the present application can further perform the following steps.

[0057] In response to the configuration operation of the current visual channel configurable parameter, the visual channel configuration information matched with the current visual channel configurable parameter is updated.

[0058] Specifically, for the target configuration parameter (currGPNum) of the current visual channel configurable parameter displayed in the General configuration sub-page shown in the above Figure 3 When the channel addition configuration is performed on the currGPNum through the AddGP item, Figure 2~Figure 4 The visual channel configuration information displayed at the top of the General configuration sub-page will also increase the corresponding channel computer control; on the contrary, when the channel deletion configuration is performed on the currGPNum through the DeleteGP item, Figure 2~Figure 4 The visual channel configuration information displayed at the top of the General configuration sub-page will also reduce the corresponding channel computer control, so as to ensure that the configuration result of the current visual channel configurable parameter is consistent with the configuration result of the visual channel configuration information.

[0059] It should be noted that for the target configuration parameter (currGPNum) of the current visual channel configurable parameter displayed in the General configuration sub-page shown in the above Figure 2~Figure 4The top of each channel computer control is displayed. When each channel computer control receives a user touch operation, it jumps to the corresponding channel computer configuration page and displays the node number parameter (node), field of view number parameter (viewID), node name parameter (ud), node IP parameter (syn), node receiving port number parameter (rcvport), node physical address parameter (mac), node sending port number parameter (sendport), node synchronization port number parameter (synport), x direction offset parameter (Offx), y direction offset parameter (Offy), z direction offset parameter (Offz), heading angle parameter (heading), pitch angle parameter (pitch), roll angle parameter (roll), horizontal field of view angle parameter (Fovh), vertical field of view angle parameter (Fovv), heading angle offset parameter (Offh), pitch angle offset parameter (Offv), near clipping plane distance parameter (Near), far clipping plane distance parameter (Far), near-far maximum ratio parameter (NearFarRatio), x direction position parameter (Posx), y direction position parameter (Posy), horizontal resolution parameter (Resolutionx), and vertical resolution parameter (Resolutiony) for each through computer display configuration page. The configurable items are set, for example, one of a digital increase / decrease item and a text input item.

[0060] Based on the above Figure 1 The view system configuration file generation method shown in the figure, in an example embodiment, in the case of a channel service configuration control, the BSVConfig software in step 110 configures the configurable parameters in the display configuration page of the plurality of configuration parameters. The configuration process is implemented by the following steps.

[0061] In the view channel display configuration page of the plurality of channel service configuration parameters, based on the configuration results of the current view channel configurable parameters, the computer channel IP configurable parameters in the plurality of channel service configuration parameters are configured and hidden.

[0062] Specifically, as Figure 2The illustrated view system configuration interface diagram, when the GPServer.xml control in the left index column receives a user touch operation, will automatically switch to the view channel configuration page, that is, switch to the GPServer.xml page, and the channel service configuration parameters displayed in the GPServer.xml page can include central management computer channel IP parameters (RTServerIP) and multiple image rendering computer channel IP parameters. If the current view channel configurable parameter is 8, the multiple image rendering computer channel IP parameters can be displayed as GP1ClientIP~GP8ClientIP. At this time, the RTServerIP and the GP1ClientIP~GP8ClientIP are both provided with IP address editable items, and each IP address editable item can configure a corresponding IP address.

[0063] In addition, if the value of the current view channel configurable parameter (currGPNum) changes, the display and hiding of the configured IP addresses are updated accordingly, so as to ensure that the displayed IP addresses match the changed currGPNum.

[0064] Based on the above Figure 1 The illustrated view system configuration file generation method, in an example embodiment, when the configuration control is a model script configuration control, in step 110, the BSVConfig software configures the configurable parameters in the display configuration page of the multiple configuration parameters. The configuration process is realized by the following steps.

[0065] In the model script display configuration page of the multiple model script configuration parameters, the target model attribute configurable parameter in the multiple model script configuration parameters is first updated and configured, and when the first update configuration result is repeated and not simultaneously belongs to the same model type and the same model name as another target model attribute configurable parameter, the target model attribute configurable parameter and the another target model attribute configurable parameter are both first preset color configured; and / or, the target particle effect attribute configurable parameter in the multiple model script configuration parameters is second updated and configured, and when the second update configuration result is repeated and not simultaneously belongs to the same particle effect type and the same particle effect name as another target particle effect attribute configurable parameter, the target particle effect attribute configurable parameter and the another target particle effect attribute configurable parameter are both second preset color configured.

[0066] Specifically, as Figure 2 The illustrated view system configuration interface diagram, when the toybox.rst control in the left index column receives a user touch operation, will automatically switch to the model script configuration page, that is, switch to the model script configuration page as Figure 5The toybox.rst page is shown, and the Model sub-page is entered by default. The BSVConfig software automatically calls the model script configuration file in the corresponding configuration path of the control to convert all the contents into a table and display them in the Model sub-page and the Particle sub-page, as shown in Figure 5 The top of the toybox.rst page contains the Model control and the Particle control. When the Particle control receives a user touch operation, the Particle sub-page is entered, as shown in Figure 6

[0067] In the Model sub-page, as shown in Figure 5 The model attribute configuration parameters are displayed in a table, such as the model type parameter (type), the model name parameter (model), the load model id (loadID) parameter, the bind model id (bindID) parameter, and the property parameter. The model type parameter (type) includes but is not limited to the helicopter model (Helicopter), the personnel model (Personnel), and the ship model (Ship). The model script configuration file containing all the folder names is automatically read from the Database / Model path in the model script configuration path, and the first editing configuration item of each model attribute configuration parameter is filled and configured, that is, filled into the drop-down box. Similarly, each model name parameter (model) is also provided with a first editing configuration item in the drop-down selection mode. The loadID parameter and the bindID parameter are target model attribute configuration parameters, and the number of the loadID parameter and the bindID parameter is the same as and corresponds to the number of the model type parameter (type) and the model name parameter (model).

[0068] ​At this time, one of the plurality of loadID parameters can be taken as a target loadID parameter, and after the first target edit item of the target loadID parameter is updated and configured, it can be judged whether the updated target loadID parameter is duplicated with another target loadID parameter, if duplicated and both do not belong to the same model type and the same model name at the same time, the first preset color configuration is performed on the target model attribute configurable parameter and another target model attribute configurable parameter, that is, the loadID of the two rows is configured as red; if there is no duplication between the updated target loadID parameter and another target loadID parameter, the red color is cleared. Similarly, one of the plurality of bindID parameters can be taken as a target bindID parameter, and after the second target edit item of the target bindID parameter is updated and configured by using the model script configuration file, it can be judged whether the updated target bindID parameter is duplicated with another target bindID parameter, if duplicated and both do not belong to the same particle effect and the same particle effect name at the same time, the second preset color configuration is performed on the target particle effect attribute configurable parameter and another target particle effect attribute configurable parameter, that is, the bindID of the two rows is configured as red; if there is no duplication between the updated target bindID parameter and another target bindID parameter, the red color is cleared.

[0069] It should be noted that, for Figure 5 The model attribute configuration parameter "property" in the fifth column of the Model subpage shown in the figure can be set with checkable configuration items, and the number of checkable configuration items is the same as and one-to-one corresponding to the number of model type parameters (type) and model name parameters (model); based on this, when a checkable configuration item is checked, it means participating in hot calculation; otherwise, it means not participating in hot calculation.

[0070] In Figure 6The Particle sub-page shown is also in the form of a table to display the particle effect attribute configuration parameters, such as the particle effect type parameter (type), the particle effect model name parameter (model), the load particle effect model id (loadID) parameter, the bind particle effect model id (bindID) parameter, and the particle effect attribute parameter (property). The five particle effect attribute configuration parameters are automatically read from the model script configuration file containing all folder names under the ParticleDirectory path in the model script configuration path, and the second editing configuration item of each particle effect type parameter (type) is filled and configured, that is, filled into the drop-down box. The ParticleDirectory path can be displayed in the Particle sub-page. Similarly, each particle effect model name parameter (model) is also provided with a second editing configuration item of the drop-down selection mode. The load particle effect model id (loadID) parameter and the bind particle effect model id (bindID) parameter are target particle effect attribute configurable parameters, and the number of the load particle effect model id (loadID) parameter and the bind particle effect model id (bindID) parameter is the same as and one-to-one corresponding to the number of the particle effect type parameter (type) and the particle effect model name parameter (model). For the target particle effect attribute configurable parameters, the second target editing item in the Model sub-page is configured and updated, and the judgment process between the second update configuration result and another target particle effect attribute configurable parameter is the same as the judgment logic of the Model sub-page. Details are not described here. Figure 6 The second target editing item in the Model sub-page is configured and updated, and the judgment process between the second update configuration result and another target particle effect attribute configurable parameter is the same as the judgment logic of the Model sub-page. Details are not described here.

[0071] Based on the above Figure 1 The visual system configuration file generation method shown in an example embodiment can further perform the following steps.

[0072] In response to the touch operation of the blank area in the model script display configuration page, the current row configurable parameter and / or the empty row configurable parameter in the model script display configuration page are edited and configured.

[0073] Specifically, for the Model sub-page shown and Figure 5 The Model sub-page shown and Figure 6The Particle sub-page shown can receive user touch operations on the table blank area, such as user right-clicking the table blank area in the Model sub-page and / or right-clicking the table blank area in the Particle sub-page, and the current row editing configuration item of the row parameter and the empty row adding configuration item of the empty row parameter can be displayed, the current row editing configuration item of the row parameter can include the configuration item of copying the current row (Copy and Paste) and the configuration item of deleting the current row (Delete), which respectively copy and delete the current row; the empty row adding configuration item of the empty row parameter can be Add Empty Row, which adds an empty row.

[0074] It should be noted that, as Figure 2 As shown in the schematic diagram of the visual system configuration interface, when the BlueSkyView.cfg control in the left index column receives a user touch operation, it switches to the basic configuration page, i.e., the BlueSkyView.cfg page. The BSVConfig software displays the contents of the basic configuration file corresponding to the basic configuration path in the BlueSkyView.cfg page by reading the contents of the basic configuration file corresponding to the basic configuration path and displaying them in the BlueSkyView.cfg page. In the BlueSkyView.cfg page, not only the terrain database path parameter (Terrain), the model database path parameter (ModelDirectory), and the airport database path parameter (AirportDirectory) and their respective path configuration items under the local mode (Local) are displayed in table form, but also the loading parameter (Warp Blend) of whether to load the geometric fusion file, the opening parameter (HUD Mode) of whether to open the superimposed HUD mode, and the configuration parameters (Ocean-Config) of the sea chart and their respective path configuration items under the http service configuration mode (Http) are displayed in table form. Each path configuration item can be configured by direct input or by manually selecting a path by clicking the “…” control on the right side of the path configuration item. The configuration method of each path configuration item is not limited here.

[0075] In addition, the blank area in each table of the BlueSkyView.cfg page can also respond to user input right-click operations to display the two configurable items “Add” and “Delete”, which respectively add an empty row and delete the current row; and the table content can also be edited and modified.

[0076] Based on the above Figure 1The visual scene system configuration file generation method shown in the embodiment, in the case of a configuration control being a fusion file configuration control, the BSVConfig software in step 110 configures the configurable parameters in the display configuration page of the plurality of configuration parameters, and the configuration process is implemented through the following steps.

[0077] In the display configuration page of the plurality of fusion file configuration parameters, the current channel state configurable parameter of the original geometry fusion file representing the image rendering computer is configured by conversion; and / or, in response to the save operation in the fusion file display configuration page, the first file configurable parameter of the target geometry configuration file obtained by conversion is saved; and / or, in response to the backup operation in the fusion file display configuration page, the second file configurable parameter of the original geometry fusion file and the target geometry fusion file is backed up.

[0078] Specifically, as shown in the embodiment, Figure 2 The visual scene system configuration interface diagram shown in the embodiment, when the Grid Files control in the left index column receives a user touch operation, it switches to the fusion file configuration page, that is, switches to the Grid Files page. In the Grid Files page, by clicking the preview control corresponding to an image rendering computer, such as moving the mouse to the "Preview" control, the corresponding original geometry fusion file can be displayed in a preset picture format (such as Grid.png format). In the Grid Files page, the state (Grid File Status) of the original geometry fusion file of each image rendering computer is displayed by the parameter editing configuration item of the corresponding current channel state parameter. For example, when the current channel state parameter is "Unmodified", it means that it has not been converted. At this time, by converting the current channel state configurable parameter representing unconverted, such as clicking the corresponding "Convert" control, an automatic confirmation dialog box is automatically popped up to prompt that during the conversion, the window is kept on top and other operations are not allowed. When the user clicks the "Yes" control in the confirmation dialog box, the conversion process can be started. During the conversion process, the conversion progress is displayed in the form of a progress bar. Refer to Figure 7 The Grid Files page conversion process diagram shown in the embodiment, Figure 7 The English meaning in the embodiment is: During the conversion of the geometry fusion file, the current progress is 1 / 8. Please keep this window on top and do not perform other operations. Thank you for your cooperation. Until the corresponding target geometry configuration file is obtained at the end of the conversion, refer to Figure 8 The Grid Files page conversion completion diagram shown in the embodiment, Figure 8 The English meaning in the embodiment is: Conversion is complete! You can click the save button in the lower left corner to save the converted file.

[0079] At this time, when the save control (such as "Save") in the Grid Files page receives a user touch operation, the first file configurable parameter of the target geometry configuration file obtained by the conversion configuration can be saved and configured, that is, the first file configurable parameter is configured as a preset save path, and the target geometry configuration file obtained after the conversion is automatically saved to the geometry fusion file calling position (by default: BlueSkyView / WarpBlend / ) of each image rendering computer in the remote end. And / or, when the backup control (such as "Backup") in the Grid Files page receives a user touch operation, the second file configurable parameters of the original geometry fusion file and the target geometry fusion file before and after the conversion can be automatically backed up and configured, and after being renamed as the original file name + date and time stamp, the backup is automatically performed.

[0080] Based on the above Figure 1 The view system configuration file generation method shown in the figure, in an example embodiment, in the case of the eye point script configuration control, the BSVConfig software in step 110 configures the configurable parameters in the display configuration page of the plurality of configuration parameters, and the configuration process is realized by the following steps.

[0081] In the eye point script display configuration page of the plurality of eye point script configuration parameters, the target direction offset configurable parameter of the eye point of the view system in the plurality of eye point script configuration parameters is fine-tuned and configured; and / or, in response to the rearrangement instruction, the sorting configurable parameter of the eye point script display configuration page is rearranged and configured; and / or, in response to the reordering serialization instruction, the sorting configurable parameter and the serialization configurable parameter of the eye point script display configuration page are correspondingly rearranged and configured and serialized.

[0082] Specifically, as Figure 2 The view system configuration interface diagram shown in the figure, when the eyepoint.rst control in the left index column receives a user touch operation, it will switch to the eye point script display configuration page, that is, switch to the eyepoint.rst page, in the eyepoint.rst page, the BSVConfig software automatically reads the content of the eye point script configuration file corresponding to the eye point script configuration path and displays it on the eyepoint.rst page, thereby obtaining Figure 9 The eyepoint.rst page diagram shown in the figure.

[0083] In Figure 9The eyepoint.rst page shown in the table form displays the enable control of the first column, which corresponds to the checkbox configuration item set; the label protocol identifier (tpid) control of the second column is the subscript in the data packet returned by the vision system and represents the id of the hot, and the column value is not repeated; the mm (bindID) control of the third column returns the model id of the hot reference; and the fourth to sixth columns are the x-axis direction offset parameter, y-axis direction offset parameter and Z-axis direction offset parameter of the eye point of the vision system, and the unit is meter. The BSVConfig software can take at least one of the x-axis direction offset parameter, y-axis direction offset parameter and Z-axis direction offset parameter as the target direction offset parameter, and can perform numerical fine tuning configuration on the numerical value of each numerical value configurable item of each target direction offset parameter, that is, the numerical fine tuning configuration is realized by inputting a specific numerical value or clicking the up and down arrow keys to fine tune the numerical value.

[0084] For Figure 9 For the eyepoint.rst page shown, the sorting control (Sort), the control (Sort by ID Ascending) that rearranges the table in ascending order of tpid and keeps the original tpid unchanged, the resequence and sort control (Resequence & Sort), and the control (Resequence and Sort by ID Ascending) that rearranges the table in ascending order of tpid and resequences the tpid column can also be displayed at the top of the eyepoint.rst page.

[0085] At this time, when Figure 9 the "Sort" control receives a user touch operation, a rearrangement instruction can be generated and responded to, and the parameter editing configuration item of the sorting configurable parameter of the eyepoint.rst page can be rearranged and configured, that is, the table is rearranged in ascending order of tpid and the original tpid is kept unchanged; and / or, when Figure 9 the "Resequence & Sort" control receives a user touch operation, a reordering and resequencing instruction can be generated and responded to, and the sorting configurable parameter and the reordering configurable parameter of the eyepoint script display configuration page can be correspondingly rearranged and reconfigured, that is, the table is rearranged in ascending order of tpid, and the tpid column is resequenced. After sorting, the BSVConfig software sets the value of the tpid column to a new row index, which means that the tpid of the first row becomes "0", the tpid of the second row becomes "1"; and so on.

[0086] It should be noted that in Figure 9In the eyepoint.rst page, right-clicking the blank area in the table can display three configurable items: Add Empty Row, Copy and Paste, and Delete, which respectively add an empty row, copy the current row, and delete the current row.

[0087] Based on the above Figure 1 In an example embodiment, in the case that the configuration control is an environment script configuration control, the BSVConfig software configures the configurable parameters in the display configuration page of the plurality of configuration parameters in step 110, and the configuration process is implemented by the following steps.

[0088] In the environment script display configuration page of the plurality of environment script configuration parameters, the target environment configurable parameters are configured by numerical editing, and then saved and / or backed up.

[0089] Specifically, as shown in the Figure 2 When the environment.rst configuration control in the left index column receives a user touch operation, it switches to the environment script configuration page, that is, switches to the environment.rst page. In the environment.rst page, the BSVConfig software automatically reads the content of the environment script configuration file corresponding to the environment script configuration path and displays it on the environment.rst page, thereby obtaining the Figure 10 environment.rst page as shown in the

[0090] In Figure 10In the shown environment.rst page, the rain level parameter (Rain Level), the snow level parameter (Snow Level), the time of day parameter (Time of Day), the year parameter (Year), the month parameter (Month), the day parameter (Day), the hour parameter (Hour), the minute parameter (Minute), the wind speed parameter (WindSpeed), the wind heading parameter (Wind Heading), the sea state level parameter (SeaState), the sea direction parameter (SeaDirection), the swell height parameter (Swell Height), the swell direction parameter (Swell Direction), the runway condition parameter (RunwayCondition), the runway light level parameter (RunwayLightLevel), the upper cloud parameter (UpperCloud), the visibility distance parameter (Visibility), the upper cloud top height parameter (UpperCloudTopHeight), the upper cloud bot height parameter (UpperCloudBotHeight), the upper cloud density parameter (UpperCloudDensity), the lower cloud parameter (LowerCloud), the lower cloud top height parameter (LowerCloudTopHeight), the lower cloud bot height parameter (LowerCloudBotHeight), the lower cloud density parameter (LowerCloudDensity), the moon light intensity parameter (MoonLightIntensity), the scattered cloud parameter (ScatteredCloud), the scattered cloud height parameter (ScatteredCloudHeight), the density parameter (Density), the ground fog parameter (GroundFog), the runway visual range parameter (RVR), the fog height parameter (Fog Height) are displayed, and the editable item of the target environment configuration parameter in each environment configuration parameter is edited and configured, such as being configured by direct input, or being configured by clicking the upward arrow and the downward arrow on the right side of the editable item, after the configuration is completed, the parameter editing configuration item of the target environment configuration parameter after the numerical value editing configuration is saved by clicking the save control "Save" in the lower left corner of the environment.rst page, and / or, the checkable configuration item of the backup control "Backup" in the lower left corner of the environment.rst page is checked, and / or, the parameter editing configuration item of the target environment configuration parameter after the numerical value editing configuration can also be automatically backed up and renamed as the original file name+date timestamp.

[0091] Based on the above Figure 1The visual system configuration file generation method shown, in an example embodiment, in the case of a configuration control being a script file configuration control, the BSVConfig software configures the configurable parameters in the display configuration page of the plurality of configuration parameters in step 110, and the configuration process is implemented through the following steps.

[0092] In the script file display configuration page of the plurality of script file configuration parameters, the script file index configurable parameter in the plurality of script file configuration parameters is fine-tuned and configured; if there is a target script file under the script path corresponding to the fine-tuned and configured script file index configurable parameter, the script file configurable parameter in the script file display configuration page is configured to open the target script file, or the configuration is deleted and reconstructed; if there is no target script file, the script file configurable parameter is configured to create and open.

[0093] Specifically, as shown in the visual system configuration interface diagram, Figure 2 When the ScriptFiles control in the left index bar receives a user touch operation, it switches to the script file configuration page, that is, the ScriptFiles configuration page. In the ScriptFiles configuration page, the BSVConfig software automatically reads the content of the script file configuration file corresponding to the script file configuration path and displays it on the ScriptFiles configuration page, thereby obtaining the ScriptFiles configuration page diagram shown in Figure 11

[0094] In the ScriptFiles configuration page diagram shown in Figure 11 The ScriptFiles configuration page is also used to provide a script file editing input box, which can be used to input script files to automatically implement CLI command enumeration, CLI command prompting, and automatic completion functions.

[0095] The CLI (Command Line Interface) instruction here is a command that performs a specific operation or task in a command line environment. These CLI instructions can be used to perform various tasks such as system management, software development, network configuration, etc., and these CLI instructions can be written in advance and stored in the script file configuration file for easy reading by the BSVConfig software.

[0096] In the ScriptFiles configuration page diagram shown in Figure 11 ​The ScriptFiles configuration page as shown in the schematic diagram can be used to fine-tune the value of the ScriptFileIndex value-editable item, for example, by directly inputting the value when the value-editable item is a value input box, or by clicking the up arrow or down arrow when the value-editable item is an up-down arrow.

[0097] After fine-tuning the value of ScriptFileIndex, the value can be configured through the file configurable item of the script file configurable parameter in the ScriptFiles configuration page. The file configurable item can include three controls: a file creation ("New") control, a file opening ("Open") control, and a file deletion (Delete) control. These three controls can be used to operate the script configuration file in the BlueSkyView or ScriptFiles configuration path.

[0098] When the "New" control is clicked, if the value of ScriptFileIndex is 10, the BSVConfig software first determines whether a target script file named "sf10.rst" exists. If the target script file exists, the user can configure the file configurable item by selecting one of the two file configurable items in the pop-up window. When the "Open the script file sf10.rst directly" file configurable item is clicked, the BSVConfig software automatically reads the sf10.rst file and displays its content in the script file editing input box, so that the user can edit the displayed content of the sf10.rst file and then save the edited content by clicking the "Save" control. When the "Delete and recreate sf10.rst" file configurable item is clicked, the BSVConfig software automatically reads the newly created sf10.rst file and displays its content in the script file editing input box, so that the user can edit the displayed content of the sf10.rst file and then save the edited content by clicking the "Save" control.

[0099] For the numerical fine-tuning configuration of the ScriptFileIndex value, or the numerical value of the ScriptFileIndex, click the "Open" control. Assuming that the ScriptFileIndex value at this time is 201, first determine whether the target script file with the file name "sf201.rst" exists. If it exists, directly open the target script file "sf201.rst" and display its content in the script file editing input box. If it does not exist, create and open the configuration of the script file configurable parameters, that is, create the target script file "sf201.rst" in the script file editing input box and open it.

[0100] It should be noted that, in Figure 11 When the CLI command is input in the script file editing input box of the ScriptFiles configuration page shown in FIG. 8, the matching CLI command list will be prompted below the script file editing input box. After the CLI command is selected, the parameters are continuously input in the script file editing input box. At this time, the remaining parameter information will be automatically prompted below the script file editing input box.

[0101] Based on the above Figure 1 In an example embodiment, in the case that the configuration control is a database copy configuration control, the BSVConfig software updates the at least one of the terrain data call path configurable parameter, the texture data call path configurable parameter and the model data call path configurable parameter in the multiple database copy display configuration pages of the multiple database copy configuration parameters in step 110. The configuration process is implemented through the following steps.

[0102] In the multiple database copy display configuration pages of the multiple database copy configuration parameters, at least one of the terrain data call path configurable parameter, the texture data call path configurable parameter and the model data call path configurable parameter is updated and configured. In response to the database parameter copy instruction, the copy configuration of the copy configurable parameter of the target visual data corresponding to the at least one target data call path parameter is performed, so as to copy the target visual data to each image rendering computer.

[0103] Among them, the target data call path parameter includes at least one of the updated and configured terrain data call path configurable parameter, the updated and configured texture data call path configurable parameter and the updated and configured model data call path configurable parameter.

[0104] Specifically, as Figure 2The illustrated view system configuration interface diagram shows that when the CopyDatabase control in the left index column receives a user touch operation, it switches to the database copy configuration page, that is, switches to the CopyDatabase configuration page. In the CopyDatabase page, the BSVConfig software automatically reads the contents of the database copy configuration file corresponding to the database copy configuration path and displays them on the CopyDatabase configuration page. Thus, the database copy configuration path corresponding to the current view channel is obtained Figure 12 The illustrated CopyDatabase configuration page diagram.

[0105] In Figure 12 In the illustrated CopyDatabase configuration page, the terrain data call path configurable parameter, the texture data call path configurable parameter, and the model data call path configurable parameter for setting terrain data, texture data, and model data respectively are displayed, as well as their respective path configurable items. Each path configurable item is a path input box, which can directly input the corresponding data call path, or can manually select the corresponding data call path by clicking the "..." control on the right side of the path input box. In this way, at least one of the above path configurable items is updated and configured. The main reason for distinguishing between the three data call path parameters is that when updating the view database, there is a high probability of updating only at least one of the terrain data, texture data, and model data.

[0106] In Figure 12 In the illustrated CopyDatabase configuration page, each path configurable item is set and displayed with an enable control. Whether the enable control receives a user operation can determine whether to copy the file under the corresponding call path parameter.

[0107] Therefore, when at least one enable control receives a user touch operation (such as when the enable control is a check box and receives a user check operation), a database parameter copy instruction can be automatically generated and responded to, and the corresponding target view data can be copied to each image rendering computer.

[0108] It should be noted that when switching to the database copy configuration page, the BSVConfig software can also automatically identify the current view channel configurable parameter (currGPNum) and update the display and hide operations of the progress bar and other related controls and related content. In this way, the BSVConfig software can periodically check the connection state of each view channel (through ping) and display it with an indicator light in Figure 12The indicator light is red when the communication fails, the indicator light is green when the communication is normal, and the indicator light is yellow when the communication state is being acquired. The progress bar of each visual channel is updated in real time to display the copying progress from the central management computer to each image rendering computer (channel computer).

[0109] In addition, it should be noted that in the visual system engineering, the database usually contains a large amount of terrain, texture, model and other data, and the size of these data can reach hundreds of GB. In engineering applications, the database often needs to be updated, and manually copying such a large database not only takes time, but also is prone to errors. The BSVConfig software simplifies the update and maintenance process of the visual database by automating this process.

[0110] The user can configure the database path to be copied in advance, and only needs to operate a button on the software interface to start the database copying process without manually intervening in each copying step. Moreover, relying on the multi-threading mechanism, for a multi-channel visual system, the software can simultaneously copy to multiple channel computers, ensuring data consistency.

[0111] The BSVConfig software periodically checks the connection state of each channel (through ping) and displays it on the interface in the form of an indicator light. Red indicates communication failure, green indicates normal communication, and yellow indicates that the communication state is being acquired. The progress bar of each channel is updated in real time to display the copying progress of each channel computer.

[0112] During the copying process, the software can detect potential errors and provide recovery options to ensure data integrity and consistency

[0113] Based on the above Figure 1 In an example embodiment, the BSVConfig software obtains the plurality of configuration parameters under the configuration path corresponding to the configuration control in step 110 by the following process.

[0114] First, based on the preset data verification mechanism and error handling mechanism, the plurality of initial configuration parameters under the configuration path corresponding to the configuration control are subjected to data verification, and the abnormal configuration data are subjected to error handling. Then, the plurality of configuration parameters that pass the data verification and do not contain abnormal configuration data are obtained from the plurality of initial configuration parameters.

[0115] Specifically, after reading the configuration file under a certain configuration path, the BSVConfig software will first perform a series of data verification operations to ensure that the obtained configuration parameters meet the expected format and standards. Data verification is crucial to ensure that the information displayed to the user is accurate. In addition, before the user inputs information through the interface and prepares to write it into the configuration file, the BSVConfig software will also perform data verification, including checking whether the input data format is correct and whether the input data falls within the pre-set legal range. Such preventive measures help prevent crashes or other unstable phenomena caused by abnormal data when the visual system reads the configuration file.

[0116] During the reading and writing operations of the configuration file, the BSVConfig software sets up an error handling mechanism. In this way, the BSVConfig software can timely capture and handle possible error situations, such as when the configuration file does not exist, cannot be opened, or cannot be written. The BSVConfig software will prompt the user through a user-friendly pop-up window to clearly point out the problem to the user and provide corresponding solutions. For example, if the BSVConfig software cannot find the specified configuration file, it will pop up a window to inform the user that the path may be incorrect and guide the user to select the correct file path again.

[0117] At this point, through data verification and error handling, the BSVConfig software can obtain a plurality of configuration parameters that pass data verification and do not contain abnormal configuration data from a plurality of initial configuration parameters. That is, the BSVConfig software fully considers safety and stability, and through the implementation of strict data verification and error handling strategies, not only guarantees the safety of user data, but also improves the stability of the visual system. These measures collectively build a reliable, efficient, and user-friendly file processing environment, allowing users to confidently perform file reading and writing operations while reducing the risk of system failure caused by data problems.

[0118] It should be noted that the BSVConfig software switches to different pages corresponding to different configuration files, which are distinguished by the suffixes.xml,.cfg, and.rst. For different file types, the BSVConfig software needs to use specific functions to complete the reading and writing operations of the corresponding configuration files.

[0119] For the reading logic of.xml files: use an XML parser (xml.etree.ElementTree in Python) to load the entire XML document tree. Traverse the document tree and extract the required configuration information (such as various configuration parameters) according to the preset path or tag name. Convert the extracted configuration information into an internal data structure for use by the BSVConfig software to display on the corresponding configuration page interface.

[0120] For the writing logic of.xml files: according to the software interface information of the BSVConfig software, convert it into the software internal data structure, and build a new XML document tree. Fill in the required configuration information into the corresponding tags and attributes. Use the XML parser to save the built document tree as a file.

[0121] For the reading logic of.cfg files: open the CFG file in text mode and read it line by line. Use string operations to parse each line and extract key-value pairs, which are separated by colons. Convert the parsed key-value pairs into an internal data structure for use by the BSVConfig software to display on the corresponding configuration page interface.

[0122] For the writing logic of.cfg files: according to the software interface information of the BSVConfig software, convert it into the software internal data structure, and build the text content of the cfg file, each line containing a key-value pair. Use file I / O operations to write the text content to the cfg file.

[0123] For the reading logic of.rst files: use an RST parser (docutils in Python) to load the RST file. Parse the file content and extract the document structure and formatted text. Convert the parsed structure and text information into an internal data structure for use by the BSVConfig software to display on the corresponding configuration page interface.

[0124] For the writing logic of.rst files: according to the software interface information of the BSVConfig software, convert it into the software internal data structure, and use the RST syntax to build the document content. Save the built RST content as a text file.

[0125] In addition, it needs to be explained that the BSVConfig software uses multi-threading technology, which creates a thread corresponding to the current view channel configurable parameters when starting, which is used to periodically check the communication status of each channel computer, and real-time update the connection status indicator light of each channel of the CopyDatabase page. When executing the copy database, it will use multi-threading to copy files, which greatly improves the copy efficiency.

[0126] When the software enters the Grid Files page by clicking the left "Grid Files" button, it will determine whether to copy the remote geometry fusion original file to the local according to the connection state of the current channel. For each thread, the original geometry fusion file is obtained from the geometry fusion original file path of each channel, and is copied to the local temporary path. The software automatically detects the format and content of the original file. After clicking the conversion button, each thread starts to convert the geometry fusion file, and the conversion progress is updated in real time below. After conversion, the software automatically completes data checking, optimization and other operations to ensure the quality and accuracy of the converted file. After clicking the save button, each thread backs up the original geometry fusion file according to the check state of the backup check box, and copies the converted geometry fusion file to the channel vision engine calling path.

[0127] The vision system configuration file generation method provided by the application has the following technical advantages: first, it can improve the generation efficiency. Since the configuration file usually contains complex parameters and structures, the automatic completion of the configuration file writing reduces the error rate of manual editing. Second, it solves the problem of difficult maintenance of the vision system configuration file. Since remote operation is complex, the configuration file scattered on multiple computers can be automatically managed and maintained. Third, the user interface is friendly. As an automatic tool for vision system configuration file, it solves the problem that engineers need to rely on professional knowledge and experience to complete these tasks. Fourth, the error detection capability can prompt or correct the problems edited on the interface, avoid errors, and pop up a window to point out the problem. That is, the vision system configuration file generation method provided by the application aims to improve the efficiency and accuracy of configuration file processing through automation technology, and simplify the management work of vision system engineers. Through the method of the application, centralized management, error detection, dynamic update and version control of the configuration file can be realized, thereby significantly improving the overall efficiency and reliability of the vision system engineering application.

[0128] The vision system configuration file generation device provided by the application is described below. The vision system configuration file generation device described below can be referred to each other corresponding to the vision system configuration file generation method described above.

[0129] Reference Figure 13 The structure diagram of the vision system configuration file generation device provided by the application is shown in Figure 13 The vision system configuration file generation device 1300 includes a first configuration unit 1310 and a second configuration unit 1320.

[0130] The first configuration unit 1310 is configured to, for each configuration control in the view system configuration interface, acquire a plurality of configuration parameters under a configuration path corresponding to the configuration control in response to a touch operation received by the configuration control, and configure a configurable parameter in the plurality of configuration parameters in a display configuration page of the plurality of configuration parameters to obtain a configuration result corresponding to the configuration control.

[0131] The second configuration unit 1320 is configured to generate a view system configuration file based on the configuration result corresponding to each configuration control.

[0132] Optionally, the first configuration unit 1310 is specifically configured to, in a case where the configuration control is a system configuration control, configure a current view channel configurable parameter in the plurality of system configuration parameters in a system display configuration page of the plurality of system configuration parameters.

[0133] Optionally, the first configuration unit 1310 is specifically configured to, in a case where the configuration control is a channel service configuration control, edit and hide a plurality of computer channel IP configurable parameters in the plurality of channel service configuration parameters based on the configuration result of the current view channel configurable parameter in a view channel display configuration page of the plurality of channel service configuration parameters.

[0134] Optionally, the first configuration unit 1310 is specifically configured to, in a case where the configuration control is a model script configuration control, perform first update configuration on a target model attribute configurable parameter in the plurality of model script configuration parameters in a model script display configuration page of the plurality of model script configuration parameters, and perform first preset color configuration on the target model attribute configurable parameter and another target model attribute configurable parameter when the first update configuration result is determined to be repeated and not simultaneously belong to a same model type and a same model name; and / or perform second update configuration on a target particle effect attribute configurable parameter in the plurality of model script configuration parameters, and perform second preset color configuration on the target particle effect attribute configurable parameter and another target particle effect attribute configurable parameter when the second update configuration result is determined to be repeated and not simultaneously belong to a same particle effect type and a same particle effect name.

[0135] Optionally, the first configuration unit 1310 is specifically configured to, in the case that the configuration control is a fusion file configuration control, in a fusion file display configuration page of a plurality of fusion file configuration parameters, convert and configure a current channel state configurable parameter of the original geometry fusion file representing image rendering computer in the fusion file configuration parameters; and / or, in response to a save operation in the fusion file display configuration page, save and configure the first file configurable parameter of the target geometry configuration file obtained by conversion and configuration; and / or, in response to a backup operation in the fusion file display configuration page, backup and configure the second file configurable parameter of the original geometry fusion file and the target geometry fusion file respectively.

[0136] Optionally, the first configuration unit 1310 is specifically configured to, in the case that the configuration control is an eye point script configuration control, in an eye point script display configuration page of a plurality of eye point script configuration parameters, numerically fine-tune and configure a target direction offset configurable parameter of the eye point relative to the view system in the plurality of eye point script configuration parameters; and / or, in response to a rearrangement instruction, rearrange and configure the sorting configurable parameter of the eye point script display configuration page; and / or, in response to a reordering serialization instruction, correspondingly rearrange and configure and serialize the sorting configurable parameter and the serialization configurable parameter of the eye point script display configuration page.

[0137] Optionally, the first configuration unit 1310 is specifically configured to, in the case that the configuration control is an environment script configuration control, in an environment script display configuration page of a plurality of environment script configuration parameters, numerically edit and configure a target environment configurable parameter in the plurality of environment script configuration parameters, and then save and / or backup and configure.

[0138] Optionally, the first configuration unit 1310 is specifically configured to, in the case that the configuration control is a script file configuration control, in a script file display configuration page of a plurality of script file configuration parameters, numerically fine-tune and configure a script file index configurable parameter in the plurality of script file configuration parameters; if there is a target script file under the script path corresponding to the fine-tuned script file index configurable parameter, open and configure the script file configurable parameter in the script file display configuration page for the target script file, or delete and reconstruct and configure; if there is no target script file, create and open and configure the script file configurable parameter.

[0139] Optionally, the first configuration unit 1310 is specifically configured to, when the configuration control is a database copy configuration control, update and configure at least one of the terrain data call path configurable parameters, the texture data call path configurable parameters, and the model data call path configurable parameters in the multiple database copy configuration parameters in the database copy display configuration page of the multiple database copy configuration parameters; in response to the database parameter copy instruction, copy and configure the copy configurable parameters of the target visual data corresponding to the at least one target data call path parameter, so that the target visual data is copied to each image rendering computer; wherein the target data call path parameter includes at least one of the terrain data call path configurable parameters after the updated configuration, the texture data call path configurable parameters after the updated configuration, and the model data call path configurable parameters after the updated configuration.

[0140] Optionally, the first configuration unit 1310 is specifically used to perform data verification on multiple initial configuration parameters under the configuration path corresponding to the configuration control based on a preset data verification mechanism and error handling mechanism, and to perform error handling on existing abnormal configuration data; and to obtain the multiple configuration parameters that have passed data verification and do not contain abnormal configuration data from the multiple initial configuration parameters.

[0141] Figure 14 An example of a physical structure diagram of an electronic device is shown below. Figure 14 As shown, the electronic device may include: a processor 1410, a communications interface 1420, a memory 1430, and a communications bus 1440. The processor 1410, the communications interface 1420, and the memory 1430 communicate with each other via the communications bus 1440. The processor 1410 may invoke logic instructions in the memory 1430 to execute a method for generating a visual system configuration file. The method includes: for each configuration control in the visual system configuration interface, in response to a touch operation received by the configuration control, obtaining multiple configuration parameters under a configuration path corresponding to the configuration control; configuring configurable parameters among the multiple configuration parameters on a display configuration page for the multiple configuration parameters to obtain a configuration result corresponding to the configuration control; and generating a visual system configuration file based on the configuration result corresponding to each configuration control.

[0142] In addition, the logic instructions in the memory 1430 described above can be implemented in the form of a software function unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0143] In another aspect, the present application also provides a computer program product, which comprises a computer program, the computer program can be stored on a non-transitory computer readable storage medium, and the computer program can be executed by a processor to enable a computer to execute the visual system configuration file generation method provided by the above-mentioned methods, the method comprising: for each configuration control in the visual system configuration interface, in response to a touch operation received by the configuration control, obtaining a plurality of configuration parameters under a configuration path corresponding to the configuration control, and in a display configuration page of the plurality of configuration parameters, configuring a configurable parameter in the plurality of configuration parameters to obtain a configuration result corresponding to the configuration control; and generating a visual system configuration file based on the configuration result corresponding to each configuration control.

[0144] In another aspect, the present application also provides a computer program product, which comprises a computer program, the computer program can be stored on a non-transitory computer readable storage medium, and the computer program can be executed by a processor to enable a computer to execute the visual system configuration file generation method provided by the above-mentioned methods, the method comprising: for each configuration control in the visual system configuration interface, in response to a touch operation received by the configuration control, obtaining a plurality of configuration parameters under a configuration path corresponding to the configuration control, and in a display configuration page of the plurality of configuration parameters, configuring a configurable parameter in the plurality of configuration parameters to obtain a configuration result corresponding to the configuration control; and generating a visual system configuration file based on the configuration result corresponding to each configuration control.

[0145] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed to multiple network units. Part or all of the modules can be selected to achieve the purposes of the embodiments according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0146] Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software and the necessary general hardware platform, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

[0147] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating a configuration file for a visual system, the method comprising: The method comprises the following steps: For each configuration control in the visual system configuration interface, in response to a touch operation received by the configuration control, a plurality of configuration parameters under a configuration path corresponding to the configuration control are obtained, and in a display configuration page of the plurality of configuration parameters, a configurable parameter in the plurality of configuration parameters is configured to obtain a configuration result corresponding to the configuration control; the plurality of configuration controls include system configuration controls, channel service configuration controls, basic configuration controls, model script configuration controls, eye point script configuration controls, environment script configuration controls, script file configuration controls, fusion file conversion configuration controls, database copy configuration controls, and setting controls; Based on the configuration result corresponding to each configuration control, a visual system configuration file is generated; In the case where the configuration control is a database copy configuration control, the configuration of the configurable parameter in the plurality of configuration parameters in the display configuration page of the plurality of configuration parameters comprises: In a database copy display configuration page of a plurality of database copy configuration parameters, at least one of a terrain data calling path configurable parameter, a texture data calling path configurable parameter, and a model data calling path configurable parameter in the plurality of database copy configuration parameters is updated and configured; In response to a database parameter copy instruction, a copy configurable parameter of target visual data corresponding to at least one target data calling path parameter is configured to copy the target visual data to each image rendering computer; Wherein, the target data calling path parameter includes at least one of the updated and configured terrain data calling path configurable parameter, the updated and configured texture data calling path configurable parameter, and the updated and configured model data calling path configurable parameter; The obtaining of the plurality of configuration parameters under the configuration path corresponding to the configuration control comprises: Based on a preset data verification mechanism and an error handling mechanism, data verification is performed on a plurality of initial configuration parameters under the configuration path corresponding to the configuration control, and error handling is performed on abnormal configuration data that exists; From the plurality of initial configuration parameters, the plurality of configuration parameters that pass the data verification and do not contain the abnormal configuration data are obtained.

2. The method of claim 1, wherein, In the case where the configuration control is a system configuration control, the configuration of the configurable parameter in the plurality of configuration parameters in the display configuration page of the plurality of configuration parameters comprises: In a system display configuration page of a plurality of system configuration parameters, a current visual channel configurable parameter in the plurality of system configuration parameters is configured.

3. The method of claim 1, wherein, In the case where the configuration control is a channel service configuration control, the configuration of the configurable parameter in the plurality of configuration parameters in the display configuration page of the plurality of configuration parameters comprises: In a visual channel display configuration page of a plurality of channel service configuration parameters, based on the configuration result of the current visual channel configurable parameter, a plurality of computer channel IP configurable parameters in the plurality of channel service configuration parameters are correspondingly edited and configured and hidden.

4. The method of claim 1 to 3, wherein, In the case where the configuration control is a model script configuration control, configuring configurable parameters among the multiple configuration parameters in the display configuration page of the multiple configuration parameters includes: In a model script display configuration page of multiple model script configuration parameters, performing a first update configuration on a target model attribute configurable parameter among the multiple model script configuration parameters, and when it is determined that the first update configuration result is repeated with another target model attribute configurable parameter and they do not belong to the same model type and the same model name at the same time, performing a first preset color configuration on both the target model attribute configurable parameter and the another target model attribute configurable parameter; and / or, A second update configuration is performed on the target particle effect attribute configurable parameter among the multiple model script configuration parameters. When it is determined that the second update configuration result is repeated with another target particle effect attribute configurable parameter and they do not belong to the same particle effect type and the same particle effect name at the same time, a second preset color configuration is performed on both the target particle effect attribute configurable parameter and the another target particle effect attribute configurable parameter.

5. The method of claim 1 to 3, wherein, In the case where the configuration control is a fusion file configuration control, configuring configurable parameters among the multiple configuration parameters in the display configuration page of the multiple configuration parameters includes: In a fusion file display configuration page of a plurality of fusion file configuration parameters, converting and configuring a current channel state configurable parameter representing an original geometric fusion file of an image rendering computer in the fusion file configuration parameters; and / or, In response to a save operation in the fusion file display configuration page, saving and configuring the first file configurable parameters of the target geometry configuration file obtained by the conversion configuration; and / or, In response to the backup operation in the fusion file display configuration page, the second file configurable parameters of the original geometry fusion file and the target geometry fusion file are backed up and configured.

6. The method of claim 1 to 3, wherein, In a case where the configuration control is an eyepoint script configuration control, configuring configurable parameters among the multiple configuration parameters in the display configuration page of the multiple configuration parameters includes: In an eyepoint script display configuration page of a plurality of eyepoint script configuration parameters, fine-tuning a numerical value of a target direction offset configurable parameter relative to an eyepoint of a visual system among the plurality of eyepoint script configuration parameters; and / or In response to the rearrangement instruction, rearrange the sorting configurable parameters of the eyepoint script display configuration page; and / or, In response to the reordering and serialization instruction, the sorting configurable parameters and serialization configurable parameters of the eyepoint script display configuration page are reordered and serialized accordingly.

7. The method of claim 1 to 3, wherein, In a case where the configuration control is an environment script configuration control, configuring configurable parameters among the multiple configuration parameters in a display configuration page of the multiple configuration parameters includes: In an environment script display configuration page of multiple environment script configuration parameters, numerical editing and configuration are performed on target environment configurable parameters among the multiple environment script configuration parameters, and then the configuration is saved and / or backed up.

8. The method of claim 1 to 3, wherein, In the case where the configuration control is a script file configuration control, the configuration of the configurable parameters in the display configuration page of the plurality of configuration parameters comprises: In the script file display configuration page of the plurality of script file configuration parameters, the script file index configurable parameter in the plurality of script file configuration parameters is configured by numerical fine tuning; If there is a target script file under the script path corresponding to the fine-tuned script file index configurable parameter, the script file configurable parameter in the script file display configuration page is configured to open the target script file, or the configuration is deleted and reconstructed; If there is no target script file, the script file configurable parameter is configured to create and open.

Citation Information

Patent Citations

  • Coal industry software process implementation method, device and equipment based on model driving

    CN115495069A

  • Metadata-based parameter configuration method and device, equipment, medium and product

    CN118796304A