Arrangement file generation method and device and electronic equipment

A file and software technology, applied in the Internet field, can solve the problems such as high error rate of layout files, difficulty for users to find problems in time, and influence on the efficiency of layout file generation

Active Publication Date: 2020-02-14
BEIJING KUANGSHI TECH
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, it can be based on the container operating parameters of software products (such as software product version information, scene information, configurable services and variable parameters, etc.) cluster information such as the number of hosts) to generate the layout file, the generation method of the layout file is converted from the initial manual writing to the writing of the layout tool, although the way of using the layout tool improves the low efficiency of manual writing and the error of the layout file to a certain extent However, it is still necessary to manual...

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
  • Arrangement file generation method and device and electronic equipment
  • Arrangement file generation method and device and electronic equipment
  • Arrangement file generation method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] Reference figure 2 It is a schematic structural diagram of an electronic device 100 for implementing the method and apparatus for generating a layout file in the embodiments of the present invention. The electronic device 100 includes one or more processors 102, one or more storage devices 104, and an input device 106. The output device 108 and the image acquisition device 110 are interconnected by a bus system 112 and / or other forms of connection mechanisms (not shown). It should be noted that figure 2 The components and structure of the electronic device 100 shown are only exemplary and not restrictive. The electronic device may have figure 2 Some of the components shown can also have figure 2 Other components and structures are not shown.

[0032] The processor 102 may be implemented in a hardware form of at least one of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA), and the processor 102 may be a centr...

Embodiment 2

[0039] See image 3 The flow diagram of a method for generating a layout file is shown. The method is applied to a layout tool that can run on the above figure 2 The electronic device shown is pre-configured with multiple orchestration templates and functional components corresponding to different types of software. The orchestration template may include service information and default parameters corresponding to the configurable services of the software to be deployed, and the functional components may be used For components that implement one or more services, the method mainly includes steps S302 to S312:

[0040] Step S302, searching for a target orchestration template and a set of candidate function components corresponding to the type identification information of the software to be deployed.

[0041] The foregoing type identification information may include one or more of the software name, software version, and software application scenarios of the software to be deployed. ...

Embodiment 3

[0075] On the basis of the foregoing embodiment, this embodiment provides a specific example of applying the foregoing method for generating a layout file, see Figure 7 As shown in the schematic diagram of the flow of generating another layout file, the method may include the following steps S702 to S712:

[0076] Step S702: Formulate a deployment plan, build a cluster based on the deployment plan, configure nodes in the cluster, and obtain cluster information. In a specific implementation manner, the user configures the number of manager nodes and anget nodes in the DevOps (Development Operations, operation and maintenance) system according to the deployment plan, where the anget node includes a control node and a computing node, and configures the control node The service functions that need to be performed, and the computing functions that need to be performed to configure the computing nodes, that is, the role of each node in the service cluster is configured, and each networ...

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 provides an arrangement file generation method and device, and electronic equipment. The arrangement file generation method comprises the steps of searching a target arrangement templateand a candidate function component set corresponding to type identification information of to-be-deployed software; receiving cluster information of to-be-deployed software imported by a specified system, wherein the cluster information comprises node information corresponding to a plurality of nodes; determining a target functional component from the candidate functional component set; based onthe target function component and the cluster information, generating and displaying a topological structure diagram corresponding to the to-be-deployed software, wherein the topological structure diagram comprises an association relationship between the target function component and the node; generating a target YAML file required for deploying the to-be-deployed software according to the type identification information, the target arrangement template, the cluster information and the target function component; and packaging the target YAML file and the topological structure diagram to obtainan arrangement file. According to the arrangement file generation method, the generation efficiency and reliability of the orchestration file can be improved.

Description

Technical field [0001] The present invention relates to the field of Internet technology, in particular to a method, device and electronic equipment for generating an arrangement file. Background technique [0002] Software products can provide customers with multiple services. In actual applications, the required software products can be obtained by deploying the orchestration file to the cluster. The orchestration file can also be understood as a file used to configure the software product. [0003] At present, it can be based on the container operating parameters of the software product (such as the version information of the software product, scene information, configurable services and variable parameters, etc.) and the environmental information of the cluster where the software product is located (such as node information, video memory information, and graphics processing). Cluster information such as the number of devices) generates the orchestration file. The method for gen...

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/73G06F8/60
CPCG06F8/73G06F8/60
Inventor 宋晶亮孙韬佘春利刘天伟
Owner BEIJING KUANGSHI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products