CN105373392A - DOS system based control method for digit number of character string of scanning sequence - Google Patents

DOS system based control method for digit number of character string of scanning sequence Download PDF

Info

Publication number
CN105373392A
CN105373392A CN201510904722.4A CN201510904722A CN105373392A CN 105373392 A CN105373392 A CN 105373392A CN 201510904722 A CN201510904722 A CN 201510904722A CN 105373392 A CN105373392 A CN 105373392A
Authority
CN
China
Prior art keywords
fru information
dos
script
string length
input
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
CN201510904722.4A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510904722.4A priority Critical patent/CN105373392A/en
Publication of CN105373392A publication Critical patent/CN105373392A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a DOS system based control method for a digit number of a character string of a scanning sequence, belongs to the field of FRU information processing, and aims to solve the technical problem that a missing cleanup or false cleanup phenomenon occurs in an input process of FRU information. The adopted technical scheme is that the method comprises the steps of (1) compiling a DOS executable script, wherein the DOS executable script is used for limiting character string length of input FRU information; (2) writing the DOS executable script into a U disk for batch processing to form an execution script; (3) inputting the FRU information by a scanner; and (4) executing the script in the step (2), and if the FRU information is incorrect, returning to the step (3) and prompting information that the FRU information is input again.

Description

A kind of method that scanning sequence word string figure place is controlled based on DOS system
Technical field
The present invention relates to the process field of FRU information, specifically a kind of method that scanning sequence word string figure place is controlled based on DOS system.
Background technology
The FRU information of server needs write host sequence number, and some also needs to brush and encodes into assets, when using scanner to sweep FRU information, in the input process of FRU information, there will be the phenomenon of leaking brush or wrong brush, if do not checked in input process, then can cause bad inflow rear end.
Summary of the invention
Technical assignment of the present invention is for above deficiency, provides a kind of method controlled scanning sequence word string figure place based on DOS system, solves the FRU information hourglass brush of input server or the problem of wrong brush.
Technical assignment of the present invention realizes in the following manner;
Based on the method controlled scanning sequence word string figure place of DOS system, for limiting the string length of the FRU information in input FRU, the step of described method is:
(1) compile DOS and can perform script, described DOS can perform script for limiting the string length of the FRU information of input;
(2) described DOS can perform script and be programmed into USB flash disk batch processing formation execution script;
(3) FRU information is inputted by scanner;
(4) perform script in step (2), if FRU information errors, then return step (3), and FRU information is re-entered in prompting.
Described DOS can perform in script and be provided with string length limit value and rreturn value, DOS can perform the string length of the FRU information of script identification input, and the string length of the FRU information of the input of identification and string length limit value are compared, if the string length of the FRU information of input is in the scope of string length limit value, then rreturn value is 0, if the string length of the FRU information of input is outside the scope of string length limit value, then rreturn value is 1.
When performing script, if rreturn value is 0, then continue to perform, if rreturn value is 1, then FRU information is re-entered in prompting.
Described FRU information comprises host sequence number and encodes with assets.
A kind of method that scanning sequence word string figure place controls is had the following advantages based on DOS system of the present invention: by the script of the length of restricted character string in script, improve brush into accuracy, improve production efficiency.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described.
Accompanying drawing 1 is a kind of process flow diagram to the method that scanning sequence word string figure place controls based on DOS system.
Embodiment
Reference Figure of description and specific embodiment are to a kind of being described in detail below the method that scanning sequence word string figure place controls based on DOS system of the present invention.
Embodiment:
A kind of method that scanning sequence word string figure place is controlled based on DOS system of the present invention, for limiting FRU information in the input FRU string length as host sequence number and assets coding, its method step is:
(1) compile DOS and can perform script, described DOS can perform script for limiting the string length of the FRU information of input;
(2) described DOS can perform script and be programmed into USB flash disk batch processing formation execution script;
(3) FRU information is inputted by scanner;
(4) perform script in step (2), if FRU information errors, then return step (3), and FRU information is re-entered in prompting.
DOS can perform in script and be provided with string length limit value and rreturn value, DOS can perform the string length of the FRU information of script identification input, and the string length of the FRU information of the input of identification and string length limit value are compared, if the string length of the FRU information of input is in the scope of string length limit value, then rreturn value is 0, if the string length of the FRU information of input is outside the scope of string length limit value, then rreturn value is 1.
When performing script, if rreturn value is 0, then continue to perform, if rreturn value is 1, then FRU information is re-entered in prompting.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to above-mentioned embodiment.On the basis of disclosed embodiment, described those skilled in the art can the different technical characteristic of combination in any, thus realizes different technical schemes.Except the technical characteristic described in instructions, be the known technology of those skilled in the art.

