Aircraft static test data file processing method and device
By analyzing and renaming the aircraft static test data files and processing them in accordance with the standardized naming and storage rules, the problem of irregular data files is solved and more convenient data use is achieved.
Patent Information
- Application Number
- CN202411599650.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, the naming and storage of aircraft static test data files is not standardized, resulting in inconvenient data use.
By obtaining aircraft static test data files, analyzing file names and attribute information, determining naming rules and storage rules, renaming and recombining data files, forming a standardized multi-layer storage structure.
It realizes that the naming and storage of aircraft static test data files is more standardized and clear, saving manpower and material resources, and conveniently using data.
Smart Images

Figure CN119691088A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of aircraft test data processing, and in particular, relates to a method and device for processing aircraft static test data files. Background Art
[0002] The static strength test of full-scale aircraft structure is one of the prerequisites for flight test and design finalization in the aircraft development process. The static strength test of full-scale aircraft structure will generate a large amount of test data. The test personnel need to organize and summarize the test data so that the aircraft designers can understand the test conditions of the aircraft. The unified naming of test data files is conducive to the organization and summary of aircraft designers. However, there are currently the following problems in the storage of test data:
[0003] a) Data naming is not standardized: Due to different test units or test persons in charge, the names of test data files after the test are quite different, which is not convenient for the use of test data. For example, some test data are named "100% test of full machine condition 5.txt", "60%-0806.txt of full machine condition 2", "100% full machine test of condition 5.csv", etc.
[0004] b) Non-standard data storage: Different test units or test persons in charge have great differences in the storage of test data after the test, which is not convenient for the use of test data. For example, some test data storage paths are "test data\working condition 2\60% test data\100% test of full machine condition 5.txt", "test data\working condition 2\100% test of full machine condition 5.txt", "test data\full machine condition 2\100% test of full machine condition 5.txt", etc. Summary of the invention
[0005] The purpose of the present application is to provide a method and device for processing aircraft static test data files to solve or alleviate at least one problem in the background technology.
[0006] The technical solution of the present application is: a method for processing aircraft static test data files, characterized by comprising:
[0007] Acquire an aircraft static test data file, and parse the aircraft static test data file to obtain a file name and attribute information of the aircraft static test data file, wherein the attribute information includes a date and a file type corresponding to the aircraft static test data file;
[0008] Determine a naming rule and a storage rule for an aircraft static test data file, wherein the naming rule for the aircraft static test data file sequentially includes multiple factors, the factors include project name, load condition name, test load percentage, test date and file type, and the storage rule for the aircraft static test data file is to form a multi-layer storage structure according to product name, project name and load condition name;
[0009] Extract the file name and attribute information of the aircraft static test data file, rename the corresponding aircraft static test data file according to the naming rule of the aircraft static test data file and the extracted file name and attribute information of the aircraft static test data file, form a multi-level storage structure according to the storage rule of the aircraft static test data file, move the renamed aircraft static test data file to the corresponding level storage structure, and complete the processing of the aircraft static data file.
[0010] In an optional implementation manner of the present application, multiple factors in the naming rule of the aircraft static test data file are connected by connectors.
[0011] In an optional implementation manner of the present application, the connector includes “-”, “_” or “.”.
[0012] In an optional implementation manner of the present application, during the renaming process of the aircraft static test data files, if there are two or more file types of the aircraft static test data files, the aircraft static test data files are converted and unified into the same format type.
[0013] In a second aspect, the technical solution provided by the present application is: a device for processing aircraft static test data files, comprising:
[0014] A data preprocessing module, used for acquiring an aircraft static test data file, parsing the aircraft static test data file to obtain a file name and attribute information of the aircraft static test data file, wherein the attribute information includes a date and a file type corresponding to the aircraft static test data file;
[0015] A data rule module, used to determine the naming rule and storage rule of the aircraft static test data file, wherein the naming rule of the aircraft static test data file sequentially includes multiple factors, the factors include project name, load condition name, test load percentage, test date and file type, and the storage rule of the aircraft static test data file is to form a multi-layer storage structure according to product name, project name, and load condition name;
[0016] The data processing module extracts the file name and attribute information of the aircraft static test data file, renames the corresponding aircraft static test data file according to the naming rule of the aircraft static test data file and the extracted file name and attribute information of the aircraft static test data file, forms a multi-level storage structure according to the storage rule of the aircraft static test data file, moves the renamed aircraft static test data file to the corresponding level storage structure, and completes the processing of the aircraft static data file.
[0017] In an optional implementation manner of the present application, multiple factors in the naming rule of the aircraft static test data file are connected by connectors.
[0018] In an optional implementation manner of the present application, the connector includes “-”, “_” or “.”.
[0019] In an optional implementation manner of the present application, during the renaming process of the aircraft static test data files, if there are two or more file types of the aircraft static test data files, the aircraft static test data files are converted and unified into the same format type.
[0020] In a third aspect, the technical solution provided by the present application is: an electronic device, comprising:
[0021] one or more processors;
[0022] Memory;
[0023] One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the one or more processors, and the one or more applications are configured to implement the aircraft static test data file processing method as described in any one of the above items.
[0024] In the last aspect, the technical solution provided by the present application is: a computer storage medium, wherein the computer storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the aircraft static test data file processing method as described in any one of the above items.
[0025] Compared with conventional processing methods, the aircraft static test data file processing method and device of the present application can make the naming of aircraft static test data files more standardized and the storage structure clearer, which can save manpower and material resources and facilitate the use of static test data. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solution provided by the present application, the following is a brief introduction to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present application.
[0027] Figure 1 Schematic diagram of a method for processing aircraft static test data according to an embodiment of the present application.
[0028] Figure 2 This is a schematic diagram of the attribute information of an aircraft static test data file according to an embodiment of the present application.
[0029] Figure 3 This is a schematic diagram of the hierarchy of aircraft static test data files after processing according to an embodiment of the present application.
[0030] Figure 4 Schematic diagram of an aircraft static test data processing device according to an embodiment of the present application.
[0031] Figure 5 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of the implementation of this application clearer, the technical solutions in the embodiments of this application will be described in more detail below in conjunction with the drawings in the embodiments of this application.
[0033] In order to solve the problem in the background technology that different test units or test persons in charge do not name or store test data in a standardized manner, which leads to inconvenient use of test data, the present application provides a method and device for processing aircraft static test data files.
[0034] like Figure 1 As shown, the aircraft static test data processing method provided in this application includes the following process:
[0035] S100, acquiring an aircraft static test data file, parsing the aircraft static test data file to obtain a file name and attribute information of the aircraft static test data file, wherein the attribute information includes a date and a file type corresponding to the aircraft static test data file.
[0036] During the full-scale aircraft structure static test, a large number of aircraft static test data files are generated, and the names of the aircraft static test data files are different. In this application, the file name and attribute information of the aircraft static test data file can be obtained by parsing the aircraft static test data file. Figure 2The figure shows a typical aircraft static test data file attribute information diagram, which records the name, type, path, size, creation and modification date of the static test data file, etc. By traversing all aircraft static test data files, the file name of each aircraft static test data file and its corresponding attribute information can be obtained.
[0037] S200, determining the naming rules and storage rules of the aircraft static test data file, wherein the naming rules of the aircraft static test data file include factors such as project name, load condition name, test load percentage, test date and file type in sequence, and the storage rule of the aircraft static test data file is hierarchical storage, forming a three-layer drawer storage structure according to product name, project name, and load condition name.
[0038] In the present application, each factor in the naming rule of the aircraft static test data file can be connected by a connector such as "-", "_" or ".". For example, in one embodiment of the present application, the aircraft static test data file uses "-" as a connector for each factor, and it can be named "full aircraft-situation 2-60%-20240102.TXT".
[0039] S300, extract the file name and attribute information of the aircraft static test data file, rename the corresponding aircraft static test data file according to the naming rule of the aircraft static test data file and the extracted file name and attribute information of the aircraft static test data file, form a multi-level storage structure according to the storage rule of the aircraft static test data file, move the renamed aircraft static test data file to the corresponding level storage structure, and complete the processing of the aircraft static data file.
[0040] Wherein, during the renaming process of the aircraft static test data file, if the original aircraft static test data file has two or more file types, the original aircraft static test data file is converted to be unified into the same format type. In a preferred embodiment of the present application, the converted file type is usually a TXT format type. For example, in one embodiment of the present application, the original aircraft static test data file is a CSV format type, and it is simultaneously converted to a TXT format type during the renaming process.
[0041] like Figure 3The figure shows a schematic diagram of an aircraft static data file that has been renamed and stored in multiple levels in an embodiment of the present application. After renaming and transferring the original aircraft static test data file, a data file with a product name of "xx aircraft" and project names including "whole aircraft", "vertical tail", "horizontal tail" and other projects is formed. Each project contains multiple load conditions such as "case 1" and "case 2". Through the three-layer storage structure and its data files, aircraft design clerks can quickly process aircraft static test data to obtain test results.
[0042] like Figure 4 As shown, the present application also provides an aircraft static test data processing device, the aircraft static test data processing device 10 comprises:
[0043] The data preprocessing module 11 is used to obtain an aircraft static test data file, and parse the aircraft static test data file to obtain a file name and attribute information of the aircraft static test data file, wherein the attribute information includes a date and a file type corresponding to the aircraft static test data file;
[0044] The data rule module 12 is used to determine the naming rule and storage rule of the aircraft static test data file, wherein the naming rule of the aircraft static test data file includes factors such as project name, load condition name, test load percentage, test date and file type in sequence, and the storage rule of the aircraft static test data file is hierarchical storage, forming a three-layer drawer storage structure according to product name, project name, and load condition name;
[0045] The data processing module 13 is used to extract the file name and attribute information of the aircraft static test data file, rename the corresponding aircraft static test data file according to the naming rule of the aircraft static test data file and the extracted file name and attribute information of the aircraft static test data file, form a multi-level storage structure according to the storage rule of the aircraft static test data file, move the renamed aircraft static test data file to the corresponding level storage structure, and complete the processing of the aircraft static data file.
[0046] In the present application, various factors in the naming rules of the aircraft static test data file can be connected by connectors such as "-", "_" or ".".
[0047] In the present application, during the renaming process of the aircraft static test data file, if the original aircraft static test data file has two or more file types, the original aircraft static test data file is converted to be unified into the same format type. Preferably, the converted file type is usually a TXT format type.
[0048] Compared with conventional processing methods, the aircraft static test data file processing method and device of the present application can make the naming of aircraft static test data files more standardized and the storage structure clearer, which can save manpower and material resources and facilitate the use of static test data.
[0049] The present application also provides a schematic diagram of an electronic device, such as Figure 5 As shown, the electronic device 100 of the embodiment of the present application includes a processor 101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 102 or the program loaded from the storage device 108 to the random access memory (RAM) 103. The processor 101 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 101 may also include an onboard memory for caching purposes. The processor 101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.
[0050] In RAM 103, various programs and data required for the operation of electronic device 100 are stored. Processor 101, ROM 102 and RAM 103 are connected to each other via bus 104. Processor 101 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 102 and / or RAM 103. It should be noted that the program can also be stored in one or more memories other than ROM 102 and RAM 103. Processor 101 can also perform various operations of the method or flow according to the embodiment of the application by executing the program stored in the one or more memories.
[0051] According to an embodiment of the present application, the electronic device 100 may further include an input / output (I / O) interface 105, which is also connected to the bus 104. The electronic device 100 may further include one or more of the following components connected to the I / O interface 105: an input device 106 including a keyboard, a mouse, etc.; an output device 107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage device 108 including a hard disk, etc.; and a communication device 109 including a network interface card such as a LAN card, a modem, etc. The communication device 109 performs communication processing via a network such as the Internet. The drive 110 is also connected to the I / O interface 105 as needed. A removable medium 111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 110 as needed, so that the computer program read therefrom is installed into the storage device 108 as needed.
[0052] The present application also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, various operations of the above methods or processes according to the embodiments of the present application are implemented.
[0053] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present application, a computer-readable storage medium may include the ROM 102 and / or RAM 103 described above and / or one or more memories other than ROM 102 and RAM 103.
[0054] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for processing aircraft static test data files, characterized in that: include: Acquire an aircraft static test data file, and parse the aircraft static test data file to obtain a file name and attribute information of the aircraft static test data file, wherein the attribute information includes a date and a file type corresponding to the aircraft static test data file; Determine a naming rule and a storage rule for an aircraft static test data file, wherein the naming rule for the aircraft static test data file sequentially includes multiple factors, the factors include project name, load condition name, test load percentage, test date and file type, and the storage rule for the aircraft static test data file is to form a multi-layer storage structure according to product name, project name and load condition name; Extract the file name and attribute information of the aircraft static test data file, rename the corresponding aircraft static test data file according to the naming rule of the aircraft static test data file and the extracted file name and attribute information of the aircraft static test data file, form a multi-level storage structure according to the storage rule of the aircraft static test data file, move the renamed aircraft static test data file to the corresponding level storage structure, and complete the processing of the aircraft static data file.
2. The aircraft static test data file processing method according to claim 1, characterized in that: In the naming rule of the aircraft static test data file, multiple factors are connected by connectors.
3. The aircraft static test data file processing method according to claim 2, characterized in that: The connector includes "-", "_" or ". ".
4. The aircraft static test data file processing method according to claim 1, characterized in that: During the renaming process of the aircraft static test data file, if the aircraft static test data file has two or more file types, the aircraft static test data file is converted to be unified into the same format type.
5. An aircraft static test data file processing device, characterized in that: include: A data preprocessing module, used for acquiring an aircraft static test data file, parsing the aircraft static test data file to obtain a file name and attribute information of the aircraft static test data file, wherein the attribute information includes a date and a file type corresponding to the aircraft static test data file; A data rule module, used to determine the naming rule and storage rule of the aircraft static test data file, wherein the naming rule of the aircraft static test data file sequentially includes multiple factors, the factors include project name, load condition name, test load percentage, test date and file type, and the storage rule of the aircraft static test data file is to form a multi-layer storage structure according to product name, project name, and load condition name; The data processing module extracts the file name and attribute information of the aircraft static test data file, renames the corresponding aircraft static test data file according to the naming rule of the aircraft static test data file and the extracted file name and attribute information of the aircraft static test data file, forms a multi-level storage structure according to the storage rule of the aircraft static test data file, moves the renamed aircraft static test data file to the corresponding level storage structure, and completes the processing of the aircraft static data file.
6. The aircraft static test data file processing device according to claim 5, characterized in that: In the naming rule of the aircraft static test data file, multiple factors are connected by connectors.
7. The aircraft static test data file processing device according to claim 6, characterized in that: The connector includes "-", "_" or ". ".
8. The aircraft static test data file processing method according to claim 1, characterized in that: During the renaming process of the aircraft static test data file, if the aircraft static test data file has two or more file types, the aircraft static test data file is converted to be unified into the same format type.
9. An electronic device, characterized in that: include: one or more processors; Memory; One or more application programs, the one or more application programs are stored in the memory and are configured to be executed by the one or more processors, the one or more application programs are configured to implement the aircraft static test data file processing method according to any one of claims 1 to 4.
10. A computer storage medium, characterized in that: The computer storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the aircraft static test data file processing method as described in any one of claims 1 to 4.