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

269 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, system, and program for parameter expansion, generation, and execution of scripts in a networked environment

A method, system, and program for generating scripts in a networked environment are disclosed. A shell script is written in a programming language in which the shell script is used in a networked environment. The shell script is programmingly converted to a script executable under a specific platform. The script is executed under the specific platform. A script generating command its defined in the shell script. Parameters for the script generating command are defined. The script generating command is executed with the parameters to generate the script. Prefix names having associated prefix variables that are passed to the script generating command are also defined. The prefix names and the prefix variables are obtained for the script generating command. Values for the prefix variables are retrieved from a table. Easy and flexible management and execution of scripts in various scripting languages within a networked environment that includes a collection of systems running under different platforms are provided by the present invention.
Owner:GOOGLE LLC

Method and device for compiling program

The invention discloses a method and a device for compiling a program. The method comprises the following steps: reading in environmental parameters input by a user and configuring variables of the environmental parameters; calling a related shell script tool to generate a compiling rule temporary file; and quoting the compiling rule temporary file, and calling a corresponding compiler to compile the program. The method and the device can conveniently and quickly finish compiling, are easy to maintain and transplant, and can improve the compiling speed.
Owner:NETPOSA TECH

Method and a system for managing shell script file development and execution

Initially, “libraying” text is inserted on all scripts executed on the computer, allowing administrators to discern at a glance every script that has been executed. Furthermore, administrators can easily ascertain the results of all automatically run programs (such as overnight batch jobs) by looking in a common location rather than all over the computer. All scripts installed on a computer system are required to have the ability to generate uniform output. This output includes the script name, the time it was run, the user name and the script execution results. When a script is executed, it will write this detailed output into a predefined directory. There, a file is generated which lists all the parameters associated with the script execution. The parameters are then available for future review by administrators. Additionally, an executed script writes a summary output to a common file. This file provides a single point of reference and further provides a summary description for all activities.
Owner:IBM CORP

Software version upgrading work method based on Shell

InactiveCN102025778AQuickly meet various situations of upgradingEnsure consistencyProgram loading/initiatingTransmissionComputer terminalRollback Operation
The invention discloses a software version upgrading management method based on Shell, comprising the following steps that: 1), a file transfer protocol (FTP) service is offered on a version server; 2), a file used for storing latest version information is arranged on a ftp server through a management platform; 3), a terminal downloads the version file through a ftp protocol; 4), the terminal carries out comparison on a latest version number and a local version number file, if according with a local version, the latest version does not need upgrading; and if higher than the local version, the latest version is downloaded from a designated route through the ftp protocol, executive software is decompressed, and the upgrading operation is executed; 5), if updating is successful, the local version number is revised to be a version number subjected to upgrading; and if updating fails, the rollback operation is executed; 6), an upgrading result is uploaded to the version server; and 7), step one to step six are regularly executed through cron. The method can ensure the consistency of the software version and completely realize the consistency through the mature ftp protocol and a shell script, has the advantages of simpleness and stability, and is easy in maintenance.
Owner:勤智数码科技股份有限公司

Computer software method for administering batch jobs

The present invention discloses a method for processing batch jobs. A batch job is wrapped to create an application programming interface for communication with a batch framework. The batch framework comprises a batch dispatcher class, and the batch dispatcher class further comprises a method to execute the batch job. The batch framework is invoked according to a predetermined schedule. The batch job may reside locally with the batch framework remotely from the batch framework. In a preferred embodiment, the batch framework is invoked by a scheduling service, preferably the AutoSys scheduling service on Unix platform. The AutoSys scheduling service further executes a command line parameter, either a Unix shell script or a Windows NT batch file.
Owner:SPRINT CORPORATION

Method for automatically monitoring BMC working state based on ipmitool

The invention discloses a method for automatically monitoring the BMC working state based on an ipmitool. The method specifically comprises the following steps: firstly, inputting a BMCIP address through an operator; setting a shell script; automatically installing an ipmitool; when the ipmitool can ping the BMCIP address, entering a next step; when the ipmitool cannot ping the BMCIP address, ending the whole detection process; acquiring the real time; reading an expected sensor value according to an ipmitool order, printing the sensor value on a screen for display, and meanwhile reoutputting the result to a log text in an orientation manner; returning to the step III till the monitoring is completed. Compared with the prior art, the method for automatically monitoring the BMC working state based on the ipmitool is convenient for using the script and simple to operate, the testing time can be set according to requirements without artificial interaction; the method is used for improving the testing efficiency and the testing accuracy in relevant testing of BMC study and development periods and is high in practicability, wide in application range and easy to popularize, the labor and the time are saved, and the working efficiency is improved.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Automatic test method of long distance multi-device condition

The invention discloses an automatic test method of a long distance multi-device condition. The automatic test method of the long distance multi-device condition comprises the following steps of obtaining a personal computer (PC) machine with a Linux operation system; obtaining an internet protocol (IP) address of each test device; arranging a storage block on the PC machine, storing all operation information, including the IP address of each test device and operation orders, in the storage block; running the information in the storage block through a SHELL script, achieving circulation of each IP address, calling a tool command language (TCL) / Expect script secure shell (SSH) to each IP address, and returning a login password, a login overtime time and the operation orders to the Expect script as parameters; and logging in each test device by the Expect script. The automatic test method of the long distance multi-device condition has the advantages of being simple, easy to achieve, and capable of reducing development cost of a test system, facilitating combined tests of test devices in a plurality of different locations, and being good in usability.
Owner:PHICOMM (SHANGHAI) CO LTD

Automatic testing method for internal pressure changes of server

InactiveCN104375914AComprehensive multi-level load testingEasy to operateFunctional testingSoftware testing/debuggingInternal memoryState of art
The invention discloses an automatic testing method for internal pressure changes of a server. The method concretely includes the steps that a shell script is used for executing an instruction in a linux operation system, a system version, an IP address, an internal memory, a CPU, device, hostname and other detailed information are captured, analyzed and called, linpack is automatically installed, and parameters are set; the frequency, expected to be executed, of cycles is manually input, and therefore multi-cycle repeated multi-degree load pressure testing is achieved; the linpack program is automatically run through the script program, the load pressure degree and the time length are automatically set without repeated manual setting, and therefore pressure loads automatically change. Compared with the prior art, the automatic testing method for the internal pressure changes of the server completely achieves automation, is simple and easy to implement, saves labor and time and guarantees the accuracy of floating-point calculation testing performance.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Method for automatically testing server BMC stability

The invention discloses a method for automatically testing the server BMC stability, and belongs to the field of server detection. A stability test under BMC is executed by adopting a shell script, rapid and continuous automatic detection of BMC information of multiple servers, testing data is automatically recorded and arranged, and finally a visual testing result is formed. The process is automatically completed thoroughly, the operation process is simplified, the testing cost and manpower consumption are lowered, unnecessary man-machine interaction processes are reduced, and working efficiency is greatly improved.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Method and device for inspecting network device

The invention discloses a method for inspecting a network device. The method comprises the steps as follows: bidding and storing an established shell script, network device fault parameter information and preset inspection time with the IP (Internet Protocol) address of a network device to be inspected; logging on the bound network device to be inspected via a remote log on protocol telnet or a secure shell protocol ssh when the preset inspection time is up, carrying out the bound shell script, acquiring result data of carrying out the shell script via the telnet or the ssh, analyzing the result data according to the bound network device fault parameter information, and recording abnormal data and sending a notification to carry out corresponding process if the analysis result is abnormal. On the basis of the same invention conception, a device is also disclosed, which can improve the operation efficiency of inspecting the network device, and lower inspection cost.
Owner:MAIPU COMM TECH CO LTD

Method for automatically deploying Oracle rac environment based on Linux system

The invention discloses a method for automatically deploying Oracle rac environment based on a Linux system. The method comprises the following steps of by utilizing a set of Linux shell scripts, automatically configuring oracle user environment, changing account configuration, configuring a network, building a soft link of compress, changing shell limitation and software package, checking an inner core of an operation system and the like, installing JDK (Java Development Kit), configuring a Hangcheck inner core monitoring module, building ssh mutual communication, configuring an NTP (Network Time Protocol) time server, configuring shared storage and configuring vncserver. The method disclosed by the invention is suitable for constructing Oracle rac cluster software environment under all Linux OS, is good in popularity and generalization performance and provides a direct and easy-to-operate method for constructing the Oracle rac cluster environment under a system based on a self-carried general command; the labor cost is greatly lowered, wrong operation caused in manual construction of the environment is avoided, and the efficiency and reliability of configuration of cluster services are greatly improved.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Method and system for timing code execution in a korn shell script

A method, system, and computer program product for timing the execution of code to facilitate the debugging of a Korn shell script. A user specifies the starting point and stopping point of a block of code by placing a time-code function at the beginning and end of the block of code. Furthermore, the user specifies a threshold value within the time-code function that corresponds to a maximum amount of time allotted for execution. The user defines a label variable to identify the output. When the block of code is executed, the time-code function calculates the time of execution and outputs the results. If the code contains an error that causes the execution time to exceed the threshold value, the time-code function halts the execution of the block of code and an error message is displayed. The error message then assists the user in debugging the block of code.
Owner:IBM CORP

Preventing log wrap with debug scripts

A shell debug application avoids loss of debug log data for configured commands during the operation of an operating system. A shell debug application executes a command shell script, by a computer, to control an amount of code path debug data captured in memory buffers and saved. The shell debug application obtains, by the computer, a configuration file that includes at least one command. The shell debug application runs the command shell script in the configuration file in response to detection of at least one script associated with the at least one command in the configuration file.
Owner:IBM CORP

Method for monitoring operation state of Linux server in batch

InactiveCN105490870AFacilitate proactive maintenanceWithout human interventionData switching networksGNU/LinuxGeneration time
The invention discloses a method for monitoring operation states of Linux servers in batch. The method comprises: deploying monitoring scripts on monitoring nodes in a network, obtaining the operation states of the other servers on the network periodically, storing the results on the monitoring nodes; when servers break down or appears other abnormal conditions, detecting faults by the monitoring nodes, simultaneously generating fault logs and storing to corresponding monitoring log of every server, and finishing monitoring the operation states of the servers in batch. In application of the method for monitoring operation states of Linux servers in batch proposed by the invention, batch scanners are deployed on the monitoring nodes without occupying the system resource of the monitored servers and simultaneously the operation state data of all servers are transmitted to the monitoring nodes uniformly, therefore operators and maintainers can maintain the servers conveniently. When the states of the servers are abnormal, the operators and the maintainers can easily determine the fault generation time from the logs. The method is very practical.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Continuous integration method and system based on k8s and docker containers

The invention discloses a continuous integration method and system based on k8s and docker containers. The system comprises a git server, a nereus platform, a mirror image warehouse and a k8s cluster,wherein the git server, the nereus platform, the mirror image warehouse and the k8s cluster are connected in sequence; the git server is used for providing project codes of developers for the netherus platform; wherein the newus platform is used for compiling and packaging project codes of a developer to generate a corresponding package; then, a corresponding docker file is generated through a shell script; a docker build command is used for creating a container; pushing the container to a mirror image warehouse by using a docker push command; pulling down the docker mirror image from the mirror image warehouse through the mirror image address; configurations in a yaml file are utilized to create a container, the container is started and deployed into a k8s cluster to be managed so as tobe conveniently used by developers, and the newus platform constructs packaging and online, supports release, online and rollback of java, python, vue and other codes and can be completed through a page in a one-key mode.
Owner:银盛支付服务股份有限公司

Cross-network multi-node log collecting method

InactiveCN106330963ASimple and convenient log collectionTransmissionApplication serverData platform
The invention discloses a cross-network multi-node log collecting method. The method comprises the steps that node logs are sent to a headquarter, wherein an application server needs to send daily node logs to the headquarter, by adopting an outer network transmission mode, the server runs a shell script at regular time each day to conduct processing such as compression on log files on the server, and the processed log files are sent to a headquarter server; log data is sent to an inner network of the headquarter from an outer network of the headquarter, wherein a log ferry program needs to be provided for sending the log data to inner network of the headquarter from the outer network of the headquarter, and the logs are stored in an inner network database; log data in the database is restored to original log files, wherein the log data in the inner network database of the headquarter is restored to the original log files, and the original log files are sent to a big data platform through a log management tool logstash. By means of the method, server-side log collecting work is simple, convenient to operate, safe and reliable.
Owner:JIANGSU ELECTRIC POWER INFORMATION TECH +1

Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system

The invention provides a method and device for achieving online batch refreshing of hard disk firmware by utilizing a Storcli toolkit of an RAID card manufacturer under Linux system and then combining with standard instructions under Linux system. According to the technical scheme, online batch upgrading is achieved through shell scripts and Storcli toolkit instructions. Firstly, parameters of an RAID array are obtained; then, hard disk firmware upgrading and upgrade succeeding confirmation are achieved through single-disk operating instructions and batch operating instructions. Online batch firmware upgrading can be simply, rapidly and safely performed at a testing stage and a production stage, the firmware upgrading time is greatly shortened, the working efficiency is improved, and the labor cost is reduced.
Owner:ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

Method for restricting parallel execution of shell script

The invention discloses a limit shell script parallel executing method in the linux and unix platform, which comprises the following steps: using script mode processor to write request into pipe when the shell script needs to be executed; reading the request through token mode processor at the other end of pipe sequently; transmitting the token to the shell script according to the sequence of request when the token is free until the token is finished; obtaining the process permitting operation of token; exiting the execution if not obtaining the process of token. The invention guides token concept to realize 'serialization' of multi-process in the critical area through linux pipe, which uses single locking detecting script to detect the locking to solve the locking problem effectively without using multi-parallel process to operate one token.
Owner:ZTE CORP

Method and system for testing Expander backboard hard disk indicator light based on Linux system

The invention discloses a method for testing an Expander backboard hard disk indicator light based on a Linux system. The method comprises the steps of utilizing a tool kit to conduct state setting and state examination on the Expander backboard hard disk indicator light based on an SES theoretical basis and obtaining corresponding state data; integrating the testing process of at least one state of the Expander backboard hard disk indicator light into a shell script; detecting corresponding states of the Expander backboard hard disk indicator light, generating a testing result and recording the testing result, so that the test is finished. Compared with the prior art, not only can the Expander backboard hard disk indicator light be automatically tested, but also the testing result can be imported into a test log to facilitate viewing in the later period; the method is applicable to multiple RAID cards or SAS cards, testing personnel conveniently match a testing environment, the testing time is saved, and meanwhile, the testing reliability is improved. By modifying a slot number supported by the Expander, the script can be applied to multiple Expanders, and the universality and flexibility of the testing script are embodied.
Owner:ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

System and method for creating reusable management instrumentation for IT resources

A system and method for creating reusable management instrumentation for information technology (IT) resources is presented. Management instrumentation accesses a resource using an instrumentation library type (ILT) and an access path. The ILT is a basic programming model to access a resource, such as SQL and shell scripts. The ILT may be a resource specific ILT, a command ILT, or an object ILT. A resource specific ILT is used to access a specific resource. A command ILT is used in conjunction with an access path to access a particular resource. Management instrumentation re-uses command ILT's by selecting different access paths to combine with the command ILT to access different resources. An object ILT allows management instrumentation to communicate with object-based resource interfaces, such as with management beans. A translation table may be used in conjunction with an object ILT to allow the object ILT to communicate with the object-based resource interface.
Owner:LINKEDIN

Time delay method for automatically testing HCA (Host Channel Adapter) card bandwidth through RDMA (Remote Direct Memory Access) way

The invention provides a time delay method for automatically testing HCA (Host Channel Adapter) card bandwidth through a RDMA (Remote Direct Memory Access) way, and belongs to the field of Mellanox performance testing. On the basis of a shell script under Linux, the bandwidth of the HCA card under a Linux system can be quickly configured and tested, and the RDMA way is adopted for testing. The testing method is relatively simple, automatic testing can be realized, and time and manpower cost can be saved.
Owner:ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

Optimum design method for fan/gas compressor end wall profile and optimization platform

The invention discloses an optimum design method for a fan / gas compressor end wall profile and an optimization platform. First, original design of an axial fan hub and a case is subjected to parameterization; data information of control point parameters is extracted, and correlation is performed by the adoption of a cubic spline function; a shell script program is executed; a new control parameterand end wall profile scheme sample is generated; the new control parameter and end wall profile scheme sample serves as input data needed for an exact three-dimensional S2 stream surface calculationprogram, and exact three-dimensional S2 stream surface calculation of a fan / gas compressor is performed; all target function values of the new end wall profile sample are obtained and subjected to global optimization to obtain the optimum end wall profile structure. The optimum design method for the fan / gas compressor end wall profile and the optimization platform are used for end wall profile optimum design theory research and product research of fans / gas compressors of aero-engines and other impeller machines (such as axial flow / radial flow turbines, axial flow / radial flow pumps / gas compressors and axial flow / radial flow fans).
Owner:HARBIN INST OF TECH

Production method of INAND/NAND-based multi-partition storage device

The invention discloses a production method of an INAND / NAND-based multi-partition storage device, which solves the technical problem of slow production speed of an INAND / NAND-based large internal memory due to that the conventional programmer does not support separate writing in the prior art. The technical scheme is that the method is realized through the programmer and a computer in which matched software programs are stored, a system file storage space for storing a system bootstrap module is divided in the internal memory, and the system bootstrap is written in the system file storage space through the programmer and the computer; a SD card slot and a matched SD card are added in an electronic device, wherein the SD card stores a system upgrading file, a system production file, and a shell script file for judging whether the storage device is partitioned. In the method, the internal memory is partitioned through an external memory, and the system file is separately written in the internal memory, thus, the production speed of the internal memory is improved greatly.
Owner:SHENZHEN ROADROVER TECH

Test method for memory pressure of Linux server

The invention discloses a test method for the memory pressure of a Linux server. The process of the test method comprises the steps of 1, copying a MemTest script and a memtester-4.3.0.tar.gz file to any catalog on a Linux server needing to be subjected to the memory pressure test; 2, giving the script and the file an executable right: #chmod777MemTest; 3, executing a script program: #. / MemTest; 4, analyzing a test result. By adopting the method, third party software is not required, and the method is easy and feasible; the method is compiled by using a Shell script, is strong in universality and can test in a cross-platform mode; the optimal test parameter is automatically calculated, and the method supports the self definition circulation times, and is suitable for different test environments; multi-process concurrency is realized, and the test efficiency is high; the program has no residual files and has no influence to a system.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Method and system for generating executable software package efficiently

The invention discloses a method and a system for generating an executable software package efficiently and relates to the field of multi-document multi-layer and multi-catalogue structures under the Linux system. The method includes the following steps: S1 carding and integrating operation information required by board cards to be used, compiling and generating an executable document through a make tool according to the operation information in the Shell script document; S2 inputting board card names of the board cards to be used in the script document as the parameter value, defining the corresponding macro in the Shell script document according to the board card names, wherein different board card names correspond to different macros, and enabling the Shell script document to execute the executable document with the macro as the basis; S3 all executable documents, operation documents required by the executable documents and software and hardware information of the board card are packaged to form the final executable execution soft package. By means of the method and the system, the working efficiency and the working progress and accuracy can be improved, the board cards of different types can be supported, and the method and the system are wide in application range and facilitate transplanting.
Owner:FENGHUO COMM SCI & TECH CO LTD +1

Method for deploying and sharing NFS (network file system) automatically and quickly

