Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

109 results about "Shell script" patented technology

A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter. The various dialects of shell scripts are considered to be scripting languages. Typical operations performed by shell scripts include file manipulation, program execution, and printing text. A script which sets up the environment, runs the program, and does any necessary cleanup, logging, etc. is called a wrapper.

Multicloud test automation framework

Systems, methods, and apparatus are provided for a secure multicloud test automation framework. The automation framework may receive a natural language request for a cloud-based test scenario at a user interface on an enterprise network. The test scenario may include a cloud resource and a cloud platform. Machine learning may map keywords extracted from the test scenario to a set of test cases associated with the cloud resource. Keyword mapping may also identify a configuration file associated with the cloud platform. The automation framework may retrieve shell scripts specified by the set of test cases from a shell script repository. The automation framework may use data from the configuration file to access the cloud platform via a secure gateway and execute the shell scripts using data from the cloud platform. The automation framework may generate a comprehensive summary report and maintain technical logs for the test.
Owner:BANK OF AMERICA CORP

Intelligent computer performance test system based on Shell script

The invention discloses an intelligent computer performance testing system based on a Shell script, belongs to the technical field of computer performance testing, and aims to solve the technical problem of how to improve the automation degree of computer performance testing, avoid man-machine interaction and further improve the testing efficiency and accuracy. According to the technical scheme, a test package program installation module is used for triggering and automatically installing a software test package program; the file generation module is used for generating an HPL.Dat file when the mpich software is installed; the file updating module is used for updating the HPL.Dat file generated in the process of installing the software test package program; the execution module is used for transmitting data; the test preparation module is used for providing test information for testing the performance of the computer and processing the test information; and the test item forming module is used for constructing test items according to the separated test information so as to obtain computer system performance test content and record test item information.
Owner:西安超越申泰信息科技有限公司

Prometheus-based dynamic label setting method and system for monitoring system

The invention relates to the technical field of big data platform monitoring, in particular to a prometheus-based dynamic label setting method and system for a monitoring system, and the method comprises the following steps: in a Prometheus configuration file, carrying out the filtering, renaming and adding operation on a label obtained from a Kubernetes API (Application Program Interface) by utilizing a relatablconfiguration item, so as to achieve the dynamic setting of monitoring labels of service and pod in Kubernetes; writing and executing a shell script through a Shell-Operator tool, monitoring a Kubernetes event, and dynamically setting or modifying a monitoring label for the Pod according to the label and node information of the Pod; the prometheus-based monitoring system dynamic label setting method and system provided by the invention have the beneficial effects that monitoring requirements in different scenes are flexibly adapted, and codes or deployed application programs do not need to be modified; the monitoring requirement of finer granularity can be met; detailed information of a specific scene or event can be retrieved; the requirement of more accurate alarm of specific monitoring data can be met; and rapid positioning and source tracing can be provided for troubleshooting and diagnosis.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Method and system for controlling Docker container starting sequence based on Shell script

The invention discloses a method and a system for controlling a Docker container starting sequence based on a Shell script. The method comprises the steps that for a container deployed through a docker run command, a reset parameter of the container is modified from always to on-failure, so that the container is triggered to be restarted only when a non-zero exit code exits; constructing a ready detection mechanism based on TCP port detection; compiling a Shell script, starting containers in sequence according to a preset topology, and waiting for the dependency service to be ready; and packaging the script into a Systemd service to realize automatic triggering of the system. According to the method, on the premise that Docker Compose is not introduced, the problem of micro-service dependency failure caused by Docker default concurrent disordered starting is solved, and the method has the advantages of being light in deployment, flexible in configuration, high in automation degree, high in maintainability and the like and is suitable for containerized environments independently deployed based on docker run.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD

Verilog code generation method for Ethernet cyclic redundancy check (CRC) 32 calculation and related equipment

The invention discloses a method for generating a verilog code calculated by an Ethernet cyclic redundancy check (CRC) 32 and related equipment, and the method for generating the verilog code calculated by the Ethernet CRC 32 comprises the following steps: obtaining a target data bit width calculated by the Ethernet CRC 32; according to the target data bit width, a data bit width variable in a preset shell script is changed to obtain a target shell script, and the preset shell script comprises an execution code used for generating the verilog code; and executing the target shell script so as to generate a verilog code calculated by the Ethernet CRC32 corresponding to the target data bit width through the execution code. Through the method, the technical scheme of the invention can automatically generate the verilog code calculated by the Ethernet CRC32 through the shell script, so that the generation efficiency and convenience of the verilog code are improved.
Owner:NIUXIN SEMICON

Shell script task scheduling method and system in network-free state

The invention discloses a Shell script task scheduling method and system in a network-free state, and relates to the technical field of information, and the method comprises the steps: in the network-free state, according to the priority of each Shell script task to be scheduled and executed, sorting each Shell script task according to the priority, and forming a task priority queue; if the preset triggering condition is met, extracting a target Shell script task with the highest priority from the task priority queue, and submitting the target Shell script task to an execution queue; executing the target Shell script task in a network-free state; detecting execution parameters in the process of executing the target Shell script task by adopting an anomaly detection algorithm; and if an exception is detected, performing exception handling on the target Shell script task by adopting an exception handling strategy. According to the method and the device, the Shell script task can be effectively executed in a network-free state.
Owner:BAO DAFANG TECH CO LTD

Method and system for automatically configuring CUDA environment and testing GPU pressure

The invention relates to a CUDA environment automatic configuration and GPU pressure test method and system. The method comprises the following steps: constructing a mapping relation table of the model and architecture of equipment, cuda version and cudnn version; account information is input; according to the account number and the password of the configured operating system, the Linux server is accessed through SSH protocol connection, and then the Shell script is transmitted through the SFTP protocol; acquiring the model of the equipment, returning the model of the equipment, querying a predefined mapping relation table according to a query requirement for acquiring the model of the equipment so as to determine versions of a framework, cuda and cudnn corresponding to the model of the equipment, and automatically executing downloading, installation and verification so as to acquire an automatically configured environment variable; memory is distributed, a matrix is initialized, a matrix operation algorithm is started, and the computing power and the error correction capability of the GPU are tested in an omnibearing mode. According to the method, automatic cuda downloading and cuda environment configuration are realized, and the GPU is subjected to omnibearing testing.
Owner:POWERLEADER COMPUTER SYST CO LTD

Database table information recording method and device

The present invention provides a method and device for recording database table information, comprising: obtaining database information of multiple databases; generating a shell script corresponding to each database based on the database information of each database; using the shell script to read the database table information of each database; generating an md file corresponding to each database based on the database information and the database table information; sending each md file to a Git repository, and using the Git repository to convert the md file into an initial data dictionary; comparing the initial data dictionary with a previously generated historical data dictionary to obtain a comparison result, and updating the initial data dictionary based on the comparison result to obtain a current data dictionary corresponding to each database. The method provided by the present invention can automatically maintain database table information of a database and record relevant differences, thereby reducing the difficulty of subsequent work.
Owner:TRAVELSKY TECHNOLOGY LIMITED

Method and system for automatically creating table partition of MySQL dynamic table range

This invention discloses a method and system for automatically creating table partitions within a dynamic range of MySQL tables, belonging to the field of database technology. The technical problem it addresses is how to solve the inefficiency of manually maintaining table partitions, achieving dynamic partition management for newly added tables, and reducing operational burden and human error risks. The method includes the following steps: Table collection: Dynamically obtain a list of table names requiring partition maintenance from a specified MySQL database using a Linux shell script, and use the tables in the list as target tables; Table partition management: For each target table, create new partitions according to a time period using a Linux shell script, and delete historical data partitions; Partition maintenance: Achieve fully automated partition maintenance using a Linux crontab scheduled script.
Owner:INSPUR TIANYUAN COMM INFORMATION SYST CO LTD

Multi-file data processing method and device, electronic equipment and storage medium

The invention discloses a multi-file data processing method and device, electronic equipment and a storage medium. The method comprises the steps of performing data extraction on a to-be-processed file, and determining to-be-processed data corresponding to the to-be-processed file and a data type identifier; calling a pre-configured jar package, and importing the to-be-processed data and the data type identifier into a target data table in the SQLite middleware; calling a jar package, executing an SQL statement in the target shell script, and performing data processing on the target data in the plurality of target data tables to obtain a processing result; the target shell script is obtained by configuring the universal shell script according to the file processing requirement of the user. According to the method, the shell script is executed to process the data in the multiple files by calling the jar package driven by the SQLite middleware, so that the data processing efficiency is improved.
Owner:BEIJING BOCO COMM TECH

A distributed cluster configuration method based on a SHELL script

The application provides a distributed cluster configuration method based on a SHELL script, comprising the following steps: architecture information and service distribution information of a cluster are intercepted by a script tool, and the intercepted information is stored in an associative array of the script tool; whether the cluster architecture information is a storage-computing integrated version or a storage-computing separated version is judged; a target configuration file is backed up, and the backup file is stored in a specified path; an instruction containing an operation type is received, the operation type comprises set, restart and rollback, and a parameter modification target is determined according to the instruction; before and after the parameter is modified, the parameter state is recorded and output. The application has the beneficial effects that the script tool is used to realize convenient modification of 8a cluster parameters, efficient restart of cluster services and quick recovery of configuration files, and through the script tool, configuration files of all cluster nodes corresponding services can be modified by one instruction.
Owner:TIANJIN NANKAI UNIV GENERAL DATA TECH

Image forming apparatus and image forming system

To provide an image forming apparatus and an image forming system that aim to improve the development efficiency of image forming apparatuses with different installed functions.SOLUTION: A binary file 171 is a program that controls hardware that realizes the functions installed in an image forming apparatus 100. The binary file 171 is a program that controls hardware installed in the image forming apparatus. A function activation configuration file 172 is a shell script file that describes the operating conditions and various settings of the binary file 171. Firmware 17, which includes the binary file 171 and the function activation configuration file 172, is configured to be compatible with multiple image forming apparatuses with different installed functions.SELECTED DRAWING: Figure 1
Owner:KYOCERA DOCUMENT SOLUTIONS INC

Method and related device for realizing automatic monitoring service in linux environment

The invention discloses a method and a related device for realizing an automatic monitoring service in a linux environment. The method comprises the following steps: creating a MySQL; the MySQL connection is initialized through the shell script, and the MySQL connection is established; a monitoring item is initialized through a shell script; judging whether the project is abnormal or not; the judgment result is written into MySQL, and when the detected item is abnormal, errornum + 1 is carried out, and the method and the related device can be used for carrying out abnormal detection and abnormal condition statistics on the item.
Owner:HUANENG NINGXIA ENERGY CO LTD LINGWULONGQIAO BRANCH +1

Shell script generation method and system and electronic equipment

The invention relates to the technical field of Shell scripts, and discloses a Shell script generation method and system and electronic equipment. According to the method, the script templates corresponding to the operation keywords are established through the Shell grammar structure, the script template library is formed, the target template is matched from the script template library through the target keyword extracted from the natural language instruction, and the target template is filled with the target variable extracted from the natural language instruction; a shell script corresponding to a natural language instruction is obtained, a frame of the shell script is provided through a pre-established script module, so that a target template is matched through a target keyword in the natural language instruction, then a target variable in the natural language instruction is filled into the target template to obtain the shell script, and a natural language of a user is converted into the shell script by utilizing a text extraction technology. According to the method, automatic generation of the shell script is realized, and compared with manual compiling of the shell script, the learning curve and the technical difficulty of the shell script are reduced, so that the labor cost and the time cost of the shell script are reduced.
Owner:CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD

Triple-modular redundancy implementation method based on shell script

The invention belongs to the technical field of integrated circuits, and particularly relates to a triple modular redundancy implementation method based on a shell script. Comprising the following steps: S1, constructing triple modular redundancy of clock and reset, synthesizing by using a DC tool, and outputting a file required by a script; s2, a shell script is used for processing files needed by the script, and three files are obtained; s3, creating a triple modular redundancy module; s4, processing the netlist file corresponding to the sub-level module of the current level in parallel; s5, modifying instantiation ports of all sub-level modules in the netlist file corresponding to the mother-level module of the current level; s6, taking the higher level as the current level and returning to the step S4 until the mother level module of the current level is the top level module; s7, checking whether the clock and reset signals of the top-layer module are consistent with instantiated port signals of the clock and reset of the sublevel module of the top-layer module or not, and if yes, outputting a triple-modular redundancy netlist; otherwise, returning to the step S1; the chip development cycle is shortened, and readability and maintainability are high.
Owner:NO 24 RES INST OF CETC