Claims (4)

1., based on the method controlled scanning sequence word string figure place of DOS system, for limiting the string length of the FRU information in input FRU, it is characterized in that the step of described method is:
(1) compile DOS and can perform script, described DOS can perform script for limiting the string length of the FRU information of input;
(2) described DOS can perform script and be programmed into USB flash disk batch processing formation execution script;
(3) FRU information is inputted by scanner;
(4) perform script in step (2), if FRU information errors, then return step (3), and FRU information is re-entered in prompting.
2. a kind of method that scanning sequence word string figure place is controlled based on DOS system according to claim 1, it is characterized in that described DOS can perform in script and be provided with string length limit value and rreturn value, DOS can perform the string length of the FRU information of script identification input, and the string length of the FRU information of the input of identification and string length limit value are compared, if the string length of the FRU information of input is in the scope of string length limit value, then rreturn value is 0, if the string length of the FRU information of input is outside the scope of string length limit value, then rreturn value is 1.
3. a kind of method controlled scanning sequence word string figure place based on DOS system according to claim 2, when it is characterized in that performing script, if rreturn value is 0, then continue to perform, if rreturn value is 1, then FRU information is re-entered in prompting.
4. a kind of method controlled scanning sequence word string figure place based on DOS system according to claim 1,2 or 3, is characterized in that described FRU information comprises host sequence number and encodes with assets.
CN201510904722.4A 2015-12-09 2015-12-09 DOS system based control method for digit number of character string of scanning sequence Pending CN105373392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510904722.4A CN105373392A (en) 2015-12-09 2015-12-09 DOS system based control method for digit number of character string of scanning sequence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510904722.4A CN105373392A (en) 2015-12-09 2015-12-09 DOS system based control method for digit number of character string of scanning sequence

Publications (1)

Publication Number Publication Date
CN105373392A true CN105373392A (en) 2016-03-02

Family

ID=55375620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510904722.4A Pending CN105373392A (en) 2015-12-09 2015-12-09 DOS system based control method for digit number of character string of scanning sequence

Country Status (1)

Country Link
CN (1) CN105373392A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511921A (en) * 2015-12-09 2016-04-20 浪潮电子信息产业股份有限公司 Method for guaranteeing upper-case asset code input into FRU (field replace unit)
CN106055321A (en) * 2016-05-27 2016-10-26 浪潮电子信息产业股份有限公司 Method for automatically switching capitals and small letters for refreshing FRU information in DOS system
CN106445558A (en) * 2016-10-20 2017-02-22 郑州云海信息技术有限公司 Method for simultaneously card controlling serial number and assert number under DOS system
CN107729253A (en) * 2017-11-10 2018-02-23 郑州云海信息技术有限公司 A kind of method that two kinds of word length assets coding input limitations are supported under DOS systems

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1363995A (en) * 2001-10-01 2002-08-14 肖祥省 Coding character correctness check by difference in shape
CN1925402A (en) * 2006-09-15 2007-03-07 杭州华为三康技术有限公司 iSCSI identifying method, its initiating equipment and target equipment and identifying method
CN101631108A (en) * 2008-07-16 2010-01-20 国际商业机器公司 Method and system for generating regular file for firewall of network server
CN102780684A (en) * 2011-05-12 2012-11-14 同济大学 XSS defensive system
CN103220277A (en) * 2013-04-01 2013-07-24 新浪技术(中国)有限公司 Method, device and system for monitoring cross site scripting attacks
CN103970662A (en) * 2014-05-22 2014-08-06 于秀山 Method and system for obtaining boundary value input through GUI software
CN104407976A (en) * 2014-11-28 2015-03-11 联动优势电子商务有限公司 Method and device for generating interface robustness test case
CN104808096A (en) * 2014-01-28 2015-07-29 沈阳中科奥维科技股份有限公司 Wireless module automatic test device and method based on instrument control
CN204498615U (en) * 2015-04-09 2015-07-29 北京兴农丰华科技有限公司 Portable corn fruit ear fringe portion seed investigating device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1363995A (en) * 2001-10-01 2002-08-14 肖祥省 Coding character correctness check by difference in shape
CN1925402A (en) * 2006-09-15 2007-03-07 杭州华为三康技术有限公司 iSCSI identifying method, its initiating equipment and target equipment and identifying method
CN101631108A (en) * 2008-07-16 2010-01-20 国际商业机器公司 Method and system for generating regular file for firewall of network server
CN102780684A (en) * 2011-05-12 2012-11-14 同济大学 XSS defensive system
CN103220277A (en) * 2013-04-01 2013-07-24 新浪技术(中国)有限公司 Method, device and system for monitoring cross site scripting attacks
CN104808096A (en) * 2014-01-28 2015-07-29 沈阳中科奥维科技股份有限公司 Wireless module automatic test device and method based on instrument control
CN103970662A (en) * 2014-05-22 2014-08-06 于秀山 Method and system for obtaining boundary value input through GUI software
CN104407976A (en) * 2014-11-28 2015-03-11 联动优势电子商务有限公司 Method and device for generating interface robustness test case
CN204498615U (en) * 2015-04-09 2015-07-29 北京兴农丰华科技有限公司 Portable corn fruit ear fringe portion seed investigating device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511921A (en) * 2015-12-09 2016-04-20 浪潮电子信息产业股份有限公司 Method for guaranteeing upper-case asset code input into FRU (field replace unit)
CN106055321A (en) * 2016-05-27 2016-10-26 浪潮电子信息产业股份有限公司 Method for automatically switching capitals and small letters for refreshing FRU information in DOS system
CN106445558A (en) * 2016-10-20 2017-02-22 郑州云海信息技术有限公司 Method for simultaneously card controlling serial number and assert number under DOS system
CN107729253A (en) * 2017-11-10 2018-02-23 郑州云海信息技术有限公司 A kind of method that two kinds of word length assets coding input limitations are supported under DOS systems

Similar Documents

Publication Publication Date Title
CN105373392A (en) DOS system based control method for digit number of character string of scanning sequence
TW201944738A (en) Decoding method and storage controller
KR20130057758A (en) Flash memory device and reading method of flash memory device
CN103544073A (en) Method for reading data of block in flash memory and related memory device
CN110299176B (en) Memory controller and memory system having the same
CN102880487B (en) A kind of method of one-touch burning firmware of network card
CN104572334A (en) Decoding method, memory storage device and memory control circuit unit
CN102201022A (en) Method and device for checking field programmable gate array (FPGA)
CN103077062A (en) Method and device for detecting code change
CN106155830B (en) data storage device and error correction method
WO2018187771A3 (en) Safe execution in place (xip) from flash memory
CN103839031A (en) Special embedded type two-dimensional code recognition method
CN105956191B (en) Data migration method and system
CN104731617A (en) Server starting device determining method
CN115952758A (en) Chip verification method and device, electronic equipment and storage medium
CN107729375B (en) Log data sorting method and device
CN110244939B (en) RS code encoding and decoding method based on OpenCL
CN110659036B (en) Method and system for automatically burning google key in Windows system
CN110008446A (en) The method and electronic equipment that a kind of language based on programming converts form document
CN102629212A (en) Method for indirectly programming to NANDFLASH based on J-LINK
CN105511921A (en) Method for guaranteeing upper-case asset code input into FRU (field replace unit)
CN107885504B (en) Heterogeneous multi-platform system control logic consistency checking method
CN110515645A (en) A kind of implementation method and relevant apparatus of the function renewal of BIOS
CN104112479A (en) Encoder, Decoder And Semiconductor Device Including The Same
CN114186233A (en) Code anti-obfuscation method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160302

RJ01 Rejection of invention patent application after publication