A collaborative competition platform management method based on a code cloud hosting platform

By combining the competition platform with the code cloud hosting platform, the problems of competition data management and access control were solved, enabling efficient management of competition code and convenient tracking by expert judges, thus improving the efficiency of online competitions.

CN115033867BActive Publication Date: 2026-05-26PEKING UNIV SHENZHEN GRADUATE SCHOOL

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
PEKING UNIV SHENZHEN GRADUATE SCHOOL
Filing Date
2022-06-07
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

The existing competition management platform is disconnected from the code cloud hosting platform, resulting in low efficiency in managing competition data, inconsistent code running environments, difficulties in permission management, and difficulty for expert judges to track historical versions of the competition code.

Method used

By combining the competition platform's user system with the code cloud hosting platform's user system, user registration and login binding are achieved. Repositories are created and permissions are managed on the code cloud hosting platform, including permission list maintenance, submission of competition code, and management of reading/open source permissions.

Benefits of technology

It improved the efficiency of operation permission management for participating teams, enhanced the competition platform's open-source permission control over the participating code, and enabled expert judges to effectively track the problem-solving logic and version iteration process of the participating code, thereby improving the work efficiency of participating users, expert judges, and platform administrators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115033867B_ABST
    Figure CN115033867B_ABST
Patent Text Reader

Abstract

This method for managing competition platforms based on collaborative code hosting platforms includes the joint collaboration between the regular competition platform user system and the code hosting platform user system, as well as the creation and permission management of code hosting platform repositories. The joint collaboration between the regular competition platform user system and the code hosting platform user system includes: S1. Accessing the code hosting platform user system, including two basic operations: user registration and user login and binding; S2. Processing existing users. The code hosting platform repository creation and permission management includes: maintaining the code hosting platform repository permission list; submitting competition code from the code hosting platform repository address; and managing read permissions and open-source permissions. This method can simultaneously improve the efficiency of participating users, expert judges, and platform administrators, which is of great significance for promoting the vigorous development of online scientific research competitions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of artificial intelligence, and in particular, to a method for managing a competition platform based on collaborative collaboration using a code cloud hosting platform. Background Technology

[0002] Online competitions related to artificial intelligence are open to the public. They abstract tasks closely related to practical applications and provide a large amount of real-world data to set the competition questions. These competitions encourage researchers to apply cutting-edge technologies to practical applications, thereby promoting a virtuous cycle between scientific research and productivity. At the same time, these activities strengthen academic exchange among researchers and have a significant incentive effect on technological innovation and interdisciplinary studies.

[0003] Business needs are the obstacle to connecting the competition management platform and the code cloud hosting platform. The functions of the code management platform should be correspondingly matched and integrated with the operation of the competition management platform, so as to improve the relevant work efficiency of participants, competition platform operators and expert judges during the competition.

[0004] The main problems with current technologies are that general competition management platforms only provide participating users (teams) with basic competition information, data download, and code submission windows. The management of competition data, runtime environments, and code is left to the users themselves. This fragmentation leads to inefficient user management of code repository permissions and easily results in problems such as difficulty downloading large training data, inconsistent code runtime environments, and slow code uploads. For competition platform administrators, it is also difficult to uniformly manage user permissions and handle open-source processing of user code. Furthermore, for third-party expert judges, the inability to directly access historical versions of the competition code repository makes judging the submitted code difficult.

[0005] The current difficulty in solving the above problems lies in how to design a user-friendly code cloud hosting platform user system access scheme, and how to match code repository permissions with user identities (including platform administrators, participating users, and expert judges).

[0006] Therefore, the significance of solving the above problems and shortcomings is that if the competition management platform and the code cloud hosting platform can collaborate, the work efficiency of participating users, platform administrators and expert judges can be improved simultaneously, which is of great significance for promoting the vigorous development of online scientific research competitions. Summary of the Invention

[0007] This invention provides a collaborative competition platform management method based on a code cloud hosting platform. It improves the efficiency of managing the operation permissions of participating teams' code during the competition, and enhances the open-source permission control of the competition platform for each team's code. It also facilitates expert judges in tracking the problem-solving logic and version iteration process of the participating code, thereby simultaneously improving the efficiency of participating users, expert judges, and platform administrators. This is of great significance for promoting the vigorous development of online scientific research competitions.

[0008] The technical solution of the present invention is as follows:

[0009] The present invention provides a collaborative competition platform management method based on a code cloud hosting platform. This method includes collaborative operation between a regular competition platform user system and a code cloud hosting platform user system, as well as code cloud hosting platform repository creation and permission management. The collaborative operation includes: accessing the code cloud hosting platform user system, which involves user registration, login, and binding existing users. The code cloud hosting platform repository creation and permission management includes three modules: maintaining the code cloud hosting platform repository permission list; submitting competition code from the code cloud hosting platform repository address; and managing reading and open-source permissions. These three modules are relatively independent and do not have a specific temporal order.

[0010] Preferably, in the above-mentioned competition platform management method based on the joint collaboration of the code cloud hosting platform, when users register, they are required to fill in three fields: username, password, and email. The legality of these fields is first verified on the competition platform. Users who fail the legality verification are not allowed to register, while users who pass the verification are registered by calling the code cloud hosting platform interface and the registration result is fed back to them.

[0011] Preferably, in the above-mentioned competition platform management method based on the joint collaboration of the code cloud hosting platform, during the user login and binding process, the original login method of the competition platform is abandoned, and the user system of the code cloud hosting platform is used for access. In this case, the user database should be completely retained, only the login method is modified, and the user information logged in from the code cloud hosting platform is mapped to the original user database.

[0012] Preferably, in the above-mentioned competition platform management method based on the joint collaboration of the code cloud hosting platform, in the original user processing, two operation schemes are used to convert the competition management platform users into code cloud hosting platform users: for passwords stored in plaintext, the corresponding user information is directly imported into the code cloud hosting platform to register the user; for passwords stored in encrypted fields, the method of resetting random passwords for existing users is selected to register in the code cloud hosting platform user system.

[0013] Preferably, in the above-mentioned competition platform management method based on collaborative code cloud hosting platform, the maintenance of the code cloud hosting platform repository permission list includes: after the competition management platform administrator creates a competition segment, the competition management platform backend automatically creates an organization on the code cloud hosting platform to include the repositories of each participating team; automatically creates a code cloud hosting platform repository for each legitimate participating team participating in different tracks; grants access permissions to the team members' repositories and synchronizes the team formation status on the competition platform in real time to ensure that the permission status of the code cloud hosting platform repository is consistent with it; and the competition platform administrator has the permission to open source contestant repositories.

[0014] Preferably, in the above-mentioned competition platform management method based on joint collaboration of code cloud hosting platform, submitting competition code directly from the code cloud hosting platform repository address includes: when submitting files, contestants can choose to fill in the address of a repository to replace uploading from the local machine. When contestants submit, the competition platform first automatically checks whether the contestant has the permissions to the repository. If not, i.e., an incorrect repository address is submitted, the transmission is rejected.

[0015] Preferably, in the above-mentioned competition platform management method based on joint collaboration of code cloud hosting platform, the management of reading permissions and open source permissions includes: at the beginning of the code review phase, the competition platform grants third-party expert judges reading permissions through the management permissions of the participating code repository, and after the code review phase ends, it revokes the granted reading permissions in batches; and after the competition ends, it open-sources all participating code in batches according to the rules formulated in the competition agenda, so as to accept public supervision and reuse.

[0016] The beneficial effects of the technical solution of the present invention are as follows:

[0017] This invention presents a collaborative competition platform management method based on a code cloud hosting platform. This method integrates the competition platform and the code cloud hosting platform, enabling unified collaboration between participating teams and project code repositories, thus improving user participation efficiency. By granting reading permissions to third-party expert judge repositories, it allows for effective tracking of the problem-solving logic and version iteration process of the competition code, improving code review efficiency. This invention also provides a solution for new users of the competition platform and existing users transitioning to the code cloud hosting platform. It automatically creates a competition code repository for each participating team on the code cloud hosting platform and sets the competition platform's system administrator as the permission administrator for the competition repository, enabling automated management of permissions for the competition repository and reducing the burden on participating teams to manually manage permissions.

[0018] To better understand and illustrate the concept, working principle, and effects of this invention, the invention will be described in detail below with reference to the accompanying drawings and specific embodiments: Attached Figure Description

[0019] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below.

[0020] Figure 1 This is a flowchart of the basic operations required for user registration to access the code cloud hosting platform's user system;

[0021] Figure 2 This is a flowchart illustrating the basic operations required for user system access on the code cloud hosting platform, including user login and binding.

[0022] Figure 3 This is a screenshot showing the page where warehouse information is synchronized to team information;

