Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A code publishing method and device

A code release and code technology, applied in the computer field, can solve the problems of low code test quality and labor cost, and achieve the effect of realizing code release, saving labor cost, and improving test quality

Active Publication Date: 2022-07-15
ADVANCED NEW TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This method of code release requires a certain amount of labor costs, and manual testing is one-sided, and the quality of code testing is low

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
  • A code publishing method and device
  • A code publishing method and device
  • A code publishing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] At present, according to the needs of the project, developers write function codes. The function codes are to implement a specific function. For example, the function code can be software compiled code, web page compiled code, operation and maintenance function module compiled code, etc. In the whole development process, code writing is only a part of the work, and code release is the final link in the entire development process, and it is also an important link in the final presentation of development results to users.

[0031] At present, in the process of code release, it is generally necessary to test the code, and it is generally tested in an offline environment. After the code test is passed, it is manually deployed to the server device to complete the code release. In most cases, functional testing is done by humans in offline environments, and to expedite testing progress, code is often tested against representative data. It can be seen that this method of code ...

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

A code publishing method and device are disclosed. A code publishing method, applied to a server device, simulates a simulation environment corresponding to an online environment of the server device on the server device, the online environment and the simulation environment are independent of each other, the The method includes: when a code release instruction is received, acquiring code to be released; performing the following operations in a simulation environment: determining that the code to be released is a grayscale code; extracting business data in an online environment according to a preset sampling rule, Form test data with preconfigured abnormal business data; run the grayscale code to process the test data; monitor whether the processing result of the test data meets the preset first requirement; if so, publish it in an online environment the code to be released.

Description

technical field [0001] The embodiments of the present specification relate to the field of computer technologies, and in particular, to a method and apparatus for issuing codes. Background technique [0002] Developers can write functional codes according to the needs of the project. The functional codes can be compiled codes for software, web pages, and operation and maintenance function modules. After the code is written, it needs to be deployed to the server device to run, and after running, it indirectly provides services to end users. This process is called code release. [0003] At present, in the process of code release, it is generally necessary to test the code first. After the test is passed, it is manually deployed to the server device to complete the code release. In most cases, manual functional testing and manual use are representative. data to test the code, etc. [0004] This method of code release requires a certain labor cost, and manual testing is one-si...

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 Patents(China)
IPC IPC(8): G06F8/41
CPCG06F8/447
Inventor 王婷婷
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products