A method and device for batch renaming file names based on drone data

Through batch renaming methods and devices for file names of drone data, the drone image file names are automatically processed, solving the problem of file names confusion between multiple drones, improving efficiency and accuracy, and ensuring the consistency of file names sex.

CN118503215BActive Publication Date: 2024-11-12CHENGDU WELCH SPACE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410954750.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-12
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

In drone aerial photography mission, since the image file names and POS file names of multiple drones are easily confused, the existing manual modification methods are inefficient and prone to errors, which affects the use of subsequent software.

Method used

Provide a batch renaming method and device for file names based on drone data. By selecting modification mode, old file name and custom replacement name, it automatically modifies image file names in batches to ensure files in POS files and image folders. The names are the same.

Benefits of technology

实现了图像文件名的统一修改,避免了混淆,提高了效率,简化了文件名管理,确保了文件名的正确对应,提高了数据处理的准确性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503215B_ABST
    Figure CN118503215B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for batch renaming file names based on drone data, which includes obtaining a selection modification mode determined in a selection box, an image file name to be modified input in an old file name input edit box, and a custom edit replacement name input in a modification edit box; reading image file names from a flight data folder generated by a drone and storing them in a data group, and sequentially arranging the image file names in the data group in a character display area; obtaining the image file name to be modified input in an old file name input edit box and a custom edit replacement name input in a modification edit box; according to the selection modification mode, replacing all characters in the image file name in the data group that are identical to the file name to be modified with the custom edit replacement name, and writing the image file names in the data group back to the flight data folder. The image file names in the drone flight data folder are batch modified, thereby improving work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for batch renaming file names based on drone data. Background Art

[0002] For each drone, POS data and image data will be recorded during the aerial photography process and stored in different folders with different file names and file formats. After the drone operator completes the aerial photography mission, the flight control data needs to be exported, and then the POS data and the captured photos are extracted from the flight control data to create a POS file for other software applications.

[0003] However, since multiple drones will be involved in each aerial photography mission, the image data recorded by each drone has the same storage file name and file format. When making POS files, confusion can easily arise because the image file names of each drone are the same. Therefore, the file names of the image data storage need to be modified for distinction. In addition, for POS files, when the POS files are subsequently used, it is necessary to read both the POS data and its corresponding image data at the same time. Therefore, it is necessary to ensure that the image name in the POS file is consistent with the file name of the image data.

[0004] In order to distinguish the file names of image data obtained from different drones, the file names corresponding to the image data of each drone and the image file names extracted from the POS file are generally imported into an Excel table, and then manually modified. After the modification is completed, it is written back to the original file. This method has a large workload and the data of multiple drones are similar. Manual modification is easy to confuse and cause errors. In addition, the file names do not correspond, which will affect the use of subsequent software. Summary of the invention

[0005] The purpose of the present invention is to provide a method and device for batch renaming file names based on drone data, which can batch modify the image file names in the POS file and the image file names in the image folder at the same time, realize unified modification, avoid confusion caused by similar image file names, and batch modification can improve efficiency.

[0006] In order to achieve the above objectives, this application adopts the following scheme:

[0007] On the one hand, the present invention provides a method for batch renaming file names based on drone data, which specifically includes the following steps:

[0008] Get the selected modification mode determined in the selection box, the image file name to be modified entered in the old file name input edit box, and the custom edit replacement name entered in the modification edit box;

[0009] Read the image file names from the flight data folder generated by the drone and store them in the data group, and arrange the image file names in the data group in sequence in the character display area;

[0010] Get the image file name to be modified entered in the old file name input edit box and the custom edit replacement name entered in the modify edit box;

[0011] According to the selected modification mode, all characters in the image file names in the data group that are the same as the file names to be modified are replaced with the custom edit replacement names, and the image file names in the data group are written back to the flight data folder.

[0012] In some specific implementations, if the selected modification mode is global modification, and the first character display area and the second character display area are renamed at the same time, the following steps are specifically included:

