A data processing method, apparatus and equipment
By designing an AI attack and defense competition mechanism, the public's ability to identify AI-generated content has been enhanced, the use of innovative AI tools has been popularized, the problem of lack of effective means in existing technologies has been solved, and the application and data collection of AI detection technology in real-world scenarios have been realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
- Filing Date
- 2026-03-11
- Publication Date
- 2026-06-30
Smart Images

Figure CN122309655A_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of computer technology, and in particular to a data processing method, apparatus, and device. Background Technology
[0002] With the explosive application of large-scale models (Deepseek, GPT, LLaMA, etc.), AI technology has been deeply integrated into core fields such as finance, healthcare, and smart terminal voice interaction. However, with the leakage of privacy data, deepfake identity attacks targeting users have also come to the forefront. Addressing this challenge to improve the public's ability to discern AI-generated content, promote the use of innovative AI tools, and collect AI-synthesized data in real-world scenarios and promote the application of AI detection technology in practical situations have become important research topics. Therefore, a technical solution is needed to enhance the public's ability to discern AI-generated content and promote the use of innovative AI tools. Summary of the Invention
[0003] The purpose of the embodiments in this specification is to provide a technical solution that can enhance the public's ability to identify AI-generated content and promote the use of innovative AI tools.
[0004] To achieve the above technical solution, the embodiments in this specification are implemented as follows: This specification provides a data processing method, comprising: receiving a participation request from a target user for a preset competition project, the participation request including the target user's user identifier, the preset competition project being a competition project targeting attacks and defenses against artificial intelligence; determining the target user's identity type and the competition category of the preset competition project that the target user can participate in based on the target user's user identifier, and generating target questions based on the target user's identity type and the competition category selected by the target user, the identity type including ordinary and student types, the target questions corresponding to the competition category selected by the target user and matching the target user's identity type; providing the target questions to the target user and receiving the answer data submitted by the target user; determining the answer score corresponding to the competition category selected by the target user through a preset scoring model based on the answer data, and updating the answer ranking list of the competition category selected by the target user based on the answer score corresponding to the competition category selected by the target user.
[0005] This specification provides a data processing apparatus comprising: a request module, which receives a participation request from a target user for a preset competition project, the participation request including the target user's user identifier, and the preset competition project being a competition project targeting attacks and defenses against artificial intelligence; a question generation module, which determines the target user's identity type and the competition category of the preset competition project that the target user can participate in based on the target user's user identifier, and generates target questions based on the target user's identity type and the competition category selected by the target user, the identity type including ordinary and student types, the target questions corresponding to the competition category selected by the target user and matching the target user's identity type; an answering module, which provides the target questions to the target user and receives answer data submitted by the target user; and a scoring module, which determines the answer score corresponding to the competition category selected by the target user based on the answer data using a preset scoring model, and updates the answer ranking list of the competition category selected by the target user based on the answer score.
[0006] This specification provides an embodiment of a data processing device, comprising: a processor; and a memory arranged to store computer-executable instructions, wherein the executable instructions, when executed, cause the processor to: receive a participation request from a target user for a preset competition project, the participation request including a user identifier of the target user, the preset competition project being a competition project targeting attacks and defenses against artificial intelligence; determine the target user's identity type and the competition category of the preset competition project that the target user can participate in based on the target user's user identifier, and generate target questions based on the target user's identity type and the competition category selected by the target user, the identity type including ordinary and student types, the target questions corresponding to the competition category selected by the target user and matching the target user's identity type; provide the target questions to the target user, and receive answer data submitted by the target user; determine the answer score corresponding to the competition category selected by the target user based on the answer data through a preset scoring model, and update the answer ranking list of the competition category selected by the target user based on the answer score corresponding to the competition category selected by the target user.
[0007] This specification also provides a storage medium for storing computer-executable instructions. When executed by a processor, the executable instructions implement the following process: receiving a participation request from a target user for a preset competition project, the participation request including the target user's user identifier, the preset competition project being a competition project targeting attacks and defenses against artificial intelligence; determining the target user's identity type and the competition category within the preset competition project that the target user can participate in based on the target user's user identifier, and generating target questions based on the target user's identity type and the competition category selected by the target user, the identity type including ordinary and student types, the target questions corresponding to the competition category selected by the target user and matching the target user's identity type; providing the target questions to the target user and receiving the answer data submitted by the target user; determining the answer score corresponding to the competition category selected by the target user through a preset scoring model based on the answer data, and updating the answer ranking list for the competition category selected by the target user based on the answer score corresponding to the competition category selected by the target user.
[0008] This specification also provides a computer program product, including a computer program that, when executed by a processor, implements the following process: receiving a participation request from a target user for a preset competition project, the participation request including the target user's user identifier, the preset competition project being a competition project targeting attacks and defenses against artificial intelligence; determining the target user's identity type and the competition category within the preset competition project that the target user can participate in based on the target user's user identifier, and generating target questions based on the target user's identity type and the competition category selected by the target user, the identity type including ordinary and student types, the target questions corresponding to the competition category selected by the target user and matching the target user's identity type; providing the target questions to the target user and receiving the answer data submitted by the target user; determining the answer score corresponding to the competition category selected by the target user through a preset scoring model based on the answer data, and updating the answer ranking list for the competition category selected by the target user based on the answer score corresponding to the competition category selected by the target user. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Figure 1 This is a schematic diagram of the structure of a data processing system described in this specification; Figure 2 This is a schematic diagram of a data processing procedure described in this specification; Figure 3 This is a schematic diagram of a page generated from an image in this specification; Figure 4 This is a schematic diagram of another data processing procedure described in this specification; Figure 5 This is a schematic diagram of yet another data processing procedure described in this specification; Figure 6 This is a schematic diagram of yet another data processing procedure described in this specification; Figure 7 This is a schematic diagram of yet another data processing procedure described in this specification; Figure 8 This is a schematic diagram of a data processing device described in this specification; Figure 9 This is a schematic diagram of a data processing device described in this specification. Detailed Implementation
[0010] This specification provides a data processing method, apparatus, and device through its embodiments.
[0011] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.
[0012] This specification provides an AI attack and defense competition mechanism designed to enhance the public's ability to identify AI-generated content and promote the use of innovative AI tools. With the rise of large-scale models, AIGC forgery and Deepfake risks are frequent. To improve the public's ability to identify AI-generated content and promote the use of innovative AI tools, a nationwide AI competition can be launched. Specific processing details can be found in the following embodiments.
[0013] The data processing methods provided in one or more embodiments of this specification are applicable to the data processing implementation environment. (Refer to...) Figure 1 The implementation environment includes at least: Client 100 and server 200. Furthermore, server 200 may include scoring models and various algorithms, among which: Client 100 can run on terminal devices, which can be mobile phones, personal computers, tablets, e-book readers, wearable devices, devices that interact with information based on AR (Augmented Reality) and VR (Virtual Reality), and laptop computers, etc. Client 100 can be installed on terminal devices. Client 100 can be an application, a browser, or a subroutine embedded in an application, etc.
[0014] Server 200 can run on a server, which can be one or more servers, a server cluster consisting of several servers, or a cloud server on a cloud computing platform. Server 200 can be installed on the server. Server 200 can be an application or a subroutine embedded in an application. Scoring models and various algorithms can be integrated into server 200, or server 200 can call any one or more of the scoring models and various algorithms to perform corresponding operations.
[0015] In addition, it may include a database 300, which may be set in the server on which the server 200 runs, or it may be set outside the server on which the server 200 runs. The database 300 may store different competition questions and other related information.
[0016] In this implementation environment, a target user can initiate a participation request for a preset competition project through client 100. This participation request includes the target user's user identifier. The preset competition project is a competition focusing on attack and defense against artificial intelligence (AI). Server 200 can determine the target user's identity type and the competition category within the preset competition projects the target user can participate in based on the user identifier. Based on the target user's identity type and selected competition category, server 200 generates target questions. The identity type includes "general" and "student" categories. The target questions correspond to the selected competition category and match the target user's identity type. Server 200 then provides the target questions to the target user and receives the submitted answer data. Based on the answer data, a preset scoring model determines the answer score corresponding to the target user's selected competition category. Server 200 then updates the answer leaderboard for the selected competition category based on the answer score.
[0017] like Figure 2As shown in the embodiments of this specification, a data processing method is provided. The execution subject of this method can be a terminal device or a server, etc. The terminal device can be a mobile terminal device such as a mobile phone or tablet computer, or a computer device such as a laptop or desktop computer, or an IoT device (specifically, a smartwatch, in-vehicle device, etc.). The server can be a single server or a server cluster composed of multiple servers, etc. The server can be a backend server in fields such as finance or online shopping, or a backend server of an application, etc. This embodiment uses a server as the execution subject for detailed description. For the case where the execution subject is a terminal device, please refer to the following server case processing, which will not be repeated here. The method may specifically include the following steps: In step S202, a participation request from a target user for a preset competition project is received. The participation request includes the target user's user identifier. The preset competition project is a competition project targeting attacks and defenses against artificial intelligence.
[0018] The target user can be any user who needs to participate in a preset competition. The preset competitions are AI attack and defense competitions, and can include various types, such as competitions on the semantic consistency of text and images, or adversarial competitions on the authenticity of images. The specific types can be set according to the actual situation. The user identifier is an identifier used to represent the identity of the target user. The user identifier can include various types, such as the target user's designated account information, or the target user's name, the IP address of the terminal device used by the target user, the MAC address, etc., and can be set according to the actual situation.
[0019] In practice, with the explosive application of large-scale models (Deepseek, GPT, LLaMA, etc.), AI technology has been deeply integrated into core fields such as finance, healthcare, and smart terminal voice interaction. However, deepfake identity attacks suffered by users have also surfaced. To address this challenge, enhance the public's ability to identify AI-generated content, popularize the use of innovative AI tools, and collect AI synthesis data in real-world scenarios and promote the application of AI detection technology in practical situations, a corresponding prize-winning competition can be set up. For this purpose, corresponding competition page code can be developed, which can be based on HTML5 (i.e., H5) pages. When a user (i.e., the target user) wants to participate in the aforementioned prize-winning competition, they can launch a browser on their terminal device. The target user can enter a preset web address in the browser, and then the terminal device can obtain the login page for the prize-winning competition. On this login page, the target user can enter their account and password information or register an account, and then log in using the registered account and password. Specifically, after entering their account and password information, the user can click the login button on the login page. At this time, the terminal device can obtain the target user's user identifier and generate a participation request for the preset competition item (i.e., the aforementioned prize-winning competition item) based on this user identifier. Then, it can send this participation request to the server. The server can receive the target user's participation request for the preset competition item.
[0020] In step S204, the target user's identity type and the competition category in the preset competition projects that the target user can participate in are determined based on the target user's user identifier. Based on the target user's identity type and the competition category selected by the target user, a target question is generated. The identity type includes ordinary and student types. The target question corresponds to the competition category selected by the target user and matches the target user's identity type.
[0021] The competition category can be a type of competition set in the preset competition projects, such as error-finding competition or generation competition, and can be set according to the actual situation. The general category can be a user type that can participate in the preset competition projects and whose identity type does not belong to the student category. Various different subclasses can be set for the general category according to the actual situation. For example, the general category can include user classes from a certain region and user classes from other regions, etc., and can be set according to the actual situation.
[0022] In implementation, based on the target user's user identifier and with their authorization, relevant information about the target user can be obtained, such as their nickname, code, address, and specified account information. Based on this information, the target user's identity type (general or student) can be determined. Furthermore, different competition categories can be set for different identity types, allowing participation in preset competitions. For example, a certain competition category could be restricted to students only, or to programmers only. Then, based on the obtained information and the target user's identity type, the competition categories within the preset competitions the target user can participate in can be determined.
[0023] Different databases and question generation rules can be set according to different identity types. The database can store specified competition questions and subsequently provide questions to different users. The question generation rules can generate target questions for specified competition categories for different users. At this point, the target user can select a competition category from the preset competition projects they can participate in. After selection, based on the target user's identity type and the selected competition category, the question generation rules will select competition questions from the database that correspond to the selected competition category and match the target user's identity type. These selected competition questions can then be combined to obtain the target question.
[0024] In step S206, the target questions are provided to the target user, and the answer data submitted by the target user is received.
[0025] In implementation, the target questions can be sent to the target user's terminal device. The terminal device can display the target questions through an H5 page in a browser. The target user can answer the target questions and submit their answers to the server. The server can receive the answer data submitted by the target user.
[0026] In step S208, based on the answer data, the answer score corresponding to the competition category selected by the target user is determined by a preset scoring model, and the answer ranking list of the competition category selected by the target user is updated based on the answer score corresponding to the competition category selected by the target user.
[0027] The scoring model can be constructed using a specified algorithm (such as random forest algorithm, support vector machine, etc.), a neural network (such as convolutional neural network, recurrent neural network, etc.), or a large model (such as large language model, multimodal large model, etc.). The specific model can be set according to the actual situation.
[0028] In implementation, the scoring model architecture can be pre-built. Then, a certain number of training samples can be obtained and used to train the scoring model, resulting in a trained scoring model. The obtained answer data can be input into the scoring model, which can then analyze the data to determine the accuracy of the target user's answers to each competition question. Finally, the accuracy of each competition question's answers can be summarized to obtain the answer score corresponding to the competition category selected by the target user. The answer score corresponding to the competition category selected by the target user can be compared with the scores of other completed answers to obtain a ranking of the answer scores. This ranking is then used to update the answer leaderboard for the competition category selected by the target user, resulting in the latest answer leaderboard.
[0029] In addition, it should be noted that it is possible to pre-set that a target user can participate in multiple competitions in the same competition category within a specified time period. The highest score obtained from multiple competitions can be used as the target user's final score. The ranking list of the competition category selected by the target user can be updated based on the final score. The specific settings can also be configured according to the actual situation.
[0030] This specification provides a data processing method. It involves receiving a participation request from a target user for a preset competition, the request including the target user's user identifier. The preset competition is a competition focused on attacking and defending against artificial intelligence. Then, based on the target user's user identifier, the method determines the target user's identity type and the competition category they can participate in within the preset competition. Based on the target user's identity type and selected competition category, a target question is generated. The identity type includes general and student categories. The target question corresponds to the selected competition category and matches the target user's identity type. The target question is then provided to the target user, and the method receives the user's submitted answer data. Finally, based on the answer data, a preset scoring model determines the answer score corresponding to the target user's selected competition category. The method then updates the answer ranking list for the selected competition category based on the answer score. By setting up a competition focused on attacking and defending against artificial intelligence, this method can improve the public's ability to identify AI-generated content, promote the use of innovative AI tools, collect AI synthesis data in real-world scenarios, and drive the application of AI detection technology in practical situations.
[0031] In practical applications, in order to incentivize users to improve their ability to identify AI-generated content and to collect as much AI-synthesized data as possible in real-world scenarios, a reward mechanism can be set up. The following provides an achievable method, which may include the following steps A2 and A4.
[0032] In step A2, when the preset competition end time is reached, the answer leaderboard for each competition category in the preset competition project is obtained.
[0033] In implementation, different competition categories are scored independently, and users can participate in different competition categories simultaneously and win rewards separately. Users can be given one or more opportunities to climb the leaderboard within a specified time period. Furthermore, one or more competition periods can be set up, and the highest score within each period can be used as the user's final score for that period. The deadline for climbing the leaderboard in each period is a preset time point on the last day of that period (e.g., 20:00 or 0:00). For example, if the preset time point is 20:00, then participation is not possible between 20:00 on the current day and 0:00 the following day. When the competition ends for a period, the leaderboard for each competition category in the preset competition projects can be retrieved for that period.
[0034] In step A4, based on the obtained answer leaderboard for each competition category, the winners list and the reward information for each account in the reward list for each competition category are determined.
[0035] The reward information can include various types, such as rewards in the form of red envelopes or rewards in the form of designated products, and the specifics can be set according to the actual situation.
[0036] In implementation, the top N users (N can be a positive integer greater than or equal to 1, such as 100 or 50) on the leaderboard for each round of the competition will receive rewards (such as cash rewards or rewards of designated goods). This allows for the determination of the winners list for each competition category based on the account information of the top N users on the leaderboard for each round. Furthermore, according to preset reward rules, the reward information for each account on the reward list can be determined. For example, if the reward rule is that the user ranked 1st receives product A, users ranked 2nd-3rd receive product B, users ranked 4th-10th receive product C, and so on, then the corresponding reward information for each account on the reward list can be determined based on these rules. If cash rewards are given, the validity period (such as 6 months or 3 months) and usage conditions can be set for the cash rewards.
[0037] In practical applications, the general category includes a first subcategory, which is the subcategory corresponding to account information that is only allowed to participate in the competition ranking. Therefore, the specific processing method for determining the winner list corresponding to each competition category based on the obtained answer ranking list of each competition category in step A4 above can be varied. The following provides an optional processing method, which can specifically include the processing of steps A42 and A44.
[0038] In step A42, the account information belonging to the first subcategory is deleted from the answer leaderboard of each competition category to obtain the account sequence with competition ranking information corresponding to each competition category.
[0039] To ensure fairness in the competition, staff members of the organizers, sponsors, co-organizers, and partners involved in the competition who have access to the product and data related to the competition questions can be excluded from participation. For one or more of the organizers, sponsors, co-organizers, and partners involved in the competition, they can be allowed to participate in the ranking but not in the judging or receiving of awards. For this purpose, a first subcategory can be set within the general category; this first subcategory corresponds to the account information that is only allowed to participate in the ranking. Since the answer leaderboard for each competition category contains account information for the first subcategory, in order to obtain an accurate list of winners, the account information belonging to the first subcategory can be deleted from the answer leaderboard for each competition category. This will yield a sequence of accounts with competition ranking information for each competition category. For example, if the answer leaderboard is ABCDEFGHIJ, where A, B, C, D, E, F, G, H, I, and J are account information for different users (specifically, account names, etc.), and C, E, F, and H belong to the first subcategory, then the sequence of accounts with competition ranking information for this competition category is ABDGIJ.
[0040] In step A44, the winners list for each competition category is determined based on the obtained account sequence with competition ranking information for each competition category.
[0041] In implementation, based on the account sequence with competition ranking information corresponding to each competition category, the account sequence that meets the reward rules can be selected. For example, if the reward rule is to select the top 3 users for rewards and set 3 reward levels, namely first-class, second-class and third-class, then ABD can be selected from the account sequence ABDGIJ with competition ranking information corresponding to the above competition category for reward, and A's reward level is first-class, B's reward level is second-class and C's reward level is third-class.
[0042] In practical applications, the competition categories in the preset competition projects include finding the category corresponding to the generated image from the given images within a preset time period and the category corresponding to the image generated by the preset image generation platform that meets the preset conditions.
[0043] The generated images can be created using a specified algorithm or model (such as a neural network model or a large model). The image generation platform can be built using a deep learning network, a multimodal large model, or one or more intelligent agents, etc., depending on the specific requirements. The preset duration can be set according to the actual situation, such as 30 seconds or 1 minute. Preset conditions can include various scenarios, such as "an astronaut playing golf on the lunar surface" or "an orange cat catching a butterfly on a park bench while a child chases a golden balloon on its left," etc., depending on the specific requirements.
[0044] In practice, finding generated images from given images within a preset time limit can also be called a "fun spot-the-difference" game. For example, users must find as many AI-generated images as possible within 30 seconds. Finding an image correctly earns 10 points (in practical applications, special competition questions can also be set, such as Easter egg competition questions, and answering special competition questions correctly can earn better scores, such as 20 points). Finding the wrong image deducts 9 points, and no points are deducted if no image is found. Users are allowed to answer again, and after entering the next page of questions, the answer data from the previous page will be automatically submitted for score calculation.
[0045] In the specific settings, users need to determine within 30 seconds whether a total of xx images (e.g., 240 images across 60 pages) are AI-generated images. The competition questions can be randomly selected from the database, with two options: "AI-generated" and "non-AI-generated." The total score for each submission is recorded. Correctly identifying an AI-generated image earns bonus points (e.g., +10 points per image). Misidentifying a real image as AI-generated results in a deduction of points (e.g., -3 points per image). Failure to identify an AI-generated image results in the original rules being maintained without deduction. Each user has M (e.g., 1 or 3 attempts) attempts per day, with the highest score being the highest score for that day. Each competition period (e.g., every 7 days) offers M or 3M attempts, with the highest score within that period being the total score for that period.
[0046] Based on the above, each time a user enters the "Fun Spot the Difference" game, a pop-up window will display instructions on the answering rules. The title of the pop-up window can be "[This competition period: Month x, Day x - Month x, Day x]". The title will be updated at 0:00 on the first day of each competition period. The text of the pop-up window can be "Please find as many AI-generated images as possible within 30 seconds. You get 10 points for each correct image, deduct 3 points for each incorrect image, and no points are deducted for not finding any images. You have M chances to answer the questions each day. The system will count your highest score as your final score for this competition period. The top N users on the leaderboard will receive a red envelope reward. The deadline for answering the questions for each competition period is 20:00 on the last day."
[0047] After the quiz begins, the page can display a countdown timer, an image list, and options such as "Continue answering questions" and "Go back and redo." Countdown timer: When 10 seconds remain, an animated prompt can be set, such as a pop-up message saying "Please submit your answers on this page as soon as possible"; Image grid: Each page can have 3 images. 3. Display options such as "Continue Answering Questions" and "Return to Redo": From the second page to the second-to-last page, these options are displayed. Clicking them saves the current selection and allows you to proceed to the next page, or return to the previous page (preserving the selection state when submitting this page). The first page only displays the "Continue Answering Questions" option, while the last page displays "Submit All" and "Return to Redo" options. After clicking "Submit All," the score for this round and the remaining number of attempts for this stage are displayed in real time. Specifically: if there are 1 or more attempts remaining for this stage, a text message "Try again tomorrow" will be displayed; if there are 0 attempts remaining, no text message will be displayed, and this page allows you to jump to the leaderboard page to view your current ranking. Upon first submission, users can receive a participation certificate. Specifically, a pop-up window such as "Congratulations on receiving a certificate" will appear on the results page. Clicking "Claim" will display a preview of the certificate details. The certificate can be saved locally, and a message "Saved to local" will appear upon successful saving.
[0048] Images generated through a pre-defined image generation platform that meet pre-defined conditions can also be termed "creative generation" or "image generation," etc. Specifically, user entries for the competition must be images generated through an image generation platform (which can be an AI image generation platform). When generating images through the platform, users can first select a competition topic, for example, such as... Figure 3 The image generation page, shown below, includes the target questions, comprising five competition questions: "An astronaut playing golf on the lunar surface," "An orange cat catching a butterfly on a park bench while a child chases a golden balloon on the left," and "Two children flying a kite atop an Egyptian pyramid." The page also includes "Leaderboard" and "My" options, as well as "Change Image" and "Upload" buttons. Clicking the "Leaderboard" option will take you to the current competition leaderboard page. A countdown timer can be set below the title: Before the final leaderboard for each stage is released, it displays: "This stage will end on xx day xx hour xx minute xx second"; after the final leaderboards for stages one, two, and three are released, it displays: "This stage has ended. Please answer the questions for the next stage tomorrow at xx time"; and after the final leaderboard for the last stage is released, it displays: "This stage has ended. Thank you for your attention." Figure 3 The user selected the fourth competition topic, and then, based on that topic, they could generate an image that met the requirements of the competition topic using a preset image generation platform.
[0049] For images generated through a pre-defined image generation platform that meet pre-defined conditions, users can choose multiple competition topics to participate in. Each participation allows a maximum of K submissions, and each topic can be submitted a maximum of H times per stage, meaning each stage offers a maximum of L (where K, H, and L are positive integers) submission opportunities. The highest score within the same stage is taken as the total score for that stage. The competition topic randomization mechanism involves randomly selecting a corresponding number of topics from three databases (low, medium, and high difficulty) and assigning them to the user. The competition topic display and refresh mechanism involves topics provided by a designated organization, displaying multiple topics at a time, and refreshing the topics once per stage. Users are required to read and agree to the participation instructions before each submission. Submission file specifications may include restrictions on image format and image size.
[0050] When selecting a competition question, the page can include a list of competition questions and an entry to the scoring criteria. Clicking the scoring criteria entry will take you to the Help Center - Scoring Criteria, etc. When you have exhausted your attempt count, the question will be grayed out, and clicking it will display the message "You have exhausted your attempt count for this question. Try other questions." After selecting the corresponding competition question, clicking the "Upload" button will bring up a pop-up window with the competition instructions. If a certain time has not elapsed, the "Agree to the Agreement and Upload" button will be grayed out and unclickable. After the specified time has elapsed, clicking the "Agree to the Agreement and Upload" button will make the pop-up window disappear, and clicking the "Upload" button will redirect you to the System - Photo List page. The "Cancel" button in the competition instructions pop-up window can be clicked at any time, and clicking it will return you to the previous page.
[0051] When submitting, select the image to enter on the photo list page and confirm; on the final submission page, there is a second confirmation. When you click "Confirm Submission", a prompt will pop up saying "Please ensure that your entry includes the watermark generated by the platform". Click "Confirm and Submit to enter the results page"; click "Cancel" to return to the previous page.
[0052] The results page displays the score for this quiz and the remaining number of attempts for the day. Specifically: if there are still attempts remaining, a message will appear saying "Attempts exhausted, please participate in other competition questions"; if all attempts have been exhausted, a message will appear saying "Attempts exhausted"; if no score is received due to security model blocking, the score column will display "Provided a minor error, please resubmit." This page may also include: a leaderboard entry: allowing users to jump to the leaderboard page to view their current ranking; and a scoring criteria entry: allowing users to jump to the help center to view the scoring criteria.
[0053] The competition question list page for student users displays a "Free Raw Image Entry - Student Exclusive" entry. Clicking it will redirect you to a designated image generation mini-program, where users can generate their own images, save them locally, and then upload them for the competition. This entry is only displayed to student users.
[0054] Similarly, after submitting their work for the first time, users can receive a certificate. For regular users, the certificate details page displays a "Receive Student Certificate" button, which redirects to the student identity verification process; this button is not displayed for student users. Furthermore, other activities can be set up, such as rewarding participants with specified prizes (e.g., admission tickets to an event). Specific details can be set according to the actual situation, and this embodiment does not limit this.
[0055] In practical applications, the specific processing method for generating the target question based on the target user's identity type and the competition category selected by the target user in step S204 can vary. The following provides another optional processing method, which may specifically include the processing steps S2042 and S2044. Based on this, in the above... Figure 2 Based on this, the specific steps included in this method can be as follows: Figure 4 As shown.
[0056] In step S2042, based on the identity type of the target user and the competition category selected by the target user, a preset number of competition questions are extracted from different databases.
[0057] The databases can be of various types and can be set according to the actual situation. For example, different databases can be set up according to different fields, such as the financial field and the medical field. Alternatively, different databases can be set up according to the difficulty of the competition questions.
[0058] In implementation, the target user's identity type and the competition category selected by the target user can be used, along with other relevant information about the target user, to determine the field to which the questions the target user can answer belong. Then, a preset number of competition questions can be extracted from the corresponding database. For example, if the fields to which the questions the target user can answer include finance and artificial intelligence, then 5 competition questions can be selected from the database corresponding to the finance field, and 5 competition questions can be selected from the database corresponding to the artificial intelligence field, and so on.
[0059] In step S2044, target questions are constructed based on a preset number of competition questions extracted from different databases.
[0060] In practice, a preset number of competition questions extracted from different databases can be combined to obtain the target questions.
[0061] In practical applications, different databases are set up based on different difficulty levels, including low, medium and high difficulty.
[0062] In practice, for example, five competition problems can be selected from a low-difficulty database, three from a medium-difficulty database, and two from a high-difficulty database to form the target problem.
[0063] In practical applications, the specific processing method of the above step S202 can be varied. Here is another optional processing method, which may include the following: receiving a competition request generated by triggering the first link or the second link. The first link is the link corresponding to the ordinary class, and the second link is the link corresponding to the student class. The user identifier of the target user is determined based on the account information of the preset application.
[0064] In implementation, two types of links can be pre-defined: a first link and a second link. The first link can be set within a specified application, such as a financial application. The second link can be for a specific identity type; for example, it could be an offline link set up for students. The pre-defined application can be any application, such as a financial application or an instant messaging application, and can be set according to the actual situation.
[0065] Accordingly, the specific processing method for determining the identity type of the target user and the competition category of the preset competition projects that the target user can participate in based on the user identifier of the target user in step S204 can be varied. The following provides another optional processing method, which may specifically include the processing in steps S2046 and S2048. Based on this, in the above... Figure 2 Based on this, the specific steps included in this method can be as follows: Figure 5 As shown.
[0066] In step S2046, in response to the above-mentioned participation request, it is determined whether the target user authorizes the use of the account information of the preset application to participate in the preset competition project.
[0067] In step S2048, if so, the identity type of the target user and the competition category of the preset competition projects that the target user can participate in are determined based on the user identifier of the target user.
[0068] In practical applications, the competition request is generated through a triggering operation on the second link. Therefore, the specific processing method of step S2048 can vary. The following provides another optional processing method, which may include the processing of steps S20482 and S20484. Based on this, in the above... Figure 5 Based on this, the specific steps included in this method can be as follows: Figure 6 As shown.
[0069] In step S20482, if yes, then based on the account information of the preset application authorized by the target user, query whether the target user is a student in the preset authoritative student identity database.
[0070] The authoritative student identity database can include various types, such as databases of information on enrolled students built by individual schools, or, for example... Figure 7 As shown, it could be an authoritative student identity database such as the China Higher Education Student Information System (CHESICC), and the specific settings can be configured according to the actual situation.
[0071] In step S20484, if so, the identity type of the target user and the competition category of the preset competition projects that the target user can participate in are determined based on the user identifier of the target user.
[0072] This specification provides a data processing method. It involves receiving a participation request from a target user for a preset competition, the request including the target user's user identifier. The preset competition is a competition focused on attacking and defending against artificial intelligence. Then, based on the target user's user identifier, the method determines the target user's identity type and the competition category they can participate in within the preset competition. Based on the target user's identity type and selected competition category, a target question is generated. The identity type includes general and student categories. The target question corresponds to the selected competition category and matches the target user's identity type. The target question is then provided to the target user, and the method receives the user's submitted answer data. Finally, based on the answer data, a preset scoring model determines the answer score corresponding to the target user's selected competition category. The method then updates the answer ranking list for the selected competition category based on the answer score. By setting up a competition focused on attacking and defending against artificial intelligence, this method can improve the public's ability to identify AI-generated content, promote the use of innovative AI tools, collect AI synthesis data in real-world scenarios, and drive the application of AI detection technology in practical situations.
[0073] The above describes the data processing method provided in the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a data processing device, such as... Figure 8 As shown.
[0074] The data processing device includes: a request module 801, a question generation module 802, an answer module 803, and a scoring module 804, wherein: The request module 801 receives a participation request from a target user for a preset competition project. The participation request includes the user identifier of the target user. The preset competition project is a competition project targeting attacks and defenses against artificial intelligence. The question generation module 802 determines the identity type of the target user and the competition category of the preset competition projects that the target user can participate in based on the user identifier of the target user, and generates target questions based on the identity type of the target user and the competition category selected by the target user. The identity type includes ordinary type and student type. The target questions correspond to the competition category selected by the target user and match the identity type of the target user. The answer module 803 provides the target question to the target user and receives the answer data submitted by the target user. The scoring module 804 determines the answer score corresponding to the competition category selected by the target user based on the answer data through a preset scoring model, and updates the answer ranking list of the competition category selected by the target user based on the answer score corresponding to the competition category selected by the target user.
[0075] In the embodiments described in this specification, the device further includes: The leaderboard acquisition module retrieves the answer leaderboard for each competition category in the preset competition project when the preset competition end time is reached. The rewards module determines the winners list for each competition category and the reward information for each account in the reward list based on the obtained leaderboard for each competition category.
[0076] In this embodiment of the specification, the general class includes a first subclass, which is a subcategory corresponding to account information that is only allowed to participate in competition rankings. The reward module includes: The adjustment unit removes the account information belonging to the first subcategory from the answer leaderboard of each competition category to obtain the account sequence with competition ranking information corresponding to each competition category; The rewards unit determines the list of winners for each competition category based on the sequence of accounts with competition ranking information for each competition category.
[0077] In this embodiment of the specification, the competition categories in the preset competition project include categories corresponding to images generated from given images within a preset time period and categories corresponding to images generated through a preset image generation platform that meet preset conditions.
[0078] In this embodiment of the specification, the question generation module 802 includes: The question extraction unit extracts a preset number of competition questions from different databases based on the target user's identity type and the competition category selected by the target user. The target question construction unit constructs the target questions based on a preset number of competition questions extracted from different databases.
[0079] In the embodiments described in this specification, the different databases are set up based on different difficulty levels, including low difficulty, medium difficulty and high difficulty.
[0080] In this embodiment of the specification, the request module 801 receives a competition request generated by triggering an operation on a first link or a second link. The first link is a link corresponding to the ordinary class, and the second link is a link corresponding to the student class. The user identifier of the target user is determined based on the account information of a preset application. The question generation module 802 includes: The requesting unit responds to the participation request and determines whether the target user has authorized the use of the account information of the preset application to participate in the preset competition project; If so, the question generation unit determines the identity type of the target user and the competition category of the preset competition projects that the target user can participate in based on the user identifier of the target user.
[0081] In this embodiment of the specification, the participation request is generated by triggering the second link. If the question generation unit is a student, it queries a preset authoritative student identity database to see if the target user is a student based on the account information of the preset application authorized by the target user. If the target user is a student, it determines the identity type of the target user and the competition category of the preset competition project that the target user can participate in based on the user identifier of the target user.
[0082] For ease of description, the above devices are described by dividing them into various modules or units based on their functions. Of course, when implementing one or more embodiments of this specification, the functions of each module or unit can be implemented in one or more software and / or hardware components, or a module that performs the same function can be implemented by a combination of multiple sub-modules or sub-units, etc. The device embodiments described above are merely illustrative; the division of each module and unit is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or modules can be combined or integrated into another system, or some features can be ignored or not executed, etc.
[0083] This specification provides a data processing device that receives a participation request from a target user for a preset competition project. The participation request includes the target user's user identifier. The preset competition project is a competition targeting attacks and defenses against artificial intelligence. Then, based on the target user's user identifier, the device determines the target user's identity type and the competition category within the preset competition project that the target user can participate in. Based on the target user's identity type and the selected competition category, a target question is generated. The identity type includes ordinary and student categories. The target question corresponds to the selected competition category and matches the target user's identity type. The target question is then provided to the target user, and the device receives the target user's submitted answer data. Finally, based on the answer data, a preset scoring model determines the answer score corresponding to the target user's selected competition category. The device then updates the answer ranking list for the selected competition category based on the answer score. In this way, by setting up a competition targeting attacks and defenses against artificial intelligence, the device can improve the public's ability to identify AI-generated content, promote the use of innovative AI tools, collect AI synthesis data in real-world scenarios, and promote the application of AI detection technology in practical scenarios.
[0084] The above are the data processing apparatuses provided in the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a data processing device, such as... Figure 9 As shown.
[0085] The data processing device can provide terminal equipment or servers, etc., for the above embodiments.
[0086] Data processing devices can vary significantly in configuration and performance, and may include a communication interface 902, a user interface 904, a processor 906, and a data storage 908. These components are interconnected and communicate with each other via a system bus, network, or other connection mechanism 910. The communication interface 902 enables the data processing device 900 to communicate with other devices, access networks, and transmission networks via analog or digital modulation. For example, the communication interface 902 may include a chipset and antenna for wireless communication with a radio access network or access point. Furthermore, the communication interface 902 can be a wired interface such as Ethernet, Token Ring, or a USB port, or a wireless interface such as Wi-Fi, Bluetooth, Global Positioning System (GPS), or a wide-area wireless interface (e.g., WiMAX or LTE). Of course, the communication interface 902 may also support other forms of physical layer interfaces and standard or proprietary communication protocols. The communication interface 902 may also include multiple physical communication interfaces, such as Wi-Fi, Bluetooth, and wide-area wireless interfaces.
[0087] User interface 904 includes receiving user input and providing output to the user. Therefore, user interface 904 may include input components such as a keypad, keyboard, touch-sensitive or presence-sensitive panel, computer mouse, trackball, joystick, microphone, still camera, and video camera, and output components such as a display screen (which may be combined with a touch-sensitive panel), CRT, LCD, LED, display using DLP technology, printer, and other similar devices known or developed in the future. User interface 904 may also generate auditory output via speakers, speaker jacks, audio output ports, audio output devices, headphones, and other similar devices known or developed in the future. In some embodiments, user interface 904 may include software, circuitry, or other forms of logic capable of transmitting and receiving data from external user input / output devices. Additionally or alternatively, data processing device 900 may support remote access from other devices via communication interface 902 or another physical interface (not shown). User interface 904 may be configured to receive user input, the position and movement of which may be indicated by indicators or cursors described herein. User interface 904 may also be configured as a display device for rendering or displaying text fragments.
[0088] The processor 906 may contain one or more general-purpose processors and / or special-purpose processors.
[0089] Data storage 908 may include one or more volatile and / or non-volatile storage components and may be integrated wholly or partially with processor 906. Data storage 908 may include removable and non-removable components.
[0090] Processor 906 is capable of executing program instructions 918 (e.g., compiled or uncompiled program logic and / or machine code) stored in data storage 908 to perform the various functions described herein. Data storage 908 may contain a non-transitory computer-readable medium on which program instructions are stored, which, when executed by data processing device 900, enable data processing device 900 to perform any methods, processes, or functions disclosed in this specification and / or the accompanying drawings. Execution of program instructions 918 by processor 906 may result in processor 906 using data 912.
[0091] For example, program instructions 918 may include an operating system 922 (e.g., an operating system kernel, device drivers, and / or other modules) installed on the data processing device 900, and one or more application programs 920 (e.g., a browser, social application, or game application). Similarly, data 912 may include operating system data 916 and application data 914. Operating system data 916 is primarily accessible to the operating system 922, while application data 914 is primarily accessible to one or more application programs 920. Application data 914 may reside in a file system that is visible or hidden from the user of the data processing device 900.
[0092] Application 920 can communicate with operating system 912 through one or more application programming interfaces (APIs). These APIs help application 920 read and / or write application data 914, transmit or receive information via communication interface 902, receive or display information on user interface 904, etc.
[0093] In some terminology, application 920 may be simply referred to as "app". Furthermore, application 920 can be downloaded to data processing device 900 through one or more online app stores or app markets. However, applications can also be installed on data processing device 900 in other ways, such as through a web browser or a physical interface on data processing device 900 (e.g., a USB port).
[0094] Specifically, in this embodiment, the data processing device 900 includes a data storage 908 and one or more program instructions 918, wherein one or more program instructions 918 are stored in the data storage 908, and one or more program instructions 918 are configured to be executed by one or more processors. The one or more program instructions include computer-executable instructions for performing the following: Receive a participation request from a target user for a preset competition project. The participation request includes the user identifier of the target user. The preset competition project is a competition project targeting the attack and defense of artificial intelligence. Based on the user identifier of the target user, determine the identity type of the target user and the competition category of the preset competition projects that the target user can participate in. Based on the identity type of the target user and the competition category selected by the target user, generate target questions. The identity type includes ordinary type and student type. The target questions correspond to the competition category selected by the target user and match the identity type of the target user. Provide the target questions to the target user and receive the answer data submitted by the target user; Based on the answer data, the answer score corresponding to the competition category selected by the target user is determined by a preset scoring model, and the answer ranking list of the competition category selected by the target user is updated based on the answer score corresponding to the competition category selected by the target user.
[0095] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the data processing device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0096] This specification provides a data processing device that receives a participation request from a target user for a preset competition project. The request includes the target user's user identifier. The preset competition project is a competition focused on attacking and defending against artificial intelligence. Then, based on the target user's user identifier, the device determines the target user's identity type and the competition category within the preset competition project the target user can participate in. Based on the target user's identity type and the selected competition category, a target question is generated. The identity type includes general and student categories. The target question corresponds to the selected competition category and matches the target user's identity type. The target question is then provided to the target user, and the device receives the user's submitted answer data. Finally, based on the answer data, a preset scoring model determines the answer score corresponding to the target user's selected competition category. The device then updates the answer ranking list for the selected competition category based on the answer score. By setting up a competition focused on attacking and defending against artificial intelligence, this device can improve the public's ability to identify AI-generated content, promote the use of innovative AI tools, collect AI synthesis data in real-world scenarios, and promote the application of AI detection technology in practical situations.
[0097] Furthermore, based on the above Figures 1 to 7 This specification also provides a storage medium for storing computer-executable instruction information in one or more embodiments. In one specific embodiment, the storage medium may be a USB flash drive, optical disc, hard disk, etc. When the computer-executable instruction information stored in the storage medium is executed by a processor, it can realize the following process: Receive a participation request from a target user for a preset competition project. The participation request includes the user identifier of the target user. The preset competition project is a competition project targeting the attack and defense of artificial intelligence. Based on the user identifier of the target user, determine the identity type of the target user and the competition category of the preset competition projects that the target user can participate in. Based on the identity type of the target user and the competition category selected by the target user, generate target questions. The identity type includes ordinary type and student type. The target questions correspond to the competition category selected by the target user and match the identity type of the target user. Provide the target questions to the target user and receive the answer data submitted by the target user; Based on the answer data, the answer score corresponding to the competition category selected by the target user is determined by a preset scoring model, and the answer ranking list of the competition category selected by the target user is updated based on the answer score corresponding to the competition category selected by the target user.
[0098] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the above-described storage medium embodiment is basically similar to the method embodiment, so the description is relatively simple; relevant parts can be referred to the description of the method embodiment.
[0099] This specification provides a storage medium that receives a participation request from a target user for a preset competition project. The participation request includes the target user's user identifier. The preset competition project is a competition focused on attacking and defending against artificial intelligence. Then, based on the target user's user identifier, the system can determine the target user's identity type and the competition category within the preset competition project that the target user can participate in. Based on the target user's identity type and the selected competition category, target questions are generated. The identity type includes ordinary and student categories. The target questions correspond to the selected competition category and match the target user's identity type. The target questions are then provided to the target user, and the system receives the target user's submitted answer data. Finally, based on the answer data, a preset scoring model determines the answer score corresponding to the target user's selected competition category. The system then updates the answer ranking list for the target user's selected competition category based on the answer score. In this way, by setting up a competition focused on attacking and defending against artificial intelligence, the system can improve the public's ability to identify AI-generated content, promote the use of innovative AI tools, collect AI synthesis data in real-world scenarios, and promote the application of AI detection technology in practical scenarios.
[0100] Furthermore, based on the above Figures 1 to 7This specification also provides one or more embodiments of a computer program product, including a computer program, which, when executed by a processor, can perform the following processes: Receive a participation request from a target user for a preset competition project. The participation request includes the user identifier of the target user. The preset competition project is a competition project targeting the attack and defense of artificial intelligence. Based on the user identifier of the target user, determine the identity type of the target user and the competition category of the preset competition projects that the target user can participate in. Based on the identity type of the target user and the competition category selected by the target user, generate target questions. The identity type includes ordinary type and student type. The target questions correspond to the competition category selected by the target user and match the identity type of the target user. Provide the target questions to the target user and receive the answer data submitted by the target user; Based on the answer data, the answer score corresponding to the competition category selected by the target user is determined by a preset scoring model, and the answer ranking list of the competition category selected by the target user is updated based on the answer score corresponding to the competition category selected by the target user.
[0101] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the above-described embodiment of a computer program product is relatively simple in description because it is fundamentally similar to the method embodiment; relevant parts can be referred to the description of the method embodiment.
[0102] This specification provides a computer program product that receives a participation request from a target user for a preset competition project. The participation request includes the target user's user identifier. The preset competition project is a competition targeting attacks and defenses against artificial intelligence. Then, based on the target user's user identifier, the system determines the target user's identity type and the competition category within the preset competition project that the target user can participate in. Based on the target user's identity type and the selected competition category, the system generates target questions. The identity type includes general and student categories. The target questions correspond to the selected competition category and match the target user's identity type. The system then provides the target questions to the target user and receives the user's submitted answer data. Finally, based on the answer data, a preset scoring model determines the answer score corresponding to the target user's selected competition category. The system updates the answer ranking list for the selected competition category based on the answer score. In this way, by setting up a competition targeting attacks and defenses against artificial intelligence, the system can improve the public's ability to identify AI-generated content, promote the use of innovative AI tools, collect AI synthesis data in real-world scenarios, and promote the application of AI detection technology in practical scenarios.
[0103] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than those shown in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are possible or may be advantageous. Moreover, although one or more embodiments of this specification provide method steps as described in the embodiments or flowcharts, it is understood that the order of steps listed in the embodiments or flowcharts is merely one possible execution order among many steps and does not represent the only execution order. Therefore, when method steps are involved in the claims, adjustments to the order of those steps, or parallelism between steps, are also within the scope of protection of the claims.
[0104] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0105] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0106] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0107] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0108] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0109] The embodiments described herein are illustrated with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0110] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0111] These computer program instructions may also be loaded onto a computer or other programmable device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0113] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0114] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0115] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical or equivalent elements in the process, method, article, or apparatus that includes said element. Furthermore, "a," "an," and "the" are not specifically singular and may include plural forms. Ordinal numbers such as "first," "second," etc., do not necessarily indicate order; they are often used to distinguish objects. For example, "first server" and "second server" usually refer to two servers, described as "first server" and "second server" to differentiate them; however, sometimes these two servers may be the same server. Moreover, in this specification, unless explicitly stated otherwise, "receiving and sending data" does not necessarily mean direct receiving and sending; it can be indirect receiving and sending (i.e., receiving and sending indirectly through one or more entities). Similarly, in this specification, unless otherwise stated, the relationships between structures can be direct or indirect.
[0116] Furthermore, the specific terms used in this specification to describe embodiments, such as "an embodiment," "one embodiment," or "some embodiments," refer to a particular feature, structure, or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "an embodiment," "one embodiment," or "an alternative embodiment" mentioned twice or more in different locations in this specification do not necessarily refer to the same embodiment. Moreover, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples, without contradiction.
[0117] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0118] One or more embodiments of this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. One or more embodiments of this specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0119] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0120] The above description is merely an embodiment of this specification and is not intended to limit this document. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims in this document.
Claims
1. A data processing method, the method comprising: Receive a participation request from a target user for a preset competition project. The participation request includes the user identifier of the target user. The preset competition project is a competition project targeting the attack and defense of artificial intelligence. Based on the user identifier of the target user, determine the identity type of the target user and the competition category of the preset competition projects that the target user can participate in, and generate target questions based on the identity type of the target user and the competition category selected by the target user. The identity type includes ordinary type and student type. The target questions correspond to the competition category selected by the target user and match the identity type of the target user. Provide the target questions to the target user and receive the answer data submitted by the target user; Based on the answer data, the answer score corresponding to the competition category selected by the target user is determined by a preset scoring model, and the answer ranking list of the competition category selected by the target user is updated based on the answer score corresponding to the competition category selected by the target user.
2. The method according to claim 1, further comprising: When the preset competition end time is reached, obtain the answer leaderboard for each competition category in the preset competition project; Based on the obtained answer leaderboard for each competition category, determine the winners list for each competition category and the reward information corresponding to each account in the reward list.
3. The method according to claim 2, wherein the general class includes a first subclass, the first subclass being a subcategory corresponding to account information that is only allowed to participate in competition ranking, and the step of determining the winner list corresponding to each competition category based on the obtained answer ranking list for each competition category includes: Remove the account information belonging to the first subcategory from the answer leaderboard of each competition category to obtain the account sequence with competition ranking information for each competition category; Based on the obtained account sequence with competition ranking information for each competition category, the list of winners for each competition category is determined.
4. The method according to claim 1, wherein the competition categories in the preset competition project include categories corresponding to images generated from given images within a preset time period and categories corresponding to images generated through a preset image generation platform that meet preset conditions.
5. The method according to claim 1, wherein generating the target question based on the identity type of the target user and the competition category selected by the target user includes: Based on the target user's identity type and the competition category selected by the target user, a preset number of competition questions are extracted from different databases. The target questions are constructed based on a predetermined number of competition questions extracted from different databases.
6. The method according to claim 5, wherein the different databases are databases set up based on different difficulty levels, and the different difficulty levels include low difficulty, medium difficulty and high difficulty.
7. The method according to claim 6, wherein receiving a target user's request to participate in a preset competition project includes: Receive a competition request generated by triggering an operation on a first link or a second link, wherein the first link is a link corresponding to the ordinary class and the second link is a link corresponding to the student class, and the user identifier of the target user is determined based on the account information of a preset application; The step of determining the identity type of the target user and the competition category of the preset competition projects that the target user can participate in based on the user identifier of the target user includes: In response to the participation request, determine whether the target user has authorized the use of the account information of the preset application to participate in the preset competition project; If so, the identity type of the target user and the competition category of the preset competition projects that the target user can participate in are determined based on the user identifier of the target user.
8. The method according to claim 7, wherein the participation request is generated by triggering an operation on a second link, and if so, determining the identity type of the target user and the competition category of the preset competition projects that the target user can participate in based on the user identifier of the target user includes: If so, based on the account information of the preset application authorized by the target user, query the preset authoritative student identity database to see if the target user is a student; If so, the identity type of the target user and the competition category of the preset competition projects that the target user can participate in are determined based on the user identifier of the target user.
9. A data processing apparatus, the apparatus comprising: The request module receives a participation request from a target user for a preset competition project. The participation request includes the user identifier of the target user. The preset competition project is a competition project targeting attacks and defenses against artificial intelligence. The question generation module determines the target user's identity type and the competition category among the preset competition projects that the target user can participate in based on the target user's user identifier, and generates target questions based on the target user's identity type and the competition category selected by the target user. The identity type includes ordinary type and student type. The target questions correspond to the competition category selected by the target user and match the target user's identity type. The question-answering module provides the target question to the target user and receives the answer data submitted by the target user. The scoring module determines the answer score corresponding to the competition category selected by the target user based on the answer data through a preset scoring model, and updates the answer ranking list of the competition category selected by the target user based on the answer score corresponding to the competition category selected by the target user.
10. A data processing apparatus, the data processing apparatus comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to: Receive a participation request from a target user for a preset competition project. The participation request includes the user identifier of the target user. The preset competition project is a competition project targeting the attack and defense of artificial intelligence. Based on the user identifier of the target user, determine the identity type of the target user and the competition category of the preset competition projects that the target user can participate in, and generate target questions based on the identity type of the target user and the competition category selected by the target user. The identity type includes ordinary type and student type. The target questions correspond to the competition category selected by the target user and match the identity type of the target user. Provide the target questions to the target user and receive the answer data submitted by the target user; Based on the answer data, the answer score corresponding to the competition category selected by the target user is determined by a preset scoring model, and the answer ranking list of the competition category selected by the target user is updated based on the answer score corresponding to the competition category selected by the target user.