[go: up one dir, main page]

CN112650663B - A code processing method, device, equipment and medium - Google Patents

A code processing method, device, equipment and medium Download PDF

Info

Publication number
CN112650663B
CN112650663B CN201910962474.7A CN201910962474A CN112650663B CN 112650663 B CN112650663 B CN 112650663B CN 201910962474 A CN201910962474 A CN 201910962474A CN 112650663 B CN112650663 B CN 112650663B
Authority
CN
China
Prior art keywords
code
codes
user
quality inspection
row
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910962474.7A
Other languages
Chinese (zh)
Other versions
CN112650663A (en
Inventor
周静
马钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN201910962474.7A priority Critical patent/CN112650663B/en
Publication of CN112650663A publication Critical patent/CN112650663A/en
Application granted granted Critical
Publication of CN112650663B publication Critical patent/CN112650663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3604Analysis of software for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请公开了一种代码处理方法、装置、设备及介质,应用于计算机技术领域,用以实现对质量检测结果的自动分发,提高质量检测结果的分发效率。具体为:获取待检测的代码仓库;对代码仓库进行质量检测,得到代码仓库中的各行问题代码的质量检测结果;基于各行问题代码的代码提交用户标识,分别创建质检授权用户;分别将各行问题代码的质量检测结果分发至相应的质检授权用户。这样,通过获取各行问题代码的代码提交用户标识,并基于各行问题代码的代码提交用户标识,分别创建质检授权用户,使得代码检测平台可以将各行问题代码的质量检测结果分别分发至相应的质检授权用户,从而实现了质量检测结果的自动化分发,提高了质量检测结果的分发效率。

The present application discloses a code processing method, device, equipment and medium, which are applied in the field of computer technology to realize the automatic distribution of quality inspection results and improve the distribution efficiency of quality inspection results. Specifically, the following steps are: obtaining the code repository to be inspected; performing quality inspection on the code repository to obtain the quality inspection results of each line of problem code in the code repository; creating quality inspection authorized users based on the code submission user identifier of each line of problem code; and distributing the quality inspection results of each line of problem code to the corresponding quality inspection authorized users. In this way, by obtaining the code submission user identifier of each line of problem code, and creating quality inspection authorized users based on the code submission user identifier of each line of problem code, the code inspection platform can distribute the quality inspection results of each line of problem code to the corresponding quality inspection authorized users, thereby realizing the automatic distribution of quality inspection results and improving the distribution efficiency of quality inspection results.

Description

Code processing method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a code processing method, apparatus, device, and medium.
Background
In recent years, with the continuous development of network technology and multimedia technology, various types of application software have been developed, wherein the code quality of the application software is related to user experience, use safety and the like, and the code quality of the application software is an important factor for evaluating the application software.
In order to realize the detection of the code quality of the application software, a code detection platform is provided in the prior art, and can detect various code problems such as repeated codes, loopholes, errors and the like in the source code of the application software, and a developer can modify the source code according to the code problems detected by the code detection platform so as to realize the quality optimization of the source code.
At present, how to realize automatic distribution of code quality detection results by a code detection platform and improve the distribution efficiency of the code quality detection results is a problem to be solved at present.
Disclosure of Invention
The embodiment of the application provides a code processing method, a device, equipment and a medium, which are used for realizing automatic distribution of a code quality detection result by a code detection platform and improving the distribution efficiency of the code quality detection result.
The technical scheme provided by the embodiment of the application is as follows:
In one aspect, an embodiment of the present application provides a code processing method, including:
acquiring a code warehouse to be detected;
Performing quality detection on the code warehouse to obtain quality detection results of all rows of problem codes in the code warehouse, wherein the problem codes are codes with failed quality detection;
Acquiring code submitting user identifiers of each row of problem codes, and respectively creating quality inspection authorized users based on the code submitting user identifiers of each row of problem codes;
And respectively distributing the quality detection results of the problem codes of each row to corresponding quality inspection authorized users.
In one possible implementation manner, after the quality detection is performed on the code warehouse to obtain the quality detection result of each row of problem codes in the code warehouse, the method further includes:
reading the code submitting user identification of the corresponding question code from each row of question codes;
And storing the quality detection result of each row of problem codes and the code submitting user identification of each row of problem codes in a quality detection result database in a correlated manner.
In one possible implementation, the code submission user identification for obtaining each line of problem code includes:
and reading codes of each row of problem codes from a quality detection result database to submit user identifications.
In one possible implementation, the code submission user identification for obtaining each line of problem code includes:
and reading the code submitting user identification of the corresponding question code from each row of the question codes.
In one possible implementation, before submitting the user identification based on the codes of the respective rows of problem codes and creating the quality inspection authorized users respectively, the method further comprises:
And determining that the quality inspection authorized user identification matched with the code submitting user identification of each line of problem codes does not exist in the currently stored quality inspection authorized user set.
In one possible implementation, before submitting the user identification based on the codes of the respective rows of problem codes and creating the quality inspection authorized users respectively, the method further comprises:
And submitting codes of each row of problem codes to a user identification for duplication removal.
In one possible implementation, the submitting user identification based on the codes of the problem codes of each row respectively creates quality inspection authorized users, and the submitting user identification includes:
and calling a user creation interface, submitting a user identification as a login user name by using codes of each row of problem codes, and respectively creating corresponding quality inspection authorized users.
In one possible implementation manner, when submitting the user identification based on the codes of the issue codes of each row, respectively creating the quality inspection authorized users, the method further comprises:
determining each row of qualified codes in a code warehouse, wherein the qualified codes are codes passing quality detection;
And reading code submitting user identifiers of corresponding qualified codes from all rows of qualified codes, and respectively creating quality inspection authorized users based on the code submitting user identifiers of all rows of qualified codes.
In one possible implementation, after creating the quality inspection authorized user, the method further includes:
And updating the quality inspection authorized user set based on the quality inspection authorized user identification of each quality inspection authorized user.
In one possible implementation, after creating the quality inspection authorized user, the method further includes:
based on the current time stamp, the login time of each created quality inspection authorized user is updated.
In another aspect, an embodiment of the present application provides a code processing apparatus, including:
The code acquisition unit is used for acquiring a code warehouse to be detected;
the code detection unit is used for carrying out quality detection on the code warehouse to obtain quality detection results of each row of problem codes in the code warehouse, wherein the problem codes are codes with failed quality detection;
The user creation unit is used for acquiring code submitting user identifications of the problem codes of each row and respectively creating quality inspection authorized users based on the code submitting user identifications of the problem codes of each row;
And the result distribution unit is used for respectively distributing the quality detection results of the problem codes of each row to corresponding quality inspection authorized users.
In a possible implementation manner, the code processing apparatus provided by the embodiment of the present application further includes:
And the association storage unit is used for reading code submitting user identifiers of corresponding problem codes from the problem codes of each row after the quality detection unit detects the quality of the code warehouse to obtain the quality detection result of the problem codes of each row in the code warehouse, and storing the quality detection result of the problem codes of each row and the code submitting user identifiers of the problem codes of each row in a quality detection result database in association.
In one possible implementation, when the code submission user identifier of each line of problem codes is acquired, the user creation unit is specifically configured to:
and reading codes of each row of problem codes from a quality detection result database to submit user identifications.
In one possible implementation, when the code submission user identifier of each line of problem codes is acquired, the user creation unit is specifically configured to:
and reading the code submitting user identification of the corresponding question code from each row of the question codes.
In a possible embodiment, before submitting the user identification based on the code of each line of problem codes, the user creation unit is further configured to, before creating the quality inspection authorized users, respectively:
And determining that the quality inspection authorized user identification matched with the code submitting user identification of each line of problem codes does not exist in the currently stored quality inspection authorized user set.
In a possible embodiment, before submitting the user identification based on the code of each line of problem codes, the user creation unit is further configured to, before creating the quality inspection authorized users, respectively:
And submitting codes of each row of problem codes to a user identification for duplication removal.
In one possible implementation manner, when submitting the user identification based on the codes of the respective rows of problem codes, the user creation unit is specifically configured to:
and calling a user creation interface, submitting a user identification as a login user name by using codes of each row of problem codes, and respectively creating corresponding quality inspection authorized users.
In a possible implementation manner, when submitting the user identification based on the codes of the respective rows of problem codes, the user creation unit is further configured to, when creating the quality inspection authorized users respectively:
determining each row of qualified codes in a code warehouse, wherein the qualified codes are codes passing quality detection;
And reading code submitting user identifiers of corresponding qualified codes from all rows of qualified codes, and respectively creating quality inspection authorized users based on the code submitting user identifiers of all rows of qualified codes.
In a possible implementation manner, the code processing apparatus provided by the embodiment of the present application further includes:
and the user updating unit is used for updating the quality inspection authorized user set based on the quality inspection authorized user identification of each quality inspection authorized user created by the user creating unit after the quality inspection authorized user is created by the user creating unit.
In a possible implementation manner, the code processing apparatus provided by the embodiment of the present application further includes:
And the time updating unit is used for updating the login time of each quality inspection authorized user created by the user creating unit based on the current time stamp after the quality inspection authorized user is created by the user creating unit.
On the other hand, the embodiment of the application provides code processing equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the code processing method provided by the embodiment of the application.
On the other hand, the embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores computer instructions which when executed by a processor realize the code processing method provided by the embodiment of the application.
The embodiment of the application has the following beneficial effects:
in the embodiment of the application, the quality inspection authorized users are respectively created by acquiring the code submitting user identification of each row of problem codes and submitting the user identification based on the codes of each row of problem codes, so that the code detection platform can respectively distribute the quality inspection results of each row of problem codes to the corresponding quality inspection authorized users, thereby realizing the automatic distribution of the quality inspection results and further improving the distribution efficiency of the quality inspection results.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic diagram of a system frame of a code processing system according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an overview of a code processing method according to an embodiment of the application;
FIG. 3A is a flowchart illustrating a code processing method according to an embodiment of the present application;
FIG. 3B is a schematic diagram illustrating a distribution status change of quality monitoring results according to an embodiment of the present application;
FIG. 3C is a schematic view of a view interface of a quality inspection result according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a specific flow of a code processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a functional structure of a code processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of a code processing apparatus according to an embodiment of the present application.
Detailed Description
In order for those skilled in the art to better understand the present application, technical terms mentioned in the present application will be first described.
1. The code management platform is a platform for managing codes, such as GitLab. GitLab is an open-source distributed version control system, and can manage relevant data such as codes, versions and the like of various projects such as application software and the like.
The code submitting user is the user submitting the code on the code management platform and can be but not limited to the login user of the code management platform, for example, the code submitting user can be the login user of GitLab;
The code submission user identification is the user name of the login user of the code management platform, for example, the code submission user identification can be, but is not limited to, the user name of the login user of GitLab.
2. The code detection platform is a platform for detecting the quality of codes, such as SonarQube and the like. The SonarQube is an open-source code analysis platform, can detect quality problems such as repeated codes, obvious errors, potential vulnerabilities, coding specifications and the like in source codes of various items such as application software and the like, and can display the quality problems through a Web UI.
The quality inspection authorized user is a login user of the code detection platform, for example, the quality inspection authorized user can be but is not limited to a login user of SonarQube;
the quality inspection authorized user identifier is a user name of a login user of the code detection platform, for example, the quality inspection authorized user identifier can be, but is not limited to, a user name of a login user of the SonarQube;
The quality inspection authorized user set is a set of user names of all login users of the code detection platform, wherein the quality inspection authorized user set can also record the recent login time of each login user and can be stored in a list form, for example, the quality inspection authorized user set can be, but is not limited to, a SonarQube authorized user list, and the SonarQube authorized user list records the user names and the last login time of all login users of the SonarQube.
3. The code warehouse is a set of all codes corresponding to various projects such as application software and the like. In the application, the code warehouse is a set of all codes corresponding to the items to be detected, which are obtained from the code management platform, wherein each row of codes contained in the code warehouse carries the code submitting user identification of the row of codes.
4. Problem codes, which are codes in a code repository that do not pass quality detection, such as codes with obvious errors, codes that do not meet coding specifications, codes with potential vulnerabilities, and the like.
5. And qualified codes are codes passing quality detection in a code warehouse.
6. The quality detection result database is used for storing quality detection results of the code detection platform, and at least stores the quality detection results of each line of problem codes in the code warehouse, and also stores a code problem record table used for searching the quality detection results of each line of problem codes in the code warehouse, wherein the code problem record table is at least recorded with the following fields of a position index of the problem codes in the code warehouse, a position index of the quality detection results of the problem codes in the quality detection result database, a code submitting user identifier of the problem codes and the like.
It should be noted that references to "first," "second," etc. in this disclosure are for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that such terms are interchangeable under appropriate circumstances such that the embodiments described herein are capable of operation in other sequences than those illustrated or otherwise described herein. Furthermore, the description of the "and/or" mentioned in the present application is that the association relationship of the association objects means that three relationships may exist, for example, A and/or B may mean that A exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In order to make the objects, technical solutions and advantageous effects of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
At present, after quality detection is carried out on a code warehouse to be detected to obtain quality detection results of all lines of problem codes in the code warehouse, under the condition that all developers corresponding to the code warehouse do not successfully log in the code detection platform, the code detection platform displays the quality detection results of all lines of problem codes in the code warehouse in a form of a quality monitoring result list, and all developers corresponding to the code warehouse need to screen out the quality detection results of all the problem codes one by one from the quality monitoring result list, and then can modify and optimize the corresponding problem codes according to the screened quality detection results. Obviously, the existing processing method of the quality detection result has lower efficiency and poorer user experience, and how to realize automatic distribution of the quality detection result under the condition of not successfully logging in a code detection platform is a problem which needs to be solved at present.
To this end, an embodiment of the present application provides a code processing system, referring to fig. 1, where the code processing system may include a code management platform 101 and a code detection platform 102, where the code management platform 101 and the code detection platform 102 are communicatively connected through a communication network 103. In practical application, each developer in the same project can upload the part of the code of the project written by each developer to the code management platform 101, the code management platform 101 uses the project as dimension, stores the part of the code uploaded by each developer in the same project in the same code warehouse for management, for example, the code management platform 101 can periodically check the code warehouse of the project, when the code in the code warehouse of the project is checked to be changed, sends a code detection request to the code detection platform 102, and when the code detection platform 102 receives the code detection request sent by the code management platform 101, the code warehouse corresponding to the project to be detected can be obtained from the code management platform 101, and the code processing method provided by the embodiment of the application is adopted to carry out quality detection, quality detection result distribution and other processes on the code warehouse corresponding to the project. Specifically, referring to fig. 2, before processing the code repository, the code detection platform 102 may be configured to allow reading of the code submission user identifier in the configuration of the code detection platform 102, and further, when the code detection platform 102 processes the code repository, the code detection platform may perform quality detection on the code repository to obtain quality detection results of each line of problem codes in the code repository, obtain code submission user identifiers of each line of problem codes, respectively create quality inspection authorized users based on the code submission user identifiers of each line of problem codes, and respectively distribute the quality detection results of each line of problem codes to corresponding quality inspection authorized users. In this way, even if the code detection platform 102 is not successfully logged in, the quality inspection authorized users can be respectively created by acquiring the code submission user identification of each row of problem codes and submitting the user identification based on the code submission user identification of each row of problem codes, so that the code detection platform 102 can respectively distribute the quality inspection results of each row of problem codes to the corresponding quality inspection authorized users, thereby realizing automatic distribution of the quality inspection results, improving the distribution efficiency of the quality inspection results, and effectively solving the problem that developers need to screen the quality inspection results of the respective problem codes one by one from a quality inspection result list under the condition that the code detection platform 102 is not successfully logged in, thereby influencing user experience.
It should be understood that the number of code management platforms 101, code detection platforms 102, and communication networks 103 in fig. 1 is merely illustrative, and any number of code management platforms 101, code detection platforms 102, and communication networks 103 may be provided according to actual needs, and the application is not limited in this regard.
After the application scenario and the design idea of the embodiment of the present application are introduced, the technical solution provided by the embodiment of the present application is described below.
In the embodiment of the present application, before using the code detection platform 102 to perform quality detection on the code repository and distributing the quality detection result, the code detection platform 102 needs to be set in advance in the configuration of the code detection platform 102 to allow reading of the code submission user identification from the code repository. In this way, the code detection platform 102 can read the code submission user identifier of the corresponding code from each row of codes contained in the code warehouse in the process of performing quality detection on the code warehouse and distributing the quality detection result.
Further, after the code detection platform 102 is preconfigured, the code detection platform 102 may be used to perform quality detection on a code warehouse of an item to be detected and distribute a quality detection result, and specifically, referring to fig. 3A, the flow of the code processing method provided by the embodiment of the present application is as follows:
Step 301, a code warehouse to be detected is obtained.
In practical application, the code management platform 101 may periodically check the code warehouse of each managed item, and when it is checked that a code in the code warehouse of a certain item changes, the code detection platform 102 may be triggered to perform quality detection on the code warehouse of the item. More specifically, the code management platform 101 may send the information such as the project name of the project and/or the storage address of the code warehouse to the code detection platform 102 in the code detection request to trigger the code detection platform 102 to detect the quality of the code warehouse of the project, and further, the code management platform 101 may further store the project name of the project and/or the storage address of the code warehouse in association with the platform identifier of the code detection platform 102.
In a specific implementation, when the code detection platform 102 receives a code detection request sent by the code management platform 101, a code repository to be detected can be obtained from the code management platform 101 by calling an access interface of the code management platform 101 and carrying a Token. More specifically, the code detection platform 102 may generate a first Token by using a Token generation algorithm pre-agreed with the code management platform 101 based on the item name and/or the storage address carried by the code detection request, and transmit the first Token and the platform identifier to the code management platform 101 by calling the access interface of the code management platform 101, after the code management platform 101 receives the first Token and the platform identifier transmitted by the code detection platform 102, obtain the item name and/or the storage address associated with the platform identifier according to the platform identifier, generate a second Token by using a Token generation algorithm pre-agreed with the code management platform 101 based on the obtained item name and/or the storage address, determine that the first Token and the second Token are identical, obtain a corresponding code warehouse based on the obtained item name and/or the storage address, and return the code warehouse to the code detection platform 102, so that the code warehouse 102 obtains the code to be detected.
And 302, performing quality detection on the code warehouse to obtain quality detection results of each row of problem codes in the code warehouse.
In a specific implementation, the code detection platform 102 may perform quality detection on each line of code in the code repository from aspects of repeated code, obvious error, potential vulnerability, coding specification, and the like, so as to obtain quality detection results of each line of problem code in the code repository, where the quality detection is not passed.
In practical application, in order to quickly and accurately retrieve the quality detection result of each line of problem codes in the code warehouse, after the quality detection is performed on the code warehouse to obtain the quality detection result of each line of problem codes in the code warehouse, the code detection platform 102 may also read the code submitting user identifier of the corresponding problem code from each line of problem codes in the code warehouse, and store the quality detection result of each line of problem codes and the code submitting user identifier of each line of problem codes in a quality detection result database in association. Further, the code detection platform 102 may also create a code problem record table for the code repository in the quality detection result database, and write, for each line of problem codes of the code repository, information such as a position index of the problem code in the code repository, a position index of a quality detection result of the problem code in the quality detection result database, a code submission user identifier of the problem code, etc. into a corresponding field of the code problem record table, so that the quality detection result of each line of problem codes in the code repository stored in the quality detection result database may be retrieved subsequently according to the code problem record table.
Step 303, acquiring code submitting user identifiers of all rows of problem codes, and respectively creating quality inspection authorized users based on the code submitting user identifiers of all rows of problem codes.
In particular implementations, code detection platform 102, when acquiring code submission user identification for each line of issue code, may employ, but is not limited to, the following:
In the first way, the code detection platform 102 reads the code submission user identification of each line of problem codes from the quality detection result database. More specifically, the code detection platform 102 may retrieve the code submitting user identification field from the code problem record table stored in the quality detection result database, and read all the code submitting user identifications recorded under the code submitting user identification field, so as to obtain the code submitting user identifications of the problem codes of each row.
In the second way, the code detection platform 102 reads the code submitting user identifier of the corresponding problem code from the problem codes of each row, so as to obtain the code submitting user identifier of the problem code of each row.
In practical application, in order to reduce unnecessary resource waste and improve code processing efficiency, after acquiring the code submitting user identifiers of the problem codes of each row, the code detection platform 102 may also first check whether the quality inspection authorized user identifiers matched with the code submitting user identifiers of the problem codes of each row exist in the quality inspection authorized user set, when determining that the quality inspection authorized user identifiers matched with the code submitting user identifiers of the problem codes of each row exist in the quality inspection authorized user set, may directly based on the quality inspection authorized user identifiers matched with the code submitting user identifiers of the problem codes of each row in the quality inspection authorized user set, and respectively distribute the quality detection results of the problem codes of each row in the code warehouse to corresponding quality inspection authorized users, otherwise, when determining that the quality inspection authorized user identifiers matched with the code submitting user identifiers of the problem codes of each row do not exist in the quality inspection authorized user set, respectively create quality inspection authorized users based on the code user identifiers of each row of the problem codes submitted.
In practical application, the code submitting user identifier corresponding to each line of problem codes may be repeated, so in order to avoid repeated creation of quality inspection authorized users, after the code submitting user identifier of each line of problem codes is obtained, the code detection platform 102 may further perform deduplication processing on the code submitting user identifier of each line of problem codes, and then create quality inspection authorized users respectively based on each code submitting user identifier obtained after the deduplication processing. More specifically, the code detection platform 102 may invoke a user creation interface and submit user identifications as login usernames with each code to create corresponding quality inspection authorized users, respectively.
It should be noted that, in the embodiment of the present application, when the quality inspection authorized user is created, the code detection platform 102 may also obtain each row of qualified codes in the code repository, and read the code of the corresponding qualified code from each row of qualified codes to submit the user identifier, and submit the user identifier based on the code of each row of qualified codes, so as to create the quality inspection authorized user respectively. More specifically, after reading the code submitting user identifier of the corresponding qualified code from each row of qualified codes, the code detection platform 102 may also check whether the quality inspection authorized user identifier matched with the code submitting user identifier of each row of qualified codes exists in the quality inspection authorized user set, and may not process the code submitting user identifier of each row of qualified codes when determining that the quality inspection authorized user identifier matched with the code submitting user identifier of each row of qualified codes exists in the quality inspection authorized user set, otherwise, may perform deduplication processing on the code submitting user identifier of each row of qualified codes when determining that the quality inspection authorized user identifier matched with the code submitting user identifier of each row of qualified codes does not exist in the quality inspection authorized user set, and call the user creation interface to respectively create the corresponding quality inspection authorized user by using each code submitting user identifier obtained after the deduplication processing as a login user name. In this way, the subsequent code detection platform 102 has quality problems in the code submitted by the code submitting user who detects the qualified code, and can automatically distribute the quality detection result of the code to the quality inspection authorized user corresponding to the code submitting user, thereby further improving the code processing efficiency.
Further, in order to ensure accuracy and real-time performance of the quality inspection authorized user identifications recorded in the quality inspection authorized user set, the code detection platform 102 may update the quality inspection authorized user set based on the quality inspection authorized user identifications of the quality inspection authorized users after the quality inspection authorized users are created.
In practical applications, for quality inspection authorized users who have not successfully logged in the code detection platform 102 recently, i.e., for inactive users, the code detection platform 102 may not be able to implement automatic distribution of quality monitoring results, based on which, in order to ensure smooth distribution of quality detection results, the code detection platform 102 may update login time of each quality inspection authorized user created after creating the quality inspection authorized user based on the current timestamp. More specifically, the code detection platform 102 may retrieve the login time field from the quality inspection authorized user set, and update the login time of each created quality inspection authorized user under the login time field according to the current timestamp, so that each created quality inspection authorized user becomes an active user, thereby ensuring smooth distribution of quality inspection results.
And 304, distributing quality detection results of the problem codes of each row to corresponding quality inspection authorized users.
In practical application, after the code detection platform 102 distributes the quality detection results of each row of problem codes to the corresponding quality inspection authorized users, referring to fig. 3B, the quality detection results of each row of problem codes are switched from an undelivered state to a state that the quality inspection authorized users have been distributed. Further, since the code detection platform 102 uses the code submission user identifier in the code management platform 101 when creating the quality inspection authorized user, the user name of the code detection platform 102 is the same as the user name of the code management platform 101, based on this, the developer can determine the user name in the code management platform 101 as the user name in the code detection platform 102 and log in, so, referring to fig. 3C, the developer can view the quality detection results of all the problem codes distributed to the quality inspection authorized user by the code detection platform 102 in the my problem, and further, the problem that the developer needs to screen the quality detection results of the respective problem codes one by one from the quality detection result list under the condition of unsuccessful logging in the code detection platform 102 is effectively solved, thereby affecting the user experience.
The code processing method provided by the embodiment of the application is further described in detail below by taking "the code management platform 101 is GitLab and the code detection platform 102 is SonarQube" as a specific application scenario.
In practical application, before the SonarQube is used for quality detection and distribution of quality detection results on the code warehouse, in the configuration of the SonarQube, a setting item "sonarscm.disabled" representing whether to allow the searching of blame information from the source code control manager is set as "false", so that the SonarQube is set as allowing the searching of blame information from the source code control manager, and thus, in the process of quality detection and distribution of quality detection results on the code warehouse, the SonarQube can read code submitting user identification of the corresponding code from each row of codes contained in the code warehouse.
Further, after the SonarQube is preconfigured, the SonarQube may be used to perform quality detection on the code warehouse to be detected in GitLab and distribute the quality detection result, specifically, referring to fig. 4, the flow of the code processing method provided by the embodiment of the present application is as follows:
Step 401 GitLab periodically checks the code repository of each Git item managed.
Step 402, when the GitLab checks that the code in the code warehouse of a certain Git item changes, the information such as the item name of the Git item and/or the storage address of the code warehouse is carried in a code detection request and sent to the SonarQube.
Step 403, the GitLab stores the item name of the Git item and/or the storage address of the code warehouse in association with the platform identifier Sonar of the SonarQube.
Step 404, generating a first Token by using a Token generation algorithm pre-agreed with GitLab based on the item name and/or the storage address carried by the code detection request.
Step 405 SonarQube transfers the first Token and platform identification Sonar to GitLab by calling GitLab the access interface.
Step 406, the GitLab obtains the project name and/or the storage address associated with the platform identifier from the stored association relationship according to the platform identifier Sonar transmitted by the SonarQube.
Step 407, generating a second Token by using a Token generation algorithm pre-agreed with GitLab based on the obtained project name and/or storage address.
And step 408, when the GitLab determines that the first Token and the second Token are the same, a corresponding code warehouse is obtained based on the obtained item name and/or the storage address.
The GitLab returns the obtained code repository to the SonarQube, step 409.
And step 410, carrying out quality detection on the code warehouse by SonarQube to obtain quality detection results of each row of problem codes in the code warehouse.
Step 411, sonarQube reads code submitting user identification of corresponding problem codes from each row of problem codes in the code warehouse, and stores the quality detection result of each row of problem codes and the code submitting user identification of each row of problem codes in a Sonar detection result database in a correlated manner.
Step 412, the sonarqube creates a code issue record table (hereinafter referred to as an issue table) for the code warehouse in Sonar detection result database, and writes, for each line of issue codes of the code warehouse, information such as a position index of the issue code in the code warehouse, a position index of a quality detection result of the issue code in Sonar detection result database, a code submission user identifier of the issue code, and the like, into corresponding fields of the issue table.
In step 413, the SonarQube retrieves the code submission user identification field (referred to as the author_Login field hereinafter) from the issue table, and reads all code submission user identifications recorded under the author_Login field.
And step 414, carrying out deduplication processing on all the read code submitting user identifiers to obtain each code submitting user identifier.
Step 415, the sonarqube detects whether a quality inspection authorized user identifier (Sonar user identifier, below) matched with each code submitting user identifier exists in the quality inspection authorized user set (Sonar user list, below), if yes, step 416 is executed, and if not, step 417 is executed.
And step 416, the SonarQube distributes the quality detection results of each row of problem codes in the code warehouse to corresponding quality inspection authorized users respectively based on Sonar user identifiers matched with the code submitting user identifiers in Sonar user lists.
Step 417, the sonarqube invokes a user creation interface (for example, the user creation interface is an api/users/create interface), submits a user identifier as a login user name by each code, and creates corresponding quality inspection authorized users (Sonar users below).
It is worth that, when creating Sonar users, the SonarQube may also submit user identifiers based on the codes of the qualified codes of each row in the code warehouse, and create corresponding Sonar users respectively, where the specific creation mode is the same as the creation mode described above, and the repetition is omitted.
Step 418, the sonarqube updates Sonar the user list based on the created Sonar user identification of each Sonar user.
In step 419, the SonarQube retrieves the login time field (for example, the login time field is a last_connection_date field) from the Sonar user list, and updates the login time of each Sonar user created under the last_connection_date field according to the current timestamp.
Step 420, the SonarQube distributes quality detection results of each row of problem codes in the code warehouse to corresponding Sonar users respectively based on each Sonar user which is recorded in Sonar user list and is created newly.
Based on the foregoing embodiments, the embodiment of the present application provides a code processing apparatus, and referring to fig. 5, a code processing apparatus 500 provided in the embodiment of the present application at least includes:
a code acquisition unit 501 for acquiring a code warehouse to be detected;
the code detection unit 502 is configured to perform quality detection on the code repository to obtain quality detection results of each row of problem codes in the code repository, where the problem codes are codes that do not pass the quality detection;
a user creating unit 503, configured to obtain code submitting user identifiers of the issue codes of each row, and create quality inspection authorized users respectively based on the code submitting user identifiers of the issue codes of each row;
and the result distribution unit 504 is configured to distribute the quality detection results of the issue codes of each row to corresponding quality inspection authorized users.
In a possible implementation manner, the code processing apparatus provided by the embodiment of the present application further includes:
And the association storage unit 505 is configured to, after the code detection unit 502 performs quality detection on the code repository to obtain quality detection results of each line of problem codes in the code repository, read code submission user identifiers of the corresponding problem codes from each line of problem codes, and store the quality detection results of each line of problem codes and the code submission user identifiers of each line of problem codes in a quality detection result database in association.
In one possible implementation, when acquiring the code submission user identification of each line of problem codes, the user creation unit 503 is specifically configured to:
and reading codes of each row of problem codes from a quality detection result database to submit user identifications.
In one possible implementation, when acquiring the code submission user identification of each line of problem codes, the user creation unit 503 is specifically configured to:
and reading the code submitting user identification of the corresponding question code from each row of the question codes.
In a possible implementation, before submitting the user identification based on the code of each line of problem codes, the user creation unit 503 is further configured to:
And determining that the quality inspection authorized user identification matched with the code submitting user identification of each line of problem codes does not exist in the currently stored quality inspection authorized user set.
In a possible implementation, before submitting the user identification based on the code of each line of problem codes, the user creation unit 503 is further configured to:
And submitting codes of each row of problem codes to a user identification for duplication removal.
In a possible implementation manner, when submitting the user identification based on the codes of the respective rows of problem codes, and creating the quality inspection authorized users respectively, the user creation unit 503 is specifically configured to:
and calling a user creation interface, submitting a user identification as a login user name by using codes of each row of problem codes, and respectively creating corresponding quality inspection authorized users.
In a possible implementation, when submitting the user identification based on the code of each line of problem codes, the user creation unit 503 is further configured to:
determining each row of qualified codes in a code warehouse, wherein the qualified codes are codes passing quality detection;
And reading code submitting user identifiers of corresponding qualified codes from all rows of qualified codes, and respectively creating quality inspection authorized users based on the code submitting user identifiers of all rows of qualified codes.
In a possible implementation manner, the code processing apparatus provided by the embodiment of the present application further includes:
A user updating unit 506, configured to update the quality inspection authorized user set based on the quality inspection authorized user identifiers of the quality inspection authorized users created by the user creating unit 503 after the quality inspection authorized user is created by the user creating unit 503.
In a possible implementation manner, the code processing apparatus provided by the embodiment of the present application further includes:
a time updating unit 507, configured to update the login time of each quality inspection authorized user created by the user creating unit 503 based on the current time stamp after the user creating unit 503 creates the quality inspection authorized user.
It should be noted that, the principle of solving the technical problem of the code processing apparatus 500 provided in the embodiment of the present application is similar to that of the code processing method provided in the embodiment of the present application, so that the implementation of the code processing apparatus 500 provided in the embodiment of the present application can refer to the implementation of the code processing method provided in the embodiment of the present application, and the repetition is omitted.
After the code processing method and the device provided by the embodiment of the application are introduced, the code processing device provided by the embodiment of the application is briefly introduced.
The code processing apparatus provided in the embodiment of the present application may be a server corresponding to a code quality detection platform, and referring to fig. 6, the code processing apparatus 600 provided in the embodiment of the present application at least includes a processor 601, a memory 602, and a computer program stored in the memory 602 and capable of running on the processor 601, where the processor 601 implements the code processing method provided in the embodiment of the present application when executing the computer program.
It should be noted that the code processing apparatus 600 shown in fig. 6 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present application.
The code processing apparatus 600 provided by the embodiment of the present application may further include a bus 603 connecting the different components (including the processor 601 and the memory 602). Where bus 603 represents one or more of several types of bus structures, including a memory bus, a peripheral bus, a local bus, and so forth.
The Memory 602 may include readable media in the form of volatile Memory, such as random access Memory (Random Access Memory, RAM) 6021 and/or cache Memory 6022, and may further include Read Only Memory (ROM) 6023.
Memory 602 may also include a program tool 6025 having a set (at least one) of program modules 6024, program modules 6024 including, but not limited to, an operating subsystem, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The code processing apparatus 600 may also be in communication with one or more external devices 604 (e.g., keyboard, remote control, etc.), one or more devices that enable a user to interact with the code processing apparatus 600 (e.g., cell phone, computer, etc.), and/or any device that enables the code processing apparatus 600 to communicate with one or more other code processing apparatus 600 (e.g., router, modem, etc.). Such communication may occur through an Input/Output (I/O) interface 605. Also, the code processing apparatus 600 may communicate with one or more networks such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN) and/or a public network such as the internet via the network adapter 606. As shown in fig. 6, the network adapter 606 communicates with other modules of the code processing apparatus 600 via a bus 603. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in connection with code processing apparatus 600, including, but not limited to, microcode, device drivers, redundant processors, external disk drive arrays, disk array (Redundant Arrays of INDEPENDENT DISKS, RAID) subsystems, tape drives, and data backup storage subsystems, among others.
The following describes a computer-readable storage medium provided by an embodiment of the present application. The embodiment of the application provides a computer readable storage medium which stores computer instructions which when executed by a processor realize the code processing method provided by the embodiment of the application. Specifically, the executable program may be built into or installed in the code processing apparatus 600, and thus, the code processing apparatus 600 may implement the code processing method provided by the embodiment of the present application by executing the built-in or installed executable program.
In addition, the code processing method provided by the embodiment of the present application may also be implemented as a program product including a program code for causing the code processing apparatus 600 to execute the code processing method provided by the embodiment of the present application when the program product is executable on the code processing apparatus 600.
The program product provided by embodiments of the present application may take the form of any combination of one or more readable media, which may be a readable signal medium or a readable storage medium, and which may be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof, and more specific examples (a non-exhaustive list) of a readable storage medium include an electrical connection having one or more wires, a portable disk, a hard disk, RAM, ROM, erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), optical fiber, portable compact disk read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
The program product provided by embodiments of the present application may be implemented as a CD-ROM and include program code that may also be run on a computing device. However, the program product provided by the embodiments of the present application is not limited thereto, and in the embodiments of the present application, the readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the elements described above may be embodied in one element in accordance with embodiments of the present application. Conversely, the features and functions of one unit described above may be further divided into a plurality of units to be embodied.
Furthermore, although the operations of the methods of the present application are depicted in the drawings in a particular order, this is not required or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present application without departing from the spirit or scope of the embodiments of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims and the equivalents thereof, the present application is also intended to include such modifications and variations.

