Unlock instant, AI-driven research and patent intelligence for your innovation.

Code processing method and device, electronic equipment and readable medium

A code and test configuration technology, applied in the direction of program control device, electrical digital data processing, program control design, etc., can solve the problems of long time consumption and low efficiency, and achieve the effect of reducing time consumption and improving efficiency

Pending Publication Date: 2022-05-27
LOONGSON TECH CORP
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a code processing method, device, electronic equipment, and readable medium to solve the problems of long time-consuming and low efficiency of code adaptation in the related art

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, electronic equipment and readable medium
  • Code processing method and device, electronic equipment and readable medium
  • Code processing method and device, electronic equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the invention to those skilled in the art.

[0026] figure 1 is a flowchart of steps of a code processing method provided by an embodiment of the present invention, and the method can be applied to a cloud platform, such as figure 1 As shown, the method can include:

[0027] Step 101: Receive data to be tested sent by a user; the data to be tested includes code to be tested and test configuration information.

[0028] In the embodiment of the present invention, the cloud platfor...

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 provides a code processing method and device, electronic equipment and a readable medium, and the method comprises the steps: receiving to-be-tested data sent by a user; the to-be-tested data comprises to-be-tested codes and test configuration information, and creating a target virtual machine in the cloud platform according to hardware configuration information in the test configuration information; under the condition that the to-be-tested code is a source code, deploying a test environment in the target virtual machine according to an operating system kernel matched with the operating system kernel version in the test configuration information, and deploying a compiling environment in the target virtual machine according to a compiler matched with the compiler version in the test configuration information, and testing the to-be-tested code based on the target virtual machine. According to the method and the device, the user only needs to propose the test configuration information, the cloud platform can automatically create the target virtual machine meeting the test configuration requirement according to the test configuration information, and the test is automatically performed, so that the time consumption can be reduced to a certain extent, and the efficiency can be improved to a certain extent.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of electronic devices, and in particular, to a code processing method, apparatus, electronic device, and readable medium. Background technique [0002] Currently, new code is often generated for the operating system. For example, application code applied to the operating system, code applied to operating system components of the operating system, code for updating system software in the operating system, and the like are developed. In order to ensure that the newly generated code can run normally in the later stage, after the new code is developed, the code file often needs to be adapted first, that is, the code file is tested and verified. [0003] In the prior art, it is often the code developer who manually configures the whole device that meets the configuration requirements, and then performs adaptation. This method takes a long time and is less efficient. SUMMARY OF THE INVENT...

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
IPC IPC(8): G06F11/36G06F9/455
CPCG06F11/3688G06F9/45558G06F2009/45562
Inventor 陈海峰靳国杰
Owner LOONGSON TECH CORP