A method, system, device and storage medium for detecting safety of air ticket orders

By dividing the approach weight points and analyzing the characteristics of the air ticket order data, the early warning decision value is established, and the problem of low safety inspection efficiency of air ticket orders is solved, and fast and accurate detection results are achieved.

CN117892145BActive Publication Date: 2024-09-03LANGZHEN (GUANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410076338.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-18
Publication Date
2024-09-03
Estimated Expiration
2044-01-18

AI Technical Summary

Technical Problem

Airline companies and online travel agents need to spend a lot of time and manpower in the safety inspection of air ticket orders, resulting in inefficient inspections and difficulty in achieving rapid inspections.

Method used

By obtaining the historical ticket order data set of the target flight, determining the data approach weight points for data division, forming a similar cluster for ordering users, extracting the user's approach data feature quantity and feature contribution factor, computer ticket ordering warning decision value, and establishing a detection and warning boundary , conduct air ticket order early warning inspection.

Benefits of technology

It realizes fast and safe inspection of air ticket orders, improves the accuracy and speed of inspection results, reduces the number of ordering users that need to be tested, and improves processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117892145B
    Figure CN117892145B
Patent Text Reader

Abstract

The present application provides a method, system, device and storage medium for detecting the safety of air ticket orders. The method determines the data approach weight points according to the historical air ticket order data set, thereby obtaining the corresponding similar clusters of subscribing users, selects a similar cluster of subscribing users, determines the approach data feature quantities of each user of the similar cluster of subscribing users, determines the data feature contribution factor base corresponding to the similar cluster of subscribing users through all the approach data feature quantities of users, determines the air ticket ordering warning decision value of the similar cluster of subscribing users according to the real-time user approach feature data and the data feature contribution factor base, repeats the above steps to determine the air ticket ordering warning decision values ​​of the remaining similar clusters of subscribing users, determines the detection warning boundary of the target flight according to all the air ticket ordering warning decision values, performs warning detection on the air ticket order of the target flight according to the detection warning boundary, and realizes rapid detection of the safety of air ticket orders.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data security detection, and in particular, to a method, system, device and storage medium for detecting the security of an air ticket order. Background Art

[0002] Security testing is a systematic process designed to discover and assess potential security vulnerabilities and risks in target systems, networks, applications or devices. Its purpose is to ensure the integrity, availability and confidentiality of information systems and prevent security threats such as unauthorized access, data leakage, malware attacks, etc.

[0003] Ticket order security testing refers to the process of conducting security review and verification of ticket orders in the airline or online travel agency system. The purpose of this process is to ensure the legality of ticket transactions, the security of customer information, etc. With the increasing number of ticket orders, airlines need to spend a lot of time and relevant personnel to conduct security screening of ticket orders. Therefore, how to achieve rapid detection of ticket order security has become a difficult problem faced by the industry. Summary of the invention

[0004] Based on this, it is necessary to address the above technical issues. The present application provides a ticket order security detection method, system, device and storage medium for quickly detecting the security of ticket orders.

[0005] In order to solve the above technical problems, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a method for detecting the safety of a flight ticket order, comprising the following steps:

[0007] Start the ticket order security check and obtain the historical ticket order data set of all ordering users on the target flight;

[0008] Determining data approximation weights according to the historical air ticket order data set, performing data approximation division on the historical air ticket order data set according to the data approximation weights to obtain each historical air ticket order data approximation subset, and then obtaining each corresponding ordering user similarity cluster;

[0009] Select a subscriber user similarity cluster, determine the approximate data feature quantity of each user in the subscriber user similarity cluster, and determine the data feature contribution factor base corresponding to the subscriber user similarity cluster through all the approximate data feature quantities of the users;

[0010] Determine the real-time user approach feature data of the similar cluster of the subscriber, determine the air ticket ordering warning decision value of the similar cluster of the subscriber based on the real-time user approach feature data and the data feature contribution factor, repeat the above steps to determine the air ticket ordering warning decision values ​​of the remaining similar clusters of the subscriber;

[0011] A detection warning boundary of a target flight is determined according to all air ticket ordering warning decision values, and an early warning detection is performed on the air ticket order of the target flight according to the detection warning boundary.

[0012] In some embodiments, determining the data approximation weight points according to the historical air ticket order data set specifically includes:

[0013] Determine the approach weight point decision value according to the preset data approach weight point transition number and the historical air ticket order data set;

[0014] When the approach weight point decision value is less than or equal to the preset approach division threshold, the data approach weight point transition number is used as the data approach weight point number;

[0015] When the approach weight point decision value is greater than the preset approach division threshold, the preset data approach weight point transition number is increased, and the approach weight point decision value is re-determined;

[0016] Repeat the above steps until the re-determined approach weight point decision value is less than or equal to the preset approach division threshold.

[0017] In some embodiments, determining the approaching weight point decision value according to the preset data approaching weight point transition number and the historical air ticket order data set specifically includes:

[0018] Determine each historical air ticket order transition data of the historical air ticket order data set according to a preset data approach weight point transition number;

[0019] Select one historical air ticket order data in the historical air ticket order data set, and determine a data approach transition value of the historical air ticket order data and each historical air ticket order transition data;

[0020] Combining the historical air ticket order data with the historical air ticket order transition data corresponding to the minimum data approaching transition value into a historical air ticket order data approaching transition subset, repeating the above steps, combining the remaining historical air ticket order data in the historical air ticket order data set, and obtaining multiple historical air ticket order data approaching transition subsets;

[0021] The approach weight point decision value is determined based on the approach transition subset of all historical air ticket order data.

[0022] In some embodiments, the historical air ticket order data set is divided into data approximation groups according to the data approximation weight points to obtain each historical air ticket order data approximation subset, and then each corresponding ordering user similarity cluster is obtained by the following steps:

[0023] Determining the historical air ticket order weight point data in the historical air ticket order data set according to the data approaching weight point number;

[0024] Selecting a piece of historical air ticket order data from the historical air ticket order data set, and determining a data approximation value between the historical air ticket order data and each piece of historical air ticket order weight point data;

[0025] Combining the historical air ticket order data with the historical air ticket order weight point data corresponding to the minimum data approximation value into a historical air ticket order data approximation subset;

[0026] Repeat the above steps to combine the remaining historical air ticket order data in the historical air ticket order data set to obtain multiple historical air ticket order data approximate subsets;

[0027] The set of all the corresponding subscribing users in the historical air ticket order data close subset is taken as the subscribing user similarity cluster corresponding to the historical air ticket order data close subset.

[0028] In some embodiments, determining the data approximation value of the historical air ticket order data and each historical air ticket order right point data is achieved by the following steps:

[0029] Determine the data mapping amount D of the vth rating value set in the historical air ticket order data v ;

[0030] Determine the weight point data mapping amount E of the vth weight point score value set in the zth historical air ticket order weight point data vz ;

[0031] Determine the total number V of rating value sets in the historical air ticket order data;

[0032] According to the data mapping amount D of the vth rating value set in the historical air ticket order data v , the weight point data mapping amount E of the vth weight point scoring value set in the zth historical air ticket order weight point data vz The data approximation value of the historical air ticket order data and each historical air ticket order weight point data is determined by the total number V of the score value sets in the historical air ticket order data, wherein the data approximation value is determined by the following formula:

[0033]

[0034] Among them, ξ zRepresents the data approximation value of the historical air ticket order data and the zth historical air ticket order weight point data, v=1, 2, ..., V, z=1, 2, ..., Z.

[0035] In some embodiments, determining the detection warning boundary of the target flight according to all the ticket booking warning decision values ​​is implemented by the following steps:

[0036] Select a flight booking warning decision value;

[0037] When the air ticket ordering warning decision value is less than or equal to the preset air ticket ordering warning decision threshold, each subscriber in the subscriber similar cluster corresponding to the air ticket ordering warning decision value is marked as exempt from detection;

[0038] When the air ticket ordering warning decision value is greater than the preset air ticket ordering warning decision threshold, each ordering user in the ordering user similar cluster corresponding to the air ticket ordering warning decision value is marked as to be detected;

[0039] Repeat the above steps to obtain the remaining air ticket booking warning decision values ​​marked as the ordering users to be detected;

[0040] All subscribers marked as pending detection form a detection warning community.

[0041] In some embodiments, the historical air ticket order data in the historical air ticket order data set is the order data generated when the corresponding ordering user orders air tickets within the past year, wherein the order data is a set of values ​​obtained by scoring the influencing factors when the ordering user purchases air tickets.

[0042] In a second aspect, the present application provides a ticket order security detection system, comprising:

[0043] The data acquisition module is used to obtain the historical ticket order data set of all ordering users on the target flight after the ticket order security check is started;

[0044] A data partitioning module, used to determine data approximation weight points according to the historical air ticket order data set, perform data approximation partitioning on the historical air ticket order data set according to the data approximation weight points, obtain each historical air ticket order data approximation subset, and then obtain each corresponding ordering user similarity cluster;

[0045] An analysis and determination module is used to select a subscriber similarity cluster, determine the approximate data feature quantity of each user in the subscriber similarity cluster, and determine the data feature contribution factor base corresponding to the subscriber similarity cluster through all the approximate data feature quantities of the users;

[0046] The analysis and determination module is further used to determine the real-time user approach feature data of the similar cluster of the subscriber, determine the air ticket ordering warning decision value of the similar cluster of the subscriber based on the real-time user approach feature data and the data feature contribution factor, and repeat the above steps to determine the air ticket ordering warning decision values ​​of the remaining similar clusters of the subscriber;

[0047] The execution module is used to determine the detection warning boundary of the target flight according to all the ticket ordering warning decision values, and perform warning detection on the ticket order of the target flight according to the detection warning boundary.

[0048] In a third aspect, the present application provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above-mentioned methods for checking the security of air ticket orders when executing the computer program.

[0049] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for checking the security of air ticket orders.

[0050] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:

[0051] In the air ticket order security detection method, system, device and storage medium provided by the present application, the scheme determines the data approach weight points based on the historical air ticket order data set, and the data approach weight points reflect the optimal number of clusters for dividing the number of clusters in the historical air ticket order data set, and then the historical air ticket order data set is divided into data approaching groups according to the data approach weight points, and a class of historical air ticket order data in the historical air ticket order data set whose data similarity meets the requirements can be concentrated, and the data in the similar clusters of the subscribing users is processed to help improve the accuracy and processing speed of the processing results, and determine the data feature contribution factor base corresponding to the similar cluster of the subscribing user, and the data feature contribution factor in the data feature contribution factor base reflects the corresponding user approaching data feature quantity in the subscribing user. The influence degree of the ticket ordering of the similar cluster of the ordering users on the user's ordering of air tickets is determined, and the ticket ordering warning decision value of the similar cluster of the ordering users is determined based on the contribution factor of the data features. The ticket ordering warning decision value reflects the warning degree of the ticket ordering of each user in the similar cluster of the ordering users. Finally, the detection warning boundary of the target flight is determined according to all the ticket ordering warning decision values, and the ticket order of the target flight is warned according to the detection warning boundary. The ordering users who can exercise the ticket usage rights are screened out through the ticket ordering warning decision value, which reduces the number of ordering users who need to perform ticket order security detection. In summary, compared with the prior art that requires a lot of time and relevant personnel to perform security detection on ticket orders, rapid detection of ticket order security is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a flowchart of a method for detecting safety of air ticket orders in some embodiments of the present application;

[0053] Figure 2 A schematic diagram of a process for determining data approximation weight points in some embodiments of the present application;

[0054] Figure 3 This is a structural block diagram of the air ticket order security detection system in some embodiments of the present application;

[0055] Figure 4 This is a diagram of the internal structure of a computer device in some embodiments of the present application. DETAILED DESCRIPTION

[0056] The core of the present application is to start the ticket order security detection, obtain the historical ticket order data set of all subscribers in the target flight, determine the data approach weight points according to the historical ticket order data set, perform data approach division on the historical ticket order data set according to the data approach weight points, obtain each historical ticket order data approach subset, and then obtain each corresponding subscriber user similar cluster, select a subscriber user similar cluster, determine each user approach data feature quantity of the subscriber user similar cluster, determine the data feature contribution factor base corresponding to the subscriber user similar cluster according to all user approach data feature quantities, determine the real-time user approach feature data of the subscriber user similar cluster, determine the ticket order warning decision value of the subscriber user similar cluster according to the real-time user approach feature data and the data feature contribution factor base, repeat the above steps, determine the ticket order warning decision value of the remaining subscriber user similar clusters, determine the detection warning boundary of the target flight according to all ticket order warning decision values, and perform warning detection on the ticket order of the target flight according to the detection warning boundary. Compared with the prior art that requires a lot of time and relevant personnel to perform security detection on ticket orders, this solution can realize rapid detection of ticket order security.

[0057] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a ticket order security detection method according to some embodiments of the present application. The ticket order security detection method 100 mainly includes the following steps:

[0058] In step 101, the ticket order security check is started to obtain the historical ticket order data set of all ordering users on the target flight.

[0059] In the specific implementation, after the ticket order security check is started, the historical ticket order data set of all ordering users on the target flight is obtained from the ticket platform database.

[0060] It should be noted that the historical air ticket order data set in the present application is a collection of historical air ticket order data of all subscribing users, and one subscribing user corresponds to one historical air ticket order data. The historical air ticket order data in the historical air ticket order data set is the order data generated when the corresponding subscribing user orders an air ticket within the past year, wherein the order data may be a collection of values ​​obtained by scoring the air ticket price, refund time and other influencing factors each time the subscribing user purchases an air ticket within the past year by an intelligent neural network or relevant experts. The general value range of the score is 0 to 1. In other embodiments, other data may also be used to represent the order data, which will not be repeated here.

[0061] In step 102, data approximation weights are determined according to the historical air ticket order data set, and the historical air ticket order data set is divided into data approximation subsets according to the data approximation weights to obtain similar clusters of corresponding ordering users.

[0062] In addition, in some embodiments, reference Figure 2 As shown, this figure is a schematic diagram of the process of determining the number of data approaching weight points in some embodiments of the present application. In this embodiment, determining the number of data approaching weight points can be implemented by the following steps:

[0063] First, in step 1021, the approach weight point decision value is determined according to the preset data approach weight point transition number and the historical air ticket order data set;

[0064] Secondly, in step 1022, when the approach weight point decision value is less than or equal to the preset approach division threshold, the data approach weight point transition number is used as the data approach weight point number;

[0065] Then, in step 1023, when the approach weight point decision value is greater than the preset approach division threshold, the preset data approach weight point transition number is increased, and the approach weight point decision value is re-determined;

[0066] Finally, in step 1024, the above steps are repeated until the re-determined approach weight point decision value is less than or equal to the preset approach division threshold.

[0067] It should be noted that when the preset data approach weight point transition number is increased in the present application, only 1 is added each time. For example: the preset data approach weight point transition number is 5, and the calculated approach weight point decision value is greater than the preset approach division threshold, then the data approach weight point transition number is reset to 6, and the new approach weight point decision value is recalculated; the data approach weight point transition number can be preset by the historical data approach weight point number, which is generally 0.8 times the average value of all historical data approach weight point numbers, and an integer is taken. In other embodiments, other methods can also be used for preset, which is not limited here.

[0068] In addition, in some embodiments, determining the approaching weight point decision value according to the preset data approaching weight point transition number and the historical air ticket order data set can be implemented by the following steps:

[0069] Determine each historical air ticket order transition data of the historical air ticket order data set according to a preset data approach weight point transition number;

[0070] Select one historical air ticket order data in the historical air ticket order data set, and determine a data approach transition value of the historical air ticket order data and each historical air ticket order transition data;

[0071] Combining the historical air ticket order data with the historical air ticket order transition data corresponding to the minimum data approaching transition value into a historical air ticket order data approaching transition subset, repeating the above steps, combining the remaining historical air ticket order data in the historical air ticket order data set, and obtaining multiple historical air ticket order data approaching transition subsets;

[0072] The approach weight point decision value is determined based on the approach transition subset of all historical air ticket order data.

[0073] In specific implementation, each historical ticket order transition data of the historical ticket order data set is determined according to a preset data approach weight point transition number, that is: the historical ticket order data in the historical ticket order data set are collected at equal intervals according to the preset data approach weight point transition number, and the collected historical ticket order data are all used as historical ticket order transition data. For example: there are 11 historical ticket order data in the historical ticket order data set, and the preset data approach weight point transition number is 3, then the 3rd, 6th, and 9th historical ticket order data in the historical ticket order data set are used as historical ticket order transition data.

[0074] It should be noted that in the present application, the scoring values ​​in the historical air ticket order data are divided according to the chronological order of the time when the corresponding ordering user orders an air ticket each time, to obtain various scoring value sets, and the average value of all the scoring values ​​in each scoring value set of the historical air ticket order data is used as the data mapping amount of the corresponding scoring value set; the scoring values ​​in the historical air ticket order transition data are divided according to the chronological order of the time when the corresponding ordering user orders an air ticket each time, to obtain various transitional scoring value sets, and the average value of all the scoring values ​​in each transitional scoring value set of the historical air ticket order transition data is used as the transitional data mapping amount of the corresponding transitional scoring value set.

[0075] In some of the embodiments, determining the data approaching transition value of the historical air ticket order data and each historical air ticket order transition data can be implemented by the following steps:

[0076] Determine the data mapping amount A of the vth rating value set in the historical air ticket order data v ;

[0077] Determine the transition data mapping amount B of the vth transition score value set in the wth historical air ticket order transition data vw ;

[0078] Determine the total number V of rating value sets in the historical air ticket order data;

[0079] According to the data mapping amount A of the vth rating value set in the historical air ticket order data v , the transition data mapping amount B of the vth transition score value set in the wth historical air ticket order transition data vw The data approaching transition value of the historical air ticket order data and each historical air ticket order transition data is determined by the total number V of the score value sets in the historical air ticket order data, wherein the data approaching transition value can be determined by the following formula:

[0080]

[0081] Among them, w The data indicating that the historical air ticket order data and the w-th historical air ticket order transition data are approaching a transition value, v=1, 2, ..., V.

[0082] It should be noted that the data approximation transition value in the present application reflects the degree of similarity between the historical ticket order data and the historical ticket order transition data. The larger the data approximation transition value, the more similar the historical ticket order data and the historical ticket order transition data are; the smaller the data approximation transition value, the less similar the historical ticket order data and the historical ticket order transition data are.

[0083] In some embodiments, the approach weight point decision value determined based on all historical air ticket order data approaching the transition subset can be determined using the following formula:

[0084]

[0085] Among them, ψ represents the decision value of the approaching weight point, C ij represents the data approaching transition value of the jth historical air ticket order data in the i-th historical air ticket order data approaching transition subset and the historical air ticket order transition data corresponding to the historical air ticket order data approaching transition subset, I represents the total number of historical air ticket order data approaching transition subsets, J represents the total number of historical air ticket order data in the i-th historical air ticket order data approaching transition subset, j=1, 2,..., J, i=1, 2,…, I.

[0086] In some embodiments, the historical air ticket order data set is divided into data approximation groups according to the data approximation weight points to obtain each historical air ticket order data approximation subset, and then each corresponding ordering user similarity cluster is obtained, which can be achieved by the following steps:

[0087] Determining the historical air ticket order weight point data in the historical air ticket order data set according to the data approaching weight point number;

[0088] Selecting a piece of historical air ticket order data from the historical air ticket order data set, and determining a data approximation value between the historical air ticket order data and each piece of historical air ticket order weight point data;

[0089] Combining the historical air ticket order data with the historical air ticket order weight point data corresponding to the minimum data approximation value into a historical air ticket order data approximation subset;

[0090] Repeat the above steps to combine the remaining historical air ticket order data in the historical air ticket order data set to obtain multiple historical air ticket order data approximate subsets;

[0091] The set of all the corresponding subscribing users in the historical air ticket order data close subset is taken as the subscribing user similarity cluster corresponding to the historical air ticket order data close subset.

[0092] In specific implementation, the historical air ticket order weight point data in the historical air ticket order data set is determined according to the data approach weight points, that is: the historical air ticket order data in the historical air ticket order data set is collected at equal intervals according to the data approach weight points, and the collected historical air ticket order data are all used as historical air ticket order weight point data. For example: there are 11 historical air ticket order data in the historical air ticket order data set, and the data approach weight point is 3, then the 3rd, 6th, and 9th historical air ticket order data in the historical air ticket order data set are used as historical air ticket order weight point data.

[0093] It should be noted that in the present application, the scoring values ​​in the historical air ticket order weight point data are divided according to the chronological order of the time when the corresponding ordering users order the air tickets each time, to obtain various weight point scoring value sets, and the average value of all the scoring values ​​in each weight point scoring value set of the historical air ticket order weight point data is used as the weight point data mapping amount of the corresponding weight point scoring value set.

[0094] In some embodiments, determining the data approximation value of the historical air ticket order data and each historical air ticket order right point data can be implemented by the following steps:

[0095] Determine the data mapping amount D of the vth rating value set in the historical air ticket order data v ;

[0096] Determine the weight point data mapping amount E of the vth weight point score value set in the zth historical air ticket order weight point data vz ;

[0097] Determine the total number V of rating value sets in the historical air ticket order data;

[0098] According to the data mapping amount D of the vth rating value set in the historical air ticket order data v , the weight point data mapping amount E of the vth weight point scoring value set in the zth historical air ticket order weight point data vz The data approximation value of the historical air ticket order data and each historical air ticket order weight point data is determined by the total number V of the score value sets in the historical air ticket order data, wherein the data approximation value can be determined by the following formula:

[0099]

[0100] Among them, ξ z Represents the data approximation value of the historical air ticket order data and the zth historical air ticket order weight point data, v=1, 2, ..., V, z=1, 2, ..., Z.

[0101] It should be noted that the data approximation value in the present application reflects the degree of similarity between the historical ticket order data and the historical ticket order weight point data. The larger the data approximation value, the more similar the historical ticket order data and the historical ticket order weight point data are. The smaller the data approximation value, the less similar the historical ticket order data and the historical ticket order weight point data are.

[0102] In step 103, a subscriber similarity cluster is selected, and the approximate data feature quantity of each user in the subscriber similarity cluster is determined. The data feature contribution factor base corresponding to the subscriber similarity cluster is determined through all the approximate data feature quantities of the users.

[0103] In specific implementation, the user approach data feature quantities of each user in the similar cluster of the subscribing users are determined, that is: according to the chronological order of the time when each subscribing user books a flight ticket, the booking data corresponding to all subscribing users in the similar cluster of the subscribing users are respectively divided into a value set of scores for the first purchase, a value set of scores for the second purchase, a value set of scores for the third purchase, and so on, until a value set of scores for the Nth purchase is obtained. The divided value sets are all used as historical user approach data, and the historical user approach data are divided according to different influencing factors when the subscribing users book flight tickets, and the average value of all the values in the divided value set is used as the user approach data feature quantity of the corresponding historical user approach data.

[0104] It should be noted that in this application, if the number of times that all subscribing users in the similar cluster of the subscribing users book flight tickets are a times, b times, and c times, and a < b < c, then only the booking data corresponding to all subscribing users in the similar cluster of the subscribing users are divided according to the minimum number of times a, and the booking data exceeding a times are not recorded or divided.

[0105] In some embodiments, the data feature contribution factor base corresponding to the similar cluster of the subscribing users can be determined through all the user approach data feature quantities, which can be implemented by the following steps:

[0106] Obtain the mth user approach data feature quantity T of the nth historical user approach data in the similar cluster of the subscribing users nm ;

[0107] Obtain the kth user approach data feature quantity T of the nth historical user approach data in the similar cluster of the subscribing users nk ;

[0108] Determine the approach balance quantity of the mth user approach data feature quantity in the similar cluster of the subscribing users

[0109] Determine the approach balance quantity of the kth user approach data feature quantity in the similar cluster of the subscribing users

[0110] Determine the data change trend θ of the mth user approach data feature quantity and the kth user approach data feature quantity in the similar cluster of the subscribing users mk ;

[0111] Obtain the mth user approach data feature quantity T of the nth historical user approach data in the similar cluster of the subscribing users nm and the kth user approach data feature quantity T of the nth historical user approach data in the similar cluster of the subscribing users nk and the approach balance quantity of the mth user approach data feature quantity in the similar cluster of the subscribing users The equilibrium value of the kth user in the similar cluster of the subscriber approaching the data feature value The data change trend θ of the mth user approaching the data feature quantity and the kth user approaching the data feature quantity in the cluster similar to the subscribing user mk Determine the data feature contribution factor base corresponding to the subscriber similarity cluster, wherein the mth data feature contribution factor in the data feature contribution factor base can be determined using the following formula:

[0112]

[0113] Among them, η m represents the mth data feature contribution factor in the data feature contribution factor base, N represents the total number of times historical users approach data in the similar cluster of the subscribing user, M represents the total number of user approach data feature quantities of the nth historical user approach data in the similar cluster of the subscribing user, n=1, 2, ..., N, m=1, 2, ..., M.

[0114] It should be noted that the data feature contribution factor base in the present application represents the set of all data feature contribution factors in the similar cluster of the ordering user, and the data feature contribution factors in the data feature contribution factor base reflect the influence of the corresponding user approaching data feature quantity on the user's ordering of air tickets in the similar cluster of the ordering user. The larger the data feature contribution factor, the greater the influence on the user's ordering of air tickets, and the smaller the data feature contribution factor, the smaller the influence on the user's ordering of air tickets; the approaching balance quantity reflects the trend value of the user approaching data feature quantity in the similar cluster of the ordering user, and can be represented by the average value of all values ​​of the approaching data feature quantity of the user in the similar cluster of the ordering user in the historical data; the data change trend reflects the similarity of the change trend of the values ​​of the corresponding two users' approaching data feature quantities in the historical data, and can be represented by the covariance of the values ​​of the corresponding two users' approaching data feature quantities in the historical data. In other embodiments, other methods can also be used for representation, which is not limited here.

[0115] In step 104, the real-time user approach feature data of the similar cluster of subscribing users is determined, and the ticket ordering warning decision value of the similar cluster of subscribing users is determined based on the real-time user approach feature data and the data feature contribution factor. The above steps are repeated to determine the ticket ordering warning decision values ​​of the remaining similar clusters of subscribing users.

[0116] In the specific implementation, the real-time user approach feature data of the similar cluster of subscribing users is determined, that is, the real-time air ticket order data of each subscribing user in the similar cluster of subscribing users is obtained, and the steps of determining the user approach data feature quantity of the above historical air ticket order data set are repeated to determine the real-time user approach data feature quantity corresponding to the real-time air ticket order data, and the collection of all real-time user approach data feature quantities is used as the real-time user approach feature data.

[0117] In some embodiments, determining the air ticket ordering warning decision value of the ordering user similar cluster based on the real-time user approach feature data and the data feature contribution factor can be implemented by the following steps:

[0118] Get the pth real-time user approach data feature value in the real-time user approach feature data

[0119] Determine the data feature contribution factor η corresponding to the pth real-time user approach data feature quantity in the real-time user approach feature data p ;

[0120] Determine the total number P of real-time user approach data feature quantities in the real-time user approach feature data;

[0121] According to the pth real-time user approach data feature value in the real-time user approach feature data The data feature contribution factor η corresponding to the p-th real-time user approaching data feature quantity in the real-time user approaching feature data m The total number P of the real-time user approach data feature quantities in the real-time user approach feature data is used to determine the air ticket ordering warning decision value of the ordering user similar cluster, wherein the air ticket ordering warning decision value can be determined by the following formula:

[0122]

[0123] Wherein, F represents the air ticket booking warning decision value, p=1, 2, ..., P.

[0124] It should be noted that the air ticket ordering warning decision value in the present application reflects the warning degree of each user in the similar cluster of the ordering user ordering air tickets, and generally takes a value between 0 and 1. The larger the air ticket ordering warning decision value, the greater the warning degree of the users in the similar cluster of the ordering user ordering air tickets. The smaller the air ticket ordering warning decision value, the smaller the warning degree of the users in the similar cluster of the ordering user ordering air tickets.

[0125] In step 105, a detection warning boundary of the target flight is determined according to all the ticket ordering warning decision values, and a warning detection is performed on the ticket order of the target flight according to the detection warning boundary.

[0126] In some embodiments, determining the detection warning boundary of the target flight according to all the ticket booking warning decision values ​​can be implemented by the following steps:

[0127] Select a flight booking warning decision value;

[0128] When the air ticket ordering warning decision value is less than or equal to the preset air ticket ordering warning decision threshold, each subscriber in the subscriber similar cluster corresponding to the air ticket ordering warning decision value is marked as exempt from detection;

[0129] When the air ticket ordering warning decision value is greater than the preset air ticket ordering warning decision threshold, each ordering user in the ordering user similar cluster corresponding to the air ticket ordering warning decision value is marked as to be detected;

[0130] Repeat the above steps to obtain the remaining air ticket booking warning decision values ​​marked as the ordering users to be detected;

[0131] All subscribers marked as pending detection form a detection warning community.

[0132] It should be noted that the air ticket booking warning decision threshold in the present application can be set by the average value of all air ticket booking warning decision values ​​obtained in historical experiments, and other methods can also be used to set it in other embodiments, which is not limited here.

[0133] In specific implementation, early warning detection is performed on the ticket orders of the target flight according to the detection and early warning boundary. In some embodiments, when performing security detection on the ticket orders of the target flight, only the subscribing users in the detection and early warning boundary are detected. In other embodiments, early warning detection can also be performed on the ticket orders of the target flight according to the detection and early warning boundary according to different needs, which will not be repeated here.

[0134] In addition, in another aspect of the present application, in some embodiments, the present application provides a ticket order security detection system, referring to Figure 3 , which is a schematic diagram of exemplary hardware and / or software of a ticket order security detection system according to some embodiments of the present application. The ticket order security detection system 300 includes: a data acquisition module 301, a data division module 302, an analysis and determination module 303 and an execution module 304, which are described as follows:

[0135] Data acquisition module 301, in this application, data acquisition module 301 is mainly used to obtain the historical ticket order data set of all ordering users on the target flight after starting the ticket order security check;

[0136] Data partitioning module 302, in the present application, the data partitioning module 302 is mainly used to determine data approximation weight points according to the historical air ticket order data set, perform data approximation partitioning on the historical air ticket order data set according to the data approximation weight points, obtain each historical air ticket order data approximation subset, and then obtain each corresponding ordering user similarity cluster;

[0137] Analysis and determination module 303, in this application, the analysis and determination module 303 is mainly used to select a subscriber similarity cluster, determine the approximate data feature quantity of each user in the subscriber similarity cluster, and determine the data feature contribution factor base corresponding to the subscriber similarity cluster through all the user approximate data feature quantities;

[0138] In addition, the analysis and determination module 303 is also used to determine the real-time user approach feature data of the similar cluster of the ordering user, determine the air ticket ordering warning decision value of the similar cluster of the ordering user based on the real-time user approach feature data and the data feature contribution factor, and repeat the above steps to determine the air ticket ordering warning decision values ​​of the remaining similar clusters of the ordering user;

[0139] Execution module 304, in this application, execution module 304 mainly determines the detection warning boundary of the target flight according to all the ticket ordering warning decision values, and performs warning detection on the ticket order of the target flight according to the detection warning boundary.

[0140] Each module in the above-mentioned ticket order security detection system can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0141] In addition, in one embodiment, the present application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store ticket order security detection data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a ticket order security detection method is implemented.

[0142] Those skilled in the art will understand that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0143] In one embodiment, a computer device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned air ticket order security detection method embodiment are implemented.

[0144] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which, when executed by a processor, implements the steps in the above-mentioned air ticket order security detection method embodiment.

[0145] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned embodiment of the ticket order security detection method.

[0146] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0147] In summary, in the air ticket order security detection method, system, device and storage medium disclosed in the embodiments of the present application, first, the air ticket order security detection is started, and the historical air ticket order data set of all subscribing users in the target flight is obtained, and the data approach weight points are determined according to the historical air ticket order data set, and the historical air ticket order data set is divided into data approach subsets according to the data approach weight points to obtain each historical air ticket order data approach subset, and then obtain each corresponding subscribing user similarity cluster, select a subscribing user similarity cluster, determine the approach data feature quantity of each user of the subscribing user similarity cluster, and determine the subscribing user similarity through all the user approach data feature quantities. The data feature contribution factor base corresponding to the cluster is used to determine the real-time user approach feature data of the similar cluster of the ordering user, and the ticket ordering warning decision value of the similar cluster of the ordering user is determined according to the real-time user approach feature data and the data feature contribution factor base. The above steps are repeated to determine the ticket ordering warning decision values ​​of the remaining similar clusters of the ordering users, and the detection warning boundary of the target flight is determined according to all the ticket ordering warning decision values. The ticket order of the target flight is warned according to the detection warning boundary. Compared with the prior art which requires a lot of time and relevant personnel to perform security detection on the ticket order, this scheme can realize rapid detection of the security of the ticket order.

[0148] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0149] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for detecting safety of air ticket orders, characterized in that: The steps include: Start the ticket order security check and obtain the historical ticket order data set of all ordering users on the target flight; Determining data approximation weight points according to the historical air ticket order data set, wherein determining data approximation weight points according to the historical air ticket order data set specifically includes: Determine the approach weight point decision value according to the preset data approach weight point transition number and the historical air ticket order data set; When the approach weight point decision value is less than or equal to the preset approach division threshold, the data approach weight point transition number is used as the data approach weight point number; When the approach weight point decision value is greater than the preset approach division threshold, the preset data approach weight point transition number is increased, and the approach weight point decision value is re-determined; Repeat the above steps until the re-determined approach weight decision value is less than or equal to the preset approach partition threshold, perform data approach partition on the historical air ticket order data set according to the data approach weight, obtain each historical air ticket order data approach subset, and then obtain each corresponding ordering user similarity cluster; A similar cluster of subscribers is selected, and the characteristic quantity of each user approach data of the similar cluster of subscribers is determined, wherein the characteristic quantity of each user approach data of the similar cluster of subscribers is determined, namely: the order data corresponding to all subscribers in the similar cluster of subscribers are divided into a value set of the score of the first purchase, a value set of the score of the second purchase, a value set of the score of the third purchase, and so on, according to the order of the time when the subscribers order the air tickets each time, to obtain the value set of the score of the Nth purchase, and the divided value sets are all used as historical user approach data, and the historical user approach data is divided according to different influencing factors when the subscribers purchase air tickets, and the average value of all values ​​in the value set obtained after the division is used as the user approach data characteristic quantity corresponding to the historical user approach data, and the data feature contribution factor base corresponding to the similar cluster of subscribers is determined by all the user approach data characteristic quantities, wherein the data feature contribution factor base corresponding to the similar cluster of subscribers is determined by all the user approach data characteristic quantities by adopting the following steps: Get the mth user approach data feature value T of the nth historical user approach data in the similar cluster of the subscribing user nm ; Get the kth user approach data feature value T of the nth historical user approach data in the similar cluster of the subscribing user nk ; Determine the equilibrium value of the mth user approaching the data feature value in the similar cluster of the subscriber Determine the equilibrium value of the kth user approaching the data feature value in the similar cluster of the subscriber Determine the data change trend θ of the mth user approaching data feature quantity and the kth user approaching data feature quantity in the similar cluster of the subscribing user mk ; According to the mth user approach data feature value T of the nth historical user approach data in the similar cluster of the subscribing user nm , the kth user approach data feature value T of the nth historical user approach data in the similar cluster of the subscribing user nk , the approximate balance value of the mth user in the similar cluster of the subscriber The equilibrium value of the kth user in the similar cluster of the subscriber approaching the data feature value The data change trend θ of the mth user approaching the data feature quantity and the kth user approaching the data feature quantity in the cluster similar to the subscribing user mk Determine the data feature contribution factor base corresponding to the similar cluster of subscribers, wherein the mth data feature contribution factor in the data feature contribution factor base is determined by the following formula: Among them, η m represents the mth data feature contribution factor in the data feature contribution factor base, N represents the total number of historical user approach data in the similar cluster of the ordering user, M represents the total number of user approach data feature quantities of the nth historical user approach data in the similar cluster of the ordering user, n=1, 2, ..., N, m=1, 2, ..., M, the data feature contribution factor base represents the set of all data feature contribution factors in the similar cluster of the ordering user, and the data feature contribution factors in the data feature contribution factor base reflect the influence of the corresponding user approach data feature quantity on the user's ordering of air tickets in the similar cluster of the ordering user; Determine the real-time user approach feature data of the similar cluster of the subscriber, wherein the real-time user approach feature data of the similar cluster of the subscriber is determined, namely: obtain the real-time air ticket order data of each subscriber in the similar cluster of the subscriber, repeat the step of determining the user approach data feature quantity of the historical air ticket order data set, thereby determining the real-time user approach data feature quantity corresponding to the real-time air ticket order data, and use the set of all real-time user approach data feature quantities as the real-time user approach feature data, and determine the air ticket ordering warning decision value of the similar cluster of the subscriber according to the real-time user approach feature data and the data feature contribution factor basis, repeat the above steps, and determine the air ticket ordering warning decision value of the remaining similar clusters of the subscriber, wherein the air ticket ordering warning decision value of the similar cluster of the subscriber according to the real-time user approach feature data and the data feature contribution factor basis is determined by the following steps: Get the pth real-time user approach data feature value in the real-time user approach feature data Determine the data feature contribution factor η corresponding to the pth real-time user approach data feature quantity in the real-time user approach feature data p ; Determine the total number P of real-time user approach data feature quantities in the real-time user approach feature data; According to the pth real-time user approach data feature value in the real-time user approach feature data The data feature contribution factor η corresponding to the p-th real-time user approaching data feature quantity in the real-time user approaching feature data m The total number P of the real-time user approach data feature quantities in the real-time user approach feature data is used to determine the air ticket ordering warning decision value of the ordering user similar cluster, wherein the air ticket ordering warning decision value is determined using the following formula: Where F represents the early warning decision value for air ticket ordering, p = 1, 2, ..., P, and the early warning decision value for air ticket ordering reflects the early warning degree of ordering air tickets for each user in the similar cluster of ordering users; Determine the detection warning boundary of the target flight according to all the ticket ordering warning decision values, and perform warning detection on the ticket order of the target flight according to the detection warning boundary: The method of determining the approaching weight point decision value according to the preset data approaching weight point transition number and the historical air ticket order data set specifically includes: Determine each historical air ticket order transition data of the historical air ticket order data set according to a preset data approach weight point transition number; Select one historical air ticket order data in the historical air ticket order data set, and determine a data approach transition value of the historical air ticket order data and each historical air ticket order transition data; Combining the historical air ticket order data with the historical air ticket order transition data corresponding to the minimum data approaching transition value into a historical air ticket order data approaching transition subset, repeating the above steps, combining the remaining historical air ticket order data in the historical air ticket order data set, and obtaining multiple historical air ticket order data approaching transition subsets; Determine the approach weight point decision value based on the approach transition subset of all historical air ticket order data; The data approximation division of the historical air ticket order data set is performed by the data approximation weight points to obtain each historical air ticket order data approximation subset, and then each corresponding ordering user similarity cluster is obtained by the following steps: Determining the historical air ticket order weight point data in the historical air ticket order data set according to the data approaching weight point number; Selecting a piece of historical air ticket order data from the historical air ticket order data set, and determining a data approximation value between the historical air ticket order data and each piece of historical air ticket order weight point data; Combining the historical air ticket order data with the historical air ticket order weight point data corresponding to the minimum data approximation value into a historical air ticket order data approximation subset; Repeat the above steps to combine the remaining historical air ticket order data in the historical air ticket order data set to obtain multiple historical air ticket order data approximate subsets; The set of all the subscribers corresponding to the historical air ticket order data close subset is used as the subscriber similarity cluster corresponding to the historical air ticket order data close subset; The following steps are used to determine the data approximation value of the historical air ticket order data and each historical air ticket order weight point data: Determine the data mapping amount D of the vth rating value set in the historical air ticket order data v ; Determine the weight point data mapping amount E of the vth weight point score value set in the zth historical air ticket order weight point data vz ; Determine the total number V of rating value sets in the historical air ticket order data; According to the data mapping amount D of the vth rating value set in the historical air ticket order data v , the weight point data mapping amount E of the vth weight point scoring value set in the zth historical air ticket order weight point data vz The data approximation value of the historical air ticket order data and each historical air ticket order weight point data is determined by the total number V of the score value sets in the historical air ticket order data, wherein the data approximation value is determined by the following formula: Among them, ξ z Represents the data approximation value of the historical air ticket order data and the zth historical air ticket order weight point data, v=1, 2, ..., V, z=1, 2, ..., Z.

