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

Version release method and device based on multi-environment offline tasks

A multi-environment and task technology, applied in the Internet field, can solve the waste of machine resources and human resources, cannot solve the problems of multi-environment business needs, low efficiency, etc., and achieve the effect of reducing development

Active Publication Date: 2021-06-18
深圳市云网万店科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the era of DT (data processing technology), big data processing technology needs to solve the scalability and complexity of the system. The big data platform carries thousands of ETL task scheduling every day. These tasks have various forms and are single. The tasks in the environment can no longer meet the business needs of multiple environments, which will cause users to repeatedly perform the development, testing, release, and operation and maintenance of offline tasks in different environments, which will easily cause waste of machine resources and human resources. Ultimately, the development cost of offline tasks is too high and the efficiency 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
  • Version release method and device based on multi-environment offline tasks
  • Version release method and device based on multi-environment offline tasks
  • Version release method and device based on multi-environment offline tasks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] see Figure 1 to Figure 3 , this embodiment provides a method for releasing versions based on multi-environment offline tasks, including:

[0053] Create a new task flow in the development environment and create multiple task sub-nodes, and at the same time obtain the dependencies between the task sub-nodes. The task sub-nodes include task metadata information and task node file resources; upload the task metadata information to the development environment. Save in the database, and upload the task node file resources to the distributed file system in the development environment for storage; obtain the task flow reference version from the target environment, when the task sub-nodes and / or dependencies in the newly created task flow are compared with When the task flow reference version changes, update the version number of the newly created task flow and submit it; obtain the task metadata information corresponding to the task flow with the new version number from the d...

Embodiment 2

[0090] This embodiment provides a version release device based on multi-environment offline tasks, including:

[0091] A development unit, configured to create a plurality of task sub-nodes based on the newly created task flow, and at the same time obtain dependencies among the task sub-nodes, the task sub-nodes include metadata information and node file resources;

[0092] An upload unit, configured to upload the metadata information to a database for storage, and upload the node file resources to a distributed file system for storage;

[0093] A comparing unit, configured to obtain a task flow reference version from the target environment, and update the newly created task flow when the task sub-nodes and / or dependencies in the newly created task flow are changed compared with the task flow reference version version number of

[0094] The publishing unit is used to obtain metadata information corresponding to the task flow with a new version number from the database and pub...

Embodiment 3

[0099] This embodiment provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the above-mentioned version release method based on multi-environment offline tasks are executed.

[0100] Compared with the prior art, the beneficial effect of the computer-readable storage medium provided by this embodiment is the same as that of the multi-environment offline task-based version release method provided by the above technical solution, and details are not repeated here.

[0101] Those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned inventive method can be completed by instructing related hardware through a program. The above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it includes: For each step of the method in the foregoing embodiments, the foregoing storage m...

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 method and device for releasing a version based on multi-environment offline tasks, which can improve the efficiency of task flow cross-environment release while reducing the cost of task flow cross-environment release. The method includes: creating a new task flow in the development environment and creating multiple task sub-nodes, and at the same time obtaining the dependencies between the task sub-nodes; obtaining a reference version of the task flow from the target environment, when the task sub-nodes and / or Or when the dependency relationship changes compared with the task flow reference version, update the version number of the newly created task flow and submit it; obtain the task metadata information corresponding to the task flow with the new version number, and publish the task metadata information to the target environment at the same time, and Obtain the task node file resource corresponding to the task flow with the new version number, and trigger the file asynchronous upload service to publish the task node file resource to the target environment when the task node file resource changes, so as to realize the task flow with the new version number in the target environment release.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a method and device for releasing versions based on multi-environment offline tasks. Background technique [0002] Offline calculation refers to a calculation mode in which all the data to be calculated is obtained before the calculation task starts, and the amount of data does not change, and the calculation result can be obtained immediately after solving a problem. Offline calculation is usually It is used to perform complex batch calculations on a large amount of data, and has the advantages of large amount of calculation, fast calculation speed, and quick query of batch calculation results. With the rapid development and application of information technology, the scale of industrial application systems is rapidly expanding, and the data generated by it is increasing rapidly. The processing capacity of traditional computing technology and information systems can ...

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/658G06F8/71
CPCG06F8/658G06F8/71
Inventor 曹海洋徐伟王振振李成
Owner 深圳市云网万店科技有限公司
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