Jenkins job generation method and system based on customizable template

文档序号:1073177 发布日期:2020-10-16 浏览:24次 中文

阅读说明:本技术 基于可定制模板的Jenkins作业生成方法及系统 (Jenkins job generation method and system based on customizable template ) 是由 周晓庆 沈震宇 白佳乐 许振峰 于 2020-06-30 设计创作,主要内容包括:本发明提供了一种基于可定制模板的Jenkins作业生成方法及系统,所述方法包括:根据用户输入的作业生成请求确定作业模板;根据所述作业生成请求的作业信息和作业模板确定对应的变量,对所述变量进行变量替换得到变量值;根据所述变量值和所述作业模板形成Jenkins作业,本发明可实现基于作业模板的作业自动生成,提高作业生成的准确度和效率,降低成本。(The invention provides a method and a system for generating Jenkins operation based on a customizable template, wherein the method comprises the following steps: determining a job template according to a job generation request input by a user; determining a corresponding variable according to the job information of the job generation request and a job template, and performing variable replacement on the variable to obtain a variable value; according to the method and the device, Jenkins operation is formed according to the variable value and the operation template, operation automatic generation based on the operation template can be realized, the accuracy and efficiency of operation generation are improved, and the cost is reduced.)

1. A Jenkins job generation method based on a customizable template is characterized by comprising the following steps:

determining a job template according to a job generation request input by a user;

determining a corresponding variable according to the job information of the job generation request and a job template, and performing variable replacement on the variable to obtain a variable value;

and forming Jenkins operation according to the variable value and the operation template.

2. The Jenkins job generation method of claim 1, further comprising the step of pre-forming the job template.

3. The Jenkins job generation method according to claim 2, wherein the forming the job template specifically includes:

acquiring operation XML configuration information of Jenkins;

and determining a job template and a corresponding variable according to the XML configuration information.

4. The Jenkins job generation method of claim 2, wherein said forming the job template further comprises:

and determining an operation template set which takes a plurality of operation templates with generation sequence as a production line in all the operation templates according to the operation types of all the formed operation templates.

5. The Jenkins job generation method according to claim 3, wherein the obtaining job XML configuration information of Jenkins, and determining a job template and a corresponding variable according to the XML configuration information specifically comprises:

acquiring a Jenkins job list through a Jenkins REST API;

selecting the operation of the template to be extracted according to the Jenkins operation list, and determining the operation type and the operation template name;

acquiring corresponding operation XML configuration information through Jenkins REST API according to the selected template operation to be extracted;

and formatting the operation XML configuration information, then displaying the operation XML configuration information to a user, and determining variables in the formatted XML configuration information according to a user instruction.

6. The Jenkins job generation method according to claim 1, wherein the determining the corresponding variable according to the job information of the job generation request and the job template specifically comprises:

determining corresponding variables according to the operation template;

and replacing the variable according to the job information of the application, the version and the job type of the job generation request to obtain the variable value.

7. The Jenkins job generation method according to claim 1, further comprising:

modifying the corresponding operation template according to the template modification information input by the user;

and correspondingly modifying Jenkins operation generated according to the operation template according to the modified operation template.

8. A customizable template-based Jenkins job generation system, comprising:

a template determination unit for determining a job template according to a job generation request input by a user;

the variable replacing unit is used for determining a corresponding variable according to the job information of the job generation request and the job template, and performing variable replacement on the variable to obtain a variable value;

and the operation generating unit is used for forming Jenkins operation according to the variable value and the operation template.

9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor,

the processor, when executing the program, implements the method of any of claims 1-7.

10. A computer-readable medium, having stored thereon a computer program,

the program when executed by a processor implementing the method according to any one of claims 1-7.

Technical Field

The invention relates to the technical field of computers, in particular to a method and a system for generating Jenkins operation based on a customizable template.

Background

JENKINS is used as a simple and easy-to-use open-source continuous integration framework, is widely applied to various automatic tasks such as construction, deployment, testing and the like, creates corresponding jobs through page interactive operation, and can conveniently define job execution steps as required by a user to complete a continuous integration pipeline meeting application requirements. However, in larger-scale companies or organizations, the number of applications is quite large, and with the continuous evolution of micro-service architecture, the number of applications and services is continuously increasing, which causes great challenges to the maintenance of jobs. Maintenance of thousands of jobs by conventional copy and modification is not only error prone, but also a lot of manpower is wasted by repeated operations. Therefore, a convenient and efficient method is urgently needed to solve the problems and reduce the investment cost of continuous integration of application development.

Disclosure of Invention

The invention aims to provide a Jenkins job generation method based on a customizable template, which realizes automatic job generation based on the job template, improves the accuracy and efficiency of job generation and reduces the cost. It is another object of the present invention to provide a customizable template based Jenkins job generation system. It is a further object of this invention to provide such a computer apparatus. It is a further object of this invention to provide such a readable medium.

In order to achieve the above purpose, the invention discloses a method for generating Jenkins operation based on a customizable template, which comprises the following steps:

determining a job template according to a job generation request input by a user;

determining a corresponding variable according to the job information of the job generation request and a job template, and performing variable replacement on the variable to obtain a variable value;

and forming Jenkins operation according to the variable value and the operation template.

Preferably, the method further comprises the step of forming the operation template in advance.

Preferably, the forming the operation template specifically includes:

acquiring operation XML configuration information of Jenkins;

and determining a job template and a corresponding variable according to the XML configuration information.

Preferably, the forming the work template further includes:

and determining an operation template set which takes a plurality of operation templates with generation sequence as a production line in all the operation templates according to the operation types of all the formed operation templates.

Preferably, the obtaining of the job XML configuration information of Jenkins and the determining of the job template and the corresponding variable according to the XML configuration information specifically include:

acquiring a Jenkins job list through a Jenkins REST API;

selecting the operation of the template to be extracted according to the Jenkins operation list, and determining the operation type and the operation template name;

acquiring corresponding operation XML configuration information through Jenkins REST API according to the selected template operation to be extracted;

and formatting the operation XML configuration information, then displaying the operation XML configuration information to a user, and determining variables in the formatted XML configuration information according to a user instruction.

Preferably, the determining the corresponding variable according to the job information of the job generation request and the job template specifically includes:

determining corresponding variables according to the operation template;

and replacing the variable according to the job information of the application, the version and the job type of the job generation request to obtain the variable value.

Preferably, the method further comprises the following steps:

modifying the corresponding operation template according to the template modification information input by the user;

and correspondingly modifying Jenkins operation generated according to the operation template according to the modified operation template.

The invention also discloses a Jenkins operation generation system based on the customizable template, which comprises the following steps:

a template determination unit for determining a job template according to a job generation request input by a user;

the variable replacing unit is used for determining a corresponding variable according to the job information of the job generation request and the job template, and performing variable replacement on the variable to obtain a variable value;

and the operation generating unit is used for forming Jenkins operation according to the variable value and the operation template.

The invention also discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor,

the processor, when executing the program, implements the method as described above.

The invention also discloses a computer-readable medium, having stored thereon a computer program,

which when executed by a processor implements the method as described above.

The method extracts the jobs with similar overall structure and different parameter settings to obtain the common template, determines the job template and the variable value required to be set by the user through the input parameter value according to the job generation request input by the user, and forms Jenkins jobs according to the job template and the variable value. The method and the system realize the extraction and management of different types of operation templates, can automatically generate various Jenkins operations based on the operation templates according to partial information input by a user, do not need to log in Jenkins to be created or copied one by one, and greatly reduce the investment cost of continuous application integration.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a flow diagram illustrating one embodiment of a customizable template based Jenkins job generation method of the present invention;

FIG. 2 is a flow chart of a specific embodiment S000 of the customizable template based Jenkins job generation method of the present invention;

FIG. 3 is a flow diagram illustrating one embodiment of a customizable template based Jenkins job generation method of the present invention, including S000 of S030;

FIG. 4 is a flowchart of a customizable template based Jenkins job generation method, according to one embodiment of the present invention, shown as S010 and S020;

