CN115016974A - Method and device for checking host computer specification in batches - Google Patents

Method and device for checking host computer specification in batches Download PDF

Info

Publication number
CN115016974A
CN115016974A CN202210758821.6A CN202210758821A CN115016974A CN 115016974 A CN115016974 A CN 115016974A CN 202210758821 A CN202210758821 A CN 202210758821A CN 115016974 A CN115016974 A CN 115016974A
Authority
CN
China
Prior art keywords
information
parameter
checking
character information
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210758821.6A
Other languages
Chinese (zh)
Inventor
奚晓斌
曹磊
孟伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210758821.6A priority Critical patent/CN115016974A/en
Publication of CN115016974A publication Critical patent/CN115016974A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0715Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a system implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates

Abstract

A host standard batch inspection method and device relate to the field of intelligent operation and maintenance and can be used in the financial field or other fields. The method comprises the following steps: acquiring a job text and a calling parameter list of a host system to be checked, and extracting information of the job text and the calling parameter list to obtain text information comprising job text information and parameter character information; the job text information and the parameter character information are checked to repeatedly define file names, and renaming checking results are obtained; performing disorder code check processing and command check processing on the parameter character information to obtain a disorder code check result and a command check result; and generating a checking result list according to the renaming checking result, the messy code checking result and the command checking result. According to the invention, through rapid automatic batch standard inspection, the problem that various errors can be found only when multiple rounds of complete batches containing service data are required is solved, the standard defects of the host system are rapidly determined, the test cost is reduced, the human resources are saved, and the working efficiency is improved.

Description

