[go: up one dir, main page]

CN108984760B - Application system for realizing centralized management and control of outer packaging labels, automatic printing as required and automatic detection of production parameters - Google Patents

Application system for realizing centralized management and control of outer packaging labels, automatic printing as required and automatic detection of production parameters Download PDF

Info

Publication number
CN108984760B
CN108984760B CN201810796876.XA CN201810796876A CN108984760B CN 108984760 B CN108984760 B CN 108984760B CN 201810796876 A CN201810796876 A CN 201810796876A CN 108984760 B CN108984760 B CN 108984760B
Authority
CN
China
Prior art keywords
label
product
client
database
packaging
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
Application number
CN201810796876.XA
Other languages
Chinese (zh)
Other versions
CN108984760A (en
Inventor
杨新东
刘哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nexteer Automotive Suzhou Co Ltd
Original Assignee
Nexteer Automotive Suzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nexteer Automotive Suzhou Co Ltd filed Critical Nexteer Automotive Suzhou Co Ltd
Priority to CN201810796876.XA priority Critical patent/CN108984760B/en
Publication of CN108984760A publication Critical patent/CN108984760A/en
Application granted granted Critical
Publication of CN108984760B publication Critical patent/CN108984760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Landscapes

  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

本发明公开了一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,使用B/S架构,包括中央服务程序和系统子单元,所述系统子单元包括系统网页应用、包装工位客户端、标签管理客户端,所述系统网页应用包括接受各客户端的标签下载和上传的网页服务请求模块、报表查询功能模块、箱号和产品序号的交叉查询功能模块。本发明能够实现标签模板的统一管控及分发。The invention discloses an application system that realizes centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters. It uses a B/S architecture and includes a central service program and a system subunit, and the system subunit includes a system web page application. , Packing station client, label management client, the system web application includes a web service request module for accepting label download and upload from each client, a report query function module, and a cross query function module for box numbers and product serial numbers. The present invention can realize unified management, control and distribution of label templates.

Description

一种实现外包装标签集中管控并按需自动打印以及生产参数 自动检测的应用系统A kind of centralized control of outer packaging labels and automatic printing on demand and production parameters Automatically detected application system

技术领域technical field

本发明涉及应用系统的技术领域,特别涉及一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统。The invention relates to the technical field of application systems, in particular to an application system that realizes centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters.

背景技术Background technique

汽车零部件行业采用拉动式生产模式,通常做法是产品出货时由仓库出货时安排人员打印外箱标签,第二种是由仓库提前打印好多种对应不同产品的外包装标签。The auto parts industry adopts the pull-type production mode. The usual practice is that when the product is shipped, the warehouse will arrange for personnel to print the outer box label. The second is that the warehouse will print a variety of outer packaging labels corresponding to different products in advance.

前一种模式由于出货需求,增加额外的轮班人力成本;第二种模式下,由于产线换型而造成不必要的标签打印浪费。而且,两种模式下,由于人为手工进行标签打印,会存在人为犯错,用错标签模板,导致客户投诉;另外重要的一点,产品序号无法实现与包装箱号精确对应,在出现产品质量问题时无法精确定位产品及批次信息,从而增加额外的问题产品挑选和召回成本。In the former mode, additional shift labor costs are added due to shipping requirements; in the second mode, unnecessary label printing waste is caused due to the change of production lines. Moreover, in the two modes, due to manual label printing, there will be human error, and the wrong label template will be used, which will lead to customer complaints; another important point, the product serial number cannot be accurately matched with the packaging box number. When product quality problems occur Product and batch information cannot be pinpointed, adding additional cost of picking and recalling problematic products.

发明内容SUMMARY OF THE INVENTION

为解决上述背景技术中存在的问题,本发明的目的在于提供一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,以达到实现标签模板的统一管控及分发的目的。In order to solve the problems existing in the above background technology, the purpose of the present invention is to provide an application system that realizes centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters, so as to achieve the purpose of unified management, control and distribution of label templates. .

为达到上述目的,本发明的技术方案如下:For achieving the above object, technical scheme of the present invention is as follows:

一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,使用B/S架构,包括中央服务程序和系统子单元,所述系统子单元包括系统网页应用、包装工位客户端、标签管理客户端,所述系统网页应用包括接受各客户端的标签下载和上传的网页服务请求模块、报表查询功能模块、箱号和产品序号的交叉查询功能模块;An application system that realizes centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters, using B/S architecture, including a central service program and a system sub-unit, the system sub-unit includes a system web application, a packaging station A client and a label management client, the system webpage application includes a webpage service request module for accepting label download and upload from each client, a report query function module, and a cross query function module for box numbers and product serial numbers;

所述包装工位客户端包括如下步骤:1)根据产品型号和客户信息自动从中央服务端下载标签模板以及相应的产品防错要求;2)产线工人使用扫描枪读取产品序号后,进行标签序号唯一性确认并按照防错要求进行防错验证,同时自动计数并语音报数;3)包装箱满后自动打印标签,同时存储产生的箱序号与产品标签的对应关系;4)与ERP系统进行数据传送,更新ERP物料信息;The packaging station client includes the following steps: 1) Automatically download the label template and corresponding product error-proofing requirements from the central server according to the product model and customer information; 2) After the production line workers use the scanner to read the product serial number, carry out the process. The uniqueness of the label serial number is confirmed and the error-proof verification is carried out according to the error-proofing requirements, and the number is automatically counted and reported by voice; 3) The label is automatically printed after the packing box is full, and the corresponding relationship between the generated box serial number and the product label is stored; 4) With ERP The system transmits data and updates ERP material information;