FIG. 5 is a flow diagram illustrating a customizable template based Jenkins job generation method S200 according to one embodiment of the present invention;

FIG. 6 is a flow diagram illustrating a customizable template based Jenkins job generation method S400 according to one embodiment of the present invention;

FIG. 7 is a block diagram illustrating one embodiment of a customizable template based Jenkins job generation system according to the present invention;

FIG. 8 shows a schematic block diagram of a computer device suitable for use in implementing embodiments of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In one or more embodiments of the present invention, Jenkins refers to an open source software project, and is a continuous integration tool developed based on Java for monitoring continuous and repeated work, and aims to provide an open and easy-to-use software platform, so that continuous integration of software becomes possible.

In one or more embodiments of the invention, XML refers to extensible markup language (eextensiblemarklanguage), which is a subset of standard universal markup languages, a markup language for markup electronic documents to be structured. The XML configuration information is configuration information described in an XML format.

In one or more embodiments of the invention, the API refers to an Application Program Interface (API), which is a set of definitions, programs, and protocols, and through which the computer software communicates with each other. One of the primary functions of an API is to provide a common set of functions. The programmer can reduce programming tasks by calling the API function to develop the application program. The API is also a middleware and provides data sharing for various platforms.

In one or more embodiments of the invention, XPath is an XML path language. It uses a non-XML syntax that provides a way to flexibly locate different parts of an XML document. It can also be used to detect whether a node in a document matches a pattern.

In the existing Jenkins operation generation process, Jenkins need to be logged in to be created or copied one by one to form Jenkins operation. However, in larger-scale companies or organizations, due to the large number of applications and the parallel development of multiple versions, Jenkins job creation and maintenance costs are quite high and manual configuration is prone to errors. Therefore, the inventor obtains that the jobs maintained by different applications for the same purpose or the jobs maintained by the same application for different parallel development versions through analyzing Jenkins jobs, the overall structures of the jobs are basically similar, mainly parameter setting and few steps have differences, so that a shared template can be extracted for the same job, and the types of the maintained jobs are reduced. Therefore, based on common job templates of different job types, such as job templates of construction, deployment, automatic testing and the like, full automation of Jenkins job creation and updating is achieved, and maintenance cost of continuous integration and assembly lines is remarkably reduced.

According to one aspect of the invention, the embodiment discloses a Jenkins job generation method based on a customizable template. As shown in fig. 1, in this embodiment, the method includes:

s100: and determining a job template according to the job generation request input by the user.

S200: and determining a corresponding variable according to the job information of the job generation request and the job template, and performing variable replacement on the variable to obtain a variable value.

S300: and forming Jenkins operation according to the variable value and the operation template.

The method extracts the jobs with similar overall structure and different parameter settings to obtain the common template, determines the job template and the variable value required to be set by the user through the input parameter value according to the job generation request input by the user, and forms Jenkins jobs according to the job template and the variable value. The method and the system realize the extraction and management of different types of operation templates, can automatically generate various Jenkins operations based on the operation templates according to partial information input by a user, do not need to log in Jenkins to be created or copied one by one, and greatly reduce the investment cost of continuous application integration.

In a preferred embodiment, the method further comprises a step S000 of forming the job template in advance. In order to solve the problems that the maintenance cost of massive JENKINS jobs is high, manual configuration is easy to make mistakes and the like, the full automation of job creation and maintenance is realized through the extraction of public job templates and flexible template instantiation rules. The method and the device extract the common template based on the homogeneous operation, realize inheritance and reuse of Jenkins operation assets, reduce operation types, improve standardization degree, and solve the problems that manual configuration is easy to make mistakes or operation configuration is inconsistent and the like.

In a preferred embodiment, as shown in fig. 2, the S000 may specifically include:

s010: and acquiring XML configuration information of the jobs of Jenkins.

S020: and determining a job template and a corresponding variable according to the XML configuration information.

It can be understood that the job template can extract job XML configuration information from Jenkins, determine variables to be replaced in the job template according to user definition and other manners, form the job template and associated variables, and support automatic creation of jobs. The template extraction is carried out on a large amount of different types of operation XML configuration information, so that the extraction and storage of the universal operation templates of different types of Jenkins operations can be completed.

In a preferred embodiment, as shown in fig. 3, the S000 forming the job template further may include:

s030: and determining an operation template set which takes a plurality of operation templates with generation sequence as a production line in all the operation templates according to the operation types of all the formed operation templates.

It can be understood that, when there are different job type job templates maintained by the application having an upstream and downstream relationship, that is, different job templates may be generated sequentially according to the upstream and downstream relationship, and the different job templates have a generation sequence. The operation template set with the pipeline property can be formed according to the generation sequence of the operation templates of all the operation types, the created operation template set can be quoted at one time, a group of associated operations can be obtained through one-time creation according to all the operation templates in the operation template set, and the characteristic operation continuous pipeline integration is formed. Compare and establish the edit save on Jenkins page by the job one by one, the job maintenance efficiency has promoted by a wide margin, can the continuous integrated demand of quick response application. And the extraction template needs to be familiar to Jenkins, so that the method can greatly reduce the maintenance threshold of Jenkins operation.

In a preferred embodiment, as shown in fig. 4, the acquiring, in S000, job XML configuration information of Jenkins, and determining, according to the XML configuration information, a job template and a corresponding variable specifically includes:

s011: and acquiring a Jenkins job list through a Jenkins REST API.

S012: and selecting the operation of the template to be extracted according to the Jenkins operation list, and determining the operation type and the operation template name.

S013: and acquiring corresponding operation XML configuration information through Jenkins REST API according to the selected template operation to be extracted.

S014: and formatting the operation XML configuration information, then displaying the operation XML configuration information to a user, and determining variables in the formatted XML configuration information according to a user instruction.

It can be understood that, in the preferred embodiment, after a user may select a certain Jenkins, the Jenkins request API is called to query the job list, and the user may select a job to be extracted as a template according to the returned Jenkins job list (an existing job selects or maintains a template job in advance), and specify a job type (different types of jobs execute actions with great difference, and variables to be extracted are also different) and a template name. Furthermore, a predefined Jenkins REST API interface is called according to the job selected by the user to obtain the complete XML configuration of the job, and the XML configuration is formatted and displayed, so that the user can adjust the XML configuration according to the requirement, for example, a certain element or character string needs to be replaced or cut, the XML configuration can be set as a variable and identified by an XPath path. Optionally, the variables may be selected from an existing dictionary, and if there is no match, the variables may be added and the related attributes may be maintained and then recorded, and the feature values may be maintained according to the application and version.

After confirming that the operation template is maintained, the user can execute the operation of releasing the template, the released operation template can be stored in the database in an XML form, and only the released operation template can be called by the user to generate the operation.

In a preferred embodiment, as shown in fig. 5, the determining, in S200, a corresponding variable according to the job information and the job template of the job generation request may specifically include:

s210: and determining corresponding variables according to the operation template.

S220: and replacing the variable according to the job information of the application, the version and the job type of the job generation request to obtain the variable value.

In order to automatically generate a job template from the job template and the variables, the variables instructed by the user may be stored in the parameter maintenance device. Specifically, the parameter maintenance device can store a replacement rule of the variable, a relationship between the variable and the application version, an optional parameter value and the like, and can be used for supporting full-automatic creation of the job according to the predefined variable replacement rule and the variable value without manual input.

Specifically, in the preferred embodiment, the method supports the docking of a plurality of Jenkins, and supports the configuration of association relations of different Jenkins according to applications and job types.

Wherein one job template may associate a plurality of variables that need to be replaced. The variables may include common variables and job-type-specific variables. In one specific example, variables associated with a job template may be stored as in Table 1.

TABLE 1

Job template name Job template type Name of variable
Build_Template Construction of git_repo_url
Build_Template Construction of git_branch
Build_Template Construction of ……

Further, a job template is created according to the job, wherein some of the extracted variables are global, some of the extracted variables belong to a specific job type, the job type may include at least one of the types of construction, deployment, static code scanning, automation testing, and the like, and in practical applications, other job types may also be set as needed, which is not limited by the present invention. The replaced variable may be located based on XPath, default attributes and parameter values may be set, and variable values may also be derived from user-defined parameter values in the job generation request. In one particular example, variables based on job type may be stored as per Table 2.

TABLE 2

Variables may maintain specific behaviors and variable values depending on the application. In one specific example, the correspondence of variables to applications may be stored as in Table 3.

TABLE 3

Figure BDA0002561863330000091

Variables may maintain specific behaviors and variable values depending on the version. In one specific example, the correspondence of variables to versions may be stored as table 4.

TABLE 4

When generating Jenkins jobs, a user submits a job generation request by one key after selecting job information and job templates of an application, a version and a job type. And acquiring one or a group of corresponding template XML texts according to the job generation request, and simultaneously querying an associated variable list according to the template name. And according to the associated variable list, positioning the variables one by one on the basis of XPath, and then executing corresponding replacement or cutting actions according to the variable attributes and variable values maintained by the application and version in the parameter maintenance device to finish the instantiation operation of the template. The method comprises the steps of obtaining one or a group of new XML texts after a template is subjected to replacement cutting and instantiation, determining Jenkins needing to be created by the jobs according to applications and job types, calling Jenkins REST API to initiate one or a group of associated job creation requests, and feeding the creation results back to users.

Preferably, the invention can provide a page or interface form, support the user to select the predefined job template or application pipeline template, initiate the request of batch job automatic creation, and feedback the user's result after the system processing is completed. The API interface is provided for other systems to be integrated, the continuous delivery process can be further simplified, for example, a developer submits an application patch application from an inline continuous delivery system, the system judges that the current operation does not exist, calls the operation generation interface to complete the creation of a list of operations, then triggers the operation, executes the processes of version construction, code scanning, version deployment, automatic testing and the like, and maintenance personnel are not needed to intervene in the whole process.

In a preferred embodiment, as shown in fig. 6, the method further includes S400:

s410: and modifying the corresponding operation template according to the template modification information input by the user.

S420: and correspondingly modifying Jenkins operation generated according to the operation template according to the modified operation template.

It can be understood that if the follow-up job template needs to be updated, the issued job template can be selected to be edited, if the follow-up job template needs to be updated, the system can inquire whether the job template generates Jenkins job or not if the job template is reissued, if the job template generates Jenkins job, the word template is prompted to be associated with the job list, a user can select to synchronously refresh stock operation, the template extraction device can call the job production module to complete the stock updating operation, and the process of manually editing and updating one by one is omitted.

Based on the same principle, the embodiment also discloses a Jenkins job generation system based on the customizable template. As shown in fig. 7, in the present embodiment, the system includes a template determination unit 11, a variable replacement unit 12, and a job generation unit 13.

The template determination unit 11 is configured to determine a job template according to a job generation request input by a user.

The variable replacing unit 12 is configured to determine a corresponding variable according to the job information of the job generation request and the job template, and perform variable replacement on the variable to obtain a variable value.

The job generating unit 13 is configured to form Jenkins jobs according to the variable values and the job templates.

Since the principle of the system for solving the problem is similar to the above method, the implementation of the system can refer to the implementation of the method, and the detailed description is omitted here.

The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

In a typical example, the computer device comprises in particular a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the method as described above.

Referring now to FIG. 8, shown is a schematic diagram of a computer device 600 suitable for use in implementing embodiments of the present application.

As shown in fig. 8, the computer apparatus 600 includes a Central Processing Unit (CPU)601 which can perform various appropriate works and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM)) 603. In the RAM603, various programs and data necessary for the operation of the system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.

The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output section 607 including a Cathode Ray Tube (CRT), a liquid crystal feedback (LCD), and the like, and a speaker and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted as necessary on the storage section 608.

In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.

Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.

For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.

The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.

The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:字符串处理方法及装置、计算机存储介质、电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!