Software continuous integration method, device and system
A continuous integration and software technology, applied in transmission systems, multi-programming devices, electrical components, etc., can solve problems such as low resource utilization and low CI agent resource sharing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Such as figure 2 As shown, the embodiment of the present invention provides a method for continuous software integration, the method includes the following steps:
[0029] S101: Receive the CI subtask sent by the CI master;
[0030] S102: According to the online communication status of at least two CI agents in the currently managed CI agent resource pool, and the idle status of computing resources of the at least two CI agents, determine to execute the current executable subtask in at least one CI subtask currently managed The task is a target CI agent, and the current executable subtask is sent to the target CI agent, so that the target CI agent executes the executable subtask, and the at least two CI agents are general computing units.
[0031] In this embodiment, the currently executable subtask in at least one currently managed CI subtask may be the currently received CI subtask, or a previously received CI subtask.
[0032] It can be seen that in this embodimen...
Embodiment 2
[0034] Such as image 3 As shown, the embodiment of the present invention provides a method for continuous software integration, the method includes the following steps:
[0035] S201: The CI management machine receives the registration request sent by the CI master and the CI agent;
[0036] Specifically, when the CI master and the CI agent are started, they send a registration request to the CI management machine in the form of a heartbeat, and establish a communication connection with the CI management machine. A CI composed of all CI agents registered with it will be generated in the CI management machine. Agent resource pool, the CI agent in the resource pool is a common computing unit.
[0037] Wherein, the request information of the registration request sent by the CI master includes the subtask dependencies between the CI masters and the CI agent type specified by it, and different types of CI agents can support different operating systems and special CI tasks.
[00...
Embodiment 3
[0090] Such as Figure 4 As shown, the embodiment of the present invention also provides a method for continuous software integration, which includes the following steps:
[0091] Steps S301-S304 are the same as S201-S204 in Embodiment 3, see Embodiment 3 for details, and will not be repeated here.
[0092] S305: The CI master control sends a request for acquiring the weight of idle computing resources to the CI management machine;
[0093] S306: The CI management machine responds to the acquisition request, and sends the idle computing resource weight to the CI master;
[0094] Specifically, when the CI agents in the CI agent resource pool currently managed by the CI management machine are all in the online communication state, according to the idle status query responses returned by the at least two CI agents, obtain the idle computing resources of at least two CI agents. State: generating idle computing resource weights of the at least two CI agents according to the idle ...
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