所述标签管理客户端包括如下步骤:1)包装工程师在系统中定义产品信息;2)按照不同客户的不同产品包装箱标签图纸需求设计标签模板;3)工艺工程师针对不同的产品定义不同的防错需求。The label management client includes the following steps: 1) Packaging engineers define product information in the system; 2) Design label templates according to different product packaging box label drawing requirements of different customers; 3) Process engineers define different anti-virus products for different products. wrong demand.

优选的,所述接受各客户端的标签下载和上传的网页服务请求模块为使用WebSerivce,提供接口如下:GetDataBaseConnection接口定义的token作为客户端验证,返回数据库连接串给客户端使用;DownloadLabel 接受料号(Model),客户信息(CustomerCode),线别代码(LineCode),返回相应codesoft标签模板的bytes流。Preferably, the webpage service request module that accepts the label download and upload of each client is to use WebSerivce, and the interface is provided as follows: the token defined by the GetDataBaseConnection interface is used as client verification, and the database connection string is returned to the client for use; DownloadLabel accepts the item number ( Model), customer information (CustomerCode), line code (LineCode), and return the bytes stream of the corresponding codesoft label template.

优选的,所述报表查询功能模块为网页前端选择相应的线别及对应的时间段,通过异步http请求与服务器通讯,服务器返回JSON数据格式,前端使用jquerytable和highcharts渲染数据表和趋势图表。Preferably, the report query function module selects a corresponding line and a corresponding time period for the front end of the web page, communicates with the server through an asynchronous http request, the server returns JSON data format, and the front end uses jquerytable and highcharts to render data tables and trend charts.

优选的,所述箱号和产品序号的交叉查询功能模块为网页前端用户可以选择箱号或产品序号,输入信息后,通过ajax向服务器发送查询请求,服务器根据内容从包装关系表中进行检索,返回相应的数据结果给前端。Preferably, the cross query function module of the box number and the product serial number is that the front-end user of the web page can select the box number or the product serial number, and after inputting the information, send a query request to the server through ajax, and the server retrieves from the packaging relationship table according to the content, Return the corresponding data result to the front end.

优选的,所述包装工位客户端步骤1)具体步骤为:Preferably, the specific steps of the packaging station client step 1) are:

A、系统数据库定义料号(Model),客户信息(CustomerCode)和线别(LineCode) ;A. The system database defines the item number (Model), customer information (CustomerCode) and line code (LineCode);

B、客户端在每次进行包装操作时,根据具体情况,选择料号客户号和线别代码;B. The client selects the material number, customer number and line code according to the specific situation when performing packaging operations;

C、此时程序根据以上三个因子的组合从系统数据库匹配到标签模板名称,然后从网页系统A提供的网页服务下载相应的模板并存储在本地文件夹;C. At this time, the program matches the label template name from the system database according to the combination of the above three factors, and then downloads the corresponding template from the web page service provided by the web page system A and stores it in the local folder;

D、同时根据上述三个因子从数据库检索到相应的料号信息,防错内容并预加载在系统内存。D. At the same time, according to the above three factors, the corresponding part number information is retrieved from the database, and the error-proof content is pre-loaded in the system memory.

优选的,所述包装工位客户端步骤2)具体步骤为:Preferably, the specific steps of step 2) of the packaging station client are:

A、当序号扫描进程序后,程序(controller)判断当前的状态,如果没有进行中的包装,则在系统中初始化包装类变量,并根据产品客户定义初始化目标数量;A. After the serial number is scanned into the program, the program (controller) judges the current state. If there is no packaging in progress, the packaging variable is initialized in the system, and the target quantity is initialized according to the product customer definition;

B、序号唯一性验证,系统针对每次扫描的零件序号均会存储在系统的数据表里面,然后每次扫入的零件序号进行唯一性确认这是;B. Serial number uniqueness verification, the system will store the part serial number for each scan in the data table of the system, and then confirm the uniqueness of the part number scanned each time. This is;

C、使用正则表达式进行零件编码规则匹配,如果该料号尚未定义正则表达式规则,会自动跳过;C. Use regular expressions to match part coding rules. If the regular expression rules have not been defined for the part number, it will be automatically skipped;

D、使用定义的生产过程参数防错,防错定义的是数据库连接,执行的数据库存储过程,再次就是存储过程返回的期望值,当将产品序号作为参数传入存储过程并在定义的数据库执行后,获取返回值与设定的期望值进行比较;D. Use the defined production process parameters to prevent errors. Error prevention defines the database connection, the executed database stored procedure, and again the expected value returned by the stored procedure. When the product serial number is passed as a parameter to the stored procedure and executed in the defined database , get the return value and compare it with the set expected value;

E、以上验证均通过后,将该箱批次信息与产品序号存入数据库,同时按照该产品和客户要求设定的包装箱目标数量,如果箱内的实际数量已经到达设定数量,则驱动打印机出标签。E. After the above verifications are passed, the batch information and product serial number of the box are stored in the database, and the target number of packaging boxes is set according to the product and customer requirements. If the actual number in the box has reached the set number, the drive The printer prints the label.

优选的,所述包装工位客户端步骤4)具体步骤为:每箱数量和相应料号信息会以csv文件格式发送到QAD系统的指定ftp目录,在QAD服务器上定时脚本读取文件上传账目。Preferably, the specific steps of step 4) of the packaging station client are: the quantity of each box and the corresponding material number information will be sent to the designated ftp directory of the QAD system in csv file format, and the QAD server will be regularly scripted to read the file and upload the account .

优选的,所述标签管理客户端步骤2)具体步骤为:将codesoft模板使用webservice上传到服务器,CodeSoft模板支持变量,在C#程序可以调用CodeSoft的DLL的方式,进行变量赋值,从而实现按需打印,比如时间变量,打印标签的时候,可以自动赋予当前的。Preferably, the specific steps of step 2) of the label management client are: upload the codesoft template to the server using webservice, the CodeSoft template supports variables, and the C# program can call CodeSoft's DLL to assign variables, so as to realize on-demand printing , such as time variables, can be automatically assigned to the current one when printing labels.

优选的,所述标签管理客户端步骤3)具体步骤为:Preferably, the specific steps of step 3) of the label management client are:

A、包装或产品工程师可定义零件序号的编码规则,程序可对每个零件的序号进行匹配验证,使用正则表达式进行配置,配置界面包括指定型号、客户号、线别以及正则表达式;A. Packaging or product engineers can define coding rules for part serial numbers. The program can match and verify the serial number of each part, and use regular expressions to configure. The configuration interface includes the specified model, customer number, line type, and regular expressions;

B、工艺工程师指定需要验证的数值,执行数据库存储过程以及目标值,生产数据均存储在特定的数据库中,在配置防错的时候,指定目标值,如某一个零件的数据库中[Data006] 数据值为“K810400162”,这样在数据库中可以通过下面的方式定义执行的sql语句,然后将取得的值与定义的值比较;B. The process engineer specifies the value to be verified, executes the database storage process and target value, and the production data is stored in a specific database. When configuring error proofing, specify the target value, such as [Data006] data in the database of a certain part The value is "K810400162", so that the SQL statement to be executed can be defined in the database in the following way, and then the obtained value is compared with the defined value;

C、配置防错界面,包括指定料号、客户号、线别、使用的数据库连接、执行的语句,在数据库中准备存储过程,以及目标值。C. Configure the error-proof interface, including specifying the item number, customer number, line type, database connection used, executed statements, preparing stored procedures in the database, and target values.

通过上述技术方案,本发明提供的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,通过设立中央服务程序,实现标签模板的统一管控及分发,还可根据工艺流程,确认生产系统特定工位的参数状态,以及能做到产品序号黑名单的拦截功能。Through the above technical solutions, the present invention provides an application system that realizes centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters. By establishing a central service program, unified management, control and distribution of label templates can be realized. Process, confirm the parameter status of a specific station in the production system, and the interception function that can achieve the blacklist of product serial numbers.

具体实施方式Detailed ways

下面将对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described below.

