A method, system, device and storage medium for preventing automatic ticket grabbing

By applying SVG-based obfuscation commands and character inference verification technology in the ticket purchase system, the high-frequency operation problem of automatic ticket grabbing software is solved, and effective user behavior verification and security of the ticket purchase system are achieved.

CN113987424BActive Publication Date: 2025-05-06INST OF COMPUTING TECH CHINA ACAD OF RAILWAY SCI +2

Patent Information

Application Number
CN202111295419.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-03
Publication Date
2025-05-06
Estimated Expiration
2041-11-03

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively prevent the high-frequency operation of automatic ticket grabbing software, especially in the ticket purchase application process, which cannot be recognized for the simulation login of automated artificial intelligence and the automatic extraction of text information of the remaining ticket information interface.

Method used

The ticket purchase application method is designed based on scalable vector image technology (SVG), and combined with the behavior verification method based on character inference, the remaining ticket information interface is displayed through the randomly sorted obfuscated SVG command, and the user is required to construct the ticket purchase application command through mouse position coordinates and verification graphic operations.

Benefits of technology

It significantly improves the difficulty of automated ticket grabbing, prevents direct generation of ticket purchase requests containing ticket information, ensures the effectiveness of user behavior verification, and thus protects the normal operation of the ticket purchase system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113987424B_ABST
    Figure CN113987424B_ABST
Patent Text Reader

Abstract

The present application discloses a method, system, device and storage medium for preventing automatic ticket grabbing, the method comprising: a ticket purchase request verification step: based on the user's remaining ticket query information, the remaining ticket information query interface is randomly obfuscated through SVG drawing commands and then displayed as an SVG graphic on the front end of the ticket purchase system, the user queries the location coordinates of the corresponding ticket information on the remaining ticket information interface to construct a ticket purchase application command, and the background of the ticket purchase system determines the validity of the location coordinates; a behavior verification step: if the location coordinates are valid, the background sends the verification graphic based on the character reasoning in the obfuscated SVG format to the front end, the user completes the verification based on the verification graphic operation, and if the user behavior verification passes, the background provides the user with subsequent ticket purchase services based on the ticket purchase application command. The method of the present invention designs a ticket purchase application method based on obfuscated SVG commands and a behavior verification method based on character reasoning through scalable vector image technology to improve the difficulty of automated ticket grabbing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of user behavior verification, and in particular to a method, system, computer device and computer-readable storage medium for preventing automatic ticket grabbing. Background Art

[0002] At present, the process of buying tickets on a ticketing website is generally that the user logs in first, and after the user successfully logs in, the inventory list of the required tickets is checked. If there is a ticket type that the user needs, the user clicks the purchase button to start the ticket purchase application.

[0003] If the demand for the tickets sold by the ticketing website is very high, middlemen or organizations will use automatic ticket grabbing software running on high-performance servers to grab tickets, making it difficult for ordinary people to buy tickets normally, thereby disrupting the ticket sales order and creating a lot of processing pressure on the ticketing website.

[0004] In order to prevent the use of high-performance servers for high-frequency automatic ticket grabbing, the existing technology mainly determines whether the login operation is a normal user or an automatic ticket grabbing software by performing behavior verification (including verification code recognition verification, sliding puzzle verification, icon text selection, reasoning behavior verification, etc.) during the user login process. If the verification fails, it is judged as a login by an automatic ticket grabbing software and the service is denied.

[0005] During the ticket application phase, the system generates a request command containing the ticket information in the prescribed format based on the ticket information selected by the user and sends it to the backend for ticket purchase.

[0006] Therefore, for the above-mentioned ticket purchasing process, the working principle of the automated ticket grabbing software is: 1) Use artificial intelligence recognition technology to perform graphic or text recognition and simulate login operations; 2) If the login is successful, simulate the arrival station information to query the remaining ticket information; 3) Since the interface for displaying the remaining ticket information is in HTML format, the text information of the required ticket can be extracted from the HTML file, and a request command containing the ticket information is generated in the specified format and sent to the background for automated ticket grabbing.

