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

51 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.

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

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

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

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

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

PendingCN121907493Aavoid high riskImprove communication securityUser identity/authority verificationCommunications securityAttack
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

Securing an application programming interface (“API”) during the build of a software development kit (“SDK”)

Described is a technique for securing a private secret key during a software build process for a software development kit (SDK) that includes a code implementation for an application programming interface (API), where the private secret key is for use in signing the payload of an API request for the API. Consistent with examples, a keychain service stores a private secret key. In at least one source code file for a SDK, the source code includes a macro definition, which, upon executing by a compiler, obtains a value for the private secret key. In a programming shell environment, a shell script is executed. Execution of the shell script results in executing a nested script, which queries the keychain service for the private secret key. The shell script then passes the private secret key to a build script of an automated software build tool / system, which injects the private secret key into the source code file at compile time by execution of the macro, resulting in a software product capable of using the private secret key to sign or encrypt the payload of one or more API requests.
Owner:SNAP INC

A distributed database binlog-based large transaction statistics implementation method

The application relates to the technical field of database operation and maintenance, in particular to a large transaction statistics implementation method based on a distributed database binlog log, which is characterized in that target binlog log files and a statistics time range are specified, a shell script is combined with a log analysis tool and a data processing tool to perform directional analysis on binlog logs of a distributed database, transaction-related key information is extracted, including an operation table name, a transaction type, an affected row number, a transaction execution duration and a transaction ID, large transaction data of each table generated within a specific time period is counted, the historical running state of the database during an abnormal period can be quickly traced back, the table and related application of the large transaction causing the abnormality can be accurately located, the distributed database operation and maintenance efficiency and problem troubleshooting accuracy are improved, and the method is suitable for operation and maintenance scenes of open source or domestic distributed databases under an IOE background.
Owner:SI-TECH INFORMATION TECH CO LTD

A microservice visual deployment method and system based on virtual machine environment

The present invention discloses a method and system for visual deployment of microservices based on a virtual machine environment, comprising the following steps: A: defining a shell script; B: creating a microservice deployment package; C: uploading the microservice deployment package obtained in step B to a registry product repository for management and parsing via a visual web console; D: submitting data to a server via the visual web console; E: the server asynchronously splitting microservice deployment tasks, generating specific deployment tasks corresponding to each server node, and pushing these tasks to an agent program on the corresponding server; F: the agent program executing the specific deployment tasks and displaying the state changes of the microservice during runtime; G: real-time monitoring of the health status of the microservice after the microservice is started. The present invention can standardize microservice program package management in a virtual machine environment, simplify the microservice deployment process, and improve the efficiency of microservice program management.
Owner:HENAN HEZHONG WEIQI YUNZHI TECH CO LTD

A script service method based on heterogeneous operating systems

The application discloses a script service method based on a heterogeneous operating system, and the method can improve the efficiency of shell script command execution of an agent in the process of IT system operation and maintenance and control the system resources occupied by the agent when executing the shell script command by setting an idle shell process pool and putting a plurality of shell processes started along with the agent software into the idle shell process pool as idle shell processes to wait for execution of script commands.
Owner:YUNNAN NANTIAN ELECTRONICS INFORMATION CORP +1

Automated Testing Based on Multiple Scripts and Method and System for Modifying Dynamic Variables

The present invention provides an automated testing and dynamic variable modification method and system based on multiple scripts, which relates to the technical field of script testing. It includes calling the command-line tool of a performance testing tool through a batch script to execute multiple test scripts, and using a Shell script to preprocess the test scripts and dynamically modify the variable node information, and finally integrating and generating a unified test report. The present invention realizes the rapid switching of the test environment, the batch execution of test scripts, and the automatic integration of test results, improves the test efficiency, and reduces the manual operation error rate.
Owner:ZHEJIANG SHUXIN NETWORK CO LTD

Flask project automatic deployment method, system, equipment and medium

The invention discloses a Flask project automatic deployment method, system and device and a medium, and the method comprises the following steps: installing a development environment according to the type of a server operating system, installing an application framework and an application server after the development environment is installed, and monitoring the installation conditions of the application framework and the application server in real time; validity verification is carried out on a Flask project path input by a user, the existence condition of a dependency management file is checked, and a dependency package is installed according to the existence condition of the dependency management file; an application server configuration file is generated under the item directory, and multi-element configuration items are configured based on the application server configuration file; according to the method, the Flask project deployment process can be optimized through the shell script, the deployment efficiency is improved, the deployment threshold is reduced, and the deployment reliability and high customizability are enhanced; finally, the time and energy of developers are saved, the deployment cost is reduced, and project development and online are more efficient.
Owner:SUZHOU YIDUODUO INFORMATION TECH CO LTD

Geophysical processing and interpretation software terminal automation deployment method

The application discloses an automatic deployment method of a geophysical processing and interpretation software terminal, belongs to the technical field of computer application of petroleum geophysics, and realizes batch terminal Red Hat Linux operating system installation through network-based unattended installation technology application of a linux system, realizes installation and setting of multiple linux version geophysical software through network-based geophysical software image installation, and realizes batch management of terminal systems and software through shell script writing. Thus, technical innovation is realized in three aspects of system installation, software installation and batch management, system operation and maintenance efficiency is improved, system software installation time is greatly shortened, error occurrence probability is reduced, and system operation and maintenance efficiency is improved. System and software installation automation is realized, system and software installation is completed in one step, and the whole installation and configuration process of each terminal is less than half an hour, and multiple workstations can be installed simultaneously.
Owner:PETROCHINA CO LTD

Systems and methods for automated spectroscopy data processing across heterogeneous operating environments

PCT designated stageWO2026178086A1Data fileSpectroscopy
Systems for processing magnetic resonance spectroscopy data is configurable to present a data processing interface within a host computing environment and to initialize a secondary execution environment within the host computing environment. The system installs a spectroscopy quantification engine within the secondary execution environment and configures spectroscopy processing parameters based on user input. The system accesses a directory containing spectroscopy data files and generates pre-formatting files based on the spectroscopy data files and the spectroscopy processing parameters. The system executes the spectroscopy quantification engine by transferring the pre-formatting files to the secondary execution environment, executing a shell script to generate spectroscopy quantification output, and transferring the spectroscopy quantification output back to the host computing environment. The system performs post-processing operations on the spectroscopy quantification output to generate result data and generates graphical representations based on the result data and user input.
Owner:ST JUDE CHILDRENS RES HOSPITAL INC

Lightweight penetration test capability fusion method and system for Guangui Internet of Things

PendingCN121984893AResolve insufficient support issuesImprove adaptabilitySecuring communicationLogisimProcessing
The invention relates to the technical field of network security, provides a lightweight penetration test capability fusion method and system for a Guanbased Internet of Things, and aims to solve the problem that a traditional IT network penetration test platform is high in reliability due to functional redundancy, high in hardware dependency, limited in compatibility and high in resource overhead. And lightweight and mobile near-source penetration testing and network security detection cannot be effectively carried out on the gateway-based Internet of Things. The system adopts a four-layer architecture: a Web interaction layer provides a graphical user interface, receives a user operation instruction and displays a result; the parameter checking and normalizing layer is used for performing compliance checking and standardization processing on parameters input by a user; the penetration test business logic layer manages a task process, a scheduling module and data storage sharing; and the core function layer is called by packaging a penetration test tool through a Shell script. According to the system, a Chroot technology is utilized to create a file system isolation space in Android, only a necessary Linux basic component is contained, a complete Linux kernel is not contained, a core function layer executes a Linux tool in the space, and lightweight mobile testing is achieved.
Owner:UNIV OF ELECTRONICS SCI & TECH OF CHINA

Big data processing method and device based on Docker, equipment and medium

The invention discloses a Docker-based big data processing method and device, equipment and a medium, and relates to the technical field of big data processing, and the method comprises the following steps: determining an initial Spark mirror image, and determining a target instruction file based on a pre-written Shell script; generating a target Spark mirror image based on the target instruction file and the initial Spark mirror image by utilizing a Docker container virtualization technology; starting the target Spark mirror image, and starting a Master node and a Worker node in the target Spark mirror image based on a cluster management mode of the target Spark mirror image; and executing a corresponding big data calculation task based on a preset task execution triggering mechanism by utilizing the Master node and the Worker node in the target Spark mirror image. Therefore, the deployment convenience of the big data component and the management flexibility of the big data computing task can be improved.
Owner:AUTOBIO LABTEC INSTR CO LTD

Newly-added configuration key identification method, deployment application system, electronic equipment and storage medium

The invention discloses a newly-added configuration key identification method, a deployment application system, electronic equipment and a storage medium, which are used for solving the technical problem that an existing newly-added configuration key detection method depends on manual verification and is easy to cause human errors. The method comprises the following steps: when a user successfully deploys an application to a deployment application system, the deployment application system sends a deployment success message to a test tool platform; receiving a scanning algorithm toolkit and a shell script returned by the test tool platform in response to the deployment success message; obtaining a pre-stored configuration key calling relation from the test tool platform according to the scanning algorithm toolkit; executing the shell script, and downloading the source code of the application; obtaining a configuration key according to the configuration key calling relation and the source code, and sending the configuration key to the test tool platform; and receiving a newly-added configuration key returned by the test tool platform for identifying the configuration key, and returning the newly-added configuration key to the user.
Owner:GUANGZHOU PINWEI SOFTWARE CO LTD

Method and system for realizing software automation task based on shell

PendingCN121996260AMeet the requirements for quick deployment and installationSoftware deploymentSoftware engineeringVerification
The embodiment of the invention discloses a shell-based method and system for realizing a software automation task. The method comprises the following steps: determining an automation task; wherein the automatic task comprises at least one of automatic installation of the software, automatic upgrading of the software and automatic unloading of the software; compiling a shell script according to the automatic task; wherein the shell script comprises at least one of a shell installation script, a shell starting script, a shell upgrading script and a shell unloading script; an automatic task is completed by executing a shell script; verifying the completion result of the automatic task to obtain a verification result; and optimizing and improving the shell script according to a verification result. By means of the method, software can be automatically installed, upgraded and uninstalled through one command, and the requirement for rapid deployment and installation in a local area network and multiple websites is met.
Owner:SHENZHEN OCEANS KING LIGHTING ENG CO LTD +11