Airport safety management data query method, device and equipment and storage medium
Patent Information
- Application Number
- CN202410531102.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2044-04-29
AI Technical Summary
[0005]安全文档库和安全评价库之间存在对应的数据内容,当查询某一数据内容时,一般地需要应用关键词进行全文查找,而安全文档库和安全评价库的数据量庞大,查询速度缓慢,大大降低了数据查询效率
1.获取查询信息中的第一关键词,根据第一关键词确定对应的第一编号以及第一编号在安全管理数据库中对应的至少一个数据名称,进而显示所有的第一编号以及对应的数据名称,进而用户选择数据名称,响应于用户的选择操作,直接跳转至对应的数据内容,便于用户能够快速查找到所有对应的数据,提高查询效率;
Smart Images

Figure CN118427407B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data management, and in particular to a method, apparatus, equipment and storage medium for querying airport security management data. Background Technology
[0002] In order to fully implement the Civil Aviation Administration's requirements on safety work, systematically solve the problems existing in safety management, and explore scientific and effective safety management models and paths, civil aviation enterprises are conducting research on the "panoramic view of safety development".
[0003] The "Safety Development Panorama" comprises a safety document library and a safety evaluation library. The safety document library serves as a mechanism to ensure the implementation of the safety development panorama and a carrier of its concepts and methods; it is a concrete manifestation of the organic integration of governance capabilities and governance systems. The safety document library includes a diagrammatic document library, a case document library, and a register document library. The "diagrammatic document library" contains business management process flowcharts, vertically divided into decision-making, management, and execution levels, clearly defining management interfaces and responsibilities, and assigning each process and mitigation responsibility to specific positions based on business division, authorization, and management duties. The "case document library" contains business work plans, adhering to various regulations and requirements from higher authorities, providing comprehensive guidance for actual business operations from the perspectives of objectives, concepts, systems, methods, and tools. The "register document library" contains job manuals, including basic job information, job performance targets, job operation specifications, work sheets, team style construction, and typical cases, clearly defining the procedures, rules, and requirements for operations.
[0004] The safety evaluation database includes a database of SMS construction and implementation maps, a database of total employee safety responsibility systems, a database of safety education and training materials, a manual for on-site safety supervision and inspection, a database of group regulatory items (SID), a database of group emergency rescue and response cases, a database of group safety risk warnings, a database of safety incident cases, a database of safety management systems, a database of group safety work achievements, a database of safety hazards, and a database of safety risks. The safety evaluation database is used to empower member units and provide guidance for the implementation and application of the panoramic view.
[0005] There is corresponding data content between the security document library and the security evaluation library. When querying a certain data content, it is generally necessary to use keywords to perform a full-text search. However, the security document library and the security evaluation library have a large amount of data, and the query speed is slow, which greatly reduces the data query efficiency. Summary of the Invention
[0006] To improve data query efficiency, this application provides a method, apparatus, equipment, and storage medium for querying airport security management data.
[0007] Firstly, this application provides a method for querying airport security management data, employing the following technical solution: Obtain query information, wherein the query information includes at least one first keyword; Determine at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database, wherein the security management database includes a security file library and a security evaluation library; Display at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database; In response to the user's selection of a data name, the system will redirect to the data content corresponding to the selected data name.
[0008] By adopting the above technical solution, the first keyword in the query information is obtained, the corresponding first number and at least one data name in the security management database are determined based on the first keyword, and then all the first numbers and their corresponding data names are displayed. Then, the user selects a data name, and in response to the user's selection operation, the system directly jumps to the corresponding data content, which makes it easy for the user to quickly find all the corresponding data and improves query efficiency.
[0009] Further, determining at least one number corresponding to the first keyword includes: Obtain a number directory, wherein the number directory includes multiple numbers, each number corresponds to multiple data names, each data name corresponds to at least one set of second keywords, and each set of second keywords includes at least one second keyword; The first keyword is matched with the set of second keywords corresponding to each number in the numbered directory to determine whether there is a second number corresponding to the set of second keywords that matches the first keyword; If it exists, then determine the first number of second keyword sets that match the first keyword corresponding to the second number; Calculate the ratio of the first quantity to the total number of the first keywords; The second number whose ratio reaches a preset value is designated as the third number; For any data name corresponding to any of the third numbers, calculate the overlap between the second keyword set corresponding to the data name and the first keyword; The third number corresponding to at least one data name whose overlap degree meets the preset overlap degree is determined as the first number.
[0010] By adopting the above technical solution, a numbered directory is obtained, and the first keyword is matched with the set of second keywords corresponding to each number in the numbered directory. When a match is found, the number corresponding to the set of second keywords is determined as the second number. Then, the first number of second keyword sets that can match the first keyword is determined. The ratio of the first number to the total number of first keywords can represent the similarity between the second number and the query information. Then, a third number with higher similarity is selected according to a preset value. Furthermore, the set of second keywords of the data name corresponding to the third number is compared with the first keyword again to determine the overlap. The data name that reaches the preset overlap and the corresponding third number are determined as the first number. Therefore, the first number with higher matching degree is determined through layer-by-layer screening.
[0011] Further, the step of calculating the overlap between the second keyword set corresponding to any data name corresponding to any of the third numbers and the first keyword includes: Obtain the first value of each set of second keywords corresponding to the data name; Based on the matching degree between each second keyword set and the first keyword and the first value, the sub-overlap degree of each second keyword set is determined; Sum the sub-overlap rates of all the second keyword sets to determine the total overlap rate; Calculate the product of the total overlap ratio and the ratio, and determine the product as the overlap ratio.
[0012] By adopting the above technical solution, the first value of each first keyword set corresponding to the data name is obtained. The magnitude of the first value can reflect the importance of the second keyword set in the data name. Then, based on the matching degree between the second keyword set and the first keyword and the first value, the sub-overlap degree is determined. After summing the sub-overlap degrees of all second keyword sets, the total overlap degree is determined. The total overlap degree represents the overlap degree between the data name and the first keyword to a certain extent. Furthermore, in order to strengthen the distinction between the overlap degrees of different data names with the first keyword, the total overlap degree is multiplied by the ratio to calculate the overlap degree.
[0013] Further, displaying at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database includes: Sort and display the data names in descending order of overlap. When there are at least two data names with the same degree of overlap, the sets of second keywords corresponding to the data names are arranged in descending order according to the first value to obtain the first sequence; Determine the sequence number of the set of second keywords that match the first keyword within the first sequence; Calculate the sum of all the serial numbers; The corresponding data names are sorted and displayed in descending order of sum.
[0014] By adopting the above technical solution, when the first keyword and the corresponding data name are displayed, the data names are first sorted and displayed in descending order of overlap, so that users can see the search results that best match the search information first. When there are two data names with the same overlap, further processing is performed and the data names are reordered.
[0015] Furthermore, the security management database includes at least one item, and the method further includes the following steps before obtaining query information: Obtain the security domain, business domain, business sub-domain, compliance judgment standard number and version, and associated authority number and version for each security management database; Obtain the clause number and version of each clause in the security management database; The preset number name is combined with the security domain, business domain, business sub-domain, clause number and version, compliance judgment standard number and version, and associated bureau number and version to generate the number corresponding to each clause in each security evaluation library.
[0016] By adopting the above technical solution, the electronic device generates a unique code for each content in the security management database according to preset rules, which facilitates the classification and organization of data for quick retrieval.
[0017] Furthermore, the method also includes: Retrieve the first edit position of the same ID in the security evaluation database and the second edit position in the security document database; A first shortcut entry that can be linked to the corresponding first editing location is generated at the second editing location; A second shortcut is generated at the first editing position, which can link to the corresponding second editing position.
[0018] By adopting the above technical solution, the electronic device establishes a one-to-one correspondence between the SID database and the security document library, and sets a first shortcut entry at the editing location and a second shortcut entry in the security document library to facilitate quick retrieval.
[0019] Furthermore, the method also includes: Obtain the data content of each first number and at least one data name corresponding to each first number in the security management database; Generate a brief description for each data item, and generate a corresponding thumbnail based on the brief description; Display the corresponding thumbnail along with each first number and each corresponding data name.
[0020] By adopting the above technical solution, a thumbnail is displayed after the first number and the corresponding data name. The thumbnail makes it easy for users to quickly view and understand the corresponding data content, thus speeding up the search.
[0021] Secondly, this application provides an airport security management data query device, which adopts the following technical solution: The acquisition module is used to acquire query information, wherein the query information includes at least one first keyword; The first number determination module is used to determine at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database, wherein the security management database includes a security file library and a security evaluation library; The display module is used to display at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database. The response module is used to respond to the user's selection of a data name and jump to the data content corresponding to the selected data name.
[0022] By adopting the above technical solution, the acquisition module obtains the first keyword in the query information, the first number determination module determines the corresponding first number and at least one data name corresponding to the first number in the security management database based on the first keyword, the display module displays all the first numbers and their corresponding data names, and the response module responds to the user's selection operation and performs a jump, so that the user can quickly find all the corresponding data and improve query efficiency.
[0023] Thirdly, this application provides an electronic device that adopts the following technical solution: An electronic device, comprising: At least one processor; Memory; At least one computer program, wherein the at least one computer program is stored in the memory and configured to be executed by the at least one processor, the at least one computer program being configured to: perform the method as described in any one of the first aspects.
[0024] By adopting the above technical solution, the processor executes the computer program in the memory, obtains the first keyword in the query information, determines the corresponding first number and at least one data name corresponding to the first number in the security management database based on the first keyword, and then displays all the first numbers and their corresponding data names. Then, the user selects a data name, and in response to the user's selection operation, the system directly jumps to the corresponding data content, which makes it easy for the user to quickly find all the corresponding data and improves query efficiency.
[0025] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium storing a computer program that can be loaded by a processor and execute the method as described in any one of the first aspects.
[0026] By adopting the above technical solution, a computer program in a computer-readable storage medium is processed and executed to obtain the first keyword in the query information. Based on the first keyword, the corresponding first number and at least one data name corresponding to the first number in the security management database are determined. Then, all the first numbers and their corresponding data names are displayed. Then, the user selects a data name, and in response to the user's selection operation, the system directly jumps to the corresponding data content, which makes it easy for the user to quickly find all the corresponding data and improves query efficiency.
[0027] In summary, this application includes at least one of the following beneficial technical effects: 1. Obtain the first keyword in the query information, determine the corresponding first number and at least one data name in the security management database based on the first keyword, then display all the first numbers and their corresponding data names, and then allow the user to select a data name. In response to the user's selection, the system will directly jump to the corresponding data content, making it easy for the user to quickly find all the corresponding data and improving query efficiency. 2. Match the first keyword with the set of second keywords corresponding to each number in the number directory. When a match is found, the number corresponding to the set of second keywords is determined as the second number. Then, based on the ratio, the third number with higher similarity is selected, and the overlap is determined. The data name that reaches the preset overlap and the corresponding third number are determined as the first number. Therefore, the first number with higher matching degree is determined through layer-by-layer screening. 3. Displaying data names in descending order of overlap allows users to see the search results that best match their search information first. When two data names have the same degree of overlap, further processing is performed and the order is re-sorted. Attached Figure Description
[0028] Figure 1This is a flowchart illustrating the airport security management data query method in this application embodiment.
[0029] Figure 2 This is a structural block diagram of the airport security management data query device in the embodiments of this application.
[0030] Figure 3 This is a structural block diagram of the electronic device in the embodiments of this application. Detailed Implementation
[0031] 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.
[0032] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.
[0033] This application discloses a method for querying airport security management data. (Refer to...) Figure 1 This process is executed by an electronic device, which can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet, desktop computer, etc., but is not limited to these. The process includes the following steps (S101 to S104): Step S101: Obtain query information, wherein the query information includes at least one first keyword.
[0034] Specifically, the person seeking information enters their query. When entering the query, options can be set in the input box; therefore, the person can either manually enter the first keyword or select a specific first keyword. The first keyword is a summary of the key information being searched.
[0035] For example, when a user wants to query the safety management database related to the maintenance of bird deterrence equipment, the first keyword they can enter can be "bird deterrence, equipment, maintenance", etc.
[0036] Step S102: Determine at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database, wherein the security management database includes a security file library and a security evaluation library.
[0037] Before proceeding to step S101, the electronic device pre-numbers the security file library and security evaluation library in the security management database according to their contents. At least one item with a specific number can be retrieved from each library. This process includes the following steps (steps Sa to Sc): Step Sa: Obtain the security domain, business domain, business sub-domain, compliance judgment standard number and version, and associated authority number and version for each security management database.
[0038] Specifically, the security field includes areas such as air defense and counterterrorism, operations, fire protection, flight, public security, emergency management, network information, engineering construction safety, and comprehensive security.
[0039] Each safety domain includes at least one business area. For example, the flight safety domain includes business areas such as flight operations management, aircraft maintenance, aircraft anti-stealth management, and dangerous goods air transport management.
[0040] Furthermore, some business areas include sub-areas, and the coding includes these sub-areas. For example, the business areas of air traffic management include sub-areas such as air traffic control, apron control, communications, navigation and surveillance, meteorology, aeronautical information services, and flight procedure management.
[0041] The compliance assessment criteria include multiple levels, numbered starting from 1, such as 01, 02, etc. As the compliance assessment criteria are continuously updated, different versions are also included, such as V1, V2, etc.
[0042] Furthermore, the security data management database is set up with reference to the authority's management regulations, so each number is associated with an authority number and version.
[0043] Step Sb: Obtain the clause number and version of each clause in the security management database.
[0044] Furthermore, each security management database includes at least one clause, with clause numbers starting from 1, such as 0001, 0002, and version numbers depending on the actual situation, such as V1, V2, etc.
[0045] To facilitate the distinction between the clause version and the conformity assessment standard version in the numbering, the clause version number is displayed in combination with the clause number, such as 0001V1; the conformity assessment standard version number is displayed in combination with the conformity assessment standard number, such as 01V1.
[0046] Step Sc: Combine the preset number name with the security domain, business domain, business sub-domain, clause number and version, compliance judgment standard number and version, and associated authority number and version to generate the number corresponding to each clause in each security evaluation library.
[0047] Specifically, the electronic equipment arranges the above numbers sequentially, separated by horizontal lines. For ease of unified management, an internal number "CAH-SID" is added before each number. To distinguish between the official number and version, parentheses are added around the official number and version. If there is no corresponding official number and version, the parentheses are empty. For example, CAH-SID -2-01-00-0001V1-01V1-(SID-36034V1).
[0048] Specifically, the electronic device determines at least one corresponding second keyword based on the title and content of the clauses in the security document library and security evaluation library. The second keyword can summarize the theme of the corresponding security document library or security evaluation library.
[0049] Therefore, each number corresponds to at least one second keyword, and the electronic device queries the number by matching the first keyword with the second keyword. Specifically, this includes (steps S1021 to S1027): Step S1021: Obtain the number directory, wherein the number directory includes multiple numbers, each number corresponds to multiple data names, each data name corresponds to at least one set of second keywords, and each set of second keywords includes at least one second keyword.
[0050] Specifically, the electronic device organizes all the numbers into a number directory. Each number has a corresponding data name in different security evaluation and security document libraries. The second keyword set is set based on the data content in the data name, and the second keywords in each second keyword set are synonyms of each other. Therefore, when a user enters the first keyword, the large second keyword library increases the likelihood of a successful match.
[0051] For example, the numbering and data names related to the management and use of bird deterrent equipment include: CAH-SID-2-03-00-0004V1-01V1-(SID-71208V3); Bird deterrent equipment category; CAH-SID-2-03-00-0005V1-01V1-(SID-71208V3)Responsibilities of bird deterrence equipment management personnel, bird strike prevention personnel, bird deterrence equipment maintenance contract service personnel, and bird strike prevention assistants; CAH-SID-2-03-00-0006V1-01V1-(SID-71208V3); Bird deterrence equipment integrity, bird deterrence equipment inspection, bird deterrence equipment maintenance; CAH-SID-2-03-00-0007V1-01V1-(SID-71208V3); Use and maintenance of bird deterrent equipment, and proper combination of use; For example, the data with the ID CAH-SID-2-03-00-0006V1-01V1-(SID-71208V3) and the data name "Equipment Maintenance" includes the second set of keywords A, B and C. A includes the specific names of each piece of equipment and their synonyms, B includes synonyms related to "maintenance", and C includes words and synonyms that appear frequently in the data content.
[0052] Step S1022: Match the first keyword with the set of second keywords corresponding to each number in the numbered directory, and determine whether there is a second number corresponding to the set of second keywords that matches the first keyword.
[0053] Specifically, when the first keyword matches any of the second keywords in the set of second keywords, it is determined that there exists a set of second keywords that matches the first keyword, and then the second number corresponding to the set of matching second keywords is determined.
[0054] For example, if the first keyword is "maintenance", then a match is determined if there is a matching word "maintenance" in the second keyword set B. If the first keyword is "personnel", but there is no matching second keyword in the second keyword set corresponding to the compared number, then no match is determined.
[0055] If it exists, then proceed to step S1023: determine the first number of second keywords that match the first keyword set corresponding to the second number.
[0056] Specifically, any set of second keywords in any given number only needs to match any one of the first keywords. Therefore, if there are too many matching numbers, the electronic device calculates the first number of second keyword sets in the second number that match the first keyword in order to select the content that best matches the query information. For example, the first keywords include A, B, C, and D; the second number M includes four sets of second keywords: A1, B2, and D1. Since A matches A1 and B matches B2, the first number is 2.
[0057] Step S1024: Calculate the ratio of the first quantity to the total number of the first keywords.
[0058] Specifically, the ratio can reflect the degree of overlap between the number and the first keyword to a certain extent. For example, if the total number of first keywords is 4 and the number of first keywords is 2, then the first ratio is 0.5.
[0059] Step S1025: The second number whose ratio reaches the preset value is determined as the third number.
[0060] Specifically, the preset value is set as needed. The second number whose ratio does not reach the preset value differs significantly from the query information. Therefore, the second number whose ratio reaches the preset value is selected as the third number. Generally, the preset value can be a value between 0.7 and 0.9.
[0061] Step S1026: For any data name corresponding to any third number, calculate the overlap between the second keyword set and the first keyword set corresponding to the data name.
[0062] For example, as shown above, the third number includes: CAH-SID-2-03-00-0005V1-01V1-(SID-71208V3); CAH-SID-2-03-00-0006V1-01V1-(SID-71208V3); CAH-SID-2-03-00-0007V1-01V1-(SID-71208V3); Each number contains a set of second keywords that match at least two of the first keywords. Then, the overlap between the set of second keywords corresponding to the data name of each third number and the first keywords "bird strike, equipment, maintenance" is calculated.
[0063] Step S1027: Determine the third number corresponding to at least one data name whose overlap meets the preset overlap as the first number.
[0064] Specifically, each ID may correspond to more than one data name in different security management databases, and the set of second keywords corresponding to the data names of each ID is not exactly the same. In order to further determine the ID and the corresponding data name corresponding to the query information, the electronic device calculates the overlap between the set of second keywords corresponding to the data name and the first keyword.
[0065] The preset overlap is set by the electronic device according to actual needs, and is generally selected as a value between 0.7 and 0.9. When the overlap reaches the preset overlap, the corresponding third number matches the query information better, so it is determined as the first number.
[0066] For example, among the three third numbers mentioned above, if the data names "Bird Repelling Equipment Maintenance Contract Service Post", "Bird Repelling Equipment Maintenance", and "Use and Maintenance of Bird Repelling Equipment" meet the preset overlap, then the corresponding number is the first number.
[0067] Furthermore, when the electronic device performs step S1026, it includes (steps S11 to S14): Step S11: Obtain the first value of each set of second keywords corresponding to the data name.
[0068] Specifically, each set of second keywords corresponding to a data name has a corresponding first value. The more important the set of second keywords is in the content corresponding to the data name, the larger the corresponding first value. Therefore, even if the same set of second keywords exists in different data names, the size of the corresponding first value may be different.
[0069] Step S12: Determine the sub-overlap degree of each second keyword set based on the matching degree between each second keyword set and the first keyword and the first value.
[0070] Specifically, if the second set of keywords matches the first keyword, the corresponding matching degree is 1; if they do not match, the matching degree is 0. The electronic device multiplies the matching degree by the first value to calculate the sub-overlap degree.
[0071] Step S13: Sum the sub-overlapping degrees of all second keyword sets to determine the total overlap value.
[0072] Specifically, the electronic device sums the sub-overlapping degree of all the second keyword sets corresponding to each data name, and the magnitude of the calculated total overlap degree can represent the overlap degree to a certain extent.
[0073] Step S14: Calculate the product of the total overlap value and the ratio, and determine the product as the overlap degree.
[0074] Specifically, the ratio mentioned above also reflects the degree of overlap. Therefore, by multiplying the total overlap value by the ratio, and multiplying two values that both reflect the degree of overlap, the degree of overlap can be calculated. The larger the total overlap value and the ratio, the higher the degree of overlap.
[0075] In another possible implementation, when the electronic device cannot determine the number and the corresponding data name in the security management database based on the first keyword, the electronic device generates and displays an error message, prompting the user to check whether the query information is entered incorrectly.
[0076] Step S103: Display at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database.
[0077] Specifically, once the electronic device determines that the overlap has reached the preset overlap level for the first number, it displays the first number and the corresponding data name in the security management database for easy querying by the user.
[0078] For example, it is displayed as follows: CAH-SID-2-03-00-0005V1-01V1-(SID-71208V3)Bird Repelling Equipment Maintenance Contractor Service Position; CAH-SID-2-03-00-0006V1-01V1-(SID-71208V3); Maintenance and upkeep of bird deterrent equipment; CAH-SID-2-03-00-0007V1-01V1-(SID-71208V3); Use and maintenance of bird deterrent equipment.
[0079] Step S104: In response to the user's selection of a data name, jump to the data content corresponding to the selected data name.
[0080] Specifically, users can select any data name based on the displayed first number and data name, and the electronic device will jump to the corresponding data content, allowing users to quickly complete the search.
[0081] For example, when a user clicks on bird deterrence equipment maintenance, they are redirected to the data content corresponding to bird deterrence equipment maintenance in the safety evaluation database "Safety Supervision Items Database - Flight Area Management Department - Operational Safety - Bird Strike Prevention", as well as the data content corresponding to bird deterrence equipment maintenance in the safety document database "Airport Bird Strike and Animal Intrusion Prevention Plan" and "Bird Strike Prevention Officer Job Manual".
[0082] In another possible implementation, when displaying the first number and its corresponding data name, the data is displayed according to the degree of overlap. Step S103 includes (steps S1031 to S1032): Step S1031: Sort and display each data name in descending order of overlap.
[0083] Step S1032: When there are at least two data names with the same degree of overlap, arrange the sets of second keywords corresponding to the data names in descending order according to the first value to obtain the first sequence; determine the index of the set of second keywords that matches the first keyword in the first sequence; calculate the sum of each index; and sort and display the corresponding data names in descending order of the sum.
[0084] Specifically, by sorting and displaying each data name in descending order of overlap, the data name most similar to the query information will be displayed at the top, making it easier for users to quickly identify the information they need to query.
[0085] When there are data names with the same degree of overlap, further differentiation is needed to obtain a clear ranking. In the first sequence, the smaller the serial number of the second keyword set, the more important it is. The smaller the serial number of the second keyword set that matches the first keyword, the closer it is to the content to be searched. Therefore, the electronic device calculates the sum of each serial number and arranges them in descending order.
[0086] If the same data name still exists, it will be randomly assigned.
[0087] In another possible implementation, the security evaluation library and the security document library may contain content with the same ID. To facilitate mutual querying, the above method further includes (steps S21 to S23): Step S21: Obtain the first editing position of the same number in the security evaluation library and the second editing position in the security document library.
[0088] Specifically, when editing the security evaluation library and the security document library, a mark is made at the content corresponding to the same number. Therefore, the electronic device determines the same mark in the security evaluation library as the first editing position and the same mark in the security document library as the second editing position.
[0089] Step S22: Generate a first shortcut entry in the second editing position that can be linked to the corresponding first editing position.
[0090] Step S23: Generate a second shortcut entry at the first editing position that can be linked to the corresponding second editing position.
[0091] For example, the first shortcut entry is generated in the first editing position of the safety evaluation database "Safety Supervision Items Database - Flight Area Management Department - Operational Safety - Bird Strike Prevention", and the second shortcut entry is generated in the second editing position of the safety document database "Airport Bird Strike and Animal Intrusion Prevention Plan" and "Bird Strike Prevention Officer Job Manual".
[0092] Specifically, clicking the first shortcut will take a user from the second editing position back to the first editing position, and clicking the second shortcut will take a user from the first editing position back to the second editing position. Therefore, the security evaluation database and security document database can be consulted for comparison.
[0093] In another possible implementation, to facilitate users in knowing the content of the data name corresponding to the first number, the above method further includes (steps S31 to S33): Step S31: Obtain the data content of each first number and at least one data name corresponding to each first number in the security management database.
[0094] Specifically, the data content is all the content covered by the data name, or it can be the first paragraph.
[0095] Step S32: Generate a brief description of each data item, and generate a corresponding thumbnail based on the brief description.
[0096] Specifically, when the data content is all content, the electronic device uses NLP technology to analyze it and obtain a concise information that summarizes the semantics; when the data content is the first paragraph, the concise information is the first paragraph.
[0097] Furthermore, the electronic device zooms in on the introductory information to create a thumbnail.
[0098] Step S33: Display the corresponding thumbnail along with each first number and each corresponding data name.
[0099] Specifically, when the electronic device displays the first number and each corresponding data name, a corresponding thumbnail is displayed after each data name. When the user clicks on the thumbnail, the thumbnail can be enlarged, making it easier for the user to view the brief information.
[0100] To better implement the above method, this application also provides an airport security management data query device, referring to... Figure 2 The airport security management data query device 200 includes: The acquisition module 201 is used to acquire query information, wherein the query information includes at least one first keyword; The first number determination module 202 is used to determine at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database, wherein the security management database includes a security file library and a security evaluation library; Display module 203 is used to display at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database; The response module 204 is used to respond to the user's selection of a data name and jump to the data content corresponding to the selected data name.
[0101] Furthermore, the first number determination module 202 is specifically used for: Obtain the number directory, which includes multiple numbers, each number corresponds to multiple data names, each data name corresponds to at least one set of second keywords, and each set of second keywords includes at least one second keyword; Match the first keyword with the set of second keywords corresponding to each number in the numbered directory, and determine whether there is a second number corresponding to the set of second keywords that matches the first keyword; If it exists, then determine the first number of the second keyword set that matches the first keyword; Calculate the ratio of the first quantity to the total number of first keywords; The second number whose ratio reaches the preset value is designated as the third number; For any data name corresponding to any third number, calculate the overlap between the second keyword set and the first keyword set corresponding to the data name; The third number corresponding to at least one data name whose overlap meets the preset overlap is determined as the first number.
[0102] Furthermore, when the first number determination module 202 calculates the overlap between the second keyword set and the first keyword for any data name corresponding to any third number, it is specifically used for: Get the first value of each set of secondary keywords corresponding to the data name; Based on the matching degree between each set of second keywords and the first keyword, and the first value, determine the sub-overlap degree of each set of second keywords; Sum the sub-overlapping degrees of all second keyword sets to determine the total overlap value; Calculate the product of the total overlap value and the ratio, and determine the overlap degree by the product.
[0103] Furthermore, the display module 203 is specifically used for: Sort and display the data names in descending order of overlap. When there are at least two data names with the same degree of overlap, the sets of second keywords corresponding to the data names are arranged in descending order according to the first value to obtain the first sequence; Determine the sequence number of the set of second keywords that match the first keyword within the first sequence; Calculate the sum of all the serial numbers; The corresponding data names are sorted and displayed in descending order of sum.
[0104] In another possible implementation, the airport security management data query device 200 also includes: The first acquisition module is used to acquire the security domain, business domain, business sub-domain, compliance judgment standard number and version, and associated authority number and version of each security management database. The second acquisition module is used to acquire the clause number and version of each clause in the security management database; The number generation module is used to combine the preset number name with the security domain, business domain, business sub-domain, clause number and version, compliance judgment standard number and version, and associated bureau number and version to generate the number corresponding to each clause in each security evaluation library.
[0105] In another possible implementation, the airport security management data query device 200 also includes: The edit position acquisition module is used to acquire the first edit position of the same number in the security evaluation database and the second edit position in the security document database; The first shortcut entry generation module is used to generate a first shortcut entry that can be linked to the corresponding first editing position at the second editing position; The second shortcut entry generation module is used to generate a second shortcut entry that can be linked to the corresponding second editing position at the first editing position.
[0106] In another possible implementation, the airport security management data query device 200 also includes: The data content acquisition module is used to acquire the data content of each first number and at least one data name corresponding to each first number in the security management database. The description and thumbnail generation module is used to generate a description of each data item and generate a corresponding thumbnail based on the description. The thumbnail display module is used to display the corresponding thumbnail along with each first number and each corresponding data name.
[0107] The various variations and specific examples of the methods in the foregoing embodiments are also applicable to the airport security management data query device of this embodiment. Through the foregoing detailed description of the airport security management data query method, those skilled in the art can clearly understand the implementation method of the airport security management data query device of this embodiment. Therefore, for the sake of brevity, it will not be described in detail here.
[0108] To better implement the above methods, embodiments of this application provide an electronic device, referring to... Figure 3 The electronic device 300 includes a processor 301, a memory 303, and a display screen 305. The memory 303 and the display screen 305 are both connected to the processor 301, such as via a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one type, and the structure of this electronic device 300 does not constitute a limitation on the embodiments of this application.
[0109] Processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0110] Bus 302 may include a pathway for transmitting information between the aforementioned components. Bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 302 may be divided into address bus, data bus, control bus, etc.
[0111] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0112] The memory 303 is used to store application code that executes the solution of this application, and its execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the content shown in the foregoing method embodiments.
[0113] Figure 3 The electronic device 300 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0114] This application embodiment also provides a computer-readable storage medium storing a computer program. When executed by a processor, the program implements the airport security management data query method provided in the above embodiment. The program processes and executes the computer program in the computer-readable storage medium, obtains a first keyword in the query information, determines the corresponding first number and at least one data name corresponding to the first number in the security management database based on the first keyword, and then displays all the first numbers and their corresponding data names. The user then selects a data name, and in response to the user's selection operation, the system directly jumps to the corresponding data content, making it easier for the user to quickly find all the corresponding data and improving query efficiency.
[0115] In this embodiment, the computer-readable storage medium can be a tangible device that holds and stores instructions used by an instruction execution device. The computer-readable storage medium can be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. Specifically, the computer-readable storage medium can be a portable computer disk, a hard disk, a USB flash drive, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), staging random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory stick, floppy disk, optical disk, magnetic disk, mechanical encoding device, or any combination thereof.
[0116] The computer program in this embodiment includes program code for performing all the aforementioned methods. The program code may include instructions corresponding to the method steps provided in the above embodiments. The computer program can be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded to an external computer or external storage device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network). The computer program can be executed entirely on the user's computer as a standalone software package.
[0117] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
[0118] Additionally, it should be understood that relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
Claims
1. A method for querying airport security management data, characterized in that, include: Obtain query information, wherein the query information includes at least one first keyword; Determine at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database, wherein the security management database includes a security file library and a security evaluation library; Display at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database; In response to the user's selection of a data name, the user is redirected to the data content corresponding to the selected data name. Determining at least one first number corresponding to the first keyword includes: Obtain a number directory, wherein the number directory includes multiple numbers, each number corresponds to multiple data names, each data name corresponds to at least one set of second keywords, and each set of second keywords includes at least one second keyword; The first keyword is matched with the set of second keywords corresponding to each number in the numbered directory to determine whether there is a second number corresponding to the set of second keywords that matches the first keyword; If it exists, then determine the first number of second keyword sets that match the first keyword corresponding to the second number; Calculate the ratio of the first quantity to the total number of the first keywords; The second number whose ratio reaches a preset value is designated as the third number; For any data name corresponding to any of the third numbers, calculate the overlap between the second keyword set corresponding to the data name and the first keyword; The third number corresponding to at least one data name whose overlap degree meets the preset overlap degree is determined as the first number; The step of calculating the overlap between the second keyword set corresponding to any data name corresponding to any of the third numbers and the first keyword, includes: Obtain the first value of each second keyword set corresponding to the data name. The more important the second keyword set is in the content corresponding to the data name, the larger the corresponding first value will be. Based on the matching degree between each second keyword set and the first keyword and the first value, the sub-overlap degree of each second keyword set is determined; Sum the sub-overlap rates of all the second keyword sets to determine the total overlap rate; Calculate the product of the total overlap ratio and the ratio, and determine the product as the overlap ratio.
2. The method according to claim 1, characterized in that, The step of displaying at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database includes: Sort and display the data names in descending order of overlap. When there are at least two data names with the same degree of overlap, the sets of second keywords corresponding to the data names are arranged in descending order according to the first value to obtain the first sequence; Determine the sequence number of the set of second keywords that match the first keyword in the first sequence; Calculate the sum of all the aforementioned serial numbers; The corresponding data names are sorted and displayed in ascending order of the sum.
3. The method according to any one of claims 1-2, characterized in that, The security management database includes at least one clause, and prior to obtaining the query information, it also includes: Obtain the security domain, business domain, business sub-domain, compliance judgment standard number and version, and associated authority number and version for each security management database; Retrieve the clause number and version of each clause in the security management database; The preset number names are arranged sequentially with the security domain, business domain, business sub-domain, clause number and version, compliance judgment standard number and version, and associated bureau number and version, separated by horizontal lines, to generate the number corresponding to each clause in each security evaluation library.
4. The method according to any one of claims 1-2, characterized in that, The method further includes: Retrieve the first edit position of the same ID in the security evaluation database and the second edit position in the security document database; A first shortcut entry that can be linked to the corresponding first editing location is generated at the second editing location; A second shortcut entry that can link to the corresponding second editing location is generated at the first editing location.
5. The method according to any one of claims 1-2, characterized in that, The method further includes: Obtain the data content of each first number and at least one data name corresponding to each first number in the security management database; Generate a brief description for each data item, and generate a corresponding thumbnail based on the brief description; Display each first number and each data name corresponding to each first number, along with the corresponding thumbnail.
6. An airport security management data query device, characterized in that, include: The acquisition module is used to acquire query information, wherein the query information includes at least one first keyword; The first number determination module is used to determine at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database, wherein the security management database includes a security file library and a security evaluation library; The display module is used to display at least one first number corresponding to the first keyword and at least one data name corresponding to each first number in the security management database. The response module is used to respond to the user's selection of a data name and jump to the data content corresponding to the selected data name; The first number determination module is specifically used for: Obtain the number directory, which includes multiple numbers, each number corresponds to multiple data names, each data name corresponds to at least one set of second keywords, and each set of second keywords includes at least one second keyword; Match the first keyword with the set of second keywords corresponding to each number in the numbered directory, and determine whether there is a second number corresponding to the set of second keywords that matches the first keyword; If it exists, then determine the first number of the second keyword set that matches the first keyword; Calculate the ratio of the first quantity to the total number of first keywords; The second number whose ratio reaches the preset value is designated as the third number; For any data name corresponding to any third number, calculate the overlap between the second keyword set and the first keyword set corresponding to the data name; The third number corresponding to at least one data name whose overlap meets the preset overlap is determined as the first number; When the first number determination module calculates the overlap between the second keyword set corresponding to any data name and the first keyword for any data name corresponding to any of the third numbers, it is specifically used for: Obtain the first value of each second keyword set corresponding to the data name. The more important the second keyword set is in the content corresponding to the data name, the larger the corresponding first value will be. Based on the matching degree between each second keyword set and the first keyword and the first value, the sub-overlap degree of each second keyword set is determined; Sum the sub-overlap rates of all the second keyword sets to determine the total overlap rate; Calculate the product of the total overlap ratio and the ratio, and determine the product as the overlap ratio.
7. An electronic device, characterized in that, include: At least one processor; Memory; At least one computer program, wherein the at least one computer program is stored in the memory and configured to be executed by the at least one processor, the at least one computer program being configured to: perform the airport security management data query method as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer program is stored that can be loaded by a processor and executed as described in any one of claims 1 to 5 for querying airport security management data.