[0007] In view of the working principle of the above automatic ticket grabbing software, the existing technology has the following problems in preventing automatic ticket grabbing systems: 1) It is impossible to identify the simulated login of automated artificial intelligence; 2) The remaining ticket information interface is in HTML format, which is easy to be automatically extracted text information and automatically send ticket purchase requests; 3) There is a lack of effective methods for user behavior verification in the user verification link, etc. Therefore, it is very necessary to develop a method to prevent automatic ticket grabbing in the ticket purchase application link.

[0008] To solve the above problems, the present invention provides a set of combined technologies for ticket purchase application requests, which uses scalable vector graphics technology SVG (Scalable Vector Graph) to design a ticket purchase application method based on obfuscating SVG commands and a behavior verification method based on character reasoning to increase the difficulty of automated ticket grabbing. Summary of the invention

[0009] The embodiment of the present application provides a method for improving the difficulty of automated ticket grabbing by applying scalable vector graph technology to design a ticket application method based on obfuscated SVG commands and a behavior verification method based on character reasoning for ticket purchase application requests.

[0010] In a first aspect, an embodiment of the present application provides a method for preventing automatic ticket grabbing, comprising:

[0011] Ticket purchase request verification step: Based on the user's remaining ticket query information, the remaining ticket information query interface is randomly obfuscated through SVG drawing commands and displayed as SVG graphics on the front end of the ticket purchase system. The user queries the location coordinates of the corresponding ticket information on the remaining ticket information interface to construct a ticket purchase application command, and the background of the ticket purchase system determines the validity of the location coordinates;

[0012] Behavior verification steps: If the location coordinates are valid, the background will send the character reasoning verification graphic based on the obfuscated SVG format to the front end, and the user completes the verification based on the verification graphic operation. If the user behavior verification passes, the background will provide the user with subsequent ticket purchase services based on the ticket application command.

[0013] In some embodiments of the present invention, the above-mentioned verification graphic is a verification graphic based on character reasoning, including multiple random texts or random symbols, and the verification graphic is randomly sorted and confused based on SVG commands and then split into multiple parts. The verification graphic operations include: dragging, sliding, clicking or clicking the verification graphic.

[0014] In some embodiments of the present invention, the above-mentioned ticket purchase application step includes:

[0015] SVG command conversion step: Based on the queried remaining ticket information and the predetermined format requirements, the background randomly selects a character, converts the queried remaining ticket information text into SVG commands, and generates SVG commands for the table header and table borders;

[0016] Random obfuscation step: The background randomly sorts and obfuscates the SVG commands of characters and borders, and sends them to the front-end to display the remaining ticket information interface;

[0017] Coordinate sending and positioning steps: The front end sends the user's query location coordinates to the back end, and the back end calculates the ticket information corresponding to the user's location coordinates based on the row height and column width of the remaining ticket information interface.

[0018] In some embodiments of the present invention, the above-mentioned behavior verification step includes:

[0019] Obfuscated SVG format steps: Based on the character reasoning behavior verification method, the obfuscated SVG command format is used to display the character reasoning verification graphics, and the backend sends the generated SVG command to the frontend to display the verification graphics;

[0020] User operation verification step: the user operates to verify that a part of the characters in the graphic is in a suitable position and combines with other parts of the characters to form a correct character;

[0021] Front-end verification steps: The front-end sends the location coordinates of the user's operation to the back-end, and the back-end determines whether the location coordinates are within the predetermined range. If successful, the verification is successful and subsequent ticket purchase services are executed.

[0022] In some embodiments of the present invention, the above-mentioned step of obfuscating the SVG format includes:

[0023] Verify the graphic splitting step: the background randomly selects a character shape according to a predetermined character selection principle, determines to select a character group, divides each character of the character group into a first graphic and a second graphic, converts the first graphic into an SVG command and performs random sorting and confusion;

[0024] Character selection step: the background selects any specific character from the character group. The second graphic of the specific character and other characters in the first graphic of the character group cannot form a correct character. The second graphic of the specific character is converted into an SVG command and randomly sorted and confused.

[0025] Character verification steps: one part of the verification graphic is displayed as the first graphic of the character group, and the other part of the verification graphic is displayed as the second graphic of the specific character. The user operates the second graphic of the specific character. If the second graphic of the specific character is combined with the first graphic of the character group into a correct character, the user behavior verification is passed.

[0026] In a second aspect, an embodiment of the present application provides a system for preventing automatic ticket grabbing, which adopts the above method for preventing automatic ticket grabbing, including:

[0027] Ticket purchase request module: Based on the user's remaining ticket query information, the remaining ticket information query interface is randomly obfuscated through SVG drawing commands and displayed as SVG graphics on the front end of the ticket purchase system. The user queries the location coordinates of the corresponding ticket information on the remaining ticket information interface to construct a ticket purchase application command, and the background of the ticket purchase system determines the validity of the location coordinates;

[0028] Behavior verification module: If the location coordinates are valid, the background will send the character reasoning verification graphics based on the obfuscated SVG format to the front end, and the user completes the verification based on the verification graphics operation. If the user behavior verification passes, the background will provide the user with subsequent ticket purchase services based on the ticket application command.

[0029] In some embodiments of the present invention, the above-mentioned verification graphic is a verification graphic based on character reasoning, including multiple random texts or random symbols, and the verification graphic is randomly sorted and confused based on SVG commands and then split into multiple parts. The verification graphic operations include: dragging, sliding, clicking or clicking the verification graphic.

[0030] In some embodiments of the present invention, the ticket purchase application module includes:

[0031] SVG command conversion module: Based on the queried ticket information, the backend randomly selects a character according to the predetermined format requirements, converts the queried ticket information text into SVG commands, and generates SVG commands for the table header and table borders;

[0032] Random obfuscation module: The background randomly sorts and obfuscates the SVG commands of characters and borders, and sends them to the front-end to display the remaining ticket information interface;

[0033] Coordinate sending and positioning module: The front end sends the user's query location coordinates to the back end, and the back end calculates the ticket information corresponding to the user's location coordinates based on the row height and column width of the remaining ticket information interface.

[0034] In some embodiments of the present invention, the above-mentioned behavior verification module includes:

[0035] Obfuscated SVG format module: Based on the character reasoning behavior verification method, the obfuscated SVG command format is used to display the character reasoning verification graphics. The backend sends the generated SVG command to the frontend to display the verification graphics.

[0036] User operation verification module: The user operates to verify that a part of the characters in the graphics is in the appropriate position and combines with other parts of the characters to form a correct character;

[0037] Front-end verification module: The front-end sends the location coordinates of the user's operation to the back-end, and the back-end determines whether the location coordinates are within the predetermined range. If successful, the verification is passed and subsequent ticket purchase services are executed.

[0038] In some embodiments of the present invention, the above-mentioned obfuscated SVG format module includes:

[0039] Verification graphic splitting module: The background randomly selects a character shape according to a predetermined character selection principle, determines to select a character group, divides each character of the character group into a first graphic and a second graphic, converts the first graphic into an SVG command and performs random sorting and confusion;

[0040] Character selection module: The background selects any specific character from the character group. The second graphic of the specific character and other characters in the first graphic of the character group cannot form a correct character. The second graphic of the specific character is converted into an SVG command and randomly sorted and confused.

[0041] Character verification module: one part of the verification graphic is displayed as the first graphic of the character group, and the other part of the verification graphic is displayed as the second graphic of the specific character. The user operates the second graphic of the specific character. If the second graphic of the specific character is combined with the first graphic of the character group into a correct character, the user behavior verification is passed.

[0042] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for preventing automatic ticket grabbing as described in the first aspect above is implemented.

[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for preventing automatic ticket grabbing as described in the first aspect above.

[0044] Compared with the related prior art, it has the following outstanding beneficial effects:

[0045] 1) The method of the present invention adopts a ticket purchase application method based on obfuscated SVG commands: obfuscated SVG commands are applied to display the remaining ticket information interface, and the interface content only contains randomly obfuscated SVG drawing commands, without direct ticket text information;

[0046] 2) The method of the present invention combines the location coordinates of the remaining tickets with the remaining ticket interface graphics to determine the ticket information, thereby preventing the automatic ticket grabbing behavior of directly generating a ticket purchase request containing the ticket information;

[0047] 3) The method of the present invention adopts a behavior verification method based on character reasoning, and the character reasoning behavior verification method uses an obfuscated SVG format to display a text reasoning verification graphic. The user operates the verification graphic for verification, and if it passes, the backend will provide the user with subsequent ticket purchase services. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0049] Figure 1 is a flow chart of the method for preventing automatic ticket snatching of the present invention;

[0050] Figure 2 This is a flow chart of a ticket purchase request based on obfuscated SVG commands according to an embodiment of the present invention;

[0051] Figure 3 This is a flow chart of text-based reasoning behavior verification according to an embodiment of the present invention;

[0052] Figure 4 The initial state of the verification graph for the embodiment of the present invention;

[0053] Figure 5 The verification of the embodiment of the present invention is passed;

[0054] Figure 6 The verification of the embodiment of the present invention failed;

[0055] Figure 7 It is a schematic diagram of the system for preventing automatic ticket snatching of the present invention;

[0056] Figure 8 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present application.

[0057] In the above picture:

[0058] 100 Prevent automatic ticket grabbing system

[0059] 10 Ticket purchase request verification module 20 Behavior verification module

[0060] 81. Processor; 82. Memory; 83. Communication interface; 80. Bus. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated 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 intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0062] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.

[0063] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent.

[0064] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0065] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0066] The present invention aims to provide a method for improving the difficulty of automatic ticket grabbing by applying scalable vector graph technology to a ticket purchase application method based on confusing SVG commands and a behavior verification method based on character reasoning.

[0067] Figure 1 It is a schematic flow chart of the method of the present invention, as shown in Figure 1 As shown, the present invention provides a method for preventing automatic ticket snatching, comprising:

[0068] Ticket purchase request verification step S10: Based on the user's remaining ticket query information, the remaining ticket information query interface is randomly obfuscated through SVG drawing commands and displayed as an SVG graphic on the front end of the ticket purchase system. The user queries the location coordinates of the corresponding ticket information on the remaining ticket information interface to construct a ticket purchase application command, and the background of the ticket purchase system determines the validity of the location coordinates;

[0069] Behavior verification step S20: If the location coordinates are valid, the background will send the character reasoning verification graphics based on the obfuscated SVG format to the front end, and the user completes the verification based on the verification graphic operation. If the user behavior verification passes, the background will provide the user with subsequent ticket purchase services based on the ticket application command.

[0070] Furthermore, the verification graphic is a verification graphic based on character reasoning, including multiple random words or random symbols, and the verification graphic is randomly sorted and confused based on SVG commands and split into multiple parts, and the verification graphic operation includes: dragging, sliding, clicking or clicking the verification graphic. However, the present invention is not limited to this, and other ways of operating the verification graphic can also be used.

[0071] The ticket purchase application step S10 includes:

[0072] SVG command conversion step: Based on the queried remaining ticket information and the predetermined format requirements, the background randomly selects a character, converts the queried remaining ticket information text into SVG commands, and generates SVG commands for the table header and table borders;

[0073] Random obfuscation step: The background randomly sorts and obfuscates the SVG commands of characters and borders, and sends them to the front-end to display the remaining ticket information interface;

[0074] Coordinate sending and positioning steps: The front end sends the user's query location coordinates to the back end, and the back end calculates the ticket information corresponding to the user's location coordinates based on the row height and column width of the remaining ticket information interface.

[0075] The above-mentioned behavior verification step S20 includes:

[0076] Obfuscated SVG format steps: Based on the character reasoning behavior verification method, the obfuscated SVG command format is used to display the character reasoning verification graphics, and the backend sends the generated SVG command to the frontend to display the verification graphics;

[0077] User operation verification step: the user operates to verify that a part of the characters in the graphic is in a suitable position and combines with other parts of the characters to form a correct character;

[0078] Front-end verification steps: The front-end sends the location coordinates of the user's operation to the back-end, and the back-end determines whether the location coordinates are within the predetermined range. If successful, the verification is successful and subsequent ticket purchase services are executed.

[0079] The above steps of obfuscating the SVG format include:

[0080] Verify the graphic splitting step: the background randomly selects a character shape according to a predetermined character selection principle, determines to select a character group, divides each character of the character group into a first graphic and a second graphic, converts the first graphic into an SVG command and performs random sorting and confusion;

[0081] Character selection step: the background selects any specific character from the character group. The second graphic of the specific character and other characters in the first graphic of the character group cannot form a correct character. The second graphic of the specific character is converted into an SVG command and randomly sorted and confused.

[0082] Character verification steps: one part of the verification graphic is displayed as the first graphic of the character group, and the other part of the verification graphic is displayed as the second graphic of the specific character. The user operates the second graphic of the specific character. If the second graphic of the specific character is combined with the first graphic of the character group into a correct character, the user behavior verification is passed.

[0083] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings:

[0084] The specific embodiments of the method of the present invention include: a ticket application method based on obfuscated SVG commands and a behavior verification method based on text reasoning. First, a ticket application command is constructed based on the coordinates of the mouse click position. If the mouse position corresponds to the position of valid ticket information, a verification graphic based on text reasoning is sent to the user for behavior verification; the user drags the lower half of the verification graphic for verification, and if it passes, the background provides the user with subsequent ticket purchase services.

[0085] The ticket purchase application method based on obfuscated SVG commands uses obfuscated SVG commands to display the remaining ticket information interface. The interface content only contains randomly obfuscated SVG drawing commands, and there is no direct ticket text information. When the user clicks on the interface to apply for a ticket, the coordinates of the clicked mouse position are sent to the background, and the background calculates and searches for the corresponding ticket information based on the mouse position. Based on this method, the mouse position coordinates must be combined with the remaining ticket interface graphics to determine the ticket information, thereby preventing the automatic ticket grabbing behavior of directly generating a ticket purchase request containing ticket information.

[0086] 1) Figure 2 FIG. 1 is a flow chart of a ticket purchase request based on an obfuscated SVG command according to an embodiment of the present invention; Figure 2 As shown, in this method, the backend searches for remaining ticket information that meets the requirements according to the user's remaining ticket query request.

[0087] 2) Furthermore, the background randomly selects a font according to predetermined format requirements such as row height, column width, font size, etc., converts the queried remaining ticket information text into SVG commands, and generates SVG commands for the table header and table border.

[0088] 3) Furthermore, the backend randomly sorts and confuses the SVG commands and sends them to the frontend to display the remaining ticket information interface.

[0089] 4) Further, the front end sends the coordinates of the user's click mouse position to the back end.

[0090] 5) Furthermore, the background calculates the ticket information corresponding to the position where the user clicks the mouse according to the row height and column width of the remaining ticket information interface.

[0091] 6) Figure 3 This is a flow chart of text-based reasoning behavior verification in an embodiment of the present invention; Figure 3 As shown, the text reasoning behavior verification method based on the obfuscated SVG format is used to display the text reasoning verification graphics. The upper half of the graphic displays the upper half of multiple characters, and the lower half of the graphic displays the lower half of a character. The user drags the lower half of the character, and if it can be combined with the upper half to form a correct character, the verification is passed.

[0092] 7) Figure 4 The initial state of the verification graph for the embodiment of the present invention; Figure 5 The verification of the embodiment of the present invention is passed; Figure 6 The verification of the embodiment of the present invention fails; Figure 4-6 As shown, in this method, the background randomly selects a font according to a predetermined font size and number of characters, and selects a specified number of characters, converts the upper half of these characters into SVG commands and performs random sorting and confusion.

[0093] 8) Further, the background selects another character from the selected multiple characters, requiring that the lower half of the character and the upper half of other characters cannot form a correct character, and converts the lower half of the character into SVG commands and performs random sorting and confusion.

[0094] 9) Further, the background sends the above generated SVG command to the front end to display the verification graphic.

[0095] 10) Further, the user drags the lower half of the character to a suitable position to form a correct character with the upper half. The front end sends the coordinates of the position where the user releases the mouse to the back end, and the back end determines whether the position information is within a predetermined range. If so, the verification is passed.

