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

Code release method and device

A code release and code technology, which is applied in the computer field, can solve the problems of low code test quality and labor cost, and achieve the effect of code release, save labor cost, and improve test quality

Active Publication Date: 2019-07-12
ADVANCED NEW TECH CO LTD
View PDF7 Cites 5 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
  • Code release method and device
  • Code release method and device
  • Code release 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 achieve a specific function. For example, the function codes can be software compilation codes, webpage compilation codes, operation and maintenance function module compilation codes, etc. In the entire development process, code writing is only 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] Currently, in the process of code release, it is generally necessary to test the code, usually in an offline environment. After the code test passes, it is manually deployed to the server device to complete the code release. In most cases, functional testing is performed manually in the offline environment, and in order to speed up the testing process, the code is often tested with representative data. It can be seen from this that this...

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 discloses a code release method and device. A code release method is applied to a server device, a simulation environment corresponding to an online environment of the server device is simulated on the server device, the online environment and the simulation environment are independent of each other. The method comprises: when a code release instruction is received, obtaining a to-be-released code; executing the following operations in a simulation environment: determining that the to-be-released code is a gray scale code; extracting service data in the online environment according to a preset sampling rule, and forming test data with pre-configured abnormal service data; running the gray scale code, and processing the test data; monitoring whether a processing result of thetest data meets a preset first requirement or not; and if yes, releasing the to-be-released code in an online environment.

Description

technical field [0001] The embodiments of this specification relate to the field of computer technology, and in particular, to a method and device for issuing codes. Background technique [0002] Developers write function codes according to project needs. Function codes can compile 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 then indirectly provide services to end users after running. This process is called code release. [0003] In the current process of code release, it is generally necessary to test the code first, and then manually deploy it to the server device to complete the code release after the test is passed. In most cases, functional testing is performed manually, and manual use is representative The data to test the code, etc. [0004] This method of code release requires a certain amount of labor costs, and manual testing is one-sided, and th...

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/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