[0023] Figure 4 This is a screenshot of the submission module page;

[0024] Figure 5 This is a schematic diagram of the overall interaction process between the competition management platform and the code cloud hosting platform of this invention. Detailed Implementation

[0025] To make the objectives, technical methods, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific examples. These examples are merely illustrative and not intended to limit the scope of the invention.

[0026] To overcome the barriers between the competition management platform and the code cloud hosting platform, this invention achieves this through two aspects: collaboration with the code cloud hosting platform's user system and its subsystems. Firstly, by upgrading both new and existing users to code cloud hosting platform users, this invention unifies participant information, allowing users to enjoy the convenience of code management on the code management platform while competing on the competition platform. Users also gain open-source access to the competition code repository through authorization from the code cloud management platform, providing support for subsequent integration with the code cloud hosting platform's subsystems. Secondly, this invention adjusts user permissions on the code repository based on the different operations of participating teams. During the expert judging phase, expert judges are granted reading permissions to the code repository, and the competition platform administrator is provided with an open-source management interface for the competition repository code. Finally, during the code submission phase, participating teams are allowed to directly obtain code from their respective repositories.

[0027] The competition platform management method based on collaborative collaboration using a code cloud hosting platform, as described in this invention, consists of two aspects: collaborative collaboration with the code cloud hosting platform's user system and the creation and permission management of code cloud hosting platform repositories. Details are as follows.

[0028] 1. Integrate the user systems of the regular competition platform and the code cloud hosting platform.

[0029] The user system of the regular competition platform is modified and adjusted to collaborate with the user system of the code cloud hosting platform. This is specifically divided into two modules: the code cloud hosting platform user system access module and the existing user processing module. By embedding these two modules into the regular competition platform user system, the standardization, integration, and processing of user information from the code cloud hosting platform can be easily achieved. The collaborative integration of the regular competition platform user system and the code cloud hosting platform user system includes the following steps:

[0030] S1. User system access to the code cloud hosting platform includes two basic operations: user registration and user login and binding.

[0031] User registration. During registration, users are required to fill in three fields: username, password, and email address. First, the competition platform verifies the validity of these fields. The verification specifically includes: 1. The email address must be valid; 2. The username must consist of English letters, numbers, and underscores, and cannot contain illegal characters; 3. The password must contain letters and numbers; 4. The two passwords must match; 5. Users must agree to the "User Notice and Agreement." Users who fail the validity verification will not be registered. For users who pass, the code cloud hosting platform API is used to register their accounts, and the registration result is sent to them. The flowchart is as follows: Figure 1 As shown, the process includes the contestant initiating registration and filling in information, the backend initiating a request, and the code cloud hosting platform server responding to the request and receiving feedback. The result is either: registration successful if passed; or registration failed if rejected, and the reason for the failure is provided to the user.

[0032] User login and binding. The original login method of the competition platform will be abandoned, and the user system of the code cloud hosting platform will be used for access. Considering that participating users still need to complete functions such as submission and team formation on the competition platform, the user database should be fully retained, only the login method should be modified, and the user information logged in from the code cloud hosting platform should be mapped to the original user database.

[0033] The login process using the CodeCloud hosting platform's user system is as follows: 1. When a user clicks "Login," the system initiates authentication via the CodeCloud hosting platform's public authorization protocol. 2. It checks whether the user is already logged into their CodeCloud hosting platform account and whether they have authorized the account. 3. If yes, the check passes, and the CodeCloud hosting platform returns the user's identity information (userid), automatically retrieving user information and completing the login process on the competition platform. If no, the CodeCloud hosting platform account login page pops up, checking if the user is already logged in. If yes, authorization is requested, and user information is automatically retrieved for successful login. If no, login is required, checking if authorization has been granted. If not, authorization is requested, and if yes, user information is automatically retrieved for successful login. The flowchart is as follows: Figure 2 As shown.

[0034] For users who have successfully logged in, if it is their first login, the user will be created in the competition platform database. If it is not their first login, the corresponding user login information will be automatically granted.

[0035] S2. Existing User Handling. Considering the possibility of existing users in the current system, this invention designs a migration scheme for these users. Registering a user on the code cloud hosting platform requires the following three pieces of information: username, email, and password. For existing users, the user information field includes the following three pieces of information: username, email, and password. Based on how the competition platform stores passwords from existing user information, two operational methods are used to convert competition management platform users to code cloud hosting platform users:

