Method and device for sorting navigation data
The method and device for organizing navigation data address the issues of data loss and access errors by implementing reliability protection and segmentation, ensuring reliable and efficient backup operations.
Patent Information
- Application Number
- CN202411143758.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-12-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing navigation data collection systems lack reliability comparison and loss detection, leading to potential data loss and access errors, which compromise the integrity and efficiency of data backup.
A method and device for organizing navigation data that includes reliability protection, navigation data loss analysis, access error control, and information hierarchy segmentation to ensure data integrity and stability during backup operations.
Ensures reliable and efficient navigation data backup by preventing data loss and access errors, maintaining the integrity of the backup file, and enhancing the reliability of the backup process.
Smart Images

Figure CN119127569A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of navigation data, and in particular relates to a method and device for organizing navigation data. Background Art
[0002] Navigation is the basis and premise for human beings to understand, utilize and develop the ocean. Whether it is fishing and aquaculture, or transporting passengers and goods at sea, conducting military activities in the ocean, conducting scientific surveys of the ocean, developing submarine oil and mineral resources, or engaging in sports and leisure activities at sea, from ancient times to the present, all human activities in the ocean are inseparable from navigation, that is, people driving ships to sail, anchor and operate at sea.
[0003] In order to ensure the safety of navigation, it is necessary to collect navigation data. The existing technical solution with patent publication number "CN210199334U" is often used to collect navigation data. Specifically, the observation device, data acquisition device and server in the control room installed on the navigation ship are connected in sequence. The observation device is used to collect navigation data and transmit it to the data acquisition device. The data acquisition device is used to transmit the collected navigation data to the server in the control room for backup, so as to achieve the purpose of collecting navigation data. The navigation data includes the density of CO2 in the ocean air, the density of H2O in the ocean air, the wind speed on the ocean surface, the surface temperature of the ocean water body and the net radiation value of the sea surface.
[0004] The server backs up the navigation data by backing up the navigation data into the backup file. The server does not perform a reliability comparison between the navigation data to be backed up and the backed up navigation data, and it is even difficult to perform correct control of the backup file reliability protection and ensure the reliability protection performance. In addition, it is also difficult to perform navigation data loss detection and access error control on the backup file, which is not conducive to the collection of navigation data. Summary of the invention
[0005] In order to solve the defects in the prior art, the present invention proposes a method and device for organizing navigation data, which compares the information level with the information level of the current backup file to prevent the navigation data level backed up by the backup file and the navigation data level currently backed up from being different. If the reliability level of the navigation data currently backed up is too small, the reliability protection plan cost of the backup file will increase; if the reliability level of the navigation data currently backed up is too large, the reliability backup suitability of the backup navigation data will be reduced, which is not suitable for the backup function of the backup file; perform navigation data loss analysis and detection on the backup file to determine whether there is a risk of navigation data loss when the backup operation module performs the backup file navigation data backup operation, ensure the reliability of the navigation data backed up in the backup file, and prevent the loss of navigation data from weakening the backup function of the backup file, which is not conducive to the reliability performance of the printing control instrument. Perform access error control on the navigation data backup operation of the backup operation module to prevent access errors from occurring when performing the navigation data backup operation on the navigation data backed up in the backup file, which would weaken the backup stability of the navigation data backed up in the backup file, making it difficult to ensure the backup reliability of the backup file and also causing cumbersome defects in the backup of the backup file; perform analysis prompts on the information backup in the backup file to determine whether the information backup in the backup file contains hidden dangers, thereby ensuring that the backup function in the backup file meets the requirements and facilitating the collection of navigation data.
[0006] The present invention uses the following technical solutions.
[0007] A method for collating navigation data, comprising:
[0008] The observation device collects navigation data and transmits it to the data acquisition device, which transmits the collected navigation data to the server in the control room for backup. The navigation data includes the density of CO2 in the ocean air, the density of H2O in the ocean air, the wind speed on the ocean surface, the surface temperature of the ocean water body and the net radiation value of the sea surface;
[0009] The method for backing up navigation data by a server in a control room comprises:
[0010] When the backup operation module performs navigation data backup, the reliability protection module generates an information hierarchy segmentation message and transmits the information hierarchy segmentation message to the information hierarchy segmentation module. After receiving the information hierarchy segmentation message, the information hierarchy segmentation module performs reliability analysis on the navigation data that the current backup operation module requires to be backed up, and after completing the reliability analysis, performs information hierarchy segmentation on the navigation data to be backed up, and compares the information hierarchy with the current backup file information hierarchy to prevent the navigation data hierarchy backed up by the backup file from being different from the navigation data hierarchy currently backed up.
[0011] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0012] The navigation data to be backed up transmitted by the backup operation module is divided into execution levels, and the permission probability of non-permitted objects passing through the encoding method in the same past encoding period as the corresponding encoding method of the navigation data to be backed up and the encoding coefficient refresh rate of the encoding method of the navigation data to be backed up are obtained, and the permission probability of non-permitted objects passing through the encoding method in the same past encoding period as the corresponding encoding method of the navigation data to be backed up and the encoding coefficient refresh rate of the encoding method of the navigation data to be backed up are defined as HM and QM respectively; the extension size of the application period of the encoding coefficient in the period when the navigation data to be backed up is not read or written, and the extension size of the application period of the encoding coefficient in the period when the navigation data to be backed up is not read or written is defined as TD;
[0013] Through the equation Obtain the data level segmentation factor Y of the navigation data to be backed up. In the equation, g1, g2 and g3 are all pre-defined ratios, and g1>g2>g3>0. χ is the accuracy calibration coefficient, and its value is 0.798.
[0014] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0015] The navigation data to be backed up are associated with the corresponding data level segmentation factors and the data level segmentation factors of the navigation data that have been backed up in the backup file at the current time point are obtained.
[0016] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0017] The highest value of the data level segmentation factors corresponding to the navigation data to be backed up and the navigation data that have been backed up is obtained, and the ratio of the number of navigation data that have been backed up whose corresponding data level segmentation factors are not greater than the defined segmentation factor critical value is also obtained; and the highest value of the data level segmentation factors corresponding to the navigation data to be backed up and the navigation data that have been backed up and the ratio of the number of navigation data that have been backed up whose corresponding data level segmentation factors are not greater than the defined segmentation factor critical value are respectively compared with the segmentation factor critical value and the information number ratio critical value.
[0018] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0019] The method of comparing the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up, and the number ratio of the navigation data that have been backed up and the corresponding data level segmentation factor of the navigation data to be backed up and the navigation data that have been backed up, which is not greater than the defined segmentation factor critical value, with the segmentation factor critical value and the information number ratio critical value, respectively, comprises:
[0020] If the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up is greater than the segmentation factor critical value, or the corresponding data level segmentation factor in the navigation data to be backed up and the navigation data that have been backed up is not greater than the defined segmentation factor critical value and the number ratio of the navigation data that have been backed up is not greater than the information number ratio critical value, it is determined that the level of the navigation data to be backed up is incompatible, a backup identification message is generated and the backup identification message is transmitted to the reliability protection module, and the reliability protection module performs analysis according to the application scenario of the server corresponding to the current backup file. If the increase rate of the corresponding parameter of the server application scenario is greater than the corresponding increase rate critical value, the real-time backup of the navigation data to be backed up is executed, and the real-time backup message is generated and transmitted to the backup file together with the navigation data to be backed up; otherwise, if the increase rate of the corresponding parameter of the server application scenario is not greater than the corresponding increase rate critical value, the backup of the navigation data to be backed up is suspended, and a backup suspension message is generated and transmitted to the backup operation module together with the navigation data to be backed up;
[0021] If the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up is not greater than the segmentation factor critical value, and the corresponding data level segmentation factors of the navigation data to be backed up and the navigation data that have been backed up are not greater than the defined segmentation factor critical value, and the ratio of the number of navigation data that have been backed up is greater than the information number ratio critical value, it is determined that the navigation data to be backed up is hierarchically adapted, and an immediate backup message is generated, and the immediate backup message and the navigation data to be backed up are transmitted to the backup file together.
[0022] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0023] During the real-time backup of the backup file, the reliability protection module performs backup reliability detection, the reliability protection module generates navigation data loss control information and transmits the navigation data loss control information to the navigation data loss control module. After the navigation data loss control module receives the navigation data loss control information, it performs navigation data loss analysis detection on the backup file to determine whether there is a risk of navigation data loss when the backup operation module performs the navigation data backup operation of the backup file.
[0024] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0025] When the backup document receives a data sorting instruction from the backup operation module during the execution of the navigation data backup, it will sort the backup area indicated by the instruction, obtain the time for sorting the backup area after the backup area in the backup document is sorted and replaced with a value group containing random numbers, and the time for sorting the corresponding backup pointer in the source backup area after the backup area in the backup document is sorted, and compare the time for sorting the backup area after the backup area in the backup document is sorted and replaced with a value group containing random numbers and the time for sorting the corresponding backup pointer in the source backup area after the backup area in the backup document is sorted with the time critical value and the time critical value respectively.
[0026] Preferably, the value group is the data replacement area in the backup area, that is, the backup area is cleared and then sent to the value group for replacement, and the source data is completely sorted to prevent data restoration. When there is no requirement for navigation data backup, the value group is written using the kernel file.
[0027] Preferably, the method of comparing the time taken to replace the backup area with a random number value group after the backup area in the backup file is sorted and the time taken to sort the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted with the time critical value and the time critical value respectively includes:
[0028] If the time taken to replace the backup area with a random number value group after the backup area in the backup file is sorted is greater than the time critical value, or the time taken to sort the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted is greater than the time critical value, it is determined that the backup file has a high risk of navigation data loss, and a high risk of leakage is generated and the high risk of leakage is transmitted to the reliability protection module. After receiving the high risk of leakage, the reliability protection module controls the time taken to sort the backup file and reduces the sorting execution time as required;
[0029] If the time taken to replace the backup area with a random number group after the backup area in the backup file is sorted is not greater than the time critical value, and the time taken to sort the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted is not greater than the time critical value, it is determined that the backup file has a low risk of navigation data loss, and a low risk of leakage message is generated and the low risk of leakage message is transmitted to the reliability protection module. After receiving the low risk of leakage message, the reliability protection module performs continuous detection on the backup file.
[0030] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0031] The reliability protection module generates an access error control message and transmits the access error control message to the access error control module. After receiving the access error control message, the access error control module performs access error control on the navigation data backup operation of the backup operation module.
[0032] Obtain the ratio of the data backup volume of the same navigation data backup operation operated at the same time point in the backup file and the redundancy number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file, and compare the ratio of the data backup volume of the same navigation data backup operation operated at the same time point in the backup file and the redundancy number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file with the data backup volume ratio critical value and the redundant number critical value of the redundant fields respectively.
[0033] Preferably, the method of comparing the ratio of the data backup amount of the same navigation data backup operation at the same time point in the backup file and the redundant number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file with the data backup amount ratio critical value and the redundant number critical value of the redundant field respectively comprises:
[0034] If the ratio of the data backup volume of the same navigation data backup operation at the same time point in the backup file is greater than the ratio critical value of the data backup volume, or the redundancy number of redundant fields in the navigation data backed up by the same navigation data backup operation in the backup file is greater than the redundancy number critical value of the redundant fields, the navigation data backed up correspondingly in the backup file is defined as an access error potential message, and the real-time navigation data backup operation is detected. If the ratio of the number of access error potential messages in the backed-up navigation data of the current navigation data backup operation is greater than the number ratio critical value, the backed-up navigation data of the current navigation data backup operation is immediately registered, and the corresponding backed-up navigation data is The sea data uses the backup navigation data backup area pointer as the execution identification code, and arranges the execution identification code according to the sequence of the current navigation data backup operation time point, and the current execution identification code and the execution time point are associated until the execution is completed; otherwise, the screening registration is performed according to the set execution time critical value of the access error hidden danger message; the screening registration includes: if the absolute value of the amount obtained by subtracting the required time from the defined execution time critical value is greater than the corresponding critical value, the directory name of the backup navigation data is directly used as the execution identification code, and if the absolute value of the amount obtained by subtracting the required time from the set execution time critical value is not greater than the corresponding critical value, the immediate registration is performed;
[0035] If the ratio of the data backup volume of the same navigation data backup operation operated at the same time point in the backup file is not greater than the data backup volume ratio critical value, and the redundancy number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file is not greater than the redundancy number critical value of the redundant fields, the corresponding backed up navigation data in the backup file is defined as an access error reliability message, and the access error reliability message is executed and the directory name of the backed up navigation data is directly used as the execution identification code.
[0036] Preferably, the method for backing up navigation data by the server in the control room further includes:
[0037] The reliability protection module generates a backup analysis prompt message and transmits the backup analysis prompt message to the backup analysis prompt module. After receiving the backup analysis prompt message, the backup analysis prompt module performs analysis prompt on the information backup in the backup document.
[0038] Obtain the absolute value 1 of the amount obtained by subtracting the maximum required amount of the backup operation of the navigation data of the backups on both sides adjacent to each other in the same backup area in the backup file and the absolute value 2 of the amount obtained by subtracting the backup amount increase rate of the navigation data of the backups on both sides adjacent to each other in the same backup area in the backup file, and compare the absolute value 1 and the absolute value 2 with the absolute value 1 threshold and the absolute value 2 threshold respectively:
[0039] If the absolute value 1 is greater than the absolute value 1 critical value, or the absolute value 2 is greater than the absolute value 2 critical value, the backup analysis in the backup file is deemed abnormal, a backup prompt message is generated and the backup prompt message is transmitted to the reliability protection module. After the reliability protection module receives the backup prompt message, it performs backup area control on the navigation data that requires backup transmitted by the backup operation module;
[0040] If the absolute value one is not greater than the absolute value one critical value, and the absolute value two is not greater than the absolute value two critical value, the backup analysis in the backup file is deemed to be reasonable, a backup reasonable message is generated, and the backup reasonable message is transmitted to the reliability protection module.
[0041] A device for organizing navigation data, comprising:
[0042] The observation device and data acquisition device installed on the navigation ship are connected in sequence with the server in the control room. The observation device is used to collect navigation data and transmit it to the data acquisition device. The data acquisition device is used to transmit the collected navigation data to the backup file on the server in the control room. The navigation data includes the density of CO2 in the ocean air, the density of H2O in the ocean air, the wind speed on the ocean surface, the surface temperature of the ocean water body and the net radiation value of the sea surface;
[0043] The modules running on the server in the control room include:
[0044] Reliability protection module and backup operation module, the reliability protection module is also communicated with the information layer segmentation module, the navigation data loss control module, the access error control module and the backup analysis prompt module.
[0045] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:
[0046] Compare the information level with the current backup file information level to prevent the difference between the navigation data level backed up by the backup file and the navigation data level backed up currently. If the reliability level of the navigation data backed up currently is too low, the reliability protection plan cost of the backup file will increase; if the reliability level of the navigation data backed up currently is too high, the reliability backup suitability of the navigation data backed up will decrease, which is not suitable for the backup function of the backup file. Perform navigation data loss analysis and detection on the backup file to determine whether there is a risk of navigation data loss when the backup operation module performs the backup file navigation data backup operation, ensure the reliability of the navigation data backed up in the backup file, and prevent navigation data loss from weakening the backup function of the backup file, which is not conducive to the reliability of the printing control instrument. Perform access error control on the navigation data backup operation of the backup operation module to prevent access errors from occurring when performing the navigation data backup operation on the navigation data backed up in the backup file, which would weaken the backup stability of the navigation data backed up in the backup file, making it difficult to ensure the backup reliability of the backup file and also causing cumbersome defects in the backup of the backup file; perform analysis prompts on the information backup in the backup file to determine whether the information backup in the backup file contains hidden dangers, thereby ensuring that the backup function in the backup file meets the requirements and facilitating the collection of navigation data. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 is a flow chart of the method for organizing navigation data described in the present invention;
[0048] Figure 2 It is a partial structural diagram of the navigation data sorting device described in the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will be combined with the drawings in the embodiments of the present invention to clearly and completely express the technical solution of the present invention. The embodiments expressed in this application are only some embodiments of the present invention, not all embodiments. According to the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the protection scope of the present invention.
[0050] like Figure 1 As shown, a method for organizing navigation data according to the present invention comprises:
[0051] The observation device collects navigation data and transmits it to the data acquisition device. The data acquisition device transmits the collected navigation data to the server in the control room for backup, so as to achieve the purpose of collecting navigation data. The navigation data includes the density of CO2 in the ocean air, the density of H2O in the ocean air, the wind speed on the ocean surface, the surface temperature of the ocean water body and the net radiation value of the sea surface; the backup document can be a WORD document or a TXT document.
[0052] The method for backing up navigation data by a server in a control room comprises:
[0053] When the backup operation module performs navigation data backup, the reliability protection module generates an information hierarchy segmentation message and transmits the information hierarchy segmentation message to the information hierarchy segmentation module. After receiving the information hierarchy segmentation message, the information hierarchy segmentation module performs reliability analysis on the navigation data that the current backup operation module requires to be backed up, and after completing the reliability analysis, performs information hierarchy segmentation on the navigation data to be backed up, and compares the information hierarchy with the current backup file information hierarchy to prevent the navigation data hierarchy backed up by the backup file from being different from the navigation data hierarchy currently backed up. If the reliability level of the currently backed up navigation data is too small, the reliability protection plan cost of the backup file will increase. If the reliability level of the currently backed up navigation data is too large, the reliability backup suitability of the backed up navigation data will be weakened, which is not suitable for the backup function of the backup file.
[0054] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0055] The navigation data to be backed up transmitted by the backup operation module is divided into hierarchical execution levels, and the permission probability of non-permitted objects passing through the encoding method during the same past encoding period as the corresponding encoding method of the navigation data to be backed up and the encoding coefficient refresh rate of the encoding method of the navigation data to be backed up are obtained, and the permission probability of non-permitted objects passing through the encoding method during the same past encoding period as the corresponding encoding method of the navigation data to be backed up and the encoding coefficient refresh rate of the encoding method of the navigation data to be backed up are defined as HM and QM respectively; the extension size of the application period of the encoding coefficient during the period when the navigation data to be backed up has no read or write operations is obtained, and the extension size of the application period of the encoding coefficient during the period when the navigation data to be backed up has no read or write operations is defined as TD; the encoding method can be linear encoding, etc.
[0056] Through the equation Obtain the data level segmentation factor Y of the navigation data to be backed up. In the equation, g1, g2 and g3 are all pre-defined ratios, and g1>g2>g3>0. χ is the accuracy calibration coefficient, and its value is 0.798.
[0057] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0058] The navigation data to be backed up are associated with the corresponding data level division factors and the data level division factors of the navigation data that have been backed up in the backup file at the current time point are obtained. The method for obtaining the data level division factors of the backed up navigation data is the same as the corresponding method above.
[0059] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0060] The highest value of the data level segmentation factors corresponding to the navigation data to be backed up and the navigation data that have been backed up is obtained, and also the ratio of the number of navigation data that have been backed up and the corresponding data level segmentation factors of the navigation data to be backed up and the navigation data that have been backed up whose corresponding data level segmentation factors are not greater than the defined segmentation factor critical value is obtained (the ratio is the quotient obtained by dividing the number of navigation data that have been backed up and the navigation data that have been backed up whose data level segmentation factors are not greater than the defined segmentation factor critical value by the total number of navigation data that have been backed up and the navigation data that have been backed up), and the highest value of the data level segmentation factors corresponding to the navigation data to be backed up and the navigation data that have been backed up and the ratio of the number of navigation data that have been backed up and the corresponding data level segmentation factors of the navigation data to be backed up and the navigation data that have been backed up whose corresponding data level segmentation factors are not greater than the defined segmentation factor critical value are respectively compared with the segmentation factor critical value and the information number ratio critical value.
[0061] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0062] The method of comparing the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up, and the number ratio of the navigation data that have been backed up and the corresponding data level segmentation factor of the navigation data to be backed up and the navigation data that have been backed up, which is not greater than the defined segmentation factor critical value, with the segmentation factor critical value and the information number ratio critical value, respectively, comprises:
[0063] If the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up is greater than the segmentation factor critical value, or the corresponding data level segmentation factor in the navigation data to be backed up and the navigation data that have been backed up is not greater than the defined segmentation factor critical value and the number ratio of the navigation data that have been backed up is not greater than the information number ratio critical value, it is determined that the level of the navigation data to be backed up is not compatible, a backup identification message is generated and the backup identification message is transmitted to the reliability protection module, the reliability protection module performs analysis according to the application scenario of the server corresponding to the current backup file, if the increase rate of the corresponding parameter of the server application scenario is greater than the corresponding increase rate critical value, the real-time backup of the navigation data to be backed up is performed (the backup is performed after encoding according to the corresponding encoding method), and the real-time backup message is generated and transmitted to the backup file together with the navigation data to be backed up; otherwise, if the increase rate of the corresponding parameter of the server application scenario is not greater than the corresponding increase rate critical value, the backup of the navigation data to be backed up is suspended, and a backup suspension message is generated and transmitted to the backup operation module together with the navigation data to be backed up;
[0064] In a preferred but non-restrictive implementation method of the present invention, the corresponding parameters of the application scenario of the server are the CPU occupancy rate and main memory occupancy rate of the server.
[0065] If the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up is not greater than the segmentation factor critical value, and the corresponding data level segmentation factors of the navigation data to be backed up and the navigation data that have been backed up are not greater than the defined segmentation factor critical value, and the ratio of the number of navigation data that have been backed up is greater than the information number ratio critical value, it is determined that the navigation data to be backed up is hierarchically adapted, and an immediate backup message is generated, and the immediate backup message and the navigation data to be backed up are transmitted to the backup file together.
[0066] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0067] During the real-time backup of the backup file, the reliability protection module performs backup reliability detection, the reliability protection module generates a navigation data loss control message and transmits the navigation data loss control message to the navigation data loss control module. After receiving the navigation data loss control message, the navigation data loss control module performs navigation data loss analysis and detection on the backup file to determine whether there is a hidden danger of navigation data loss when the backup operation module performs the navigation data backup operation of the backup file, thereby ensuring the reliability of the navigation data backed up in the backup file, preventing the backup function of the backup file from being weakened due to navigation data loss, and simultaneously affecting the reliability of the backed up navigation data.
[0068] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0069] When the backup document receives a data sorting instruction from the backup operation module during the execution of the navigation data backup, it will sort the backup area indicated by the instruction, obtain the time for sorting the backup area after the backup area in the backup document is sorted and replaced with a value group containing random numbers, and the time for sorting the corresponding backup pointer in the source backup area after the backup area in the backup document is sorted, and compare the time for sorting the backup area after the backup area in the backup document is sorted and replaced with a value group containing random numbers and the time for sorting the corresponding backup pointer in the source backup area after the backup area in the backup document is sorted with the time critical value and the time critical value respectively.
[0070] In the preferred but non-restrictive implementation method of the present invention, the value group is the data replacement area in the backup area, that is, the backup area is cleared and then sent into the value group for replacement, and the source sorted data is completely sorted to prevent data restoration. When there is no requirement for navigation data backup, the kernel file is used to execute the value group writing.
[0071] In a preferred but non-limiting implementation method of the present invention, the method of comparing the time spent on rearranging the backup area in the backup document by replacing the value group of random numbers with the time spent on rearranging the backup area and the time spent on rearranging the corresponding backup pointer in the source backup area after the backup area in the backup document is rearranged with the time critical value and the time critical value respectively includes:
[0072] If the time taken to replace the backup area with a random number value group after the backup area in the backup file is sorted is greater than the time critical value, or the time taken to sort the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted is greater than the time critical value, it is determined that the risk of navigation data loss in the backup file is high, and a high risk of leakage is generated and the high risk of leakage is transmitted to the reliability protection module. After the reliability protection module receives the high risk of leakage, it controls the time taken to sort the backup file and reduces the sorting execution time as required (the number of sorting threads can be increased to reduce the execution time);
[0073] If the time taken to replace the backup area with a random number group after the backup area in the backup file is sorted is not greater than the time critical value, and the time taken to sort the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted is not greater than the time critical value, it is determined that the backup file has a low risk of navigation data loss, and a low risk of leakage message is generated and the low risk of leakage message is transmitted to the reliability protection module. After receiving the low risk of leakage message, the reliability protection module performs continuous detection on the backup file.
[0074] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0075] The reliability protection module generates an access error control message and transmits the access error control message to the access error control module. After receiving the access error control message, the access error control module performs access error control on the navigation data backup operation of the backup operation module, so as to prevent the navigation data backed up in the backup file from generating access errors when performing the navigation data backup operation, so that the backup stability of the navigation data backed up in the backup file is weakened, making it difficult to ensure the backup reliability of the backup file, and also bringing obstacles to the backup of the navigation data;
[0076] Obtain the ratio of the data backup volume of the same navigation data backup operation at the same time point in the backup file (the ratio is the ratio of the data backup volume of the same navigation data backup operation (the backup volume is the backup capacity) to the total data backup volume) and the redundancy number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file, and compare the ratio of the data backup volume of the same navigation data backup operation at the same time point in the backup file and the redundancy number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file with the data backup volume ratio critical value and the redundancy number critical value of redundant fields respectively.
[0077] In a preferred but non-limiting implementation method of the present invention, a method for comparing the ratio of the data backup amount of the same navigation data backup operation in the backup file at the same time point and the redundant number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file with the data backup amount ratio critical value and the redundant number critical value of the redundant field respectively includes:
[0078] If the ratio of the data backup volume of the same navigation data backup operation at the same time point in the backup file is greater than the ratio critical value of the data backup volume, or the redundancy number of redundant fields in the navigation data backed up by the same navigation data backup operation in the backup file is greater than the redundancy number critical value of the redundant fields, the navigation data backed up correspondingly in the backup file is defined as an access error potential message, and the real-time navigation data backup operation is detected. If the ratio of the number of access error potential messages in the backed-up navigation data of the current navigation data backup operation is greater than the number ratio critical value, the backed-up navigation data of the current navigation data backup operation is immediately registered, and the corresponding backed-up navigation data is The sea data uses the backup navigation data backup area pointer as the execution identification code, and arranges the execution identification code according to the sequence of the current navigation data backup operation time point, and the current execution identification code and the execution time point are associated until the execution is completed; otherwise, the screening registration is performed according to the set execution time critical value of the access error hidden danger message; the screening registration includes: if the absolute value of the amount obtained by subtracting the required time from the defined execution time critical value is greater than the corresponding critical value, the directory name of the backup navigation data is directly used as the execution identification code, and if the absolute value of the amount obtained by subtracting the required time from the set execution time critical value is not greater than the corresponding critical value, the immediate registration is performed;
[0079] If the ratio of the data backup volume of the same navigation data backup operation operated at the same time point in the backup file is not greater than the data backup volume ratio critical value, and the redundancy number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file is not greater than the redundancy number critical value of the redundant fields, the corresponding backed up navigation data in the backup file is defined as an access error reliability message, and the access error reliability message is executed and the directory name of the backed up navigation data is directly used as the execution identification code.
[0080] In a preferred but non-limiting implementation method of the present invention, the method for backing up navigation data by a server in a control room further includes:
[0081] The reliability protection module generates a backup analysis prompt message and transmits the backup analysis prompt message to the backup analysis prompt module. After receiving the backup analysis prompt message, the backup analysis prompt module performs analysis prompts on the information backup in the backup file to determine whether the information backup in the backup file contains hidden dangers, thereby ensuring that the backup function in the backup file meets the requirements and improving the efficiency of the information backup in the backup file;
[0082] Obtain the absolute value 1 of the amount obtained by subtracting the maximum required amount of the backup operation of the navigation data of the backups on both sides adjacent to each other in the same backup area in the backup file and the absolute value 2 of the amount obtained by subtracting the backup amount increase rate of the navigation data of the backups on both sides adjacent to each other in the same backup area in the backup file, and compare the absolute value 1 and the absolute value 2 with the absolute value 1 threshold and the absolute value 2 threshold respectively:
[0083] If absolute value one is greater than absolute value one critical value, or absolute value two is greater than absolute value two critical value, the backup analysis in the backup file is deemed abnormal, a backup prompt message is generated and the backup prompt message is transmitted to the reliability protection module. After the reliability protection module receives the backup prompt message, it performs backup area control on the navigation data required to be backed up transmitted by the backup operation module; performing backup area control is to perform protection on it.
[0084] If the absolute value one is not greater than the absolute value one critical value, and the absolute value two is not greater than the absolute value two critical value, the backup analysis in the backup file is deemed to be reasonable, a backup reasonable message is generated, and the backup reasonable message is transmitted to the reliability protection module.
[0085] The information hierarchy segmentation module performs reliability analysis on the navigation data to be backed up by the current backup operation module, and performs information hierarchy segmentation on the navigation data to be backed up after completing the reliability analysis, and compares the information hierarchy with the information hierarchy of the current backup file to obtain the data hierarchy segmentation factor of the navigation data to be backed up, and forms a backup identification message or an immediate backup message based on the data hierarchy segmentation factor comparison; the navigation data loss control module performs navigation data loss analysis detection on the backup file, forms a high leakage risk message or a low leakage risk message through the navigation data loss analysis detection, and transmits it to the reliability protection module; the access error control module performs access error control on the navigation data backup operation of the backup operation module, divides the backed up navigation data into access error risk messages and access error reliability messages, and performs access error control on them; the backup analysis prompt module performs analysis prompts on the information backup in the backup file.
[0086] like Figure 2 As shown, the device for organizing navigation data of the present invention comprises:
[0087] The observation device, data acquisition device and server in the control room installed on the navigation ship are connected in sequence. The observation device is used to collect navigation data and transmit it to the data acquisition device. The data acquisition device is used to transmit the collected navigation data to the backup file on the server in the control room, so as to achieve the purpose of collecting navigation data. The navigation data includes the density of CO2 in the ocean air, the density of H2O in the ocean air, the wind speed on the ocean surface, the surface temperature of the ocean water body and the net radiation value of the sea surface; the backup file can be a WORD document or a TXT document.
[0088] The modules running on the server in the control room include:
[0089] Reliability protection module and backup operation module. When the backup operation module performs navigation data backup operation on the backup file, it must go through the reliability protection module. The reliability protection module performs reliability protection based on the navigation data of the backup operation module, and transmits the navigation data to the backup file when the reliability protection is approved. After the backup file receives the navigation data, it performs message feedback to the backup operation module, and after the operation is completed, the backup file and the current navigation data transmission of the backup operation module are interrupted; in addition, the reliability protection module is also communicated with the information hierarchy segmentation module, the navigation data loss control module, the access error control module and the backup analysis prompt module.
[0090] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:
[0091] Compare the information level with the current backup file information level to prevent the difference between the navigation data level backed up by the backup file and the navigation data level backed up currently. If the reliability level of the navigation data backed up currently is too low, the reliability protection plan cost of the backup file will increase; if the reliability level of the navigation data backed up currently is too high, the reliability backup suitability of the navigation data backed up will decrease, which is not suitable for the backup function of the backup file. Perform navigation data loss analysis and detection on the backup file to determine whether there is a risk of navigation data loss when the backup operation module performs the backup file navigation data backup operation, ensure the reliability of the navigation data backed up in the backup file, and prevent navigation data loss from weakening the backup function of the backup file, which is not conducive to the reliability of the printing control instrument. Perform access error control on the navigation data backup operation of the backup operation module to prevent access errors from occurring when performing the navigation data backup operation on the navigation data backed up in the backup file, which would weaken the backup stability of the navigation data backed up in the backup file, making it difficult to ensure the backup reliability of the backup file and also causing cumbersome defects in the backup of the backup file; perform analysis prompts on the information backup in the backup file to determine whether the information backup in the backup file contains hidden dangers, thereby ensuring that the backup function in the backup file meets the requirements and facilitating the collection of navigation data.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not deviate from the spirit and scope of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for collating navigation data, characterized in that: include: The observation device collects navigation data and transmits it to the data acquisition device, which transmits the collected navigation data to the server in the control room for backup. The navigation data includes the density of CO2 in the ocean air, the density of H2O in the ocean air, the wind speed on the ocean surface, the surface temperature of the ocean water body and the net radiation value of the sea surface; The method for backing up navigation data by a server in a control room comprises: When the backup operation module performs navigation data backup, the reliability protection module generates an information hierarchy segmentation message and transmits the information hierarchy segmentation message to the information hierarchy segmentation module. After receiving the information hierarchy segmentation message, the information hierarchy segmentation module performs reliability analysis on the navigation data that the current backup operation module requires to be backed up, and after completing the reliability analysis, performs information hierarchy segmentation on the navigation data to be backed up, and compares the information hierarchy with the current backup file information hierarchy to prevent the navigation data hierarchy backed up by the backup file from being different from the navigation data hierarchy currently backed up.
2. The method for organizing navigation data according to claim 1, characterized in that: The method for backing up navigation data by a server in a control room also includes: The navigation data to be backed up transmitted by the backup operation module is divided into execution levels, and the permission probability of non-permitted objects passing through the encoding method in the same past encoding period as the corresponding encoding method of the navigation data to be backed up and the encoding coefficient refresh rate of the encoding method of the navigation data to be backed up are obtained, and the permission probability of non-permitted objects passing through the encoding method in the same past encoding period as the corresponding encoding method of the navigation data to be backed up and the encoding coefficient refresh rate of the encoding method of the navigation data to be backed up are defined as HM and QM respectively; the extension size of the application period of the encoding coefficient in the period when the navigation data to be backed up is not read or written, and the extension size of the application period of the encoding coefficient in the period when the navigation data to be backed up is not read or written is defined as TD; Through the equation Obtain the data level segmentation factor Y of the navigation data to be backed up. In the equation, g1, g2 and g3 are all pre-defined ratios, and g1>g2>g3>0. χ is the accuracy calibration coefficient, and its value is 0.
798.
3. The method for organizing navigation data according to claim 2, characterized in that: The method for backing up navigation data by a server in a control room also includes: The navigation data to be backed up are associated with the corresponding data level segmentation factors and the data level segmentation factors of the navigation data that have been backed up in the backup file at the current time point are obtained.
4. The method for organizing navigation data according to claim 3, characterized in that: The method for backing up navigation data by a server in a control room also includes: The highest value of the data level segmentation factors corresponding to the navigation data to be backed up and the navigation data that have been backed up is obtained, and the ratio of the number of navigation data that have been backed up whose corresponding data level segmentation factors are not greater than the defined segmentation factor critical value is also obtained; and the highest value of the data level segmentation factors corresponding to the navigation data to be backed up and the navigation data that have been backed up and the ratio of the number of navigation data that have been backed up whose corresponding data level segmentation factors are not greater than the defined segmentation factor critical value are respectively compared with the segmentation factor critical value and the information number ratio critical value.
5. The method for organizing navigation data according to claim 4, characterized in that: The method for backing up navigation data by a server in a control room also includes: The method of comparing the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up, and the number ratio of the navigation data that have been backed up and the corresponding data level segmentation factor of the navigation data to be backed up and the navigation data that have been backed up, which is not greater than the defined segmentation factor critical value, with the segmentation factor critical value and the information number ratio critical value, respectively, comprises: If the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up is greater than the segmentation factor critical value, or the corresponding data level segmentation factor in the navigation data to be backed up and the navigation data that have been backed up is not greater than the defined segmentation factor critical value and the number ratio of the navigation data that have been backed up is not greater than the information number ratio critical value, it is determined that the level of the navigation data to be backed up is incompatible, a backup identification message is generated and the backup identification message is transmitted to the reliability protection module, and the reliability protection module performs analysis according to the application scenario of the server corresponding to the current backup file. If the increase rate of the corresponding parameter of the server application scenario is greater than the corresponding increase rate critical value, the real-time backup of the navigation data to be backed up is executed, and the real-time backup message is generated and transmitted to the backup file together with the navigation data to be backed up; otherwise, if the increase rate of the corresponding parameter of the server application scenario is not greater than the corresponding increase rate critical value, the backup of the navigation data to be backed up is suspended, and a backup suspension message is generated and transmitted to the backup operation module together with the navigation data to be backed up; If the highest value of the data level segmentation factor corresponding to the navigation data to be backed up and the navigation data that have been backed up is not greater than the segmentation factor critical value, and the corresponding data level segmentation factors of the navigation data to be backed up and the navigation data that have been backed up are not greater than the defined segmentation factor critical value, and the ratio of the number of navigation data that have been backed up is greater than the information number ratio critical value, it is determined that the navigation data to be backed up is hierarchically adapted, and an immediate backup message is generated, and the immediate backup message and the navigation data to be backed up are transmitted to the backup file together.
6. The method for organizing navigation data according to claim 5, characterized in that: The method for backing up navigation data by a server in a control room also includes: During the real-time backup of the backup file, the reliability protection module performs backup execution reliability detection, the reliability protection module generates navigation data loss control information and transmits the navigation data loss control information to the navigation data loss control module, after the navigation data loss control module receives the navigation data loss control information, it performs navigation data loss analysis detection on the backup file to determine whether there is a navigation data loss risk when the backup operation module performs the navigation data backup operation of the backup file; The method for backing up navigation data by a server in a control room also includes: When the backup document receives a data sorting instruction from the backup operation module during the execution of the navigation data backup, it will sort the backup area indicated by the instruction, obtain the time for sorting the backup area after the backup area in the backup document is sorted and replaced with a value group containing random numbers, and the time for sorting the corresponding backup pointer in the source backup area after the backup area in the backup document is sorted, and compare the time for sorting the backup area after the backup area in the backup document is sorted and replaced with a value group containing random numbers and the time for sorting the corresponding backup pointer in the source backup area after the backup area in the backup document is sorted with the time critical value and the time critical value respectively.
7. The method for organizing navigation data according to claim 6, characterized in that: The value group is the data replacement area in the backup area, that is, after the backup area is cleared, it is sent to the value group for replacement, and the source data is completely sorted to prevent data restoration. When there is no requirement for navigation data backup, the value group is written using the kernel file; The method of comparing the time of replacing the backup area with a random number group after the backup area in the backup file is sorted and the time of sorting the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted with the time critical value and the time critical value respectively, comprises: If the time taken to replace the backup area with a random number value group after the backup area in the backup file is sorted is greater than the time critical value, or the time taken to sort the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted is greater than the time critical value, it is determined that the backup file has a high risk of navigation data loss, and a high risk of leakage is generated and the high risk of leakage is transmitted to the reliability protection module. After receiving the high risk of leakage, the reliability protection module controls the time taken to sort the backup file and reduces the sorting execution time as required; If the time taken to replace the backup area with a random number group after the backup area in the backup file is sorted is not greater than the time critical value, and the time taken to sort the corresponding backup pointer in the source backup area after the backup area in the backup file is sorted is not greater than the time critical value, it is determined that the backup file has a low risk of navigation data loss, and a low risk of leakage message is generated and the low risk of leakage message is transmitted to the reliability protection module. After receiving the low risk of leakage message, the reliability protection module performs continuous detection on the backup file.
8. The method for organizing navigation data according to claim 7, characterized in that: The method for backing up navigation data by a server in a control room also includes: The reliability protection module generates an access error control message and transmits the access error control message to the access error control module. After receiving the access error control message, the access error control module performs access error control on the navigation data backup operation of the backup operation module. Obtaining the ratio of the data backup amount of the same navigation data backup operation at the same time point in the backup file and the redundancy number of the redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file, and comparing the ratio of the data backup amount of the same navigation data backup operation at the same time point in the backup file and the redundancy number of the redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file with the data backup amount ratio threshold and the redundant number threshold of the redundant fields respectively; The method of comparing the ratio of the data backup amount of the same navigation data backup operation at the same time point in the backup file and the redundant number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file with the data backup amount ratio critical value and the redundant number critical value of the redundant field respectively comprises: If the ratio of the data backup volume of the same navigation data backup operation at the same time point in the backup file is greater than the ratio critical value of the data backup volume, or the redundancy number of redundant fields in the navigation data backed up by the same navigation data backup operation in the backup file is greater than the redundancy number critical value of the redundant fields, the navigation data backed up correspondingly in the backup file is defined as an access error potential message, and the real-time navigation data backup operation is detected. If the ratio of the number of access error potential messages in the backed-up navigation data of the current navigation data backup operation is greater than the number ratio critical value, the backed-up navigation data of the current navigation data backup operation is immediately registered, and the corresponding backed-up navigation data is The sea data uses the backup navigation data backup area pointer as the execution identification code, and arranges the execution identification code according to the sequence of the current navigation data backup operation time point, and the current execution identification code and the execution time point are associated until the execution is completed; otherwise, the screening registration is performed according to the set execution time critical value of the access error hidden danger message; the screening registration includes: if the absolute value of the amount obtained by subtracting the required time from the defined execution time critical value is greater than the corresponding critical value, the directory name of the backup navigation data is directly used as the execution identification code, and if the absolute value of the amount obtained by subtracting the required time from the set execution time critical value is not greater than the corresponding critical value, the immediate registration is performed; If the ratio of the data backup volume of the same navigation data backup operation operated at the same time point in the backup file is not greater than the data backup volume ratio critical value, and the redundancy number of redundant fields in the navigation data backed up corresponding to the same navigation data backup operation in the backup file is not greater than the redundancy number critical value of the redundant fields, the corresponding backed up navigation data in the backup file is defined as an access error reliability message, and the access error reliability message is executed and the directory name of the backed up navigation data is directly used as the execution identification code.
9. The method for organizing navigation data according to claim 8, characterized in that: The method for backing up navigation data by a server in a control room also includes: The reliability protection module generates a backup analysis prompt message and transmits the backup analysis prompt message to the backup analysis prompt module. After receiving the backup analysis prompt message, the backup analysis prompt module performs analysis prompt on the information backup in the backup document. Obtain the absolute value 1 of the amount obtained by subtracting the maximum required amount of the backup operation of the navigation data of the backups on both sides adjacent to each other in the same backup area in the backup file and the absolute value 2 of the amount obtained by subtracting the backup amount increase rate of the navigation data of the backups on both sides adjacent to each other in the same backup area in the backup file, and compare the absolute value 1 and the absolute value 2 with the absolute value 1 threshold and the absolute value 2 threshold respectively: If the absolute value 1 is greater than the absolute value 1 critical value, or the absolute value 2 is greater than the absolute value 2 critical value, the backup analysis in the backup file is deemed abnormal, a backup prompt message is generated and the backup prompt message is transmitted to the reliability protection module. After the reliability protection module receives the backup prompt message, it performs backup area control on the navigation data that requires backup transmitted by the backup operation module; If the absolute value one is not greater than the absolute value one critical value, and the absolute value two is not greater than the absolute value two critical value, the backup analysis in the backup file is deemed to be reasonable, a backup reasonable message is generated, and the backup reasonable message is transmitted to the reliability protection module.
10. A device for organizing navigation data, characterized in that: include: The observation device and data acquisition device installed on the navigation ship are connected in sequence with the server in the control room. The observation device is used to collect navigation data and transmit it to the data acquisition device. The data acquisition device is used to transmit the collected navigation data to the backup file on the server in the control room. The navigation data includes the density of CO2 in the ocean air, the density of H2O in the ocean air, the wind speed on the ocean surface, the surface temperature of the ocean water body and the net radiation value of the sea surface; The modules running on the server in the control room include: Reliability protection module and backup operation module, the reliability protection module is also communicated with the information layer segmentation module, the navigation data loss control module, the access error control module and the backup analysis prompt module.
Citation Information
Patent Citations
Sailing type vortex flux observation system
CN210199334U
Cited By
Frequency converter harmonic control method and device applied to high-capacity compressed air energy storage
CN119995472A
