CN107220690A - A kind of method that bar code is quickly generated in domain - Google Patents

A kind of method that bar code is quickly generated in domain Download PDF

Info

Publication number
CN107220690A
CN107220690A CN201710417551.1A CN201710417551A CN107220690A CN 107220690 A CN107220690 A CN 107220690A CN 201710417551 A CN201710417551 A CN 201710417551A CN 107220690 A CN107220690 A CN 107220690A
Authority
CN
China
Prior art keywords
bar code
code
character
generated
domain
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
CN201710417551.1A
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.)
Huada Empyrean Software Co Ltd
Beijing CEC Huada Electronic Design Co Ltd
Original Assignee
Beijing CEC Huada Electronic Design 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 Beijing CEC Huada Electronic Design Co Ltd filed Critical Beijing CEC Huada Electronic Design Co Ltd
Priority to CN201710417551.1A priority Critical patent/CN107220690A/en
Publication of CN107220690A publication Critical patent/CN107220690A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06018Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A kind of method that bar code is quickly generated in domain, comprises the following steps:The parameter setting of user is received, bar code is generated;Initial code and end code are generated before and after bar code;Check code is added before the end of bar code, end code;Generate quiet zone;By bar code generating into new unit;Generate the corresponding character of bar code.The method that bar code is quickly generated in layout design of the present invention, set according to customer parameter, can quickly effectively, bar code is correctly created in domain, the workload of user can not only be substantially reduced, it can also be prevented effectively from the mistake that user's manual operations is brought, the highly effective efficiency for improving layout design simultaneously.

Description