2. The method according to claim 1, characterized in that The following steps are used to determine the detection and warning boundary of the target flight based on all the ticket booking warning decision values: Select a flight booking warning decision value; When the air ticket ordering warning decision value is less than or equal to the preset air ticket ordering warning decision threshold, each subscriber in the subscriber similar cluster corresponding to the air ticket ordering warning decision value is marked as exempt from detection; When the air ticket ordering warning decision value is greater than the preset air ticket ordering warning decision threshold, each ordering user in the ordering user similar cluster corresponding to the air ticket ordering warning decision value is marked as to be detected; Repeat the above steps to obtain the remaining air ticket booking warning decision values ​​marked as the ordering users to be detected; All subscribers marked as pending detection form a detection warning community.

3. The method according to claim 1, characterized in that The historical air ticket order data in the historical air ticket order data set is order data generated when the corresponding ordering user orders air tickets within the past year, wherein the order data is a set of values ​​obtained by scoring the influencing factors when the ordering user purchases air tickets.

4. A ticket order security detection system, which is controlled by the method of any one of claims 1 to 3, characterized in that: The ticket order security detection system includes: The data acquisition module is used to obtain the historical ticket order data set of all ordering users on the target flight after the ticket order security check is started; A data partitioning module, used to determine data approximation weight points according to the historical air ticket order data set, perform data approximation partitioning on the historical air ticket order data set according to the data approximation weight points, obtain each historical air ticket order data approximation subset, and then obtain each corresponding ordering user similarity cluster; An analysis and determination module is used to select a subscriber similarity cluster, determine the approximate data feature quantity of each user in the subscriber similarity cluster, and determine the data feature contribution factor base corresponding to the subscriber similarity cluster through all the approximate data feature quantities of the users; The analysis and determination module is further used to determine the real-time user approach feature data of the similar cluster of the subscriber, determine the air ticket ordering warning decision value of the similar cluster of the subscriber based on the real-time user approach feature data and the data feature contribution factor, and repeat the above steps to determine the air ticket ordering warning decision values ​​of the remaining similar clusters of the subscriber; The execution module is used to determine the detection warning boundary of the target flight according to all the ticket ordering warning decision values, and perform warning detection on the ticket order of the target flight according to the detection warning boundary.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the air ticket order security detection method described in any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the air ticket order security detection method according to any one of claims 1 to 3 are implemented.