本发明提供的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,使用B/S架构,包括中央服务程序和系统子单元,所述系统子单元包括系统网页应用、包装工位客户端、标签管理客户端,所述系统网页应用包括接受各客户端的标签下载和上传的网页服务请求模块、报表查询功能模块、箱号和产品序号的交叉查询功能模块,所述接受各客户端的标签下载和上传的网页服务请求模块为使用WebSerivce,提供接口如下:GetDataBaseConnection接口定义的token作为客户端验证,返回数据库连接串给客户端使用;DownloadLabel 接受料号(Model),客户信息(CustomerCode),线别代码(LineCode),返回相应codesoft标签模板的bytes流,所述报表查询功能模块为网页前端选择相应的线别及对应的时间段,通过异步http请求与服务器通讯,服务器返回JSON数据格式,前端使用jquerytable和highcharts渲染数据表和趋势图表,所述箱号和产品序号的交叉查询功能模块为网页前端用户可以选择箱号或产品序号,输入信息后,通过ajax向服务器发送查询请求,服务器根据内容从包装关系表中进行检索,返回相应的数据结果给前端;The invention provides an application system that realizes centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters. It uses a B/S architecture and includes a central service program and a system subunit, and the system subunit includes a system web page application. , a packaging station client, a label management client, the system web application includes a web service request module that accepts label downloads and uploads from each client, a report query function module, and a cross query function module for box numbers and product serial numbers. The web service request module that accepts the label download and upload of each client is to use WebSerivce, and the interface is provided as follows: The token defined by the GetDataBaseConnection interface is used as the client authentication, and returns the database connection string for the client to use; DownloadLabel accepts the material number (Model), customer information (CustomerCode), line code (LineCode), returns the bytes stream of the corresponding codesoft label template, the report query function module selects the corresponding line type and corresponding time period for the front end of the web page, communicates with the server through an asynchronous http request, and the server returns JSON data format, the front-end uses jquerytable and highcharts to render data tables and trend charts, the cross query function module of box number and product serial number is the front-end web page user can select the box number or product serial number, after inputting the information, send the query to the server through ajax Request, the server retrieves from the packaging relationship table according to the content, and returns the corresponding data results to the front end;

所述包装工位客户端包括如下步骤:The packaging station client includes the following steps:

1)根据产品型号和客户信息自动从中央服务端下载标签模板以及相应的产品防错要求,其具体步骤为:1) Automatically download label templates and corresponding product error-proofing requirements from the central server according to the product model and customer information. The specific steps are:

A、系统数据库定义料号(Model),客户信息(CustomerCode)和线别(LineCode) ;A. The system database defines the item number (Model), customer information (CustomerCode) and line code (LineCode);

B、客户端在每次进行包装操作时,根据具体情况,选择料号客户号和线别代码;B. The client selects the material number, customer number and line code according to the specific situation when performing packaging operations;

C、此时程序根据以上三个因子的组合从系统数据库匹配到标签模板名称,然后从网页系统A提供的网页服务下载相应的模板并存储在本地文件夹;C. At this time, the program matches the label template name from the system database according to the combination of the above three factors, and then downloads the corresponding template from the web page service provided by the web page system A and stores it in the local folder;

D、同时根据上述三个因子从数据库检索到相应的料号信息,防错内容并预加载在系统内存;D. At the same time, according to the above three factors, the corresponding part number information is retrieved from the database, and the error-proof content is preloaded in the system memory;

2)产线工人使用扫描枪读取产品序号后,进行标签序号唯一性确认并按照防错要求进行防错验证,同时自动计数并语音报数,其具体步骤为:2) After the production line workers use the scanner to read the product serial number, the uniqueness of the label serial number is confirmed and the error-proof verification is carried out according to the error-proofing requirements. At the same time, the number is automatically counted and reported by voice. The specific steps are:

A、当序号扫描进程序后,程序(controller)判断当前的状态,如果没有进行中的包装,则在系统中初始化包装类变量,并根据产品客户定义初始化目标数量;A. After the serial number is scanned into the program, the program (controller) judges the current state. If there is no packaging in progress, the packaging variable is initialized in the system, and the target quantity is initialized according to the product customer definition;

B、序号唯一性验证,系统针对每次扫描的零件序号均会存储在系统的数据表里面,然后每次扫入的零件序号进行唯一性确认这是;B. Serial number uniqueness verification, the system will store the part serial number for each scan in the data table of the system, and then confirm the uniqueness of the part number scanned each time. This is;

C、使用正则表达式进行零件编码规则匹配,如果该料号尚未定义正则表达式规则,会自动跳过;C. Use regular expressions to match part coding rules. If the regular expression rules have not been defined for the part number, it will be automatically skipped;

D、使用定义的生产过程参数防错,防错定义的是数据库连接,执行的数据库存储过程,再次就是存储过程返回的期望值,当将产品序号作为参数传入存储过程并在定义的数据库执行后,获取返回值与设定的期望值进行比较;D. Use the defined production process parameters to prevent errors. Error prevention defines the database connection, the executed database stored procedure, and again the expected value returned by the stored procedure. When the product serial number is passed as a parameter to the stored procedure and executed in the defined database , get the return value and compare it with the set expected value;

E、以上验证均通过后,将该箱批次信息与产品序号存入数据库,同时按照该产品和客户要求设定的包装箱目标数量,如果箱内的实际数量已经到达设定数量,则驱动打印机出标签;E. After the above verifications are passed, the batch information and product serial number of the box are stored in the database, and the target number of packaging boxes is set according to the product and customer requirements. If the actual number in the box has reached the set number, the drive The printer outputs the label;

3)包装箱满后自动打印标签,同时存储产生的箱序号与产品标签的对应关系;3) Automatically print the label when the box is full, and store the corresponding relationship between the serial number of the box and the product label;

4)与ERP系统进行数据传送,更新ERP物料信息,其具体步骤为:每箱数量和相应料号信息会以csv文件格式发送到QAD系统的指定ftp目录,在QAD服务器上定时脚本读取文件上传账目;4) Data transmission with the ERP system to update the ERP material information. The specific steps are: the quantity of each box and the corresponding material number information will be sent to the designated ftp directory of the QAD system in csv file format, and the file will be read by a regular script on the QAD server upload account;

所述标签管理客户端包括如下步骤:The label management client includes the following steps:

1)包装工程师在系统中定义产品信息;1) Packaging engineers define product information in the system;

2)按照不同客户的不同产品包装箱标签图纸需求设计标签模板,其具体步骤为:将codesoft模板使用webservice上传到服务器,CodeSoft模板支持变量,在C#程序可以调用CodeSoft的DLL的方式,进行变量赋值,从而实现按需打印,比如时间变量,打印标签的时候,可以自动赋予当前的;2) Design the label template according to the different product packaging box label drawing requirements of different customers. The specific steps are: upload the codesoft template to the server using webservice, the CodeSoft template supports variables, and the C# program can call CodeSoft's DLL method to assign variables , so as to realize on-demand printing, such as time variables, when printing labels, you can automatically assign the current value;

3)工艺工程师针对不同的产品定义不同的防错需求,其具体步骤为:3) Process engineers define different error-proofing requirements for different products. The specific steps are:

A、包装或产品工程师可定义零件序号的编码规则,程序可对每个零件的序号进行匹配验证,使用正则表达式进行配置,配置界面包括指定型号、客户号、线别以及正则表达式;A. Packaging or product engineers can define coding rules for part serial numbers. The program can match and verify the serial number of each part, and use regular expressions to configure. The configuration interface includes the specified model, customer number, line type, and regular expressions;

B、工艺工程师指定需要验证的数值,执行数据库存储过程以及目标值,生产数据均存储在特定的数据库中,在配置防错的时候,指定目标值,如某一个零件的数据库中[Data006] 数据值为“K810400162”,这样在数据库中可以通过下面的方式定义执行的sql语句,然后将取得的值与定义的值比较;B. The process engineer specifies the value to be verified, executes the database storage process and target value, and the production data is stored in a specific database. When configuring error proofing, specify the target value, such as [Data006] data in the database of a certain part The value is "K810400162", so that the SQL statement to be executed can be defined in the database in the following way, and then the obtained value is compared with the defined value;

C、配置防错界面,包括指定料号、客户号、线别、使用的数据库连接、执行的语句,在数据库中准备存储过程,以及目标值。C. Configure the error-proof interface, including specifying the item number, customer number, line type, database connection used, executed statements, preparing stored procedures in the database, and target values.

本系统中各包装工位自动根据产线生产的产品型号,自动从服务端获取最新的标签模板进行打印,并在包装标签列印时将箱内产品序号与外箱批序号进行绑定,方便查询追溯;对外箱标签集中管控和分发,减轻了包装工程师进行标签维护时的复杂度和工作量;客户端实现标签列印,省去了仓库出货时打印标签的人力,并省去了多余的标签列印,客户端实现基于产品工艺定义的防错,实现产品到客户端的最后防错。Each packaging station in this system automatically obtains the latest label template from the server for printing according to the product model produced by the production line, and binds the product serial number in the box to the batch serial number of the outer box when printing the packaging label, which is convenient Inquiry and traceability; centralized control and distribution of outer box labels, reducing the complexity and workload of packaging engineers for label maintenance; client-side label printing, saving the labor of printing labels when shipping from the warehouse, and saving redundant The customer can realize the error proofing based on the product process definition, and realize the final error proofing from the product to the customer.

本系统实现了外箱批序与产品序号的绑定,可以在产品出现问题时快速进行定位产品序号,快速解决问题,本系统还与ERP系统的数据交互和网页查询功能,实现物料信息的实时状态更新和报表展示。This system realizes the binding of the batch sequence of the outer box and the product serial number, which can quickly locate the product serial number when there is a problem with the product, and solve the problem quickly. Status updates and report presentations.

本发明公开的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,通过设立中央服务程序,实现标签模板的统一管控及分发,还可根据工艺流程,确认生产系统特定工位的参数状态,以及能做到产品序号黑名单的拦截功能。The invention discloses an application system that realizes centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters. By establishing a central service program, unified management, control and distribution of label templates can be realized, and the production system can also be confirmed according to the technological process. The parameter status of a specific station, and the interception function that can achieve a blacklist of product serial numbers.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1.一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,使用B/S架构,其特征在于,包括中央服务程序和系统子单元,所述系统子单元包括系统网页应用、包装工位客户端和标签管理客户端,所述系统网页应用包括接受各客户端的标签下载和上传的网页服务请求模块、报表查询功能模块以及箱号和产品序号的交叉查询功能模块;1. An application system that realizes centralized management and control of outer packaging labels and automatic printing on demand and automatic detection of production parameters, using B/S architecture, is characterized in that, including a central service program and a system subunit, and the system subunit includes a system A web application, a packaging station client and a label management client, the system web application includes a web service request module for accepting label download and upload from each client, a report query function module, and a cross query function module for box numbers and product serial numbers; 所述包装工位客户端包括如下步骤:1)根据产品型号和客户信息自动从中央服务端下载标签模板以及相应的产品防错要求;2)产线工人使用扫描枪读取产品序号后,进行标签序号唯一性确认并按照防错要求进行防错验证,同时自动计数并语音报数;3)包装箱满后自动打印标签,同时存储产生的箱序号与产品标签的对应关系;4)与ERP系统进行数据传送,更新ERP物料信息;The packaging station client includes the following steps: 1) automatically download the label template and the corresponding product error-proofing requirements from the central server according to the product model and customer information; 2) after the production line worker reads the product serial number using a scanner gun, carry out the process. The uniqueness of the label serial number is confirmed and the error-proof verification is carried out according to the error-proofing requirements, and the number is automatically counted and reported by voice; 3) The label is automatically printed after the packing box is full, and the corresponding relationship between the generated box serial number and the product label is stored; 4) With ERP The system transmits data and updates ERP material information; 所述标签管理客户端包括如下步骤:1)包装工程师在系统中定义产品信息;2)按照不同客户的不同产品包装箱标签图纸需求设计标签模板;3)工艺工程师针对不同的产品定义不同的防错需求;The label management client includes the following steps: 1) The packaging engineer defines product information in the system; 2) The label template is designed according to the different product packaging box label drawing requirements of different customers; 3) The process engineer defines different anti-protection methods for different products. wrong demand; 所述包装工位客户端步骤1)具体步骤为:Described packing station client step 1) The concrete steps are: A、系统数据库定义料号、客户信息和线别;A. The system database defines the item number, customer information and line classification; B、客户端在每次进行包装操作时,根据具体情况,选择料号、客户号和线别代码;B. The client selects the material number, customer number and line code according to the specific situation when performing packaging operations; C、此时程序根据以上三个因子的组合从系统数据库匹配到标签模板名称,然后从网页系统A提供的网页服务下载相应的模板并存储在本地文件夹;C. At this time, the program matches the label template name from the system database according to the combination of the above three factors, and then downloads the corresponding template from the web page service provided by the web page system A and stores it in the local folder; D、同时根据上述三个因子从数据库检索到相应的料号信息和防错内容并预加载在系统内存。D. At the same time, according to the above three factors, the corresponding part number information and error prevention content are retrieved from the database and preloaded in the system memory. 2.根据权利要求1所述的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,其特征在于,所述接受各客户端的标签下载和上传的网页服务请求模块为使用WebSerivce,提供接口如下:GetDataBaseConnection接口定义的token作为客户端验证,返回数据库连接串给客户端使用;DownloadLabel接受料号,客户信息,线别代码,返回相应codesoft标签模板的bytes流。2. An application system for realizing centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters according to claim 1, characterized in that the web service request module for accepting label download and uploading of each client In order to use WebSerivce, the interface is provided as follows: The token defined by the GetDataBaseConnection interface is used as client authentication, and returns the database connection string for the client to use; DownloadLabel accepts the item number, customer information, and line code, and returns the bytes stream of the corresponding codesoft label template. 3.根据权利要求2所述的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,其特征在于,所述报表查询功能模块为网页前端选择相应的线别及对应的时间段,通过异步http请求与服务器通讯,服务器返回JSON数据格式,前端使用jquerytable和highcharts渲染数据表和趋势图表。3. An application system for realizing centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters according to claim 2, characterized in that the report query function module selects the corresponding line and line type for the front end of the webpage. In the corresponding time period, the server communicates with the server through an asynchronous http request, the server returns the JSON data format, and the front end uses jquerytable and highcharts to render the data table and trend chart. 4.根据权利要求3所述的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,其特征在于,所述箱号和产品序号的交叉查询功能模块为网页前端用户可以选择箱号或产品序号,输入信息后,通过ajax向服务器发送查询请求,服务器根据内容从包装关系表中进行检索,返回相应的数据结果给前端。4. An application system for realizing centralized management and control of outer packaging labels, automatic printing on demand and automatic detection of production parameters according to claim 3, wherein the cross query function module of the box number and the product serial number is a web front end The user can select the box number or the product serial number. After entering the information, a query request is sent to the server through ajax. The server retrieves the package relationship table according to the content and returns the corresponding data results to the front end. 5.根据权利要求1所述的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,其特征在于,所述包装工位客户端步骤2)具体步骤为:5. A kind of application system for realizing centralized management and control of outer packaging labels and automatic printing on demand and automatic detection of production parameters according to claim 1, it is characterized in that, described packing station client step 2) concrete steps are: A、当序号扫描进程序后,程序判断当前的状态,如果没有进行中的包装,则在系统中初始化包装类变量,并根据产品客户定义初始化目标数量;A. After the serial number is scanned into the program, the program judges the current state. If there is no packaging in progress, the packaging variable is initialized in the system, and the target quantity is initialized according to the product customer definition; B、序号唯一性验证,系统针对每次扫描的零件序号均会存储在系统的数据表里面,然后每次扫入的零件序号进行唯一性确认这是;B. Serial number uniqueness verification, the system will store the part serial number for each scan in the data table of the system, and then confirm the uniqueness of the part number scanned each time. This is; C、使用正则表达式进行零件编码规则匹配,如果该料号尚未定义正则表达式规则,会自动跳过;C. Use regular expressions to match part coding rules. If the regular expression rules have not been defined for the part number, it will be automatically skipped; D、使用定义的生产过程参数防错,防错定义的是数据库连接,执行的数据库存储过程,再次就是存储过程返回的期望值,当将产品序号作为参数传入存储过程并在定义的数据库执行后,获取返回值与设定的期望值进行比较;D. Use the defined production process parameters to prevent errors. Error prevention defines the database connection, the executed database stored procedure, and again the expected value returned by the stored procedure. When the product serial number is passed as a parameter to the stored procedure and executed in the defined database , get the return value and compare it with the set expected value; E、以上验证均通过后,将该箱批次信息与产品序号存入数据库,同时按照该产品和客户要求设定的包装箱目标数量,如果箱内的实际数量已经到达设定数量,则驱动打印机出标签。E. After the above verifications are passed, the batch information and product serial number of the box are stored in the database, and the target number of packaging boxes is set according to the product and customer requirements. If the actual number in the box has reached the set number, the drive The printer prints the label. 6.根据权利要求5所述的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,其特征在于,所述包装工位客户端步骤4)具体步骤为:每箱数量和相应料号信息会以csv文件格式发送到QAD系统的指定ftp目录,在QAD服务器上定时脚本读取文件上传账目。6. A kind of application system that realizes centralized management and control of outer packaging labels and automatic printing on demand and automatic detection of production parameters according to claim 5, it is characterized in that, described packaging station client step 4) The specific steps are: each The number of boxes and the corresponding part number information will be sent to the designated ftp directory of the QAD system in csv file format, and the file upload account will be read regularly by the script on the QAD server. 7.根据权利要求1所述的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,其特征在于,所述标签管理客户端步骤2)具体步骤为:将codesoft模板使用webservice上传到服务器,CodeSoft模板支持变量,在C#程序可以调用CodeSoft的DLL的方式,进行变量赋值,从而实现按需打印。7. a kind of application system that realizes the centralized management and control of outer packaging labels and automatic printing on demand and automatic detection of production parameters according to claim 1, it is characterized in that, described label management client step 2) concrete steps are: codesoft The template is uploaded to the server using webservice. The CodeSoft template supports variables. The C# program can call CodeSoft's DLL to assign variables to realize on-demand printing. 8.根据权利要求3所述的一种实现外包装标签集中管控并按需自动打印以及生产参数自动检测的应用系统,其特征在于,所述标签管理客户端步骤3)具体步骤为:8. A kind of application system for realizing centralized management and control of outer packaging labels and automatic printing on demand and automatic detection of production parameters according to claim 3, it is characterized in that, described label management client step 3) concrete steps are: A、包装或产品工程师可定义零件序号的编码规则,程序可对每个零件的序号进行匹配验证,使用正则表达式进行配置,配置界面包括指定型号、客户号、线别以及正则表达式;A. Packaging or product engineers can define coding rules for part serial numbers. The program can match and verify the serial number of each part, and use regular expressions to configure. The configuration interface includes the specified model, customer number, line type, and regular expressions; B、工艺工程师指定需要验证的数值,执行数据库存储过程以及目标值,生产数据均存储在特定的数据库中,在配置防错的时候,指定目标值,然后将取得的值与定义的值比较;B. The process engineer specifies the value to be verified, executes the database storage process and the target value, and stores the production data in a specific database. When configuring error prevention, specify the target value, and then compare the obtained value with the defined value; C、配置防错界面,包括指定料号、客户号、线别、使用的数据库连接、执行的语句,在数据库中准备存储过程,以及目标值。C. Configure the error-proof interface, including specifying the item number, customer number, line type, database connection used, executed statements, preparing stored procedures in the database, and target values.
CN201810796876.XA 2018-07-19 2018-07-19 Application system for realizing centralized management and control of outer packaging labels, automatic printing as required and automatic detection of production parameters Active CN108984760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810796876.XA CN108984760B (en) 2018-07-19 2018-07-19 Application system for realizing centralized management and control of outer packaging labels, automatic printing as required and automatic detection of production parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810796876.XA CN108984760B (en) 2018-07-19 2018-07-19 Application system for realizing centralized management and control of outer packaging labels, automatic printing as required and automatic detection of production parameters