[0013] S1, reading the first image file names of all image files from the image data folder generated by the corresponding drone and storing them in the first data group; arranging the file names in the first data group in sequence in the first character display area;

[0014] S2, extracting image file names from POS data generated by a single drone flight and storing them in a second data group, and arranging the second image file names in the second data group in sequence in a second character display area;

[0015] S3, obtaining the image file name to be modified entered in the old file name input edit box and the custom edit replacement name entered in the modification edit box;

[0016] S4, replace all characters in the first image file name in the first data group that are identical to the image file name to be modified with a custom edit replacement name, and refresh the first character display area; at the same time, use the modified first data group to traverse and replace each corresponding second image file name in the second data group, and refresh the second character display area;

[0017] S5. Write the updated image names in the first data group and the second data group back to the image data folder and the POS data respectively.

[0018] In some optional implementations, the amount of data stored in the first data group and the second data group is equal.

[0019] In some optional implementations, the amount of data displayed in the first character display area and the second character display area is equal, and the method further includes the following steps before displaying:

[0020] Splitting the POS data field into an image file name field and a flight-related data field, and sequentially storing the image file name field into the second data group;

[0021] Determine whether the data amounts in the first data group and the second data group are equal, and if not, calculate the data amount difference between the first data group and the second data group;

[0022] Sort the POS data according to the flight-related data fields of the POS data to obtain a POS data column, and obtain several data in the middle of the POS data column to calculate the median value;

[0023] The POS data is taken from the head or tail of the POS data column and compared with the median value to determine whether it exceeds the threshold value. If so, the second image file name corresponding to the POS data is deleted from the second data group.

[0024] In some optional implementations, obtaining the custom edit replacement name in step S3 further includes the steps of:

[0025] The obtained custom edit replacement name is subjected to a legality judgment to determine whether the naming of the custom edit replacement name complies with the definition of the file name. If so, step S4 is executed; if not, a prompt is given to re-enter the name.

[0026] In some optional implementations, step S6 is further included to obtain a POS file according to the modified POS data and the image data folder, and the specific process is as follows:

[0027] Extract the flight-related data fields from the modified POS data as the second fields and store them in the second sequence in sequence;

[0028] Get image files from the image data folder, and count the number of image files stored in the image data folder;

[0029] Determine whether the number of image files is the same as the amount of data stored in the second sequence. If they are different, filter the data in the second sequence. If they are the same, obtain the image file names and store them in the first sequence in order. The first sequence and the second sequence have the same and corresponding data amounts.

[0030] The first sequence is used to traverse the second sequence, and each image file name in the first sequence is used as the first field to be concatenated with its corresponding second field in the second sequence, so as to obtain a plurality of POS data and store them in the POS file in sequence.

[0031] In some optional implementations, if the selected modification mode is local modification, only the first character display area is renamed, which specifically includes the following steps:

[0032] Step 1: Read the image file names of all image files from the image data folder generated by a single drone and store them in a first data group; arrange the image file names in the first data group in sequence in the first character display area;

[0033] Step 2, obtain the image file name to be modified entered in the old file name input edit box and the custom edit replacement name entered in the modify edit box;

[0034] Step 3, replacing all characters in the image file names of the image data group that are identical to the image file names to be modified with the custom edit replacement names, and storing the replaced image file names in the second data group;

[0035] Step 4, displaying the image file names in the second data group in the second character display area, and writing the image file names in the second data group back to the image data folder;

[0036] Step 5: Get the flight control data of the drone and combine it with the image data folder to get the POS file.

[0037] In some specific implementations, in step 5, the process of obtaining the POS file is:

[0038] Extract CAM records from the exported flight control data, count the number of CAM records, extract flight-related data from each CAM record as the second field and store them in the second array in sequence;

[0039] Get the image file name from the renamed image data folder, and count the number of image files stored in the image data folder;