A kind of method that bar code is quickly generated in domain
Technical field
The present invention relates to a kind of electric design automation(EDA)Instrument, the life in domain of more particularly to a kind of eda tool It is in strip the method for code.
Background technology
EDA layout designs are mostly important, the most key steps in IC design and liquid crystal panel design, directly Decide the manufacture and success or failure entirely designed.In IC Layout and liquid crystal panel design process, it is sometimes desirable to raw Cheng represents a string of spcial character bar codes, to be somebody's turn to do in subsequent processing steps using the directly scanning of barcode reading instrument Information.
In the prior art, bar code, this manual operations generation are generally generated in domain using manual mode The method of bar code, can not only increase the workload of layout design, while can also be wanted in the width of bar code, height, spacing etc. The difference asked, causes the bar code that manual operations is generated to be continuing with.
The content of the invention
In order to solve prior art presence deficiency, it is an object of the invention to provide one kind in layout design fast fast-growing Be in strip the method for code, set according to customer parameter, can quickly effectively, bar code is correctly created in domain.
To achieve the above object, the method that bar code is quickly generated in layout design that the present invention is provided, including it is following Step:
The parameter setting of user is received, bar code is generated;
Initial code and end code are generated before and after bar code;
Check code is added before the end of bar code, end code;
Generate quiet zone;
By bar code generating into new unit;
Generate the corresponding character of bar code.
Further, the parameter setting for receiving user, generates bar code, is the input character set according to user The distance of string, the width and distance values of wide code, the width and spacing of narrow code, and intercharacter, generates corresponding bar code.
Further, the check code, its generation method, including:
1)Each character relative value of bar code is added and obtains sum;
2)Gone with radix 43 divided by each character relative value of bar code is added and obtains sum, obtain remainder;
3)Remainder is regarded as the relative value of check code;
4)The corresponding character of the relative value is inquired about as check code.
Further, the corresponding character of the generation bar code, further comprises the steps:Change the font of character; The position of mobile character;Convert characters to figure.
Further, the step of further comprising rotation bar code angle.
The present invention realizes a kind of method that bar code is quickly generated in layout design, can not only substantially reduce user Workload, while can also be prevented effectively from the mistake that user's manual operations is brought, the highly effective effect for improving layout design Rate.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, and with the present invention's Embodiment together, for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram that bar code is quickly generated in layout design according to the present invention;
Fig. 2 is the parameter setting interface schematic diagram according to the present invention;
The parameter setting interface schematic diagram that Fig. 3 is when according to the character string of input of the present invention being AB;
The bar code schematic diagram that it is AB according to the character string of the generation of the present invention that Fig. 4, which is,;
Fig. 5 is bar code, initial code and the end code schematic diagram generated according to the present invention;
Fig. 6 is the corresponding table according to character and relative value of the invention;
Fig. 7 is to generate check code interface schematic diagram according to the setting of the present invention;
Fig. 8 is the generation bar code and check code schematic diagram according to the present invention;
Parameter setting interface schematic diagram when Fig. 9 is the generation quiet zone according to the present invention;
The bar code schematic diagram that Figure 10 is produced when being the generation quiet zone according to the present invention;
Figure 11 is to set interface schematic diagram according to the new cell parameters of generation of the present invention;
Figure 12 is the new unit effect diagram of generation according to the present invention;
Figure 13 is the detailed impression schematic diagram of the new unit of generation according to the present invention.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is the method flow diagram that bar code is quickly generated in layout design according to the present invention, below with reference to figure 1, the method that bar code is quickly generated in layout design to the present invention is described in detail.
First, in step 101, receive user inputs character string, the width and distance values of wide code, the width of narrow code and Away from, and intercharacter the parameter setting such as distance, generate corresponding bar code.
The bar code of generation meets the rule of general bar code, can by the general bar code scanning instrument of in the market into Work(is recognized, while also being compliant with IC Layout or liquid crystal panel design rule, can pass through integrated circuit technology or liquid Crystal panel technique productions are manufactured, and the invention is by EDA works in being designed first using IC design and liquid crystal panel Tool automatically generates bar code.
Fig. 2 is the parameter setting interface schematic diagram according to the present invention, as shown in Fig. 2 passing through the parameter setting interface, user User inputs character string, the width of wide code and distance values, the width of narrow code and spacing, and the distance of intercharacter can be carried out Set.
The parameter setting interface schematic diagram that Fig. 3 is when according to the character string of input of the present invention being AB, Fig. 4 is according to this hair The character string of bright generation is AB bar code schematic diagram, as shown in Figures 3 and 4, and user inputs character string is AB, the width of wide code With the distance 150 of distance values 375, the width of narrow code and spacing 150, and intercharacter, the height of bar code is 10000.
In step 102, " ﹡ are added before and after character string in bar code " initial code of generation bar code and end code.Fig. 5 For according to the present invention bar code, initial code and the end code schematic diagram that generate, as shown in figure 5, being generated respectively before and after bar code There are initial code and end code.
In step 103, at the end of bar code, end code " ﹡ " check code, generation quiet zone are added before.
The generating algorithm of check code is:
1)Each character relative value of bar code is added and obtains total Sum;
2)Gone with radix 43 divided by Sum, obtain remainder R;
3)R is regarded as check code(Check Number)Relative value;
4)The corresponding character of the relative value is inquired about as check code.
Fig. 6 is the corresponding table according to character and relative value of the invention, as shown in fig. 6, character A relative value is 10, word The relative value for according with B is 11.
In the present embodiment, when character string is AB, the algorithm of check code is:
1)The corresponding relative value of A and B is added and obtains total 10+11=21;
2)21/43 obtains remainder 21;
3)21 corresponding characters are found out for L, as check code;
4)Bar code is finally obtained for ABL.
Fig. 7 is to generate check code interface schematic diagram according to the setting of the present invention, and Fig. 8 is the generation bar code according to the present invention With check code schematic diagram, as shown in FIG. 7 and 8, setting interface to choose, " Add check Number " can be generated as shown in Figure 8 Bar code and check code.
Parameter setting interface schematic diagram when Fig. 9 is the generation quiet zone according to the present invention, Figure 10 is according to the present invention's The bar code schematic diagram produced during generation quiet zone, as shown in Figures 9 and 10, " Generate Silence is chosen setting interface Zone ", you can generation bar code as shown in Figure 10 and quiet zone, generates quiet zone and silent sector width is 2500.
In step 104, by bar code generating into a new unit.Figure 11 is to be set according to the new cell parameters of generation of the present invention Interface schematic diagram, Figure 12 is the new unit effect diagram of generation according to the present invention, and Figure 13 is newly single according to generation of the invention The detailed impression schematic diagram of member, as figs 11-13, " Make Barcode As Cell ", you can raw is chosen setting interface Into a new unit as shown in Figures 12 and 13.
In step 105, character is generated, and be changed the font of character, the position of movement character and convert characters to Figure etc. is operated.
The method that bar code is quickly generated in layout design of the present invention, user configuring input character string, the width of wide code The distance of degree and distance values, the width and spacing of narrow code, and intercharacter, corresponding bar can be generated according to these values for client Shape code.The bar code of generation meets the rule of general bar code, can pass through the general bar code scanning instrument success of in the market Identification, while also being compliant with IC Layout or liquid crystal panel design rule, can pass through integrated circuit technology or liquid crystal Panel process is manufactured out, and the invention is by eda tool in being designed first using IC design and liquid crystal panel Automatically generate bar code.
In whole generating process, user can specify the anglec of rotation, if the start-stop code of generation bar code, if generation A series of check code, if generation quiet zone, if options such as corresponding string value of generation.This simple and effective realization can Greatly to save the huge time cost that Layout Design Engineer spends when generating bar code, effectively domain is accelerated to set Meter.
Mouse is mobile in painting canvas to generate cartoon simultaneously, clicks on mouse and generates corresponding bar code.
Occur after cartoon, Barcode can be schemed by right mouse button or Shift+ right buttons, the realization of Ctrl+ right buttons The rotation of shape and mirror image operation;
Occur after cartoon, the placement operation realized to bar code is clicked by left mouse button in domain, generation bar code Layer uses the layer of the current selection in LSW(Layer).
One of ordinary skill in the art will appreciate that:It the foregoing is only the preferred embodiments of the present invention, and without In the limitation present invention, although the present invention is described in detail with reference to the foregoing embodiments, for those skilled in the art For, it can still be modified to the technical scheme that foregoing embodiments are recorded, or which part technical characteristic is entered Row equivalent substitution.Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., all should be included Within protection scope of the present invention.