Method and device for checking host computer specification in batches
Technical Field
The invention relates to the technical field of host system detection, in particular to a method and a device for checking host specification in batches.
Background
At present, various batch defects can be found out on the specification only through multiple rounds of operation of the system containing full-service data, active and rapid automatic inspection is lacked, and partial defects can be found only through multiple rounds of full-service data complete batch operation of the system. At present, the test can not be carried out once, and errors can be found in advance, so that the test cost and investment are increased.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiments of the present invention mainly aim to provide a method and an apparatus for checking a host specification in batch, so as to quickly determine the specification defects of a host system and reduce the test cost and investment.
In order to achieve the above object, an embodiment of the present invention provides a host specification batch checking method, where the method includes:
acquiring a job text and a calling parameter list of a host system to be checked, and extracting information of the job text and the calling parameter list to obtain text information; the text information comprises job text information and parameter character information;
the job text information and the parameter character information are checked and repeatedly defined with file name processing, and renaming checking results are obtained;
the parameter character information is subjected to disorder code check processing and command check processing to respectively obtain a disorder code check result and a command check result;
and generating a checking result list according to the renaming checking result, the messy code checking result and the command checking result.
Optionally, in an embodiment of the present invention, the obtaining the job text and the calling parameter list of the host system to be checked includes:
and acquiring a job text from a job library of the host system to be checked, and acquiring a calling parameter list from a parameter library of the host system to be checked.
Optionally, in an embodiment of the present invention, extracting information from the job text and the call parameter list to obtain text information includes:
extracting text information of the operation text to obtain operation text information;
extracting character information from the calling parameter list to obtain parameter character information;
and summarizing the operation text information and the parameter character information to obtain the text information.
Optionally, in an embodiment of the present invention, performing a scrambling code check process on the parameter character information, and obtaining a scrambling code check result includes:
and identifying and removing the preset character string in the parameter character information, and performing messy code check processing on the parameter character information without the preset character string to obtain a messy code check result.
Optionally, in an embodiment of the present invention, performing command check processing on the parameter character information, and obtaining a command check result includes:
and if the parameter list is called to finish the file uploading process, carrying out deletion command check process on the corresponding parameter character information to obtain a deletion command check result.
Optionally, in an embodiment of the present invention, performing command check processing on the parameter character information, and obtaining a command check result includes: and performing exit command check processing on the parameter character information to obtain an exit command check result.
Optionally, in an embodiment of the present invention, the method further includes: and performing standard correction processing on the host system to be checked according to the checking result list.
The embodiment of the invention also provides a host specification batch inspection device, which comprises:
the text information module is used for acquiring a job text and a calling parameter list of the host system to be checked, and extracting information of the job text and the calling parameter list to obtain text information; the text information comprises job text information and parameter character information;
the renaming checking module is used for checking the operation text information and the parameter character information and repeatedly defining the file name to obtain a renaming checking result;
the command checking module is used for carrying out messy code checking processing and command checking processing on the parameter character information to respectively obtain a messy code checking result and a command checking result;
and the checking result module is used for generating a checking result list according to the rename checking result, the messy code checking result and the command checking result.
Optionally, in an embodiment of the present invention, the text information module is further configured to obtain a job text from a job library of the host system to be checked, and obtain a calling parameter list from a parameter library of the host system to be checked.
Optionally, in an embodiment of the present invention, the text information module includes:
the information extraction unit is used for extracting text information of the job text to obtain job text information;
the character information unit is used for extracting character information of the calling parameter list to obtain parameter character information;
and the text information unit is used for summarizing the operation text information and the parameter character information to obtain text information.
Optionally, in an embodiment of the present invention, the command checking module is further configured to identify and remove a preset character string in the parameter character information, and perform a scrambling code checking process on the parameter character information from which the preset character string is removed to obtain a scrambling code checking result.
Optionally, in an embodiment of the present invention, the command checking module is further configured to, if the parameter list is called to complete file uploading processing, perform deletion command checking processing on the parameter character information corresponding to the parameter list, so as to obtain a deletion command checking result.
Optionally, in an embodiment of the present invention, the command checking module is further configured to perform exit command checking processing on the parameter character information to obtain an exit command checking result.
Optionally, in an embodiment of the present invention, the apparatus further includes: and the standard correction module is used for performing standard correction processing on the host system to be checked according to the checking result list.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the program.
The present invention also provides a computer-readable storage medium having stored thereon a computer program for executing the above method.
The invention also provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the above method.
The invention solves the problems that various programs are not in accordance with the development standard and the host operation rule is wrong only by needing multiple rounds of complete batch containing business data through rapid automatic batch standard inspection, realizes rapid determination of the standard defects of the host system, reduces the test cost and the investment, saves the human resources and improves the working efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flowchart of a batch inspection method for host specification according to an embodiment of the present invention;
FIG. 2 is a flow chart of obtaining text information in an embodiment of the present invention;
FIG. 3 is a flow chart of host specification batch checking in an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a host specification batch inspection apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram of a text message module according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an exemplary configuration of a host specification batch inspection apparatus according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a host standard batch inspection method and a host standard batch inspection device, which can be used in the financial field and other fields.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a host specification batch inspection method according to an embodiment of the present invention, where an execution subject of the host specification batch inspection method provided by the embodiment of the present invention includes, but is not limited to, a computer. The invention solves the problems that various programs are not in accordance with the development standard and the host operation rule is wrong only by needing multiple rounds of complete batch containing business data through rapid automatic batch standard inspection, realizes rapid determination of the standard defects of the host system, reduces the test cost and the investment, saves the human resources and improves the working efficiency. The method shown in fig. 1 comprises:
step S1, acquiring a job text and a calling parameter list of the host system to be checked, and extracting information of the job text and the calling parameter list to obtain text information; the text information comprises job text information and parameter character information.
The job is stored with a plurality of functions that need to be executed sequentially, such as a plurality of read and write operations to a database and a file, for example, "ABJ 5005". PROC (i.e. call parameter list) refers to the list of parameters that the job needs to call during execution of the function, such as which files are related, and the information is stored in the PROC in the form of a list, for example, "dfspace".
As an embodiment of the present invention, acquiring the job text and calling the parameter list of the host system to be checked includes: and acquiring a job text from a job library of the host system to be checked, and acquiring a calling parameter list from a parameter library of the host system to be checked.
The job library means that a large number of jobs are stored in the library in a centralized manner, and the library name is as follows: N2BONVA. CBBS. TWSLIB. The PROC library (i.e. parameter library) means that a large number of PROCs are collectively present in the library, and the library name is exemplified by: N2BONVA. CBBS. PROCLIB. The file is information that needs to be read and written during the operation of the job and is stored in the file, and the file name is as follows: N2OACNT.CBBSA.B050.AFJTRPT1.
As an embodiment of the present invention, as shown in fig. 2, extracting information from a job text and a call parameter list, and obtaining text information includes:
step S21, extracting the text information of the job text to obtain the job text information;
step S22, extracting character information of the calling parameter list to obtain parameter character information;
step S23, summarize the job text information and parameter character information to obtain text information.
After the job text and the calling parameter list are obtained, information corresponding to the job text, namely the job text information, can be obtained by extracting the information from the job text. The character information extraction is carried out on the calling parameter list to obtain corresponding information, namely parameter character information.
Further, the business text information and the parameter character information are converted into texts, and the information converted into the texts is summarized to obtain text information.
Step S2, the job text information and the parameter character information are checked and the file name is repeatedly defined, and a renaming check result is obtained.
The redefinition file name processing checks whether the same file name is redefined in a NEW manner, specifically, checks each line of characters in the job text information and the parameter character information.
Furthermore, scanning and checking the file condition established by the NEW definition mode, and if more than two NEW actions of NEW for the same file appear in the job text or the calling parameter list, generating a renaming result including the existence of the renaming condition and including the repeated file name. And if the NEW action repeated more than twice is not found, the generated renaming check result is no renaming.
In step S3, the parameter character information is subjected to a scrambling code check process and a command check process to obtain a scrambling code check result and a command check result, respectively.
As an embodiment of the present invention, the performing a scrambling code check process on the parameter character information to obtain a scrambling code check result includes: and identifying and removing the preset character string in the parameter character information, and performing messy code check processing on the parameter character information without the preset character string to obtain a messy code check result.
During the process of carrying out messy code check processing on the parameter character information, a preset character string in the parameter character information is firstly identified. Specifically, the preset character string includes a space, a line feed, a carriage return, and the like, and the recognized preset character string is removed.
Further, after the preset character string is removed, whether the current parameter character information is data or English is judged, and when the current parameter character information is neither digit nor English, the generated messy code check result is the existence of messy codes. If the current parameter character information is only numbers and English, the generated random code check result is no random code.
Further, the scrambling code checking process may be directed to a call parameter list in an FTP (file transfer protocol) download job step.
As an embodiment of the present invention, the performing a command check process on the parameter character information to obtain a command check result includes: and if the parameter list is called to finish the file uploading process, carrying out deletion command check process on the corresponding parameter character information to obtain a deletion command check result.
The command checking processing may specifically address a case where, in the FTP downloading operation step, no file deletion command is issued after the uploading of the PROC file is completed.
Further, a standard DELETE file command would include a "DELETE" field in the call parameter list. And checking the field, and if the 'DELETE' field is not checked, generating a deletion command check result as a lack of file deletion command. If the 'DELETE' field is checked, the generated deletion command check result is that a file deletion command exists.
As an embodiment of the present invention, the performing a command check process on the parameter character information to obtain a command check result includes: and performing exit command check processing on the parameter character information to obtain an exit command check result.
The command check process may also be performed for a case where the FTP job step does not include an exit command. Specifically, the "EXIT" field included in the call parameter list indicates that there is an EXIT command. If the "DELETE" field does not exist, the generated exit command check result is lack of exit command. If the "DELETE" field exists, the generated exit command check results in the presence of an exit command.
Step S4, generating a checking result list according to the rename checking result, the messy code checking result and the command checking result.
After the process of checking the repeated definition file name, the process of checking the messy code and the process of checking the command are finished, the obtained renaming checking result, the messy code checking result and the command checking result are collected and integrated to obtain a checking result list.
As an embodiment of the invention, the method further comprises: and performing standard correction processing on the host system to be checked according to the checking result list.
The inspection result list is used for correcting the defects of the host system to be inspected one by one so as to finish the standard correction processing.
Specifically, if the problem in the check result list is that a certain PROC file lacks a "DELETE" field, the "DELETE" field is automatically added, so that the related old file deleting function is realized, and the hidden trouble of the host system is eliminated.
In an embodiment of the present invention, the flow chart of host canonical batch check shown in FIG. 3 relates to functions in a mainframe system, such as a host file system, a host batch job scheduling mechanism, and the like. The invention provides a method for finding out the overall inspection problems only by one batch operation. These defects are among the various types of problems that may exist in the host batch functions performed within a mainframe system, some of which are of some concern with privacy. According to various problems occurring in the early stage, the method and the device aim at directionally checking and collecting hidden defect danger information of partial defect types. The defects found by the invention after information collection are classified as follows, and the possibility of finding other types of defects later is not excluded.
The invention acquires the corresponding version information from the host according to the operation and the proc list to be checked, then automatically checks the version content according to the specific checking element, outputs the checking result, and submits and tracks the version problem according to the checking result. Specifically, the process shown in fig. 3 specifically includes:
1. the method is to carry out instant full automatic scanning from the current version library and the environment library of the host system and acquire the operation and the proc list which need to be checked, and the method is to acquire the storage information. The implemented method can use a "Search-For" command in the mainframe to execute "Search data sets For strings of data" to obtain the list. The manifest is in the form of names (names) of various types of jobs and proc.
2. Extracting and summarizing the job text information and the character information in proc in the list, wherein the information comprises various contents such as 'PROGNAME, DB2LIB, SYSTSI, JOBCNTLE' and the like, and converting the information into text information and extracting the text information to the local. The information generated based on this step is used as input for the following 2, 3.
3. The extracted text information is checked for the following four types of problems
1) In the job and PROC, the same file name is defined repeatedly in the NEW mode. The condition of each line of characters in the PROC is defined by adopting scanning operation or files for the examination, and the file condition established by using the NEW definition mode is stored and scanned for examining, so that the operation that the NEW of the NEW is more than 2 times on the same file occurs in the operation or the PROC.
2) And (4) under the condition that the PROC file contains messy codes in the FTP downloading operation step. The specific method is to remove the space, line feed and carriage return symbols in the character string, judge whether the characters are numbers or English letters, and when the characters in the host PROC are generally numbers and English, the detection result is alarmed, so that whether the messy codes exist can be detected.
3) The situation that no file command is deleted after the file is uploaded by the PROC file in the FTP uploading operation step; a standard DELETE file command would include a "DELETE" field in PROC, which if not checked is considered a no DELETE file command.
4) The FTP operation step in the operation does not contain the condition of 'EXIT' command;
4. and integrating the problem information searched in the above steps to form a problem list.
5. And aiming at the specific problem analysis in the problem list, respectively arranging rectification. If the 'DELETE' field is found to be omitted in a certain job 'AAL 5001', the subsequent version adjustment is arranged, the old file deleting function related to the 'DELETE' is added, and hidden troubles are eliminated.
6. In addition to the acquisition of "stock information" according to the retrieval method in step 1 and as a scope list for jobs and PROCs, it is also possible to modify contents in terms, and individually check incremental contents. If the scanning range is newly added according to the version project modification point or is separately defined according to the special project, if the current version is mainly used for modifying the same-city double-activity function, the existing check is not needed, and only the change operation of the double-activity project modification and the PROC are needed to be checked, so that the labor input is reduced. The incremental list can correspond to the modified version content through the version requirement item and the requirement sub-entry, and the range obtained by the method is reduced greatly compared with the full amount and has more centralized pertinence. After the range obtained in this manner, the same steps as above 2 to 5 are also performed.
In summary, compared with the prior art, the invention has the following effects:
1. extracting test basic information: the method of the invention is used for extracting the host batch version information and providing further analysis information for the host batch technical test.
2. Transferring the host version information to local for analysis and sorting: unlike direct inspection on the host, the invention captures the host information locally and then carries out information collection and analysis.
3. The resource and efficiency brought are improved:
1) saving human resources: technical side angle: the carding and the collection can not be carried out in a manual mode; where a host batch submits over 14 thousands (141406) of batch jobs through the TWS, the task of manually gathering job output information is difficult to implement.
2) The work efficiency promotes: describing a calculation mode of the lifting amount, and referring to the following calculation modes of the working efficiency and the efficiency lifting: since static checking cannot be performed on all jobs and proc originally, assuming that only the version change content is checked, about 900 version change jobs (based on the statistics of a certain application version) are performed in one batch, and each job has 1 minute of checking time. The method is used for 20 minutes after one time of examination, each version is used for 3 times, and the total time is 60 minutes; the original working efficiency is 1/900, the current working efficiency is 1/60, and the working efficiency is improved by 15 times.
The invention solves the problems that various types of programs are not in accordance with the development standard and the host operation rule is wrong only by needing multiple rounds of complete batches containing service data through rapid automatic batch standard inspection, is used for guiding rapid problem analysis and solution, realizes rapid determination of the standard defects of a host system, reduces the test cost and the input, saves the human resources and improves the working efficiency.
Fig. 4 is a schematic structural diagram of a host specification batch inspection apparatus according to an embodiment of the present invention, where the apparatus includes:
the text information module 10 is configured to obtain an operation text and a calling parameter list of the host system to be inspected, and extract information of the operation text and the calling parameter list to obtain text information; the text information comprises job text information and parameter character information;
a renaming checking module 20, configured to check the job text information and the parameter character information to repeatedly define a filename, and obtain a renaming checking result;
the command checking module 30 is used for performing a disorder code checking process and a command checking process on the parameter character information to respectively obtain a disorder code checking result and a command checking result;
and the inspection result module 40 is used for generating an inspection result list according to the rename inspection result, the messy code inspection result and the command inspection result.
The text information module 10 is further configured to obtain a job text from a job library of the host system to be checked, and obtain a list of call parameters from a parameter library of the host system to be checked.
As an embodiment of the present invention, as shown in fig. 5, the text information module 10 includes:
an information extraction unit 11, configured to perform text information extraction on the job text to obtain job text information;
the character information unit 12 is used for extracting character information from the calling parameter list to obtain parameter character information;
and the text information unit 13 is used for summarizing the job text information and the parameter character information to obtain text information.
As an embodiment of the present invention, the command checking module 30 is further configured to identify and remove a preset character string in the parameter character information, and perform a scrambling code checking process on the parameter character information without the preset character string to obtain a scrambling code checking result.
As an embodiment of the present invention, the command checking module 30 is further configured to, if the parameter list is called to complete the file uploading process, perform a deletion command checking process on the parameter character information corresponding to the parameter list to obtain a deletion command checking result.
As an embodiment of the present invention, the command checking module 30 is further configured to perform an exit command checking process on the parameter character information, and obtain an exit command checking result.
As an embodiment of the present invention, as shown in fig. 6, the apparatus further includes: and the standard correction module 50 is used for performing standard correction processing on the host system to be checked according to the check result list.
Based on the same application concept as the host standard batch inspection method, the invention also provides the host standard batch inspection device. Because the principle of solving the problems of the host standard batch inspection device is similar to that of the host standard batch inspection method, the implementation of the host standard batch inspection device can refer to the implementation of the host standard batch inspection method, and repeated parts are not described again.
According to the invention, through rapid automatic batch specification inspection, the problems that various programs are not in accordance with the development specification and the host operation rule is wrong can be found only by multiple rounds of complete batches containing service data, and the problems are used for guiding rapid problem analysis and solution, so that the specification defect of a host system is rapidly determined, the test cost and the input are reduced, the human resources are saved, and the working efficiency is improved.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the program.
The invention also provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the above method.
The present invention also provides a computer-readable storage medium having stored thereon a computer program for executing the above method.
As shown in fig. 7, the electronic device 600 may further include: communication module 110, input unit 120, audio processor 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in fig. 7; furthermore, the electronic device 600 may also comprise components not shown in fig. 7, which may be referred to in the prior art.
As shown in fig. 7, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, but is not limited to, an LCD display.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, enabling recording locally through a microphone 132, and enabling locally stored sound to be played through a speaker 131.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A host specification batch inspection method is characterized by comprising the following steps:
acquiring an operation text and a calling parameter list of a host system to be checked, and extracting information of the operation text and the calling parameter list to obtain text information; the text information comprises job text information and parameter character information;
checking the operation text information and the parameter character information to repeatedly define the file name to obtain a renaming checking result;
performing disorder code check processing and command check processing on the parameter character information to respectively obtain a disorder code check result and a command check result;
and generating a checking result list according to the renaming checking result, the messy code checking result and the command checking result.
2. The method of claim 1, wherein obtaining the job text and the list of call parameters of the host system to be checked comprises:
and acquiring a job text from a job library of the host system to be checked, and acquiring a calling parameter list from a parameter library of the host system to be checked.
3. The method according to claim 1, wherein the extracting information from the job text and the call parameter list to obtain text information comprises:
extracting text information from the operation text to obtain operation text information;
extracting character information from the calling parameter list to obtain parameter character information;
and summarizing the operation text information and the parameter character information to obtain the text information.
4. The method of claim 1, wherein performing a scrambling code check process on the parameter character information, and obtaining a scrambling code check result comprises:
and identifying and removing the preset character string in the parameter character information, and performing messy code check processing on the parameter character information without the preset character string to obtain a messy code check result.
5. The method of claim 1, wherein performing command check processing on the parameter character information to obtain a command check result comprises:
and if the parameter list is called to finish the file uploading process, carrying out deletion command check process on the corresponding parameter character information to obtain a deletion command check result.
6. The method of claim 1, wherein performing command check processing on the parameter character information to obtain a command check result comprises: and performing exit command check processing on the parameter character information to obtain an exit command check result.
7. The method of claim 1, further comprising: and performing standard correction processing on the host system to be checked according to the checking result list.
8. A host specification batch inspection apparatus, the apparatus comprising:
the text information module is used for acquiring an operation text and a calling parameter list of the host system to be checked, and extracting information of the operation text and the calling parameter list to obtain text information; the text information comprises job text information and parameter character information;
the renaming checking module is used for checking the operation text information and the parameter character information to repeatedly define the file name and obtain a renaming checking result;
the command checking module is used for carrying out messy code checking processing and command checking processing on the parameter character information to respectively obtain a messy code checking result and a command checking result;
and the checking result module is used for generating a checking result list according to the rename checking result, the messy code checking result and the command checking result.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 7.
CN202210758821.6A 2022-06-30 2022-06-30 Method and device for checking host computer specification in batches Pending CN115016974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210758821.6A CN115016974A (en) 2022-06-30 2022-06-30 Method and device for checking host computer specification in batches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210758821.6A CN115016974A (en) 2022-06-30 2022-06-30 Method and device for checking host computer specification in batches

