Version publishing method and device based on multi-environment offline task
A multi-environment and task technology, applied in the Internet field, can solve the problems of high development cost of offline tasks, inability to solve business needs in multiple environments, low efficiency, etc., and achieve the effect of saving machine resource consumption.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com