[0036] For passwords stored in plaintext, the user's corresponding information is directly imported into the CodeCloud hosting platform for user registration. If registration is successful, an email notification is sent stating, "The user has been upgraded to a CodeCloud hosting platform user. Please log in to the competition platform using your CodeCloud hosting platform account." If registration fails, it means the user already has a corresponding user on the CodeCloud hosting platform and does not need to register again. In this case, an email notification is sent stating, "Your CodeCloud hosting platform account and competition platform account have been merged. Please log in to the competition platform using your CodeCloud hosting platform account."

[0037] For passwords stored in encrypted fields, due to security concerns, the plaintext password cannot be recovered. Therefore, we choose to reset random passwords for existing users during registration in the CodeCloud hosting platform user system. If registration is successful, an email will be sent notifying the user that "Your user has been upgraded to a CodeCloud hosting platform user, and your password has been reset to XXXX. Please change it promptly." If registration fails, it means the user already has a corresponding user on the CodeCloud hosting platform and does not need to register again. In this case, an email will be sent notifying the user that "Your CodeCloud hosting platform account and competition platform account have been merged. You can use your CodeCloud hosting platform account to log in to the competition platform."

[0038] II. Code Cloud Hosting Platform Repository Creation and Permission Management

[0039] The integration of the code cloud hosting platform subsystem can significantly reduce the burden on participating teams and contestants in managing and processing their code. Simultaneously, the competition platform can easily provide expert judges and third parties with access to the code repository. The code cloud hosting platform is equivalent to the code cloud management platform subsystem, but from a different perspective. When the code cloud hosting platform is integrated with the competition management platform, it becomes a subsystem of the competition management platform. Finally, the competition platform can easily manage access permissions for participating teams' code uniformly. The integration scheme of the code cloud hosting platform subsystem of this invention can be specifically divided into three modules: maintaining the code cloud hosting platform repository permission list; submitting participating code from the code cloud hosting platform repository address; and managing reading permissions and open-source permissions. These three modules are relatively independent and do not have a clear chronological order. Among them:

[0040] Maintaining the repository permission list on the code cloud hosting platform, such as... Figure 5 As shown, the process includes: 1. After the competition management platform administrator creates a competition segment, the competition management platform backend automatically creates an organization on the code cloud hosting platform to collect the repositories of each participating team. 2. A code cloud hosting platform repository is automatically created for each legitimate participating team participating in different tracks. 3. Access permissions are granted to team members' repositories, and the team formation status on the competition platform is synchronized in real time to ensure that the permissions of the code cloud hosting platform repository are consistent with them. 4. The competition platform administrator has permissions to open-source contestant repositories. The permission management mode of the code cloud hosting platform repository permission list maintenance scheme is as follows: 1. The competition platform system administrator is the permission administrator for the participating repositories, while contestants cannot directly manage permissions on the code cloud hosting platform. 2. When team members change, the corresponding interface will be automatically triggered, and the competition platform backend will use the system administrator's permissions to initiate corresponding personnel adjustments to the code cloud hosting platform repository. The repository information will be synchronized to the team information page, as illustrated in the diagram. Figure 3 As shown. The specific team-related operations and warehouse personnel adjustment operations correspond as follows: Create a new team - Create a warehouse; A player applies to join the team, and the team leader approves the application - Grant warehouse permissions to the player; A player leaves the team, or the team leader removes a player - Revoke the player's warehouse permissions; The team leader disbands the team - Revoke warehouse permissions for all players.

[0041] Submitting competition code directly from the code hosting platform repository address includes the option for participants to choose a repository address instead of uploading locally. Upon submission, the competition platform automatically verifies whether the participant has the necessary permissions for the repository; if not (i.e., an incorrect repository address is submitted), the transmission is rejected. A screenshot of the submission module page is shown below. Figure 4 As shown.

[0042] Reading and open-source permission management includes: 1. At the start of the code review phase, the competition platform grants third-party expert judges reading permissions through the management permissions of the participating code repositories, and revokes these permissions in batches after the code review phase ends. 2. After the competition concludes, all participating code will be open-sourced in batches according to the rules outlined in the competition agenda, allowing for public oversight and reuse.

[0043] To facilitate the competition platform's management of the code review phase, the administrator page allows granting different third-party expert judges reading permissions for each participating repository. This includes downloading code from the current repository and access to historical versions. This improves the efficiency of the expert judges' code reviews and enables them to efficiently track the teams' problem-solving process based on historical versions. After the code review phase, the administrator page can revoke all previously granted reading permissions in batches for standardized and unified management.

[0044] During the new competition stage, to meet the competition platform's management of open-source permissions for submitted code, the administrator page can configure the "Open Source Options": 1. Mandatory Open Source: When submitting submitted code, teams cannot select the "Not Open Source" option in the open source license section, and must choose their own open source license (the default is the "Qizhi Open Source License"); 2. Optional Open Source: When submitting submitted code, the team leader can choose any open source license or the "Not Open Source" option in the open source license section; 3. Not Open Source: When submitting, teams can only select "Not Open Source" in the open source license section.

[0045] At the end of the competition segment, the administrator performs the "Open Source for this Segment" operation on the platform management terminal. After clicking, a warning message should pop up: "Open source will make team repositories accessible. Do you want to continue? If the competition is not yet over, doing so may affect the fairness of the competition!" Once the administrator confirms, all repositories in the segment will be open sourced according to the players' wishes (players cannot select "Do not open source" for those that must be open sourced). The system administrator account will then use the competition platform's backend to send commands in batches to the code cloud hosting platform to set the repositories to public. Simultaneously, the competition platform's leaderboard page will update the download links for each participating team's final code and the corresponding repository links.

[0046] This invention provides a method for collaboration between a joint competition management platform and a code cloud hosting platform, which can simultaneously improve the efficiency of participating users, expert judges, and platform administrators. This is of great significance for promoting the vigorous development of online scientific research competitions.

[0047] The above description represents the preferred embodiment based on the inventive concept and working principle. The above embodiments should not be construed as limiting the scope of protection of these claims; other embodiments and combinations of implementations based on the inventive concept are all within the scope of protection of this invention.

Claims

1. A competition platform management method based on code cloud hosting platform joint cooperation, characterized in that, This includes the joint collaboration between the user systems of the regular competition platform and the code cloud hosting platform, as well as the creation and permission management of code cloud hosting platform repositories. The joint collaboration between the regular competition platform user system and the code cloud hosting platform user system includes: access to the code cloud hosting platform user system, which includes user registration, login and binding; handling of existing users; and the creation and permission management of the code cloud hosting platform repository, which includes three modules: maintenance of the code cloud hosting platform repository permission list; submission of competition code from the code cloud hosting platform repository address; and management of reading permissions and open source permissions. These three modules are relatively independent and do not have a clear time order. The maintenance of the code cloud hosting platform repository permission list includes: after the competition management platform administrator creates a competition segment, the competition management platform backend automatically creates an organization on the code cloud hosting platform to include the repositories of each participating team; automatically creates a code cloud hosting platform repository for each legitimate participating team participating in different tracks; grants access permissions to the team members' repositories and synchronizes the team formation status on the competition platform in real time to ensure that the permission status of the code cloud hosting platform repository is consistent with it; and the competition platform administrator has permission to open-source contestant repositories. During user registration, users are required to fill in three fields: username, password, and email. The validity of these fields is first verified on the competition platform. Users who fail the validity verification are not allowed to register, while users who pass the verification are registered using the code cloud hosting platform interface, and the registration result is fed back to them. During the user login and binding process, the original login method of the competition platform is abandoned, and the user system of the code cloud hosting platform is used for access. The user database should be completely retained, only the login method is modified, and the user information logged in from the code cloud hosting platform is mapped to the original user database. In the original user processing, two operation schemes are used to convert competition management platform users into code cloud hosting platform users: for passwords stored in plaintext, the corresponding user information is directly imported into the code cloud hosting platform to register the user; for passwords stored in encrypted fields, the method of resetting random passwords for existing users is selected to register them in the code cloud hosting platform user system. The management of reading and open-source permissions includes: at the beginning of the code review phase, the competition platform grants reading permissions to third-party expert judges through the management permissions of the participating code repositories, and after the code review phase ends, it revokes the granted reading permissions in batches; and after the competition ends, it open-sources all participating code in batches according to the rules formulated in the competition agenda, so as to accept public supervision and reuse.

2. The competition platform management method based on the code cloud hosting platform joint cooperation according to claim 1, characterized in that, in, The submission of competition code directly from the code cloud hosting platform repository address includes: when submitting files, contestants can choose to fill in the address of a repository to replace uploading from their local machine. When contestants submit, the competition platform will first automatically check whether the contestant has the permissions to the repository. If not, i.e., an incorrect repository address is submitted, the transmission will be rejected.