A data editing method and device for simulation
Through data editing methods and devices, model data is parsed, screened, detected, compiled and processed, simplifying the development of virtual simulation training systems, solving the problems of low development efficiency and reliance on third-party tools in the existing technology, and achieving efficient system development and equipment simulation. .
Patent Information
- Application Number
- CN202410089800.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-01-22
AI Technical Summary
In the development of virtual simulation training systems, existing technology relies on third-party engine tools and senior programmers, resulting in low development efficiency and complex operations, making it difficult to develop, release and deliver a simple and easy-to-operate equipment-guaranteed virtual training system.
Provide a data editing method and device for simulation. By obtaining the model data information to be edited, performing analysis, screening, detection and compilation processing, the target model editing data information is generated, simplifying the interaction between the front-end and background programs, and achieving efficient human-computer interaction. and process design.
It improves system development efficiency and equipment simulation efficiency, provides a good foundation for the promotion of equipment editors in the simulation field, and reduces dependence on third-party engine tools and senior programmers.
Smart Images

Figure CN117931372B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of simulation technology, and in particular to a data editing method and device for simulation. Background Art
[0002] At present, in the process of developing virtual simulation training systems, when it comes to procedural or non-procedural business requirements in equipment support, it is necessary to use third-party engine tools for development, and the development team needs to have high technical literacy to be competent. Therefore, it is an urgent problem to break away from the dependence on third-party engine tools and senior programmers, and realize the equipment support virtual training system to complete the research and development, release, and delivery process in a simple and easy way. Therefore, a data editing method and device for simulation are provided to improve the efficiency of system development and equipment simulation, which lays a good foundation for the promotion of equipment editing in the simulation field. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a data editing method and device for simulation, which is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0004] In order to solve the above technical problems, a first aspect of an embodiment of the present invention discloses a data editing method for simulation, the method comprising:
[0005] Get the model data information to be edited;
[0006] Parse and filter the model data information to be edited to obtain target parsed data information;
[0007] The target parsing data information is detected and compiled to obtain the target model editing data information.
[0008] A second aspect of an embodiment of the present invention discloses a data editing device for simulation, the device comprising:
[0009] The acquisition module is used to obtain the data information of the model to be edited;
[0010] The first processing module is used to parse and filter the model data information to be edited to obtain target parsed data information;
[0011] The second processing module is used to detect and compile the target parsing data information to obtain the target model editing data information.
[0012] The third aspect of the present invention discloses another data editing device for simulation, the device comprising:
[0013] A memory storing executable program code;
[0014] a processor coupled to the memory;
[0015] The processor calls the executable program code stored in the memory to execute part or all of the steps in the data editing method for simulation disclosed in the first aspect of the embodiment of the present invention.
[0016] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the data editing method for simulation disclosed in the first aspect of the embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 It is a flowchart of a data editing method for simulation disclosed in an embodiment of the present invention;
[0019] Figure 2 It is a structural schematic diagram of a data editing device for simulation disclosed in an embodiment of the present invention;
[0020] Figure 3 It is a structural schematic diagram of another data editing device for simulation disclosed in an embodiment of the present invention;
[0021] Figure 4 It is a structural schematic diagram of a fault repair array disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.
[0024] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0025] The present invention discloses a data editing method and device for simulation, which is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field. Detailed descriptions are given below.
[0026] Embodiment 1
[0027] See also Figure 1 , Figure 1 1 is a flow chart of a data editing method for simulation disclosed in an embodiment of the present invention. Figure 1 The data editing method for simulation described is applied to a management system, such as a local server or a cloud server for management, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the data editing method for simulation may include the following operations:
[0028] 101. Obtain data information of the model to be edited.
[0029] 102. Analyze and filter the model data information to be edited to obtain target analysis data information.
[0030] 103. Detect and compile the target parsing data information to obtain the target model editing data information.
[0031] It should be noted that the data editing method for simulation of the present application can be used for a simulation system including a foreground program and a background program. The foreground program performs three-dimensionalization and visualization of equipment data and has interactivity, and the background program manages and edits equipment data and has serviceability. Furthermore, the user imports the data file exported by the background program into the foreground program, and the parameters will determine the action of the operator data conversion. Furthermore, the foreground program system decrypts and decompresses the tree data file, and then parses the tree data file. Furthermore, the foreground program system drives the disassembly and assembly, simulation operation, and fault repair of the three-dimensional equipment model based on the parsed tree data. The above system encapsulates each data operation in the form of a graphical plug-in, and the process design can be completed by simply dragging and connecting; the system provides input and output metadata and abnormal warning information visualization for each process node to achieve efficient human-computer interaction.
[0032] It can be seen that implementing the data editing method for simulation described in the embodiment of the present invention is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0033] In an optional embodiment, the above-mentioned parsing and screening of the model data information to be edited to obtain the target parsed data information includes:
[0034] Performing multiple data analysis processes on the model data information to be edited to obtain model analysis data information; the model analysis data information includes M target model analysis information; the target model analysis information includes first target model analysis information and / or second target model analysis information; the first target model analysis information includes N first target model analysis data;
[0035] The model analysis data information is filtered and screened to obtain the target analysis data information.
[0036] It should be noted that the above-mentioned first target model analysis information includes equipment component constraint relationships, assembly relationships, size information, etc., which is not limited in the embodiment of the present invention.
[0037] It should be noted that the above-mentioned second target model analysis information includes theoretical questions, disassembly and assembly, simulated operation, fault repair, and maintenance, which is not limited in the embodiment of the present invention.
[0038] It can be seen that implementing the data editing method for simulation described in the embodiment of the present invention is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0039] In another optional embodiment, the model data information to be edited is subjected to multiple data parsing processes to obtain model parsing data information, including:
[0040] Determine the first target parsing information according to the sequence relationship of the first data parsing information in the first parsing sequence information; the first parsing sequence information includes L first data parsing information; L is an integer not less than N;
[0041] Based on the first target parsing information, a first data parsing is performed on the model data information to be edited to obtain first model parsing information;
[0042] Determine whether the first target parsing information is the last data parsing information in the first parsing sequence information, and obtain a first parsing determination result;
[0043] When the first analysis judgment result is negative, the first standby model analysis information is updated using the first model analysis information, and the execution is triggered according to the sequence relationship of the first data analysis information in the first analysis sequence information to determine the first target analysis information;
[0044] When the first analysis judgment result is yes, determining the first standby model analysis information as the first target model analysis information;
[0045] Based on the second parsing sequence information, a second data parsing is performed on the model data information to be edited to obtain second target model parsing information; the second parsing sequence information includes K second data parsing information; K is a positive integer not greater than L.
[0046] It should be noted that the above-mentioned first data analysis information corresponds to the equipment component constraint relationship, assembly relationship, size information, etc. Further, the above-mentioned first data analysis information is preset and its order is determined.
[0047] It should be noted that the first data analysis of the model data information to be edited based on the first target analysis information may be implemented by calling an analysis function or based on a neural network, which is not limited in the embodiment of the present invention.
[0048] It should be noted that the second data analysis of the model data information to be edited based on the second analysis order information can be processed in a manner consistent with the data analysis of the model data information to be edited using the first analysis order information, or can be directly implemented based on a neural network, which is not limited in the embodiments of the present invention.
[0049] It can be seen that implementing the data editing method for simulation described in the embodiment of the present invention is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0050] In yet another optional embodiment, the model parsing data information is filtered and screened to obtain target parsing data information, including:
[0051] Determining a target model analysis information as the analysis information to be screened from the model analysis data information in sequence;
[0052] Determine whether the information to be screened and analyzed meets the validity conditions and obtain a valid judgment result;
[0053] When the effective judgment result is no, the to-be-screened parsing information is deleted from the model parsing data information, and the judgment process corresponding to the effective judgment result is terminated;
[0054] When the effective judgment result is yes, the judgment process corresponding to the effective judgment result is ended;
[0055] Determine whether the to-be-screened parsing information is the last target model parsing information in the model parsing data information, and obtain a second parsing judgment result;
[0056] When the second analysis judgment result is no, triggering execution to sequentially determine a target model analysis information from the model analysis data information as the analysis information to be screened;
[0057] When the second analysis judgment result is yes, the detection and compilation processing of the target analysis data information is triggered to obtain the target model editing data information.
[0058] It should be noted that the above validity condition is that there is data information stored at the data storage address corresponding to the information to be filtered and parsed.
[0059] It can be seen that implementing the data editing method for simulation described in the embodiment of the present invention is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0060] In yet another optional embodiment, the target parsing data information is detected and compiled to obtain the target model editing data information, including:
[0061] Performing edit detection processing on the target parsed data information to obtain first model edited data information;
[0062] Detect whether the compile signal is received and obtain the signal detection result;
[0063] When the signal detection result is yes, the model address information corresponding to the model data information to be edited is loaded;
[0064] Encapsulating the first model editing data information and the model address information to obtain the second model editing data information;
[0065] When the signal detection result is negative, the target interval time is determined based on the time interval model, the time coefficient and the time variable value;
[0066] The time interval model is:
[0067] A=B*C+D;
[0068] In the formula, A is the target interval time; B is the time coefficient; C is the historical average interval time; D is the time variable value;
[0069] After the target interval time, trigger the execution to detect whether the compile signal is received, and obtain the signal detection result;
[0070] The second model editing data information is subjected to data simplification processing to obtain the target model editing data information.
[0071] It should be noted that the above-mentioned editing detection processing includes data editing based on data editing rules, editing break detection, dead loop detection, data source anomaly detection, data intelligent decision-making, etc., which is not limited in the embodiments of the present invention.
[0072] Furthermore, the above-mentioned data intelligent decision-making uses the business source data and the neural network AI algorithm to intelligently provide users with recommended tree data editing prompts for equipment operations.
[0073] Furthermore, the data editing based on the data editing rules is designed and implemented based on the rule array, and the rule array ensures the intimacy and exclusivity of the data editing tree structure. The rule array refers to a series of control-level array features that can characterize the data rules, such as the disassembly and assembly array, the operation and use array, the maintenance array, the fault repair array, etc., where the fault repair array is Figure 4 Incorporating rule arrays into the tree editing system has the following advantages: First, the rule arrays are mapped one-to-one with the real data editing steps, and the rule arrays can highly constrain the calculation conversion logic of the real step set and estimate the calculation effect; second, the rule array fields are limited and are not affected by the number of samples in the real step set or the data source information. In the scenario of a large amount of source data, the rule array can still meet the rule constraint calculation.
[0074] It should be noted that after the encapsulation of the first model editing data information and model address information, the data can be visualized, so as to realize the real-time viewing of the correctness of data editing, the system implements the three-dimensional effect presentation of feedback data editing, timely identifies data editing problems, avoids blind editing by operators, and minimizes the trial and error cost of data editing. Further, the visualization of the second model editing data information supports two-dimensional visual editing and three-dimensional visual preview. At the scalability level, the visualization mechanism adopts the Model-View-View-Model (MVVM) mode, and realizes the separation of view and logic by abstracting the state and behavior. Users operate and interact in the View layer, the View layer supports visual editing and visual preview functions, the View layer and the ViewModel layer perform two-way data binding, the ViewModel layer mainly implements the view data model control and display logic, drives the view display of the View layer, and is also responsible for outputting data to the Model layer in reverse, the Model layer is responsible for the management of equipment data and business data, and is responsible for importing data into the ViewModel layer. Further, the two-dimensional visual editing and three-dimensional visual preview are completed, and the three-dimensional demonstration and three-dimensional operation of equipment are completed in the foreground.
[0075] It should be noted that the above time coefficient and time variable value may be set by the user or may be a default value given by the system, and the embodiment of the present invention does not limit this.
[0076] It should be noted that the above compilation signal may be triggered by a user or automatically by a system, which is not limited in the embodiment of the present invention.
[0077] It can be seen that implementing the data editing method for simulation described in the embodiment of the present invention is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0078] In an optional embodiment, the data simplification process is performed on the second model editing data information to obtain the target model editing data information, including:
[0079] Determine whether the data length corresponding to the second editing model data information is equal to a length threshold, and obtain a length determination result;
[0080] When the length judgment result is no, the second editing model data information is supplemented to obtain the third editing model data information;
[0081] When the length determination result is yes, determining the second editing model data information as the third editing model data information;
[0082] Classifying and sorting the third editing model data information to obtain first encrypted data information;
[0083] Encrypting the first encrypted data information to obtain second encrypted data information;
[0084] Determine whether the number of encryption times corresponding to the second encrypted data information is equal to the encryption threshold, and obtain an encryption determination result;
[0085] When the encryption judgment result is no, the first encrypted data information is replaced and updated with the second encrypted data information, and the encryption processing of the first encrypted data information is triggered to obtain the second encrypted data information;
[0086] When the encryption judgment result is yes, the second encrypted data information is subjected to reverse permutation and fusion processing to obtain third encrypted data information; the third encrypted data information is composed of a plurality of orderly arranged unit data information;
[0087] The third encrypted data information is lightweight processed to obtain target model editing data information.
[0088] It should be noted that the above-mentioned length threshold and encryption threshold may be set by the user or may be a default value given by the system, and the embodiment of the present invention does not limit this.
[0089] It should be noted that the above data padding process is to add zeros to the end of the data so that the data length reaches the length threshold.
[0090] It should be noted that the above classification and sorting process is to divide the third editing model data information into two data with equal lengths, and sort the new data according to the original order to form the first encrypted data information.
[0091] It should be noted that the above encryption processing includes extended substitution and / or XOR substitution, which is not limited in the embodiment of the present invention.
[0092] It should be noted that the above reverse permutation fusion process is to reversely permute the first sub-encrypted data information and the second sub-encrypted data information of equal length in the second encrypted data information from the end to the front, and concatenate the permuted data. Among them, the order of the first sub-encrypted data information is before the second sub-encrypted data information. If the first sub-encrypted data information is abcd and the second sub-encrypted data information is efgh, then after the reverse permutation fusion process, it is hgfedcba.
[0093] It can be seen that implementing the data editing method for simulation described in the embodiment of the present invention is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0094] In another optional embodiment, the third encrypted data information is lightweight processed to obtain target model editing data information, including:
[0095] Acquire first text information and backup lightweight data information;
[0096] sequentially determining a unit of data information from the third encrypted data information as the encrypted information to be used;
[0097] The first text information and the encrypted information to be used are merged to obtain the second text information;
[0098] Determine whether the standby lightweight data information includes the second text information, and obtain a determination result;
[0099] When the inclusion judgment result is no, filling the second text information into the spare lightweight data information to obtain new spare lightweight data information;
[0100] When the inclusion judgment result is yes, judging whether the encryption information to be used is the last unit data information in the third encrypted data information, and obtaining a third analysis judgment result;
[0101] When the result of the third analysis is negative, the first text information is replaced and updated by the second text information, and a unit data information is determined as the standby encrypted information from the third encrypted data information in sequence;
[0102] When the third analysis judgment result is yes, it is determined that the standby lightweight data information is the target model editing data information.
[0103] It should be noted that the above fusion processing of the first text information and the encrypted information to be used is to perform data splicing in the order of the first text information first and the encrypted information to be used later.
[0104] It can be seen that implementing the data editing method for simulation described in the embodiment of the present invention is conducive to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0105] Embodiment 2
[0106] See also Figure 2 , Figure 2 : is a schematic diagram of a data editing device for simulation disclosed in an embodiment of the present invention. Figure 2 The described device can be applied to a warehouse management system, such as a local server or cloud server for data editing and management for warehouse logistics simulation, etc., and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the device may include:
[0107] The acquisition module 201 is used to acquire the model data information to be edited;
[0108] The first processing module 202 is used to parse and filter the model data information to be edited to obtain target parsed data information;
[0109] The second processing module 203 is used to detect and compile the target parsing data information to obtain the target model editing data information.
[0110] It can be seen that implementation Figure 2 The described data editing device for simulation is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0111] In another optional embodiment, Figure 2 As shown, the first processing module 202 performs parsing and screening processing on the model data information to be edited to obtain target parsed data information, including:
[0112] Performing multiple data analysis processes on the model data information to be edited to obtain model analysis data information; the model analysis data information includes M target model analysis information; the target model analysis information includes first target model analysis information and / or second target model analysis information; the first target model analysis information includes N first target model analysis data;
[0113] The model analysis data information is filtered and screened to obtain the target analysis data information.
[0114] It can be seen that implementation Figure 2 The described data editing device for simulation is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0115] In yet another optional embodiment, Figure 2 As shown, the first processing module 202 performs multiple data analysis processes on the model data information to be edited to obtain model analysis data information, including:
[0116] Determine the first target parsing information according to the sequence relationship of the first data parsing information in the first parsing sequence information; the first parsing sequence information includes L first data parsing information; L is an integer not less than N;
[0117] Based on the first target parsing information, a first data parsing is performed on the model data information to be edited to obtain first model parsing information;
[0118] Determine whether the first target parsing information is the last data parsing information in the first parsing sequence information, and obtain a first parsing determination result;
[0119] When the first analysis judgment result is negative, the first standby model analysis information is updated using the first model analysis information, and the execution is triggered according to the sequence relationship of the first data analysis information in the first analysis sequence information to determine the first target analysis information;
[0120] When the first analysis judgment result is yes, determining the first standby model analysis information as the first target model analysis information;
[0121] Based on the second parsing sequence information, a second data parsing is performed on the model data information to be edited to obtain second target model parsing information; the second parsing sequence information includes K second data parsing information; K is a positive integer not greater than L.
[0122] It can be seen that implementation Figure 2 The described data editing device for simulation is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0123] In yet another optional embodiment, Figure 2 As shown, the second processing module 203 performs filtering and screening processing on the model parsing data information to obtain target parsing data information, including:
[0124] Determining a target model analysis information as the analysis information to be screened from the model analysis data information in sequence;
[0125] Determine whether the information to be screened and analyzed meets the validity conditions and obtain a valid judgment result;
[0126] When the effective judgment result is no, the to-be-screened parsing information is deleted from the model parsing data information, and the judgment process corresponding to the effective judgment result is terminated;
[0127] When the effective judgment result is yes, the judgment process corresponding to the effective judgment result is ended;
[0128] Determine whether the to-be-screened parsing information is the last target model parsing information in the model parsing data information, and obtain a second parsing judgment result;
[0129] When the second analysis judgment result is no, triggering execution to sequentially determine a target model analysis information from the model analysis data information as the analysis information to be screened;
[0130] When the second analysis judgment result is yes, the detection and compilation processing of the target analysis data information is triggered to obtain the target model editing data information.
[0131] It can be seen that implementation Figure 2The described data editing device for simulation is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0132] In yet another optional embodiment, Figure 2 As shown, the second processing module 203 performs detection and compilation processing on the target parsing data information to obtain the target model editing data information, including:
[0133] Performing edit detection processing on the target parsed data information to obtain first model edited data information;
[0134] Detect whether the compile signal is received and obtain the signal detection result;
[0135] When the signal detection result is yes, the model address information corresponding to the model data information to be edited is loaded;
[0136] Encapsulating the first model editing data information and the model address information to obtain the second model editing data information;
[0137] When the signal detection result is negative, the target interval time is determined based on the time interval model, the time coefficient and the time variable value;
[0138] The time interval model is:
[0139] A=B*C+D;
[0140] In the formula, A is the target interval time; B is the time coefficient; C is the historical average interval time; D is the time variable value;
[0141] After the target interval time, trigger the execution to detect whether the compile signal is received, and obtain the signal detection result;
[0142] The second model editing data information is subjected to data simplification processing to obtain the target model editing data information.
[0143] It can be seen that implementation Figure 2 The described data editing device for simulation is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0144] In yet another optional embodiment, Figure 2 As shown, the second processing module 203 performs data simplification processing on the second model editing data information to obtain the target model editing data information, including:
[0145] Determine whether the data length corresponding to the second editing model data information is equal to a length threshold, and obtain a length determination result;
[0146] When the length judgment result is no, the second editing model data information is supplemented to obtain the third editing model data information;
[0147] When the length determination result is yes, determining the second editing model data information as the third editing model data information;
[0148] Classifying and sorting the third editing model data information to obtain first encrypted data information;
[0149] Encrypting the first encrypted data information to obtain second encrypted data information;
[0150] Determine whether the number of encryption times corresponding to the second encrypted data information is equal to the encryption threshold, and obtain an encryption determination result;
[0151] When the encryption judgment result is no, the first encrypted data information is replaced and updated with the second encrypted data information, and the encryption processing of the first encrypted data information is triggered to obtain the second encrypted data information;
[0152] When the encryption judgment result is yes, the second encrypted data information is subjected to reverse permutation and fusion processing to obtain third encrypted data information; the third encrypted data information is composed of a plurality of orderly arranged unit data information;
[0153] The third encrypted data information is lightweight processed to obtain target model editing data information.
[0154] It can be seen that implementation Figure 2 The described data editing device for simulation is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0155] In yet another optional embodiment, Figure 2 As shown, the second processing module 203 performs lightweight processing on the third encrypted data information to obtain target model editing data information, including:
[0156] Acquire first text information and backup lightweight data information;
[0157] sequentially determining a unit of data information from the third encrypted data information as the encrypted information to be used;
[0158] The first text information and the encrypted information to be used are merged to obtain the second text information;
[0159] Determine whether the standby lightweight data information includes the second text information, and obtain a determination result;
[0160] When the inclusion judgment result is no, filling the second text information into the spare lightweight data information to obtain new spare lightweight data information;
[0161] When the inclusion judgment result is yes, judging whether the encryption information to be used is the last unit data information in the third encrypted data information, and obtaining a third analysis judgment result;
[0162] When the result of the third analysis is negative, the first text information is replaced and updated by the second text information, and a unit data information is determined as the standby encrypted information from the third encrypted data information in sequence;
[0163] When the third analysis judgment result is yes, it is determined that the standby lightweight data information is the target model editing data information.
[0164] It can be seen that implementation Figure 2 The described data editing device for simulation is beneficial to improving system development efficiency, improving equipment simulation efficiency, and laying a good foundation for the promotion of equipment editing in the simulation field.
[0165] Embodiment 3
[0166] See also Figure 3 , Figure 3 is a structural diagram of another data editing device for simulation disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a warehouse management system, such as a local server or cloud server for data editing and management for warehouse logistics simulation, etc., and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the device may include:
[0167] A memory 301 storing executable program codes;
[0168] a processor 302 coupled to the memory 301;
[0169] The processor 302 calls the executable program code stored in the memory 301 to execute the steps in the data editing method for simulation described in the first embodiment.
[0170] Embodiment 4
[0171] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the data editing method for simulation described in the first embodiment.
[0172] Embodiment 5
[0173] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the data editing method for simulation described in the first embodiment.
[0174] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0175] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0176] Finally, it should be noted that the data editing method and device for simulation disclosed in the embodiment of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A data editing method for simulation, characterized in that: Methods include: Get the model data information to be edited; Parse and filter the model data information to be edited to obtain target parsed data information; Detect and compile the target parsing data information to obtain the target model editing data information; The detecting and compiling of the target parsing data information to obtain the target model editing data information includes: Performing edit detection processing on the target parsed data information to obtain first model edited data information; Detect whether the compile signal is received and obtain the signal detection result; When the signal detection result is yes, the model address information corresponding to the model data information to be edited is loaded; Encapsulating the first model editing data information and the model address information to obtain the second model editing data information; When the signal detection result is negative, the target interval time is determined based on the time interval model, the time coefficient and the time variable value; The time interval model is: A=B*C+D; In the formula, A is the target interval time; B is the time coefficient; C is the historical average interval time; D is the time variable value; After the target interval time, trigger the execution to detect whether the compile signal is received, and obtain the signal detection result; The second model editing data information is subjected to data simplification processing to obtain the target model editing data information.
2. The data editing method for simulation according to claim 1, characterized in that: The parsing and screening of the model data information to be edited to obtain target parsed data information includes: Performing multiple data analysis processes on the model data information to be edited to obtain model analysis data information; the model analysis data information includes M target model analysis information; the target model analysis information includes first target model analysis information and / or second target model analysis information; the first target model analysis information includes N first target model analysis data; The model analysis data information is filtered and screened to obtain the target analysis data information.
3. The data editing method for simulation according to claim 2, characterized in that: The data information of the model to be edited is subjected to multiple data analysis processes to obtain model analysis data information, including: Determine the first target parsing information according to the sequence relationship of the first data parsing information in the first parsing sequence information; the first parsing sequence information includes L first data parsing information; L is an integer not less than N; Based on the first target parsing information, a first data parsing is performed on the model data information to be edited to obtain first model parsing information; Determine whether the first target parsing information is the last data parsing information in the first parsing sequence information, and obtain a first parsing determination result; When the first analysis judgment result is negative, the first standby model analysis information is updated using the first model analysis information, and the execution is triggered according to the sequence relationship of the first data analysis information in the first analysis sequence information to determine the first target analysis information; When the first analysis judgment result is yes, determining the first standby model analysis information as the first target model analysis information; Based on the second parsing sequence information, a second data parsing is performed on the model data information to be edited to obtain second target model parsing information; the second parsing sequence information includes K second data parsing information; K is a positive integer not greater than L.
4. The data editing method for simulation according to claim 2, characterized in that: The filtering and screening of the model analysis data information to obtain the target analysis data information includes: Determining a target model analysis information as the analysis information to be screened from the model analysis data information in sequence; Determine whether the information to be screened and analyzed meets the validity conditions and obtain a valid judgment result; When the effective judgment result is no, the to-be-screened parsing information is deleted from the model parsing data information, and the judgment process corresponding to the effective judgment result is terminated; When the effective judgment result is yes, the judgment process corresponding to the effective judgment result is ended; Determine whether the to-be-screened parsing information is the last target model parsing information in the model parsing data information, and obtain a second parsing judgment result; When the second analysis judgment result is no, triggering execution to sequentially determine a target model analysis information from the model analysis data information as the analysis information to be screened; When the second analysis judgment result is yes, the detection and compilation processing of the target analysis data information is triggered to obtain the target model editing data information.
5. The data editing method for simulation according to claim 1, characterized in that: The step of performing data simplification processing on the second model editing data information to obtain the target model editing data information includes: Determine whether the data length corresponding to the second editing model data information is equal to a length threshold, and obtain a length determination result; When the length judgment result is no, the second editing model data information is supplemented to obtain the third editing model data information; When the length determination result is yes, determining the second editing model data information as the third editing model data information; Classifying and sorting the third editing model data information to obtain first encrypted data information; Encrypting the first encrypted data information to obtain second encrypted data information; Determine whether the number of encryption times corresponding to the second encrypted data information is equal to the encryption threshold, and obtain an encryption determination result; When the encryption judgment result is no, the first encrypted data information is replaced and updated with the second encrypted data information, and the encryption processing of the first encrypted data information is triggered to obtain the second encrypted data information; When the encryption judgment result is yes, the second encrypted data information is subjected to reverse permutation and fusion processing to obtain third encrypted data information; the third encrypted data information is composed of a plurality of orderly arranged unit data information; The third encrypted data information is lightweight processed to obtain target model editing data information.
6. The data editing method for simulation according to claim 5, characterized in that: The step of performing lightweight processing on the third encrypted data information to obtain target model edited data information includes: Acquire first text information and backup lightweight data information; sequentially determining a unit of data information from the third encrypted data information as the encrypted information to be used; The first text information and the encrypted information to be used are merged to obtain the second text information; Determine whether the standby lightweight data information includes the second text information, and obtain a determination result; When the inclusion judgment result is no, filling the second text information into the spare lightweight data information to obtain new spare lightweight data information; When the inclusion judgment result is yes, judging whether the encryption information to be used is the last unit data information in the third encrypted data information, and obtaining a third analysis judgment result; When the result of the third analysis is negative, the first text information is replaced and updated by the second text information, and a unit data information is determined as the standby encrypted information from the third encrypted data information in sequence; When the third analysis judgment result is yes, it is determined that the standby lightweight data information is the target model editing data information.
7. A data editing device for simulation, characterized in that: The device includes: The acquisition module is used to obtain the data information of the model to be edited; The first processing module is used to parse and filter the model data information to be edited to obtain target parsed data information; The second processing module is used to detect and compile the target parsing data information to obtain the target model editing data information; The detecting and compiling of the target parsing data information to obtain the target model editing data information includes: Performing edit detection processing on the target parsed data information to obtain first model edited data information; Detect whether the compile signal is received and obtain the signal detection result; When the signal detection result is yes, the model address information corresponding to the model data information to be edited is loaded; Encapsulating the first model editing data information and the model address information to obtain the second model editing data information; When the signal detection result is negative, the target interval time is determined based on the time interval model, the time coefficient and the time variable value; The time interval model is: A=B*C+D; In the formula, A is the target interval time; B is the time coefficient; C is the historical average interval time; D is the time variable value; After the target interval time, trigger the execution to detect whether the compile signal is received, and obtain the signal detection result; The second model editing data information is subjected to data simplification processing to obtain the target model editing data information.
8. A data editing device for simulation, characterized in that: The device includes: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the data editing method for simulation as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which, when called, are used to execute the data editing method for simulation as claimed in any one of claims 1 to 6.