[0096] Figure 7 It is a schematic diagram of the system of the present invention, as shown in Figure 7 As shown, the embodiment of the present application also provides a system 100 for preventing automatic ticket grabbing, which adopts the above method for preventing automatic ticket grabbing, including:

[0097] Ticket purchase request verification module 10: Based on the user's remaining ticket query information, the remaining ticket information query interface is randomly obfuscated through SVG drawing commands and displayed as SVG graphics on the front end of the ticket purchase system. The user queries the location coordinates of the corresponding ticket information on the remaining ticket information interface to construct a ticket purchase application command, and the background of the ticket purchase system determines the validity of the location coordinates;

[0098] Behavior verification module 20: If the location coordinates are valid, the background will send the character reasoning verification graphics based on the obfuscated SVG format to the front end, and the user completes the verification based on the verification graphic operation. If the user behavior verification passes, the background will provide the user with subsequent ticket purchase services based on the ticket purchase application command.

[0099] The verification graphic is a verification graphic based on character reasoning, including multiple random characters or random symbols, and the verification graphic is randomly sorted and confused based on the SVG command and split into multiple parts. The verification graphic operation includes: dragging, sliding, clicking or clicking the verification graphic. However, the present invention is not limited to this, and other ways of operating the verification graphic can also be used.

[0100] In some embodiments of the present invention, the ticket purchase application module 10 includes:

[0101] SVG command conversion module: Based on the queried ticket information, the backend randomly selects a character according to the predetermined format requirements, converts the queried ticket information text into SVG commands, and generates SVG commands for the table header and table borders;

[0102] Random obfuscation module: The background randomly sorts and obfuscates the SVG commands of characters and borders, and sends them to the front-end to display the remaining ticket information interface;

[0103] Coordinate sending and positioning module: The front end sends the user's query location coordinates to the back end, and the back end calculates the ticket information corresponding to the user's location coordinates based on the row height and column width of the remaining ticket information interface.

[0104] The above-mentioned behavior verification module 20 includes:

[0105] Obfuscated SVG format module: Based on the character reasoning behavior verification method, the obfuscated SVG command format is used to display the character reasoning verification graphics. The backend sends the generated SVG command to the frontend to display the verification graphics.

[0106] User operation verification module: The user operates to verify that a part of the characters in the graphics is in the appropriate position and combines with other parts of the characters to form a correct character;

[0107] Front-end verification module: The front-end sends the location coordinates of the user's operation to the back-end, and the back-end determines whether the location coordinates are within the predetermined range. If successful, the verification is passed and subsequent ticket purchase services are executed.

[0108] Among them, the above obfuscated SVG format module includes:

[0109] Verification graphic splitting module: The background randomly selects a character shape according to a predetermined character selection principle, determines to select a character group, divides each character of the character group into a first graphic and a second graphic, converts the first graphic into an SVG command and performs random sorting and confusion;

[0110] Character selection module: The background selects any specific character from the character group. The second graphic of the specific character and other characters in the first graphic of the character group cannot form a correct character. The second graphic of the specific character is converted into an SVG command and randomly sorted and confused.

[0111] Character verification module: one part of the verification graphic is displayed as the first graphic of the character group, and the other part of the verification graphic is displayed as the second graphic of the specific character. The user operates the second graphic of the specific character. If the second graphic of the specific character is combined with the first graphic of the character group into a correct character, the user behavior verification is passed.

[0112] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for preventing automatic ticket grabbing as described in the first aspect above is implemented.

[0113] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for preventing automatic ticket grabbing as described in the first aspect above.

[0114] In addition, combined Figure 1 The method for preventing automatic ticket grabbing described in the embodiment of the present application can be implemented by a computer device. Figure 8 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present application.

[0115] The computer device may include a processor 81 and a memory 82 storing computer program instructions.

[0116] Specifically, the processor 81 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0117] Among them, the memory 82 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 82 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 82 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 82 may be inside or outside the data processing device. In a specific embodiment, the memory 82 is a non-volatile memory. In a specific embodiment, the memory 82 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable ProgrammableRead-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.

[0118] The memory 82 may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 81 .

[0119] The processor 81 implements any one of the risky user identification methods in the above embodiments by reading and executing computer program instructions stored in the memory 82 .

[0120] In some of these embodiments, the computer device may further include a communication interface 83 and a bus 80. Figure 8 As shown, the processor 81, the memory 82, and the communication interface 83 are connected via a bus 80 and communicate with each other.

[0121] The communication interface 83 is used to implement communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication port 83 can also implement data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.

[0122] The bus 80 includes hardware, software or both, and couples the components of the computer device to each other. The bus 80 includes but is not limited to at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 80 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 80 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0123] The computer device can be based on preventing user behavior verification method, thereby achieving combination Figure 1 Described method for preventing automatic ticket grabbing.

[0124] Compared with the prior art, the present invention mainly realizes: a ticket application method based on obfuscated SVG commands and a behavior verification method based on text reasoning. First, a ticket application command is constructed based on the coordinates of the mouse click position. If the mouse position corresponds to the position of valid ticket information, a verification graphic based on text reasoning is sent to the user for behavior verification; the user drags the lower half of the verification graphic for verification, and if it passes, the background provides the user with subsequent ticket purchase services. The ticket application method based on the obfuscated SVG command uses the obfuscated SVG command to display the remaining ticket information interface. The interface content only contains the SVG drawing command that has been randomly obfuscated, and there is no direct ticket text information. When the user clicks on the interface to apply for a ticket, the coordinates of the clicked mouse position are sent to the background, and the background calculates and searches for the corresponding ticket information based on the mouse position. Based on this method, the mouse position coordinates must be combined with the remaining ticket interface graphic to determine the ticket information, thereby preventing the automatic ticket grabbing behavior of directly generating a ticket purchase request containing ticket information.

[0125] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.

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

Claims

1. A method for preventing automatic ticket grabbing, characterized in that: include: Ticket purchase request step: based on the user's remaining ticket query information, the remaining ticket information query interface is randomly obfuscated through SVG drawing commands and then displayed as an SVG graphic on the front end of the ticket purchase system. The user queries the position coordinates of the corresponding ticket information on the remaining ticket information interface to construct and generate a ticket purchase application command, and the background of the ticket purchase system determines the validity of the position coordinates; Behavior verification step: if the location coordinates are valid, the backend will send a character reasoning verification graphic based on the obfuscated SVG format to the frontend, and the user completes the verification based on the verification graphic operation. If the user behavior verification passes, the backend will provide the user with subsequent ticket purchase services based on the ticket purchase application command; The ticket purchase request step includes: SVG command conversion step: Based on the queried remaining ticket information and the predetermined format requirements, the background randomly selects a character, converts the queried remaining ticket information text into SVG commands, and generates SVG commands for the table header and table borders; Random obfuscation step: the background randomly sorts and obfuscates the SVG commands of the characters and borders, and sends them to the front-end to display the remaining ticket information interface; Coordinate sending and positioning steps: the front end sends the query location coordinates of the user to the back end, and the back end calculates the ticket information corresponding to the user location coordinates according to the row height and column width of the remaining ticket information interface.

2. The method for preventing automatic ticket grabbing according to claim 1, characterized in that: The verification graphic is a verification graphic based on character reasoning, including multiple random texts or random symbols, and the verification graphic is randomly sorted and confused based on SVG commands and then split into multiple parts. The verification graphic operation includes: dragging, sliding, clicking or clicking the verification graphic.

3. The method for preventing automatic ticket grabbing according to claim 2, characterized in that: The behavior verification step includes: Obfuscating SVG format step: Based on the character reasoning behavior verification method, using the obfuscated SVG command format to display the character reasoning verification graphic, the backend sends the generated SVG command to the front end to display the verification graphic; User operation verification step: the user operates a part of the characters in the verification pattern to a suitable position and combines with other parts of the characters to form a correct character; Front-end verification step: the front-end sends the location coordinates of the user operation to the back-end, and the back-end determines whether the location coordinates are within a predetermined range. If successful, the verification is passed and subsequent ticket purchase services are executed.

4. The method for preventing automatic ticket grabbing according to claim 3, characterized in that: The steps of obfuscating the SVG format include: Verify the graphic splitting step: the background randomly selects a character shape according to a predetermined character selection principle, determines to select a character group, divides each character of the character group into a first graphic and a second graphic, converts the first graphic into an SVG command and performs random sorting and confusion; Character selection step: the background selects any specific character from the character group, the second graphic of the specific character and other characters in the first graphic of the character group cannot form a correct character, the second graphic of the specific character is converted into an SVG command and randomly sorted and confused; Character verification step: one part of the verification graphic is displayed as the first graphic of the character group, and the other part of the verification graphic displays the second graphic of the specific character. The user operates the second graphic of the specific character. If the second graphic of the specific character is combined with the first graphic of the character group into a correct character, the user behavior verification is passed.

5. A system for preventing automatic ticket grabbing, using the method for preventing automatic ticket grabbing as claimed in any one of claims 1 to 4, characterized in that: include: Ticket purchase request module: Based on the user's remaining ticket query information, the remaining ticket information query interface is randomly obfuscated through SVG drawing commands and displayed as SVG graphics on the front end of the ticket purchase system. The user queries the location coordinates of the corresponding ticket information on the remaining ticket information interface to construct a ticket purchase application command, and the background of the ticket purchase system determines the validity of the location coordinates; Behavior verification module: if the location coordinates are valid, the backend will send a character reasoning verification graphic based on the obfuscated SVG format to the frontend, and the user completes the verification based on the verification graphic operation. If the user behavior verification passes, the backend will provide the user with subsequent ticket purchase services based on the ticket purchase application command; The ticket purchase request module comprises: SVG command conversion module: Based on the queried ticket information, the backend randomly selects a character according to the predetermined format requirements, converts the queried ticket information text into SVG commands, and generates SVG commands for the table header and table borders; Random obfuscation module: The background randomly sorts and obfuscates the SVG commands of the characters and borders, and sends them to the front-end to display the remaining ticket information interface; Coordinate sending and positioning module: the front end sends the query location coordinates of the user to the back end, and the back end calculates the ticket information corresponding to the user location coordinates according to the row height and column width of the remaining ticket information interface.

6. The system for preventing automatic ticket grabbing according to claim 5, characterized in that: The verification graphic is a verification graphic based on character reasoning, including multiple random texts or random symbols, and the verification graphic is randomly sorted and confused based on SVG commands and then split into multiple parts. The verification graphic operation includes: dragging, sliding, clicking or clicking the verification graphic.

7. The system for preventing automatic ticket grabbing according to claim 6, characterized in that: The behavior verification module comprises: Obfuscated SVG format module: Based on the character reasoning behavior verification method, the obfuscated SVG command format is used to display the character reasoning verification graphics, and the backend sends the generated SVG command to the front end to display the verification graphics; User operation verification module: the user operates a part of the characters in the verification pattern to a suitable position and combines with other parts of the characters to form a correct character; Front-end verification module: The front-end sends the location coordinates of the user operation to the back-end, and the back-end determines whether the location coordinates are within a predetermined range. If successful, the verification is passed and subsequent ticket purchase services are executed.

8. The system for preventing automatic ticket grabbing according to claim 7, characterized in that: The obfuscated SVG format module includes: Verification graphic splitting module: the background randomly selects a character shape according to a predetermined character selection principle, determines to select a character group, divides each character of the character group into a first graphic and a second graphic, converts the first graphic into an SVG command and performs random sorting and confusion; Character selection module: the background selects any specific character from the character group, the second graphic of the specific character and other characters in the first graphic of the character group cannot form a correct character, the second graphic of the specific character is converted into an SVG command and randomly sorted and confused; Character verification module: one part of the verification graphic is displayed as the first graphic of the character group, and the other part of the verification graphic displays the second graphic of the specific character. The user operates the second graphic of the specific character. If the second graphic of the specific character is combined with the first graphic of the character group into a correct character, the user behavior verification is passed.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for preventing automatic ticket grabbing as described in any one of claims 1 to 4 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for preventing automatic ticket grabbing as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Method and device for buying ticket based on client

    CN106411881A

  • Information verification method and device and computer equipment

    CN110728386A

Cited By

  • Intelligent traffic shaping and fair distribution ticket grabbing system for high-heat performance

    CN121887736A