[0040] Determine whether the number of image files is the same as the number of CAM records. If they are different, filter the CAM records. If they are the same, obtain the image file names and store them in the first sequence in order. The first sequence and the second sequence have the same and corresponding data volume.

[0041] The first sequence is used to traverse the second sequence, and each image file name in the first sequence is used as a first field to be concatenated with its corresponding second field in the second sequence, so as to obtain a plurality of POS data and store them in a POS file.

[0042] In some specific implementations, the method for screening CAM records is:

[0043] Sort the flight-related data, obtain several data in the middle of the data column to calculate the median value, take out the data value corresponding to the data volume difference from the head or tail of the data column, and calculate the absolute value of the difference with the median value, and determine whether the absolute value of the difference exceeds the threshold. If so, delete the data.

[0044] In some specific implementations, in step 2, a legality judgment needs to be made for the custom edit replacement name entered to determine whether the naming of the custom edit replacement name conforms to the definition of the file name. If it conforms, step 3 is executed; if it does not conform, a prompt is given to re-enter the name.

[0045] In a third aspect, the present application provides a device for batch renaming file names based on drone data, comprising:

[0046] Display module, including:

[0047] A first character display area, used to display the name of the first image file stored in the first data group;

[0048] A second character display area is used to display the name of the second image file stored in the second data group;

[0049] An editing area, including an old file name input edit box for inputting a name of an image file to be modified, a modification edit box for inputting a custom edit replacement name, and a selection box for selecting a modification mode;

[0050] A modification and replacement module, used for obtaining a custom edit replacement name input in the modification edit box, replacing all characters in the first data group and / or the second data group that are identical to the name of the image file to be modified with the custom edit replacement name according to the selected modification mode determined by the selection box, updating the first data group and the second data group, and refreshing the first character display area and / or the second character display area;

[0051] The data writing module is used to write the updated image names in the first data group and / or the second data group back to the original files respectively.

[0052] The present invention has the beneficial effects:

[0053] The file name batch renaming method in the present application provides two optional modification methods. The image file names in the POS file and the image file names in the image folder can be batch modified at the same time to achieve unified modification and avoid confusion caused by similar image file names. The image file names can also be batch modified separately to facilitate the call of other files to the image folder. The batch modification in the present application can improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of a display interface of a file batch renaming device provided by an embodiment of the present invention;

[0055] Figure 2 A flow chart of a method for batch renaming of files based on drones provided in an embodiment of the present invention;

[0056] Figure 3 A flow chart of another method for batch renaming file names based on drone data provided by an embodiment of the present invention;

[0057] Figure 4 A schematic diagram of flight control data recording provided by an embodiment of the present invention;

[0058] Figure 5 A schematic diagram of naming image files in an image data folder provided by an embodiment of the present invention;

[0059] Figure 6 A schematic diagram of POS data provided by an embodiment of the present invention;

[0060] Figure 7 A schematic diagram of modified POS data provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. 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.

[0062] The relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0063] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0064] Additionally, descriptions of well-known structures, functions, and configurations may be omitted for clarity and conciseness.One of ordinary skill in the art will recognize that various changes and modifications may be made to the examples described herein without departing from the spirit and scope of the present disclosure.

[0065] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0066] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0067] Example 1

[0068] like Figure 1 As shown, this embodiment provides a device for batch renaming file names based on drone data, including:

[0069] Display module, including:

[0070] A first character display area, used to display the name of the first image file stored in the first data group;

[0071] A second character display area is used to display the name of the second image file stored in the second data group;

[0072] An editing area, including an old file name input edit box for inputting a name of an image file to be modified and a modification edit box for inputting a custom edit replacement name; and also including a selection box for selecting a modification mode;

[0073] A modification and replacement module is used to obtain the custom edit replacement name input in the modification edit box, replace all characters in the first data group and / or the second data group that are identical to the name of the image file to be modified with the custom edit replacement name according to the selected modification mode determined by the selection box, and update the first data group and the second data group, and refresh the first character display area and the second character display area;

[0074] The data writing module is used to write back the image names in the updated first data group and / or the second data group to the original files, which are POS files and / or image data files.

[0075] Example 2

[0076] like Figure 2 As shown, the tool can be used alone to batch modify image names. In this case, the image names can be modified in advance before generating the POS file, and the modified image folder can be directly imported into the POS file, and the POS file does not need to be modified again later. At this time, the first character display area is used to display the image file names of all image files read from the image folder; the editing area includes a selection box for selecting the modification mode. If the current selected modification mode is to modify only the first character display area, the specific process is as follows:

[0077] 1. Read the image file names of all image files from the image data folder generated by a single drone and store them in a first data group; arrange the image file names in the first data group in sequence in the first character display area;

[0078] 2. Get the image file name to be modified entered in the old file name input edit box and the custom edit replacement name entered in the modify edit box;

[0079] 3. Replace all characters in the image file names of the image data group that are identical to the image file names to be modified with the custom edit replacement names, and store the replaced image file names in the second data group;

[0080] 4. Display the image file name in the second data group in the second character display area;

[0081] 5. Write the image file names in the second data group back to the image data folder.

[0082] 6. Get the POS file. The specific process is:

[0083] like Figure 4 As shown, CAM records are extracted from the exported flight control data, the number of CAM records is counted, each CAM record is divided into an image file name field and a flight-related data field, and the flight-related data field is extracted from each CAM record as a second field and sequentially stored in a second sequence;

[0084] Obtain the image files whose file names are modified in the above steps 1-5 from the image data folder, and count the number of image files stored in the image data folder;

[0085] In order to ensure that the one-to-one replacement can correspond, it is necessary to ensure that the amount of data recorded in the CAM is consistent with the number of image files obtained by shooting. Then, it is determined whether the number of image files is the same as the number of CAM records. If they are different, the CAM records are screened. The specific process is as follows:

[0086] Sort the flight-related data, obtain several data in the middle of the data column to calculate the median value. For example, in this embodiment, the middle of the data column can be: data at half of the total number of data columns, and several data can be the same number of values ​​before and after the half position. For example, if the length of the data column is 100, then the data corresponding to the middle positions 49, 50, and 51 are obtained. Figure 6 As shown in the figure, this is because the flight data is not much different before and after the difference. If there is an abnormal value, you only need to sort it, and then observe the data that is obviously smaller than the majority value to know that the data is abnormal data. Take the data value corresponding to the data volume difference from the head or tail of the data column, and calculate the absolute value of the difference with the median value, and judge whether the absolute value of the difference exceeds the threshold. If so, delete the CAM record and delete the flight-related data field corresponding to the CAM record from the second sequence.

[0087] If they are the same, the image file names are obtained and stored in the first sequence in order; the data volume of the first sequence and the second sequence is ensured to be the same and corresponding; at this time, it is also necessary to ensure that the sorting of the first sequence and the second sequence is in descending or ascending order according to the image file names;

[0088] The first sequence is used to traverse the second sequence, and each image file name in the first sequence is used as a first field to be concatenated with its corresponding second field in the second sequence, so as to obtain a plurality of POS data and store them in a POS file.

[0089] Example 3

[0090] like Figure 3 As shown, after the POS file has been generated, if the image file name needs to be modified, or when the POS file is generated, because the name in the POS data is inconsistent with the image file name, the image name and the image file name corresponding to each POS data in the POS file need to be modified at the same time, and the renaming device can be used to modify the data in the two areas at the same time. At this time, the first character display area can display the second image file name of all image files read from the image data folder generated by the corresponding drone, and the second character display area can display the first image file name extracted from the POS file generated by a single drone; in the editing area, if the currently selected modification mode is global modification, the characters in the first character display area and the second character display area can be modified at the same time. The specific process is:

[0091] S1, reading the first image file names of all image files from the image data folder generated by the corresponding drone and storing them in the first data group; arranging the file names in the first data group in sequence in the first character display area;

