CN115320258A - Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes - Google Patents

Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes Download PDF

Info

Publication number
CN115320258A
CN115320258A CN202210947245.XA CN202210947245A CN115320258A CN 115320258 A CN115320258 A CN 115320258A CN 202210947245 A CN202210947245 A CN 202210947245A CN 115320258 A CN115320258 A CN 115320258A
Authority
CN
China
Prior art keywords
dimensional code
circuit board
variable dynamic
board identification
jet printing
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
CN202210947245.XA
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.)
Shenzhen Guoren Light Speed Technology Co ltd
Original Assignee
Shenzhen Guoren Light Speed Technology 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 Shenzhen Guoren Light Speed Technology Co ltd filed Critical Shenzhen Guoren Light Speed Technology Co ltd
Priority to CN202210947245.XA priority Critical patent/CN115320258A/en
Publication of CN115320258A publication Critical patent/CN115320258A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/01Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for special character, e.g. for Chinese characters or barcodes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M5/00Duplicating or marking methods; Sheet materials for use therein
    • B41M5/0041Digital printing on surfaces other than ordinary paper
    • B41M5/0047Digital printing on surfaces other than ordinary paper by ink-jet printing

Abstract

The invention relates to the technical field of circuit board jet printing, in particular to a method and a system for simultaneously jet printing circuit board identification characters and variable dynamic two-dimensional codes, wherein the method comprises the steps of acquiring bitmap files of the circuit board identification characters; generating a variable dynamic two-dimensional code placing frame in the bitmap file; generating a bonding pad with any diameter on any corner point of the variable dynamic two-dimensional code placing frame; outputting the size and position information of the two-dimensional code placement frame; calling a two-dimensional code generator to generate a two-dimensional code picture matched with the size of the two-dimensional code placement frame according to a preset number hopping rule; attaching the two-dimensional code picture to the corresponding position of the bitmap file of the circuit board identification character according to the position information of the two-dimensional code placement frame to obtain a jet printing image; and inputting the jet printing image into jet printing equipment to perform jet printing action so as to obtain a jet printing pattern. The method provided by the invention realizes the integration and one-time jet printing of the fixed characters and the variable characters, and improves the production efficiency.

Description

Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes
Technical Field
The invention relates to the technical field of circuit board jet printing, in particular to a method and a system for simultaneously jet printing circuit board identification characters and variable dynamic two-dimensional codes.
Background
The circuit board identification characters are identification pattern symbols drawn for distinguishing various electronic components by an electronic engineer when designing the integrated circuit board, and are transferred to the surface of the circuit board in a spray printing mode, so that subsequent chip packaging and maintenance are facilitated. The variable dynamic two-dimensional code is unique identity information generated for each unit product through computer control, and is sprayed and printed to the specified position of the circuit board by using printing ink, so that the product can be conveniently and accurately traced in the follow-up process.
In the production process in the prior art, the circuit board identification characters and the variable dynamic two-dimensional codes need to be respectively and independently subjected to jet printing on an ink jet machine and an ink jet printer, so that the production efficiency is low, the color difference of ink is generated, the overprinting precision is deviated, and the like, and the actual production requirement is difficult to meet.
Disclosure of Invention
Therefore, in order to solve the above problems, it is necessary to provide a method and a system for simultaneously spraying and printing a circuit board identification character and a variable dynamic two-dimensional code.
The embodiment of the invention is realized by a method for simultaneously spraying and printing identification characters and variable dynamic two-dimensional codes of a circuit board, wherein the method for simultaneously spraying and printing the identification characters and the variable dynamic two-dimensional codes of the circuit board comprises the following steps:
acquiring a bitmap file of circuit board identification characters;
generating a variable dynamic two-dimensional code placing frame in the obtained bitmap file of the circuit board identification characters;
generating a bonding pad with any diameter on any corner point of the variable dynamic two-dimensional code placing frame;
outputting the size and position information of the two-dimensional code placement frame according to the area where the two-dimensional code placement frame is located and the bonding pad;
calling a two-dimensional code generator to generate a two-dimensional code picture matched with the size of the two-dimensional code placement frame according to a preset number hopping rule;
attaching the two-dimensional code picture to the corresponding position of the bitmap file of the circuit board identification character according to the position information of the two-dimensional code placement frame to obtain a jet printing image;
and inputting the jet printing image into jet printing equipment to perform jet printing action so as to obtain a jet printing pattern.
In one embodiment, the present invention provides a system for simultaneously jet-printing a circuit board identification character and a variable dynamic two-dimensional code, where the system for simultaneously jet-printing the circuit board identification character and the variable dynamic two-dimensional code includes:
computer equipment for executing the steps of the method for simultaneously jet-printing the circuit board identification characters and the variable dynamic two-dimensional codes; and
and the jet printing equipment obtains jet printing patterns by acquiring jet printing images obtained by processing of the computer equipment and executing jet printing operation.
The method comprises the steps of obtaining a bitmap file of circuit board identification characters, generating a variable dynamic two-dimensional code placing frame in a bitmap, generating a bonding pad, transmitting the size and position information of the two-dimensional code placing frame, calling a two-dimensional code generator to generate a two-dimensional code picture, attaching the generated two-dimensional code picture to the two-dimensional code placing frame to obtain a jet printing image, and inputting the obtained jet printing image into jet printing equipment to obtain a jet printing pattern. The method provided by the invention realizes the integration of fixed characters and variable characters and one-time jet printing, improves the production efficiency, and can effectively solve the problems of ink color difference and low overprinting precision caused by jet printing on different equipment.
Drawings
Fig. 1 is a flowchart of a method for simultaneously jet-printing a circuit board identification character and a variable dynamic two-dimensional code according to an embodiment;
FIG. 2 is a bitmap file of circuit board identification characters prior to application of the present invention;
FIG. 3 is a spray printed image obtained using the present invention;
FIG. 4 is a block diagram of a system for simultaneously inkjet printing circuit board identification characters and variable dynamic two-dimensional codes according to an embodiment;
FIG. 5 is a block diagram showing an internal configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present disclosure.
As shown in fig. 1, in an embodiment, a method for simultaneously jet-printing a circuit board identifier character and a variable dynamic two-dimensional code is provided, which specifically includes the following steps:
step S100, acquiring a bitmap file of circuit board identification characters;
step S200, generating a variable dynamic two-dimensional code placing frame in the obtained bitmap file of the circuit board identification character;
step S300, generating a bonding pad with any diameter on any corner point of the variable dynamic two-dimensional code placing frame;
step S400, outputting the size and position information of the two-dimensional code placement frame according to the area where the two-dimensional code placement frame is located and the bonding pad;
step S500, calling a two-dimensional code generator to generate a two-dimensional code picture matched with the size of the two-dimensional code placement frame according to a preset skip number rule;
step S600, attaching the two-dimensional code picture to the corresponding position of the bitmap file of the circuit board identification character according to the position information of the two-dimensional code placement frame to obtain a jet printing image;
and step S700, inputting the jet printing image into jet printing equipment to perform jet printing action so as to obtain a jet printing pattern.
In the present embodiment, the characters of the circuit board are designed by engineers, usually by CAM (Computer Aided Manufacturing) software, and are output to obtain a picture file in a bitmap format. After a bitmap file is obtained, generating at least one placing frame for placing the variable dynamic two-dimensional code in the bitmap, wherein the placing frame is rectangular; generating a pad with a flash attribute at any corner of the generated placing frame, and identifying the angle of the two-dimensional code placing frame through the pad, for example, when the pad is positioned at the lower left corner of the two-dimensional code placing frame, the two-dimensional code placing frame is 0 degree; when the bonding pad is positioned at the upper left corner of the two-dimensional code placing frame, the two-dimensional code placing frame is at-90 degrees; when the bonding pad is positioned at the upper right corner of the two-dimensional code placing frame, the two-dimensional code placing frame is 270 degrees; when the bonding pad is positioned at the lower right corner of the two-dimensional code placing frame, the two-dimensional code placing frame is 180 degrees. It can be understood that the bonding pad only plays a role in marking, and no matter which corner point of the two-dimensional code placing frame is generated, the two-dimensional code placing frame is not changed and is only used for marking the placing angle of the two-dimensional code placing frame.
In this embodiment, the size and position information of the two-dimensional code placement frame are output, where the size information includes a line width, a length, and a width, and the position information at least includes coordinates of a start point and an end point of the two-dimensional code placement frame, where the start point refers to an angular point where the pad is located, and the end point is an opposite angle corresponding to the start point.
In this embodiment, the two-dimensional code is obtained by calling a two-dimensional code generator; and after the two-dimensional code generator generates a two-dimensional code picture, attaching the two-dimensional code picture to a two-dimensional code placing frame to obtain an image for jet printing. And then, transmitting the image for jet printing to jet printing equipment, and executing jet printing action by the jet printing equipment to obtain a jet printing pattern.
The method comprises the steps of obtaining a bitmap file of circuit board identification characters, generating a variable dynamic two-dimensional code placing frame in a bitmap, generating a bonding pad, transmitting the size and position information of the two-dimensional code placing frame, calling a two-dimensional code generator to generate a two-dimensional code picture, attaching the generated two-dimensional code picture to the two-dimensional code placing frame to obtain a jet printing image, and inputting the obtained jet printing image into jet printing equipment to obtain a jet printing pattern. The method provided by the invention realizes the integration of fixed characters and variable characters and one-time jet printing, improves the production efficiency, and can effectively solve the problems of ink color difference and low overprinting precision caused by jet printing on different equipment; as shown in fig. 2 and 3, the images before and after the application of the present invention are shown.
As a preferred solution of the embodiment of the present invention, the generating a variable dynamic two-dimensional code placement frame in the obtained bitmap file of the circuit board identification character includes:
determining a placement area in the obtained bitmap file of the circuit board identification characters;
determining a starting point and an end point of a variable dynamic two-dimensional code placing frame in a placing area;
generating a variable dynamic two-dimensional code placement frame according to the determined starting point and the determined end point;
endowing different line widths for different variable dynamic two-dimensional code placing frames;
setting a bonding pad with Flash attributes at the starting point of the variable dynamic two-dimensional code placing frame to identify the angle of the variable dynamic two-dimensional code placing frame;
and deriving the linear code number, the coordinates of the starting point and the ending point and the angle of the variable dynamic two-dimensional code placing frame.
In this embodiment, by determining the placement area, the variable dynamic two-dimensional code can be prevented from being attached to the bitmap and then overlapping with the original circuit board identification characters, so that the layout of the information is clear and complete.
In this embodiment, the start point and the end point of the variable dynamic two-dimensional code placement frame are both located in the placement area.
In this embodiment, when the variable dynamic two-dimensional code placement frame may be limited to a rectangle in the horizontal or vertical direction, the variable dynamic two-dimensional code placement frame may be uniquely determined by the start point and the end point at this time.
In the embodiment, different rectangles are distinguished by endowing different variable dynamic two-dimensional code placing frames with different line widths
As a preferable solution of the embodiment of the present invention, the size of the two-dimensional code placement frame includes a line width, a frame length, a frame width, and a frame angle.
In this embodiment, the two-dimensional code placement frame of a unique shape can be defined by the size of the two-dimensional code placement frame.
As a preferable solution of the embodiment of the present invention, the variable dynamic two-dimensional code includes a dynamic serial number, the dynamic serial number is equal to the number of the variable information placing frames having the first line width, and the number hopping rule is set to increase with the number of the variable information placing frames having the first line width;
the serial number is matched with the number of the variable information placing frames with the second line width, and the skip number rule is set to be that the serial number is added with 1 after the number of the variable information placing frames with the second line width reaches one batch quantity;
the cycle matches the system time, with the skip number rule set to 24 per day of the week: 00 cycles plus 1.
In the embodiment, the dynamically generated variable information can be automatically changed according to the product batch, the production time, the production quantity and the like through the rules, manual operation is not needed, information errors caused by misoperation are avoided, meanwhile, personnel are not needed to track the change of the information, and automatic adjustment of the information is realized.
As a preferred solution of the embodiment of the present invention, the generating a variable dynamic two-dimensional code placement frame in the obtained bitmap file of the circuit board identification character includes:
identifying a placement area of the obtained bitmap file of the circuit board identification characters;
determining a largest continuous area in the identified placement area;
determining the central point of the variable dynamic two-dimensional code placing frame in the determined maximum continuous area;
and generating the variable dynamic two-dimensional code placing frame according to the determined central point of the variable dynamic two-dimensional code placing frame and the preset size of the placing frame.
In this embodiment, the placement area is not overlapped with the original circuit board identification characters, i.e., the blank area of the pattern. In this embodiment, because the circuit board identification character is divided, the placement area is usually discontinuous, and the placement area with the largest area is found through the algorithm, so that the placement of the variable dynamic two-dimensional code can be facilitated, and the size of the variable dynamic two-dimensional code is not limited too much (the two-dimensional code is identified by code scanning equipment when in use, so that the two-dimensional code cannot be too small to cause identification difficulty).
In this embodiment, the size of the movable dynamic two-dimensional code can be set when the movable dynamic two-dimensional code is generated, so as to be matched with the variable dynamic two-dimensional code placement frame.
As a preferable solution of the embodiment of the present invention, the identifying the obtained placement area of the bitmap file of the circuit board identification character includes:
selecting an identification window, and for any pixel, when the pixel is overlapped with the central pixel of the identification window, if the pixel is the foreground color of the bitmap, marking all pixels covered by the identification window as excluded pixels;
moving the recognition window to traverse all pixels of the bitmap, determining all excluded pixels;
and determining a placement area in the bitmap file of the circuit board identification character according to the determined excluded pixels.
In this embodiment, optionally, the recognition window may be selected as n × n pixels, that is, n pixels wide and n pixels long, where n is an odd number, and (n-1)/2 is a distance between the set placement area and the circuit board identification character. In this embodiment, through the above steps, the excluded pixels can be quickly found, and the found excluded pixels are excluded from the placement area.
As a preferable aspect of the embodiment of the present invention, the determining the largest continuous area in the identified placement areas includes:
randomly selecting a background pixel in the identified placing area, and determining all adjacent pixels to obtain an adjacent area by taking the selected background pixel as a starting point according to whether a common edge exists or not;
repeating the previous step until all background pixels are divided into one adjacent region to obtain at least one adjacent region;
determining the diagonal length and the included angle of the two-dimension code placement frame according to the size of the given two-dimension code placement frame;
generating and moving a diagonal line of the two-dimensional code placement frame in each adjacent area;
when the diagonal line of the two-dimensional code placement frame is completely positioned in the adjacent area, the two ends of each diagonal line are extended in equal proportion, and the product of the lengths of the two diagonal lines is calculated;
and for each adjacent area, taking the maximum value of the obtained diagonal length product as an evaluation value, and determining the maximum adjacent area according to the evaluation value.
In this embodiment, a neighboring region is obtained by determining all neighboring pixels according to whether the pixels have a common edge, and it can be understood that, for example, for sequentially neighboring pixels 1, 2, and 3, pixel 1 and pixel 2 have a common edge, and pixel 2 and pixel 3 also have a common edge, then pixels 1, 2, and 3 form a small neighboring region.
In this embodiment, by generating and moving the diagonal line of the two-dimensional code placement frame and by determining whether the diagonal line is completely located in the adjacent area, it can be determined whether the adjacent area can accommodate the two-dimensional code placement frame. When the two-dimensional code placing frame is completely positioned in the adjacent area, the length of the diagonal line of the two-dimensional code placing frame is extended in an equal proportion until any one of four corner points of the two diagonal lines is intersected with the edge of the adjacent area, the product of the lengths of the diagonal lines is used as an evaluation value, and the adjacent area with the largest evaluation value is selected to place the two-dimensional code placing frame.
As shown in fig. 4, an embodiment of the present invention further provides a system for simultaneously jet-printing a circuit board identifier character and a variable dynamic two-dimensional code, where the system for simultaneously jet-printing the circuit board identifier character and the variable dynamic two-dimensional code includes:
computer equipment for executing the steps of the method for simultaneously jet-printing the circuit board identification characters and the variable dynamic two-dimensional codes according to any one or more embodiments of the invention; and
and the jet printing equipment obtains jet printing patterns by acquiring jet printing images obtained by processing of the computer equipment and executing jet printing operation.
In this embodiment, the present invention is not limited to the specific structure and form of the jet printing apparatus, and the present invention is to transmit the image processed by the computer apparatus to the jet printing apparatus, and the jet printing apparatus executes the jet printing operation to obtain the corresponding pattern.
The system provided by the invention obtains the bitmap file of the circuit board identification character, generates the variable dynamic two-dimensional code placing frame in the bitmap, generates the bonding pad, transmits the size and the position information of the two-dimensional code placing frame, calls the two-dimensional code generator to generate the two-dimensional code picture, attaches the generated two-dimensional code picture to the two-dimensional code placing frame to obtain the jet printing image, and inputs the obtained jet printing image into jet printing equipment to obtain the jet printing pattern. The method provided by the invention realizes the integration of fixed characters and variable characters and one-time jet printing, improves the production efficiency, and can effectively solve the problems of ink color difference and low overprinting precision caused by jet printing on different equipment.
FIG. 5 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may be specifically a system applied to the simultaneous jet printing of the circuit board identification characters and the variable dynamic two-dimensional code shown in fig. 4. As shown in fig. 5, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by the processor, the processor can realize the method for simultaneously spraying and printing the circuit board identification characters and the variable dynamic two-dimensional codes provided by the embodiment of the invention. The internal memory can also store a computer program, and when the computer program is executed by the processor, the processor can execute the method for simultaneously spraying and printing the circuit board identification characters and the variable dynamic two-dimensional code provided by the embodiment of the invention. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is proposed, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a bitmap file of circuit board identification characters;
generating a variable dynamic two-dimensional code placing frame in the obtained bitmap file of the circuit board identification characters;
generating a bonding pad with any diameter on any corner point of the variable dynamic two-dimensional code placing frame;
outputting the size and position information of the two-dimensional code placement frame according to the area where the two-dimensional code placement frame is located and the bonding pad;
calling a two-dimensional code generator to generate a two-dimensional code picture matched with the size of the two-dimensional code placement frame according to a preset number hopping rule;
attaching the two-dimensional code picture to the corresponding position of the bitmap file of the circuit board identification character according to the position information of the two-dimensional code placement frame to obtain a jet printing image;
and inputting the jet printing image into jet printing equipment to perform jet printing action so as to obtain a jet printing pattern.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of:
acquiring a bitmap file of circuit board identification characters;
generating a variable dynamic two-dimensional code placing frame in the obtained bitmap file of the circuit board identification characters;
generating a bonding pad with any diameter on any corner point of the variable dynamic two-dimensional code placing frame;
outputting the size and position information of the two-dimensional code placement frame according to the area where the two-dimensional code placement frame is located and the bonding pad;
calling a two-dimensional code generator to generate a two-dimensional code picture matched with the size of the two-dimensional code placement frame according to a preset number hopping rule;
attaching the two-dimensional code picture to the corresponding position of the bitmap file of the circuit board identification character according to the position information of the two-dimensional code placement frame to obtain a jet printing image;
and inputting the jet printing image into jet printing equipment to perform jet printing action so as to obtain a jet printing pattern.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, databases or other media used in the embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A method for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes is characterized by comprising the following steps:
acquiring a bitmap file of circuit board identification characters;
generating a variable dynamic two-dimensional code placing frame in the obtained bitmap file of the circuit board identification characters;
generating a bonding pad with any diameter on any corner point of the variable dynamic two-dimensional code placing frame;
outputting the size and position information of the two-dimensional code placement frame according to the area where the two-dimensional code placement frame is located and the bonding pad;
calling a two-dimensional code generator to generate a two-dimensional code picture matched with the size of the two-dimensional code placement frame according to a preset number hopping rule;
attaching the two-dimensional code picture to the corresponding position of the bitmap file of the circuit board identification character according to the position information of the two-dimensional code placement frame to obtain a jet printing image;
and inputting the jet printing image into jet printing equipment to perform jet printing action so as to obtain a jet printing pattern.
2. The method for simultaneously jet-printing the circuit board identification character and the variable dynamic two-dimensional code according to claim 1, wherein the step of generating the variable dynamic two-dimensional code placement frame in the obtained bitmap file of the circuit board identification character comprises the following steps:
determining a placement area in the obtained bitmap file of the circuit board identification characters;
determining a starting point and an end point of a variable dynamic two-dimensional code placing frame in a placing area;
generating a variable dynamic two-dimensional code placement frame according to the determined starting point and the determined end point;
endowing different line widths for different variable dynamic two-dimensional code placing frames;
setting a bonding pad with Flash attributes at the starting point of the variable dynamic two-dimensional code placing frame to identify the angle of the variable dynamic two-dimensional code placing frame;
and deriving the linear code number, the coordinates of the starting point and the ending point and the angle of the variable dynamic two-dimensional code placing frame.
3. The method for simultaneously jet-printing circuit board identification characters and variable dynamic two-dimensional codes according to claim 1, wherein the dimensions of the two-dimensional code placement frame include line width, frame length, frame width, and frame angle.
4. The method for simultaneously jet-printing circuit board identification characters and variable dynamic two-dimensional codes according to claim 2 or 3, wherein the variable dynamic two-dimensional codes comprise dynamic serial numbers, the dynamic serial numbers are equal to the number of the variable information placement frames with the first line width, and the number hopping rule of the dynamic serial numbers is set to increase along with the number of the variable information placement frames with the first line width;
the serial number is matched with the number of the variable information placing frames with the second line width, and the number hopping rule is set to be that the serial number is added with 1 after the number of the variable information placing frames with the second line width reaches one batch quantity;
the cycle matches the system time, with the skip number rule set to 24 per day of the week: 00 cycles plus 1.
5. The method for simultaneously jet-printing the circuit board identification character and the variable dynamic two-dimensional code according to claim 1, wherein the step of generating the variable dynamic two-dimensional code placement frame in the obtained bitmap file of the circuit board identification character comprises the following steps:
identifying a placement area of the obtained bitmap file of the circuit board identification characters;
determining a largest continuous area in the identified placement area;
determining the central point of the variable dynamic two-dimensional code placing frame in the determined maximum continuous area;
and generating the variable dynamic two-dimensional code placing frame according to the determined central point of the variable dynamic two-dimensional code placing frame and the preset size of the placing frame.
6. The method for simultaneously jet-printing circuit board identification characters and variable dynamic two-dimensional codes according to claim 5, wherein the step of identifying the obtained placement area of the bitmap file of the circuit board identification characters comprises the following steps:
selecting an identification window, and for any pixel, when the pixel is overlapped with the central pixel of the identification window, if the pixel is the foreground color of the bitmap, marking all pixels covered by the identification window as excluded pixels;
moving the recognition window to traverse all pixels of the bitmap, determining all excluded pixels;
and determining a placement area in the bitmap file of the circuit board identification character according to the determined excluded pixels.
7. The method for simultaneously jet-printing circuit board identification characters and variable dynamic two-dimensional codes according to claim 5, wherein the step of determining the largest continuous area in the identified placement area comprises the steps of:
randomly selecting a background pixel in the identified placing area, and determining all adjacent pixels to obtain an adjacent area by taking the selected background pixel as a starting point according to whether a common edge exists or not;
repeating the previous step until all background pixels are divided into one adjacent region to obtain at least one adjacent region;
determining the diagonal length and the included angle of the two-dimensional code placing frame according to the size of the given two-dimensional code placing frame;
generating and moving a diagonal line of the two-dimensional code placement frame in each adjacent area;
when the diagonal line of the two-dimensional code placing frame is completely positioned in the adjacent area, the two ends of each diagonal line are extended in equal proportion, and the product of the lengths of the two diagonal lines is calculated;
and for each adjacent area, taking the maximum value of the obtained diagonal length product as an evaluation value, and determining the maximum adjacent area according to the evaluation value.
8. The utility model provides a system for circuit board identification character and variable dynamic two-dimensional code spout seal simultaneously which characterized in that, the system that circuit board identification character and variable dynamic two-dimensional code spout seal simultaneously includes:
computer equipment for executing the steps of the method for simultaneously jet-printing circuit board identification characters and variable dynamic two-dimensional codes according to any one of claims 1 to 7; and
and the jet printing equipment obtains jet printing patterns by acquiring jet printing images obtained by processing of the computer equipment and executing jet printing operation.
CN202210947245.XA 2022-08-09 2022-08-09 Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes Pending CN115320258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210947245.XA CN115320258A (en) 2022-08-09 2022-08-09 Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210947245.XA CN115320258A (en) 2022-08-09 2022-08-09 Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes

Publications (1)

Publication Number Publication Date
CN115320258A true CN115320258A (en) 2022-11-11

Family

ID=83921296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210947245.XA Pending CN115320258A (en) 2022-08-09 2022-08-09 Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes

Country Status (1)

Country Link
CN (1) CN115320258A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339180A (en) * 2004-05-26 2005-12-08 Matsushita Electric Works Ltd Image processing method
CN101359360A (en) * 2008-07-31 2009-02-04 刘旭 Graphics context fused electronic ticket coding/decoding method
WO2022007431A1 (en) * 2020-07-07 2022-01-13 广东奥普特科技股份有限公司 Positioning method for micro qr two-dimensional code
CN114723749A (en) * 2022-06-06 2022-07-08 深圳市国人光速科技有限公司 Image processing method and device for improving definition of jet printing characters and jet printing equipment
CN114819025A (en) * 2022-06-28 2022-07-29 深圳市国人光速科技有限公司 Ink jet image generating method, device and computer containing multiple variable information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339180A (en) * 2004-05-26 2005-12-08 Matsushita Electric Works Ltd Image processing method
CN101359360A (en) * 2008-07-31 2009-02-04 刘旭 Graphics context fused electronic ticket coding/decoding method
WO2022007431A1 (en) * 2020-07-07 2022-01-13 广东奥普特科技股份有限公司 Positioning method for micro qr two-dimensional code
CN114723749A (en) * 2022-06-06 2022-07-08 深圳市国人光速科技有限公司 Image processing method and device for improving definition of jet printing characters and jet printing equipment
CN114819025A (en) * 2022-06-28 2022-07-29 深圳市国人光速科技有限公司 Ink jet image generating method, device and computer containing multiple variable information

Similar Documents

Publication Publication Date Title
CN109408001B (en) Multi-model 3D printing method and device, 3D printing equipment and storage medium
JPH0772861B2 (en) Program creation device
CN111626280A (en) Method and device for identifying answer sheet without positioning point
CN111008559A (en) Typesetting method and system of bill recognition result and computer equipment
CN112149561A (en) Image processing method and apparatus, electronic device, and storage medium
CN115320258A (en) Method and system for simultaneously spraying and printing circuit board identification characters and variable dynamic two-dimensional codes
CN114819025B (en) Ink jet image generating method and device containing multiple variable information and computer
CN114723749B (en) Image processing method and device for improving definition of jet printing characters and jet printing equipment
CN113096043A (en) Image processing method and device, electronic equipment and storage medium
CN115249362B (en) OCR table recognition method and system based on connectivity of pixels in stable direction
CN114782587B (en) Jet printing image processing method and jet printing system for solving jet printing linear step pixel
CN114494052A (en) Book counting method and device, computer equipment and storage medium
CN108394178A (en) Image forming apparatus and image formation system
US7451430B2 (en) Apparatus and method for generating transistor model
US11951756B2 (en) Printing apparatus and printing method
WO2015111257A1 (en) Optical recognition code reading device, optical recognition code reading method, program, and optical recognition code
JP2003099771A (en) Data converter, its method, and program using it
US5579460A (en) Paint-out method and apparatus
CN110275686B (en) Method, device and equipment for controlling typesetting interval of multiple printing images and storage medium
CN116469105A (en) Image recognition method, device, computer equipment and computer readable storage medium
JPS61208181A (en) Extracting device for contour
JP2007249580A (en) Image processor, image processing program and image processing method
CN112580501A (en) Frame number image generation method and device, computer equipment and storage medium
JP2593484B2 (en) Pattern writing method for bitmap memory
JP2938915B2 (en) Pattern processing method

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