Flight simulator configuration database version management and difference analysis method, system and device and storage medium
By collecting topological relationships and semantic information to establish a change model, and utilizing non-volatile memory crossbar switch arrays and operation conversion technology, the real-time performance and conflict detection issues of the flight simulator configuration database were resolved. This enabled efficient multi-site version synchronization and conflict resolution, generated hierarchical difference reports, and improved the management efficiency and security of the configuration database.
Patent Information
- Application Number
- CN202511449163.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-11
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2045-10-11
AI Technical Summary
In existing technologies, the distributed file system version synchronization scheme for flight simulator configuration databases suffers from insufficient real-time performance, coarse-grained conflict detection, and weak parallel processing capabilities, resulting in configuration update delays and inaccurate conflict detection, which affect the consistency and security of simulator operation.
By collecting the topological relationships, semantic information, and version operation history of configuration items, a change model is established. High-speed parallel access and comparison are achieved using a non-volatile memory crossbar switch array. Operation conversion technology is applied to generate exchangeable operation sequences. Combined with structured difference synthesis technology, multi-site version synchronization and conflict detection are performed to generate a hierarchical difference report.
It enables efficient version management of the flight simulator configuration database in a multi-site collaborative environment, precise conflict handling, and intuitive difference display, ensuring configuration consistency and security.
Smart Images

Figure CN120910164A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of flight simulator configuration management, in particular to a flight simulator configuration database version management and difference analysis method, system, device and storage medium. BACKGROUND
[0002] In the multi-site collaborative version management scenario of the flight simulator configuration database, each site needs to share and modify configuration data containing topological relationship and semantic information, and the technical requirement focuses on configuration version synchronization and accurate conflict detection in a distributed environment. The flight simulator configuration items are highly related and have a wide range of changes, and multi-site operations are required to be quickly synchronized to the global, while the conflicting modifications of different sites to the same configuration item need to be accurately identified to avoid running deviation or safety risks of the simulator due to inconsistent versions.
[0003] The existing scheme for this technical requirement is a version synchronization scheme based on a distributed file system. The file system client is deployed at each site, the configuration database files are stored in distributed nodes in the form of fragments, the multi-site data interaction is realized by means of a timed incremental synchronization mechanism, and the conflict detection relies on file attribute comparison. When it is detected that the same file fragment has different attributes, a conflict alarm is triggered and the synchronization process is suspended.
[0004] The existing scheme has obvious defects: first, the real-time performance is insufficient, the timed synchronization mechanism causes a delay in configuration updates between sites, which cannot meet the instantaneity requirement of flight simulator configuration changes; second, the conflict detection granularity is coarse, which is based only on file fragment attribute comparison and cannot identify semantic-level conflicts within configuration items, and key conflict points are easily missed; third, the parallel processing capability is weak, and the locking mechanism of the conflict file fragment in the synchronization process limits the parallel modification efficiency of non-conflict configuration items by multiple sites. SUMMARY
[0005] The application aims to provide a flight simulator configuration database version management and difference analysis method, system, device and storage medium to solve the problems of insufficient real-time performance, coarse conflict detection granularity and weak parallel processing capability in the existing distributed file system version synchronization scheme.
[0006] To solve the above technical problems, in a first aspect, the application provides a flight simulator configuration database version management and difference analysis method, comprising: Collecting topological relationship data between configuration items, configuration item semantic information and version operation history in a flight simulator configuration database; Based on the topological relationship data, configuration item semantic information and version operation history, a configuration item change model is established by dependency analysis to identify key configuration items and the influence range of the key configuration items; The configuration data including multiple configuration item versions are stored in a non-volatile memory crossbar array to realize high-speed parallel access of the multiple version configuration data, and a connection state of a crossbar network in the non-volatile memory crossbar array is reconfigured to support parallel comparison processing of the multiple configuration item versions to obtain a parallel comparison result. Based on the configuration item change model, the influence range of the key configuration item and the parallel comparison result, an operation conversion technique is applied to convert configuration change operations generated by different location sites into an operation sequence with commutativity, version synchronization between multiple sites and multi-site conflict detection and resolution are completed by executing the operation sequence, and post-synchronization configuration data is generated. Based on the post-synchronization configuration data and storage information in the non-volatile memory crossbar array, in combination with topology relationship data and configuration item semantic information between the configuration items, a structured difference synthesis technique is used to hierarchically organize and semantically analyze configuration change content, and a configuration difference report with a hierarchical structure is generated.
[0007] Optionally, based on the configuration item change model, the influence range of the key configuration item and the parallel comparison result, an operation conversion technique is applied to convert configuration change operations generated by different location sites into an operation sequence with commutativity, version synchronization between multiple sites and multi-site conflict detection and resolution are completed by executing the operation sequence, and post-synchronization configuration data is generated, including: Based on a change weight in the configuration item change model and the influence range of the key configuration item, a set of potential conflict operations in the configuration change operations received from each site is determined; Based on bitmap information in the parallel comparison result, data modification content of the set of potential conflict operations on the same configuration item is analyzed; An operation conversion technique is applied to adjust an execution order of the configuration change operations according to a timestamp of the configuration change operation and the data modification content, and an operation sequence with consistency and commutativity on all sites is generated; According to the operation sequence, each configuration change operation is executed to complete multi-site version synchronization, and a change operation for the same configuration item is detected for conflict in the execution process, and a key vocabulary set in the configuration item semantic information is used to resolve the conflict to generate post-synchronization configuration data.
[0008] Optionally, the operation conversion technique is applied to adjust an execution order of the configuration change operations according to a timestamp of the configuration change operation and the data modification content, and an operation sequence with consistency and commutativity on all sites is generated, including: A conflict resolution rule of the operation conversion technique is applied to establish a partial order relationship of operation execution according to a timestamp of the configuration change operation. identify concurrent modification operations on the same configuration item parameter based on the data modification content; reconstruct execution context of the configuration change operation according to the partial order relation and semantic correlation of the concurrent modification operation; convert the operations with execution conflicts into exchangeable operation units by a state transition function of an operation conversion algorithm; reorganize the operation sequence according to the converted exchangeable operation units to generate an operation sequence with consistency and exchangeability on all sites.
[0009] Optionally, the configuration data containing multiple versions of configuration items are stored in a non-volatile memory crossbar array to realize high-speed parallel access of the multiple versions of configuration data, and parallel comparison processing of the multiple versions of configuration items is supported by reconstructing the connection state of the crossbar network in the non-volatile memory crossbar array to obtain a parallel comparison result, including: store multiple version data of each configuration item in a continuous storage area of the non-volatile memory crossbar array in order of version identification; assign an independent crossbar control line to each configuration item, and reconstruct the connection path of each switch unit in the crossbar network by changing the level state of the crossbar control line; when performing version comparison, simultaneously route configuration item data of different versions to multiple parallel comparators by cooperatively controlling the level state combination of multiple crossbar control lines; the parallel comparators simultaneously compare the content of multiple versions of configuration item data, generate and output bitmap information identifying data differences as a parallel comparison result, and the parallel comparison result contains specific position and content information of data differences between versions.
[0010] Optionally, based on the synchronized configuration data and the storage information in the non-volatile memory crossbar array, combined with the topology relationship data and configuration item semantic information between the configuration items, a structured difference synthesis technique is used to hierarchically organize and semantically analyze the configuration change content to generate a configuration difference report with a hierarchical structure, including: identify configuration items with content changes from the synchronized configuration data to form a set of changed configuration items; according to the directed graph structure in the topology relationship data, take the configuration items in the set of changed configuration items as nodes, and construct a hierarchical tree structure representing the dependency relationship between configuration items; traverse the hierarchical tree structure, group the changed configuration items at the same level according to the semantic correlation strength provided by the keyword set in the configuration item semantic information, and determine the semantic theme of each group; For each changed configuration item in the group, a text segment describing the specific change of the changed configuration item is generated in combination with the version comparison result stored in the non-volatile memory crossbar array; The text segments are organized according to the hierarchical relationship of the hierarchical tree structure and the semantic theme of the group, and a configuration difference report with a hierarchical structure is synthesized.
[0011] Optionally, the configuration item change model is established by dependency relationship analysis based on the topological relationship data, the configuration item semantic information and the version operation history, to identify a key configuration item and an influence range of the key configuration item, including: Based on the directed graph structure in the topological relationship data, the in-degree connection number and the out-degree connection number of each configuration item in the directed graph structure are calculated; Based on the keyword set in the configuration item semantic information, the keyword appearance frequency of each configuration item is counted; Based on the operation record in the version operation history, the modification frequency of each configuration item is counted; The change weight of each configuration item is generated by fusing the in-degree connection number, the out-degree connection number, the keyword appearance frequency and the modification frequency; The configuration item with a change weight exceeding a preset threshold is identified as a key configuration item; The key configuration item is taken as a starting node, and all configuration items reached by traversing along the edges of the directed graph structure are determined as an influence range of the key configuration item.
[0012] Optionally, the topological relationship data between configuration items in the flight simulator configuration database, the configuration item semantic information and the version operation history are collected, including: The attribute table of each configuration item is extracted from the system registry of the flight simulator configuration database, and the physical connection and logical reference relationship between the configuration items are parsed according to the connection guide information in the attribute table, to construct a directed graph structure taking the configuration items as nodes and the physical connection and logical reference relationship as edges, thereby forming the topological relationship data between the configuration items; The keyword set used to represent the function and attribute of the configuration item is extracted from the preset description text field and the annotation field of the configuration item in the flight simulator configuration database, thereby forming the configuration item semantic information; All operation records on the configuration items are extracted from the transaction log of the flight simulator configuration database, the operation records include the operation type, the target configuration item identifier, the operation timestamp and the operation content details, and the operation records are organized in the order of the operation timestamp, thereby forming the version operation history.
[0013] In a second aspect, the present application provides a flight simulator configuration database version management and difference analysis system, including: a collection module, configured to collect topological relationship data between configuration items in a flight simulator configuration database, configuration item semantic information, and version operation history; a recognition module, configured to establish a configuration item change model through dependency relationship analysis based on the topological relationship data, the configuration item semantic information, and the version operation history, to identify a key configuration item and an influence range of the key configuration item; a processing module, configured to store configuration data containing a plurality of configuration item versions in a non-volatile memory crossbar array, to realize high-speed parallel access of the multiple versions of configuration data, and to support parallel comparison processing of the multiple versions of configuration data by reconfiguring a connection state of a crossbar network in the non-volatile memory crossbar array, to obtain a parallel comparison result; a synchronization module, configured to apply operation conversion technology to convert configuration change operations generated by different location sites into an operation sequence with interchangeability based on the configuration item change model, the influence range of the key configuration item, and the parallel comparison result, to complete version synchronization between multiple sites and multi-site conflict detection and analysis by executing the operation sequence, and to generate post-synchronization configuration data; a generation module, configured to generate a configuration difference report with a hierarchical structure by using structured difference synthesis technology to hierarchically organize and semantically analyze configuration change content based on the post-synchronization configuration data and storage information in the non-volatile memory crossbar array, in combination with the topological relationship data between the configuration items and the configuration item semantic information.
[0014] In a third aspect, the present application provides an electronic device, comprising: a memory, configured to store a computer program; a processor, configured to implement the steps of the flight simulator configuration database version management and difference analysis method according to the first aspect when the computer program is executed.
[0015] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program can implement the steps of the flight simulator configuration database version management and difference analysis method according to the first aspect when executed by a processor.
[0016] The present application has the following beneficial effects: The flight simulator configuration database version management and difference analysis method provided in the application can accurately identify key configuration items and their influence range by collecting the topological relationship data, semantic information and version operation history of the flight simulator configuration database, and combining the configuration item change model established by dependency relationship analysis, thereby providing clear targeting for subsequent management; the multi-version configuration data is stored in a non-volatile memory crossbar array, which not only realizes high-speed parallel access of multi-version data, but also can complete efficient parallel comparison through reconfiguring the crossbar network connection state; based on the change model, the influence range of key configuration items and the parallel comparison result, the operation conversion technology is applied, which can convert the multi-site configuration change operation into an exchangeable operation sequence, effectively complete multi-site version synchronization and conflict detection and analysis, and guarantee the configuration consistency in a distributed environment; finally, the synchronized data, storage information and topological semantic information are combined, the hierarchical configuration difference report is generated by using the structured difference synthesis technology, the clear presentation and semantic association analysis of the configuration change content are realized, and the technical effects of efficient management, synchronization, accurate conflict processing and intuitive difference display of the multi-site collaborative version of the flight simulator configuration database are achieved.
[0017] Further, based on the change weight of the configuration item change model and the influence range of the key configuration items, the potential conflict operation set is determined, the data modification content of the same configuration item in the set is analyzed in combination with the bitmap information of the parallel comparison result, and then the operation conversion technology is applied to adjust the execution order according to the change operation timestamp and the data modification content, thereby generating an operation sequence that is consistent and exchangeable for each site, and finally the multi-site version synchronization is completed by executing the sequence, in the process, the same configuration item change conflict is detected and the conflict is analyzed based on the keyword set of the configuration item semantic information, thereby generating the synchronized configuration data. This step can accurately locate the potential conflict of the multi-site configuration change, ensure the consistency and exchangeability of the operation sequence of each site by the operation conversion technology, efficiently complete the version synchronization, and at the same time, realize the accurate analysis of the conflict by means of the semantic information, thereby further improving the accuracy and reliability of the configuration synchronization in a distributed environment. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or prior art description. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0019] Figure 1 A flowchart of a flight simulator configuration database version management and difference analysis method provided by an embodiment of the application; Figure 2A specific implementation flowchart of a flight simulator configuration database version management and difference analysis method provided by an embodiment of the present application is shown in the figure. Figure 3 A specific implementation diagram of a flight simulator configuration database version management and difference analysis method provided by an embodiment of the present application is shown in the figure. Figure 4 A structure diagram of a flight simulator configuration database version management and difference analysis system provided by an embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0020] In the multi-site collaborative version management of the flight simulator configuration database, the existing version synchronization scheme based on the distributed file system has significant defects: the timing incremental synchronization mechanism causes a delay in configuration updates between sites, making it difficult to meet the real-time requirements; the conflict detection method relying only on file fragment attribute comparison has a coarse granularity and cannot identify semantic-level conflicts within configuration items; and the locking mechanism for conflict file fragments in the synchronization process also limits the parallel modification efficiency of non-conflict configuration items by multiple sites, which easily causes inconsistent configuration versions and further causes running deviation or safety risks of the flight simulator, and thus a more optimal management scheme is urgently needed.
[0021] To solve the above problems, the present application proposes a flight simulator configuration database version management and difference analysis method, the core of which is to establish a change model by collecting the topology relationship, semantic information and version operation history of the configuration items, combine the high-speed parallel access and comparison capabilities of the non-volatile memory crossbar array, and use the operation conversion technology and structured difference synthesis technology to realize the whole-process management. Specifically, the method first identifies the key configuration items and the impact range through the change model, then uses the non-volatile memory crossbar array to improve the efficiency of multi-version data processing, subsequently applies the operation conversion technology to generate exchangeable operation sequences to complete multi-site synchronization and accurate conflict resolution, and finally generates a hierarchical difference report. This scheme solves the problem of insufficient real-time performance by using high-speed parallel storage and comparison, realizes fine conflict detection by using the change model and semantic analysis, and fundamentally solves the defects of the existing scheme by using exchangeable operation sequences to break through the parallel processing limit, effectively guaranteeing the efficiency and accuracy of the multi-site collaborative management of the flight simulator configuration database.
[0022] In order for those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the drawings and specific embodiments. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0023] The core of the present application is to provide a flight simulator configuration database version management and difference analysis method, a flowchart of one specific embodiment of which is shown in Figure 1 The method comprises the following steps: S101, collecting topology relationship data between configuration items in the flight simulator configuration database, configuration item semantic information, and version operation history; Optionally, step S101 can specifically comprise the following steps: S1011, extracting an attribute table of each configuration item from a system registry of the flight simulator configuration database, parsing physical connection and logical reference relationship between the configuration items according to connection guide information in the attribute table, constructing a directed graph structure taking the configuration items as nodes and the physical connection and logical reference relationship as edges, and forming topology relationship data between the configuration items; S1012, extracting a keyword set for representing functions and attributes of the configuration items from preset description text fields and annotation fields of the configuration items in the flight simulator configuration database, and forming configuration item semantic information; S1013, extracting all operation records of the configuration items from a transaction log of the flight simulator configuration database, the operation records comprising operation type, target configuration item identifier, operation timestamp, and operation content details, and organizing the operation records in order of the operation timestamp, and forming version operation history.
[0024] In the above scheme, the flight simulator configuration database refers to a database for storing various setting parameters and configuration information of the flight simulator, containing various configuration item data required for running the flight simulator, and can be used for configuration management and parameter control of the flight simulator. The topology relationship data between the configuration items refers to structured data reflecting physical connection and logical reference relationship between the configuration items, containing information of configuration item nodes and connection relationship edges, and can be used for analyzing association between the configuration items. The configuration item semantic information refers to a keyword set embodying functions and attributes of the configuration items, containing words representing core functions and associated attributes of the configuration items, and can be used for configuration item conflict resolution and semantic association analysis. The version operation history refers to a record set of operations on the configuration items arranged in order of operation time, containing operation type, target configuration item identifier, operation timestamp, and operation content details, and can be used for tracing change track of the configuration items.
[0025] In the embodiments of the present application, firstly, the attribute tables of each configuration item are batch exported from the system registry of the flight simulator configuration database through step S1011, which details the name, unique identifier, parameter range and connection guide information of the configuration item, and then the connection guide information in the attribute table is semantically disassembled using a relationship analysis algorithm to distinguish the physical connection and logical reference relationship, and then a directed graph is generated by taking the configuration item as a node and the parsed connection relationship as a directed edge, using graph structure construction technology, to form a topological relationship data, for example, the attribute tables of configuration item A (flight attitude sensor parameter) and configuration item B (flight control module parameter) are extracted from the system registry, according to the connection guide information "configuration item A output data is directed to configuration item B input port COM5 through communication port COM3" in the attribute table, the physical connection of the two is parsed as COM3-COM5 port docking, and the logical reference relationship is parsed as A transmitting data to B, and then A and B are taken as nodes, and a directed edge from A to B is drawn, and a directed graph containing the association relationship of the two configuration items is constructed.
[0026] Secondly, the preset description text field and the annotation field of each configuration item are found based on the text positioning technology through step S1012, the field text is segmented, stop words are removed and weight calculation is performed using TF-IDF and other keyword extraction algorithms, high-frequency keywords representing the core function and associated attributes of the configuration item are selected and sorted into a set to form the semantic information of the configuration item, for example, from the description text "used to set the maximum thrust of the engine and the thrust adjustment rate, supporting dynamic response throttle command" and the annotation "associated with throttle control module, fuel injection parameter" of configuration item C (engine thrust parameter), "engine maximum thrust", "thrust adjustment rate", "throttle control module" and "fuel injection parameter" are extracted as the keyword set through algorithm calculation.
[0027] Finally, the database transaction log file is opened based on the log reading tool through step S1013, and all configuration item operation records are extracted in time dimension using log parsing technology, each record contains operation type (modification, addition, deletion, etc.), target configuration item identifier, operation timestamp accurate to seconds and specific parameter change content, and then the extracted operation records are sorted in ascending order using timestamp sorting algorithm to form version operation history, for example, from the transaction log, the operation records "2025-09-01 10:00:32 Modify configuration item A to adjust the sampling frequency from 40Hz to 50Hz", "2025-09-01 10:30:15 Add configuration item D to set the navigation map update period to 30min", "2025-09-01 11:15:08 Delete configuration item E old version weather data receiving parameter" are extracted, and these records are arranged in order of operation timestamp to form the version operation history.
[0028] In practical applications, in the configuration database management of the A-type flight simulator, the attribute tables of 20 configuration items such as the avionics system configuration item and the control system configuration item of the flight simulator are extracted from the system registry, the logical reference relationship between the avionics system configuration item and the display system configuration item and the physical connection relationship between the control system configuration item and the actuator configuration item are parsed according to the connection guide information in the attribute tables, and a directed graph with the configuration items as nodes and the relationships as edges is constructed; then the keyword set such as “avionics data fusion” and “control stick stroke” is extracted from the preset description text and the annotation field of each configuration item; finally, 80 operation records of the configuration items in the past month are extracted from the transaction log, and the version operation history is organized in the order of the operation time stamp.
[0029] The overall scheme of S101 above provides comprehensive and basic data support for subsequent establishment of a configuration item change model, implementation of multi-version data processing and multi-site synchronization and the like by collecting three types of key information in the flight simulator configuration database, so that subsequent management processes can be carried out based on accurate original data, and the smooth progress of the entire configuration database version management and difference analysis work is ensured.
[0030] S102, based on the topological relationship data, the configuration item semantic information and the version operation history, a configuration item change model is established through dependency relationship analysis to identify key configuration items and the influence range of the key configuration items; Optionally, step S102 can specifically include the following steps: S1021, based on the directed graph structure in the topological relationship data, the in-degree connection number and the out-degree connection number of each configuration item in the directed graph structure are calculated; S1022, based on the keyword set in the configuration item semantic information, the keyword appearance frequency of each configuration item is counted; S1023, based on the operation records in the version operation history, the modification frequency of each configuration item is counted; S1024, the in-degree connection number, the out-degree connection number, the keyword appearance frequency and the modification frequency are fused to generate the change weight of each configuration item; S1025, the configuration item with the change weight exceeding a preset threshold is identified as a key configuration item; S1026, taking the key configuration item as a starting node, the directed graph structure is traversed along the edges, and all configuration item sets reached by the traversal are determined as the influence range of the key configuration item.
[0031] In the above scheme, the topology relationship data refers to structured data reflecting the physical connection and logical reference relationship between each configuration item, containing information of configuration item nodes and connection relationship edges, and can be used for analyzing the association between configuration items. The configuration item semantic information refers to a set of key vocabularies reflecting the functions and attributes of the configuration item, containing words representing the core functions and associated attributes of the configuration item, and can be used for configuration item conflict resolution and semantic association analysis. The version operation history refers to a set of operation records arranged in chronological order, containing operation type, target configuration item identifier, operation timestamp, and operation content details, which can be used to trace the change track of the configuration item. The dependency relationship analysis refers to an analysis method for determining the degree of mutual dependence between configuration items by analyzing the connection, semantics, and operation association information between configuration items, which can be used to build a configuration item change model. The configuration item change model refers to a model that integrates multi-dimensional information of configuration items to evaluate the importance and influence range of configuration item changes, which can be used to identify key configuration items. The key configuration item refers to a configuration item whose change weight exceeds a preset threshold and has a greater impact on system operation, which can be used as a key management object. The influence range of the key configuration item refers to a set of all configuration items reached by traversing the directed graph along the topology relationship directed graph starting from the key configuration item, which can be used to determine the scope of the change impact.
[0032] In the embodiment of the present application, first, the graph structure analysis algorithm in step S1021 is used to traverse each configuration item node based on the directed graph structure in the topology relationship data, and the graph node degree calculation algorithm is used to count the number of edges pointing to the node as the in-degree connection number, for example, for node D, there are two edges B→D and C→D pointing to it, so its in-degree connection number is 2. At the same time, the number of edges pointing from the node to other nodes is counted as the out-degree connection number, for example, for node A, there are two edges A→B and A→C pointing from it to other nodes, so its out-degree connection number is 2. In this way, the in-degree connection number and out-degree connection number of all configuration item nodes are calculated.
[0033] Secondly, step S1022 uses text statistical technology to aggregate the key vocabulary set of all configuration items into a key vocabulary aggregate set based on the key vocabulary set in the configuration item semantic information, and then for each key word in the key vocabulary set of each configuration item, the number of occurrences of the key word in the key vocabulary aggregate set is counted, and the occurrence frequency of all key words is added to obtain the key vocabulary occurrence frequency of the configuration item, for example, the key vocabulary set of configuration item B is "thrust adjustment" "fuel control" "throttle response", and these three words occur 15 times in all configuration item semantic information, so the key vocabulary occurrence frequency is 15.
[0034] Next, the time range of the modified frequency is counted by step S1023, and then the version operation history containing all operation records in the time range is obtained, each record being marked with operation type, target configuration item identifier, etc. Each operation record in the version operation history is traversed, the records with operation type "modification" are filtered out, and these modification records are classified and counted according to the target configuration item identifier, so as to complete the counting of the modified frequency of each configuration item in the specified time range. For example, the configuration item C in the version operation history is modified 8 times in a month, and the modified frequency is 8.
[0035] Then, step S1024 fuses the in-degree connection number, out-degree connection number, keyword frequency and modified frequency according to the preset weight proportion by a weight fusion algorithm, to generate the change weight of each configuration item. For example, the preset in-degree, out-degree, keyword frequency and modified frequency weights are 0.2, 0.2, 0.3 and 0.3 respectively, the in-degree of configuration item D is 2, the out-degree is 3, the keyword frequency is 12, and the modified frequency is 6, so the change weight is 2*0.2+3*0.2+12*0.3+6*0.3=0.4+0.6+3.6+1.8=6.4.
[0036] Next, step S1025 pre-sets a threshold value of the change weight according to the management requirements of the flight simulator configuration database, the system stability requirements and the historical running data, etc. The threshold value can be adjusted according to the actual situation. Then, the change weight of each configuration item generated by step S1024 is obtained, and the change weight of each configuration item is compared with the preset threshold value one by one. Finally, the configuration items with change weight greater than the preset threshold value are marked and identified as key configuration items. For example, the preset threshold value is 5, the change weight of configuration item K is 6.2, which is greater than the threshold value, so configuration item K is identified as a key configuration item.
[0037] Finally, step S1026 takes the key configuration item as the starting node, and uses a graph traversal algorithm (such as depth-first traversal) to traverse along the edges of the directed graph structure, and collects all the configuration items accessed in the traversal process to form a set, which is the influence range of the key configuration item. For example, taking key configuration item M as the starting node, traversing to nodes N, O, P and Q along the directed graph, then {M, N, O, P, Q} is the influence range of configuration item M.
[0038] In practical applications, in the configuration database management of the A-type flight simulator, first, based on the directed graph of the topological relationship data, the in-degree connection number of the avionics system configuration item is calculated as 4, and the out-degree connection number is calculated as 5; then the frequency of the keywords “avionics data fusion” and “signal processing” is counted as 18; then it is learned from the version operation history that it is modified 7 times within a month; then the change weight is obtained by fusing the preset weight as 4x0.2+5x0.2+18x0.3+7x0.3=0.8+1+5.4+2.1=9.3; since the preset threshold is 6, the avionics system configuration item is identified as a key configuration item; finally, the avionics system configuration item is taken as a starting node to traverse along the directed graph to reach 6 configuration items such as the display system and the navigation system, and these configuration items form the influence range of the key configuration item.
[0039] The overall scheme of S102 above can accurately identify the key configuration item and its influence range which have a greater impact on the operation of the flight simulator configuration database by fusing multi-dimensional data to establish a configuration item change model, and provide a clear focus object and influence boundary for subsequent configuration item change management, conflict detection and other work, which helps to improve the pertinence and efficiency of configuration database version management and reduce the system risk caused by the change of key configuration items.
[0040] S103, store the configuration data containing a plurality of configuration item versions in a non-volatile memory crossbar array to realize high-speed parallel access of the multi-version configuration data, and support parallel comparison processing of the plurality of configuration item versions by reconfiguring the connection state of the crossbar network in the non-volatile memory crossbar array to obtain a parallel comparison result; Optionally, step S103 can specifically include the following steps: S1031, store the plurality of version data of each configuration item in the non-volatile memory crossbar array in a continuous storage area in the order of version identification; S1032, assign an independent crossbar control line to each configuration item, and reconfigure the connection path of each switch unit in the crossbar network by changing the level state of the crossbar control line; S1033, when performing version comparison, route the configuration item data of different versions to a plurality of parallel comparators at the same time by cooperatively controlling the level state combination of a plurality of crossbar control lines; S1034, the parallel comparators simultaneously compare the content of the configuration item data of a plurality of versions, generate and output a bitmap information identifying the data difference as a parallel comparison result, and the parallel comparison result contains the specific position and content information of the data difference between versions.
[0041] In the above scheme, the configuration data of multiple configuration item versions refers to the modified data set of the same configuration item at different time nodes, containing parameter information and version identification of each version, which can be used for version comparison and tracing. The non-volatile memory crossbar array is a memory device with non-volatile storage characteristics and crossbar network structure, containing storage units and crossbar units, which can realize high-speed storage and flexible routing of data. High-speed parallel access refers to an efficient data access method that simultaneously reads and writes multiple data, which can improve data processing speed. The connection state of the crossbar network refers to the on-off state of each switch unit in the crossbar array, which can determine the transmission path of the data. Parallel comparison processing refers to an operation method that simultaneously compares multiple configuration item version data, which can quickly obtain version differences. Parallel comparison result refers to the information generated by parallel comparison to identify data differences, containing difference position and content, which can be used for subsequent conflict detection and analysis.
[0042] In the embodiments of the present application, first, all version data of each configuration item is sorted by step S1031, sorted by version identification, then a dedicated storage area is divided for each configuration item in the non-volatile memory crossbar array, and the address of the storage unit in the area is ensured to be continuous, finally, the sorted multiple version data is written into the divided continuous storage area in sequence, each version data occupies a continuous sub-area, for example, configuration item A has V1, V2, V3 three versions, its data is stored in 001-005, 006-010, 011-015 continuous storage units in sequence according to the version identification from old to new.
[0043] Secondly, according to the number of configuration items, one independent crossbar control line is allocated for each configuration item by step S1032, ensuring that each control line corresponds to only one configuration item, and then determining the correspondence between control line level state and switch unit on-off, changing the level state of each crossbar control line through the control circuit, when data transmission of a certain configuration item is needed, the corresponding control line is set to high level, making the related switch unit conductive to form a connection path; when it is not needed, it is set to low level to disconnect the path, in this way, the connection path of each switch unit in the crossbar network is reconstructed, for example, configuration item A is allocated control line L1, when L1 is high, the corresponding switch unit is conductive, and when it is low, it is disconnected, in this way, the data transmission path is reconstructed.
[0044] Then, through step S1033, the configuration item and its specific version that need to be compared are determined, for example, it is determined to compare V2, V3 and V4 versions of the configuration item D. According to the storage area where the versions are located and the corresponding crossbar control lines, the level state required by each control line is planned, a level state combination scheme is formed, for example, V2 of the configuration item D corresponds to control line L4, V3 corresponds to L5, and V4 corresponds to L6, and a combination scheme in which L4, L5 and L6 are all set to high level is planned. Then, through the control circuit, the level states of the three crossbar control lines are cooperatively controlled to be in the high level state according to the planned combination scheme. At this time, the switch units corresponding to the storage areas where the version data are located are turned on, and the data is routed to multiple parallel comparators through the reconstructed connection path at the same time, for example, V2 data is routed to comparator C5, V3 is routed to C6, and V4 is routed to C7.
[0045] Finally, through step S1034, a parallel comparison algorithm is used to compare the received version data bit by bit, and then a bitmap information is generated according to the comparison result. The bits corresponding to the data positions in the bitmap are set, and if the data at the positions are consistent, they are marked as “0”, and if there is a difference, they are marked as “1”. The specific content of the difference position is recorded, for example, the 5th bit data of V2 and V3 versions is different, the 5th bit of the bitmap is set to “1”, and at the same time, the 5th bit of V2 is recorded as “a” and the 5th bit of V3 is recorded as “b”. Finally, the generated bitmap information and difference content are output as the parallel comparison result.
[0046] In actual application, in the configuration database management of the A model flight simulator, when step S103 is executed, the V1-V4 version data of the engine control parameter configuration item is stored in the 020-024, 025-029, 030-034 and 035-039 continuous storage areas of the non-volatile memory crossbar array in the order of version identification; then, an independent control line L2 is allocated for the configuration item, and the connection path of the corresponding switch unit in the crossbar network is reconstructed by adjusting the level state of L2; when V2 and V4 versions need to be compared, the level combination of L2 and the control lines corresponding to the versions is cooperatively controlled to route the two version data to parallel comparators C3 and C4 respectively; finally, the parallel comparators compare the data bit by bit to generate difference information in the form of a bitmap, wherein the 8th and 15th bits of the bitmap are marked as “1”, indicating that the data at these two positions are different, and the bitmap is the parallel comparison result.
[0047] The overall scheme of S103 described above realizes high-speed parallel access and comparison of multi-version configuration data through the non-volatile memory crossbar array, greatly improves the data storage access efficiency and version comparison speed, and can quickly and accurately obtain the difference information between versions, providing an efficient data processing basis for subsequent multi-site configuration synchronization and conflict detection, and ensuring the timeliness and accuracy of the configuration database version management.
[0048] S104, based on the configuration item change model, the influence range of the key configuration item and the parallel comparison result, applying operation conversion technology to convert the configuration change operations generated by different location sites into operation sequences with interchangeability, completing version synchronization between multiple sites, multi-site conflict detection and analysis by executing the operation sequences, and generating synchronized configuration data; Optionally, step S104 can specifically include the following steps: S1041, based on the change weight in the configuration item change model and the influence range of the key configuration item, determining a set of potential conflict operations in the configuration change operations received from each site; S1042, based on the bitmap information in the parallel comparison result, analyzing the data modification content of the set of potential conflict operations on the same configuration item; S1043, applying operation conversion technology, adjusting the execution order of the configuration change operations according to the time stamp of the configuration change operation and the data modification content, and generating operation sequences with consistency and interchangeability on all sites; S1044, according to the operation sequence, executing each configuration change operation to complete multi-site version synchronization, and detecting conflict of change operations for the same configuration item in the execution process, and resolving conflict based on the key vocabulary set in the configuration item semantic information to generate synchronized configuration data.
[0049] Specifically, step S1043 includes the following processes: applying conflict resolution rules of operation conversion technology, establishing a partial order relation of operation execution according to the time stamp of the configuration change operation; based on the data modification content, identifying concurrent modification operations on the same configuration item parameter; according to the partial order relation and semantic correlation of concurrent modification operations, reconstructing the execution context of configuration change operations; through the state transition function of operation conversion algorithm, converting operations with execution conflict into interchangeable operation units; reorganizing operation sequences according to converted interchangeable operation units, and generating operation sequences with consistency and interchangeability on all sites.
[0050] In the above scheme, the operation conversion technology refers to adjusting the operation sequence of configuration changes in a distributed environment to make the operations exchangeable, which can realize multi-site operation consistency. Different location sites refer to flight simulation configuration management sites distributed in different regions or network nodes, and each site can generate configuration change operations. Configuration change operations refer to modifications, additions, deletions, etc. of configuration items by sites, including operation content and timestamp. Exchangeable operation sequence refers to a set of operations whose execution order does not affect the final result, which can ensure multi-site version consistency. Version synchronization between multi-sites refers to a process of keeping configuration data consistent among sites, which can avoid data differences; multi-site conflict detection and resolution refers to an operation of identifying and resolving configuration change conflicts among sites, which can ensure configuration data accuracy. Synchronized configuration data refers to unified configuration data formed after version synchronization and conflict processing, which can be used for unified use by each site.
[0051] In the embodiment of the present application, first, the change weight of each configuration item is extracted from the configuration item change model through step S1041, and the key configuration item and its influence range are extracted, then all configuration change operations sent by different location sites are collected, each operation contains operation target configuration item identifier, operation content and other information, through conflict screening algorithm, it is judged whether the target configuration item of each configuration change operation belongs to the key configuration item or the configuration item in its influence range, if it belongs, the operation is included in the potential conflict operation set, for example, the key configuration item A whose change weight exceeds the threshold value, its influence range contains B and C, the change operations of A, B and C by each site are determined as the potential conflict operation set.
[0052] Secondly, the parallel comparison result generated by step S1034 is obtained through step S1042, the bitmap information used to identify data differences is extracted from the parallel comparison result, and the operations with the same target configuration item identifier are screened out from the potential conflict operation set, that is, the change operations for the same configuration item, then combined with the difference position marked in the bitmap information, the specific modification content of these change operations for the same configuration item is viewed, for example, the bitmap shows that site 1 and site 2 both modify the 5th data of configuration item A, it is analyzed that site 1 changes it to "10" and site 2 changes it to "15".
[0053] Next, step S1043 applies the conflict resolution rule of the operation conversion technology, extracts the timestamp of each configuration change operation, establishes a partial order relationship of operation execution according to the chronological order of the timestamp, and identifies concurrent modification operations that modify the same parameter of the same configuration item based on the data modification content analyzed in step S1042. Then, according to the established partial order relationship and the semantic correlation of the concurrent modification operations, the execution context of the configuration change operation is reconstructed, and the initial state of the configuration data at the time of operation execution is determined. Then, through the state transition function of the operation conversion algorithm, the conflict operation and the execution context are input, the operation that exists in the execution conflict is converted into an exchangeable operation unit, and the operation sequence is reorganized according to the exchangeable operation unit after conversion and the partial order relationship, to generate an operation sequence with consistency and exchangeability that does not affect the final result in the execution sequence on all sites, for example, the operation of site 1 is determined to be prior to site 2 according to the timestamp, and the converted operation sequence does not affect the result, and the exchangeable operation sequence is generated.
[0054] Finally, the exchangeable operation sequence generated in step S1043 is distributed to each different location site through step S1044, ensuring that each site obtains the same operation sequence, and each site executes each configuration change operation in sequence according to the operation sequence. In the execution process, the conflict monitoring algorithm is used to detect whether there is a conflict in the change operation for the same configuration item, and when a conflict is detected, the keyword set in the configuration item semantic information is called to analyze the configuration item function and associated attributes involved in the conflict operation, for example, according to the "associated flight attitude stability control" keyword in the semantic information of configuration item M, the influence of the conflict operation on the function is judged, and then the modification value that is more consistent with the requirements of flight attitude stability control is selected. Finally, after all sites execute the operation sequence and complete conflict resolution, the configuration data formed is the configuration data after synchronization, and the configuration data of each site remains consistent.
[0055] In practical applications, in the multi-site configuration management of A series flight simulators, when step S104 is executed, based on the key configuration item "avionics system parameters" with a change weight of 8.5 in the configuration item change model and its influence range (display system, communication system), 12 change operations of the three configuration items by sites 1, 2 and 3 are determined as a set of potential conflict operations; according to the bitmap information of the parallel comparison result, it is found that site 1 and site 2 both modify the 8th data of the avionics system parameters to "20" and "25" respectively; then, according to the operation conversion technology, the operation of site 1 is determined to be prior according to the timestamp, the conflict operation is converted through the state transition function, and the exchangeable operation sequence is generated; finally, the sequence is executed to complete the synchronization, and in the process, the conflict is detected, the conflict is resolved according to the keyword "associated navigation data transmission rate" in the semantic information of the avionics system parameters, and "22" is determined as the synchronization value to generate the configuration data after synchronization.
[0056] The overall scheme of S104 above realizes the exchangeable sequence generation of different site configuration change operations by combining the operation conversion technology with multi-dimensional information, effectively completes multi-site version synchronization, accurately detects and analyzes configuration conflicts, and guarantees the consistency and accuracy of configuration data in a distributed environment, thereby providing unified and reliable configuration data support for each site of the flight simulator.
[0057] S105, based on the synchronized configuration data and the storage information in the non-volatile memory crossbar array, combining the topological relationship data between the configuration items and the configuration item semantic information, using a structured difference synthesis technology to hierarchically organize and semantically analyze the configuration change content, and generating a configuration difference report with a hierarchical structure.
[0058] Optionally, step S105 can specifically include the following steps: S1051, identifying the configuration items with content changes from the synchronized configuration data to form a set of changed configuration items; S1052, according to the directed graph structure in the topological relationship data, taking the configuration items in the set of changed configuration items as nodes, and constructing a hierarchical tree structure representing the dependency relationship between the configuration items; S1053, traversing the hierarchical tree structure, grouping the changed configuration items at the same level according to the semantic association strength provided by the keyword set in the configuration item semantic information, and determining the semantic theme of each group; S1054, for the changed configuration items in each group, combining the version comparison results stored in the non-volatile memory crossbar array to generate a text segment describing the specific change content of the changed configuration items; S1055, organizing the text segments according to the hierarchical relationship of the hierarchical tree structure and the semantic theme of the groups, and synthesizing a configuration difference report with a hierarchical structure.
[0059] In the above scheme, the storage information in the non-volatile memory crossbar array refers to the multi-version configuration data and version comparison related information stored in the array, which can provide the basis for change tracing. The structured difference synthesis technology refers to the technology of hierarchically organizing and semantically integrating the configuration change content, which can generate a clear difference report. The configuration change content refers to the specific information of the configuration items that have been modified in version update, including the change position and content. Hierarchical organization refers to the arrangement method of dividing the change content into different levels according to the dependency relationship between the configuration items, which can reflect the hierarchical association of the changes. Semantic association analysis refers to the process of analyzing the functional association between the changed configuration items based on the keyword set, which can realize the grouping of similar changes. The configuration difference report with a hierarchical structure refers to a report document that clearly presents the configuration change situation organized by level and semantic theme, which can visually display the change information.
[0060] In the embodiments of the present application, as shown in Figure 2 Firstly, the post-synchronization configuration data generated in step S1044 and the historical version data of the corresponding configuration items stored in the non-volatile memory crossbar array are obtained through step S1051, for example, the post-synchronization configuration data contains the latest content of configuration items A, B, C and D, and the V1 version historical data of these configuration items is stored in the array. Secondly, the data comparison algorithm is used to compare the content of each configuration item in the post-synchronization configuration data with the historical version data of the configuration item stored in the array bit by bit or field by field, to determine whether there is a difference, for example, the content of the post-synchronization configuration item A is compared with the V1 version, and it is found that there are 3 differences; the content of configuration item B is consistent with the V1 version. Finally, all configuration items whose content is found to be different through comparison are filtered out, and a changed configuration item set is formed by sorting, for example, configuration items A, C and D have differences, and form a changed configuration item set {A, C, D}.
[0061] Secondly, the directed graph structure is extracted from the step topology relationship data through step S1052, and all configuration item nodes are extracted from the changed configuration item set. Then, the tree structure construction algorithm is used to determine the hierarchical position of the nodes according to the dependency edges in the directed graph, and the nodes with no dependency or the least dependency are used as the top-level nodes, and the nodes that are dependent are used as the lower-level nodes. In this way, the hierarchical tree structure representing the dependency relationship between the configuration items is constructed, for example, E is used as the top-level node, F is used as the middle-level node connected to E, G is used as the bottom-level node connected to F, and H is used as another top-level node with no dependency, forming a hierarchical tree structure containing two branches. For example, A depends on B, and B depends on C. C is set as the bottom-level node, B is set as the middle-level node and points to C, and A is set as the top-level node and points to B.
[0062] Thirdly, the hierarchical tree structure constructed in step S1052 is traversed layer by layer through step S1053 using the tree traversal algorithm, and the changed configuration items in each level are obtained in turn, and the key vocabulary set in the semantic information of each changed configuration item is extracted, for example, the key vocabulary set of configuration item F is {fuel control, pressure regulation}, the key vocabulary set of G is {fuel injection, flow control}, and the key vocabulary set of H is {navigation positioning, signal reception}. Then, the semantic similarity calculation algorithm is used to calculate the semantic association strength between the configuration items in the same level according to the coincidence degree or correlation of the key vocabulary sets, for example, the keywords of F and G are both related to fuel, and the association strength is 0.8; the keywords of F and H have no association, and the strength is 0.2. Then, the clustering algorithm is used to group the configuration items whose semantic association strength is higher than a preset threshold, and finally, the common core words in the key vocabulary set of each group are refined to determine the semantic theme of each group.
[0063] Then, for each group divided in step S1053, all the changed configuration items in the group are obtained, and the version comparison results corresponding to the changed configuration items are retrieved from the non-volatile memory crossbar array, the results including the difference positions between versions of the configuration items, the old content before modification and the new content after modification, for example, the version comparison result of configuration item I shows that the old content of the 4th position is "5" and the new content is "7"; the comparison result of configuration item J shows that the old content of the 6th position is "F" and the new content is "G". Then, a text generation algorithm is used to integrate the configuration item name, change position, old content and new content of each changed configuration item into a text segment described in natural language, for example, a text segment of "configuration item I: the 4th position data is modified from '5' to '7'" is generated for configuration item I; a text segment of "configuration item J: the 6th position data is modified from 'F' to 'G'" is generated for configuration item J. Finally, the generated text segments are stored in association with the corresponding changed configuration items, ready for subsequent organization of the difference report.
[0064] Finally, through step S1055, the hierarchical presentation order of the hierarchical tree structure is determined first, which is usually organized in the order from top to bottom, for example, the hierarchical tree has three levels of top, middle and bottom, and is presented in the order of top→middle→bottom. Secondly, for each level, the groups in the level are sorted according to the semantic topics determined in step S1053, which can be arranged in the order of importance or alphabetical order, for example, the middle layer has two groups of "fuel system related changes" and "navigation positioning related changes", and the sorting is in the order of importance, with the former in front and the latter in back. Then, the level names of each level, such as "top changes" and "middle changes", are used as the first-level title of the report, the semantic topics of each group are used as the second-level title, and the text segments in the group are used as the specific content under the second-level title, which are arranged in turn. Finally, the organized content is formatted, necessary separators and explanatory words are added, and a configuration difference report with clear hierarchical structure and semantic topic classification is synthesized, for example, the report starts with the top change title, followed by the corresponding groups and text segments, then the middle change title and corresponding content, and finally the bottom change content.
[0065] In practical applications, in the configuration database management of the A series flight simulator, when step S105 is performed, the changed configuration item set of "avionics system parameters", "display system parameters" and "communication system parameters" is identified by comparing and synchronizing the configuration data with the array stored historical data; then, the hierarchical tree with "avionics system parameters" as the top layer and the other two as the middle layer is constructed according to the relationship of "avionics system parameters depending on display system parameters and communication system parameters" in the topological relationship directed graph; when traversing the tree structure, the "display system parameters" and "communication system parameters" are associated into a group because their semantic keywords both contain "data transmission" and have high correlation strength, and the semantic theme is "data transmission related parameter change"; then, the change text segment of each configuration item is generated by combining the version comparison result, such as "avionics system parameter No. 8 is changed from '20' to '22'"; finally, the hierarchical configuration difference report with the top layer being the avionics system change and the middle layer being the data transmission related change is generated by organizing the text segments according to the hierarchy and semantic theme.
[0066] The overall scheme of S105 described above organizes and analyzes the configuration change content according to the hierarchical relationship and semantic theme by using the structured difference synthesis technology, and the generated configuration difference report has clear hierarchy and explicit semantics, which can enable the user to intuitively master the hierarchical association and functional classification of the change, facilitate quick understanding of the overall picture of the configuration change, and provide a convenient and easy-to-understand reference for the review, traceability and maintenance of the flight simulator configuration.
[0067] The following is a complete example for steps 101-105, as shown in Figure 3 In the A series flight simulator multi-site configuration database management project, first, the attribute tables of 20 configuration items such as avionics system, engine control and navigation system are extracted from the configuration database system registry, the physical connection and logical reference relationship between the configuration items are parsed according to the connection guide information in the attribute table, and the directed graph with the configuration item as the node and the relationship as the edge is constructed as the topological relationship data; at the same time, the keyword set is extracted from the description text and annotation field of each configuration item to form semantic information, such as the keywords of the engine control configuration item are "thrust adjustment" and "fuel control"; and the operation records of the past month are extracted from the transaction log and sorted by timestamp to form the version operation history.
[0068] Then, the in-degree connection number of the avionics system configuration item is calculated to be 4, the out-degree connection number is calculated to be 5, the keyword appearance frequency is calculated to be 18, the modification frequency is calculated to be 7 times according to the version operation history, the change weight is generated by fusing the preset weights 0.2, 0.2, 0.3 and 0.3, which is 4*0.2+5*0.2+18*0.3+7*0.3=9.3, and the key configuration item is identified because the preset threshold is 6; then, the display system, communication system and other 6 configuration items are determined as the influence range of the avionics system configuration item by traversing the directed graph from the avionics system configuration item as the starting node.
[0069] Subsequently, the V1-V4 version data of the engine control configuration item is stored in the non-volatile memory crossbar array in the order of identification, and a separate crossbar control line is allocated to the configuration item, and the connection path is reconfigured by adjusting the control line level; when V2 and V4 versions need to be compared, the corresponding control line level is cooperatively controlled, and the two version data is routed to the parallel comparator, and the comparator generates a bit map information after bit-by-bit comparison, marking that the 8th and 15th bits are different, forming a parallel comparison result.
[0070] Then, based on the configuration item change model and the influence range of the key configuration item, the 12 change operations of each site to the avionics system, display system and other configuration items are determined as a set of potential conflict operations; combined with the parallel comparison result, it is found that site 1 and site 2 both modify the 8th data of the avionics system configuration item to “20” and “25” respectively; by applying the operation conversion technology, the operation of site 1 is determined to be in front according to the timestamp, and the conflict operation is converted to generate an exchangeable sequence through the state transition function; when the sequence is executed, the conflict is detected, the conflict is analyzed combined with the keyword “associated navigation data transmission rate” in the avionics system semantic information, the synchronization value is determined to be “22”, and the synchronized configuration data is generated.
[0071] Finally, by comparing the synchronized data with the array history data, the avionics system, display system and communication system are identified as the set of changed configuration items; according to the topological relationship, a hierarchical tree is constructed with the avionics system as the top layer and the other two as the middle layer; when traversing the tree structure, the display system and the communication system are divided into a group because the keywords of both contain “data transmission”, and the semantic theme is “data transmission related parameter change”; combined with the version comparison result, text segments are generated for each configuration item, such as “avionics system parameter 8th from ‘20’ to ‘22’”; the text segments are organized according to the level and semantic theme, and a hierarchical configuration difference report is synthesized.
[0072] Figure 4 A structural schematic diagram of a specific embodiment of a flight simulator configuration database version management and difference analysis system provided by the embodiment of the present application, referring to Figure 4 The system can include: The acquisition module 41 is configured to acquire topological relationship data between configuration items in the flight simulator configuration database, configuration item semantic information, and version operation history; The identification module 42 is configured to establish a configuration item change model based on the topological relationship data, the configuration item semantic information and the version operation history, to identify key configuration items and the influence range of the key configuration items by dependency relationship analysis; The processing module 43 is configured to store configuration data containing multiple configuration item versions in the nonvolatile memory crossbar array to realize high-speed parallel access of the multiple version configuration data, and support parallel comparison processing of the multiple configuration item versions by reconfiguring the connection state of the crossbar network in the nonvolatile memory crossbar array to obtain a parallel comparison result. The synchronization module 44 is configured to convert configuration change operations generated by different location sites into an operation sequence with interchangeability based on the configuration item change model, the influence range of the key configuration item, and the parallel comparison result, complete version synchronization between multiple sites and multi-site conflict detection and analysis by executing the operation sequence, and generate post-synchronization configuration data. The generation module 45 is configured to generate a configuration difference report with a hierarchical structure based on the post-synchronization configuration data and storage information in the nonvolatile memory crossbar array, in combination with topology relationship data between the configuration items and configuration item semantic information, and by using a structured difference synthesis technology to hierarchically organize and semantically analyze configuration change content.
[0073] The flight simulator configuration database version management and difference analysis system according to the embodiments of the present application is used to implement the flight simulator configuration database version management and difference analysis method described above, and therefore the specific embodiments of the flight simulator configuration database version management and difference analysis system can be seen from the embodiment part of the flight simulator configuration database version management and difference analysis method described above, and the specific embodiments can be referred to the description of the corresponding embodiment part, which will not be described herein again.
[0074] The present application also provides an electronic device, which comprises a memory for storing a computer program and a processor for executing the computer program to implement the steps of any of the flight simulator configuration database version management and difference analysis methods described above.
[0075] The present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of any of the flight simulator configuration database version management and difference analysis methods described above.
[0076] In an exemplary embodiment, the computer readable storage medium described above can include but is not limited to a U disk, a read-only memory, a random access memory, a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.
[0077] The embodiments of the present application also provide a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the steps of any of the flight simulator configuration database version management and difference analysis methods described above.
[0078] Those skilled in the art will further appreciate that the units and algorithms described in connection with the examples disclosed herein can be implemented in electronic hardware, computer software, or both. As described above, the disclosure is directed to each individual feature, hardware and software units, algorithm steps and any combination thereof. To clearly illustrate this interchangeability of hardware and software, various components will be described generically, such as similarly designated units. Implementations incorporating only either hardware or software elements are within the scope of the disclosure. Additionally, the various blocks or units described herein can be implemented on a single device or spread across multiple devices. Further, the algorithms described herein can be implemented in software or a combination of software and hardware. The various elements (including units) and algorithm steps can be implemented in a single device or spread across multiple devices in accordance with the techniques described herein. To clearly illustrate this interchangeability of hardware and software, various components will be described generically, such as similarly designated units. Implementations incorporating only either hardware or software elements are within the scope of the disclosure.
[0079] The method, system, device and storage medium for flight simulator configuration database version management and difference analysis provided by the present application are described in detail above. The principles and implementation modes of the present application are described by applying specific examples in the present document. The above description of the examples is only for the purpose of helping to understand the method of the present application and its core idea. It should be pointed out that, for those skilled in the art, without departing from the principles of the present application, some improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the present application.
Claims
1. A method for managing and analyzing differences of a flight simulator configuration database version, characterized in that, The method comprises the following steps: Collecting topology relationship data between configuration items in a flight simulator configuration database, configuration item semantic information, and version operation history; Based on the topology relationship data, the configuration item semantic information, and the version operation history, a configuration item change model is established through dependency relationship analysis to identify key configuration items and the influence range of the key configuration items; Configuration data containing multiple configuration item versions are stored in a non-volatile memory crossbar array to realize high-speed parallel access of the multiple version configuration data, and parallel comparison processing of the multiple configuration item versions is supported by reconfiguring the connection state of the crossbar network in the non-volatile memory crossbar array to obtain a parallel comparison result; Based on the configuration item change model, the influence range of the key configuration items, and the parallel comparison result, an operation conversion technology is applied to convert configuration change operations generated by different location sites into an operation sequence with commutativity, version synchronization between multiple sites and multi-site conflict detection and analysis are completed by executing the operation sequence, and synchronized configuration data are generated; Based on the synchronized configuration data and the storage information in the non-volatile memory crossbar array, combined with the topology relationship data between the configuration items and the configuration item semantic information, a structured difference synthesis technology is used to hierarchically organize and semantically analyze the configuration change content to generate a configuration difference report with a hierarchical structure.
2. The flight simulator configuration database version management and difference analysis method according to claim 1, wherein, The operation conversion technology is applied to convert configuration change operations generated by different location sites into an operation sequence with commutativity, version synchronization between multiple sites and multi-site conflict detection and analysis are completed by executing the operation sequence, and synchronized configuration data are generated based on the configuration item change model, the influence range of the key configuration items, and the parallel comparison result, which comprises the following steps: Based on the change weight in the configuration item change model and the influence range of the key configuration items, a set of potential conflict operations in the configuration change operations received from each site is determined; Based on the bitmap information in the parallel comparison result, the data modification content of the potential conflict operations set to the same configuration item is analyzed; An operation conversion technology is applied to adjust the execution order of the configuration change operations according to the timestamp of the configuration change operation and the data modification content, and an operation sequence with consistency and commutativity on all sites is generated; According to the operation sequence, each configuration change operation is executed to complete multi-site version synchronization, and conflict detection is performed on change operations for the same configuration item during the execution process, and conflicts are resolved based on a set of key words in the configuration item semantic information to generate synchronized configuration data.
3. The method of claim 2, wherein the database version management and difference analysis method of the flight simulator configuration database is characterized by, The operation conversion technology is applied to adjust the execution order of the configuration change operations according to the timestamp of the configuration change operation and the data modification content, and an operation sequence with consistency and commutativity on all sites is generated, which comprises the following steps: A conflict resolution rule of the operation conversion technology is applied to establish a partial order relationship of operation execution according to the timestamp of the configuration change operation; Based on the data modification content, concurrent modification operations to the same configuration item parameter are identified; According to the partial order relation and semantic correlation of concurrent modification operations, the execution context of the configuration change operation is reconstructed; By operating the state transition function of the algorithm, the operation with execution conflict is converted into an exchangeable operation unit; According to the converted exchangeable operation unit, the operation sequence is reorganized to generate an operation sequence with consistency and exchangeability on all sites.
4. The flight simulator configuration database version management and difference analysis method of claim 1, wherein, The configuration data containing multiple versions of configuration items is stored in the non-volatile memory crossbar array to realize high-speed parallel access of multi-version configuration data, and the connection state of the crossbar network in the non-volatile memory crossbar array is reconstructed to support parallel comparison processing of the multiple versions of configuration items to obtain a parallel comparison result, including: Multiple version data of each configuration item are stored in a continuous storage area of the non-volatile memory crossbar array in order of version identification; An independent crossbar control line is allocated to each configuration item, and the connection path of each switch unit in the crossbar network is reconstructed by changing the level state of the crossbar control line; When version comparison is performed, different versions of configuration item data are simultaneously routed to multiple parallel comparators by cooperatively controlling the level state combination of multiple crossbar control lines. The parallel comparator simultaneously compares the content of multiple versions of configuration item data, generates and outputs a bitmap information identifying data differences as a parallel comparison result, and the parallel comparison result contains specific position and content information of data differences between versions.
5. The flight simulator configuration database version management and difference analysis method of claim 1, wherein, Based on the synchronized configuration data and the storage information in the non-volatile memory crossbar array, combined with the topology relationship data and configuration item semantic information between the configuration items, a structured difference synthesis technique is used to hierarchically organize and semantically analyze the configuration change content, and a configuration difference report with a hierarchical structure is generated, including: Identify the configuration items with content changes from the synchronized configuration data to form a set of changed configuration items; According to the directed graph structure in the topology relationship data, the configuration items in the set of changed configuration items are used as nodes to build a hierarchical tree structure representing the dependency relationship between configuration items; Traverse the hierarchical tree structure, group the changed configuration items at the same level according to the semantic association strength provided by the keyword set in the configuration item semantic information, and determine the semantic theme of each group; For each changed configuration item in a group, combine the version comparison result stored in the non-volatile memory crossbar array to generate a text segment describing the specific change content of the changed configuration item; According to the hierarchical relationship of the hierarchical tree structure and the semantic theme of the group, the text segments are organized to synthesize a configuration difference report with a hierarchical structure.
6. The flight simulator configuration database version management and difference analysis method of claim 1, wherein, Based on the topology relationship data, configuration item semantic information and version operation history, a configuration item change model is established through dependency relationship analysis to identify key configuration items and the influence range of the key configuration items, including: Based on the directed graph structure in the topology relationship data, the in-degree connection number and out-degree connection number of each configuration item in the directed graph structure are calculated; Based on the keyword set in the configuration item semantic information, the keyword appearance frequency of each configuration item is counted; Based on the operation records in the version operation history, the modification frequency of each configuration item is counted; The in-degree connection number, the out-degree connection number, the keyword appearance frequency and the modification frequency are fused to generate the change weight of each configuration item; The configuration item whose change weight exceeds a preset threshold is identified as a key configuration item; The key configuration item is taken as a starting node, and all configuration items reached by traversing along the edges of the directed graph structure are determined as the influence range of the key configuration item.
7. The flight simulator configuration database version management and difference analysis method of claim 1, wherein, The topology relationship data among configuration items, the configuration item semantic information and the version operation history in the flight simulator configuration database are collected, including: The attribute table of each configuration item is extracted from the system registry of the flight simulator configuration database, the physical connection and the logical reference relationship among the configuration items are parsed according to the connection guide information in the attribute table, a directed graph structure taking the configuration item as a node and taking the physical connection and the logical reference relationship as an edge is constructed, and the topology relationship data among the configuration items is formed; The keyword set used to represent the function and the attribute of the configuration item is extracted from the preset description text field and the annotation field of the configuration item in the flight simulator configuration database, and the configuration item semantic information is formed; All operation records on the configuration item are extracted from the transaction log of the flight simulator configuration database, the operation records include the operation type, the target configuration item identifier, the operation timestamp and the operation content details, and the operation records are organized in the order of the operation timestamp, and the version operation history is formed.
8. A flight simulator configuration database version management and difference analysis system, characterized by, It includes: The collection module is used to collect the topology relationship data among configuration items, the configuration item semantic information and the version operation history in the flight simulator configuration database; The identification module is used to identify the key configuration item and the influence range of the key configuration item by establishing a configuration item change model based on the topology relationship data, the configuration item semantic information and the version operation history through dependency analysis; The processing module is used to store the configuration data containing multiple configuration item versions in the non-volatile memory crossbar array, to realize high-speed parallel access of the multiple version configuration data, and to support parallel comparison processing of the multiple configuration item versions by reconstructing the connection state of the crossbar network in the non-volatile memory crossbar array, to obtain a parallel comparison result; The synchronization module is used to convert the configuration change operations generated by different location sites into an operation sequence with interchangeability based on the configuration item change model, the influence range of the key configuration item and the parallel comparison result, to complete version synchronization among multiple sites and multi-site conflict detection and analysis by executing the operation sequence, and to generate synchronized configuration data; The generation module is used to generate a configuration difference report with a hierarchical structure based on the synchronized configuration data and the storage information in the non-volatile memory crossbar array, in combination with the topology relationship data among the configuration items and the configuration item semantic information, by using a structured difference synthesis technology to hierarchically organize and semantically analyze the configuration change content.
9. An electronic device, comprising: It includes: a memory for storing a computer program; a processor for implementing the steps of the flight simulator configuration database version management and difference analysis method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that, The computer program is stored in the computer readable storage medium and can be executed by the processor to implement the flight simulator configuration database version management and difference analysis method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for realizing S7 simulation based on S5 simulator
CN116860283A
Model difference contrastive analysis method, device, equipment and medium
CN117573199A
Software development data management method and system based on cloud service
CN120540692A