[0092] S2, extracting image file names from POS data generated by a single drone flight and storing them in a second data group, and arranging the second image file names in the second data group in sequence in a second character display area;

[0093] In order to ensure that the data of the first data group and the second data group correspond one to one when modifying, the first data group is arranged in ascending (or descending) order according to the first image file name when sorting in the first display area, and the second data group is also arranged in ascending (or descending) order according to the first image file name in the same arrangement method as the first graphic file name when arranging in the second display area, and the amount of data displayed in the first character display area and the second character display area is equal, then before displaying, the method further includes the following steps:

[0094] S21, splitting the POS data field into an image file name field and a flight-related data field, and storing the image file name field in sequence into the second data group;

[0095] S22, determining whether the data amounts in the first data group and the second data group are equal, and if not, calculating the data amount difference between the first data group and the second data group;

[0096] S23, sorting the POS data according to the flight-related data fields of the POS data to obtain a POS data column, and obtaining a plurality of data in the middle of the POS data column to calculate a median value;

[0097] S24, taking out POS data from the head or tail of the POS data column and comparing it with the median value to determine whether it exceeds the threshold value, and if so, deleting the second image file name corresponding to the POS data from the second data group.

[0098] S3, obtain the image file name to be modified entered in the old file name input edit box and the custom edit replacement name entered in the modification edit box; generally speaking, Figure 5 As shown, the naming method of image file names is generally: DSC0XXXX.JPG. Therefore, it can be seen that the image file names have the same prefix. You only need to modify the prefix name uniformly. You can enter: DSC0 in the old file name input edit box and enter ABC0- in the modification edit box. You can indicate the flight sorties of the drone or other naming methods to distinguish them. In the display area, in order to write the modified image file name back to the original file, the path is also included. The path of each data is associated with the image file name of the data. After the modification is completed, the image file name is written back to the file of the corresponding path according to the original path.

[0099] For the input custom edit replacement name, the user may enter illegal characters, which may cause errors when writing back to the file. Therefore, after entering the custom name, it is necessary to judge the legality of the obtained custom edit replacement name to determine whether the naming of the custom edit replacement name conforms to the definition of the file name, that is, whether it contains illegal characters such as / :*? "<>|, etc. If it does, the file cannot be modified;

[0100] If it is consistent, step S4 is executed; if it is not consistent, a prompt is given to re-enter.

[0101] S4. For a POS file that has been generated, all characters in the first data group and the second data group that are identical to the image file name to be modified need only be replaced with a custom edit replacement name, and the first character display area and the second character display area need only be refreshed;

[0102] For the data just extracted from the flight control Figure 6 To show the POS data, you need to modify the image file name first and then replace the fields corresponding to the POS data corresponding to the image file name with the same name. The specific process is as follows:

[0103] Replace all characters in the first image file name in the first data group that are identical to the image file name to be modified with a custom edit replacement name, and refresh the first character display area; at the same time, use the modified first data group to traverse and replace each corresponding second image file name in the second data group, and refresh the second character display area;

[0104] S5. Write the updated image names in the first data group and the second data group back to the image data folder and the POS data respectively.

[0105] S6. According to the modified POS data and image data folder, the following is obtained: Figure 7 The POS file shown. The specific process is:

[0106] Extract the flight-related data fields from the modified POS data as the second fields and store them in the second sequence in sequence;

[0107] Get image files from the image data folder, and count the number of image files stored in the image data folder;

[0108] Determine whether the number of image files is the same as the amount of data stored in the second sequence. If they are different, filter the data in the second sequence. If they are the same, obtain the image file names and store them in the first sequence in order. The first sequence and the second sequence have the same and corresponding data amounts.

[0109] The first sequence is used to traverse the second sequence, and each image file name in the first sequence is used as the first field to be concatenated with its corresponding second field in the second sequence, so as to obtain a plurality of POS data and store them in the POS file in sequence.

[0110] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.

Claims