A method and system for automatically constructing a mobile installation package using product code

The present invention relates to a method and system for automatically constructing a mobile installation package with product code, which belongs to the field of mobile office technology and solves the problems of unsafe product certificates and leakage of product codes when constructing mobile installation packages in the cloud for mobile applications developed based on UNI‑APP, cumbersome construction steps and high use and learning costs when constructing offline. It includes: receiving information parameters of mobile applications and creating mobile applications; receiving initialization commands, generating default mobile application template codes and returning code library addresses; receiving construction commands, pulling updated mobile application codes and generating mobile application codes to be constructed; executing SHELL script commands, constructing and compiling mobile application codes to be constructed, and returning the download address of the mobile installation package after successful construction, and generating a QR code after parsing. A new intranet construction mode is realized, the construction process is automated, and R&D efficiency is improved. The server uniformly manages product certificates and construction frameworks, and security and confidentiality are improved.
Owner:YGSOFT INC

Server log automatic storage method and device, equipment, storage medium and product

The invention provides a server log automatic saving method and device, equipment, a storage medium and a product, and the method comprises the steps: running a first shell script, initializing an automatic saving program, starting a log automatic saving process, and obtaining process occupied resources and configuration information of the log automatic saving process; collecting server log data through the target serial port; recording the server log data as a text file, and temporarily storing the text file in a target folder; archiving and storing the text file into a memory; the release log automatically stores process occupation resources of the process. According to the scheme, the log data of the server can be automatically stored, the server problem can be conveniently and timely positioned, and the reliability of the system is improved.
Owner:SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD

Method, device and equipment for constructing Python file based on Bazel and storage medium

The invention relates to the technical field of computer software development, and discloses a method, a device and equipment for constructing a Python file based on Bazel and a storage medium, which are used for constructing an executable Python file on the basis of Bazel and do not need to configure correct Python operation in advance in a system. The method for constructing the Python file based on the Bazel comprises the following steps: configuring a Python tool chain of the Bazel according to the operation of a portable Python of a Python project; through a Python tool chain of the Bazel, constructing a Python compressed file from a source code of the Python project, a Python library code on which the Python project depends, and a portable Python runtime and code entry file; a preset second shell script is injected into a file header of the Python compressed file through a preset first shell script in a Python tool chain of the Bazel, and a spliced file is obtained; and endowing the spliced file with an executable permission and naming the spliced file to obtain a target Python file.
Owner:文远京行(北京)科技有限公司

Optimization method and device for identifying potential energy surface of cu-zn alloy cluster structure

The application discloses a kind of optimization method and device for identifying Cu-Zn alloy cluster structure potential energy surface, comprising: randomly generating several Cu-Zn alloy clusters, constitute population structure library n pop ; develop shell script that can efficiently call Gaussian16 quantum chemistry software, carry out first local structure optimization to n pop ; innovative surface atom self-adapting reorganization strategy is proposed, iteratively move cluster surface atoms to self-adapting generated empty space sites, execute second stage structure optimization;Through crossover, variation operation, in combination with similarity detection and potential energy comparison, extract the optimal structure of binary Cu x Zn y Cluster.Using the technical scheme of the application, the local and global spatial search capability of genetic algorithm is optimized and improved, and the stability and electronic structure of Cu-Zn alloy cluster can be efficiently analyzed by calling quantum chemistry software.
Owner:HUAINAN NORMAL UNIV

Open application programming interface specification based application programming interface proxy

Techniques are described for using an application programming interface proxy and backend implementation. An example method can include accessing an open application programming interface document. The method can further include generating a shell script based at least in part on the open application programming interface document, the shell script associated with an application programming interface proxy, the application programming interface proxy for accessing a backend service. The method can further include processing a request for accessing the backend service. The method can further include causing, using the shell script, access to the backend service via the application programming interface proxy based at least in part on the request.
Owner:THE HUNTINGTON NAT BANK

Automatic packaging method and system

The invention relates to an automatic packaging method and system, and belongs to the technical field of computers.The method comprises the steps that a target task is constructed on Jenkins based on Jenkins construction parameters; the method comprises the following steps: constructing parameters on the basis of Jenkins, and automatically downloading an Android code and a Flutter code of a selection branch by the Jenkins; under the condition that the downloading of the Android code and the Flutter code is completed, constructing parameters based on the Android code, the Flutter code and the Jenkins, and executing automatic packaging of the Shell script; and sending a packaging result to a configured mailbox list based on the Jenkins mail plug-in. According to the method, automatic packaging in two scenes is realized, the project scene is automatically identified according to the project configuration information, and different branches can be selected for packaging during packaging.
Owner:E SURFING VISION TECHNOLOGY CO LTD

An Automated Method and System for Configuring CUDA Environment and GPU Stress Testing

The present invention relates to a method and system for automatically configuring the CUDA environment and GPU stress testing. The method includes: constructing a mapping relationship table of the device model, architecture, cuda version, and cudnn version; inputting account information; connecting to the Linux server through the SSH protocol according to the configured operating system account and password, and then transmitting the Shell script through the SFTP protocol; obtaining the device model and returning it, and according to the query requirements for the obtained device model, querying the predefined mapping relationship table to determine the architecture, cuda, and cudnn versions corresponding to the device model, and automatically performing downloading, installation, and verification to obtain the automatically configured environment variables; allocating memory and initializing the matrix, starting the matrix operation algorithm, and comprehensively testing the computing power and error correction ability of the GPU. The present invention realizes the automatic downloading of cuda and the configuration of the cuda environment, and comprehensively tests the GPU.
Owner:POWERLEADER COMPUTER SYST CO LTD

Method, medium and equipment for upgrading Linux system to swan-gap system

The invention discloses a method, a medium and equipment for upgrading a Linux system to a swan mongolian system, and all directory files of a Linux root file system are completely copied to a new directory / data / linux-rootfs under a root of the swan mongolian root file system. The method comprises the following steps of: after a swan gap operating system is started, modifying an oos-rootfs root directory and a file structure through a shell script, mounting a directory under a Linux root file system directory to a corresponding directory under a swan gap root file system root, linking a file under the Linux root file system directory to a corresponding file under the swan gap root file system root, and on the basis of the swan gap root file system, linking the directory under the Linux root file system directory to a corresponding file under the swan gap root file system. According to the method, a root file system environment required by an original Linux application program is created to realize seamless translation and compatible operation of the application, and the method has the advantages of rapid transplantation, downward compatibility and continuous iteration, and has relatively good practicability.
Owner:STATE GRID INFORMATION & TELECOMM GRP CO LTD +1

A data verification method and device based on the K8S container platform

The present application discloses a data verification method and device based on a K8S container platform. After obtaining a resource configuration file in yaml format, a resource configuration file in json format is generated according to the resource configuration file in yaml format, and the content mapping relationship between the resource configuration file in yaml format and the resource configuration file in json format is obtained. A shell script file is used to verify whether there are syntax problems in the content of the resource configuration file in json format. If there are syntax problems, the content position where the syntax error occurs is located in the resource configuration file in json format, and according to the previously determined content mapping relationship, the content position where the syntax error occurs in the resource configuration file in json format is converted into the content position where the syntax error occurs in the resource configuration file in yaml format. Thus, the problem that the content position where the syntax error occurs in the resource configuration file in yaml format cannot be located in the K8S container platform is solved, and the development efficiency is improved.
Owner:JINAN INSPUR DATA TECH CO LTD

Podman-based cloud server adaptation method and device

The application discloses a cloud server adaptation method and device based on podman, and relates to the technical field of desktop cloud computing, which comprises the following steps: installing a podman environment, installing a system image, and running a container; deploying a service business and adding a self-defined shell script in the container, regenerating a new image, and realizing construction of a cloud server running image; installing podman related packages on a server host to be adapted, and installing the regenerated image; installing a service for starting a container and a monitoring service, and disabling a service in conflict with the container, so as to realize adaptation of the cloud server. The application can improve the adaptation efficiency and reduce the development, test and maintenance cost.
Owner:WUHAN OPENKER COMPUTING

