A method and device for monitoring and early warning of multi-channel security inspection data backhaul quality
By constructing a unified data collection and integration process, unified storage and correlation analysis of security inspection data from multiple channels were achieved, solving the problem of data silos and enabling routine automatic monitoring and early warning of the quality of security inspection data transmission, thereby improving the quality of data transmission and market competitiveness.
Patent Information
- Application Number
- CN202611223381.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies cannot effectively solve the problem of data silos in multi-channel security checks, lack unified monitoring and automated early warning of the quality of security check data transmission, cannot accurately calculate key monitoring indicators, and are difficult to detect and rectify data transmission quality problems in a timely manner.
By constructing a unified data collection, cleaning, integration, and fusion process, security inspection data from different channels are incorporated into the same data model, enabling unified storage and correlation analysis of security inspection data from multiple channels. An automated task scheduling mechanism is used for monitoring and early warning, calculating the security inspection data return rate and sending early warnings to airports that do not meet the standards.
It has achieved unified storage and correlation analysis of security inspection data from multiple channels, realized routine automatic monitoring of the quality of security inspection data transmission, accurately quantified the transmission level of each airport, and constructed a complete management closed loop from data monitoring to early warning, reducing the cost of manual monitoring and improving the quality of data transmission and market competitiveness.
Smart Images

Figure CN123178377A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method and device for monitoring and early warning of the quality of multi-channel security inspection data transmission. Background Technology
[0002] As the civil aviation industry undergoes rapid transformation, airport service models continue to iterate and upgrade, shifting the focus from traditional, single departure services to comprehensive services covering the entire passenger travel process.
[0003] Currently, the main channels for data transmission back to domestic airport security checkpoints include the UME channel, AMB channel, and PE channel. Due to the complexity of the data transmission links and the heterogeneity of the technology stacks, the data formats and field definition rules are inconsistent. Security check data from different channels are stored independently without effective correlation, resulting in a prominent data silo problem. Furthermore, existing technical solutions lack a unified mechanism for collecting, cleaning, integrating, and merging security check data from various channels. This makes it impossible to accurately calculate key monitoring indicators such as the data transmission rate for each airport, and even more difficult to implement routine and automated monitoring and control of the quality of security check data transmission. Consequently, it is difficult to promptly identify data transmission quality issues and notify relevant parties for rectification.
[0004] Chinese patent CN117708364A discloses a method, device, equipment, storage medium, and system for associating security inspection data. This device acquires an initial image set (including packages and individuals) captured by a security scanner, along with a first captured image of the individual at the security gate and a second captured image at a preset location. It then associates the individual with their package and integrates them into a single record, aiming to solve the problem of determining the individual to whom a package belongs when multiple people are present in a security inspection scenario. However, this device still has the following shortcomings: its technical solution only focuses on the association between people and packages at the security checkpoint, processing image data and not monitoring the quality of multi-channel security inspection data transmission; it cannot solve the data silo problem between security inspection data from different data sources and in different formats, lacks an automated calculation and evaluation mechanism for quantitative indicators such as the security inspection data transmission rate, and cannot proactively issue warnings for airports with substandard data transmission quality.
[0005] Therefore, how to provide a method that can break down data silos across multiple security inspection channels and achieve automated monitoring and early warning of the quality of security inspection data transmission has become a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0006] In view of this, in order to overcome the shortcomings of the prior art, the present invention aims to provide a method and device for monitoring and early warning of the quality of multi-channel security inspection data transmission.
[0007] This invention provides a method for monitoring and early warning of the quality of multi-channel security inspection data transmission, comprising the following steps: Step S1: Trigger the monitoring job and establish a database connection; Step S2: Read check-in data and security check data from at least two channels according to the flight date, and store them into the corresponding temporary tables respectively; Step S3: Associate and match the security check data from each channel with the check-in data to generate unified integrated security check data, and merge and deduplicate the security check data from each channel for the same passenger to form a single passenger security check record; Step S4: Summarize and calculate monitoring indicators by airport dimension. The monitoring indicators include the security check data return rate, and send warnings to airports that fail to meet the monitoring indicators.
[0008] Optionally, in the multi-channel security inspection data feedback quality monitoring and early warning method of the present invention, step S1, triggering a monitoring operation and establishing a database connection is performed as follows: the monitoring operation is triggered daily according to the time setting of the operation timer; after the operation starts, the database information is automatically obtained according to the database configuration file and a database connection is established; if the database connection fails or times out, an operation alarm is sent.
[0009] Optionally, in the multi-channel security check data feedback quality monitoring and early warning method of the present invention, before reading check-in data and security check data from at least two channels according to the flight date in step S2, the method further includes: executing an inspection script, repeatedly calling a status check function according to a predefined job array variable, and confirming one by one whether the data entry operations corresponding to the check-in data and the security check data from each channel have been completed; if all operations are completed, it is determined that the required original data already exists; if there are incomplete data entry operations, a job alarm is sent; the flight date is equal to the job execution date minus one day.
[0010] Optionally, in the multi-channel security check data feedback quality monitoring and early warning method of the present invention, step S2 involves reading check-in data and security check data from at least two channels according to the flight date and storing them in corresponding temporary tables, as follows: Based on the flight date, a first function is called to read all check-in data with a check-in status of "received" and store it in a temporary check-in data table; based on the flight date, functions corresponding to each security check channel are called to read the security check feedback data from each channel and store it in a temporary security check data table corresponding to each security check channel; when creating each temporary table, a combination of flight date, airline code, flight number, flight number suffix, originating airport code, and boarding number is used as a partitioning field to achieve data distribution across nodes in the database.
[0011] Optionally, in the multi-channel security check data feedback quality monitoring and early warning method of the present invention, in step S3, the security check data of each channel is associated and matched with the check-in data to generate unified integrated security check data, which is done as follows: Each channel's temporary security check data table is used as the main table, and a left outer join is performed with the check-in data temporary table; for successfully matched records, an integrated record containing flight date, airline code, flight number, flight number suffix, origin airport code, boarding number, seat number, whether there is a transfer, security check time, security check channel, security check counter, security check method, security check status, and security check channel is generated and stored in the base table; the security check data of different channels are uniformly stored after field conversion according to their respective business rules; after the data is successfully written to the base table, each temporary table is deleted; if the data writing fails, a job alarm is sent.
[0012] Optionally, in the multi-channel security check data feedback quality monitoring and early warning method of the present invention, in step S3, the security check status is determined according to the business rules corresponding to each security check channel: for the first channel security check, when the security check feedback code is any value in the first preset value set, it is determined that the security check has been successfully passed; when the security check feedback code is any value in the second preset value set, it is determined that the security check has not been successfully passed; for the second channel security check and the third channel security check, when the entry / exit identifier is the preset entry identifier and the release identifier is the preset release identifier, it is determined that the security check has been successfully passed; otherwise, it is determined that the security check has not been successfully passed.
[0013] Optionally, in the monitoring and early warning method for the multi-channel security check data transmission quality of the present invention, in step S3, the security check data of the same passenger from different channels are merged and deduplicated to form a single passenger security check record, which is done as follows: query the basic table, and use the combination of flight date, airline code, flight number, flight number suffix, departure airport code and boarding number as grouping fields to group the security check records belonging to the same passenger; use the security check channel as the sorting field to sort the records in each group according to a preset priority order; take the first record after sorting as the unique security check record of the passenger and store it in the fusion table.
[0014] Optionally, in the monitoring and early warning method for the quality of multi-channel security check data feedback of the present invention, in step S4, the monitoring indicators are summarized and calculated according to the airport dimension, and the following method is used: query the fusion table, summarize the data according to the airport dimension, and calculate the number of check-in passengers, the number of security check passengers through each channel, the number of fused security check passengers, the number of transit passengers, and the number of transit passengers who do not need to repeat security checks; calculate the security check data feedback rate based on the number of fused security check passengers, the number of check-in passengers, and the number of transit passengers who do not need to repeat security checks; and store the calculation results in the summary table.
[0015] Optionally, in the multi-channel security inspection data feedback quality monitoring and early warning method of the present invention, in step S4, the security inspection data feedback rate is calculated according to the following formula: Security check data feedback rate = 100 × number of passengers undergoing integrated security checks / (number of passengers checking in) (No need for repeated security checks for transit passengers).
[0016] Optionally, in the multi-channel security check data feedback quality monitoring and early warning method of the present invention, in step S4, early warnings are sent to airports that do not meet the monitoring indicators, in the following manner: read the summary table, identify airports whose security check data feedback rate is lower than a preset threshold, and determine them as having substandard quality; trigger the early warning script, and send an early warning reminder email to the branch office to which the substandard airport belongs, according to the preset early warning email recipient information, the email content of which includes the monitoring indicators.
[0017] The method for monitoring and early warning of the quality of multi-channel security inspection data transmission of the present invention has the following beneficial technical effects: 1. Breaking down data silos across multiple security check channels: By constructing a unified data collection, cleaning, integration, and fusion process, security check feedback data from different channels are incorporated into the same data model, enabling unified storage and correlation analysis of security check data from multiple channels, laying a data foundation for the accurate calculation of subsequent monitoring indicators.
[0018] 2. Achieve routine automatic monitoring of security inspection data transmission quality: Based on batch data processing technology and automated task scheduling mechanism, data collection, processing, summarization and indicator calculation can be completed automatically every day without manual intervention, reducing manual monitoring costs and improving monitoring efficiency.
[0019] 3. Accurately quantify the data transmission level of security checks at each airport: By defining a quantitative calculation formula for the data transmission rate of security checks, the actual transmission quality of security check data at each airport can be objectively and accurately reflected, providing a reliable data basis for determining the tiered adjustment indicators of fees in the business policy for extended departure services.
[0020] 4. Construct a complete monitoring and early warning closed loop: The system automatically identifies airports with substandard data return rates and sends early warning emails to their respective branches, realizing a complete management closed loop from data monitoring and quality assessment to early warning notification, promoting timely rectification at the airport side and improving the quality of data return.
[0021] 5. Reduce the risk of business loss: By improving the ability to control the quality of security check data transmission from local airports, the company can enhance the market competitiveness of its airport business and effectively prevent the risk of business loss caused by airlines, airports building their own security check systems or introducing third-party services. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 A flowchart illustrating the steps of a method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to an exemplary embodiment 1 of the present invention; Figure 2 A flowchart illustrating the process of generating unified security check integrated data according to the method of Exemplary Embodiment 1 of the present invention; Figure 3 A schematic diagram illustrating the process of determining security check status according to an exemplary embodiment 1 of the present invention; Figure 4 A schematic diagram of a method and apparatus for monitoring and early warning of the quality of multi-channel security inspection data transmission according to an exemplary embodiment 2 of the present invention; Figure 5 This is a schematic diagram of the job timer setting according to an exemplary embodiment 3 of the present invention; Figure 6 This is a schematic diagram of a script for checking whether a job has been completed according to an exemplary embodiment 3 of the present invention; Figure 7 This is a flowchart illustrating the method for generating integrated security inspection data according to an exemplary embodiment 3 of the present invention; Figure 8 This is a schematic diagram of some airport security data monitoring indicators according to an exemplary embodiment 3 of the present invention; Figure 9 This is a schematic diagram of an exemplary warning email indicating that the return rate quality does not meet the standard, as shown in Embodiment 3 of the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] Example 1 Figure 1 The flowchart below illustrates a method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to an exemplary embodiment 1 of the present invention. Figure 1As shown, in this embodiment, the method for monitoring and early warning of the quality of multi-channel security inspection data transmission is implemented according to the following steps: Step S1: Trigger the monitoring job and establish a database connection; In this embodiment, in step S1, the monitoring job is triggered and a database connection is established in the following manner: the monitoring job is triggered daily according to the time setting of the job timer; after the job starts, the database information is automatically obtained according to the database configuration file and a database connection is established; if the database connection fails or times out, a job alarm is sent.
[0026] Step S2: Read check-in data and security check data from at least two channels according to the flight date, and store them into the corresponding temporary tables respectively; In this embodiment, before reading check-in data and security check data from at least two channels according to the flight date in step S2, the method further includes: executing an inspection script, repeatedly calling a status check function according to a predefined job array variable, and confirming one by one whether the warehousing operations corresponding to the check-in data and the security check data from each channel have been completed; if all operations have been completed, it is determined that the required original data already exists; if there are incomplete warehousing operations, a job alarm is sent; the flight date is equal to the job execution date minus one day.
[0027] In this embodiment, in step S2, check-in data and security check data from at least two channels are read according to the flight date and stored in corresponding temporary tables, as follows: According to the flight date, the first function is called to read all check-in data with a check-in status of "received" and stored in the check-in data temporary table; according to the flight date, the function corresponding to each security check channel is called to read the security check feedback data from each channel and stored in the security check data temporary table corresponding to each security check channel; when creating each temporary table, a combination of flight date, airline code, flight number, flight number suffix, origin airport code, and boarding number is used as the partition field to realize the distribution of data in each node of the database.
[0028] Step S3: Associate and match the security check data from each channel with the check-in data to generate unified integrated security check data, and merge and deduplicate the security check data from each channel for the same passenger to form a single passenger security check record; Figure 2 A schematic diagram illustrating the unified security check integration data flow generated by the method of Exemplary Embodiment 1 of the present invention is shown below. Figure 2As shown in this embodiment, in step S3, the security check data from each channel is associated and matched with the check-in data to generate unified integrated security check data. This is done as follows: Each channel's temporary security check data table is used as the main table, and a left outer join is performed with the temporary check-in data table. For successfully matched records, an integrated record containing flight date, airline code, flight number, flight number suffix, origin airport code, boarding number, seat number, whether there is a transfer, security check time, security check lane, security check counter, security check method, security check status, and security check channel is generated and stored in the base table. The security check data from different channels are converted according to their respective business rules and then stored uniformly. After the data is successfully written to the base table, each temporary table is deleted. If the data writing fails, a job alarm is sent.
[0029] In this embodiment, by performing left outer joins between the temporary security check data tables from each channel and the temporary check-in data tables as the main table, an integrated record containing key fields such as flight date, boarding number, and security check status is generated and stored in the base table, achieving accurate association between security check data and check-in data from multiple channels. By converting fields according to their respective business rules and storing them uniformly, the differences in data formats across multiple channels are bridged, resolving the data silo problem. After successful data writing, the temporary table is deleted to release resources; if writing fails, a job alarm is sent, ensuring the integrity of data processing and the system's resource utilization.
[0030] Figure 3 A schematic diagram of the process for determining the security check status according to an exemplary embodiment 1 of the present invention is shown below. Figure 3 As shown in this embodiment, in step S3, the security check status is determined according to the business rules corresponding to different security check channels: For the first channel security check, when the security check feedback code is any value in the first preset value set, it is determined that the security check has been successfully passed; when the security check feedback code is any value in the second preset value set, it is determined that the security check has not been successfully passed. For the second channel security check and the third channel security check, when the entry / exit identifier is the preset entry identifier and the release identifier is the preset release identifier, it is determined that the security check has been successfully passed; otherwise, it is determined that the security check has not been successfully passed.
[0031] By determining the security check status according to the corresponding business rules of different security check channels, the first channel is judged based on the preset value set of the security check feedback code, and the second and third channels are judged based on the entry / exit mark and the release mark. This achieves accurate conversion and unified expression of the security check status fields of each channel, overcomes the technical obstacles of inconsistent data formats and encoding rules of different channels, and provides a reliable data foundation for the subsequent accurate calculation of the integrated security check passenger volume.
[0032] In this embodiment, in step S3, the security check data of the same passenger from different channels are merged and deduplicated to form a single passenger security check record. This is done as follows: the basic table is queried, and the security check records belonging to the same passenger are grouped using a combination of flight date, airline code, flight number, flight number suffix, departure airport code, and boarding number as grouping fields; the records in each group are sorted according to a preset priority order using the security check channel as the sorting field; the first record after sorting is taken as the unique security check record of the passenger and stored in the fusion table.
[0033] Step S4: Summarize and calculate monitoring indicators by airport dimension. The monitoring indicators include the security check data return rate, and send warnings to airports that fail to meet the monitoring indicators.
[0034] In this embodiment, in step S4, the monitoring indicators are summarized and calculated according to the airport dimension, which is done as follows: query the fusion table, summarize the data according to the airport dimension, and calculate the number of check-in passengers, the number of security check passengers through each channel, the number of fused security check passengers, the number of transit passengers, and the number of transit passengers who do not need to repeat security checks; calculate the security check data return rate based on the number of fused security check passengers, the number of check-in passengers, and the number of transit passengers who do not need to repeat security checks; and store the calculation results in the summary table.
[0035] According to the optional example, in step S4, the security check data return rate is calculated according to the following formula: Security check data feedback rate = 100 × number of passengers undergoing integrated security checks / (number of passengers checking in) (No need for repeated security checks for transit passengers).
[0036] In this embodiment, in step S4, an early warning is sent to airports that fail to meet the monitoring indicators, which is done as follows: the summary table is read, airports with security check data return rates lower than a preset threshold are identified and judged as having substandard quality; an early warning script is triggered, and an early warning email is sent to the branch office to which the substandard airport belongs, according to the preset early warning email recipient information. The email content includes the monitoring indicators.
[0037] By reading the summary table and identifying airports with security check data return rates below a preset threshold, the system determines that the data quality is substandard. This triggers an early warning script that sends an early warning email containing monitoring indicators to the branch offices of the substandard airports based on preset early warning email recipient information. This achieves a complete management closed loop from data monitoring and quality assessment to early warning notification, enabling each branch office to promptly learn about data return issues at its local airports and promote rectification, effectively improving the control efficiency and response speed of security check data return quality.
[0038] Example 2 Exemplary Example 2 of the present invention provides a method for monitoring and early warning of the quality of multi-channel security inspection data transmission, comprising: 1. Start the job on a schedule, obtain database information, and establish a database connection.
[0039] 2. Check if the required original data exists based on the flight date.
[0040] 3. Based on the flight date, read the original check-in data and the original security check data from the three channels respectively, and save the results to their respective temporary tables.
[0041] 4. The temporary check-in data table is associated and matched with the temporary security check data tables of the three channels respectively to generate integrated security check data, and the results are saved to the base table.
[0042] 5. Based on the preset priority of security check data from the three channels, merge the security check data of the same passenger from each channel, and save the results to the merge table.
[0043] 6. Summarize data by airport, calculate monitoring indicators such as security check data return rate, and save the results to the summary table.
[0044] 7. For airports whose security check data return rate does not meet the standards, send a warning email to their respective branch offices.
[0045] Figure 4 This is a schematic diagram of a monitoring and early warning device for the multi-channel security inspection data transmission quality according to an exemplary embodiment 2 of the present invention, as shown below. Figure 4 As shown, in this embodiment, the method for monitoring and early warning of the quality of multi-channel security inspection data transmission can operate in the following device architecture: the device for monitoring and early warning of the quality of multi-channel security inspection data transmission includes: The startup unit initiates the job daily according to the job timer settings. After the job starts, it automatically retrieves database information and establishes a database connection. If the database connection fails or times out, a job alarm is sent. The inspection unit checks the existence of the required raw data based on the flight date. If the data is missing, an operation alarm is sent. The required raw data includes: check-in data, UME channel security check data, AMB channel security check data, and PE channel security check data. It should be noted that in this invention, the flight date is equal to the operation execution date - 1. The reading unit reads the original check-in data and the original security check data from the three channels according to the flight date, and saves the results to their respective temporary tables; In the generation unit, the temporary table of check-in data is associated and matched with the temporary tables of security check data from the three channels to generate integrated security check data, and the results are saved to the base table. The fusion unit reads basic security check data based on the flight date, merges the security check data of the same passenger from different channels according to the preset priority of the three channels, and saves the results to the fusion table. The calculation unit reads the fused security check data based on flight dates, summarizes the data by airport, calculates monitoring indicators such as the security check data return rate, and saves the results to a summary table. It should be noted that the security check data return rate is equal to 100%. Combined security screening passenger volume / (check-in passenger volume - transit passenger volume that does not require repeated security screening). The early warning unit reads the security check summary data based on the flight date. For airports where the security check data return rate and quality do not meet the standards, the SecMonitor script is triggered to send an early warning email to the branch office to which the airport belongs, based on the preset early warning email recipient information.
[0046] Example 3 Exemplary Example 3 of the present invention provides a method for monitoring and early warning of the quality of multi-channel security check data transmission, which is used by domestic branches to conduct routine monitoring of the use of local airport security check systems and data transmission, assisting airports in standardizing system operation, improving security check data transmission processes, and steadily improving data transmission quality.
[0047] The implementation plan for monitoring and early warning of the quality of multi-channel security inspection data transmission includes the following steps: Step 101: Start the job daily according to the job timer settings. After the job starts, retrieve database information based on the database configuration file, establish a database connection, and send a job alarm if the database connection fails or times out. Figure 5 As shown.
[0048] Step 102: Based on the flight date, check if the required raw data exists. If not, send a job alarm. The required raw data includes: check-in data, UME channel security check data, AMB channel security check data, and PE channel security check data. Specifically, execute the pax_sec_base0001 script, which, based on the predefined job array variable JOB_list, repeatedly calls the ckeckjobstatus() function to check if the data entry jobs corresponding to the four types of raw data have been completed. If completed, it indicates that the above four types of raw data already exist, and continue to step 103; if not completed, send a job alarm. It should be noted that in this invention, the flight date equals the job execution date - 1. Figure 6 As shown, Step 103: Based on the flight date, read the original check-in data and the original security check data from the three channels respectively, and save the results to their respective temporary tables. Specifically, execute the pax_sec_base0100 script. Based on the flight date, first call the getPaxCki() function to create a temporary check-in data table TMP_CKI_PAX, query the original check-in data table, read all check-in data with a check-in status of "received", and save it to the temporary table TMP_CKI_PAX.
[0049] Then the getSecUME() function is called to create a temporary table TMP_SEC_UME for UME security inspection data, query the original UME security inspection data table, read the security inspection feedback data from the UME channel, and save it to the temporary table TMP_SEC_UME.
[0050] Then the getSecAMB() function is called to create a temporary AMB security check data table TMP_SEC_AMB, query the original AMB security check data table, read the security check feedback data from the AMB channel, and save it to the temporary table TMP_SEC_AMB.
[0051] Finally, the `getSecPE()` function is called to create a temporary table `TMP_SEC_PE` for PE security check data. This table queries the original PE security check data table, reads the security check feedback data from the PE channel, and saves it to the temporary table `TMP_SEC_PE`. When creating the temporary table, the flight date, airline code, flight number, flight number suffix, origin airport code, and boarding number must be combined as the `DISTRIBUTEBY` partition field to achieve a reasonable distribution of data across the database server nodes, improving data processing speed and efficiency.
[0052] Step 104: The temporary check-in data table is matched with the temporary security check data tables for the three channels respectively to generate integrated security check data, and the results are saved to the base table. Specifically, the pax_sec_base0200 script is executed. First, the processSecUME() function is called. Using the UME security check data temporary table TMP_SEC_UME as the main table, a left outer join is performed with the check-in data temporary table TMP_CKI_PAX. For successful matches, integrated information such as flight date, airline code, flight number, flight number suffix, departure airport code, boarding number, seat number, whether there is a transfer, security check time, security check lane, security check counter, security check method, security check status, and security check channel is generated and saved to the base table T_SEC.
[0053] Then, the processSecAMB() function is called, using the temporary AMB security check data table TMP_SEC_AMB as the main table, and performing a left outer join with the temporary check-in data table TMP_CKI_PAX. For successful matches, integrated information such as flight date, airline code, flight number, flight number suffix, departure airport code, boarding number, seat number, whether there is a transfer, security check time, security check lane, security check counter, security check method, security check status, and security check channel is generated and saved to the base table T_SEC.
[0054] Finally, the processSecPE() function is called, using the temporary security check data table TMP_SEC_PE as the main table, and performing a left outer join with the temporary check-in data table TMP_CKI_PAX. For successful matches, integrated information such as flight date, airline code, flight number, flight number suffix, departure airport code, boarding number, seat number, whether there is a transfer, security check time, security check lane, security check counter, security check method, security check status, and security check channel is generated and saved to the base table T_SEC.
[0055] Because security check feedback data from different channels originates from different data sources, additional processing is required based on different business rules and enumeration information during data processing. For example, the security check status needs to be determined by calling the `getSecStatus(String secChannle)` function, passing in the security check channel parameters, and returning the security check status. For UME channel security checks, when the security check feedback code is 0, 2, or 4, the security check status is successful; when the security check feedback code is 1, 3, or 5, the security check status is unsuccessful. For AMB channel security checks, when the entry / exit identifier is "I" and the release identifier is "1", the security check status is successful; otherwise, it is unsuccessful. For PE channel security checks, when the entry / exit identifier is "I" and the release identifier is "1", the security check status is successful; otherwise, it is unsuccessful. Through data integration, unified storage of security check feedback data from the three channels is achieved, solving the data silo problem.
[0056] After data generation, determine whether the security check integration data has been successfully written to the base tables. If successful, delete the temporary tables TMP_CKI_PAX, TMP_SEC_UME, TMP_SEC_AMB, and TMP_SEC_PE. If unsuccessful, send a job alarm, such as... Figure 7 As shown.
[0057] Step 105: Based on the flight date, read the basic security check data. According to the preset priority of the three security check channels, merge the security check data for the same passenger across different channels, and save the result to the merge table. Specifically, execute the `pax_sec_base0300` script. Based on the flight date, query the basic table `T_SEC` to read the basic security check data. According to the preset priority of the three security check channels, use the flight date, airline code, flight number, flight number suffix, departure airport code, and boarding number as the `partition by` fields, and the security check channel as the sorting field. Sort the data using `row_number()`, and take the first row of data after sorting. Save the result to the merge table `T_SEC_MERGE`. It should be noted that the priority of the three security check channels is AMB > UME > PE, with ">" indicating higher priority.
[0058] Step 106: Based on the flight date, read the fused security check data, summarize the data by airport, calculate monitoring indicators such as the security check data return rate for each airport, and save the results to the summary table T_SEC_SUM_AIRPT. Specifically, execute the pax_sec_base0400 script, query the fused table T_SEC_MERGE based on the flight date, read the fused security check data, summarize the data by airport, calculate monitoring indicators such as check-in passenger volume, UME channel security check passenger volume, AMB channel security check passenger volume, PE channel security check passenger volume, fused security check passenger volume, transit passenger volume, transit passenger volume without repeated security checks, and security check data return rate, and save the results to the summary table T_SEC_SUM_AIRPT. It should be noted that the security check data return rate equals 100%. Combine the number of passengers checking security / (number of passengers checking in - number of passengers transferring without needing to go through security again), such as Figure 8 As shown.
[0059] Step 107: Based on the flight date, read the security check summary data. For airports with substandard security check data return rate quality, trigger the SecMonitor script to send a warning email according to the preset warning email recipient information. The email content includes the calculated indicators from step 106, such as... Figure 9 As shown.
[0060] Based on the same inventive concept as the above disclosure, this disclosure also provides an electronic device. The electronic device of this disclosure includes at least one processor and at least one memory electrically connected to the processor. The memory is electrically connected to the processor, wherein the memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method described above.
[0061] It should be noted that the electrical connection between the above-mentioned units does not necessarily mean the connection between lines. The indirect connection method can be applied to the embodiments of this disclosure as long as it achieves the purpose of this disclosure.
[0062] Based on the same inventive concept, this disclosure also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the above-described method.
[0063] Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for monitoring and early warning of the quality of multi-channel security inspection data feedback, characterized in that, Includes the following steps: Step S1: Trigger the monitoring job and establish a database connection; Step S2: Read check-in data and security check data from at least two channels according to the flight date, and store them into the corresponding temporary tables respectively; Step S3: Associate and match the security check data from each channel with the check-in data to generate unified integrated security check data, and merge and deduplicate the security check data from each channel for the same passenger to form a single passenger security check record; Step S4: Summarize and calculate monitoring indicators by airport dimension. The monitoring indicators include the security check data return rate, and send warnings to airports that fail to meet the monitoring indicators.
2. The method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to claim 1, characterized in that, In step S1, the monitoring job is triggered and a database connection is established, as follows: Based on the time settings of the job timer, the monitoring job is triggered daily at a set time. After the job starts, the database information is automatically obtained according to the database configuration file, and a database connection is established. If the database connection fails or times out, a job alarm is sent.
3. The method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to claim 1 or 2, characterized in that, In step S2, before reading check-in data and security check data from at least two channels based on the flight date, the following steps are also included: The check script is executed, and the status check function is called in a loop according to the predefined job array variable to confirm whether the warehouse entry jobs corresponding to the check-in data and security check data of each channel have been completed. If all are completed, it is determined that the required raw data exists. If there are incomplete warehouse entry jobs, a job alarm is sent. The flight date is equal to the job execution date minus one day.
4. The method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to claim 3, characterized in that, In step S2, check-in data and security check data from at least two channels are read according to the flight date and stored in corresponding temporary tables, as follows: Based on the flight date, the first function is called to read all check-in data with a check-in status of "received" and stored in the check-in data temporary table; based on the flight date, the functions corresponding to each security check channel are called to read the security check feedback data from each channel and stored in the security check data temporary table corresponding to each security check channel; when creating each temporary table, a combination of flight date, airline code, flight number, flight number suffix, origin airport code, and boarding number is used as the partition field to realize the distribution of data in each node of the database.
5. The method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to claim 1 or 4, characterized in that, In step S3, the security check data from each channel is correlated and matched with the check-in data to generate unified integrated security check data, as follows: Each temporary table containing security check data from different channels is used as the main table, and a left outer join is performed with the temporary table containing check-in data. For successfully matched records, an integrated record is generated, containing information such as flight date, airline code, flight number, flight number suffix, origin airport code, boarding number, seat number, whether there is a transfer, security check time, security check lane, security check counter, security check method, security check status, and security check channel, and stored in the base table. Security check data from different channels are converted according to their respective business rules and then stored uniformly. After the data is successfully written to the base table, each temporary table is deleted. If the data writing fails, a job alarm is sent.
6. The method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to claim 5, characterized in that, In step S3, the security check status is determined according to the respective business rules for different security check channels: For the first-channel security check, if the security check feedback code is any value in the first preset value set, the security check is considered successful; if the security check feedback code is any value in the second preset value set, the security check is considered unsuccessful. For the second-channel and third-channel security checks, if the entry / exit identifier is the preset entry identifier and the release identifier is the preset release identifier, the security check is considered successful; otherwise, the security check is considered unsuccessful.
7. The method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to claim 1, characterized in that, In step S3, security check data from various channels for the same passenger are merged and deduplicated to form a single passenger security check record, as follows: The query base table groups security check records belonging to the same passenger by using combinations of flight date, airline code, flight number, flight number suffix, departure airport code, and boarding number as grouping fields. Using the security check channel as the sorting field, the records in each group are sorted according to a preset priority order; the first record after sorting is taken as the passenger's unique security check record and stored in the fusion table.
8. The method for monitoring and early warning of the quality of multi-channel security inspection data feedback according to claim 1 or 7, characterized in that, In step S4, the monitoring indicators are summarized and calculated by airport dimension, as follows: Query the merged table, summarize the data by airport dimension, and calculate the number of check-in passengers, the number of passengers going through security through each channel, the number of passengers going through integrated security, the number of transit passengers, and the number of transit passengers who do not need to go through security again. The security check data feedback rate is calculated based on the combined number of passengers undergoing security checks, the number of passengers checking in, and the number of transit passengers who do not need to undergo repeated security checks. Store the calculation results in a summary table.
9. An electronic device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1-8.
Citation Information
Patent Citations
Security check data association method, device, equipment, storage medium and system
CN117708364A