The invention provides a method for deploying and sharing an NFS (network file system) automatically and quickly. On the basis of Shell Script, the interactive environment is provided, test parameters and a performance reference table required by the Lin Pack can be acquired simply conveniently by only inputting cluster configuration parameters according to prompts, the theoretical floating-point peak value and the actual floating-point peak value can be acquired by the Lin Pack, concurrency efficiency of the system can be further determined and the purpose of evaluating the cluster system quickly is achieved. A deployer only needs to place scripts and files required by deployment on management nodes, writes host names of all nodes (management nodes and computing nodes) into a host file, writes to-be-shared directory names into a share_dir file, runs the install.sh by a root user on the management nodes, inputs the root passwords, so that sharing and deployment of the NFS of all nodes can be completed and are still available in the next starting.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD

Telephone traffic statistic method

The invention discloses a telephone traffic statistic method. The telephone traffic statistic method comprises the steps of backstage data processing and foreground imaging data display, wherein the backstage data processing comprises the steps that a communication server counts and records all call records, the call records are used as original telephone traffic data, and classification, statistics, summarization and computation are carried out on the original telephone traffic data through an SHELL script to form a statistics data table; the foreground imaging data display comprises the steps of defining a foreground interface generated by telephone traffic statistics, analysis and graphical representation on the basis of accomplishment of summarization of backstage scripts, using a client-side script to carry out interaction on user requests and telephone traffic data, and accomplishing imaging service processing. The telephone traffic statistic method is used for solving the problems that statistics of multi-data-table multi-dimensional multi-type multi-mode telephone traffic with large data volume of 10 million is difficult, complex, not in time, incomplete, and not visual.
Owner:苏州洲际传书信息科技有限公司

Method and device for automactic migration of system configuration item

A method and a device for migrating a source system configuration item: collecting through a telnet / ssh protocol channel established with a source system and a predefined shell script corresponding to the source system, a source system configuration item corresponding to a system configuration item identifier, wherein the system configuration item identifier is a predefined system configuration item identifier corresponding to the source system; comparing the collected source system configuration item with a preset default system configuration item to obtain a non-default system configuration item, wherein the non-default system configuration item is regarded as a system configuration item that needs to be migrated; querying a mapping relationship among a pre-system: the system configuration item and a key parameter value to obtain a destination system configuration item and the key parameter value; and performing migration configuration on a destination system through the telnet / ssh protocol channel established with the destination system.
Owner:HUAWEI TECH CO LTD

Assembly line construction method and system based on parameter configuration

The invention discloses an assembly line construction method and system based on parameter configuration, and belongs to the technical field of computer software, and the method comprises the following steps: S1, compiling a plug-in project; S2, configuring a plug-in project; S3, editing a process; S4, selecting a plug-in; S5, constructing a single step; and S6, constructing all steps. According to the method, a CI&CD assembly line can be edited without learning and compiling a shell script, so that the learning cost and time are saved for a user, the threshold of the user is reduced, and theuser range is expanded; all personnel in a research and development team can participate in continuous construction / deployment work and can be used by non-operation and maintenance personnel, and development and operation and maintenance can be better cooperated; the plug-in project is in zero coupling with other codes of the whole platform, and users can develop the plug-in project by themselvesto complete things they want to do; and contents displayed in the log are filtered and processed, so that the tangled log contents become concise and direct.
Owner:科大国创云网科技有限公司

Detection method for smart information of hard disk in linux system

InactiveCN105740110AEasy to detect fault informationMaintain healthFaulty hardware testing methodsGNU/LinuxHealth states
The invention discloses a detection method for smart information of a hard disk in a linux system, and relates to the technical field of hard disk detection. Through a shell script in the linux system, smart information of SATA direct connection and LSI connection hard disks is captured and error information in the smart information is detected and screened; and when smart information errors occur in the hard disks, the errors can be visually captured, so that hard disk faults can be restored in time. The detection method is suitable for all servers with linux systems, can capture and detect the smart information of the SATA direct connection and LSI connection hard disks of a mainboard, and is convenient for detecting health states of the hard disks.
Owner:LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products