Implementation method and device of audit playback of a bastion

The present disclosure provides an implementation method and device for audit playback of a bastion host, wherein the method comprises: obtaining a pseudo login shell script for calling screen recording software; configuring a user login session to be bound to the pseudo login shell script; and automatically creating a directory and recording a monitoring record file through the pseudo login shell script. The present disclosure can highly restore the user operation site, ensure the integrity of each file and record, and improve the flexibility of file organization mode and the positioning efficiency.
Owner:BEIJING TTSF TECH

Jenkins-Kubernetes interactive encryption method, storage medium, integrated architecture system and vehicle

The invention discloses a Jenkins-Kubernetes interactive encryption method, a storage medium, an integrated architecture system and a vehicle, and the Jenkins-Kubernetes interactive encryption method comprises the following steps: when Jenkins executes a deployment task, calling and executing a predefined shell script; the method comprises the following steps: generating a temporary Docker honeypot on the basis of a predefined shell script, the temporary Docker honeypot comprising a Kubectl and a Kubecfig certificate, so that the Kubectl calls a Kubecnetes API (Application Program Interface) through the Kubecfig certificate to interact with Kubecnetes, and then deleting the Kubecfig certificate on the basis of the predefined shell script and releasing the Docker honeypot. Therefore, the communication security of integration of Jenkins and Kubernetes is remarkably enhanced, the high risk of local storage of a Kubsecfig certificate is avoided, external attacks and internal leakage risks are effectively resisted, meanwhile, the high efficiency and flexibility of a CI / CD process are kept, and a solid foundation is provided for rapid iteration and secure delivery of cloud native applications.
Owner:BEIJING AUTOMOBILE RES GENERAL INST

Executable file generation method and device, electronic equipment and storage medium

The invention provides an executable file generation method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the safety processing of a to-be-protected shell script, obtaining a safety text, and determining an execution code corresponding to the safety text; generating a source file according to the security text and the execution code, and compiling the source file into an executable file; wherein when the executable file is executed, the execution code is used for reversely processing the safe text into the shell script, and the shell script is executed.
Owner:NINGBO LOTUS ROBOTICS CO LTD

Method for integrating Linux environment deliverable with matched Shell script

The invention belongs to the technical field of software deployment in a Linux environment, and particularly relates to a method for integrating a Linux environment deliverable with a matched Shell script, which comprises the following steps of: firstly, setting a unique mark at the tail of the Shell script, and marking the mark as a character string which cannot appear in a script text; then adding the content of the deliverable to the tail of the Shell script file to form a single file entity; and the step S1 and the step S2 are executed repeatedly, and separators are inserted before and after each delivery. In the initial part of the Shell script, searching a position separator arranged in the script by using a text search tool; and extracting the deliverables in the two separators into the system, and finally executing the text part of the Shell script to complete deployment and configuration of one or more deliverables. The script and the deliverable are organically integrated, and the deployment efficiency, accuracy and reliability are improved.
Owner:BEIJING HUAKUN ZHENYU INTELLIGENT TECH CO LTD +2

Average time consumption method for testing startup trusted measurement and related device

The invention discloses a method for testing average time consumption for starting trusted measurement and a related device, and belongs to the technical field of trusted DCS (Distributed Control System) upper computers. The method comprises the following steps of: setting a specified restart time value and an initialized restart time value of a system through a created counting file; after the trusted DCS upper computer is restarted through the created test service, a shell script file is automatically executed, on one hand, the number of times of automatic restarting of the trusted DCS upper computer is controlled by comparing the number of times of current restarting with the number of times of restarting appointed by the system, and on the other hand, the average consumed time for starting the trusted measurement of the trusted DCS upper computer is calculated according to the read system time. Compared with a traditional test method, the method not only thoroughly solves the problems that the traditional test depends on manual recording of the starting time, the operation is tedious and errors are easy to occur, but also improves the test efficiency and accuracy, shortens the test period, and reduces the test cost caused by repeated labor and human factors.
Owner:XIAN THERMAL POWER RES INST CO LTD +2