Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for supporting two kinds of word length property code input limitations in DOS system

An asset and coding technology, which is applied in the field of supporting two-length asset code input restrictions, to achieve the effect of improving work efficiency and ensuring quality

Inactive Publication Date: 2018-02-23
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the increase in functional requirements, when the same model has two different asset encoding requirements, if one word length is limited, then an error will be reported when the other word length is used, but both of them are When functional requirements are required, the script needs to be updated frequently to adapt to the word length of different asset encodings

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for supporting two kinds of word length property code input limitations in DOS system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] The present invention uses turbo C language to write the exe tool under DOS, so as to realize the input of two different string variables.

[0026] The specific limit variable character lengths of the present invention are 11 and 12, both of which are the requirements of the same model of the same customer.

[0027] When the customer's order is an 11-digit asset code, use a USB flash drive to enter DOS and prompt to flash in the asset code;

[0028] When flashing in the 11-digit asset code, the system will automatically save it as a variable;

[0029] The length of this variable is verified by the developed DOS tool:

[0030] If the 11 characters meet the requirements, the program will automatically execute the follow-up script;

[0031] When the input does not conform to 11 or 12 digits, the program will return to the flash asset code window and prompt that the length of the flash asset code does not meet the requirements.

Embodiment 2

[0033] When the customer's order is a 12-digit asset code, use the U disk to enter DOS, prompting to flash in the asset code;

[0034] When flashing in the 12-digit asset code, the system will automatically save it as a variable;

[0035] The length of this variable is verified by the developed DOS tool:

[0036] If the 12 characters meet the requirements, the program will automatically execute the follow-up script;

[0037] When the input does not conform to 11 or 12 digits, the program will return to the flash asset code window and prompt that the length of the flash asset code does not meet the requirements.

[0038] The present invention also protects a system that supports asset code input restrictions of two lengths under a DOS system, including an asset code input unit, an asset code judgment unit, and a refresh unit; the asset code input unit is used to input asset codes; The asset code judging unit mentioned above is used to judge whether the input asset code meets ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for supporting two kinds of word length property code input limitations in a DOS system. The method concretely comprises the following steps of S110, adding one kind of judging conditions for reporting errors of the input property code limitation lengths according to requirements; S210, inputting the property code; judging the property code; S310, when the input property code meets one kind in the two kinds of word length property code input limitations, inputting the property code and performing automatic refreshing; S410, when the input property code does notmeet the two kinds of word length property code input limitations, stopping the error reporting. Compared with the prior art, the method has the advantages that the property code coding compatible with the two kinds of word lengths can be realized through researching, developing and compiling batch processing scripts; the frequent script updating is avoided; the system work efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method for supporting input restrictions of asset codes with two word lengths under a DOS system. Background technique [0002] On the production side of the server, there is a limit to the word length of the customer's asset code to avoid mistakes. However, with the increase in functional requirements, when the same model has two different asset encoding requirements, if one word length is limited, then an error will be reported when the other word length is used, but both of them are When functional requirements are required, the script needs to be updated frequently to adapt to the word length of different asset encodings. Contents of the invention [0003] The technical task of the present invention is to provide a method under the DOS system that supports the input restriction of asset codes with two word lengths for the above deficiencies. [0004] The techni...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 李保利
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More