1. A method for batch renaming file names based on drone data, characterized in that: The specific steps include: Read the image file names from the flight data folder generated by the drone and store them in the data group, and arrange the image file names in the data group in sequence in the character display area; Get the selected modification mode determined in the selection box, the image file name to be modified entered in the old file name input edit box, and the custom edit replacement name entered in the modification edit box; According to the selected modification mode, replace all characters in the image file name in the data group that are the same as the file name to be modified with the custom edit replacement name, and write the image file name in the data group back to the flight data folder; Specifically, the character display area includes a first character display area and a second character display area. If the selected modification mode is global modification, and the first character display area and the second character display area are renamed at the same time, the following steps are specifically included: S1, reading the first image file names of all image files from the image data folder generated by the corresponding drone and storing them in the first data group; arranging the file names in the first data group in sequence in the first character display area; S2, extracting image file names from POS data generated by a single drone flight and storing them in a second data group, and arranging the second image file names in the second data group in sequence in a second character display area; S3, obtaining the image file name to be modified entered in the old file name input edit box and the custom edit replacement name entered in the modification edit box; If the amount of data displayed in the first character display area and the second character display area is equal, the method further includes the following steps before displaying: Splitting the POS data field into an image file name field and a flight-related data field, and sequentially storing the image file name field into the second data group; Determine whether the data amounts in the first data group and the second data group are equal, and if not, calculate the data amount difference between the first data group and the second data group; Sort the POS data according to the flight-related data fields of the POS data to obtain a POS data column, and obtain several data in the middle of the POS data column to calculate the median value; Taking out POS data from the head or tail of the POS data column and comparing it with the median value to determine whether it exceeds the threshold value, and if so, deleting the second image file name corresponding to the POS data from the second data group; S4, replace all characters in the first image file name in the first data group that are identical to the image file name to be modified with a custom edit replacement name, and refresh the first character display area; at the same time, use the modified first data group to traverse and replace each corresponding second image file name in the second data group, and refresh the second character display area; S5. Write the updated image names in the first data group and the second data group back to the image data folder and the POS data respectively.

2. The method for batch renaming file names based on drone data according to claim 1, characterized in that: Obtaining the custom edit replacement name in step S3 also includes the following steps: The obtained custom edit replacement name is subjected to a legality judgment to determine whether the naming of the custom edit replacement name complies with the definition of the file name. If so, step S4 is executed; if not, a prompt is given to re-enter the name.

3. The method for batch renaming file names based on drone data according to claim 1, characterized in that: The process also includes step S6, obtaining a POS file according to the modified POS data and the image data folder, and the specific process is as follows: Extract the flight-related data fields from the modified POS data as the second fields and store them in the second sequence in sequence; Get image files from the image data folder, and count the number of image files stored in the image data folder; Determine whether the number of image files is the same as the amount of data stored in the second sequence. If they are different, filter the data in the second sequence. If they are the same, obtain the image file names and store them in the first sequence in order. The first number sequence and the second number sequence have the same amount of data and correspond to each other; The first sequence is used to traverse the second sequence, and each image file name in the first sequence is used as the first field to be concatenated with its corresponding second field in the second sequence, so as to obtain a plurality of POS data and store them in the POS file in sequence.

4. A device for batch renaming file names based on drone data, using a method for batch renaming file names based on drone data as claimed in claim 1, characterized in that: include: Display module, including: A first character display area, used to display the name of the first image file stored in the first data group; A second character display area is used to display the name of the second image file stored in the second data group; An editing area, including an old file name input edit box for inputting a name of an image file to be modified, a modification edit box for inputting a custom edit replacement name, and a selection box for selecting a modification mode; A modification and replacement module, used for obtaining a custom edit replacement name input in the modification edit box, replacing all characters in the first data group and the second data group that are identical to the name of the image file to be modified with the custom edit replacement name according to the selected modification mode determined by the selection box, updating the first data group and the second data group, and refreshing the first character display area and / or the second character display area; The data writing module is used to write the updated image names in the first data group and the second data group back to the original files respectively.