CN112987673B - Method and system for producing visual card - Google Patents
Method and system for producing visual card Download PDFInfo
- Publication number
- CN112987673B CN112987673B CN202110433168.1A CN202110433168A CN112987673B CN 112987673 B CN112987673 B CN 112987673B CN 202110433168 A CN202110433168 A CN 202110433168A CN 112987673 B CN112987673 B CN 112987673B
- Authority
- CN
- China
- Prior art keywords
- detection
- card
- token number
- token
- seed
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000000007 visual effect Effects 0.000 title claims abstract description 32
- 238000001514 detection method Methods 0.000 claims abstract description 614
- 238000004519 manufacturing process Methods 0.000 claims abstract description 79
- 238000004891 communication Methods 0.000 claims abstract description 40
- 230000005540 biological transmission Effects 0.000 claims abstract description 26
- 238000003860 storage Methods 0.000 claims description 23
- 238000012015 optical character recognition Methods 0.000 claims description 4
- 239000003550 marker Substances 0.000 claims description 2
- 238000010521 absorption reaction Methods 0.000 claims 1
- 238000002360 preparation method Methods 0.000 description 22
- 230000001502 supplementing effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000007306 turnover Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 235000012054 meals Nutrition 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/41865—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32252—Scheduling production, machining, job shop
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Automation & Control Theory (AREA)
- Theoretical Computer Science (AREA)
- General Factory Administration (AREA)
Abstract
The invention discloses a method and a system for producing a visual card, and relates to the field of card production. The system comprises a first client, a server, an industrial control device, a conveying device, a card issuing device, a number burning device, a first detection device, a number carving device, a second detection device, a third detection device and a seed burning device, wherein the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device are sequentially arranged along the conveying device; the seed burning device comprises a first seed burning module and a second seed burning module; the server establishes communication connection with the first client, the first detection device, the second detection device, the third detection device and the seed burning sub-device, and the industrial control device establishes communication connection with the transmission device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning sub-device. The automatic control of each production process is realized to produce the cards and quickly and accurately reject the unqualified cards.
Description
Technical Field
The invention relates to the field of card production, in particular to a method and a system for producing a visual card.
Background
With the development of science and technology, smart cards are rich in aspects of life, access control cards issued by hotels, work cards issued by companies for employees, financial cards such as savings cards and credit cards issued by banks, traffic cards used by public transportation, meal cards used by students in canteens, membership cards handled by stores for consumers, medical social security cards issued by social security institutions and the like, and the life of modern people can be said to be difficult to go a little after leaving the cards, so that the strong demand of people on the smart cards can be met only by carrying out large-scale industrial production on the cards.
With the development of technology, visual cards that have increased display technologies such as electronic paper are being increasingly used. When the visible card is produced, a token number needs to be distributed to the visible card, the token number is inscribed on the surface of the card on one hand and used for distinguishing the card, and on the other hand, the token number is also burnt into the card and used for subsequent operation. In producing cards that generate dynamic passwords, it is also necessary to write the seeds required to generate the dynamic password into the card. In the prior art, the process of card production often needs the process of artificially controlling to burn and write the token number, to write the token number and to burn and write the seed, and because of reasons such as non-connection information failure, laser burning failure, the token number often appears and burns and write the failure, the unqualified card of burning and writing failure and seed burning and writing failure, often also need the manual work to select unqualified card this time, the process of above-mentioned manual control and manual screening has not only increased the cost of labor of producing the card, also makes the process of producing the card consuming time overlength, is unfavorable for the volume production of card.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides a method and a system for producing a visual card.
In a first aspect, the present invention provides a system for producing a visual card, comprising: the method comprises the following steps: the system comprises a first client, a server, an industrial control device, a conveying device, a card issuing device, a number burning device, a first detection device, a number engraving device, a second detection device, a third detection device and a seed burning device, wherein the card issuing device, the number burning device, the first detection device, the number engraving device, the second detection device, the third detection device and the seed burning device are sequentially arranged along the conveying device; the seed burning device comprises a first seed burning module and a second seed burning module;
the server establishes communication connection with the first client, the first detection device, the second detection device, the third detection device and the seed burning device;
the first client establishes communication connection with the server, the number burning device, the first detection device and the seed burning device;
the industrial control device establishes communication connection with the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device, and is used for controlling the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device to work cooperatively;
the card issuing device is in communication connection with the industrial control device;
the number burning device, the industrial control device and the first client side are all in communication connection;
the first detection device establishes communication connection with the industrial control device, the first client, the number carving device and the server;
the number carving device is in communication connection with the industrial control device, the first detection device and the second detection device;
the second detection device establishes communication connection with the industrial control device, the number carving device, the third detection device and the server;
the third detection device establishes communication connection with the industrial control device, the second detection device and the server;
the seed burning device is in communication connection with the industrial control device, the first client and the server;
the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and stations where the first seed burning module is located are sequentially arranged on the conveying device.
In a second aspect, the present invention provides a method for producing a visual card, comprising the steps of:
step 101: the industrial control device respectively sends working instructions to the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, and starts a first counter;
step 102: the card sending device receives a working instruction sent by the industrial control device, absorbs a card from the first card box, places the card on a station where the card sending device is located, and returns a work completion response to the industrial control device;
the number burning device receives a working instruction sent by the industrial control device, obtains a token to be burned from a server through a first client, burns and writes the obtained token to be burned into a card on a station where the number burning device is located, lights a screen of the card, and returns a work completion response to the industrial control device;
the first detection device receives a work instruction sent by the industrial control device, obtains a token number which is obtained by the first client from a server latest by the first client to the first client, reads the token number from a card on a station where the first detection device is located, determines a non-connection detection result by comparing the token number obtained by the first client with the token number read from the card, correspondingly stores the non-connection detection result and the token number obtained from the first client and sends the non-connection detection result and the token number to the server for corresponding storage, sends the token number obtained from the first client to the number carving device if the non-connection detection result is successful, returns a work completion response to the industrial control device, executes a card rejecting operation if the non-connection detection result is failed, and returns a work completion response to the industrial control device;
the number carving device receives a working instruction sent by the industrial control device, obtains a latest stored token number in a first preset list, writes the token number on a card of a station where the number carving device is located, sends the token number to the second detection device, and returns a work completion response to the industrial control device;
the second detection device receives a work instruction sent by the industrial control device, obtains a latest stored token number in a second preset list, scans the token number on a card on a station where the second detection device is located, determines a signature detection result by comparing the scanned token number with the obtained latest stored token number, correspondingly stores the signature detection result and the obtained latest stored token number and sends the latest stored token number to the server for corresponding storage, if the signature detection result is successful, the card on the station where the second detection device is located is turned over, the obtained latest stored token number is sent to the third detection device, a work completion response is returned to the industrial control device, if the signature detection result is failed, a card removal operation is executed, and a work completion response is returned to the industrial control device;
the third detection device receives a work instruction sent by the industrial control device, acquires a latest stored token number in a third preset list, detects a screen of a card on a station where the third detection device is located, correspondingly stores a screen detection result and the acquired latest stored token number and sends the screen detection result and the acquired latest stored token number to the server for corresponding storage, if the screen detection result is successful, a work completion response is returned to the industrial control device, and if the screen detection result is failed, a card removal operation is executed, and a work completion response is returned to the industrial control device;
step 103: the industrial control device receives work completion responses returned by the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, judges whether the count value of the first counter reaches a preset value, if so, executes step 107, otherwise, executes step 104;
step 104: the industrial control device sends a working instruction to the transmission device;
step 105: the transmission device receives a working instruction sent by the industrial control device, moves a preset step length according to a preset path, and returns a working completion response to the industrial control device;
step 106: the industrial control device receives a work completion response sent by the transmission device, updates the count value of the first counter, and returns to the step 101;
step 107: the industrial control device inquires the working state information of the seed burning sub-device, resets the count value of the first counter to an initial value when the working state information of the seed burning sub-device is inquired to be idle information, and sends a working instruction to the seed burning sub-device;
step 108: the seed burning device receives a working instruction sent by the industrial control device, moves a card on a station where the first seed burning module is located to a station where the second seed burning module is located, sets working state information as busy information, returns a work completion response to the industrial control device, and executes step 109;
step 109: the industrial control device receives a work completion response returned by the seed burning device, and step 104 is executed;
in the method, after the seed burning device sets the working state information as busy information, the method further comprises the following steps:
step 110: the seed burning device reads a token number from a card on a station where the second seed burning sub-module is located, obtains a seed to be burned from the server through the first client according to the read token number, and burns the obtained seed to be burned into the card on the station where the second seed burning sub-module is located;
step 111: the seed burning device reads seeds from a card on a station where the second seed burning sub-module is located, determines a seed detection result by comparing the read seeds with the seeds obtained through the first client, correspondingly stores the seed detection result and a token number read from the card and sends the stored result and the token number to the server for corresponding storage, if the seed detection result is successful, step 112 is executed, and if the seed detection result is failed, a card removing operation is executed, step 112 is executed;
step 112: the seed burning device collects cards on the station where the second seed burning sub-module is located, and sets the working state information as idle information;
the method further comprises the following steps: the number carving device receives the token number sent by the first detection device and stores the received token number to a first preset list;
the second detection device receives the token number sent by the number carving device and stores the received token number into a second preset list;
and the third detection device receives the token number sent by the second detection device and stores the received token number to a third preset list.
Compared with the prior art, the invention at least has the following advantages: the invention provides a method and a system for producing a visual card, wherein the system provided by the invention can automatically control each production process to produce the card, and the method provided by the invention can quickly and accurately eliminate unqualified cards, thereby saving the labor cost and improving the production efficiency of the visual card.
Drawings
Fig. 1 is a block diagram of a system for producing a visual card according to embodiment 1 of the present invention;
fig. 2 is a card supplementing flow chart in a method for producing a visual card according to embodiment 4 of the present invention;
fig. 3 is a flowchart of the work of the industrial control device in the method for producing the visual card according to embodiment 5 of the present invention;
fig. 4 is a flowchart illustrating the operation of the transport apparatus in the method for producing a visual card according to embodiment 5 of the present invention;
fig. 5 is a flowchart illustrating the operation of the card issuing device in the method for producing a visual card according to embodiment 5 of the present invention;
fig. 6 is a flowchart illustrating the operation of a number burning apparatus in a method for producing a visible card according to embodiment 5 of the present invention;
fig. 7 is a flowchart illustrating the operation of the first detecting device in the method for producing a visual card according to embodiment 5 of the present invention;
fig. 8 is a flowchart illustrating the operation of the number engraving device in the method for producing a visual card according to embodiment 5 of the present invention;
fig. 9 is a flowchart illustrating the operation of the second detecting means in the method for producing a visual card according to embodiment 5 of the present invention;
fig. 10 is a flowchart illustrating the operation of the third detecting device in the method for producing a visual card according to embodiment 5 of the present invention;
fig. 11 is a flowchart illustrating the operation of a seed burning device in the method for producing a visual card according to embodiment 5 of the present invention;
fig. 12 is a flowchart illustrating a first client in a method for producing a video card according to embodiment 5 of the present invention;
fig. 13 is a flowchart of the operation of the server in the method for producing a visual card according to embodiment 5 of the present invention.
Detailed Description
The present application provides a method and system for producing a visual card, and the following detailed description of embodiments of the present application is provided with reference to the accompanying drawings. Examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings.
Example 1
The embodiment provides a system for producing a visible card, as shown in fig. 1, which includes a first client 20, a server 30, an industrial control device 109, a conveying device 101, and a card issuing device 102, a number burning device 103, a first detecting device 104, a number engraving device 105, a second detecting device 106, a third detecting device 107 and a seed burning sub-device 108, which are arranged along the conveying device 101 in sequence and correspond to a card production process; the seed burning device 108 comprises a first seed burning module 1081 and a second seed burning module 1082;
the server 30 establishes communication connection with the first client 20, the first detection device 104, the second detection device 106, the third detection device 107 and the seed burning sub-device 108;
the first client 20 establishes communication connection with the server 30, the number burning device 103, the first detection device 104 and the seed burning sub-device 108;
the industrial control device 109 establishes communication connection with the transmission device 101, the card issuing device 102, the number burning device 103, the first detection device 104, the number carving device 105, the second detection device 106, the third detection device 107 and the seed burning sub-device 108, and is used for controlling the transmission device 101, the card issuing device 102, the number burning device 103, the first detection device 104, the number carving device 105, the second detection device 106, the third detection device 107 and the seed burning sub-device 108 to work cooperatively;
the card issuing device 102 establishes communication connection with the industrial control device 109;
the number burning device 103 establishes communication connection with both the industrial control device 109 and the first client 20;
the first detection device 104 and the industrial control device 109, the first client 20, the number carving device 105 and the server 30 are all in communication connection;
the number carving device 105, the industrial control device 109, the first detection device 104 and the second detection device 106 are all in communication connection;
the second detection device 106 establishes communication connection with the industrial control device 109, the number carving device 105, the third detection device 107 and the server 30;
the third detection device 107 establishes communication connection with the industrial control device 109, the second detection device 106 and the server 30;
the seed burning device 108 establishes communication connection with the industrial control device 109, the first client 20 and the server 30;
stations A, B, C, D, E, F and G where the card issuing device 102, the number burning device 103, the first detecting device 104, the number engraving device 105, the second detecting device 106, the third detecting device 107 and the first seed burning module 1081 are located are sequentially arranged on the conveying device 101;
the second seed burning sub-module 1082 is disposed at one side of the conveying device 101, corresponding to the first seed burning module 1081.
Optionally, in this embodiment, the card issuing device 102, the number burning device 103, the first detecting device 104, the number carving device 105, the second detecting device 106, the third detecting device 107, and the seed burning device 108 are all provided with an infrared camera for detecting whether a card exists on a station where each device is located.
Optionally, in this embodiment, the card issuing device 102 is provided with a first mechanical arm, and a first suction structure is installed at one end of the first mechanical arm; the first mechanical arm sucks the cards in the first card box through the first sucking structure and places the cards on a station where the card issuing device 102 is located; the first card box is positioned on one side of a station where the card issuing device is positioned;
a second mechanical arm is arranged on the second detection device 106, and a second suction structure is arranged at one end of the second mechanical arm; the second mechanical arm sucks the card on the station where the second detection device 106 is located through the second sucking structure and turns the card through the second mechanical arm;
the first seed burning module 1081 is provided with a plurality of third mechanical arms, one end of each third mechanical arm is provided with a third suction structure, and the third mechanical arms move the cards on the station where the first seed burning module 1081 is located to the first station where the second seed burning module 1082 is located through the third suction structures;
the second burns kind of sub-module 1082 and installs a plurality of fourth arm, and the fourth structure of absorbing is all installed to the one end of every fourth arm, and the fourth arm absorbs the structure through the fourth and removes the second card of burning kind of sub-module 1082 on the station to the second station that the second burns kind of sub-module 1082 and belongs to.
Optionally, in this embodiment, the marking device 105 includes a laser marker.
Optionally, in this embodiment, the second detecting device 106 includes a first optical character recognition machine, configured to scan a token number on a card on a station where the second detecting device 106 is located;
the third detection device 107 comprises a second optical character recognition machine for scanning the content of the screen display of the card on the station where the third detection device 107 is located.
The embodiment provides a system for producing a visual card, which can automatically control each production process to produce the card, save labor cost and improve the production efficiency of the visual card.
Example 2
The embodiment provides a method for producing a visible card, which is suitable for a system comprising a conveying device, a card issuing device, a number burning device, a first detection device, a number engraving device, a second detection device, a third detection device, a seed burning device, an industrial control device, a first client and a server, and comprises the following steps:
step 101: the industrial control device respectively sends working instructions to the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, and starts a first counter;
step 102: the card sending device receives a working instruction sent by the industrial control device, absorbs the card from the first card box, places the card on a station where the card sending device is located, and returns a work completion response to the industrial control device;
the number burning device receives a working instruction sent by the industrial control device, obtains a token to be burned from the server through the first client, burns the obtained token to be burned into a card on a station where the number burning device is located, lights a screen of the card, and returns a work completion response to the industrial control device;
the first detection device receives a work instruction sent by the industrial control device, obtains a token number which is obtained by the first client from the server latest to the first client, reads the token number from a card on a station where the first detection device is located, determines a non-connection detection result by comparing the token number obtained from the first client with the token number read from the card, correspondingly stores the non-connection detection result and the token number obtained from the first client and sends the non-connection detection result and the token number to the server for corresponding storage, if the non-connection detection result is successful, the token number obtained from the first client is sent to the number carving device, returns a work completion response to the industrial control device, if the non-connection detection result is failed, the card removal operation is executed, and a work completion response is returned to the industrial control device;
the number carving device receives a working instruction sent by the industrial control device, obtains a latest stored token number in a first preset list, writes the token number on a card of a station where the number carving device is located, sends the token number to the second detection device, and returns a work completion response to the industrial control device;
the second detection device receives a working instruction sent by the industrial control device, acquires a latest stored token number in a second preset list, scans the token number on the card on a station where the second detection device is located, determines a signature detection result by comparing the scanned token number with the acquired latest stored token number, correspondingly stores the signature detection result and the acquired latest stored token number and sends the latest stored token number to a server for corresponding storage, if the signature detection result is successful, the card on the station where the second detection device is located is turned over, the acquired latest stored token number is sent to a third detection device, a work completion response is returned to the industrial control device, if the signature detection result is failed, a card removal operation is executed, and a work completion response is returned to the industrial control device;
the third detection device receives a work instruction sent by the industrial control device, acquires a latest stored token number in a third preset list, detects a screen of a card on a station where the third detection device is located, correspondingly stores a screen detection result and the acquired latest stored token number and sends the latest stored token number to the server for corresponding storage, if the screen detection result is successful, a work completion response is returned to the industrial control device, and if the screen detection result is failed, a card removal operation is executed, and a work completion response is returned to the industrial control device;
step 103: the industrial control device receives work completion responses returned by the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, judges whether the count value of the first counter reaches a preset value, if so, executes step 107, otherwise, executes step 104;
step 104: the industrial control device sends a work instruction to the transmission device;
step 105: the transmission device receives a working instruction sent by the industrial control device, moves a preset step length according to a preset path, and returns a working completion response to the industrial control device;
step 106: the industrial control device receives a work completion response sent by the transmission device, updates the count value of the first counter, and returns to the step 101;
step 107: the industrial control device inquires the working state information of the seed burning device, resets the count value of the first counter to an initial value when the working state information of the seed burning device is inquired to be idle information, and sends a working instruction to the seed burning device;
step 108: the seed burning device receives a working instruction sent by the industrial control device, moves a card on a station where the first seed burning module is located to a station where the second seed burning module is located, sets working state information as busy information, returns a work completion response to the industrial control device, and executes step 109;
step 109: the industrial control device receives a work completion response returned by the seed burning device and executes the step 104;
in the method, after the seed burning device sets the working state information as busy information, the method further comprises the following steps:
step 110: the seed burning device reads a token number from a card on a station where the second seed burning sub-module is located, obtains a seed to be burned from the server through the first client according to the read token number, and burns the obtained seed to be burned into the card on the station where the second seed burning sub-module is located;
step 111: the seed burning device reads seeds from a card on a station where the second seed burning sub-module is located, determines a seed detection result by comparing the read seeds with the seeds obtained through the first client, correspondingly stores the seed detection result and a token number read from the card and sends the seed detection result and the token number to a server for corresponding storage, if the seed detection result is successful, step 112 is executed, and if the seed detection result is failed, a card removing operation is executed, and step 112 is executed;
step 112: the seed burning device collects the cards on the station where the second seed burning sub-module is located, and sets the working state information as idle information;
the method further comprises the following steps: the number carving device receives the token number sent by the first detection device and stores the received token number into a first preset list;
the second detection device receives the token number sent by the number carving device and stores the received token number into a second preset list;
and the third detection device receives the token number sent by the second detection device and stores the received token number into a third preset list.
The invention provides a method for producing a visual card, which can quickly and accurately remove unqualified cards, save labor cost and improve the production efficiency of the visual card.
Example 3
The embodiment provides a method for producing a visible card, which is suitable for a system comprising a conveying device, a card issuing device, a number burning device, a first detection device, a number engraving device, a second detection device, a third detection device, a seed burning device, an industrial control device, a first client and a server, and comprises the following steps:
step 200: starting the industrial control device, and setting the count value of the first counter and the count value of the second counter as initial values;
optionally, in this embodiment, the initial value is 0;
optionally, in this embodiment, before the step 200, the method further includes: the industrial control device respectively sends a first query instruction to the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning sub-device; the first query instruction is used for querying the preparation states of the transmission device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning sub-device;
when the transmission device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning sub-device receive a first query instruction sent by the industrial control device, whether cards exist on stations where the transmission device, the card issuing device, the number burning device, the first detection device, the third detection device and the seed burning sub-device are respectively checked, if the cards do not exist, first query responses containing information of finished preparation are respectively sent to the industrial control device, and if not, error reporting responses containing error information are returned to the industrial control device.
When the industrial control device receives a first query response containing preparation completion information returned by the transmission device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning sub-device, executing step 201;
optionally, in this embodiment, the first query response is used to reflect the preparation states of the transmitting device, the card issuing device, the number burning device, the first detecting device, the number engraving device, the second detecting device, the third detecting device and the seed burning device.
Step 201: the industrial control device respectively sends work instructions to the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device;
optionally, in this embodiment, the industrial control device sends the order of the work instructions to the card issuing device, the number burning device, the first detecting device, the number carving device, the second detecting device, and the third detecting device.
Step 202: the card issuing device receives a working instruction sent by the industrial control device, detects whether a card exists in the first card box, if so, executes step 203, otherwise, returns a work completion response containing the card lack information to the industrial control device;
step 203: the card sending device sucks a card from the first card box, places the card on a station where the card sending device is located, and returns a work completion response containing sufficient information of the card to the industrial control device;
step 204: the number burning device receives a working instruction sent by the industrial control device, detects whether a card exists on a station where the number burning device is located, if so, executes the step 205, otherwise, returns a work completion response to the industrial control device;
optionally, in this embodiment, detecting whether the card exists on the station specifically includes: the number burning device detects whether a card exists on a station where the number burning device is located through a second infrared camera of the number burning device;
step 205: the number burning device sends a first token number obtaining request to a first client;
optionally, in this embodiment, the number burning device includes a first communication module, the first communication module includes a network communication interface, and the first communication module is connected to the first client through the network communication interface;
further, step 205 specifically includes: a first communication module of the number burning device sends a first token number obtaining request to a first client through a network communication interface.
Step 206: the method comprises the steps that a first client receives a first token number obtaining request sent by a number burning device, obtains manufacturer identification and token number information, and sends a second token number obtaining request containing the manufacturer identification and the token number information to a server;
optionally, in this embodiment, the obtaining the manufacturer identifier and the token number information specifically includes: the method comprises the steps that a first client side obtains manufacturer identification and token number information from an order card inserted into the first client side;
optionally, in this embodiment, the token number information specifically includes: a start token number and an end token number;
step 207: the server receives a second token number acquisition request sent by the first client, and analyzes the second token number acquisition request to obtain manufacturer identification and token number information; searching a preset token table according to a manufacturer identifier, acquiring a to-be-programmed token from the preset token table according to the token number information and a preset sequence, and sending the to-be-programmed token to a first client;
optionally, in this embodiment, the method further includes: the server generates a token table according to the manually imported seed file; the seed file comprises a manufacturer identification, a token number to be programmed and a seed to be programmed;
optionally, in this embodiment, each token number in the token table uniquely corresponds to one seed to be programmed;
optionally, in this embodiment, obtaining a token number to be programmed from a preset token table according to the token number information in a preset order specifically includes: the server intercepts a corresponding token number section from the token table according to the token number information, searches for a to-be-programmed token number with the minimum numerical value which is not issued in the token number section from the intercepted token number section, and sends the to-be-programmed token number to the first client;
step 208: the first client receives and stores the to-be-burned token sent by the server, and sends the to-be-burned token to the number burning device;
optionally, in this embodiment, the number burning device further includes a first card reading module, and the first card reading module is connected to the first client through a USB interface; sending the token number to be programmed to the number programming device specifically comprises: the first client sends the token to be programmed to a card reading module of the number programming device through a USB interface;
step 209: the number burning device receives a token to be burnt and written sent by a first client, burns and writes the token to be burnt and written into a card on a station where the token is located, lights a screen of the card, and returns a work completion response to the industrial control device;
optionally, in this embodiment, the writing of the token number to be written into the card on the station where the token number is to be written into and the lighting of the screen of the card are specifically: the card reading module writes the token number to be burnt into the card on the station and lights the screen of the card by sending a non-connection instruction containing the token number to be burnt and the information of lighting the screen to the card.
Step 210: the first detection device receives a work instruction sent by the industrial control device, detects whether a card exists on a station where the first detection device is located, if so, step 211 is executed, and otherwise, a work completion response is returned to the industrial control device;
optionally, in step 210, detecting whether a card exists on the station specifically includes: the first detection device detects whether a card exists on a station through a second infrared camera of the first detection device;
step 211: the first detection device sends the request for obtaining the token number to the first client;
step 212: the method comprises the steps that a first client receives a token number acquisition request sent by a first detection device, and sends a token number acquired latest from a server to the first detection device;
step 213: the first detection device receives the token number sent by the first client, reads the token number from the card of the station where the first detection device is located, judges whether the token number sent by the first client is the same as the read token number, if so, executes step 214, otherwise, executes step 220;
optionally, in this embodiment, the reading of the token number from the card by the first detection device specifically includes: the first detection device sends a non-connection instruction for acquiring a card token to the card through a second communication module of the first detection device, and receives a non-connection response containing the card token returned by the card;
step 214: the first detection device sets the non-connection detection identifier as a non-connection detection success identifier, and records the non-connection detection success identifier and the token number acquired from the first client side in a first production log correspondingly;
step 215: the first detection device sends the token number acquired from the first client to the number carving device;
step 216: the number carving device receives the token number sent by the first detection device and stores the received token number into a first preset list;
step 217: the first detection device sends a non-connection detection response containing the token number and a non-connection detection success identifier to the server;
step 218: the first detection device returns a work completion response to the industrial control device;
step 219: the server receives a non-connection detection response sent by the first detection device, acquires the token number and the successful non-connection detection identifier from the non-connection detection response and correspondingly stores the token number and the successful non-connection detection identifier;
step 220: the first detection device executes the card rejecting operation, sets the non-receiving detection identification as a non-receiving detection failure identification, and correspondingly records the non-receiving detection failure identification and the token number acquired from the first client in a first production log;
step 221: the first detection device sends a non-connection detection response containing the token number and a non-connection detection failure identifier to the server;
step 222: the first detection device returns a work completion response to the industrial control device;
step 223: the server receives a non-connection detection response sent by the first detection device, acquires a token number and a non-connection detection failure identifier from the non-connection detection response and correspondingly stores the token number and the non-connection detection failure identifier;
step 224: the number carving device receives a working instruction sent by the industrial control device, detects whether a card exists on a station where the number carving device is located, if so, executes step 225, otherwise, returns a work completion response to the industrial control device;
step 225: the number carving device obtains the latest stored token number in the first preset list and writes the token number on the card;
step 226: the number carving device sends the token number obtained from the first preset list to the second detection module;
step 227: the second detection device receives the token number sent by the number carving device and stores the received token number into a second preset list;
step 228: the number carving device returns a work completion response to the industrial control device;
step 229: the second detection device receives a working instruction sent by the industrial control device, detects whether a card exists on the station where the second detection device is located, if so, step 230 is executed, otherwise, a work completion response is returned to the industrial control device;
step 230: the second detection device scans the token number on the card, obtains the latest stored token number in the second preset list, and judges whether the scanned token number is the same as the token number obtained from the second preset list, if so, step 231 is executed, otherwise, step 237 is executed;
step 231: the second detection device carries out turnover processing on the card, the number marking detection identifier is set as a number marking detection success identifier, and the scanned token number and the number marking detection success identifier are correspondingly recorded in a second production log;
step 232: the second detection device sends the token number acquired from the second preset list to the third detection device;
step 233: the third detection device receives the token number sent by the second detection device and stores the received token number into a third preset list;
step 234: the second detection device sends a number carving detection response containing the token number and the successful number carving detection mark to the server;
step 235: the second detection device returns a work completion response to the industrial control device;
step 236: the server receives the number carving detection response sent by the second detection device, and acquires and correspondingly stores the token number and the successful number carving detection identifier from the number carving detection response;
step 237: the second detection device executes the card rejecting operation, sets the number marking detection identifier as a number marking detection failure identifier, and correspondingly records the scanned token number and the number marking detection failure identifier in a second production log;
step 238: the second detection device sends a number carving detection response containing the token number and the number carving detection failure identification to the server;
step 239: the second detection device returns a work completion response to the industrial control device;
step 240: the server receives the number carving detection response sent by the second detection device, and obtains and correspondingly stores the token number and the number carving detection failure identification from the number carving detection response;
step 241: the third detection device receives a work instruction sent by the industrial control device, detects whether a card exists on the station where the third detection device is located, if so, executes step 242, otherwise, returns a work completion response to the industrial control device;
step 242: the third detection device detects whether the screen of the card is intact, if so, step 243 is executed, otherwise, step 247 is executed;
step 243: the third detection device sets the screen detection identifier as a screen detection success identifier, obtains the latest stored token number in the third preset list, and records the token number obtained from the third preset list and the screen detection success identifier in a third production log correspondingly;
step 244: the third detection device sends a non-connection detection response containing the token number and the screen detection success identification to the server;
step 245: the third detection device returns a work completion response to the industrial control device;
step 246: the server receives a screen detection response sent by the third detection device, acquires the token number and the screen detection success identification from the screen detection response and correspondingly stores the token number and the screen detection success identification;
step 247: the third detection device executes the card rejecting operation, sets the screen detection identifier as a screen detection failure identifier, obtains the latest stored token number in a third preset list, and records the token number obtained from the third preset list and the screen detection failure identifier in a third production log correspondingly;
step 248: the third detection device sends a non-connection detection response containing the token number and the screen detection failure identifier to the server;
step 249: the third detection device returns a work completion response to the industrial control device;
step 250: the server receives a screen detection response sent by the third detection device, acquires the token number and the screen detection failure identifier from the screen detection response and correspondingly stores the token number and the screen detection failure identifier;
step 251: the industrial control device receives work completion responses returned by the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, judges whether the work completion responses returned by the card issuing device contain card lack information or not, if yes, step 252 is executed, and if not, step 254 is executed;
step 252: the industrial control device judges whether the count value of the second counter reaches a preset value, if so, step 253 is executed, otherwise, step 254 is executed;
specifically, in this embodiment, the determining, by the industrial control device, whether the count value of the second counter reaches the preset value specifically includes: the industrial control device judges whether the count value of the second counter reaches a first preset value;
step 253: the industrial control device controls the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device to stop working, and count values of the first counter and the second counter are set as initial values;
step 254: the industrial control device judges whether the count value of the first counter reaches a preset value, if so, step 258 is executed, otherwise, step 255 is executed;
optionally, in this embodiment, step 254 specifically includes:
step A1: the industrial control device judges whether the first counter is started for the first time after the industrial control device is started, if so, the step A2 is executed, otherwise, the step A3 is executed;
step A2: the industrial control device judges whether the count value of the first counter reaches a first preset value, if so, step 253 is executed, otherwise, step 254 is executed;
step A3: the industrial control device determines whether the count value of the first counter reaches a second preset value, if so, step 253 is executed, otherwise, step 254 is executed.
Optionally, in this embodiment, the first preset value is determined according to the number of stations of the card issuing device, the number burning device, the first detecting device, the number carving device, the second detecting device, the third detecting device, and the first seed burning module of the seed burning device, and the second preset value is determined according to the number of stations of the first seed burning module of the seed burning device;
preferably, in this embodiment, the first preset value is 10, and the second preset value is 5;
step 255: the industrial control device sends a work instruction to the transmission device;
step 256: the transmission device receives a working instruction sent by the industrial control device, moves a preset step length according to a preset path, and returns a working completion response to the industrial control device;
step 257: the industrial control device updates the count values of the first counter and the second counter, and returns to step 201;
optionally, in this embodiment, step 200 further includes: the industrial control device sets the value of the third counter to be a third preset value;
step 203 may also be: the card issuing device sucks a third preset value from the first card box;
step 257 further includes: the industrial control device updates the count value of the third counter, judges whether the count value of the third counter reaches a third preset value, if so, returns to the step 201, otherwise, respectively sends a working instruction to the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, and executes the step 204;
step 258: the industrial control device sends a second query instruction for querying the working state of the seed burning device to the seed burning device;
step 259: the seed burning device receives a second query instruction sent by the industrial control device and sends a second query response containing working state information to the industrial control device;
step 260: the industrial control device judges the type of the working state information contained in the second query response, if the working state information is busy information, the operation returns to the step 258, if the working state information is idle information, and the step 261 is executed;
step 261: the industrial control device sets the count value of the first counter as an initial value and sends a working instruction to the seed burning submodule;
step 262: the seed burning device receives a working instruction sent by the industrial control device, detects whether a card exists on a station where the first seed burning module is located, if so, executes step 263, otherwise, executes step 264;
step 263: the seed burning device moves the card on the station where the first seed burning module is located to the station where the second seed burning module is located, sets the working state information as busy information, returns a work completion response to the industrial control device, and executes the step 267;
optionally, in this embodiment, the seed burning device includes a first seed burning module and a second seed burning module; the first seed burning module consists of a plurality of stations, the second seed burning module also comprises a plurality of stations, and the station number of the first seed burning module is equal to the station number of the second seed burning module and corresponds to the station number of the second seed burning module one by one;
optionally, in step 262, detecting whether a card exists on the station where the first burning seed module is located specifically is: the seed burning device respectively detects whether a card exists on each station of the first seed burning module, if not, step 264 is executed, otherwise, step 263 is executed;
step 263 specifically includes: the seed burning device moves the card on the station where the card exists in the first seed burning module to the station of the corresponding second seed burning module, sets the working state information as busy information, returns a work completion response to the industrial control device, and executes the step 267;
step 264: the industrial control device receives a work completion response returned by the seed burning device and sends a work instruction to the transmission device;
step 265: the transmission device receives a working instruction sent by the industrial control device, moves a preset step length according to a preset path, and returns a working completion response to the industrial control device;
step 266: the industrial control device receives the work completion response sent by the transmission device, updates the count value of the first counter, and returns to step 201;
step 267: the seed burning device reads a token number from a card on a station where the second seed burning sub-module is located, organizes a first seed obtaining request according to the read token number, and sends the first seed obtaining request to a first client;
step 268: the method comprises the steps that a first client receives a first seed obtaining request sent by a seed burning device, organizes a second seed obtaining request according to a preset manufacturer identification and a token number in the first seed obtaining request, and sends the second seed obtaining request to a server;
step 269: the server acquires the manufacturer identification and the token number from the second seed acquisition request, searches the seed to be programmed corresponding to the token number in the token table corresponding to the manufacturer identification, and sends the seed to be programmed to the first client;
step 270: the method comprises the steps that a first client receives a seed to be programmed sent by a server and sends the seed to be programmed to a seed programming device;
step 271: the seed burning device receives seeds to be burned and written sent by the first client side, and burns and writes the seeds to be burned and written into a card on a station where the second seed burning sub-module is located;
step 272: the seed burning device reads seeds from the card on the station where the second seed burning sub-module is located, whether the read seeds are consistent with the seeds sent by the first client side or not is judged, if yes, step 273 is executed, and if not, step 275 is executed;
step 273: the seed burning device sets the seed detection mark as a seed detection success mark, records the token number read from the card and the seed detection success mark in a fourth production log correspondingly, and sends a seed detection response containing the token number and the seed detection success mark to the server;
step 274: the server receives a seed detection response sent by the seed burning device, acquires a token number and a seed detection success identifier from the seed detection response and correspondingly stores the token number and the seed detection success identifier;
step 275: the seed burning device executes a card rejecting operation, sets the seed detection identification as a seed detection failure identification, correspondingly records the token number read from the card and the seed detection failure identification in a fourth production log, and sends a seed detection response containing the token number and the seed detection failure identification to the server;
step 276: the server receives a seed detection response sent by the seed burning device, acquires a token number and a seed detection failure identifier from the seed detection response and correspondingly stores the token number and the seed detection failure identifier;
step 277: the seed burning device detects whether a card exists on the station, if so, step 279 is executed, otherwise, step 278 is executed;
step 278: the seed burning device sucks a blank card from the blank card box, places the blank card on the station where the second seed burning sub-module is located, and executes step 279;
step 279: the seed burning device collects the cards on the station where the second seed burning sub-module is located, and sets the working state information as idle information.
Optionally, in this embodiment, the method further includes:
step C1: the industrial control device sends requests for obtaining production logs to the first detection device, the second detection device, the third detection device and the seed burning sub-device respectively;
step C2: the first detection device sends a first production log to the industrial control device according to a request for obtaining the production log sent by the industrial control device;
step C3: the second detection device sends a second production log to the industrial control device according to a request for obtaining the production log sent by the industrial control device;
step C4: the third detection device sends a third production log to the industrial control device according to a request for obtaining the production log sent by the industrial control device;
step C5: the seed burning device sends a fourth production log to the industrial control device according to a request for obtaining the production log sent by the industrial control device;
step C6: the industrial control device receives and stores a first production log, a second production log, a third production log and a fourth production log which are sent by the first detection device, the second detection device, the third detection device and the seed burning sub-device;
step C7: the industrial control device sends a request for acquiring manufacturer identification and token number information to a first client;
step C8: the first client acquires manufacturer identification and token number information from an order card inserted into the first client, and sends the manufacturer identification and the token number information to the industrial control device;
step C9: and the industrial control device receives the manufacturer identification and the token number information sent by the industrial control device, and correspondingly stores the stored first production log, the stored second production log, the stored third production log and the stored fourth production log with the manufacturer identification and the token number information sent by the industrial control device.
Optionally, in this embodiment, the method further includes: the server generates token number state identifications for the token numbers according to the non-connection detection identification, the scale mark detection identification, the screen detection identification and the seed detection identification corresponding to the token numbers in the token table and correspondingly stores the token number state identifications in the token table;
specifically, in this embodiment, the step of generating, by the server, the token number state identifier according to the non-contact detection identifier, the nick number detection identifier, the screen detection identifier, and the seed detection identifier corresponding to each token number in the token table specifically includes: the server acquires the non-receiving detection identification, the nicking number detection identification, the screen detection identification and the seed detection identification corresponding to each token number one by one from the token table, judges whether the non-receiving detection identification, the nicking number detection identification, the screen detection identification and the seed detection identification corresponding to each token number are detection success identifications one by one, generates a production success state identification for the token number if the non-receiving detection identification, the nicking number detection identification, the screen detection identification and the seed detection identification are detection success identifications, and generates a production failure state identification for the token number if the non-receiving detection identification, the nicking number detection identification, the screen detection identification and the seed detection identification are not detection success identifications.
The invention provides a method for producing a visual card, which can quickly and accurately remove unqualified cards, save labor cost and improve the production efficiency of the visual card.
Example 4
The embodiment provides a method for producing a visible card, which is applicable to a system comprising a conveying device, a card issuing device, a number burning device, a first detection device, a number engraving device, a second detection device, a third detection device, a seed burning device, an industrial control device, a first client, a second client and a server, and comprises a card production process and a card supplementing process, wherein the card production process is the same as the card production process in embodiment 3, and is not repeated here, and the card supplementing process is shown in fig. 2 and comprises the following steps:
step 301: the second client organizes a third query request for querying the card failed in production according to the manufacturer identification and the token number information, and sends the third query request to the server;
step 302: the server receives a third query request sent by the second client, analyzes the third query request to obtain manufacturer identification and token number information, obtains a corresponding token table according to the manufacturer identification, and intercepts a corresponding token number section from the token table according to the token number information;
optionally, in this embodiment, the token numbers in the token table all have a unique corresponding token number state identifier;
step 303: the server acquires token number state identifications corresponding to the token numbers in the token number segment one by one;
step 304: the server judges whether the currently acquired token number state identification is a production failure state identification, if so, the step 305 is executed, otherwise, the step 306 is executed;
step 305: the server obtains the token number corresponding to the token number state identification and marks the token number as a to-be-complemented card number, and step 306 is executed;
step 306: the server judges whether the token number segment has the token number state identification which is not acquired, if so, the step 303 is returned, otherwise, the step 307 is executed;
step 307: the server acquires the marked token number of the card to be complemented and the seed corresponding to the token number of the card to be complemented, generates a token table of the card to be complemented according to the token number of the card to be complemented, the seed corresponding to the token number of the card to be complemented and the manufacturer identification, generates token number information according to the token number in the token table of the card to be complemented, and returns a third inquiry response containing the manufacturer identification and the token number information to the second client;
optionally, in this embodiment, the generating of the token number information according to the token number in the token table of the card to be complemented specifically includes: the server acquires a starting token number and an ending token number from a to-be-supplemented card token table, and generates token number information according to the starting token number and the ending token number;
step 308: the second client receives a third query response sent by the server, and analyzes the third query response to obtain manufacturer identification and token number information;
step 309: and the second client derives the manufacturer identification and the token number information according to the operation of the user.
Optionally, in this embodiment, when the user obtains the derived manufacturer identifier and token number information, an order card is generated according to the derived manufacturer identifier and token number information;
optionally, in this embodiment, the card supplementing process specifically includes: the user inserts the order card into the first client, and the first client acquires manufacturer identification and token number information from the inserted order card and executes a card production process.
The invention provides a method for producing a visual card, which can automatically control each production process to produce the card, can quickly and accurately remove unqualified cards and saves labor cost.
Example 5
The embodiment provides a method for producing a visible card, which is suitable for a system comprising a conveying device, a card issuing device, a number burning device, a first detection device, a number engraving device, a second detection device, a third detection device, a seed burning device, an industrial control device, a first client and a server, and comprises the following steps: the work flow of the industrial control device, the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device;
optionally, in this embodiment, a work flow of the industrial control device is shown in fig. 3, and includes the following steps:
step 109-1: starting the industrial control device, and setting the count value of the first counter and the count value of the second counter as initial values;
step 109-2: the industrial control device respectively sends a first query instruction to the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning sub-device;
optionally, in this embodiment, the first query instruction is used to query preparation states of the transmitting device, the card issuing device, the number burning device, the first detecting device, the number engraving device, the second detecting device, the third detecting device, and the seed burning sub-device;
step 109-3: the industrial control device receives a first query response containing preparation completion information returned by the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device;
step 109-4: the industrial control device judges whether the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device all return a first query response, if so, step 109-5 is executed, otherwise, error reporting is finished;
step 109-5: the industrial control device respectively sends work instructions to the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device;
step 109-6: the industrial control device receives work completion responses returned by the card issuing device, the number burning device, the first detection device, the number engraving device, the second detection device and the third detection device, judges whether the work completion responses returned by the card issuing device contain card lack information or not, if yes, executes step 109-7, otherwise, executes step 109-9;
step 109-7: the industrial control device judges whether the count value of the second counter reaches a preset value, if so, step 109-8 is executed, otherwise, step 109-9 is executed;
step 109-8: the industrial control device controls the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device to stop working, and count values of the first counter and the second counter are set as initial values;
step 109-9: the industrial control device judges whether the count value of the first counter reaches a preset value, if so, the step 109-12 is executed, otherwise, the step 109-10 is returned;
step 109-10: the industrial control device sends a work instruction to the transmission device;
step 109-11: the industrial control device receives the work completion response returned by the transmission device, updates the count values of the first counter and the second counter, and returns to the step 109-5;
step 109-12: the industrial control device sends a second query instruction for querying the working state of the seed burning device to the seed burning device;
step 109-13: the industrial control device receives a second query response returned by the seed burning device, judges the type of the working state information contained in the second query response, if the working state information is busy information, returns to the step 109-12, if the working state information is idle information, and executes the step 109-14;
step 109-14: the industrial control device resets the count value of the first counter to an initial value and sends a working instruction to the seed burning submodule;
step 109-15: and the industrial control device receives the work completion response returned by the seed burning device and returns to the step 109-5.
Optionally, the work flow of the conveying apparatus in this embodiment is as shown in fig. 4, and includes the following steps:
step 101-1: the transmission device waits for receiving an instruction, executes a step 101-2 when receiving a first query instruction sent by the industrial control device, and executes a step 101-3 when receiving a working instruction sent by the industrial control device;
step 101-2: the transmission device checks the preparation state of the transmission device, and when the check is finished, a first inquiry response containing the preparation finishing information is sent to the industrial control device, and the step 101-1 is returned;
step 101-3: and the conveying device moves for a preset step length according to a preset path, returns a work completion response to the industrial control device and returns to the step 101-1.
Optionally, in this embodiment, a work flow of the card issuing device is shown in fig. 5, and includes the following steps:
step 102-1: the card issuing device waits for receiving an instruction, executes a step 102-2 when receiving a first query instruction sent by the industrial control device, and executes a step 102-3 when receiving a working instruction sent by the industrial control device;
step 102-2: the card issuing device checks the preparation state of the card issuing device, and when the check is finished, a first query response containing the preparation finishing information is sent to the industrial control device, and the step 102-1 is returned;
step 102-3: the card sending device detects whether a card exists in the first card box, if so, step 102-4 is executed, otherwise, a work completion response containing the card missing information is returned to the industrial control device, and the step 102-1 is returned.
Step 102-4: the card dispensing device picks up a card from the card cassette and places it on the station where the card dispensing device is located, returns a job completion response containing sufficient information for the card to the industrial control device, and returns to step 102-1.
Optionally, in this embodiment, a work flow of the number burning device is shown in fig. 6, and includes the following steps:
step 103-1: the number burning device waits for receiving an instruction, executes a step 103-2 when receiving a first query instruction sent by the industrial control device, and executes a step 103-3 when receiving a working instruction sent by the industrial control device;
step 103-2: the number burning device checks the preparation state of the number burning device, and when the number burning device finishes the check, the number burning device returns a first query response containing the preparation finishing information to the industrial control device and returns to the step 103-1;
step 103-3: the number burning device detects whether a card exists on a station, if so, step 103-4 is executed, otherwise, step 103-6 is executed;
step 103-4: the number burning device sends a first token number obtaining request to a first client;
step 103-5: the number burning device receives a token to be burnt and written sent by the first client, burns and writes the token to be burnt and written into a card on a station where the token is located, lights up a screen of the card, returns a work completion response to the industrial control device, and returns to the step 103-1;
step 103-6: and the number burning device returns a work completion response to the industrial control device and returns to the step 103-1.
Optionally, in this embodiment, a workflow of the first detection device is shown in fig. 7, and includes the following steps:
step 104-1: the first detection device waits for receiving an instruction, when a first query instruction sent by the industrial control device is received, step 104-2 is executed, and when a working instruction sent by the industrial control device is received, step 104-3 is executed;
step 104-2: the first detection device checks the preparation state of the first detection device, and when the check is finished, a first query response containing the preparation finishing information is sent to the industrial control device, and the step 104-1 is returned;
step 104-3: the first detection device detects whether a card exists on the station, if so, step 104-4 is executed, otherwise, step 104-11 is executed;
step 104-4: the first detection device sends the request for obtaining the token number to the first client;
step 104-5: the first detection device receives the token number sent by the first client, reads the token number from the card of the station where the first detection device is located, judges whether the token number sent by the first client is the same as the read token number, if so, executes step 104-6, otherwise, executes step 104-9;
step 104-6: the first detection device sets the non-connection detection identifier as a non-connection detection success identifier, and records the non-connection detection success identifier and the token number acquired from the first client side in a first production log correspondingly;
step 104-7: the first detection device sends a non-connection detection response containing the token number and a non-connection detection success identifier to the server;
step 104-8: the first detection device sends the token number obtained from the first client to the number carving device, and step 104-11 is executed;
step 104-9: the first detection device executes the card rejecting operation, sets the non-receiving detection identification as a non-receiving detection failure identification, and correspondingly records the non-receiving detection failure identification and the token number acquired from the first client in a first production log;
step 104-10: the first detection device sends a non-receiving detection response containing the token number and a non-receiving detection failure identifier to the server, and step 104-11 is executed;
step 104-11: the first detection device returns a work completion response to the industrial control device, and returns to step 104-1.
Optionally, in this embodiment, a working flow of the number carving apparatus is shown in fig. 8, and includes the following steps:
step 105-1: the number carving device waits for receiving an instruction, executes a step 105-2 when receiving a command number sent by a first detection device, executes a step 105-3 when receiving a first query instruction sent by an industrial control device, and executes a step 105-4 when receiving a working instruction sent by the industrial control device;
step 105-2: the number carving device stores the received token number into a first preset list and returns to the step 105-1;
step 105-3: the number carving device checks the preparation state of the number carving device, and when the checking is finished, a first query response containing the preparation finishing information is sent to the industrial control device, and the step 105-1 is returned;
step 105-4: the number carving device detects whether a card exists on a station, if so, step 105-5 is executed, otherwise, step 105-7 is executed;
step 105-5: the number carving device obtains the latest stored token number in the first preset list and writes the token number on the card;
step 105-6: the number carving device sends the token number obtained from the first preset list to the second detection module, and step 105-7 is executed;
step 105-7: the number carving device returns a work completion response to the industrial control device and returns to the step 105-1.
Optionally, in this embodiment, a workflow of the second detecting device is shown in fig. 9, and includes the following steps:
step 106-1: the second detection device waits for receiving an instruction, executes a step 106-2 when receiving a command number sent by the number carving device, executes a step 106-3 when receiving a first query instruction sent by the industrial control device, and executes a step 106-4 when receiving a working instruction sent by the industrial control device;
step 106-2: the second detection device stores the received token number in a second preset list and returns to the step 106-1;
step 106-3: the second detection device checks the preparation state of the second detection device, and when the second detection device finishes the check, the second detection device sends a first query response containing the preparation completion information to the industrial control device, and the step 106-1 is returned;
step 106-4: the second detection device detects whether a card exists on the station, if so, step 106-5 is executed, otherwise, step 106-11 is executed;
step 106-5: the second detection device scans the token number on the card, obtains the latest stored token number in the second preset list, and judges whether the scanned token number is the same as the token number obtained from the second preset list, if so, step 106-6 is executed, otherwise, step 106-9 is executed;
step 106-6: the second detection device carries out turnover processing on the card, the number marking detection identifier is set as a number marking detection success identifier, and the scanned token number and the number marking detection success identifier are correspondingly recorded in a second production log;
step 106-7: the second detection device sends the token number acquired from the second preset list to the third detection device;
step 106-8: the second detection device sends a number carving detection response containing the token number and the successful number carving detection mark to the server, and step 106-11 is executed;
step 106-9: the second detection device executes the card rejecting operation, sets the number marking detection identifier as a number marking detection failure identifier, and correspondingly records the scanned token number and the number marking detection failure identifier in a second production log;
step 106-10: the second detection device sends a number carving detection response containing the token number and the number carving detection failure identification to the server, and step 106-11 is executed;
step 106-11: the second detection device returns a work completion response to the industrial control device and returns to step 106-1.
Optionally, in this embodiment, a workflow of the third detecting device is shown in fig. 10, and includes the following steps:
step 107-1: the third detection device waits for receiving an instruction, executes a step 107-2 when receiving the instruction number sent by the second detection device, executes a step 107-3 when receiving a first query instruction sent by the industrial control device, and executes a step 107-4 when receiving a working instruction sent by the industrial control device;
step 107-2: the third detection device stores the received token number into a third preset list and returns to the step 107-1;
step 107-3: the third detection device checks the preparation state of the third detection device, and when the checking is finished, the third detection device sends a first inquiry response containing the preparation finishing information to the industrial control device, and the step 107-1 is returned;
step 107-4: the third detection device detects whether a card exists on the station, if so, step 107-5 is executed, otherwise, step 107-10 is executed;
step 107-5: the third detection device detects whether the screen of the card is intact, if so, step 107-6 is executed, otherwise, step 107-8 is executed;
step 107-6: the third detection device sets the screen detection identifier as a screen detection success identifier, obtains the latest stored token number in the third preset list, and records the token number obtained from the third preset list and the screen detection success identifier in a third production log correspondingly;
step 107-7: the third detection device sends a non-connection detection response containing the token number and a screen detection success identifier to the server, and step 107-10 is executed;
step 107-8: the third detection device executes the card rejecting operation, sets the screen detection identifier as a screen detection failure identifier, obtains the latest stored token number in a third preset list, and records the token number obtained from the third preset list and the screen detection failure identifier in a third production log correspondingly;
step 107-9: the third detection device sends a non-connection detection response containing the token number and the screen detection failure identifier to the server, and executes the step 107-10;
step 107-10: the third detection device returns a work completion response to the industrial control device and returns to step 107-1.
Optionally, in this embodiment, a work flow of the seed burning sub-device is shown in fig. 11, and includes the following steps:
step 108-1: the seed burning device waits for receiving an instruction, executes step 108-2 when receiving a first query instruction sent by the industrial control device, executes step 108-3 when receiving a second query instruction sent by the industrial control device, and executes step 108-4 when receiving a working instruction sent by the industrial control device;
step 108-2: the seed burning sub-device checks the preparation state of the seed burning sub-device, and when the seed burning sub-device finishes the check, the seed burning sub-device sends a first query response containing the preparation finishing information to the industrial control device, and the step 108-1 is returned;
step 108-3: the seed burning device sends a second query response containing working state information to the industrial control device, and the step 108-1 is returned;
optionally, in this embodiment, the working state information is busy information or idle information;
step 108-4: the seed burning device detects whether a card exists on a station where the first seed burning module is located, if so, step 108-6 is executed, otherwise, step 108-5 is executed;
step 108-5: the seed burning device returns a work completion response to the industrial control device and returns to the step 108-1;
step 108-6: the seed burning device moves the card on the station where the first seed burning module is located to the station where the second seed burning module is located, the working state information is set to be busy information, a work completion response is returned to the industrial control device, and the step 108-7 is executed;
step 108-7: the seed burning device reads a token number from a card on a station where the second seed burning sub-module is located, organizes a first seed obtaining request according to the read token number, and sends the first seed obtaining request to a first client;
step 108-8: the seed burning device receives seeds to be burned and written sent by the first client side, and burns and writes the seeds to be burned and written into a card on a station where the second seed burning sub-module is located;
step 108-9: the seed burning device reads seeds from the card on the station where the second seed burning sub-module is located, whether the read seeds are consistent with the seeds sent by the first client side or not is judged, if yes, step 108-10 is executed, and if not, step 108-11 is executed;
step 108-10: setting the seed detection identifier as a seed detection success identifier by the seed burning device, correspondingly recording the token number read from the card and the seed detection success identifier in a fourth production log, sending a seed detection response containing the token number and the seed detection success identifier to the server, and executing the step 108-12;
step 108-11: the seed burning device executes a card rejecting operation, sets the seed detection identification as a seed detection failure identification, records the token number read from the card and the seed detection failure identification in a fourth production log correspondingly, sends a seed detection response containing the token number and the seed detection failure identification to the server, and executes step 108-12;
step 108-12: the seed burning device detects whether a card exists on the station, if so, the step 108-14 is executed, otherwise, the step 108-13 is executed;
step 108-13: the seed burning device sucks a blank card from the blank card box, places the blank card on the station where the second seed burning sub-module is located, and executes the step 108-14;
step 108-14: the seed burning device collects the cards on the station where the second seed burning sub-module is located, and sets the working state information as idle information.
Optionally, in this embodiment, a workflow of the first client is shown in fig. 12, and includes the following steps:
step 401: the first client waits for receiving a request, executes step 402 when receiving a first token number acquisition request sent by a number burning device, executes step 404 when receiving a token number acquisition request sent by a first detection device, and executes step 405 when receiving a first seed acquisition request sent by a seed burning device;
step 402: the first client acquires the manufacturer identification and the token number information and sends a second token number acquisition request containing the manufacturer identification and the token number information to the server;
step 403: the first client receives and stores the to-be-burned token sent by the server, sends the to-be-burned token to the burning device, and returns to the step 401;
step 404: the first client sends the token number which is obtained from the server latest to the first detection device, and returns to step 401;
step 405: the first client organizes a second seed acquisition request according to a preset manufacturer identification and a token number in the first seed acquisition request, and sends the second seed acquisition request to the server;
step 406: and the first client receives the seed to be programmed sent by the server, sends the seed to be programmed to the seed programming device, and returns to step 401.
Optionally, in this embodiment, a workflow of the server is shown in fig. 13, and includes the following steps:
step 501: the server waits for receiving a request, executes step 502 when receiving an order number and a token number acquisition request sent by a first client, executes step 503 when receiving a non-receiving detection response sent by a first detection device, executes step 504 when receiving a nick number detection response sent by a second detection device, executes step 505 when receiving a screen detection response sent by a third detection device, executes step 506 when receiving a second seed acquisition request sent by the first client, and executes step 507 when receiving a seed detection response sent by a seed burning device;
step 502: the server acquires a corresponding preset token table according to the order number, acquires a to-be-programmed token number from the preset token table according to a preset sequence, sends the to-be-programmed token number to the first client, and returns to step 501;
step 503: the server obtains the token number and the non-connection detection identifier from the non-connection detection response, correspondingly stores the token number and the non-connection detection identifier, and returns to the step 501;
optionally, in this embodiment, the non-contact detection identifier is specifically a non-contact detection success identifier or a non-contact detection failure identifier;
step 504: the server acquires the token number and the token number detection identifier from the token number detection response, correspondingly stores the token number and the token number detection identifier, and returns to the step 501;
optionally, in this embodiment, the nicking number detection identifier is specifically a nicking number detection success identifier or a nicking number detection failure identifier;
step 505: the server acquires the token number and the screen detection identifier from the screen detection response, correspondingly stores the token number and the screen detection identifier, and returns to the step 501;
optionally, in this embodiment, the screen detection identifier is specifically a screen detection success identifier or a screen detection failure identifier;
step 506: the server obtains the manufacturer identification and the token number from the second seed obtaining request, searches the seed to be programmed corresponding to the token number in the token table corresponding to the manufacturer identification, sends the seed to be programmed to the first client, and returns to step 501;
step 507: the server acquires the token number and the seed detection identifier from the seed detection response, correspondingly stores the token number and the seed detection identifier, and returns to the step 501;
optionally, in this embodiment, the seed detection identifier is specifically a seed detection success identifier or a seed detection failure identifier.
The embodiment provides a method for producing a visual card, which can automatically control each production process to produce the card, and simultaneously can quickly and accurately remove unqualified cards, thereby saving the labor cost.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (19)
1. A system for producing a visual card, comprising: the system comprises a first client, a server, an industrial control device, a conveying device, a card issuing device, a number burning device, a first detection device, a number engraving device, a second detection device, a third detection device and a seed burning device, wherein the card issuing device, the number burning device, the first detection device, the number engraving device, the second detection device, the third detection device and the seed burning device are sequentially arranged along the conveying device; the seed burning device comprises a first seed burning module and a second seed burning module;
the server establishes communication connection with the first client, the first detection device, the second detection device, the third detection device and the seed burning device;
the first client establishes communication connection with the server, the number burning device, the first detection device and the seed burning device;
the industrial control device establishes communication connection with the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device, and is used for controlling the conveying device, the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and the seed burning device to work cooperatively;
the card issuing device is in communication connection with the industrial control device;
the number burning device, the industrial control device and the first client side are all in communication connection;
the first detection device establishes communication connection with the industrial control device, the first client, the number carving device and the server, and is used for receiving a work instruction sent by the industrial control device, obtaining a token number which is obtained by the first client from the server latest by the first client to the first client, reading the token number from a card on a station where the first detection device is located, determining a non-connection detection result by comparing the token number obtained from the first client with the token number read from the card, correspondingly storing the non-connection detection result and the token number obtained from the first client and sending the non-connection detection result and the token number obtained from the first client to the server for corresponding storage, sending the token number obtained from the first client to the number carving device if the non-connection detection result is successful, returning a work completion response to the industrial control device, and executing a card removing operation if the non-connection detection result is failed, returning a work completion response to the industrial control device;
the number carving device is in communication connection with the industrial control device, the first detection device and the second detection device;
the second detection device is in communication connection with the industrial control device, the number carving device, the third detection device and the server, and is used for receiving a work instruction sent by the industrial control device, obtaining a latest stored token number in a second preset list, scanning the token number on a card on a station where the second detection device is located, determining a number carving detection result by comparing the scanned token number with the obtained latest stored token number, correspondingly storing the number carving detection result and the obtained latest stored token number and sending the latest stored token number to the server for corresponding storage, turning over the card on the station where the second detection device is located if the number carving detection result is successful, sending the obtained latest stored token number to the third detection device, returning a work completion response to the industrial control device, and executing a card removal operation if the number carving detection result is failed, returning a work completion response to the industrial control device;
the third detection device is in communication connection with the industrial control device, the second detection device and the server, and is used for receiving a work instruction sent by the industrial control device, acquiring a latest stored token number in a third preset list, detecting a screen of a card on a station where the third detection device is located, correspondingly storing a screen detection result and the acquired latest stored token number and sending the latest stored token number to the server for corresponding storage, if the screen detection result is successful, returning a work completion response to the industrial control device, and if the screen detection result is failed, executing a card removal operation and returning a work completion response to the industrial control device;
the seed burning device is in communication connection with the industrial control device, the first client and the server;
the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device, the third detection device and stations where the first seed burning module is located are sequentially arranged on the conveying device.
2. The system of claim 1, wherein the card issuing device, the number burning device, the first detecting device, the number engraving device, the second detecting device, the third detecting device and the seed burning device are all provided with infrared cameras for detecting whether cards exist on stations where the card issuing device, the number burning device, the first detecting device, the number engraving device, the second detecting device, the third detecting device and the seed burning device are located.
3. The system of claim 1, wherein a first robotic arm is mounted to the card issuing device, the first robotic arm having a first suction structure at one end; the first mechanical arm absorbs the cards in the first card box through the first absorption structure and places the cards on a station where the card issuing device is located; the first card box is positioned on one side of a station where the card issuing device is positioned;
a second mechanical arm is arranged on the second detection device, and a second suction structure is arranged at one end of the second mechanical arm; the second mechanical arm sucks the card on the station where the second detection device is located through the second sucking structure and turns the card through the second mechanical arm;
the first seed burning module is provided with a plurality of third mechanical arms, one ends of the third mechanical arms are provided with third suction structures, and the third mechanical arms move the cards on the station where the first seed burning module is located to the first station where the second seed burning module is located through the third suction structures;
the second seed burning sub-module is provided with at least one fourth mechanical arm, a fourth suction structure is arranged at one end of each fourth mechanical arm, and the fourth mechanical arms move the cards on the first station where the second seed burning sub-module is located to the second station where the second seed burning sub-module is located through the fourth suction structures.
4. The system of claim 1 wherein said marking device comprises a laser marker.
5. The system of claim 1, wherein the second detection device includes a first optical character recognition machine for scanning a token number on a card at a station at which the second detection device is located;
the third detection device comprises a second optical character recognition machine and is used for scanning the content displayed on the screen of the card on the station where the third detection device is located.
6. A method for producing a visual card based on the system of any one of claims 1 to 5, comprising the steps of:
step 101: the industrial control device respectively sends working instructions to the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, and starts a first counter;
step 102: the card sending device receives a working instruction sent by the industrial control device, absorbs a card from the first card box, places the card on a station where the card sending device is located, and returns a work completion response to the industrial control device;
the number burning device receives a working instruction sent by the industrial control device, obtains a token to be burned from a server through a first client, burns and writes the obtained token to be burned into a card on a station where the number burning device is located, lights a screen of the card, and returns a work completion response to the industrial control device;
the first detection device receives a work instruction sent by the industrial control device, obtains a token number which is obtained by the first client from a server latest by the first client to the first client, reads the token number from a card on a station where the first detection device is located, determines a non-connection detection result by comparing the token number obtained by the first client with the token number read from the card, correspondingly stores the non-connection detection result and the token number obtained from the first client and sends the non-connection detection result and the token number to the server for corresponding storage, sends the token number obtained from the first client to the number carving device if the non-connection detection result is successful, returns a work completion response to the industrial control device, executes a card rejecting operation if the non-connection detection result is failed, and returns a work completion response to the industrial control device;
the number carving device receives a working instruction sent by the industrial control device, obtains a latest stored token number in a first preset list, writes the token number on a card of a station where the number carving device is located, sends the token number to the second detection device, and returns a work completion response to the industrial control device;
the second detection device receives a work instruction sent by the industrial control device, obtains a latest stored token number in a second preset list, scans the token number on a card on a station where the second detection device is located, determines a signature detection result by comparing the scanned token number with the obtained latest stored token number, correspondingly stores the signature detection result and the obtained latest stored token number and sends the latest stored token number to the server for corresponding storage, if the signature detection result is successful, the card on the station where the second detection device is located is turned over, the obtained latest stored token number is sent to the third detection device, a work completion response is returned to the industrial control device, if the signature detection result is failed, a card removal operation is executed, and a work completion response is returned to the industrial control device;
the third detection device receives a work instruction sent by the industrial control device, acquires a latest stored token number in a third preset list, detects a screen of a card on a station where the third detection device is located, correspondingly stores a screen detection result and the acquired latest stored token number and sends the screen detection result and the acquired latest stored token number to the server for corresponding storage, if the screen detection result is successful, a work completion response is returned to the industrial control device, and if the screen detection result is failed, a card removal operation is executed, and a work completion response is returned to the industrial control device;
step 103: the industrial control device receives work completion responses returned by the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device, judges whether the count value of the first counter reaches a preset value, if so, executes step 107, otherwise, executes step 104;
step 104: the industrial control device sends a working instruction to the transmission device;
step 105: the transmission device receives a working instruction sent by the industrial control device, moves a preset step length according to a preset path, and returns a working completion response to the industrial control device;
step 106: the industrial control device receives a work completion response sent by the transmission device, updates the count value of the first counter, and returns to the step 101;
step 107: the industrial control device inquires the working state information of the seed burning sub-device, resets the count value of the first counter to an initial value when the working state information of the seed burning sub-device is inquired to be idle information, and sends a working instruction to the seed burning sub-device;
step 108: the seed burning device receives a working instruction sent by the industrial control device, moves a card on a station where the first seed burning module is located to a station where the second seed burning module is located, sets working state information as busy information, returns a work completion response to the industrial control device, and executes step 109;
step 109: the industrial control device receives a work completion response returned by the seed burning device, and step 104 is executed;
in the method, after the seed burning device sets the working state information as busy information, the method further comprises the following steps:
step 110: the seed burning device reads a token number from a card on a station where the second seed burning sub-module is located, obtains a seed to be burned from the server through the first client according to the read token number, and burns the obtained seed to be burned into the card on the station where the second seed burning sub-module is located;
step 111: the seed burning device reads seeds from a card on a station where the second seed burning sub-module is located, determines a seed detection result by comparing the read seeds with the seeds obtained through the first client, correspondingly stores the seed detection result and a token number read from the card and sends the stored result and the token number to the server for corresponding storage, if the seed detection result is successful, step 112 is executed, and if the seed detection result is failed, a card removing operation is executed, step 112 is executed;
step 112: the seed burning device collects cards on the station where the second seed burning sub-module is located, and sets the working state information as idle information;
the method further comprises the following steps: the number carving device receives the token number sent by the first detection device and stores the received token number to a first preset list;
the second detection device receives the token number sent by the number carving device and stores the received token number into a second preset list;
and the third detection device receives the token number sent by the second detection device and stores the received token number to a third preset list.
7. The method of claim 6, wherein the number burning device, the first detecting device, the number carving device, the second detecting device and the third detecting device respectively judge whether a card exists on a station where the number burning device, the first detecting device, the number carving device, the second detecting device and the third detecting device are located after receiving a work instruction sent by the industrial control device, if yes, the subsequent operation is continuously executed, and if not, a work completion response is returned to the industrial control device.
8. The method of claim 6, wherein the number burning device receives a work instruction sent by the industrial control device, and obtains a number from the server through the first client, specifically comprising:
step A1: the number burning device receives a working instruction sent by the industrial control device, detects whether a card exists on a station where the number burning device is located, if so, executes the step A2, otherwise, returns a work completion response to the industrial control device;
step A2: the number burning device sends a first token number obtaining request to the first client;
step A3: the first client receives a first token number acquisition request sent by the number burning device, acquires manufacturer identification and token number information, and sends a second token number acquisition request containing the manufacturer identification and the token number information to a server;
step A4: the server receives a second token number acquisition request sent by the first client, and analyzes the second token number acquisition request to obtain manufacturer identification and token number information; searching a preset token table according to the manufacturer identification, acquiring a to-be-programmed token from the preset token table according to the token information in a preset sequence, and sending the to-be-programmed token to the first client;
step A5: the first client receives and stores the to-be-programmed token sent by the server, and sends the to-be-programmed token to the programming device;
step A6: and the number burning device receives the number to be burned and written sent by the first client.
9. The method according to claim 8, wherein in step a4, a token number to be burned is obtained from a preset token table according to the token number information in a preset order, specifically: and the server intercepts the corresponding token number section from the token table according to the token number information, and searches the to-be-burned token number with the minimum numerical value not issued in the token number section from the intercepted token number section.
10. The method according to claim 6, wherein in the step 102, burning the obtained token number into the card on the station where the number burning device is located and lighting up a screen of the card specifically include: the number burning device writes the token number to be burnt into the card on the station and lights the screen of the card by sending a non-connection instruction containing the token number to be burnt and the information of the screen to be lighted to the card on the station where the number burning device is located.
11. The method according to claim 6, wherein the step 102 of obtaining the token number, which is obtained by the first client from the server last time, from the first client specifically comprises:
step B1: the first detection device sends a request for obtaining a token number to the first client;
step B2: the first client receives a token number acquisition request sent by the first detection device, and sends a token number acquired latest from the server to the first detection device;
step B3: and the first detection device receives the token number sent by the first client.
12. The method according to claim 6, wherein the determining a non-receiving detection result by comparing the token number obtained from the first client with the token number read from the card, correspondingly storing the non-receiving detection result and the token number obtained from the first client, and sending the non-receiving detection result and the token number obtained from the first client to the server for corresponding storage specifically includes:
step C1: the first detection device compares the token number acquired from the first client with the token number read from the card, if the comparison is consistent, step C2 is executed, otherwise, step C3 is executed;
step C2: the first detection device sets a non-receiving detection identifier as a non-receiving detection success identifier, correspondingly stores the non-receiving detection success identifier and a token number acquired from the first client and sends the token number to the server for corresponding storage;
step C3: and the first detection device sets a non-receiving detection identifier as a non-receiving detection failure identifier, correspondingly stores the non-receiving detection failure identifier and the token number acquired from the first client and sends the non-receiving detection failure identifier and the token number to the server for corresponding storage.
13. The method according to claim 6, wherein the determining a signature detection result by comparing the scanned token number with the obtained latest saved token number, correspondingly saving the signature detection result and the obtained latest saved token number, and sending the saved signature detection result and the obtained latest saved token number to the server for corresponding saving specifically comprises:
step D1: the second detection device compares the scanned token number with the obtained latest saved token number, if the comparison is consistent, the step D2 is executed, otherwise, the step D3 is executed;
step D2: the second detection device sets the number engraving detection result as a number engraving detection success identifier, correspondingly stores the number engraving detection success identifier and the obtained latest stored token number and sends the number engraving detection success identifier and the obtained latest stored token number to the server for corresponding storage;
step D3: and the second detection device sets the number carving detection result as a number carving detection failure identifier, correspondingly stores the number carving detection failure identifier and the obtained latest stored token number and sends the number carving detection failure identifier and the obtained latest stored token number to the server for corresponding storage.
14. The method of claim 6, wherein the correspondingly storing the screen detection result and the obtained latest stored token number and sending the latest stored token number to the server for corresponding storage specifically comprises:
step E1: the third detection device determines whether the screen of the card is intact, if so, the step E2 is executed, otherwise, the step E3 is executed;
step E2: the third detection device sets a screen detection result as a screen detection success identifier, correspondingly stores the screen detection success identifier and the obtained latest stored token number and sends the latest stored token number to the server for corresponding storage;
step E3: and the third detection device sets a screen detection result as a screen detection failure identifier, correspondingly stores the screen detection failure identifier and the acquired latest stored token number and sends the latest stored token number to the server for corresponding storage.
15. The method of claim 6, wherein said card issuing device of step 102, prior to returning a job completion response to said industrial control device, further comprises: the card sending device detects whether a card exists in the first card box, if so, a work completion response is returned to the industrial control device, and otherwise, a work completion response containing card lack information is returned to the industrial control device;
in step 103, before determining whether the count value of the first counter reaches the preset value, the method further includes:
step F1: the industrial control device judges whether the work completion response returned by the card issuing device contains card lack information, if yes, step F2 is executed, otherwise, whether the count value of the first counter reaches a preset value is judged;
step F2: the industrial control device judges whether the count value of the second counter reaches a preset value, if so, the step F3 is executed, otherwise, the count value of the first counter reaches the preset value;
step F3: the industrial control device controls the card issuing device, the number burning device, the first detection device, the number carving device, the second detection device and the third detection device to stop working, and the count values of the first counter and the second counter are reset to initial values;
the step 106 further comprises: the industrial control device updates the count value of the second counter;
the method further comprises the following steps: and when the industrial control device receives that the work completion response returned by the card issuing device contains the card missing information, starting the second counter.
16. The method according to claim 6, wherein the step 103 of determining whether the count value of the first counter reaches the preset value specifically comprises:
step G1: the industrial control device judges whether the first counter is started for the first time after the industrial control device is started, if so, the step G2 is executed, otherwise, the step G3 is executed;
step G2: the industrial control device judges whether the count value of the first counter reaches a first preset value, if so, step 107 is executed, otherwise, step 104 is executed;
step G3: and the industrial control device judges whether the count value of the first counter reaches a second preset value, if so, step 107 is executed, and if not, step 104 is executed.
17. The method according to claim 6, wherein in step 112, obtaining, by the first client, the seed to be programmed from the server according to the read token number specifically includes:
step H1: the seed burning device organizes a first seed obtaining request according to the read token number and sends the first seed obtaining request to the first client;
step H2: the first client receives a first seed obtaining request sent by the seed burning device, organizes a second seed obtaining request according to a preset manufacturer identification and a token number in the first seed obtaining request, and sends the second seed obtaining request to the server;
step H3: the server acquires a manufacturer identifier and a token number from the second seed acquiring request, searches a to-be-programmed seed corresponding to the token number in a token table corresponding to the manufacturer identifier, and sends the to-be-programmed seed to the first client;
step H4: the first client receives the seeds to be programmed sent by the server and sends the seeds to be programmed to the seed programming device;
step H5: and the seed burning device receives the seed to be burned and written sent by the first client.
18. The method of claim 6, wherein the method further comprises: the server generates a token state identifier according to the stored token number and a non-connection detection result, a nicking detection result, a screen detection result and a seed detection result which correspond to the token number, and stores the generated token state identifier and the corresponding token number in a token table.
19. The method of claim 18, wherein the step of generating, by the server, the token number state identifier according to the stored token number and the non-received detection result, the nick detection result, the screen detection result, and the seed detection result corresponding to the token number specifically comprises: the server acquires the non-receiving detection result, the number carving detection result, the screen detection result and the seed detection result corresponding to each token one by one from the token table, judges whether the non-receiving detection result, the number carving detection result, the screen detection result and the seed detection result corresponding to each token are detection success results one by one, generates a production success state identification for the token if the non-receiving detection result, the number carving detection result, the screen detection result and the seed detection result are the detection success results, and otherwise generates a production failure state identification for the token.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110433168.1A CN112987673B (en) | 2021-04-22 | 2021-04-22 | Method and system for producing visual card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110433168.1A CN112987673B (en) | 2021-04-22 | 2021-04-22 | Method and system for producing visual card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112987673A CN112987673A (en) | 2021-06-18 |
CN112987673B true CN112987673B (en) | 2021-08-31 |
Family
ID=76339811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110433168.1A Active CN112987673B (en) | 2021-04-22 | 2021-04-22 | Method and system for producing visual card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112987673B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007233606A (en) * | 2006-02-28 | 2007-09-13 | Ricoh Co Ltd | Memory card and memory card adapter |
JP2009086988A (en) * | 2007-09-28 | 2009-04-23 | Toshiba Corp | Memory card |
US9959537B2 (en) * | 2014-02-27 | 2018-05-01 | Pinsheng Sun | Portable electronic card system and method for manufacturing a rewritable plastic card |
CN106709386B (en) * | 2016-12-30 | 2019-12-31 | 金邦达有限公司 | Smart card data writing method and device |
CN108595344A (en) * | 2017-11-07 | 2018-09-28 | 深圳市雄帝科技股份有限公司 | Electronically written method and device, electronic equipment and the storage medium of radio-frequency card |
-
2021
- 2021-04-22 CN CN202110433168.1A patent/CN112987673B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112987673A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9870773B2 (en) | Multi-tier intelligent infrastructure management systems for communications systems and related equipment and methods | |
CA2854220C (en) | Sequentialized key duplication system | |
CN105718975B (en) | A kind of library intelligent robot 3D navigation restocking systems based on RFID technique | |
US20100052856A1 (en) | Radio Frequency Identification Triangulation Systems for Communications Patching Systems and Related Methods of Determining Patch Cord Connectivity Information | |
CN102144403A (en) | Systems and methods of identifying connections in a communications patching system using common-mode channel signal transmissions | |
CN105652183A (en) | Vehicle-mounted system PCB mainboard automated testing method | |
CN107198364A (en) | Intelligent bookshelf and the system and method that books are managed using the Intelligent bookshelf | |
CN112987673B (en) | Method and system for producing visual card | |
CN111392303B (en) | Intelligent warehouse management method and system | |
US10484306B2 (en) | System for identification of the pairs of ports and of the respective patch cords in patch panels of telecommunication networks | |
CN111755881B (en) | Connecting device, system, identification method and identification device | |
CN106503033A (en) | A kind of single address search method of power distribution network work and device | |
CN104506624A (en) | Socializing information management system and management method | |
CN108960850B (en) | Anti-counterfeiting method and device and anti-counterfeiting traceability system | |
CN108161048A (en) | A kind of integration PCB automatic drilling methods | |
US20070050075A1 (en) | Automatic wafer tracking process and apparatus for carrying out the process | |
GB2361086A (en) | ID recognition apparatus and ID recognition sorter system for semiconductor wafer | |
CN104463460B (en) | Processing method and processing device for the waiting information that network data is launched | |
CN111679834B (en) | Automatic burning system and method for internet of things module | |
CN102883303B (en) | Method and system for controlling personalization data of subscriber identity module (SIM) | |
CN107948392A (en) | Terminal and display fault handling method | |
EP0710944B1 (en) | Carrier made of sheet material, device and method for recognizing bundles made from an assembly of a number of layers of sheet material on such a carrier | |
US6788990B1 (en) | Process control device and process control method | |
US7089074B2 (en) | Host feeder setup validation | |
CN109063855A (en) | Aid in treatment method and device for the identification of vehicle vehicle condition |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |