Shared resource file cheating prevention method
A technology for sharing resources and resource files, which is applied in the field of anti-cheating of shared resource files, can solve the problems of long time consumption, waste of storage space, and high cost of collecting shared resources, and achieve the effects of low cost of use, prevention of cheating behavior, and reduction of server consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0023] like figure 1 As shown, the anti-cheating method for shared resource files of the present invention, the anti-cheating method for shared resource files, the method includes the following steps: S1: convert the storage file into a PDF format file, and upload the converted PDF format file to the resource stock In the library; S2: Luncene obtains the path information in the resource stock library through the database, obtains resource files in the resource stock library through the path information, Luncene loads and builds document objects, performs word segmentation on stock resource files, and creates index files; S3: Randomly extract the content fragments of the new shared resource file, the number of fragments N>=3 times of sampling, load the shared resource file, obtain the total character length T of the shared resource file, the content fragment step size S=10, and construct a random number set C=total character length T - Step size S; S4: If C0, the random number ...
Embodiment 2
[0028] In this embodiment, optimization and selection are carried out on the basis of the first embodiment, and the storage files in the step S1 are converted into PDF format files as a whole through the converter. When using PDF format files for file content storage, sharing, and comparison of file content fragments, because PDF format files can be viewed online better, and when comparing, text recognition software such as OCR can be used to quickly recognize and process text .
[0029] The database in step S2 is a MYSQL database. Compared with other large-scale databases such as Oracle, DB2, SQL Server etc., MySQL has its own shortcomings, such as small scale and limited functions, but only simple storage is required in the present invention, and MYSQL is an open database, so In this way, a stable and free website system can be established without spending a penny (except for labor costs). The search result in step S6 is a file list corresponding to the content segment. T...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