Claims (10)

1. A code processing method, comprising:
acquiring a code warehouse to be detected;
performing quality detection on the code warehouse to obtain quality detection results of all rows of problem codes in the code warehouse, wherein the problem codes are codes with failed quality detection;
acquiring code submitting user identifiers of the problem codes of each row, and respectively creating quality inspection authorized users based on the code submitting user identifiers of the problem codes of each row;
respectively distributing the quality detection results of the problem codes of each row to corresponding quality inspection authorized users;
The method comprises the steps of carrying out quality detection on the code warehouse to obtain quality detection results of each row of problem codes in the code warehouse, and further comprising:
reading codes of corresponding problem codes from the problem codes of each row and submitting user identifications;
The quality detection results of the problem codes of each row are associated with the code submitting user identification of the problem codes of each row and stored in a quality detection result database;
Wherein, submitting user identification based on the codes of the problem codes of each row, respectively creating quality inspection authorized users, comprising:
Calling a user creation interface, submitting a user identifier as a login user name by using codes of the problem codes of each row, and respectively creating corresponding quality inspection authorized users;
Wherein after creating the quality inspection authorized user, the method further comprises:
based on the current time stamp, the login time of each created quality inspection authorized user is updated.
2. The code processing method of claim 1, wherein obtaining the code submission user identification of the lines of issue codes comprises:
And reading codes of the problem codes of each row from the quality detection result database to submit user identifications.
3. The code processing method of claim 1, wherein obtaining the code submission user identification of the lines of issue codes comprises:
and reading codes of corresponding problem codes from the problem codes of each row to submit user identifications.
4. The code processing method of claim 1, wherein before creating the quality inspection authorized users, respectively, based on the code submission user identification of the respective line of issue codes, further comprising:
and determining that the quality inspection authorized user identification matched with the code submitting user identification of each line of problem codes does not exist in the currently stored quality inspection authorized user set.
5. The code processing method of claim 1, wherein before creating the quality inspection authorized users, respectively, based on the code submission user identification of the respective line of issue codes, further comprising:
And submitting the codes of the problem codes of each row to a user identification for duplication removal.
6. The code processing method according to any one of claims 1 to 5, wherein when creating quality inspection authorized users respectively based on code submission user identifications of the respective lines of problem codes, further comprising:
determining each row of qualified codes in the code warehouse, wherein the qualified codes are codes with quality detection passing;
and reading code submitting user identifiers of corresponding qualified codes from the rows of qualified codes, and respectively creating quality inspection authorized users based on the code submitting user identifiers of the rows of qualified codes.
7. The code processing method of claim 1, further comprising, after creating the quality assurance user:
And updating the quality inspection authorized user set based on the quality inspection authorized user identification of each quality inspection authorized user.
8. A code processing apparatus, comprising:
The code acquisition unit is used for acquiring a code warehouse to be detected;
The code detection unit is used for carrying out quality detection on the code warehouse to obtain quality detection results of all rows of problem codes in the code warehouse, wherein the problem codes are codes with failed quality detection;
The user creation unit is used for acquiring code submitting user identifiers of the problem codes of each row and respectively creating quality inspection authorized users based on the code submitting user identifiers of the problem codes of each row;
The result distribution unit is used for respectively distributing the quality detection results of the problem codes of each row to corresponding quality inspection authorized users;
wherein the code detection unit is further configured to:
reading codes of corresponding problem codes from the problem codes of each row and submitting user identifications;
The quality detection results of the problem codes of each row are associated with the code submitting user identification of the problem codes of each row and stored in a quality detection result database;
Wherein, submitting user identification based on the codes of the problem codes of each row, respectively creating quality inspection authorized users, comprising:
Calling a user creation interface, submitting a user identifier as a login user name by using codes of the problem codes of each row, and respectively creating corresponding quality inspection authorized users;
Wherein after creating the quality inspection authorized user, the method further comprises:
based on the current time stamp, the login time of each created quality inspection authorized user is updated.
9. A code processing apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the code processing method according to any one of claims 1-7 when executing the computer program.
10. A computer readable storage medium storing computer instructions which, when executed by a processor, implement the code processing method of any of claims 1-7.
CN201910962474.7A 2019-10-11 2019-10-11 A code processing method, device, equipment and medium Active CN112650663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910962474.7A CN112650663B (en) 2019-10-11 2019-10-11 A code processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910962474.7A CN112650663B (en) 2019-10-11 2019-10-11 A code processing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN112650663A CN112650663A (en) 2021-04-13
CN112650663B true CN112650663B (en) 2025-02-18

Family

ID=75342671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910962474.7A Active CN112650663B (en) 2019-10-11 2019-10-11 A code processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112650663B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231937A (en) * 2019-05-20 2019-09-13 平安科技(深圳)有限公司 Script defects scanning method, device, computer equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8584079B2 (en) * 2010-12-16 2013-11-12 Sap Portals Israel Ltd Quality on submit process
US9141378B2 (en) * 2011-09-15 2015-09-22 Sonatype, Inc. Method and system for evaluating a software artifact based on issue tracking and source control information
CN104636252A (en) * 2015-01-04 2015-05-20 浪潮软件股份有限公司 Online code reviewing method and system based on SonarQube
CN104811440B (en) * 2015-03-30 2018-06-22 南昌大学 A kind of network account setting and authentication method based on Double-puzzle
US10572367B2 (en) * 2017-11-21 2020-02-25 Accenture Global Solutions Limited Intelligent code quality monitoring
CN108762803B (en) * 2018-04-17 2021-09-10 平安科技(深圳)有限公司 Configuration management method, device, terminal equipment and storage medium
CN109359028B (en) * 2018-08-22 2024-05-03 平安科技(深圳)有限公司 Code quality monitoring method, device, computer equipment and storage medium
CN109542769A (en) * 2018-10-25 2019-03-29 武汉精立电子技术有限公司 A kind of automated testing method of continuous integrating

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231937A (en) * 2019-05-20 2019-09-13 平安科技(深圳)有限公司 Script defects scanning method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Paul Wagland.Missing ability to create SonarQube 'remote' users programatically use REST API.《https://groups.google.com/g/sonarqube/c/esf_Feg_u7o》.2016,全文第1-3页. *

Also Published As

Publication number Publication date
CN112650663A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US11449379B2 (en) Root cause and predictive analyses for technical issues of a computing environment
US11775486B2 (en) System, method and computer program product for database change management
KR102268355B1 (en) Cloud deployment infrastructure validation engine
US10175978B2 (en) Monitoring code sensitivity to cause software build breaks during software project development
US10289468B1 (en) Identification of virtual computing instance issues
US8302088B2 (en) Analysis of effects of a software maintenance patch on configuration items of a CMDB
CN113076104A (en) Page generation method, device, equipment and storage medium
CN115989483A (en) Automated root cause analysis and prediction for large dynamic process execution systems
JP2003330720A (en) Rules-based configuration problem detection
Syer et al. Continuous validation of performance test workloads
US11354221B2 (en) Contextual drill back to source code and other resources from log data
CN110851471B (en) Distributed log data processing method, device and system
US20120222009A1 (en) Defective code warning resolution analysis
US11301245B2 (en) Detecting bias in artificial intelligence software by analysis of source code contributions
JP2017532660A (en) Automatic tenant upgrade for multi-tenant services
US11625309B1 (en) Automated workload monitoring by statistical analysis of logs
US20120204149A1 (en) Discovery-based migration correctness testing
CN106557878A (en) Development project management method and device
CN114595127B (en) Log exception processing method, device, equipment and storage medium
US11392375B1 (en) Optimizing software codebases using advanced code complexity metrics
US11556361B2 (en) Monitoring and managing of complex multi-role applications
CN119341899A (en) Fault detection method, device, storage medium and electronic device
US12073295B2 (en) Machine learning model operation management system and method
CN112650663B (en) A code processing method, device, equipment and medium
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file

Legal Events

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