Claims (5)

1. a kind of method that bar code is quickly generated in domain, it is characterised in that comprise the following steps:
The parameter setting of user is received, bar code is generated;
Initial code and end code are generated before and after bar code;
Check code is added before the end of bar code, end code;
Generate quiet zone;
By bar code generating into new unit;
Generate the corresponding character of bar code.
2. the method for bar code is quickly generated in domain according to claim 1, it is characterised in that the reception user's Parameter setting, generates bar code, is the input character string set according to user, the width and distance values of wide code, the width of narrow code And spacing, and intercharacter distance, generate corresponding bar code.
3. the method for bar code is quickly generated in domain according to claim 1, it is characterised in that the check code, its Generation method, including:
1)Each character relative value of bar code is added and obtains sum;
2)Gone with radix 43 divided by each character relative value of bar code is added and obtains sum, obtain remainder;
3)Remainder is regarded as the relative value of check code;
4)The corresponding character of the relative value is inquired about as check code.
4. the method for bar code is quickly generated in domain according to claim 1, it is characterised in that the generation bar code Corresponding character, further comprises the steps:Change the font of character;The position of mobile character;Convert characters to figure.
5. the method for bar code is quickly generated in domain according to claim 1, it is characterised in that further comprise rotation The step of bar code angle.
CN201710417551.1A 2017-06-06 2017-06-06 A kind of method that bar code is quickly generated in domain Pending CN107220690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710417551.1A CN107220690A (en) 2017-06-06 2017-06-06 A kind of method that bar code is quickly generated in domain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710417551.1A CN107220690A (en) 2017-06-06 2017-06-06 A kind of method that bar code is quickly generated in domain

Publications (1)

Publication Number Publication Date
CN107220690A true CN107220690A (en) 2017-09-29

Family

ID=59947220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710417551.1A Pending CN107220690A (en) 2017-06-06 2017-06-06 A kind of method that bar code is quickly generated in domain

Country Status (1)

Country Link
CN (1) CN107220690A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540004A (en) * 2009-02-11 2009-09-23 山东大学 Mechanical barcode nameplate
CN103336983A (en) * 2013-06-08 2013-10-02 上海电机学院 Bar-code-based bill generation system and recognition method thereof
US20140001265A1 (en) * 2012-06-29 2014-01-02 Praveen Gopalakrishnan Method and system for decoding small sized barcodes from blurred images
CN205581925U (en) * 2016-04-15 2016-09-14 大连声鹭科技有限公司 Anti -fake bar code label of nested type, anti -fake bar code tag information collector and anti -fake verification system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540004A (en) * 2009-02-11 2009-09-23 山东大学 Mechanical barcode nameplate
US20140001265A1 (en) * 2012-06-29 2014-01-02 Praveen Gopalakrishnan Method and system for decoding small sized barcodes from blurred images
CN103336983A (en) * 2013-06-08 2013-10-02 上海电机学院 Bar-code-based bill generation system and recognition method thereof
CN205581925U (en) * 2016-04-15 2016-09-14 大连声鹭科技有限公司 Anti -fake bar code label of nested type, anti -fake bar code tag information collector and anti -fake verification system

Similar Documents

Publication Publication Date Title
CN108628656A (en) Interface adaptation method, device, computer equipment and storage medium on ios device
US20030099398A1 (en) Character recognition apparatus and character recognition method
CN105183759B (en) A kind of method and device for commenting on picture
CN107122343A (en) A kind of online contract template edit methods and system
CN104866509A (en) Page element positioning method and device
CN110738035A (en) document template generation method and device
WO2019095671A1 (en) Method for making red heading template of red heading file, application server, and computer storage medium
US20090006095A1 (en) Learning to reorder alternates based on a user's personalized vocabulary
CN105549760A (en) Information input method and device
US20170323007A1 (en) Identifier Based Glyph Search
US8248384B2 (en) Touch screen region selecting method
CN101452384B (en) Icon working line display interface and display method thereof
TW200842662A (en) Stroke number input
CN107220690A (en) A kind of method that bar code is quickly generated in domain
CN103605521A (en) Method and device for realizing interface apposition
CN101436309B (en) Method and apparatus for modifying formula operator
CN109656704B (en) Information processing method and information processing device
CN102467376B (en) Modification method and device for character information
CN111144395A (en) Method and device for rapidly inversely labeling characters and graphs based on Cadence skip
CN104345897A (en) Deformed character input method and system
JP4526997B2 (en) Layout editing device, computer program, recording medium
CN109325215A (en) The output method and device of Word text
CN109634711A (en) A kind of Dynamic Configuration of dummy keyboard
CN111596897B (en) Code multiplexing processing method and device and electronic equipment
JP2016206603A (en) Image forming apparatus and image processing program

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170929