Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

84 results about "YAML" patented technology

YAML (a recursive acronym for "YAML Ain't Markup Language") is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted. YAML targets many of the same communications applications as Extensible Markup Language (XML) but has a minimal syntax which intentionally differs from SGML . It uses both Python-style indentation to indicate nesting, and a more compact format that uses [] for lists and {} for maps making YAML 1.2 a superset of JSON.

Arrangement file generation method and device and electronic equipment

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.
Owner:BEIJING KUANGSHI TECH

Application program development method, system and device

The invention relates to an application program development method. The method comprises the following steps of obtaining component information of each component stored in a package management tool and a component code corresponding to the component information; defining component information by using a yaml language to obtain a spec file corresponding to each component; obtaining a development task of the application program; defining the component composition of the application program according to the development task to obtain a make.yaml file; performing dependency relationship analysis according to the make.yaml file and the spec file to obtain a component embedding interface and a compiling interface; calling a component code according to the component embedding interface; recompiling the code according to the compiling interface to obtain a newly-compiled code; and combining the component code and the newly edited code to obtain the application program. According to the technical scheme, the dependency relationship between the components in the package management tool can be defined, the problem of component missing is avoided, and it is guaranteed that developers can compile target products smoothly.
Owner:HANGZHOU TUYA INFORMATION TECH CO LTD

Application template configuration method based on tree structure

The invention particularly relates to an application template configuration method based on a tree structure. The application template configuration method based on a tree structure is based on an Angular language and an ng-zorro-antd framework, and comprises two classes of json2Tree and tree2Json; the method comprises the steps of converting a YAML format file into a JSON format, traversing configuration items in the JSON format, drawing a tree diagram, guiding a user to performing template configuration in a tree diagram mode to enable the template to support editing, storage and format conversion, and forbidding the user to modify names of the configuration items. According to the application template configuration method based on the tree structure, the user is forbidden to modify thename of the configuration item, so that configuration errors can be prevented; a hierarchical structure of configuration is more clearly displayed through a tree structure, so that the user can browseand search configuration items conveniently; data types are distinguished by using different color labels, so that a user can conveniently check the legality of configuration parameters; mutual conversion between files of different formats can be achieved, more modes can be provided for a user to configure the template, and the flexibility is improved.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Method for automatically creating and mounting LVM volume in K8s environment

The invention particularly relates to a method for automatically creating and mounting an LVM volume in a K8s environment. The method for automatically creating and mounting the LVM volume in the K8senvironment comprises the following steps of: based on the Kubernetes environment, firstly, making a mirror image for executing automatic creation and mounting of the LVM volume, and then, defining aConfigmap tube and a Job management single copy Pod to run the made mirror image, configuring container permission, environment variables, mount required and selecting nodes; and finally, using a Kubernetes client to operate the previously created yaml file, including Configmap and Deployment, so as to achieve automatic creation and LVM volume mounting of target node operation; repeated operationcan be realized, subsequent expansion of the LVM volume is supported, node service is provided, and local storage is used. According to the method for automatically creating and mounting the LVM volume in the K8s environment, conversion from the target disk to the LVM volume is completed by reading related configurations through Kubernetes Job, and the LVM volume is mounted on the target directoryto provide service for use, so that the usability and manageability are greatly improved compared with the process of manually completing disk initialization and mounting, and the requirement of using local storage by Kubernetes service in the production environment can be met.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Jenkins and K3S-based software environment rapid deployment method

The invention relates to a jenkins and K3S-based software environment rapid deployment method, which realizes deployment of K3s and a distributed script system GlusterFS on the basis of an automatic operation and maintenance tool. Mounting to the distributed script system GlusterFS deployed in the step 1 through a K3s cluster machine is carried out, and the software yaml script to be deployed is defined. A jenkins docker container mirror image is constructed, so that rapid deployment of the jenkins environment is realized. A jenkins task is configured, a service code warehouse address is constructed, and an automatic production management script is generated. A shell script constructed by software is specified in the Pipline, and the automatic production management version description script is saved in a code directory. The corresponding container can be controlled to be restarted through K3s Kubectl, and service updating is achieved. Therefore, delivery and deployment of small and medium-sized software projects are facilitated, deployment is quick, and later operation and maintenance are convenient. The construction time in the software research and development process can be shortened, and construction can be conducted according to needs. And copying and reconstruction of a software research and development continuous integration environment are facilitated. Version management and version rollback are facilitated.
Owner:江苏云坤信息科技有限公司

Yaml configuration modeling

A method, system and computer program product for YAML configuration exploration includes importing from fixed storage into memory of a computing system, a multiplicity of YAML conformant configuration files, parsing each of the imported YAML conformant configuration files and storing each element of each of the parsed YAML conformant configuration files in a database. The method additionally includes generating a data model from the stored elements in the database. Finally, the method includes presenting a data visualization of at least a portion of the generated data model including elements from at least two different ones of the imported YAML conformant configuration files.
Owner:GOOGLE LLC

Application multi-time configuration and deployment method based on cloud platform

The invention discloses an application multi-time configuration and deployment method based on a cloud platform, and the method comprises the following steps: step A, a chart directory is added in a code warehouse root directory of an application, a two-layer directory is a directory with the same name as the application; step B, the catalogue comprises a Chart.yaml configuration file and a value.Yaml configuration file, and the two configuration files and the platform can provide templates; step C, the platform automatically reads the configuration file by utilizing the value. Yaml configuration file when the application is deployed; and step D, when the application is deployed, the configuration file of the code warehouse is automatically read, and after a user selects a deployment modeand selects a corresponding cluster or resource, a related configuration item of the configuration file is automatically read by a program, and a task and an action of application deployment is executed. According to the application multi-time configuration and deployment method based on the cloud platform provided by the invention, the flexibility of the DevOps platform is improved, and meanwhile, the efficiency and comprehensiveness of operation and maintenance deployment are improved.
Owner:广东云徙智能科技有限公司

User data security protection method in Kubernetes environment

The invention relates to a user data security protection method in a Kubernetes environment. The user data security protection method comprises encryption storage and access decryption. The encryptionstorage is implemented by the steps of: arranging and splicing non-empty fields in a test.yaml file into a character string according to a lexicographical order, and storing the character string intoa stringA in the test.yaml file; after a client receives the test.yaml file sent by a KubernetesAPISserver, decrypting a sign field in the file by using a private key, using an SHA1 signature algorithm to encrypt a stingA field by the client, comparing a decrypted abstract sign_d with a sign_2 obtained after the stingA is encrypted by the client, and ensuring that the fields are not tampered after comparison abstract results are the same; and encrypting the fields in the test.yaml by using a public key. The access decryption is implemented by the steps of: receiving an encrypted file by meansof the KubernetesAPISserver, and sending a request to an etcd; after the Kubernetes APIServer receives the information, sending the encrypted yaml configuration file to the client; receiving a test.yaml file sent by the APIServer by the client; decrypting, by means of the client, the data by using the private key; sending the decrypted file to the KubernetesAPISserver through an https protocol; receiving the data of the client by the KubernetesAPISserver; decrypting an abstract of the field sign; andensuring that the field is not tampered after confirming that abstract text results are the same.
Owner:航天科工网络信息发展有限公司

Method for automatically generating yaml script based on assembly line

The invention discloses a method for automatically generating a yaml script based on an assembly line, and belongs to the technical field of automatic generation of yaml configuration files. The method comprises the following steps: configuring a template: compiling assembly line configuration and user parameter configuration by using json and jsonet, wherein the assembly line configuration and the user parameter configuration are used for calling maven, golang and vue of different engineering types; creating the assembly line, configuring a warehouse, a template and mirror image information,and generating assembly line parameters; analyzing the configured template parameter content by a front end, and automatically generating the yaml file; and initiating the construction of the generated yaml file on a drone platform, and verifying the correctness of the yaml script content. According to the method for automatically generating the yaml script based on the assembly line, developers or operation and maintenance personnel do not need to use development tools or manually compile configuration files any more, so that the work intensity of compiling the configuration scripts by project managers or operation and maintenance personnel is reduced, and the development and release efficiency is improved.
Owner:SICHUAN CHANGHONG ELECTRIC CO LTD

Helm parameter batch configuration method based on template

The invention discloses a helm parameter batch configuration method based on a template and relates to the technical field of data processing, the method is based on template file libraries of all charts and a basic configuration file library of a corresponding environment. Executing construction operation outside the deployment environment, reading values configuration of the deployment environment, determining required charts and versions, pre-checking the charts, collecting values. Yaml of the charts, and combining the values. Yaml with a global.yaml and a pre-rendering runtime variable; the method comprises the following steps: executing a running operation in a deployment environment, combining values configuration determined during construction with variables related to the environment to form a chart format of armada, and calling tilers in a kubernetes cluster in a chart group form to deploy charts. According to the method, quick configuration of large-scale chart values in thecluster is realized; according to the method, the problem that the value. Yaml of a large number of charts is difficult to manage and maintain in a unified mode when the kubernetes cluster is deployed, operated and maintained is solved, and the management efficiency of the kubernetes cluster is effectively improved.
Owner:山东汇贸电子口岸有限公司

Road condition real-time publishing method and device based on container arrangement technology

