Code processing method and device, computer equipment and storage medium

A processing method and computer program technology, applied in the fields of devices, computer program products, and code processing methods, can solve problems such as waste of time and manpower, and achieve the effects of avoiding conflicts, reducing the probability of code conflicts, and reducing waste of time and manpower

Pending Publication Date: 2022-06-03
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a code processing method, device, computer equipment, computer-readable storage medium and computer program product for the technical problems of time and manpower waste in the above-mentioned conflict resolution method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code processing method and device, computer equipment and storage medium
  • Code processing method and device, computer equipment and storage medium
  • Code processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment C

[0113] Code Version A0: Test Case A

[0114] Code Version A1: Test Case A, Test Case B, Test Case C.

[0115] (7) The analysis module of the code server analyzes the historical modification code version to obtain a list of test cases that need to perform regression testing, and realizes automatic search for the automatic test case corresponding to the historical modification code version. Among them, the automated regression test of the test case of the historical modified code version is triggered by the action of the user A submitting the new modified code A2 to the target branch code base.

[0116] (8) Execute the corresponding automated regression test on the function of the new modified code A2 to obtain the regression test result, and the script tool marks whether the test case passes, and keeps it in the database for use in the next step.

[0117] (9) At the same time, after user A submits the new modified code A2 to the target branch code base, the code server will no...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a code processing method and device, computer equipment and a storage medium, and is applied to the field of artificial intelligence. The method comprises the following steps: receiving a modification code which is submitted by a first user terminal and aims at a target branch on a code server; the modification code is obtained by modifying a first basic code of the target branch; obtaining a current basic code corresponding to the target branch; and under the condition that the first basic code is the same as the current basic code, updating the current basic code corresponding to the target branch according to the modification code to obtain a second basic code, and sending the second basic code to a second user terminal, and enabling the second user terminal to perform code modification on the target branch by taking the second basic code as a modification basis. By adopting the method, the second user terminal can sense the update of the code version on the target branch and perform code modification based on the latest branch code, so that the code conflict probability is reduced.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, and in particular, to a code processing method, apparatus, computer equipment, storage medium and computer program product. Background technique [0002] In the process of code development, multiple developers may be required to modify the same module code or common module code. When multiple people submit a common code, it is easy to conflict with the modified content. The current method to solve this conflict is to use system calls The text comparison tool lists the differences from the baseline code, which is then confirmed by the code committer to merge commits. [0003] However, in this method, when there are many users who modify the code of the same module, the conflict merge will consume a lot of time, resulting in a waste of time and manpower. SUMMARY OF THE INVENTION [0004] Based on this, it is necessary to provide a code processing method, an apparatus, a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/70
CPCG06F8/70
Inventor 梁沪光张宇鸿石雪黄剑辉
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products