CN107886007B - Abnormal ticket buying behavior processing method and device - Google Patents

Abnormal ticket buying behavior processing method and device Download PDF

Info

Publication number
CN107886007B
CN107886007B CN201711229560.4A CN201711229560A CN107886007B CN 107886007 B CN107886007 B CN 107886007B CN 201711229560 A CN201711229560 A CN 201711229560A CN 107886007 B CN107886007 B CN 107886007B
Authority
CN
China
Prior art keywords
encrypted
information
user
ticket
encryption rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711229560.4A
Other languages
Chinese (zh)
Other versions
CN107886007A (en
Inventor
徐佳宏
翟林君
陈恋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201711229560.4A priority Critical patent/CN107886007B/en
Publication of CN107886007A publication Critical patent/CN107886007A/en
Application granted granted Critical
Publication of CN107886007B publication Critical patent/CN107886007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/554Detecting local intrusion or implementing counter-measures involving event detection and direct action
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides an abnormal ticket buying behavior processing method, which is applied to a ticket buying system, wherein the ticket buying system distributes a password corresponding to a set encryption rule for a legal user; the method comprises the following steps: when the ticket purchasing behavior of the user is identified to be abnormal, encrypting the sold ticket information according to a set first encryption rule to obtain encrypted ticket information, and encrypting the set first encryption rule according to a set second encryption rule to obtain encrypted encryption rule information; informing the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively; acquiring a decryption result of a user, and judging whether the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user; if the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information, outputting the ticket information to enable the user to purchase the ticket. The technical scheme can effectively prevent lawless persons from purchasing tickets abnormally.

Description

Abnormal ticket buying behavior processing method and device
Technical Field
The invention relates to the technical field of ticket purchasing system safety protection, in particular to a method and a device for processing abnormal ticket purchasing behaviors.
Background
The ticketing system is a self-service ticketing system which is arranged for facilitating ticket purchasing of a user. The user can buy tickets, including movie tickets, tickets and the like, in the ticketing system by self.
The ticket system is convenient for the user to purchase the ticket, and the openness of the ticket system brings a possibility for abnormal ticket purchasing behaviors such as malicious ticket purchasing of lawbreakers and the like. Abnormal ticketing behavior generally refers to the act of taking tickets for sale by breaking the rules of conventional ticketing. Such as illegal user ticket buying, mass or repeated ticket buying by accessing the self-service ticket buying system through a third-party channel, etc. The abnormal ticket buying of the lawbreaker can influence other users to buy tickets normally, and meanwhile, if the lawbreaker purchases tickets maliciously and then sells the tickets at a high price, bad social influence can be brought.
Disclosure of Invention
Based on the defects and shortcomings of the prior art, the invention provides a method and a device for processing abnormal ticket buying behaviors, which can timely perform corresponding processing when the abnormal ticket buying behaviors of a user are identified, so that the abnormal ticket buying behaviors are prevented from being haphazardly generated.
In order to achieve the purpose, the invention provides the following technical scheme:
an abnormal ticket buying behavior processing method is applied to a ticket buying system, and the ticket buying system distributes a password corresponding to a set encryption rule for a legal user; the method comprises the following steps:
when the ticket purchasing behavior of the user is identified to be abnormal, encrypting the sold ticket information according to a set first encryption rule to obtain encrypted ticket information, and encrypting the set first encryption rule according to a set second encryption rule to obtain encrypted encryption rule information;
informing the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively;
acquiring a decryption result of the user, and judging whether the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user;
and if the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information, outputting the ticket information to enable the user to purchase the ticket.
Preferably, the notifying the user of the decryption of the encrypted ticket information and the encrypted encryption rule information respectively includes:
and outputting the encrypted ticket information and the encrypted encryption rule information to enable the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively.
Preferably, the obtaining a decryption result of the user and determining whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user includes:
acquiring decryption ticket information and decrypted encryption rule information input by a user;
comparing the decrypted ticket information with the ticket information, and comparing the decrypted encryption rule information with the set first encryption rule;
and if the decrypted ticket information is the same as the ticket information and the decrypted encryption rule information is the same as the set first encryption rule, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
Preferably, the notifying the user of the decryption of the encrypted ticket information and the encrypted encryption rule information respectively includes:
and outputting a key input dialog box to enable a user to input a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information.
Preferably, the obtaining a decryption result of the user and determining whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user includes:
acquiring a first key input by the user and used for decrypting the encrypted ticket information and a second key used for decrypting the encrypted encryption rule information;
verifying whether the first key can successfully decrypt the encrypted ticket information and verifying whether the second key can successfully decrypt the encrypted encryption rule information;
and if the first key can successfully decrypt the encrypted ticket information and the second key can successfully decrypt the encrypted encryption rule information, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
An abnormal ticket buying behavior processing device is applied to a ticket buying system, and the ticket buying system distributes a password corresponding to a set encryption rule for a legal user; the device includes:
the ticket selling device comprises an encryption processing unit, a ticket selling unit and a ticket selling unit, wherein the encryption processing unit is used for encrypting the information of a sold ticket according to a set first encryption rule to obtain encrypted ticket information and encrypting the set first encryption rule according to a set second encryption rule to obtain encrypted encryption rule information when the ticket purchasing behavior of a user is identified to be abnormal;
a decryption notifying unit configured to notify the user to decrypt the encrypted ticket information and the encrypted encryption rule information, respectively;
the judging unit is used for acquiring a decryption result of the user and judging whether the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user;
and the output unit is used for outputting the information of the ticket to enable the user to purchase the ticket when the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
Preferably, the decryption notification unit is configured to, when notifying the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively, specifically:
and outputting the encrypted ticket information and the encrypted encryption rule information to enable the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively.
Preferably, the determining unit obtains a decryption result of the user, and determines whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user, and is specifically configured to:
acquiring decryption ticket information and decrypted encryption rule information input by a user;
comparing the decrypted ticket information with the ticket information, and comparing the decrypted encryption rule information with the set first encryption rule;
and if the decrypted ticket information is the same as the ticket information and the decrypted encryption rule information is the same as the set first encryption rule, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
Preferably, the decryption notification unit is configured to, when notifying the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively, specifically:
and outputting a key input dialog box to enable a user to input a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information.
Preferably, the determining unit obtains a decryption result of the user, and determines whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user, and is specifically configured to:
acquiring a first key input by the user and used for decrypting the encrypted ticket information and a second key used for decrypting the encrypted encryption rule information;
verifying whether the first key can successfully decrypt the encrypted ticket information and verifying whether the second key can successfully decrypt the encrypted encryption rule information;
and if the first key can successfully decrypt the encrypted ticket information and the second key can successfully decrypt the encrypted encryption rule information, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
According to the technical scheme provided by the invention, when the ticket purchasing behavior of the user is identified to be abnormal, the information of the sold ticket is encrypted according to a set first encryption rule to obtain encrypted ticket information, and the set first encryption rule is encrypted according to a set second encryption rule to obtain encrypted encryption rule information; then informing the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively; and if the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information, outputting the ticket information to enable the user to purchase the ticket. According to the technical scheme, the identity of the ticket purchasing user is verified through an encryption means, when the user can successfully decrypt the encrypted information, the user is allowed to continuously purchase the ticket, otherwise, the user is prevented from purchasing the ticket, and therefore the lawbreakers can be prevented from purchasing the ticket abnormally.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for processing an abnormal ticket purchasing behavior according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another abnormal ticket purchasing behavior processing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another abnormal ticket purchasing behavior processing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an abnormal ticket purchasing behavior processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical scheme disclosed by the embodiment of the invention is suitable for an application scene for carrying out corresponding processing when the abnormal ticket purchasing behavior of the user is identified. By adopting the technical scheme of the embodiment of the invention, the identity of the user can be verified in time when the abnormal ticket purchasing behavior of the user is identified, and the ticket purchasing behavior of the user is ensured to be in accordance with the rule.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method for processing abnormal ticket buying behaviors, which comprises the following steps of:
when the ticket purchasing behavior of the user is identified to be abnormal, executing step S101, encrypting the information of the sold ticket according to a set first encryption rule to obtain encrypted ticket information, and encrypting the set first encryption rule according to a set second encryption rule to obtain encrypted encryption rule information;
specifically, the technical scheme of the embodiment of the invention is applied to a ticket purchasing system, in particular to a self-service ticket purchasing system. The self-service ticket buying system needs to be registered by a user, and the system acquires and records the relevant information of the user. When the user registration is completed, the ticket buying system allocates a password corresponding to the set encryption rule for the legal user, namely, informs the user of a password which may be used in the ticket buying process, and the password is used for decrypting the information encrypted by the system according to the set encryption rule so as to realize smooth ticket buying.
The embodiment of the invention sets that a user ticket purchasing behavior monitoring program is arranged in a self-service ticket purchasing system, including a network ticket purchasing system, a self-service terminal ticket purchasing system and other systems which allow a user to purchase tickets independently, and the program monitors the user ticket purchasing behaviors in real time, including a user operation process, user information, a user access channel, the number of purchased tickets and the like. When the abnormal ticket purchasing behavior of the user is monitored, for example, the condition that the ticket is purchased for multiple times in the same user account or the user purchases the ticket through a third-party channel, a non-registered account and the like is detected, the processing program provided by the embodiment of the invention is executed.
The purpose of the processing program is to encrypt the ticket information purchased by the user when the ticket purchasing behavior of the user is identified to be abnormal, decrypt the ticket information by the user, present the ticket information to the user only if the user successfully decrypts the ticket information, enable the user to continuously purchase the ticket, or not present the ticket information, and prevent the user from purchasing the ticket. By adopting the scheme, the ticket buying of the user who does not register or does not receive the password information sent by the self-service ticket buying system can be prevented, so that the influence of normal ticket buying of the user caused by the fact that the user does not send abnormal ticket buying is avoided.
The embodiment of the invention adopts a double encryption algorithm, on one hand, the information of the ticket purchased by the abnormal ticket purchasing behavior of the user is encrypted by utilizing the set first encryption rule; on the other hand, the first encryption rule is encrypted by using a set second encryption rule.
The encryption algorithms in the prior art are various, including a symmetric key algorithm and an asymmetric key algorithm. The algorithm of the symmetric key algorithm is public, the security of which depends on the length of the packet and the length of the key, and for some common attack methods: an exhaustive key search method, a dictionary attack method, a table lookup attack, differential cryptanalysis, linear cryptanalysis and the like can be easily cracked. However, for an asymmetric key algorithm, the higher the security of the asymmetric key algorithm, as long as the function is sufficiently difficult to solve, due to the difficulty with which he relies on the corresponding one-way function. Such as: the elliptic curve cryptographic algorithm is exponential in difficulty and difficult to crack. The embodiment of the invention adopts an elliptic curve algorithm to encrypt the sold ticket information, namely the ticket information purchased by the abnormal ticket purchasing behavior of the user, so as to obtain the encrypted ticket information.
After the encryption of the ticket information is completed, the embodiment of the invention further encrypts the encryption rule of the ticket information, namely encrypts the encryption rule of the elliptic curve algorithm to obtain the encrypted encryption rule information.
The embodiment of the invention adopts an MD5 algorithm, namely an algorithm of version 5 of a message-digest algorithm, to encrypt the encryption rule.
It should be noted that, when the technical solution of the embodiment of the present invention is actually implemented, the specific forms of the first encryption rule and the second encryption rule may be flexibly set according to the security requirement.
S102, informing the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively;
specifically, after the encryption processing of the ticket information and the encryption rule is completed, the embodiment of the invention immediately informs the user to decrypt, including decrypting the encrypted ticket information and decrypting the encrypted encryption rule.
Informing the user of the specific decryption mode can be set arbitrarily, for example, outputting a dialog box to enable the user to input the encrypted ticket information and the encrypted decryption password of the encryption rule information, and decrypting the encrypted ticket information and the encrypted encryption rule information by the background program according to the password input by the user; or the output dialog box enables the user to input ticket information and encryption rule information obtained by the user through self decryption, and the background program compares the ticket information and the encryption rule information decrypted by the user with the original encrypted ticket information and the original encryption rule information to judge whether the user decrypts correctly.
S103, acquiring a decryption result of the user, and judging whether the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user;
and if the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information, executing step S104, and outputting the ticket information to enable the user to purchase the ticket.
Specifically, after the user completes decryption, decryption information of the user is obtained, and then whether the user succeeds in decryption is verified according to the decryption information.
According to the introduced manner, the encrypted ticket information input by the user and the decryption password of the encrypted encryption rule information can be obtained, the background program verifies whether the encrypted ticket information and the encrypted encryption rule information can be decrypted by using the password input by the user, and if both the encrypted ticket information and the encrypted encryption rule information can be decrypted, the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information. If any one of the encrypted ticket information or the encrypted encryption rule information fails to be decrypted by using the decryption password input by the user, the user is considered to fail in decryption.
Or acquiring the decryption information input by the user, and verifying whether the decrypted ticket information and the encryption rule information input by the user are the same as the original encrypted ticket information and the encryption rule information by the background program. And when the encrypted ticket information and the encrypted encryption rule information are the same, confirming that the decryption of the user on the encrypted ticket information and the encrypted encryption rule information is successful, otherwise, considering that the decryption of the user is failed.
If the user successfully decrypts, the information of the ticket purchased by the user is output, so that the user completes the subsequent ticket purchasing procedure. If the user fails to decrypt, the information of the ticket purchased by the user is not output, the user is prevented from purchasing the ticket, and the security of the ticket purchasing system is guaranteed.
According to the technical scheme provided by the embodiment of the invention, when the ticket purchasing behavior of the user is identified to be abnormal, the information of the sold ticket is encrypted according to the set first encryption rule to obtain the encrypted ticket information, and the set first encryption rule is encrypted according to the set second encryption rule to obtain the encrypted encryption rule information; then informing the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively; and if the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information, outputting the ticket information to enable the user to purchase the ticket. According to the technical scheme, the identity of the ticket purchasing user is verified through an encryption means, when the user can successfully decrypt the encrypted information, the user is allowed to continuously purchase the ticket, otherwise, the user is prevented from purchasing the ticket, and therefore the lawbreakers can be prevented from purchasing the ticket abnormally.
Optionally, in another embodiment of the present invention, a specific process of password negotiation between a background system and a user is disclosed, and in the above technical solution provided in the embodiment of the present invention, referring to fig. 2, the notifying the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively includes:
s202, outputting the encrypted ticket information and the encrypted encryption rule information, and enabling the user to respectively decrypt the encrypted ticket information and the encrypted encryption rule information.
Specifically, in the embodiment of the present invention, the encrypted ticket information and the encrypted encryption rule information are directly output, and the user performs decryption processing on the encrypted ticket information and the encrypted encryption rule information, respectively, to obtain the decrypted ticket information and the decrypted encryption rule information.
Correspondingly, the obtaining of the decryption result of the user and the judging, according to the decryption result of the user, whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information include:
s203, acquiring decryption ticket information and decrypted encryption rule information input by a user;
s204, comparing the decrypted ticket information with the ticket information, and comparing the decrypted encryption rule information with the set first encryption rule;
if the decrypted ticket information is the same as the ticket information and the decrypted encryption rule information is the same as the set first encryption rule, step S205 is executed to confirm that the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information.
Specifically, after acquiring decryption ticket information and decrypted encryption rule information input by a user, the embodiment of the present invention compares the decryption ticket information with information of an original encrypted ticket, and compares the decrypted encryption rule information with first encryption rule information used for encrypting the information of the original encrypted ticket. And if the decryption ticket information input by the user is the same as the information of the original encrypted ticket and the decrypted encryption rule information input by the user is the same as the first encryption rule information, the user is considered to successfully decrypt the encryption ticket information and the encrypted encryption rule information.
Steps S201 and S206 in this embodiment correspond to steps S101 and S104 in the method embodiment shown in fig. 1, respectively, and for details, please refer to the contents of the method embodiment shown in fig. 1, which is not described herein again.
Optionally, in another embodiment of the present invention, another specific process of password negotiation between a background system and a user is disclosed, and in the above technical solution provided in the embodiment of the present invention, referring to fig. 3, the notifying the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively includes:
s302, outputting a key input dialog box, so that the user inputs a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information.
Specifically, in the embodiment of the present invention, after the encryption processing of the ticket information and the encryption rule is completed, a dialog box is output, so that the user inputs a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information in the dialog box.
Correspondingly, the obtaining of the decryption result of the user and the judging, according to the decryption result of the user, whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information include:
s303, acquiring a first key which is input by the user and used for decrypting the encrypted ticket information, and a second key which is input by the user and used for decrypting the encrypted encryption rule information;
s304, verifying whether the first secret key can successfully decrypt the encrypted ticket information and verifying whether the second secret key can successfully decrypt the encrypted encryption rule information;
if the first key can successfully decrypt the encrypted ticket information and the second key can successfully decrypt the encrypted encryption rule information, step S305 is performed to confirm that the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information.
Specifically, after a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information, which are input by a user, are obtained, the embodiment of the present invention decrypts the encrypted ticket information by using the first key and decrypts the encrypted encryption rule information by using the second key. If the first key can successfully decrypt the encrypted ticket information and the second key can successfully decrypt the encrypted encryption rule information, the first key and the second key input by the user are both correct keys, and the user is confirmed to successfully decrypt the encrypted ticket information and the encrypted encryption rule information.
Steps S301 and S306 in this embodiment correspond to steps S101 and S104 in the method embodiment shown in fig. 1, respectively, and for details, please refer to the contents of the method embodiment shown in fig. 1, which is not described herein again.
The embodiment of the invention also discloses an abnormal ticket buying behavior processing device which is applied to a ticket buying system, wherein the ticket buying system distributes the password of the corresponding set encryption rule for the legal user; referring to fig. 4, the apparatus includes:
the ticket selling device comprises an encryption processing unit 100, a ticket selling unit and a ticket selling unit, wherein the encryption processing unit 100 is used for carrying out encryption processing on sold ticket information according to a set first encryption rule to obtain encrypted ticket information and carrying out encryption processing on the set first encryption rule according to a set second encryption rule to obtain encrypted encryption rule information when the ticket purchasing behavior of a user is identified to be abnormal;
a decryption notifying unit 110 configured to notify the user to decrypt the encrypted ticket information and the encrypted encryption rule information, respectively;
a determining unit 120, configured to obtain a decryption result of the user, and determine whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user;
an output unit 130, configured to output the ticket information when the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information, so that the user purchases a ticket.
Specifically, please refer to the contents of the above method embodiments for the specific working contents of each unit in this embodiment, which are not described herein again.
Optionally, in another embodiment of the present invention, when the decryption notification unit 110 notifies the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively, the decryption notification unit is specifically configured to:
and outputting the encrypted ticket information and the encrypted encryption rule information to enable the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively.
Specifically, please refer to the contents of the above method embodiments for the specific working contents of the decryption notification unit 110 in this embodiment, which are not described herein again.
Optionally, in another embodiment of the present invention, when the determining unit 120 obtains the decryption result of the user, and determines whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user, the determining unit is specifically configured to:
acquiring decryption ticket information and decrypted encryption rule information input by a user;
comparing the decrypted ticket information with the ticket information, and comparing the decrypted encryption rule information with the set first encryption rule;
and if the decrypted ticket information is the same as the ticket information and the decrypted encryption rule information is the same as the set first encryption rule, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
Specifically, please refer to the contents of the above method embodiments for the specific working contents of the determining unit 120 in this embodiment, which are not described herein again.
Optionally, in another embodiment of the present invention, when the decryption notification unit 110 notifies the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively, the decryption notification unit is specifically configured to:
and outputting a key input dialog box to enable a user to input a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information.
Specifically, please refer to the contents of the above method embodiments for the specific working contents of the decryption notification unit 110 in this embodiment, which are not described herein again.
Optionally, in another embodiment of the present invention, when the determining unit 120 obtains the decryption result of the user, and determines whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user, the determining unit is specifically configured to:
acquiring a first key input by the user and used for decrypting the encrypted ticket information and a second key used for decrypting the encrypted encryption rule information;
verifying whether the first key can successfully decrypt the encrypted ticket information and verifying whether the second key can successfully decrypt the encrypted encryption rule information;
and if the first key can successfully decrypt the encrypted ticket information and the second key can successfully decrypt the encrypted encryption rule information, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
Specifically, please refer to the contents of the above method embodiments for the specific working contents of the determining unit 120 in this embodiment, which are not described herein again.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An abnormal ticket buying behavior processing method is characterized in that the method is applied to a ticket buying system, and the ticket buying system distributes a password corresponding to a set encryption rule for a legal user; the method comprises the following steps:
when the ticket purchasing behavior of the user is identified to be abnormal, encrypting the sold ticket information according to a set first encryption rule to obtain encrypted ticket information, and encrypting the set first encryption rule according to a set second encryption rule to obtain encrypted encryption rule information;
informing the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively;
acquiring a decryption result of the user, and judging whether the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user;
if the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information, outputting the ticket information to enable the user to purchase the ticket, otherwise, not presenting the ticket information to prevent the user from purchasing the ticket.
2. The method according to claim 1, wherein the notifying the user of the decryption of the encrypted ticket information and the encrypted encryption rule information, respectively, comprises:
and outputting the encrypted ticket information and the encrypted encryption rule information to enable the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively.
3. The method according to claim 2, wherein the obtaining of the decryption result of the user and the determining, according to the decryption result of the user, whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information comprises:
acquiring decryption ticket information and decrypted encryption rule information input by a user;
comparing the decrypted ticket information with the ticket information, and comparing the decrypted encryption rule information with the set first encryption rule;
and if the decrypted ticket information is the same as the ticket information and the decrypted encryption rule information is the same as the set first encryption rule, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
4. The method according to claim 1, wherein the notifying the user of the decryption of the encrypted ticket information and the encrypted encryption rule information, respectively, comprises:
and outputting a key input dialog box to enable a user to input a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information.
5. The method according to claim 4, wherein the obtaining of the decryption result of the user and the determining, according to the decryption result of the user, whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information comprises:
acquiring a first key input by the user and used for decrypting the encrypted ticket information and a second key used for decrypting the encrypted encryption rule information;
verifying whether the first key can successfully decrypt the encrypted ticket information and verifying whether the second key can successfully decrypt the encrypted encryption rule information;
and if the first key can successfully decrypt the encrypted ticket information and the second key can successfully decrypt the encrypted encryption rule information, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
6. An abnormal ticket buying behavior processing device is characterized by being applied to a ticket buying system, wherein the ticket buying system distributes a password corresponding to a set encryption rule for a legal user; the device includes:
the ticket selling device comprises an encryption processing unit, a ticket selling unit and a ticket selling unit, wherein the encryption processing unit is used for encrypting the information of a sold ticket according to a set first encryption rule to obtain encrypted ticket information and encrypting the set first encryption rule according to a set second encryption rule to obtain encrypted encryption rule information when the ticket purchasing behavior of a user is identified to be abnormal;
a decryption notifying unit configured to notify the user to decrypt the encrypted ticket information and the encrypted encryption rule information, respectively;
the judging unit is used for acquiring a decryption result of the user and judging whether the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information according to the decryption result of the user;
and the output unit is used for outputting the ticket information when the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information, so that the user purchases the ticket, otherwise, the ticket information is not presented, and the user is prevented from purchasing the ticket.
7. The apparatus according to claim 6, wherein the decryption notification unit is configured to, when notifying the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively, specifically:
and outputting the encrypted ticket information and the encrypted encryption rule information to enable the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively.
8. The apparatus according to claim 7, wherein the determining unit is configured to, when obtaining the decryption result of the user and determining, according to the decryption result of the user, whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information, specifically:
acquiring decryption ticket information and decrypted encryption rule information input by a user;
comparing the decrypted ticket information with the ticket information, and comparing the decrypted encryption rule information with the set first encryption rule;
and if the decrypted ticket information is the same as the ticket information and the decrypted encryption rule information is the same as the set first encryption rule, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
9. The apparatus according to claim 6, wherein the decryption notification unit is configured to, when notifying the user to decrypt the encrypted ticket information and the encrypted encryption rule information respectively, specifically:
and outputting a key input dialog box to enable a user to input a first key for decrypting the encrypted ticket information and a second key for decrypting the encrypted encryption rule information.
10. The apparatus according to claim 9, wherein the determining unit is configured to, when obtaining the decryption result of the user and determining, according to the decryption result of the user, whether the user successfully decrypts both the encrypted ticket information and the encrypted encryption rule information, specifically:
acquiring a first key input by the user and used for decrypting the encrypted ticket information and a second key used for decrypting the encrypted encryption rule information;
verifying whether the first key can successfully decrypt the encrypted ticket information and verifying whether the second key can successfully decrypt the encrypted encryption rule information;
and if the first key can successfully decrypt the encrypted ticket information and the second key can successfully decrypt the encrypted encryption rule information, confirming that the user successfully decrypts the encrypted ticket information and the encrypted encryption rule information.
CN201711229560.4A 2017-11-29 2017-11-29 Abnormal ticket buying behavior processing method and device Active CN107886007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711229560.4A CN107886007B (en) 2017-11-29 2017-11-29 Abnormal ticket buying behavior processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711229560.4A CN107886007B (en) 2017-11-29 2017-11-29 Abnormal ticket buying behavior processing method and device

Publications (2)

Publication Number Publication Date
CN107886007A CN107886007A (en) 2018-04-06
CN107886007B true CN107886007B (en) 2021-06-11

Family

ID=61776089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711229560.4A Active CN107886007B (en) 2017-11-29 2017-11-29 Abnormal ticket buying behavior processing method and device

Country Status (1)

Country Link
CN (1) CN107886007B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI699722B (en) * 2018-09-10 2020-07-21 大麥網路股份有限公司 Cross-platform online ticketing system and implementation method thereof
CN109165637B (en) * 2018-10-08 2020-10-20 武汉爱迪科技股份有限公司 Identity recognition method and system based on dynamic video analysis
CN115713334B (en) * 2022-11-28 2023-06-16 武汉利楚商务服务有限公司 Transaction data monitoring method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201134119Y (en) * 2007-08-14 2008-10-15 郭人和 Automatic ticket vendor for railway ticket of real name system
CN102034177A (en) * 2009-09-29 2011-04-27 国际商业机器公司 Method and device for realizing effective mobile ticket transfer
CN103258351A (en) * 2012-02-15 2013-08-21 国民技术股份有限公司 Real-name system ticket purchasing method and real-name system ticketing system
CN106411881A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Method and device for buying ticket based on client
CN106453357A (en) * 2016-11-01 2017-02-22 北京红马传媒文化发展有限公司 Network ticket buying abnormal behavior recognition method and system and equipment
CN106780783A (en) * 2016-11-21 2017-05-31 河南辉煌城轨科技有限公司 A kind of urban track traffic one-way ticket Anti-lost method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030072852A (en) * 2002-03-07 2003-09-19 인터내셔널 비지네스 머신즈 코포레이션 system and method for purchasing and validating electronic tickets
US20070017979A1 (en) * 2005-07-25 2007-01-25 Chunghwa Telecom Co., Ltd. Mobile ticketing via information hiding
CN103310278B (en) * 2013-06-17 2017-03-01 广东华大互联网股份有限公司 Ticketing service application system based on the close algorithm of state, booking method and ticket management method
CN103929312A (en) * 2014-04-29 2014-07-16 深圳市中兴移动通信有限公司 Mobile terminal and method and system for protecting individual information of mobile terminal
CN105094532B (en) * 2015-06-30 2018-11-02 努比亚技术有限公司 Data access method and device
CN105512920A (en) * 2015-11-23 2016-04-20 北京奇虎科技有限公司 Processing method and server for network ticket booking system
CN105976201B (en) * 2016-04-28 2021-04-20 北京小米移动软件有限公司 Purchasing behavior monitoring method and device for e-commerce system
CN106131318A (en) * 2016-06-28 2016-11-16 努比亚技术有限公司 A kind of incoming information hidden method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201134119Y (en) * 2007-08-14 2008-10-15 郭人和 Automatic ticket vendor for railway ticket of real name system
CN102034177A (en) * 2009-09-29 2011-04-27 国际商业机器公司 Method and device for realizing effective mobile ticket transfer
CN103258351A (en) * 2012-02-15 2013-08-21 国民技术股份有限公司 Real-name system ticket purchasing method and real-name system ticketing system
CN106411881A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Method and device for buying ticket based on client
CN106453357A (en) * 2016-11-01 2017-02-22 北京红马传媒文化发展有限公司 Network ticket buying abnormal behavior recognition method and system and equipment
CN106780783A (en) * 2016-11-21 2017-05-31 河南辉煌城轨科技有限公司 A kind of urban track traffic one-way ticket Anti-lost method

Also Published As

Publication number Publication date
CN107886007A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN109858262B (en) Process approval method, device and system based on block chain system and storage medium
US10154018B2 (en) Method and system for facilitating network joining
EP3324572B1 (en) Information transmission method and mobile device
CN107294937B (en) Data transmission method based on network communication, client and server
CN110798315B (en) Data processing method and device based on block chain and terminal
CN107886007B (en) Abnormal ticket buying behavior processing method and device
CN109194473B (en) Data transmission method, system, device, terminal and storage medium
CN111178884A (en) Information processing method, device, equipment and readable storage medium
CN112861148B (en) Data processing method, server, client and encryption machine
CN111130799B (en) Method and system for HTTPS protocol transmission based on TEE
CN103237010B (en) The server end of digital content is cryptographically provided
CN106027251A (en) Identity card reading terminal and cloud authentication platform data transmission method and system
CN113114668A (en) Information transmission method, mobile terminal, storage medium and electronic equipment
CN104243452B (en) A kind of cloud computing access control method and system
CN103237011B (en) Digital content encryption transmission method and server end
CN114499837A (en) Method, device, system and equipment for preventing leakage of message
CN110796448A (en) Intelligent contract verification method based on block chain, participating node and medium
CN109246148A (en) Message processing method, device, system, equipment and computer readable storage medium
CN106027254A (en) Secret key use method for identity card reading terminal in identity card authentication system
US20230401292A1 (en) Security of surveillance media
CN111934862B (en) Server access method and device, readable medium and electronic equipment
CN109525747B (en) Picture uploading method, encryption and decryption method, device and system and electronic equipment
CN110708155A (en) Copyright information protection method, copyright information protection system, copyright confirming method, copyright confirming device, copyright confirming equipment and copyright confirming medium
CN106027474A (en) Identity card reading terminal in identity card authentication system
CN113132109B (en) Electronic deposit certificate management method and device based on block chain and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant