Method and device for identifying abnormal account in ticket service and computer equipment
By combining the characteristics of terminal motion sensors and network transmission data, we train an abnormal recognition model to identify and punish abnormal accounts, which solves the problem of low recognition accuracy caused by a single judgment factor in the existing technology and improves the accuracy of abnormal account identification in ticketing services. sex.
Patent Information
- Application Number
- CN202410941678.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-27
AI Technical Summary
When the existing risk control system determines whether a user is an abnormal ticket purchaser, the judgment factor is single and cannot accurately identify normal users and abnormal users, resulting in a low accuracy in identifying abnormal accounts in ticketing services.
By obtaining the pre-trained anomaly identification model, combined with the terminal's motion sensor data and network transmission data, the anomaly identification model is trained, the credit score value is output, and the account is determined whether it is an abnormal account based on the score value, and the credit score and the credit score are stored in the blockchain. Bill information to identify and punish abnormal accounts.
The accuracy of identification of abnormal accounts in ticketing services has been improved. Through the combination of multiple characteristic data, abnormal account types can be accurately determined and targeted punishments adopted, thereby improving the risk control effect.
Smart Images

Figure CN118710299A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium and computer program product for identifying abnormal accounts in ticketing services. Background Art
[0002] At present, artificial intelligence and big data technologies are developing rapidly. Various systems and measures to prevent abnormal ticket purchasers from snatching tickets have emerged one after another. The government or relevant departments have also strengthened supervision of public places or activities, and prevented the behavior of abnormal ticket purchasers through strict law enforcement and punishment measures. The existing risk control system, based on the use of artificial intelligence and big data technologies, collects user data, and determines whether the user's behavior is abnormal based on the degree of deviation between the user's behavior data and the evaluation model, thereby determining whether the user is an abnormal ticket purchaser, and then restricting and banning the abnormal ticket purchaser to achieve the effect of risk control.
[0003] However, the use of artificial intelligence and big data technology to determine whether a user is an abnormal ticket purchasing user and then conduct risk control on abnormal ticket purchasing users has a single judgment factor, uses traditional and outdated user information, and cannot easily distinguish normal users from abnormal ticket purchasing users, resulting in a low accuracy rate in identifying abnormal accounts in ticketing services. Summary of the invention
[0004] Based on this, it is necessary to provide a method, apparatus, computer device, computer-readable storage medium and computer program product for identifying abnormal accounts in ticketing services, which can improve the accuracy of identifying abnormal accounts in ticketing services, in response to the above technical problems.
[0005] In a first aspect, an embodiment of the present application provides a method for identifying abnormal accounts in a ticketing service. The method comprises:
[0006] Obtain a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in an account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal;
[0007] Inputting the account information of each account in the account set into the anomaly identification model to output a credit score value corresponding to each account; the credit score value is used to represent the probability of each account being an abnormal account;
[0008] In response to an identification request for any account in the account set, if the credit score value of any account is less than a preset threshold, the any account is determined to be an abnormal account.
[0009] In one embodiment, the target data set includes a first data set and a second data set, and the method further includes:
[0010] According to the type of the real-time feature data in the target data set, the target data set is divided to obtain a first data set and a second data set after division; wherein the feature data in the first data set is data associated with the purpose of the abnormal behavior of the account, and the feature data in the second data set is data that can characterize the identity type of the terminal operator;
[0011] The initial anomaly recognition model is trained according to the first data set to obtain a trained first model, and the initial anomaly recognition model is trained according to the second data set to obtain a trained second model.
[0012] In one embodiment, the method further comprises:
[0013] Outputting a first scoring value corresponding to any one of the accounts according to the first model, and outputting a second scoring value corresponding to any one of the accounts according to the second model;
[0014] In the case where it is determined that any of the accounts is an abnormal account, determining the abnormal type to which the any of the accounts belongs according to the magnitude of the first score value and the second score value;
[0015] Determine a penalty measure for each of the accounts according to the abnormal type to which the accounts belong.
[0016] In one embodiment, the method further comprises:
[0017] When each account in the account set completes the ticket purchase service, the credit score value and ticket information corresponding to each account in the account set are stored in the blockchain according to the association relationship;
[0018] In the case where any of the accounts initiates a ticket verification request, in response to the ticket verification request, obtaining the information to be verified stored by any of the accounts in the terminal, and obtaining the information to be verified stored by any of the accounts in the blockchain; the information to be verified includes the credit score value and the ticket information;
[0019] When the information to be verified stored in the terminal is consistent with the information to be verified stored in the blockchain, it is determined that the ticket verification for any one of the accounts is passed.
[0020] In one embodiment, the method further comprises:
[0021] In the case where any of the accounts initiates a ticket refund request, obtaining the credit score value stored in the blockchain by any of the accounts; the ticket refund request includes a request for ticket transfer and cancellation service;
[0022] In the case where the credit score value is less than a preset refund threshold, it is determined that any of the accounts is an account that is not eligible for refund, and a rejection instruction for the ticket refund request is generated.
[0023] In one embodiment, the method further comprises:
[0024] In the case where the credit score value is greater than or equal to the preset refund threshold, determining that any one of the accounts is an account eligible for refund, and generating a business processing instruction for the ticket refund request;
[0025] The return service is processed according to the business processing instruction, and the processing record of the return service is stored in the blockchain.
[0026] In one embodiment, the method further comprises:
[0027] Acquire the original network transmission data of the terminal collected when the account uses the terminal to handle ticketing services; the original network transmission data includes network request data and time data;
[0028] Preprocessing the raw data transmitted by the network to remove invalid data and noise data to obtain preprocessed data;
[0029] Calculate and obtain the index data corresponding to the preprocessed data on various indicators; the index data includes the average value, standard deviation, maximum value and minimum value;
[0030] The indicator data is grouped according to the indicators to obtain the network transmission data.
[0031] In a second aspect, the present application also provides a device for identifying abnormal accounts in a ticketing service. The device comprises:
[0032] A model acquisition module is used to acquire a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in an account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal;
[0033] A score output module, used to input the account information of each account in the account set into the anomaly identification model to output a credit score corresponding to each account; the credit score is used to represent the probability that each account is an abnormal account;
[0034] The identification module is used to respond to an identification request for any account in the account set and determine that the any account is an abnormal account when the credit score value of the any account is less than a preset threshold.
[0035] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0036] Obtain a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in an account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal;
[0037] Inputting the account information of each account in the account set into the anomaly identification model to output a credit score value corresponding to each account; the credit score value is used to represent the probability of each account being an abnormal account;
[0038] In response to an identification request for any account in the account set, if the credit score value of any account is less than a preset threshold, the any account is determined to be an abnormal account.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0040] Obtain a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in an account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal;
[0041] Inputting the account information of each account in the account set into the anomaly identification model to output a credit score value corresponding to each account; the credit score value is used to represent the probability of each account being an abnormal account;
[0042] In response to an identification request for any account in the account set, if the credit score value of any account is less than a preset threshold, the any account is determined to be an abnormal account.
[0043] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0044] Obtain a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in an account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal;
[0045] Inputting the account information of each account in the account set into the anomaly identification model to output a credit score value corresponding to each account; the credit score value is used to represent the probability of each account being an abnormal account;
[0046] In response to an identification request for any account in the account set, if the credit score value of any account is less than a preset threshold, the any account is determined to be an abnormal account.
[0047] The above-mentioned method, apparatus, computer equipment, storage medium and computer program product for identifying abnormal accounts in ticketing services first obtain a pre-trained abnormal identification model, then input the account information of each account in the account set into the abnormal identification model to output the credit score value corresponding to each account, and finally respond to the identification request for any account in the account set, and determine that any account is an abnormal account when the credit score value of any account is less than a preset threshold; by setting real-time feature data such as terminal sensor data and network transmission data in the data set, the abnormal identification model is trained, the training effect of the model is improved, and the recognition accuracy of abnormal accounts in ticketing services is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] FIG1 is an application environment diagram of a method for identifying abnormal accounts in a ticketing service in one embodiment;
[0050] Figure 2 A flowchart of a method for identifying abnormal accounts in a ticketing service in one embodiment;
[0051] Figure 3 It is a flowchart of a method for identifying abnormal accounts in a ticketing service in another embodiment;
[0052] Figure 4 It is a structural block diagram of a device for identifying abnormal accounts in a ticketing service in one embodiment;
[0053] FIG5 is a diagram showing the internal structure of a computer device in one embodiment;
[0054] FIG. 6 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0056] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0057] It should be noted that the method, apparatus, computer equipment, storage medium and computer program product for identifying abnormal accounts in ticketing services disclosed in this application can be applied to the field of financial technology, and can also be used in any field other than the field of financial technology.
[0058] The method for identifying abnormal accounts in the ticketing service provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. The terminal 102 communicates with the server 104 through the network.
[0059] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0060] In one embodiment, Figure 2As shown, a method for identifying abnormal accounts in a ticketing service is provided, and the method is applied to the terminal 102 in FIG. 1 as an example for description, including the following steps:
[0061] S201, obtaining a pre-trained anomaly recognition model.
[0062] Among them, the anomaly recognition model is trained according to the target data set. The anomaly recognition model can be any neural network model with reasoning, analysis or evaluation functions, and the target data set refers to the data set used to train the model.
[0063] The target data set includes real-time feature data representing the features of each account in the account set. The real-time feature data is data generated in real time by the terminal when the account uses the terminal to handle ticketing services.
[0064] Among them, the account set refers to the collection of all accounts used in the data set, and the terminal refers to the terminal used by the user of the account when using the account to purchase tickets and other services, such as mobile terminals such as mobile phones.
[0065] Specifically, the real-time feature data includes sensing data generated by a motion sensor of the terminal and network transmission data of the terminal.
[0066] For example, when a user buys a ticket on a mobile phone, specific gestures and movements are generated, which causes the phone's accelerometer, gyroscope, magnetometer and other sensors to generate different signals. By analyzing and identifying these signals, it is possible to determine whether the user is a normal ticket buyer or an abnormal ticket buyer, and thus assign a corresponding credit score.
[0067] S202, inputting the account information of each account in the account set into the anomaly recognition model to output the credit score value corresponding to each account.
[0068] Among them, the credit score value is used to represent the probability that each account is an abnormal account.
[0069] For example, the ticketing platform uses artificial intelligence technology to analyze and evaluate basic information such as the user's identity information, ticket purchase records, and payment methods as basic factors, and assigns a credit score to each user. The higher the credit score, the more likely the user is to be a normal ticket purchaser rather than an abnormal ticket purchaser.
[0070] S203, in response to an identification request for any account in the account set, if the credit score value of any account is less than a preset threshold, determining that any account is an abnormal account.
[0071] Among them, the identification request refers to a request that requires abnormal identification for a certain account, such as when a certain account participates in a certain service, abnormal identification is required. The preset threshold is a threshold set for the credit score value, which can be set manually or according to statistical data.
[0072] In the above-mentioned method for identifying abnormal accounts in ticketing services, a pre-trained abnormal identification model is first obtained, and then the account information of each account in the account set is input into the abnormal identification model to output the credit score value corresponding to each account, and finally, in response to an identification request for any account in the account set, if the credit score value of any account is less than a preset threshold, any account is determined to be an abnormal account; by setting real-time feature data such as terminal sensor data and network transmission data in the data set, the training of the abnormal identification model is realized, the training effect of the model is improved, and the recognition accuracy of abnormal accounts in ticketing services is improved.
[0073] In one embodiment, the method also includes: dividing the target data set according to the type of real-time feature data in the target data set to obtain a divided first data set and a second data set; training an initial anomaly recognition model according to the first data set to obtain a trained first model, and training the initial anomaly recognition model according to the second data set to obtain a trained second model.
[0074] The target data set includes a first data set and a second data set. The feature data in the first data set is data associated with the purpose of the account's abnormal behavior, and the feature data in the second data set is data that can characterize the identity type of the terminal operator.
[0075] Exemplarily, data that is strongly associated with the purpose of the account's abnormal behavior can be classified into the first data set. For example, the purpose of the account's abnormal behavior is divided into money-making and destructive types. The real-time feature data that is highly correlated with this type can be the user's spending amount. For example, the user's current ticket purchases are quite diverse, and general ticket purchases tend to purchase concert tickets for a certain star or performance tickets in a certain region, while abnormal ticket purchasing users tend to purchase tickets of various categories in multiple regions.
[0076] Exemplarily, data that can clearly characterize the identity type of the terminal operator can be divided into the first data set. For example, the identity type of the operator is divided into technical type and human type. Data that can clearly characterize the identity type of the terminal operator can be the number of consumption times per unit time. General ticket buyers tend to consume only a few times at a certain time for themselves and their companions, while abnormal ticket buyers tend to use technical means to consume dozens or even hundreds of times in a certain period of time.
[0077] In this embodiment, the target data set is first divided according to the type of real-time feature data in the target data set to obtain a first data set and a second data set after division, and then the initial anomaly recognition model is trained according to the first data set to obtain a trained first model, and the initial anomaly recognition model is trained according to the second data set to obtain a trained second model; the data sets are divided and trained separately by utilizing the different types of real-time feature data to prepare for the subsequent classification of abnormal accounts, thereby improving the richness of the data sets and facilitating improving the use effect of the model.
[0078] In one embodiment, the method further includes: outputting a first scoring value corresponding to any account according to the first model, and outputting a second scoring value corresponding to any account according to the second model; when any account is determined to be an abnormal account, determining the abnormal type to which any account belongs according to the magnitude of the first scoring value and the second scoring value; and determining the punishment measures for each account according to the abnormal type to which any account belongs.
[0079] Among them, the abnormal type of any account can be money-making type and destructive type, or technical type and human type.
[0080] Exemplarily, the two types of credit scores will be used as judgment factors to divide the accounts of abnormal ticket purchase users into the following four types, and different degrees of punishment will be imposed on different types of abnormal ticket purchase users: Type 1: Abnormal ticket purchase users with money-making technology. Type 2: Abnormal ticket purchase users with money-making human resources. Type 3: Abnormal ticket purchase users with destructive technology. Type 4: Abnormal ticket purchase users with destructive human resources. All four types of abnormal ticket purchase users will be punished accordingly, their accounts will be permanently banned and all funds and points will be confiscated, and the use of related devices and networks to access the platform will be permanently prohibited, and they will be recorded in the blacklist. At the same time, the first and third types (technical) abnormal ticket purchase users who cause greater harm to the platform will be permanently banned from using relevant identity information and payment information to register or trade on the platform, and the punishment will be reported to the relevant departments.
[0081] In this embodiment, first, a first scoring value corresponding to any account is output according to the first model, and a second scoring value corresponding to any account is output according to the second model. Then, when any account is determined to be an abnormal account, the abnormal type of any account is determined according to the size of the first scoring value and the second scoring value. Then, according to the abnormal type of any account, the punishment measures for each account are determined. By classifying abnormal users into types and taking different measures for different types of accounts, the accuracy of handling abnormal accounts is improved.
[0082] In one embodiment, the method further includes: when each account in the account set completes the ticket purchase service, the credit score value and ticket information corresponding to each account in the account set are stored in the blockchain according to the association relationship; when any account initiates a ticket verification request, in response to the ticket verification request, the information to be verified stored in the terminal of any account is obtained, and the information to be verified stored in the blockchain of any account is obtained; when the information to be verified stored in the terminal is consistent with the information to be verified stored in the blockchain, it is determined that the ticket verification for any account is passed.
[0083] The ticket purchase service may include ticket purchase, ticket transfer, ticket refund, ticket verification, etc. The information to be verified includes the credit score value and ticket information.
[0084] For example, through blockchain technology, the information of each ticket and the user's credit score are encrypted and stored in a distributed database to form an unalterable ticket chain. Each ticket has a unique identifier that corresponds to the user's identity information and credit score; when the user needs to use the ticket, the ticketing platform will verify whether the user's identity information and credit score are consistent with the information on the ticket chain by scanning the user's QR code or other means. If they are consistent, it means that the user is a legitimate ticket holder and can use the ticket normally.
[0085] In this embodiment, first, when each account in the account set completes the ticket purchase service, the credit score value and ticket information corresponding to each account in the account set are stored in the blockchain according to the association relationship. Then, when any account initiates a ticket verification request, in response to the ticket verification request, the information to be verified stored in the terminal of any account is obtained, and the information to be verified stored in the blockchain of any account is obtained. Finally, when the information to be verified stored in the terminal is consistent with the information to be verified stored in the blockchain, it is determined that the ticket verification for any account has passed. The information of each ticket and the credit score information of the user are stored by blockchain technology, which ensures the effectiveness and stability of the data storage and verification process.
[0086] In one embodiment, the method further includes: when any account initiates a ticket refund request, obtaining a credit score value of any account stored in the blockchain; when the credit score value is less than a preset refund threshold, determining that any account is an account that is not eligible for refund, and generating a rejection instruction for the ticket refund request.
[0087] The ticket transfer and cancellation request includes a request for ticket transfer and cancellation services.
[0088] For example, when a user needs to transfer or refund a ticket, the ticketing platform will determine whether the user is eligible for transfer or refund based on the user's credit score and information on the ticket chain. If the user is not eligible, the ticketing platform will reject the user's request and impose a certain penalty. The penalty can be deducting points, marking the user as a risky user, or prohibiting transfer or refund.
[0089] In this embodiment, first, when any account initiates a ticket refund request, the credit score value of any account stored in the blockchain is obtained, and then, when the credit score value is less than a preset refund threshold, any account is determined to be an account that is not eligible for refund, and a rejection instruction for the ticket refund request is generated; blockchain technology is used to identify the qualifications of accounts that need to be transferred or refunded, and accounts that do not meet the qualifications are rejected, thereby ensuring security in the ticket refund process.
[0090] In one embodiment, the method further includes: when the credit score value is greater than or equal to a preset transfer-back threshold, determining any account as an account eligible for transfer-back, generating a business processing instruction for the ticket transfer-back request; processing the transfer service according to the business processing instruction, and storing the processing record for the transfer service in the blockchain.
[0091] Exemplarily, if the user is eligible, the ticketing platform records the transfer or refund operation on the ticket chain and updates the ticket identifier and credit score to the new ticket purchaser.
[0092] In this embodiment, first, when the credit score value is greater than or equal to the preset transfer-back threshold, any account is determined to be an account eligible for transfer-back, and a business processing instruction for the ticket transfer-back request is generated. Then, the transfer service is processed according to the business processing instruction, and the processing record for the transfer service is stored in the blockchain. Blockchain technology is used to identify the qualifications of accounts that need to be transferred or refunded, provide services to qualified accounts, and record the service process, thereby ensuring the completeness of the data of the ticket transfer-back process.
[0093] In one embodiment, the method also includes: obtaining the original network transmission data of the terminal collected when the account uses the terminal to handle ticketing services; preprocessing the original network transmission data to remove invalid data and noise data to obtain preprocessed data; calculating the indicator data corresponding to each indicator of the preprocessed data; the indicator data includes the average value, standard deviation, maximum value and minimum value; grouping the indicator data according to each indicator to obtain network transmission data.
[0094] The network transmission raw data includes network request data and time data.
[0095] Exemplarily, the data of the user's mobile network is collected, including network request information, time information, etc. The data is preprocessed to remove invalid data and noise data, and the average, standard deviation, maximum, minimum and other indicators of each network data are calculated. Anomaly detection is performed on the data indicators of each group, and a different threshold is determined at different times, and the data exceeding the threshold is marked as abnormal data. According to the difference, maximum and minimum values of the grouped data, it is judged whether the user is a normal ticket purchaser or an abnormal ticket purchaser, and the corresponding credit score is assigned.
[0096] In this embodiment, the original network transmission data of the terminal collected when the account uses the terminal to handle ticketing services is first obtained, and then the original network transmission data is preprocessed to remove invalid data and noise data to obtain preprocessed data, and then the indicator data corresponding to the preprocessed data on various indicators is calculated; the indicator data includes the average value, standard deviation, maximum value and minimum value, and finally the indicator data is grouped according to various indicators to obtain network transmission data; by denoising and dividing the indicators of the original network transmission data, available network transmission data is obtained, thereby ensuring the accuracy of the model training process.
[0097] In another embodiment, Figure 3 As shown, a method for identifying abnormal accounts in a ticketing service is provided, comprising the following steps:
[0098] S301 , dividing the target data set according to the type of the real-time feature data in the target data set to obtain a divided first data set and a second data set.
[0099] S302: Train the initial anomaly recognition model according to the first data set to obtain a trained first model.
[0100] S303: Train the initial anomaly recognition model according to the second data set to obtain a trained second model.
[0101] S304: Output a first rating value corresponding to any account according to the first model.
[0102] S305: Output a second rating value corresponding to any account according to the second model.
[0103] S306: When any account is determined to be an abnormal account, determine the abnormal type of any account according to the first score value and the second score value.
[0104] S307: Determine a penalty measure for each account according to the abnormal type to which the account belongs.
[0105] It should be noted that the specific limitations of the above steps can be found in the specific limitations of the method for identifying abnormal accounts in a ticketing service mentioned above, which will not be repeated here.
[0106] In one embodiment, the risk control system, based on the use of artificial intelligence and big data technology, collects user behavior data on the ticket purchase system, and builds a normal user ticket purchase behavior evaluation model based on the unlabeled user daily ticket purchase log data. It determines whether the user behavior is abnormal based on the degree of deviation between the user behavior data and the evaluation model, and thus determines whether the user is an abnormal ticket purchase user, and then restricts and bans the abnormal ticket purchase user to achieve the effect of risk control. Among them, abnormal ticket purchase users refer to those who obtain price difference profits by reselling or transferring the reserved tickets or other commodities. Usually, in order to obtain a large amount of profit from it, the prices of tickets or other commodities sold by abnormal ticket purchase users are often much higher than the normal prices. In order to book popular tickets or other commodities, they will frequently visit or use the sales system. Their behavior will cause losses to the rights and interests of individuals and the interests of institutions.
[0107] However, the technical solution of the above embodiment, based on the user's behavior data, uses artificial intelligence and big data technology to determine whether the user is an abnormal ticket purchasing user, and then performs risk control on the abnormal ticket purchasing users. The judgment factor is single, and it is not easy to distinguish normal users from abnormal ticket purchasing users, which makes it easy to risk control normal users.
[0108] Based on this, the embodiment of the present application provides a method for identifying abnormal accounts in a ticketing service. To facilitate the understanding of those skilled in the art, the method for identifying abnormal accounts in a ticketing service is described in detail with a specific embodiment. It is worth understanding that the following description is only an exemplary description and not a specific limitation of the application.
[0109] The method for identifying abnormal accounts in the ticketing service provided by this application is also called a risk control system for preventing abnormal ticket purchasing users from snatching tickets, or a system that uses artificial intelligence and blockchain technology to detect the behavior of abnormal ticket purchasing users and prevent improper ticket transactions and transfers on the ticketing platform. It is suitable for various ticketing systems, used to discover accounts of different types of abnormal ticket purchasing users and make targeted penalties for risk control, thereby protecting the effective rights and interests of normal users.
[0110] The following is a detailed description of the method for identifying abnormal accounts in the ticketing service provided by this application.
[0111] The ticketing platform uses artificial intelligence technology to analyze and evaluate basic information such as users' identity information, ticket purchase records, and payment methods as basic factors, and assigns a credit score to each user. The higher the credit score, the more likely the user is to be a normal ticket purchaser rather than an abnormal ticket purchaser.
[0112] In terms of model selection, an MLP (Multilayer Perceptro) model can be designed. The input layer contains basic information such as the user's identity information, ticket purchase records, and payment methods, and the output layer is the user's credit score. The middle hidden layer can contain multiple neurons to learn and extract complex features from the input data.
[0113] The process of training this MLP model includes the following steps: Data preparation: Collect a large amount of user identity information, ticket purchase records, payment methods and other data, and mark each user's credit score. Data preprocessing: Clean and normalize the data so that the neural network can learn better. Model construction: Design an MLP neural network model with input layer, hidden layer and output layer. Loss function selection: Select an appropriate loss function, such as Mean Squared Error. Optimization algorithm selection: Select a suitable optimization algorithm, such as Stochastic Gradient Descent. Model training: Input the prepared data into the model, and continuously adjust the model parameters through the back propagation algorithm until the model converges.
[0114] In the process of training the model, it is necessary to add special factors that affect the credit score in the data set: Special factor 1: Determine whether the abnormal ticket purchaser is grabbing the ticket based on the vibration of the mobile phone, using the innovative method of mobile phone sensors and machine learning technology. The principle of this method is that when the user grabs the ticket on the mobile phone, specific gestures and actions will be generated, which will cause the sensors such as the accelerometer, gyroscope and magnetometer of the mobile phone to generate different signals. By analyzing and identifying these signals, it can be determined whether the user is a normal ticket purchaser or an abnormal ticket purchaser, and the corresponding credit score can be assigned. Special factor 2: Collect data from the user's mobile phone network, including network request information, time information, etc. Preprocess the data, remove invalid data and noise data, and calculate the average, standard deviation, maximum, minimum and other indicators of each network data. Perform abnormal detection on the data indicators of each group, determine a different threshold at different times, and mark the data exceeding the threshold as abnormal data. Determine whether the user is a normal ticket purchaser or an abnormal ticket purchaser based on the difference, maximum and minimum values of the grouped data, and assign the corresponding credit score.
[0115] In the process of data storage and verification, blockchain technology is used to encrypt and store the information of each ticket and the user's credit score in a distributed database, forming an unalterable ticket chain. Each ticket has a unique identifier that corresponds to the user's identity information and credit score.
[0116] In the application stage, when a user needs to transfer or refund a ticket, the ticketing platform will determine whether the user is eligible for transfer or refund based on the user's credit score and the information on the ticket chain. If the user is eligible, the ticketing platform will record the transfer or refund operation on the ticket chain and update the ticket identifier and credit score to the new ticket purchaser. If the user is not eligible, the ticketing platform will reject the user's request and impose a certain penalty. The penalty can be deducting points, marking the user as a risky user, prohibiting transfer or refund.
[0117] In the application stage, when a user needs to use a ticket, the ticketing platform will verify whether the user's identity information and credit score are consistent with the information on the ticket chain by scanning the user's QR code or other means. If they are consistent, it means that the user is a legal ticket holder and can use the ticket normally. If they are inconsistent, it means that the user is an illegal ticket holder, who may be an abnormal ticket purchaser or a ticket purchaser who has been defrauded by an abnormal ticket purchaser. The user cannot use the ticket and will be punished. The punishment may be deducting points, marking the user as a risky user, or prohibiting ticket verification.
[0118] In the application stage, we can use the credit scores of the two dimensions of basic factors (making money and destruction) and special factors (technology and manpower) to train the model separately and obtain scores separately, using the user data that is closely related to the factors as a data set. For example, the basic factors (making money and destruction) pay more attention to the richness of the user's ticket purchases, while the special factors (technology and manpower) focus more on the frequency of the user's orders per unit time.
[0119] The two types of credit scores will be used as judgment factors to classify the accounts of abnormal ticket purchasers into the following four types, and different degrees of punishment will be imposed on different types of abnormal ticket purchasers: Type 1: Money-making technical abnormal ticket purchasers. The accounts of this type of abnormal ticket purchasers use technical means to snap up or resell popular or scarce goods or services on the platform, such as concert tickets, train tickets, and coupons. They usually involve a large number of accounts or orders, causing great harm to the platform. Type 2: Money-making human abnormal ticket purchasers. The accounts of this type of abnormal ticket purchasers use human resources to snap up or resell popular or scarce goods or services on the platform, such as mobile phones, computers, game consoles, etc. They usually involve a small number of accounts or orders, causing less harm to the platform. Type 3: Destructive technical abnormal ticket purchasers. The accounts of this type of abnormal ticket purchasers use technical means to maliciously register or place orders for goods or services on the platform, such as brushing orders, brushing reviews, and brushing traffic. They usually operate to disrupt the order of the platform or to suppress competitors, causing great harm to the platform. Type 4: Destructive human abnormal ticket purchasers. This type of abnormal ticket purchase user account uses human resources to maliciously register or order goods or services on the platform, such as fake orders, fake reviews, fake traffic, etc. They usually operate to disrupt the order of the platform or to suppress competitors, causing less harm to the platform.
[0120] The four types of abnormal ticket purchasers are punished accordingly, with their accounts permanently blocked and all funds and points confiscated, and their use of related devices and networks to access the platform permanently banned, and blacklisted. At the same time, the first and third types (technical) abnormal ticket purchasers who cause greater harm to the platform are permanently banned from using relevant identity information and payment information to register or trade on the platform, and reported to relevant departments. It should be noted that technical abnormal ticket purchasers are more destructive, as they can repeatedly initiate services at any time, with a long impact time, and need to be matched with more stringent punishment measures.
[0121] The method for identifying abnormal accounts in the ticketing service provided by this application determines abnormal ticket purchasing users by adding special factors and making judgments based on credit scores. It will be more effective and stable to store the information of each ticket and the credit score information of the user through blockchain technology. At the same time, the determination of different types of abnormal ticket purchasing users can be increased, and different penalties can be flexibly made. It can effectively protect the rights and interests of normal ticket buyers, combat the bad behavior of abnormal ticket purchasing users, improve the credibility and security of the ticketing platform, and achieve effective risk control.
[0122] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0123] Based on the same inventive concept, the embodiment of the present application also provides a device for identifying abnormal accounts in ticketing services for implementing the method for identifying abnormal accounts in ticketing services involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the device for identifying abnormal accounts in ticketing services provided below can refer to the limitations of the method for identifying abnormal accounts in ticketing services above, and will not be repeated here.
[0124] In one embodiment, Figure 4 As shown, a device for identifying abnormal accounts in a ticketing service is provided, comprising: a model acquisition module 401, a score value output module 402, and an identification module 403, wherein:
[0125] The model acquisition module 401 is used to acquire a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in the account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal;
[0126] The score output module 402 is used to input the account information of each account in the account set into the abnormality identification model to output the credit score corresponding to each account; the credit score is used to represent the probability of each account being an abnormal account;
[0127] The identification module 403 is used to respond to an identification request for any account in the account set, and determine that any account is an abnormal account when the credit score value of any account is less than a preset threshold.
[0128] In one embodiment, the device is used to: divide the target data set according to the type of real-time feature data in the target data set to obtain a first data set and a second data set after division; wherein the feature data in the first data set is data associated with the purpose of the account performing abnormal behavior, and the feature data in the second data set is data that can characterize the identity type of the terminal operator; train an initial anomaly recognition model according to the first data set to obtain a trained first model, and train the initial anomaly recognition model according to the second data set to obtain a trained second model.
[0129] In one embodiment, the device is used to: output a first scoring value corresponding to any account according to a first model, and output a second scoring value corresponding to any account according to a second model; when any account is determined to be an abnormal account, determine the abnormal type to which any account belongs according to the magnitude of the first scoring value and the second scoring value; and determine the punishment measures for each account according to the abnormal type to which any account belongs.
[0130] In one embodiment, the device is used to: when each account in the account set completes the ticket purchase service, store the credit score value and ticket information corresponding to each account in the account set in the blockchain according to the association relationship; when any account initiates a ticket verification request, respond to the ticket verification request, obtain the information to be verified stored in the terminal of any account, and obtain the information to be verified stored in the blockchain of any account; the information to be verified includes the credit score value and the ticket information; when the information to be verified stored in the terminal is consistent with the information to be verified stored in the blockchain, determine that the ticket verification for any account is passed.
[0131] In one embodiment, the device is used to: when any account initiates a ticket refund request, obtain the credit score value of any account stored in the blockchain; the ticket refund request includes a request for ticket transfer and cancellation service; when the credit score value is less than a preset refund threshold, determine that any account is not eligible for refund, and generate a rejection instruction for the ticket refund request.
[0132] In one embodiment, the device is used to: when the credit score value is greater than or equal to a preset transfer-back threshold, determine any account as an account eligible for transfer-back, generate a business processing instruction for the ticket transfer-back request; process the transfer service according to the business processing instruction, and store the processing record for the transfer service in the blockchain.
[0133] Each module in the above-mentioned device for identifying abnormal accounts in ticketing services can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0134] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. 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 data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for identifying abnormal accounts in a ticketing service is implemented.
[0135] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for identifying abnormal accounts in a ticketing service is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0136] Those skilled in the art will understand that the structures shown in FIGS. 5 and 6 are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than those shown in the figures, or combine certain components, or have a different arrangement of components.
[0137] In one embodiment, a computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the above method embodiments are implemented.
[0138] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0139] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0140] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0141] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0142] 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 the memory, database or other medium used in the embodiments provided in the present 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, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. 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). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processors involved in each embodiment provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., but are not limited thereto.
[0143] 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.
[0144] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications 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 present application shall be subject to the attached claims.
Claims
1. A method for identifying abnormal accounts in a ticketing service, characterized in that: The method comprises: Obtain a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in an account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal; Inputting the account information of each account in the account set into the anomaly identification model to output a credit score value corresponding to each account; the credit score value is used to represent the probability of each account being an abnormal account; In response to an identification request for any account in the account set, if the credit score value of any account is less than a preset threshold, the any account is determined to be an abnormal account.
2. The method according to claim 1, characterized in that The target data set includes a first data set and a second data set, and the method further includes: According to the type of the real-time feature data in the target data set, the target data set is divided to obtain a first data set and a second data set after division; wherein the feature data in the first data set is data associated with the purpose of the abnormal behavior of the account, and the feature data in the second data set is data that can characterize the identity type of the terminal operator; The initial anomaly recognition model is trained according to the first data set to obtain a trained first model, and the initial anomaly recognition model is trained according to the second data set to obtain a trained second model.
3. The method according to claim 2, characterized in that The method further comprises: Outputting a first scoring value corresponding to any one of the accounts according to the first model, and outputting a second scoring value corresponding to any one of the accounts according to the second model; In the case where it is determined that any of the accounts is an abnormal account, determining the abnormal type to which the any of the accounts belongs according to the magnitude of the first score value and the second score value; Determine a penalty measure for each of the accounts according to the abnormal type to which the accounts belong.
4. The method according to claim 1, characterized in that: The method further comprises: When each account in the account set completes the ticket purchase service, the credit score value and ticket information corresponding to each account in the account set are stored in the blockchain according to the association relationship; In the case where any of the accounts initiates a ticket verification request, in response to the ticket verification request, obtaining the information to be verified stored by any of the accounts in the terminal, and obtaining the information to be verified stored by any of the accounts in the blockchain; the information to be verified includes the credit score value and the ticket information; When the information to be verified stored in the terminal is consistent with the information to be verified stored in the blockchain, it is determined that the ticket verification for any one of the accounts is passed.
5. The method according to claim 4, characterized in that The method further comprises: In the case where any of the accounts initiates a ticket refund request, obtaining the credit score value stored in the blockchain by any of the accounts; the ticket refund request includes a request for ticket transfer and cancellation service; In the case where the credit score value is less than a preset refund threshold, it is determined that any of the accounts is an account that is not eligible for refund, and a rejection instruction for the ticket refund request is generated.
6. The method according to claim 5, characterized in that The method further comprises: In the case where the credit score value is greater than or equal to the preset refund threshold, determining that any one of the accounts is an account eligible for refund, and generating a business processing instruction for the ticket refund request; The return service is processed according to the business processing instruction, and the processing record of the return service is stored in the blockchain.
7. The method according to claim 1, characterized in that The method further comprises: Acquire the original network transmission data of the terminal collected when the account uses the terminal to handle ticketing services; the original network transmission data includes network request data and time data; Preprocessing the raw data transmitted by the network to remove invalid data and noise data to obtain preprocessed data; Calculate and obtain the index data corresponding to the preprocessed data on various indicators; the index data includes the average value, standard deviation, maximum value and minimum value; The indicator data is grouped according to the indicators to obtain the network transmission data.
8. A device for identifying abnormal accounts in ticketing services, characterized in that: The device comprises: A model acquisition module is used to acquire a pre-trained anomaly recognition model; the anomaly recognition model is trained according to a target data set, the target data set includes real-time feature data representing the features of each account in an account set, the real-time feature data is data generated by the terminal in real time when the account uses the terminal to handle ticketing services, and the real-time feature data includes sensor data generated by a motion sensor of the terminal and network transmission data of the terminal; A score output module, used to input the account information of each account in the account set into the anomaly identification model to output a credit score corresponding to each account; the credit score is used to represent the probability that each account is an abnormal account; The identification module is used to respond to an identification request for any account in the account set and determine that the any account is an abnormal account when the credit score value of the any account is less than a preset threshold.
9. 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 method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Member ticket business management system and method thereof
CN119887212A