The invention discloses a real-time road condition publishing method and device based on a container arrangement technology, and the method comprises the following steps: A, a system construction and publishing process: submitting a local code and a file to Gitlab through a git command, monitoring the code change through a webhook plug-in, automatically triggering jenkins for construction, enabling the jenkins to make the code into a docker mirror image, and enabling the push to a harbor mirror image warehouse; B, executing rc and service creation on the k8s-master, then creating Pod, and pulling a mirror image from a harbor mirror image warehouse; C, reading the yaml configuration file of the mirror image in k8s. According to the method, automatic construction and rapid release are achieved, rapid and automatic construction, deployment and release are achieved, a preset arrangement template is used for arranging multiple modules, automatic management and a one-key rollback mechanism of the multiple modules are achieved, the situation that abnormity occurs in the updating process and rapid rollback occurs is achieved, the continuous optimization and updating requirements of a road condition release system are met, the system version is updated more rapidly, and the manual publishing cost is reduced.
Owner:沈阳世纪高通科技有限公司

API gateway routing entity configuration method and system based on Kong

The invention discloses an API gateway routing entity configuration method and an API gateway routing entity configuration system based on Kong, which belong to the field of communication configuration. The API gateway routing entity configuration method comprises the following specific steps of: S1, configuring an API gateway plug-in developed on the basis of Kong by utilizing a YAML configuration file; S2, limiting fields in a request header in an entity; S3, completely matching the limited field with a client request; S4, and carrying out intelligent routing on the completely matched request. According to the API gateway routing entity configuration method and the API gateway routing entity configuration system, a client transmits an HTTP request to a gateway, the gateway receives therequest, then API gateway routing entity configuration is carried out by using the API gateway routing entity configuration method disclosed by the invention, the fields in the request are limited, andthe limited fields are completely matched with the client request, so that the request for intelligent routing under the condition of multi-domain name resolution is achieved, the API gateway routingconfigured by adopting the API gateway routing entity configuration method is simple in operation and easy to expand, the working requirement of the intelligent routing can be flexibly met, and the working efficiency of request configuration is higher.
Owner:山东汇贸电子口岸有限公司

Python-based performance test method and device,, computer equipment and storage medium

PendingCN111444111ALower the barrier to writingReduce error rateSoftware testing/debuggingYAMLTest execution
The invention relates to a python-based performance test method and device, computer equipment and a storage medium, and the method comprises the steps: installing a python environment, and building an httprener and a locust system in the python environment; creating an httprener initial script according to the httprener initial script; capturing a packet through a fidler program, and importing the captured data packet into an httprener to generate a test script; packaging the log module and the mail module, and introducing an HTMLTEstRunner program and an mkdocs program which are used for defining a test report; and executing the test script, and obtaining a web version test log and a test report. According to the method, the script writing work is completed in the mode that the fidler captures the package, then exports the captured package into the har format, continues to convert the captured package into the yaml format and then imports the captured package into the httprener, thescript writing threshold is greatly reduced, the test efficiency is also improved, and the code error rate is also reduced; in the performance test execution process, the concurrency number can be increased on the UI interface of the locust, and the concurrency number does not need to be set after the test is executed.
Owner:深圳市万睿智能科技有限公司

Method and device for injecting into container

The invention provides a method and a device for injecting a container. The method comprises the following steps of: determining a self-defined resource type Advanced Sidecar of an application Kubernetes based on deployment containerization; the method comprises the following steps of: determining a scheduling strategy through an expander based on an Advanced Sidecar; the minimum operation unit Pod of the Kubernetes which needs to be injected into the container Sidecar is labeled, and the minimum operation unit Pod of the Kubernetes needs to be injected into the container Sidecar; the method comprises the following steps of: submitting a container Sidecar description file advanced-Sidecar. Yaml to an API (Application Program Interface) server component, determining a Pod of a node to be injected into the container Sidecar through an extender, and storing the Sidecar description file and the Pod of the node into a memory Etcd; and reading the related information of the Pod of the node from the memory Etcd through a kubelet actuator on the node, and injecting the container Sidecar into the Pod of the node. According to the technical scheme, the Sidecar can be injected without restarting the Pod, the work of the Pod cannot be influenced, and the Pod can correctly process all flows in the injection process.
Owner:CHINA MOBILE M2M +1

BPMN-based micro-service workflow deployment method

The invention discloses a BPMN-based micro-service workflow deployment method, and relates to the field of workflow engines, and the method specifically comprises the steps of enabling a user to connect all primitives in series through a flow editing interface, store the primitives in a bpmn format, screen each element of each primitive, and divide the elements into node elements and relation elements; for each element in each node class, removing a variable name id and a variable name value, and writing the remaining variable names and the remaining variable names into an array object template in the YAML; meanwhile, for each element in each relationship class, obtaining an execution sequence of the workflow according to variable values in variable names start and end, and writing the execution sequence into an array object dependences in the YAML; submitting the YAML file added with the declaration information to a workflow deployment engine, and for the current micro-service, reading the object class DAG by the engine to obtain a sequential execution sequence of elements; searching for corresponding elements in the object class Templates, and after all the elements are executedin sequence, finishing executing the micro-service of the node class; according to the invention, the threshold of micro-service deployment is greatly reduced.
Owner:BEIHANG UNIV
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