Publications (2)

Publication Number Publication Date
CN108984760A CN108984760A (en) 2018-12-11
CN108984760B true CN108984760B (en) 2020-11-06

Family

ID=64548922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810796876.XA Active CN108984760B (en) 2018-07-19 2018-07-19 Application system for realizing centralized management and control of outer packaging labels, automatic printing as required and automatic detection of production parameters

Country Status (1)

Country Link
CN (1) CN108984760B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582258B (en) * 2019-01-07 2022-09-06 厦门攸信信息技术有限公司 Printing control method and device and printer
CN117032602B (en) * 2023-10-10 2024-01-26 海通安恒科技股份有限公司 Printing method and system for rapidly realizing label field mapping and label rule configuration
CN117236356A (en) * 2023-11-15 2023-12-15 冠骋信息技术(苏州)有限公司 WEB-based label online design and printing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346668A (en) * 2013-07-31 2015-02-11 上海长丰智能卡有限公司 Intelligent wine information management system and management method
CN104933569A (en) * 2014-03-19 2015-09-23 上海快捷科技发展有限公司 Product anti-counterfeiting method
CN105404243A (en) * 2014-08-28 2016-03-16 梯梯电子集成制造服务(苏州)有限公司 Process control and manufacturing execution system in industrial production line
CN106275644A (en) * 2016-07-26 2017-01-04 歌尔股份有限公司 Based on assembling, packing and integrated product processes and the system of weighing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7178718B2 (en) * 1999-05-25 2007-02-20 Silverbrook Research Pty Ltd Methods and systems for object identification and interaction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346668A (en) * 2013-07-31 2015-02-11 上海长丰智能卡有限公司 Intelligent wine information management system and management method
CN104933569A (en) * 2014-03-19 2015-09-23 上海快捷科技发展有限公司 Product anti-counterfeiting method
CN105404243A (en) * 2014-08-28 2016-03-16 梯梯电子集成制造服务(苏州)有限公司 Process control and manufacturing execution system in industrial production line
CN106275644A (en) * 2016-07-26 2017-01-04 歌尔股份有限公司 Based on assembling, packing and integrated product processes and the system of weighing

Also Published As

Publication number Publication date
CN108984760A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108984760B (en) Application system for realizing centralized management and control of outer packaging labels, automatic printing as required and automatic detection of production parameters
CN112669110A (en) Server label management method and related equipment
CN110711945A (en) Laser coding method and device and laser marking machine
CN105301383A (en) Vehicle detection method and system
CN113888064B (en) Product quality tracing method, device and equipment in food and beverage industry
CN110599094A (en) Intelligent production management system
CN101464992A (en) Method and system for processing configure configuration quoted price, configuration quoted price device and configuration converting device
CN105825355A (en) Warehouse management system based on bar code scanning warehouse entry
CN106327208A (en) Product quality tracing system and method for injection molding machine
CN110826606B (en) Element matching method, device, server and readable storage medium
CN108960600A (en) A kind of production management method and system
CN106652194A (en) Error preventing replenishment system in vending machine and method of error preventing replenishment system
CN114219509A (en) Production tracing system and method for wireless communication module
CN108958786B (en) Matching and updating processing method and device for refrigerator software
EP2109070A1 (en) A method and device for selecting the work flow route
CN106682105B (en) Conversion of TR (transmitter-receiver) parameters and structure body parameters and communication method and system of ACS (auto-configuration server) and CPE (customer premises equipment)
US20170182821A1 (en) Printing process system, printing process method, printing management device, and printing management program
CN115470206A (en) MES system docking data interaction method and system, computer equipment and storage medium
CN109753294B (en) Automatic refreshing system and control method for vehicle-mounted controller of commercial vehicle
CN112948902A (en) Asset information confirmation method, system and medium
US12160339B2 (en) Generating configuration information for newly integrated field devices
CN114677080B (en) Logistics export order processing method, device and electronic equipment combining RPA and AI
CN112255961A (en) Infrared moisture meter channel central control network issuing method and system
CN105320053B (en) Efficient sort method based on tire sequence
CN115390525A (en) Steel wire rope slitting system

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