Publications (1)

Publication Number Publication Date
CN115016974A true CN115016974A (en) 2022-09-06

Family

ID=83078373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210758821.6A Pending CN115016974A (en) 2022-06-30 2022-06-30 Method and device for checking host computer specification in batches

Country Status (1)

Country Link
CN (1) CN115016974A (en)

Similar Documents

Publication Publication Date Title
CN112783793B (en) Automatic interface test system and method
CN112988601A (en) Test script development method and device
CN106066849A (en) A kind of template page editing system and method
CN112256581B (en) Log playback test method and device for high-simulation securities trade trading system
CN110543301B (en) Method and device for generating jenkins code file
CN102117436A (en) System and method for analyzing patient electronic receipt file
CN101145984B (en) Automatic testing method based on self-adapted parameters
CN115016974A (en) Method and device for checking host computer specification in batches
CN111930625A (en) Log obtaining method, device and system based on cloud service platform
CN112162914A (en) Method and device for automatically generating test case
CN112035365B (en) Version deployment method and device supporting multiple test environments
CN100576182C (en) The real-time monitoring system of computer documents and method
CN112799945B (en) Batch file verification method and device
CN113515447B (en) Automatic testing method and device for system
CN113419957A (en) Rule-based big data offline batch processing performance capacity scanning method and device
CN113986759A (en) Business processing flow acquisition method, business architecture flow verification method and system
CN110287182B (en) Big data comparison method, device, equipment and terminal
CN112988598A (en) Method and device for automatically testing interface
CN113128986A (en) Error reporting processing method and device for long-link transaction
CN112328498A (en) Service testing method and device, storage medium and electronic device
CN110750266A (en) Program compiling method, program compiling device, computer equipment and storage medium
CN113298538B (en) Customer service data processing method and device
CN116305247B (en) Sensitive information detection method and system for process data of vehicle-mounted application software
CN112925707B (en) ELF binary library file symbol conflict detection method, system and medium
CN111459833B (en) Method for realizing multi-terminal multi-platform automatic test and monitoring of mobile terminal of government and enterprise

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination