GTS multi-format sounding message real-time conversion method and device

By using real-time conversion methods and devices in high-altitude sounding data integration to integrate sounding messages in different formats, the problems of data duplication and accuracy differences are solved and the integrity and reliability of the data are ensured.

CN117951205BActive Publication Date: 2024-09-10STATE QIXIANG INFORMATION CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311515244.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2024-09-10
Estimated Expiration
2043-11-14

AI Technical Summary

Technical Problem

Existing technology cannot effectively integrate high-altitude sounding data in different formats, resulting in data duplication and accuracy differences, making it impossible to obtain the most complete sounding data.

Method used

Provide a method and device for real-time conversion of GTS multi-format sounding messages. By receiving and decoding sounding messages in different formats, according to the set data integration rules, duplicate data is found and integrated, unique data is retained, and key tables are used. and feature table storage to ensure data integrity.

Benefits of technology

It achieves the maximum removal of duplicate data, solves the problem of accuracy difference and level difference in the integration process, ensures the integrity of the data, and improves the reliability and accuracy of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117951205B
    Figure CN117951205B
Patent Text Reader

Abstract

The present invention discloses a real-time conversion method and device for GTS multi-format sounding messages, and belongs to the field of meteorological information processing. The present invention decodes and stores GTS multi-format sounding messages, performs data integration according to set data integration rules, discovers and integrates corresponding duplicate data, and discovers and retains respective unique data. The present invention sets up a set of real-time overall integration solutions, which can remove duplicate data to the maximum extent, retain valid data, solve problems such as accuracy differences and level differences in the integration process, and ensure data integrity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of meteorological information processing, and in particular to a GTS multi-format sounding message real-time conversion method and device. Background Art

[0002] High-altitude atmospheric detection is the use of meteorological sensors to directly or indirectly detect atmospheric state parameters such as temperature, humidity, air pressure, wind direction, and wind speed in various parts of the earth's surface atmosphere. The main detection range is the earth's atmosphere below about 30 km in the lower part of the stratosphere (that is, the detection height is about 30,000 meters above sea level). High-altitude pressure, temperature, and humidity observations are carried out by balloons carrying radiosondes, and the real-time measurement of high-altitude meteorological data such as pressure, temperature, and humidity is transmitted to ground receiving equipment. Unlike the measurement of ground wind speed, high-altitude wind measurement cannot generally be directly measured by equipment such as wind vanes and anemometers. Balloon wind measurement is usually used, that is, the balloon is regarded as a particle moving with the airflow, and the angular coordinates, slant distance or height of the balloon relative to the observation point are measured by instruments to determine the spatial position and trajectory of the balloon; then, according to the change in the position of the balloon over a period of time, its horizontal displacement is calculated, so as to find the average horizontal wind direction and wind speed in the atmosphere.

[0003] High-altitude sounding data needs to be processed and converted into sounding data of specified layers. The specified layers include specified isobaric surface, characteristic layer, tropopause, zero-degree layer, temperature and humidity characteristic layer, measured wind layer, specified height wind layer, maximum wind layer, high-altitude wind characteristic layer, etc.

[0004] Specified isobaric surfaces: including 1000hpa, 925hpa, 850hpa, 700hpa, 600hpa, 500hpa, 400hpa, 300hpa, 250hpa, 150hpa, 100hpa, 70hpa, 50hpa, 40hpa, 30hpa, 20hpa, 15hpa, 10hpa, 7hpa, 5hpa, 3hpa, 2hpa, and 1hpa.

[0005] The global GTS (Global Telecommunication System) sounding data is exchanged in the format specified by WMO. Currently, there are two types: TAC (Triditional Alphanumeric Codes) and BUFR (Binaryuniversal form for the representation of meteorological data). According to the elements, it can be divided into two types: sounding report and wind measurement report. Sounding report includes temperature, pressure, potential, humidity and wind elements, while wind measurement report only includes potential (or height), wind direction and wind speed elements.

[0006] There are four coding formats for TAC high-altitude detection reports, and the four coding formats are basically the same. That is:

[0007] FM35-XI Ext (TEMP fixed land station high pressure, temperature, humidity and wind reports);

[0008] FM36-XI Ext (TEMP SHIP ocean station high pressure, temperature, humidity and wind reports);

[0009] FM37-XI Ext (TEMP DROP weather balloon or aircraft-mounted radiosonde reports on high pressure, temperature, humidity and wind);

[0010] FM38-XI Ext (TEMP MOBIL mobile land station high pressure, temperature, humidity and wind reports).

[0011] There are three code formats for TAC high-altitude wind measurement reports, and the coding formats are basically the same, namely:

[0012] FM32-XI Ext (PILOT fixed land station upper wind report);

[0013] FM33-XI Ext (PILOT SHIP ocean station upper wind report);

[0014] FM34-XI Ext (PILOT MOBIL mobile land station upper wind report).

[0015] In addition, sounding and wind reports are divided into four categories: A, B, C, and D according to the standard layer and characteristic layer, with 100hPa as the boundary.

[0016] Part A: standard layer below 100hpa;

[0017] Part B: characteristic layer below 100hpa;

[0018] Part C: standard layer above 100hpa;

[0019] Part D: Characteristic layer above 100hpa.

[0020] BUFR format sounding reports are also divided into two parts: sounding reports and wind measurement reports, but their division is different from TAC.

[0021] IUK high-altitude comprehensive sounding report below 100hpa corresponds to the AB part of the TAC sounding report;

[0022] All layers of the IUS high-altitude comprehensive detection report correspond to the ABCD part of the TAC sounding report;

[0023] IUW high-altitude wind report below 100hpa corresponds to the AB part of the TAC wind report;

[0024] All layers of the IUJ high-altitude wind report correspond to the ABCD parts of the TAC wind report.

[0025] At present, TAC and BUFR formats coexist. A station may exchange messages in TAC format or BUFR format, or send messages in both formats at the same time. The number of detection levels contained in TAC and BUFR messages from different stations may overlap or differ. Currently, data is decoded separately for one format, and the most complete sounding data cannot be obtained. In order to obtain the most complete sounding data, sounding data in different formats need to be integrated in real time. Summary of the invention

[0026] In order to solve the defects of the prior art, the present invention provides a GTS multi-format sounding message real-time conversion method and device, which can remove duplicate data to the greatest extent, retain valid data, solve the problems of accuracy difference and level difference in the integration process, and ensure the integrity of the data.

[0027] The present invention provides the following technical solutions:

[0028] A method for real-time conversion of GTS multi-format sounding messages, the method comprising:

[0029] S1: receiving GTS multi-format sounding messages and recording them in a report table, wherein the types of the GTS multi-format sounding messages include domestic sounding BUFR data, foreign sounding BUFR data and foreign sounding TAC data;

[0030] S2: Decode and store the received GTS multi-format sounding messages into the original data table and business data table;

[0031] S3: Before warehousing, search the business data tables that have been stored, judge the integration conditions based on the search results, integrate the business data tables according to the set data integration rules, discover and integrate the corresponding duplicate data, discover and retain each unique data, and enter the records of the integrated data into the business data table.

[0032] Furthermore, the original data table and the service data table both include a timing value table and a second-level table. The GTS multi-format sounding message is first entered into a report table before decoding. The report table has no unique index setting, and the original message content is retained.

[0033] The GTS multi-format sounding message is decoded to generate a timing value record and a corresponding parameter table record to obtain a timing value table; for messages containing second-level data, second-level records are simultaneously generated and stored;

[0034] When entering the database, the business data table is integrated in real time, the original data table is not integrated and judged, and all the original decoded data is retained.

[0035] Furthermore, in S2, data in different TAC and BUFR formats are divided into different types and distinguished by different codes.

[0036] Furthermore, the timing value table and the second-level table are stored in the form of a key table and an element table, and one key table corresponds to multiple element table records.

[0037] Furthermore, the data integration rules include:

[0038] The sounding data and wind measurement data are not integrated;

[0039] The hierarchical conflict between BUFR data and TAC data is mainly based on BUFR data;

[0040] In BUFR data, IUS replaces IUK, and IUJ replaces IUW;

[0041] Conflicts within BUFR data and TAC data of the same station are handled on a first-come, first-served basis;

[0042] Dropsonde data are stored separately and do not participate in data integration;

[0043] Inheriting the high-altitude time integration rules of CIMISS, regularized to 3 hours;

[0044] The updating rules of BBB items in TAC data are the same as those in CIMISS.

[0045] Further, the S3 includes:

[0046] Add corresponding fields to the original table structure as needed to adapt to the integration rules;

[0047] Process the key fields according to the set key field value rules;

[0048] Integrate and store key tables according to the set key table storage rules;

[0049] Integrate and store feature tables according to the set feature table storage rules.

[0050] A GTS multi-format sounding message real-time conversion device, the device comprising:

[0051] A data receiving module, used for receiving GTS multi-format sounding messages and recording them in a report table, wherein the types of GTS multi-format sounding messages include domestic sounding BUFR data, foreign sounding BUFR data and foreign sounding TAC data;

[0052] The decoding module is used to decode and store the received GTS multi-format sounding messages into the original data table and the business data table;

[0053] The integration module is used to search the business data tables that have been stored before storage, judge the integration conditions based on the search results, integrate the business data tables according to the set data integration rules, discover and integrate the corresponding duplicate data, discover and retain each unique data, and enter the records of the integrated data into the business data table.

[0054] Furthermore, the original data table and the service data table both include a timing value table and a second-level table. The GTS multi-format sounding message is first entered into a report table before decoding. The report table has no unique index setting, and the original message content is retained.

[0055] The GTS multi-format sounding message is decoded to generate a timing value record and a corresponding parameter table record to obtain a timing value table; for messages containing second-level data, second-level records are simultaneously generated and stored;

[0056] When entering the database, the business data table is integrated in real time, the original data table is not integrated and judged, and all the original decoded data is retained.

[0057] Furthermore, in the decoding module, data in different TAC and BUFR formats are divided into different types and distinguished by different codes.

[0058] Furthermore, the timing value table and the second-level table are stored in the form of a key table and an element table, and one key table corresponds to multiple element table records.

[0059] Furthermore, the data integration rules include:

[0060] The sounding data and wind measurement data are not integrated;

[0061] The hierarchical conflict between BUFR data and TAC data is mainly based on BUFR data;

[0062] In BUFR data, IUS replaces IUK, and IUJ replaces IUW;

[0063] Conflicts within BUFR data and TAC data of the same station are handled on a first-come, first-served basis;

[0064] Dropsonde data are stored separately and do not participate in data integration;

[0065] Inheriting the high-altitude time integration rules of CIMISS, regularized to 3 hours;

[0066] The updating rules of BBB items in TAC data are the same as those in CIMISS.

[0067] Furthermore, the operations of the integration module include:

[0068] Add corresponding fields to the original table structure as needed to adapt to the integration rules;

[0069] Process the key fields according to the set key field value rules;

[0070] Integrate and store key tables according to the set key table storage rules;

[0071] Integrate and store feature tables according to the set feature table storage rules.

[0072] The present invention has the following beneficial effects:

[0073] The present invention decodes and stores GTS multi-format sounding messages, performs data integration according to the set data integration rules, discovers and integrates corresponding duplicate data, and discovers and retains the respective unique data. The present invention sets up a set of real-time overall integration solutions, which can remove duplicate data to the maximum extent, retain valid data, solve the problems of accuracy difference and level difference in the integration process, and ensure the integrity of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 It is a flow chart of the GTS multi-format sounding message real-time conversion method of the present invention;

[0075] Figure 2 This is an example of the integrated GTS multi-format sounding message;

[0076] Figure 3 This is a comparison diagram of the integrated GTS multi-format sounding message and the IGRA produced by NECI of the United States;

[0077] Figure 4 Schematic diagram of three decoding procedures used in the present invention;

[0078] Figure 5 A schematic diagram showing the deployment of three decoding programs on a server;

[0079] Figure 6 A schematic diagram showing three decoding programs deployed on three servers;

[0080] Figure 7 It is a schematic diagram of the GTS multi-format sounding message real-time conversion device of the present invention. DETAILED DESCRIPTION

[0081] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0082] The embodiment of the present invention provides a method for real-time conversion of GTS multi-format sounding messages, such as Figure 1 As shown, the method includes:

[0083] S1: receiving GTS multi-format sounding messages and recording them in a report table, wherein the types of the GTS multi-format sounding messages include domestic sounding BUFR data, foreign sounding BUFR data and foreign sounding TAC data.

[0084] The types of GTS multi-format sounding messages currently received are shown in Table 1:

[0085] Table 1: GTS multi-format sounding message data types

[0086]

[0087]

[0088] Since the reporting rules of TAC and BUFR are different and each has multiple formats, the number of levels and element types reported by the two are different and repeated. In view of the repeated data of the two, corresponding rules need to be formulated to discover and integrate the corresponding repeated data during real-time processing to avoid affecting users; at the same time, it is necessary to discover data that is not unique to each other to maximize the integrity of the data. The order in which sounding data from various sources arrive is not fixed. It is possible that TAC arrives first, and BUFR arrives first; it is possible that AB arrives first, and CD arrives first.

[0089] Therefore, a real-time overall integration solution is necessary to remove duplicate data to the greatest extent possible and retain valid data.

[0090] The report table of the present invention has no unique index, retains the original message information received, and is the data before decoding, which is used for checking data.

[0091] S2: Decode and store the received GTS multi-format sounding messages into the original data table and business data table.

[0092] The business data table of the present invention has a unique index, provides services to the outside, is decoded and integrated data, the business data table is searched before data is stored, and the storage strategy is selected according to the search results and the integration logic. The business data table has a timing value table and a second level table.

[0093] The original data table of the present invention has no unique index, and the fields are completely consistent with the business data table. However, no integration logic judgment is performed when entering the warehouse, and it is data that has not been integrated after decoding; it is mainly used to check the correctness and integrity of the integrated data, and does not provide external services. The original data table has a timing value table and a second-level table. The table name with the ORI field is the original data table.

[0094] TAC and BUFR format data are derived from the data files after CTS splitting. TAC and BUFR data are first entered into the report table before decoding. The report table has no unique index setting and retains the original message content. After decoding the GTS multi-format sounding message, the timing value record and the corresponding parameter table record are generated to obtain the timing value table; for some messages containing second-level data, second-level records are also generated and stored.

[0095] When entering the warehouse, all reports without any integration (including corrected reports and duplicate reports) will be saved in the original data table, and the records after integration judgment logic will be entered into the integrated business data table.

[0096] TAC raw data, BUFR raw data and integrated GTS multi-format sounding messages are all provided as sharing services. The data products after global upper-air decoding and processing are shown in Table 2.

[0097] Table 2: Conventional upper air data products

[0098]

[0099] Data in different TAC and BUFR formats are divided into different types and distinguished by different codes.

[0100] S3: Before storage, search the business data tables that have been stored, judge the integration conditions based on the search results, and perform real-time data integration on the business data tables according to the set data integration rules, discover and integrate the corresponding duplicate data, discover and retain the unique data of each, and enter the integrated data records into the business data tables. The original data tables are not judged for integration, and all the original decoded data are retained.

[0101] Integration methods can be divided into scheduled integration and real-time integration. Scheduled integration is to first store data in the database, then scan the data table regularly and then integrate according to the integration logic. Since it adopts the regular scanning method, it is generally called scheduled integration. Scheduled integration has a certain delay (it needs to be started regularly), and there is a problem that data cannot be integrated in time after it is late. The real-time integration method adopted by the present invention performs integration judgment before each data is stored in the database, which is fundamentally different from the scheduled integration method.

[0102] The present invention searches the business data table that has been stored before storage, determines the integration conditions, and verifies according to the integration logic. It ensures that the data in the business data table at any time is complete and non-repetitive. Moreover, in the case of late data (data arriving after scheduled scanning), it can also be integrated in time.

[0103] High-altitude data integration is mainly divided into time value table integration and second-level table integration. The time value table and the second-level table have the same structure and basically the same integration rules. The time value table and the second-level table are stored in the form of key table element table. One key table will correspond to multiple element table records.

[0104] The general principles of the data integration rules include:

[0105] 1. Sounding data and wind measurement data are not integrated;

[0106] 2. The conflict between BUFR data and TAC data is mainly based on BUFR data;

[0107] 3. IUS replaces IUK in BUFR data, and IUJ replaces IUW;

[0108] 4. Conflicts within BUFR data and TAC data of the same station are handled on a first-come, first-served basis;

[0109] 5. Dropsonde data are stored separately and do not participate in data integration;

[0110] 6. Inherit the high-altitude time integration rules of CIMISS and regularize it according to 3 hours;

[0111] 7. The update rules for BBB items of TAC data are the same as those of CIMISS.

[0112] The specific operations of data integration include:

[0113] Table structure adjustment: Add corresponding fields to the original table structure as needed to adapt to the integration rules.

[0114] The unique index of the timing value key table UPAR_WEA_GLB_MUL_FTM_K_TAB is adjusted to d_datetime+V01301.

[0115] The statistical field of the number of layers is stored in real time and no values ​​are assigned. Users can then perform statistics according to their own needs.

[0116] The unique index of the feature table UPAR_WEA_GLB_MUL_FTM_TAB is adjusted to: d_datetime+V01301+"V_PART","V08042","V07004","V10009","V07002".

[0117] At the same time, the structure of the timing value table needs to be adjusted according to the hierarchical integration, and V_BBB items and V_TT, C_CCCC fields need to be added to the element table.

[0118] Key field value selection: Process the key field according to the set key field value selection rules.

[0119] 1)D_RECORD_ID field value rules

[0120] The format of the D_RECORD_ID field is "d_datetime_V01301". The data time is rounded to 3 hours and formatted as 'YYYYMMDDHHmimiss'. The example is as follows:

[0121] "20200731000000_98223".

[0122] 2) V_PART value rules:

[0123] i.TAC

[0124] The original TA, TB, TC, TD, PA, PB, PC, and PD represent the four parts of sounding and wind measurement, and need to be converted as follows:

[0125] TA and TB are converted into TEMP_AB, which indicates the AB part of the sounding.

[0126] TC and TD are converted into TEMP_CD, which indicates the CD part of the sounding.

[0127] PA and PB are converted into PILOT_AB, indicating the wind measurement AB section.

[0128] PC and PD are converted into PILOT_CD, indicating the wind measurement CD part.

[0129] ii.BUFR

[0130] The BUFR headers of foreign countries are IUS and IUK (sonde report), and the values ​​are divided according to the air pressure value:

[0131] When the IUK pressure is greater than or equal to 100hPa, it is converted to TEMP_AB; when it is less than 100hPa, it is converted to TEMP_CD.

[0132] When the IUS pressure is greater than or equal to 100hPa, it is converted to TEMP_AB; when it is less than 100hPa, it is converted to TEMP_CD.

[0133] The values ​​of foreign BUFR headers IUJ and IUW (wind forecast) are:

[0134] When the IUW pressure is greater than or equal to 100hPa, it is converted to PILOT_AB; when it is less than 100hPa, it is converted to PILOT_CD.

[0135] When the IUJ air pressure is greater than or equal to 100hPa, it is converted to PILOT_AB; when it is less than 100hPa, it is converted to PILOT_CD.

[0136] When the air pressure is missing, the conversion algorithm is used with a given altitude value:

[0137] When the pressure is missing, the altitude descriptor V10009 is converted first. If V10009 is missing, the altitude V07002 is used for conversion. If both are missing, it will not be stored. When calculating, the altitude value corresponding to 100hpa is 16180m.

[0138] Since domestic high-altitude BUFR and L-band data are not integrated, they are no longer distinguished between above and below 100 hpa.

[0139] The sounding report value is TEMP_CHN.

[0140] The wind measurement report value is PILOT_CHN.

[0141] 3) Unique index fields such as "V08042", "V07004", "V10009", "V07002"

[0142] When the unique index field is missing or not reported, all values ​​are assigned as 999999. This is to avoid the situation where some BUFR messages of air pressure (V07004) are missing and some are not reported. In this case, the messages at the same station and at the same time should be duplicate records, which is mainly caused by the use of different templates.

[0143] When entering the database, it is necessary to make an integrated judgment. First, check whether it is a domestic high-altitude station based on the station number. If it is a domestic high-altitude station, it will no longer be processed for entry, and the second-level table will also perform the same processing. Whether it is a domestic high-altitude station is judged by 117 high-altitude station numbers. Among the 119 stations, two stations in Liaoning that only send TAC (stations 54497 and 54337) are excluded.

[0144] Then check whether it belongs to some special stations (such as South Korea). If it is, no TAC and BUFR integration will be done. Both TAC and BUFR will continue to be stored. If there is a conflict, it will be stored on a first-come-first-served basis.

[0145] Domestic stations make judgments on both BUFR and TAC, and both should be implemented through configuration, and adjustments can be made regularly based on actual conditions.

[0146] Key table storage: Integrate and store key tables according to the set key table storage rules.

[0147] The key table entry rules are as follows:

[0148] When integrating the key table, the v_BBB, v_tt, C_CCCC, and d_source_id fields are all stored in the database, and the last value stored in the database is retained.

[0149] When entering the warehouse, the priority is TEMP>PILOT; BUFR>TAC, and high-priority records replace low-priority records.

[0150] Feature table storage: Integrate and store feature tables according to the set feature table storage rules.

[0151] The rules for storing feature tables are as follows:

[0152] When processing the feature table into the database, first check whether there are duplicate records in the KEY table. The principle for confirming duplicate records is as follows: The checking condition is: datetime+station number.

[0153] If there is no duplicate record, enter the data directly into the warehouse.

[0154] If there are duplicate records, BUFR and TAC data are processed separately according to the following rules.

[0155] 1) BUFR processing when the KEY table is repeated

[0156] Check whether it is the data stored in TAC, using the condition datetime+station number+V_PART+V_TT like 'U%'.

[0157] If it exists, check whether it is a special site. If it is a special site (manually determined), do not delete the TAC entry record and continue to enter the warehouse. In the event of a unique key conflict, if it is a TAC entry record, do not do anything. If it is a BUFR record, follow the BUFR processing rules.

[0158] Otherwise, delete the TAC inventory record first, with the same conditions as the query conditions.

[0159] If it is not a TAC storage record or has been deleted, the following rules apply:

[0160] IUK Warehouse Rules:

[0161] After deleting the TAC entry record in the feature table,

[0162] Before storage, check whether there is a storage record of IUS corresponding to V_TT in the original element table.

[0163] If it exists, it will not be stored.

[0164] If it does not exist, continue to store it.

[0165] When a unique key conflict occurs,

[0166] Check whether the V_tt of the original record is the same as the V_tt of the record to be stored.

[0167] If they are the same, perform the judgment logic of item BBB.

[0168] If they are different, they will not be put into storage. (First come first served)

[0169] V_TT Check Rules:

[0170] Replace the first three characters of V_TT with IUK and IUS

[0171] For example, if IUSC01 has not been put into storage when IUKC01 arrives, then IUSC01 will continue to be put into storage.

[0172] If IUSC01 has been put into storage, it will not be put into storage again.

[0173] IUS entry rules:

[0174] Since IUS has a higher priority than IUK, it will replace the IUK record in the database. The replacement strategy is to first delete the corresponding IUK information and then insert it.

[0175] When deleting, you need to use station number + d_datetime + V_PART + reporting center + (replaced V_TT).

[0176] Replacement rule: replace the first three characters of V_TT with IUS and IUK,

[0177] For example, IUSC01 only deletes and replaces IUKC01, but does not replace IUKC02, 03, 04, and 05.

[0178] If a unique key conflict occurs when continuing to store data after deletion, check whether the V_tt of the original record is the same as the V_tt of the record to be stored.

[0179] If they are the same, perform the judgment logic of item BBB.

[0180] If they are different, if the stored record has an IUK header, delete the original record. (IUS replaces IUK)

[0181] The IUW entry rules refer to the IUK rules.

[0182] The rules for IUJ replacing IUW refer to IUK and IUS.

[0183] 2) TAC processing when the KEY table is repeated

[0184] Check if there is a BUFR entry record in the corresponding department record of the element table. Check the station number + d_datetime + V_PART + V_ttlike 'I%'. If it exists, it means that the BUFR entry has been made in the element table of the department, and no more entry will be made. Some special stations are exceptions, such as those in South Korea. When the station is a special station, it is (a station with more complete TAC confirmed by humans).

[0185] If it does not exist, continue entering the feature table.

[0186] When there is a unique key conflict, if it is a BUFR record, it will not be processed further (first come first served). If the original record is a TAC entry record, follow the TAC processing logic and perform the BBB item comparison and judgment strategy.

[0187] In addition, correction reports are processed according to the following rules:

[0188] The deletion condition for BUFR and TAC correction processing is (datetime+station number+V_PART+V_TT+C_CCCC as the condition), that is, only the records of the same reporting center can be deleted when the correction processing is performed. When comparing, the BBB item of the element table is used for comparison, instead of the BBB item of the key table.

[0189] The present invention decodes and stores GTS multi-format sounding messages, performs data integration according to the set data integration rules, discovers and integrates corresponding duplicate data, and discovers and retains the respective unique data. The present invention sets up a set of real-time overall integration solutions, which can remove duplicate data to the maximum extent, retain valid data, solve the problems of accuracy difference and level difference in the integration process, and ensure the integrity of the data.

[0190] The GTS multi-format sounding messages integrated by the present invention are more complete than data from any single source. Taking the global sounding data at 00:00 on 2020-12-20 as an example, there are 547 sounding stations in TAC format, 470 stations in BUFR format, and 418 stations that send both TAC and BUFR formats. The number of stations after deduplication through the integration algorithm reaches 599 stations, an increase of nearly 10% compared to the TAC format and 27% compared to the BUFR format. At the same time, the integration eliminates duplicate data from TAC and BUFR, which can effectively reduce the impact on users such as weather forecasters. The integrated distribution map is shown below. Figure 2 shown.

[0191] The real-time integrated data is compared with the IGRA produced by NECI in the United States, one of the most famous upper-air data in the world. Figure 3 As shown in the figure, the integrity and stability of the high-altitude data after real-time integration by the integration algorithm of the present invention are higher than those of IGRA. In IGRA, the number of stations fluctuated slightly on several days, while the number of high-altitude stations after integration by TianQing remained stable during the same period.

[0192] GTS multi-format sounding message integration is achieved through three decoding programs, one for domestic sounding data, one for global BUFR format sounding data, and one for global TAC format data. Figure 4 As shown in the figure, the overall integration process is realized through database interaction before storage. Before storage, the database is queried and the integration logic is used to process the query results. This ensures that the data in the database is non-duplicate and complete at any time.

[0193] Three decoding programs can be deployed on one server, such as Figure 5 As shown; it can also be deployed in a distributed manner on multiple servers, such as Figure 6 shown.

[0194] The embodiment of the present invention provides a GTS multi-format sounding message real-time conversion device, such as Figure 7 As shown, the device comprises:

[0195] The data receiving module 1 is used to receive GTS multi-format sounding messages and record them in a report table, wherein the types of the GTS multi-format sounding messages include domestic sounding BUFR data, foreign sounding BUFR data and foreign sounding TAC data.

[0196] The decoding module 2 is used to decode and store the received GTS multi-format sounding messages into the original data table and the business data table.

[0197] Integration module 3 is used to search the business data tables that have been stored before storage, judge the integration conditions based on the search results, integrate the business data tables according to the set data integration rules, discover and integrate the corresponding duplicate data, discover and retain each unique data, and enter the records of the integrated data into the business data table.

[0198] The original data table and the service data table both include a timing value table and a second-level table. The GTS multi-format sounding message is first entered into a report table before decoding. The report table has no unique index setting and retains the original message content.

[0199] The GTS multi-format sounding message is decoded to generate a timing value record and a corresponding parameter table record to obtain a timing value table; for messages containing second-level data, second-level records are simultaneously generated and stored;

[0200] When entering the database, the business data table is integrated in real time, the original data table is not integrated and judged, and all the original decoded data is retained.

[0201] In the decoding module, data in different TAC and BUFR formats are divided into different types and distinguished by different codes.

[0202] Among them, the timing value table and the second-level table are stored in the form of a key table and an element table. One key table corresponds to multiple element table records.

[0203] The data integration rules include:

[0204] The sounding data and wind measurement data are not integrated;

[0205] The hierarchical conflict between BUFR data and TAC data is mainly based on BUFR data;

[0206] In BUFR data, IUS replaces IUK, and IUJ replaces IUW;

[0207] Conflicts within BUFR data and TAC data of the same station are handled on a first-come, first-served basis;

[0208] Dropsonde data are stored separately and do not participate in data integration;

[0209] Inheriting the high-altitude time integration rules of CIMISS, regularized to 3 hours;

[0210] The updating rules of BBB items in TAC data are the same as those in CIMISS.

[0211] The operations of the integration module include:

[0212] Add corresponding fields to the original table structure as needed to adapt to the integration rules;

[0213] Process the key fields according to the set key field value rules;

[0214] Integrate and store key tables according to the set key table storage rules;

[0215] Integrate and store feature tables according to the set feature table storage rules.

[0216] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as the aforementioned method embodiment. For the sake of brief description, the device embodiment may refer to the corresponding contents in the aforementioned method embodiment for any part not mentioned therein. A person skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the aforementioned devices and units may refer to the corresponding processes in the aforementioned method embodiment, and will not be repeated here.

[0217] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for real-time conversion of GTS multi-format sounding messages, characterized in that: The method comprises: S1: receiving GTS multi-format sounding messages and recording them in a report table, wherein the types of the GTS multi-format sounding messages include domestic sounding BUFR data, foreign sounding BUFR data and foreign sounding TAC data; S2: Decode and store the received GTS multi-format sounding messages into the original data table and business data table; S3: Before storage, search the business data tables that have been stored, judge the integration conditions based on the search results, integrate the business data tables according to the set data integration rules, find and integrate the corresponding duplicate data, find and retain the unique data, and enter the integrated data records into the business data tables; The original data table and the service data table both include a timing value table and a second-level table. The GTS multi-format sounding message is first entered into a report table before decoding. The report table has no unique index setting and retains the original message content. The GTS multi-format sounding message is decoded to generate a timing value record and a corresponding parameter table record to obtain a timing value table; for messages containing second-level data, second-level records are simultaneously generated and stored; When entering the database, the business data table is integrated in real time, and the original data table is not integrated and judged, and all the original decoded data is retained; In S2, data in different TAC and BUFR formats are divided into different types and distinguished by different codes; The timing value table and the second-level table are stored in the form of key table and element table. One key table will correspond to multiple element table records. The data integration rules include: The sounding data and wind measurement data are not integrated; The hierarchical conflict between BUFR data and TAC data is mainly based on BUFR data; In BUFR data, IUS replaces IUK, and IUJ replaces IUW; Conflicts within BUFR data and TAC data of the same station are handled on a first-come, first-served basis; Dropsonde data are stored separately and do not participate in data integration; Inheriting the high-altitude time integration rules of CIMISS, regularized to 3 hours; The update rules for BBB items of TAC data are the same as those of CIMISS.

2. The GTS multi-format sounding message real-time conversion method according to claim 1, characterized in that: The S3 includes: Add corresponding fields to the original table structure as needed to adapt to the integration rules; Process the key fields according to the set key field value rules; Integrate and store key tables according to the set key table storage rules; Integrate and store feature tables according to the set feature table storage rules.

3. A GTS multi-format sounding message real-time conversion device, characterized in that: The device comprises: A data receiving module, used for receiving GTS multi-format sounding messages and recording them in a report table, wherein the types of GTS multi-format sounding messages include domestic sounding BUFR data, foreign sounding BUFR data and foreign sounding TAC data; The decoding module is used to decode and store the received GTS multi-format sounding messages into the original data table and the business data table; The integration module is used to search the business data tables that have been stored before storage, judge the integration conditions based on the search results, integrate the business data tables according to the set data integration rules, find and integrate the corresponding duplicate data, find and retain the unique data, and enter the integrated data records into the business data tables; The original data table and the service data table both include a timing value table and a second-level table. The GTS multi-format sounding message is first entered into a report table before decoding. The report table has no unique index setting and retains the original message content. The GTS multi-format sounding message is decoded to generate a timing value record and a corresponding parameter table record to obtain a timing value table; for messages containing second-level data, second-level records are simultaneously generated and stored; When entering the database, the business data table is integrated in real time, and the original data table is not integrated and judged, and all the original decoded data is retained; In the decoding module, data in different TAC and BUFR formats are divided into different types and distinguished by different codes; The timing value table and the second-level table are stored in the form of key table and element table. One key table will correspond to multiple element table records. The data integration rules include: The sounding data and wind measurement data are not integrated; The hierarchical conflict between BUFR data and TAC data is mainly based on BUFR data; In BUFR data, IUS replaces IUK, and IUJ replaces IUW; Conflicts within BUFR data and TAC data of the same station are handled on a first-come, first-served basis; Dropsonde data are stored separately and do not participate in data integration; Inheriting the high-altitude time integration rules of CIMISS, regularized to 3 hours; The update rules for BBB items of TAC data are the same as those of CIMISS.