Supercharge Your Innovation With Domain-Expert AI Agents!

Automatic code online method and system

A code-on-line and code-on-line technology, applied in the field of code on-line, can solve problems such as no correlation between software, stability cannot be guaranteed, and cumbersome operation, so as to increase controllability and stability, reduce failure rate, and realize code rollback Effect

Pending Publication Date: 2020-11-24
新浪技术(中国)有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The software used is not related to each other, the operation is cumbersome, and manual operation is required, and the stability cannot be guaranteed

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
  • Automatic code online method and system
  • Automatic code online method and system
  • Automatic code online method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Such as figure 1 As shown, in conjunction with the first embodiment of the present invention, a method for automatically launching code is provided, including:

[0022] S101: The request receiving unit 21 automatically receives the user code online request through its application program interface API, and sends the received user code online request to the logic processing unit 22;

[0023] S102: The logic processing unit 22 parses out the project name in the open source software platform 23 required to construct the source code from the code online request, calls the open source software platform API to construct the source code using the project name required to construct the source code, and builds The source code to generate a software package, and record the version information of the generated software package;

[0024] S103: The logic processing unit 22 parses from the code online request to parse out the IP address of the server whose code is to be online;

[0025] S104...

Embodiment 2

[0050] Such as figure 2 As shown, in conjunction with the second embodiment of the present invention, a system for automatically launching codes is also provided, including:

[0051] The request receiving unit 21 is configured to automatically receive a user code online request through its application program interface API, and send the received user code online request to the logic processing unit 22;

[0052] The logic processing unit 22 is used to parse out the project name in the open source software platform 23 required to build the source code from the code online request, call the open source software platform API to generate the software package, and record the software package version information; The online request resolves the IP address of the server where the code needs to go online; pushes the software package to the corresponding server according to the IP address of the server where the code needs to go online;

[0053] The open source software platform 23 is configu...

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 embodiment of the invention provides an automatic code online method and system, and the method comprises the steps that a request receiving unit automatically receives a user code online requestthrough an application program interface API, and transmits the received user code online request to a logic processing unit; the logic processing unit analyzes a project name in the open source software platform required for constructing the source code from the code online request, calls an open source software platform API to construct the source code by adopting the project name required for constructing the source code, generates a software package from the constructed source code, and records version information of the software package generated this time; the logic processing unit analyzes a server IP address to be online of the code from the code online request; and the logic processing unit pushes the software package to the corresponding server according to the server IP addressto be online of the code. The controllability and stability of the online codes are improved through automatic online processing of the codes.

Description

Technical field [0001] The present invention relates to the field of code online, in particular to a method and system for automatic code online. Background technique [0002] In the prior art, when a new code is online or a code update is online, it is usually only possible to construct a software package separately, and after the construction is completed, it is manually delivered to the server where the code is online. [0003] In the process of implementing the present invention, the applicant found that at least the following problems exist in the prior art: [0004] The software used is not related to each other, the operation is cumbersome, and manual operation is required, and the stability cannot be guaranteed. Summary of the invention [0005] The embodiment of the present invention provides a method and system for automatic code online, which realizes automatic code online processing, and avoids the cumbersome and non-procedural problem of manual operation of code online 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
IPC IPC(8): G06F8/20G06F8/65G06F8/71G06F11/14
CPCG06F8/20G06F8/65G06F8/71G06F11/1469
Inventor 贾永鹏马超揭震
Owner 新浪技术(中国)有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More