CN205139933U - Online collection system of two -dimensional code - Google Patents

Online collection system of two -dimensional code Download PDF

Info

Publication number
CN205139933U
CN205139933U CN201520900512.3U CN201520900512U CN205139933U CN 205139933 U CN205139933 U CN 205139933U CN 201520900512 U CN201520900512 U CN 201520900512U CN 205139933 U CN205139933 U CN 205139933U
Authority
CN
China
Prior art keywords
dimensional code
code information
level product
programmable logic
logic controller
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.)
Expired - Lifetime
Application number
CN201520900512.3U
Other languages
Chinese (zh)
Inventor
牟涛
陈辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI TY TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI TY TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI TY TECHNOLOGY Co Ltd filed Critical SHANGHAI TY TECHNOLOGY Co Ltd
Priority to CN201520900512.3U priority Critical patent/CN205139933U/en
Application granted granted Critical
Publication of CN205139933U publication Critical patent/CN205139933U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Wrapping Of Specific Fragile Articles (AREA)

Abstract

The embodiment of the utility model provides an online collection system of two -dimensional code, including a collection system, the 2nd collection system, a programmable logic controler and a control computer, a collection system and the 2nd collection system lie in equipment for packing's both sides respectively, a programmable logic controler respectively with a collection system the 2nd collection system and control computer electricity are connected. The embodiment of the utility model provides an online collection system of two -dimensional code who provides can realize the two -dimensional code relevance to multistage product, the management and control of enterprise to the product circulation of being convenient for.

Description

二维码在线采集系统Two-dimensional code online collection system

技术领域 technical field

本实用新型涉及物联网领域,尤其涉及一种二维码在线采集系统。 The utility model relates to the field of the Internet of Things, in particular to a two-dimensional code online collection system.

背景技术 Background technique

在现有技术中,一般的产品包装上都会印有二维码,扫描该二维码即可获得该产品的相关信息,如生产时间、产地、公司名称等基本信息,也可以包括产品的质检状况、组成成分以及其他的相关信息。 In the existing technology, a QR code is usually printed on the product packaging, and the relevant information of the product can be obtained by scanning the QR code, such as basic information such as production time, place of origin, company name, etc., and can also include product quality information. Inspection status, composition and other relevant information.

目前的二维码大致可以分为“一企一码”与“一品一码”两种。“一企一码”即每个企业有自己固定的二维码,消费者扫码可以关注企业、了解企业信息,而“一品一码”即每一个产品一个唯一二维码,消费者扫码可查看该类商品的具体信息。同时在扫描产品二维码的过程中,企业的服务器上也会留下该产品二维码的扫描时间、扫描地点及终端网络等客户消费信息,而这些信息则可以方便企业做数据分析、了解销量,对流通渠道进行管控,同时也可方便对产品的统一定价。 The current two-dimensional code can be roughly divided into two types: "one code for one enterprise" and "one code for one product". "One enterprise, one code" means that each enterprise has its own fixed QR code. Consumers can scan the code to follow the enterprise and learn about enterprise information. "One product, one code" means that each product has a unique QR code. Consumers scan You can view the specific information of this type of product. At the same time, in the process of scanning the QR code of the product, customer consumption information such as the scanning time, scanning location and terminal network of the product’s QR code will also be left on the server of the enterprise, and this information can facilitate the enterprise to do data analysis and understand sales volume, control the distribution channels, and facilitate the unified pricing of products.

对于有多级包装的产品来说,如香烟销售领域,一盒烟的包装上有二维码,一条烟的包装上也有二维码,同时一箱烟的包装上也有二维码,但这些二维码相互独立,无法得到各级产品之间的关联关系。扫描一条烟的二维码不清楚该条烟中某盒烟的销售情况,也无法得知整箱烟的销售情况,同样扫描一盒烟的二维码,也无法得知同一条烟中其他盒烟的销售情况等。 For products with multi-level packaging, such as in the field of cigarette sales, there is a QR code on the packaging of a box of cigarettes, a QR code on the packaging of a cigarette, and a QR code on the packaging of a box of cigarettes, but these Two-dimensional codes are independent of each other, and the relationship between products at all levels cannot be obtained. Scanning the QR code of a pack of cigarettes does not know the sales status of a certain pack of cigarettes in the pack, nor the sales status of a whole box of cigarettes. Scanning the QR code of a pack of cigarettes also does not know the sales status of other packs of cigarettes in the same pack. Cigarette sales, etc.

因此现有技术中二维码的采集不利于企业的大数据分析,也无法对产品的销售情况进行较好的追踪。 Therefore, the collection of two-dimensional codes in the prior art is not conducive to the big data analysis of enterprises, and it is also impossible to better track the sales of products.

实用新型内容 Utility model content

本实用新型提供了一种二维码在线采集系统,通过对多级包装中每一级产品的二维码进行关联,进而可以更好的跟踪产品的销售情况,有利于企业进行大数据分析。 The utility model provides an online collection system for two-dimensional codes. By associating the two-dimensional codes of each level of product in multi-level packaging, the sales of products can be better tracked, which is beneficial for enterprises to carry out big data analysis.

本实用新型实施例提供了一种二维码在线采集系统,所述系统包括第一采集装置、第二采集装置、第一可编程逻辑控制器和第一控制计算机,其中:所述第一采集装置和第二采集装置分别位于包装设备的两侧;所述第一可编程逻辑控制器分别与所述第一采集装置、所述第二采集装置和第一控制计算机电连接。 The embodiment of the utility model provides a two-dimensional code online acquisition system, the system includes a first acquisition device, a second acquisition device, a first programmable logic controller and a first control computer, wherein: the first acquisition The device and the second collection device are respectively located on both sides of the packaging equipment; the first programmable logic controller is electrically connected to the first collection device, the second collection device and the first control computer respectively.

优选地,所述第一采集装置,用于采集第一级产品二维码信息,并将所述第一级产品二维码信息发送给所述第一可编程逻辑控制器; Preferably, the first collecting device is used to collect the first-level product two-dimensional code information, and send the first-level product two-dimensional code information to the first programmable logic controller;

所述包装设备,用于将所述第一级产品进行包装,形成第二级产品; The packaging equipment is used to package the first-level product to form a second-level product;

所述第二采集装置,用于采集所述第二级产品二维码信息,并将所述第二级产品二维码信息发送给所述第一可编程逻辑控制器; The second collection device is used to collect the two-dimensional code information of the second-level product, and send the two-dimensional code information of the second-level product to the first programmable logic controller;

所述第一可编程逻辑控制器,用于接收所述第一级产品二维码信息与所述第二级产品二维码信息,并将所述第一级产品二维码信息及所述第二级产品二维码信息进行关联。 The first programmable logic controller is configured to receive the two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product, and combine the two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product The second-level product QR code information is associated.

优选地,所述第一采集装置包括第一子采集单元、第一剔除装置、第一光电传感器和第一安装支架,其中所述第一子采集单元、所述第一剔除装置和所述第一光电传感器均安装在所述第一安装支架上,所述第一子采集单元、所述第一剔除装置和所述第一光电传感器与所述第一可编程逻辑控制器电连接。 Preferably, the first collecting device includes a first sub-collecting unit, a first rejecting device, a first photoelectric sensor and a first mounting bracket, wherein the first sub-collecting unit, the first rejecting device and the first A photoelectric sensor is installed on the first mounting bracket, and the first sub-acquisition unit, the first rejecting device and the first photoelectric sensor are electrically connected to the first programmable logic controller.

优选地,所述第一光电传感器,用于检测到所述第一级产品到达检测位置时,通知所述第一可编程逻辑控制器开始计数; Preferably, the first photoelectric sensor is configured to notify the first programmable logic controller to start counting when detecting that the first-level product reaches the detection position;

所述第一可编程逻辑控制器,用于接收到所述第一光电传感器开始计数的信息后,对所述第一级产品进行计数并触发所述第一子采集单元采集所述第一级产品二维码信息,接收所述第一子采集单元发送的所述第一级产品二维码信息; The first programmable logic controller is configured to count the first-level products and trigger the first sub-acquisition unit to collect the first-level products after receiving the information that the first photoelectric sensor starts counting Product two-dimensional code information, receiving the first-level product two-dimensional code information sent by the first sub-acquisition unit;

所述第一子采集单元,用于根据所述第一可编程逻辑控制器的指令采集所述第一级产品二维码信息,并发送给所述第一可编程逻辑控制器。 The first sub-acquisition unit is configured to collect the two-dimensional code information of the first-level product according to the instruction of the first programmable logic controller, and send it to the first programmable logic controller.

优选地,所述第一采集装置还包括: Preferably, the first acquisition device further includes:

第一剔除装置,用于当所述第一子采集单元没有采集到所述第一级产品二维码信息时,根据所述第一可编程逻辑控制器的指令将所述第一级产品剔除。 The first removing device is used to reject the first-level product according to the instruction of the first programmable logic controller when the first sub-acquisition unit does not collect the two-dimensional code information of the first-level product .

优选地,所述第二采集装置包括第二子采集单元、第二剔除装置、第二光电传感器和第二安装支架,所述第二子采集单元、所述第二剔除装置和所述第二光电传感器均安装在所述第二安装支架上,所述第二子采集单元、所述第二剔除装置和所述第二光电传感器与所述第一可编程逻辑控制器电连接。 Preferably, the second collecting device includes a second sub-collecting unit, a second rejecting device, a second photoelectric sensor and a second mounting bracket, the second sub-collecting unit, the second rejecting device and the second The photoelectric sensors are all installed on the second mounting bracket, and the second sub-acquisition unit, the second rejecting device and the second photoelectric sensor are electrically connected to the first programmable logic controller.

优选地,所述第二光电传感器,用于检测到所述第二级产品到达检测位置时,通知所述第一可编程逻辑控制器开始计数; Preferably, the second photoelectric sensor is configured to notify the first programmable logic controller to start counting when detecting that the second-level product reaches the detection position;

所述第一可编程逻辑控制器,用于根据所述第二光电传感器发送的计数信号对所述第二级产品进行计数,并触发所述第二子采集单元采集所述第二级产品二维码信息;接收第二子采集单元发送的所述第二级产品二维码信息; The first programmable logic controller is configured to count the second-level products according to the counting signal sent by the second photoelectric sensor, and trigger the second sub-acquisition unit to collect the second-level products. Two-dimensional code information; receiving the two-dimensional code information of the second-level product sent by the second sub-acquisition unit;

第二子采集单元,用于根据所述第一可编程逻辑控制器的指令采集所述第二级产品二维码信息,并发送给所述第一可编程逻辑控制器。 The second sub-acquisition unit is configured to collect the two-dimensional code information of the second-level product according to the instruction of the first programmable logic controller, and send it to the first programmable logic controller.

优选地,所述第二采集装置还包括: Preferably, the second acquisition device further includes:

第二剔除装置,用于当所述第二子采集单元没有采集到所述第二级产品二维码信息时,根据所述第一可编程逻辑控制器的指令将所述第二级产品剔除。 The second removing device is used to reject the second-level product according to the instruction of the first programmable logic controller when the second sub-acquisition unit does not collect the two-dimensional code information of the second-level product .

优选地,所述第一可编程逻辑控制器将接收到的所述第一级产品二维码信息和所述第二级产品二维码信息进行关联。 Preferably, the first programmable logic controller associates the received first-level product two-dimensional code information with the second-level product two-dimensional code information.

优选地,所述第一可编程逻辑控制器将接收到的所述第一级产品二维码信息和所述第二级产品二维码信息进行关联,具体包括: Preferably, the first programmable logic controller associates the received first-level product two-dimensional code information with the second-level product two-dimensional code information, specifically including:

所述第一可编程逻辑控制器按照接收顺序将接收到的第一级产品二维码信息每n个排列为一行;其中n为每个第二级产品所包含的第一级产品个数; The first programmable logic controller arranges the received two-dimensional code information of the first-level products in a row according to the receiving order; where n is the number of first-level products contained in each second-level product;

所述第一可编程逻辑控制器按照接收顺序将接收到的第二级产品二维码信息分别与对应行的第一级产品二维码信息进行关联; The first programmable logic controller associates the received second-level product two-dimensional code information with the first-level product two-dimensional code information of the corresponding row respectively according to the receiving order;

所述第一可编程逻辑控制器建立所述第一级产品二维码信息与所述第二级产品二维码信息的对应关系。 The first programmable logic controller establishes a corresponding relationship between the first-level product two-dimensional code information and the second-level product two-dimensional code information.

本实用新型实施例所提供的二维码在线采集系统,具有以下有益效果: The two-dimensional code online collection system provided by the embodiment of the utility model has the following beneficial effects:

1、可以将多级包装中每一级产品的二维码进行关联,这样通过任何一级产品的二维码即可追踪到其他任何一级产品的销售情况,有利于对产品销售情况进行追踪和分析; 1. The QR code of each level of product in multi-level packaging can be associated, so that the sales of any other level of product can be tracked through the QR code of any level of product, which is conducive to tracking product sales and analysis;

2、通过对产品销售情况进行跟踪,为企业提供更加精准的数据分析,有利于企业制定更加适合市场的市场策略; 2. By tracking the sales of products, we can provide enterprises with more accurate data analysis, which is helpful for enterprises to formulate market strategies that are more suitable for the market;

3、通过任何一级产品的二维码信息,即可获取其他关联的二维码信息,这样能实现对产品的精准定位,有效打击了假冒伪劣产品的出现,保证了对流通渠道的有效管控。 3. Through the QR code information of any first-level product, other related QR code information can be obtained, which can realize accurate positioning of products, effectively combat the emergence of fake and inferior products, and ensure effective control of distribution channels .

附图说明 Description of drawings

为了更清楚地说明本实用新型实施例的技术方案,下面将对实施例或现有技术描述汇总所需要使用的附图作简单介绍,显而易见地,下面描述的附图仅仅是本实用新型的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that are required for the description of the embodiments or prior art descriptions. Obviously, the accompanying drawings described below are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本实用新型实施例所提供二维码在线关联系统的第一结构示意图; Fig. 1 is the first schematic structural diagram of the two-dimensional code online association system provided by the embodiment of the present invention;

图2是本实用新型实施例所提供二维码在线关联系统的第二结构示意图; Fig. 2 is a second structural schematic diagram of the two-dimensional code online association system provided by the embodiment of the present invention;

图3是本实用新型实施例所提供二维码在线关联方法的第一流程图; Fig. 3 is the first flowchart of the two-dimensional code online association method provided by the embodiment of the present invention;

图4是本实用新型实施例所提供二维码在线关联方法的第二流程图。 Fig. 4 is a second flow chart of the method for online association of two-dimensional codes provided by the embodiment of the present invention.

具体实施方式 detailed description

下面将结合本实用新型实施例中的附图,对本实用新型实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本实用新型一部分实施例,而不是全部的实施例。基于本实用新型的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本实用新型保护的范围。 The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. . Based on the embodiments of the present utility model, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of the present utility model.

实施例一: Embodiment one:

如图1所示,本实用新型实施例提供了一种二维码在线采集系统,所述系统包括第一采集装置1、第一包装设备2、第二采集装置3、第一可编程逻辑控制器(PLC)4及第一控制计算机5,其中: As shown in Figure 1, the embodiment of the present utility model provides a two-dimensional code online collection system, the system includes a first collection device 1, a first packaging device 2, a second collection device 3, a first programmable logic control device (PLC) 4 and the first control computer 5, wherein:

所述第一采集装置1和第二采集装置3分别位于所述第一包装设备2的两侧,生产流水线上的第一级产品经过第一采集装置1进入第一包装设备2后进行再次打包包装,再次打包包装后的产品称为第二级产品,第二级产品再经过第二采集装置3后进入另外的生产线流程。在整个过程中,第一采集装置1会采集第一级产品上所携带的二维码信息并发送给第一可编程逻辑控制器4,第二采集装置3会采集第二级产品上所携带的二维码信息并发送给第一可编程逻辑控制器4,所述第一可编程逻辑控制器4将接收到的第一级产品二维码信息及第二级产品二维码信息后进行关联绑定,并将关联绑定完成后的二维码关联关系发送给第一控制计算机5。 The first collection device 1 and the second collection device 3 are respectively located on both sides of the first packaging equipment 2, and the first-level products on the production line pass through the first collection device 1 and enter the first packaging equipment 2 for repackaging Packaging, the product after packaging again is called the second-level product, and the second-level product enters another production line process after passing through the second collection device 3 . During the whole process, the first collection device 1 will collect the two-dimensional code information carried on the first-level product and send it to the first programmable logic controller 4, and the second collection device 3 will collect the two-dimensional code information carried on the second-level product. two-dimensional code information and send it to the first programmable logic controller 4, and the first programmable logic controller 4 will receive the first-level product two-dimensional code information and the second-level product two-dimensional code information to carry out Association binding, and sending the two-dimensional code association relationship after the association binding is completed to the first control computer 5 .

在本实用新型实施例中,所述二维码在线采集系统还可以包括第一显示器6,整个二维码在线采集的过程可以通过第一显示器6显示出来,便于对二维码在线采集系统的整个操作过程进行操控。 In the embodiment of the present utility model, the two-dimensional code online collection system can also include a first display 6, and the entire two-dimensional code online collection process can be displayed through the first display 6, which is convenient for the two-dimensional code online collection system The entire operation process is controlled.

需要说明的是:所谓的第一级产品、第二级产品和第三级产品是按照包装顺序来命名的,如初始包装后的产品叫做第一级产品(一盒烟),经过二次包装后的产品叫做第二级产品(一条烟);经过第三次包装的产品叫做第三级产品(一箱烟),依次类推。 It should be noted that the so-called first-level products, second-level products and third-level products are named according to the order of packaging. For example, the product after the initial packaging is called the first-level product (a box of cigarettes), and after the The final product is called the second-level product (a pack of cigarettes); the third-packed product is called the third-level product (a box of cigarettes), and so on.

在本实用新型实施例中,第一包装设备2用来将产品打包或包装,可以将两个或者两个以上的第一级产品打包后形成第二级产品。 In the embodiment of the present utility model, the first packaging device 2 is used to package or package products, and two or more first-level products can be packaged to form a second-level product.

在本实用新型实施例中,所述第一采集装置1、第一包装设备2、第二采集装置3、第一控制计算机5及第一显示器6均可以与第一可编程逻辑控制器4电连接,第一可编程逻辑控制器4可以与前述任一设备进行信息交互,并控制前述设备的操作。 In the embodiment of the present utility model, the first collection device 1, the first packaging equipment 2, the second collection device 3, the first control computer 5 and the first display 6 can all be electrically connected to the first programmable logic controller 4 connected, the first programmable logic controller 4 can exchange information with any of the aforementioned devices, and control the operation of the aforementioned devices.

在本实用新型实施例中,第一采集装置1包括第一子采集单元101、第一剔除装置102、第一光电传感器103和第一安装支架104,其中第一子采集单元101、第一剔除装置102和第一光电传感器103均安装在第一安装支架104上,并与第一可编程逻辑控制器4电连接,具体的: In the embodiment of the present utility model, the first collection device 1 includes a first sub-collection unit 101, a first rejecting device 102, a first photoelectric sensor 103 and a first mounting bracket 104, wherein the first sub-collection unit 101, the first rejecting Both the device 102 and the first photoelectric sensor 103 are installed on the first mounting bracket 104, and are electrically connected to the first programmable logic controller 4, specifically:

当生产流水线上的第一级产品经过第一采集装置1时,第一光电传感器103先检测第一级产品是否到位,如果到位,则发送计数信号给第一可编程逻辑控制器4,第一可编程逻辑控制器4接收到第一光电传感器103发送的信号后开始计数,并触发第一子采集单元101拍照分析,采集第一级产品二维码信息,如果第一子采集单元101采集到第一级产品二维码信息,则将第一级产品二维码信息发送第一可编程逻辑控制器4,同时向第一可编程逻辑控制器4反馈ok信号,如果第一可编程逻辑控制器4接收到第一子采集单元101发送的ok信号,则将第一子采集单元101发送的第一级产品二维码信息保存在第一可编程逻辑控制器4上,如果第一可编程逻辑控制器4没有接收到第一子采集单元101发送的ok信号,则触发第一剔除装置102将所述第一级产品从产品线上剔除,不让其通过产品第一包装设备2。 When the first-level product on the production line passes through the first acquisition device 1, the first photoelectric sensor 103 first detects whether the first-level product is in place, and if it is in place, then sends a counting signal to the first programmable logic controller 4, the first The programmable logic controller 4 starts counting after receiving the signal sent by the first photoelectric sensor 103, and triggers the first sub-acquisition unit 101 to take pictures and analyze, and collects the first-level product two-dimensional code information. If the first sub-acquisition unit 101 collects The first-level product two-dimensional code information, then the first-level product two-dimensional code information is sent to the first programmable logic controller 4, and the ok signal is fed back to the first programmable logic controller 4 at the same time, if the first programmable logic controller The device 4 receives the ok signal sent by the first sub-acquisition unit 101, then saves the first-level product two-dimensional code information sent by the first sub-acquisition unit 101 on the first programmable logic controller 4, if the first programmable logic controller If the logic controller 4 does not receive the ok signal sent by the first sub-acquisition unit 101 , it triggers the first rejecting device 102 to remove the first-level product from the product line and prevent it from passing through the first product packaging equipment 2 .

在本实用新型实施例中,第二采集装置3包括第二子采集单元301、第二剔除装置302、第二光电传感器303和第二安装支架304,其中第二子采集单元301、第二剔除装置302和第二光电传感器303均安装在第二安装支架304,并与第一可编程逻辑控制器4电连接,具体的: In the embodiment of the present utility model, the second acquisition device 3 includes a second sub-acquisition unit 301, a second rejecting device 302, a second photoelectric sensor 303 and a second mounting bracket 304, wherein the second sub-acquisition unit 301, the second rejecting Both the device 302 and the second photoelectric sensor 303 are installed on the second mounting bracket 304, and are electrically connected to the first programmable logic controller 4, specifically:

当生产流水线上的第二级产品经过第二采集装置3时,第二光电传感器303先检测第二级产品是否到位,如果到位,则发送计数信号给第一可编程逻辑控制器4,第一可编程逻辑控制器4接收到第二光电传感器303发送的信号后开始计数,并触发第二子采集单元301拍照分析,采集第二级产品二维码信息,如果第二子采集单元301采集到第二级产品二维码信息,则将第二级产品二维码信息发送第一可编程逻辑控制器4,同时向第一可编程逻辑控制器4反馈ok信号,如果第一可编程逻辑控制器4接收到第二子采集单元301发送的ok信号,则将第二子采集单元301发送的第二级产品二维码信息保存在第一可编程逻辑控制器4上,如果第一可编程逻辑控制器4没有接收到第二子采集单元301发送的ok信号,则触发第二剔除装置302将所述第二级产品从产品线上剔除,不让其通过后续的产品线流程。 When the second-level product on the production line passes through the second acquisition device 3, the second photoelectric sensor 303 first detects whether the second-level product is in place, and if it is in place, then sends a counting signal to the first programmable logic controller 4, the first The programmable logic controller 4 starts counting after receiving the signal sent by the second photoelectric sensor 303, and triggers the second sub-acquisition unit 301 to take pictures and analyze, and collects the second-level product two-dimensional code information. If the second sub-acquisition unit 301 collects The second-level product two-dimensional code information, then the second-level product two-dimensional code information is sent to the first programmable logic controller 4, and the ok signal is fed back to the first programmable logic controller 4 at the same time, if the first programmable logic controller The device 4 receives the ok signal sent by the second sub-acquisition unit 301, then saves the second-level product two-dimensional code information sent by the second sub-acquisition unit 301 on the first programmable logic controller 4, if the first programmable logic controller If the logic controller 4 does not receive the ok signal sent by the second sub-acquisition unit 301 , it triggers the second rejecting device 302 to remove the second-level product from the production line and prevent it from passing through the subsequent production line process.

在本实用新型实施例中,第一可编程逻辑控制器4接收到第一级产品二维码信息和第二级产品二维码信息后,将所述第一级产品二维码信息和第二级产品二维码信息关联绑定。进一步的,第一可编程逻辑控制器4还可以将关联绑定后的第一级产品二维码信息和第二级产品二维码信息的对应关系发送给第一控制计算机5。 In the embodiment of the present utility model, after the first programmable logic controller 4 receives the first-level product two-dimensional code information and the second-level product two-dimensional code information, the first-level product two-dimensional code information and the second-level product two-dimensional code information are Secondary product QR code information association and binding. Further, the first programmable logic controller 4 may also send the corresponding relationship between the bound first-level product two-dimensional code information and the second-level product two-dimensional code information to the first control computer 5 .

实施例二: Embodiment two:

如图2所示,本实用新型实施例还提供了一种二维码在线采集系统,除了实施例一所提供的装置和单元外,还包括第三采集装置7、第二可编程逻辑控制器8、第二控制计算机9、第二显示器10等,其中: As shown in Figure 2, the embodiment of the present utility model also provides a two-dimensional code online acquisition system, in addition to the device and unit provided in Embodiment 1, it also includes a third acquisition device 7, a second programmable logic controller 8. The second control computer 9, the second display 10, etc., wherein:

第二采集装置3和第三采集装置7分别位于第二包装设备11的两端,第二采集装置3、第三采集装置7、第二控制计算机9和第二显示器10分别与第二可编程逻辑控制器8电连接,其中第三采集装置7和第二采集装置3的结构和功能相同,第二可编程逻辑控制器8与第一可编程逻辑控制器4的结构和功能相同,第二控制计算机9和第一控制计算机5的结构和功能相同。 The second collecting device 3 and the third collecting device 7 are respectively located at the two ends of the second packaging equipment 11, and the second collecting device 3, the third collecting device 7, the second control computer 9 and the second display 10 are respectively connected with the second programmable The logic controller 8 is electrically connected, wherein the structure and function of the third acquisition device 7 and the second acquisition device 3 are identical, and the structure and function of the second programmable logic controller 8 and the first programmable logic controller 4 are identical, and the second The structure and function of the control computer 9 and the first control computer 5 are the same.

第二可编程逻辑控制器8用来将将第二级产品二维码信息与第三级产品二维码信息进行关联绑定,具体原理可参照实施例一中将第一级产品二维码信息与第二级产品二维码信息进行关联绑定的具体描述。第二包装设备11其功能和结构与实施例一中第一包装设备2的功能与结构相同。 The second programmable logic controller 8 is used to associate and bind the two-dimensional code information of the second-level product and the two-dimensional code information of the third-level product. The specific principle can refer to the first-level product two-dimensional code in the first embodiment A specific description of the association and binding of information with the second-level product QR code information. The function and structure of the second packaging device 11 are the same as those of the first packaging device 2 in the first embodiment.

本实用新型实施例所提供的二维码在线采集系统,所述系统还包括数据收集设备12,其中: In the two-dimensional code online collection system provided by the embodiment of the present invention, the system also includes a data collection device 12, wherein:

数据收集设备12接收第一可编程逻辑控制器4发送的第一级产品二维码信息与第二级产品二维码信息的对应关系,接收第二可编程逻辑8控制器发送的第二级产品二维码信息与第三级产品二维码信息的对应关系,并根据第二级产品二维码信息将前述二维码信息进行关联绑定,建立第一级产品二维码信息、第二级产品二维码信息以及第三级产品二维码信息的对应关系。 The data collection device 12 receives the corresponding relationship between the first-level product two-dimensional code information sent by the first programmable logic controller 4 and the second-level product two-dimensional code information, and receives the second-level product two-dimensional code information sent by the second programmable logic controller 8. The corresponding relationship between the product QR code information and the third-level product QR code information, and according to the second-level product QR code information, the aforementioned two-dimensional code information is associated and bound, and the first-level product QR code information, the second-level product QR code information, and the second-level product QR code information are established. The corresponding relationship between the two-dimensional code information of the second-level product and the two-dimensional code information of the third-level product.

在本实用新型另外一个实施例中,数据收集设备12将建立的第一级产品二维码信息、第二级产品二维码信息以及第三级产品二维码信息的对应关系发送给服务器,便于后续的跟踪查询。 In another embodiment of the present invention, the data collection device 12 sends the established corresponding relationship between the first-level product two-dimensional code information, the second-level product two-dimensional code information, and the third-level product two-dimensional code information to the server, It is convenient for follow-up tracking inquiries.

在本实用新型实施例及后续的实施例中,所述的数据收集设备12可以是终端设备、平板电脑、PAD、智能终端等设备,可以用来收集产品二维码信息,以及不同产品二维码信息的对应关系。 In this utility model embodiment and subsequent embodiments, the data collection device 12 can be a terminal device, a tablet computer, a PAD, a smart terminal, etc., and can be used to collect product QR code information, as well as two-dimensional code information of different products. Corresponding relationship of code information.

实施例三: Embodiment three:

如图3所示,本实用新型实施例还提供了一种二维码在线关联方法,其具体应用场景以某个产品需要包装一次后进行销售为例进行说明,其中第一级产品经过第一次包装后形成第二级产品,所述第二级产品包含两个或两个以上的第一级产品,其关联方法具体包括: As shown in Figure 3, the embodiment of the utility model also provides an online association method of two-dimensional codes. The specific application scenario is described by taking a product that needs to be packaged once and then sold as an example. After secondary packaging, a second-level product is formed, and the second-level product contains two or more first-level products, and its associated methods specifically include:

A1、第一可编程逻辑控制器接收第一级产品二维码信息,并将所述第一级产品二维码信息存储在所述第一可编程逻辑控制器的存储器中; A1. The first programmable logic controller receives the first-level product two-dimensional code information, and stores the first-level product two-dimensional code information in the memory of the first programmable logic controller;

A2、当所述第一级产品包装完成形成第二级产品后,接收所述第二级产品二维码信息,所述第二级产品包含两个或两个以上的第一级产品; A2. After the first-level product packaging is completed to form a second-level product, receive the QR code information of the second-level product, and the second-level product includes two or more first-level products;

A3、将所述第一级产品二维码信息与所述第二级产品二维码信息进行关联。 A3. Associating the first-level product two-dimensional code information with the second-level product two-dimensional code information.

在本实用新型实施例中,所述关联方法还可以包括: In the embodiment of the utility model, the association method may also include:

A4、将所述关联后的第一级产品二维码信息与所述第二级产品二维码信息发送给所述第一控制计算机。 A4. Send the associated first-level product two-dimensional code information and the second-level product two-dimensional code information to the first control computer.

在本实用新型实施例中,第一可编程逻辑控制器将所述第一级产品二维码信息与所述第二级产品二维码信息进行关联后,建立所述第一级产品二维码信息与所述第二级产品二维码信息的对应关系,具体的:可以在第一可编程逻辑控制器设置数据存储列表,将第一级产品二维码信息与所述第二级产品二维码信息,以及他们之间的映射关系均保存在存储列表中。 In the embodiment of the utility model, after the first programmable logic controller associates the two-dimensional code information of the first-level product with the two-dimensional code information of the second-level product, it establishes a two-dimensional The corresponding relationship between the code information and the two-dimensional code information of the second-level product, specifically: the data storage list can be set in the first programmable logic controller, and the two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product The two-dimensional code information and the mapping relationship between them are stored in the storage list.

在本实用新型实施例中,第一可编程逻辑控制器在向第一控制计算机发送关联后的第一级产品二维码信息与所述第二级产品二维码信息时,可以将存储列表中的第一级产品二维码信息与第二级产品二维码信息,以及二者之间的映射关系发送给第一控制计算机。第一控制计算机接收并存储第一级产品二维码信息与第二级产品二维码信息,以及二者之间的映射关系。 In the embodiment of the utility model, when the first programmable logic controller sends the associated first-level product two-dimensional code information and the second-level product two-dimensional code information to the first control computer, the storage list The first-level product two-dimensional code information and the second-level product two-dimensional code information and the mapping relationship between the two are sent to the first control computer. The first control computer receives and stores the first-level product two-dimensional code information and the second-level product two-dimensional code information, as well as the mapping relationship between them.

在本实用新型实施例中,以香烟盒被包装成香烟条为例进行说明,当一盒香烟在生产流水线上经过第一采集装置采集二维码后被送入包装设备,经过包装设备打包后形成一条香烟(以一条香烟有10盒香烟为例进行说明),然后再经过第二采集装置采集二维码,具体的: In this utility model embodiment, the cigarette box is packaged into cigarette rods as an example for illustration. When a box of cigarettes is sent to the packaging equipment after being collected by the first acquisition device on the production line, after being packaged by the packaging equipment Form a cigarette (take a cigarette with 10 boxes of cigarettes as an example), and then collect the QR code through the second collection device, specifically:

当香烟盒(第一级产品)在生产流水线上经过第一采集装置时,第一光电传感器感应到香烟盒后,触发第一可编程逻辑控制器开始计数,第一可编程逻辑控制器开始计数时同时也触发第一子采集单元扫描香烟盒上的二维码,第一子采集单元采集到香烟盒上的二维码后,将香烟盒的二维码上传给第一可编程逻辑控制器,并保存在第一可编程逻辑控制器上。在第一可编程逻辑控制器上根据上传的顺序依次保存有第1个、第2个……第n个香烟盒的二维码,每n个二维码信息排成一行,其中n为每条香烟所包含的香烟盒的个数,本实用新型实施例以n=10为例进行说明。香烟盒被包装成为一条香烟后,香烟条(第二级产品)上也有二维码信息,包装后的香烟条经过第二采集装置时,按照同样的流程,第一可编程逻辑控制器收集香烟条上的二维码信息并依次保存为第1个、第2个……第m个。第一可编程逻辑控制器将香烟盒上的二维码信息与其对应的香烟条上的二维码信息进行关联,具体的,可以将按照顺序将第一香烟条的二维码信息与第一行香烟盒的二维码信息进行关联,建立香烟盒二维码和与香烟条二维码的关联关系。 When the cigarette box (first-level product) passes the first acquisition device on the production line, the first photoelectric sensor senses the cigarette box, triggers the first programmable logic controller to start counting, and the first programmable logic controller starts counting At the same time, the first sub-acquisition unit is also triggered to scan the two-dimensional code on the cigarette box. After the first sub-acquisition unit collects the two-dimensional code on the cigarette box, it uploads the two-dimensional code on the cigarette box to the first programmable logic controller , and stored on the first programmable logic controller. On the first programmable logic controller, according to the order of uploading, the two-dimensional codes of the first, second, ... nth cigarette boxes are stored in sequence, and the information of each n two-dimensional codes is arranged in a row, where n is each As for the number of cigarette boxes contained in a cigarette, the embodiment of the utility model takes n=10 as an example for illustration. After the cigarette box is packaged into a cigarette, the cigarette stick (secondary product) also has two-dimensional code information. When the packaged cigarette stick passes through the second collection device, the first programmable logic controller collects the cigarette according to the same process. The two-dimensional code information on the bar is saved as the 1st, 2nd...mth in turn. The first programmable logic controller associates the two-dimensional code information on the cigarette box with the two-dimensional code information on the corresponding cigarette stick. Specifically, the two-dimensional code information on the first cigarette stick and the first The two-dimensional code information of the cigarette box is associated, and the relationship between the two-dimensional code of the cigarette box and the two-dimensional code of the cigarette bar is established.

实施例四: Embodiment four:

如图4所示,本实用新型实施例还提供了一种二维码的在线关联方法,其具体应用场景以某个产品需要两级包装后进行销售为例进行说明,其中第一级产品经过第一次包装后形成第二级产品,第二级产品再经过包装后形成第三级产品,所述第二级产品包含两个或两个以上的第一级产品,所述第三级产品包含两个或两个以上的第二级产品,根据实施例所示的方法可以获取所述第一级产品二维码信息与所述第二级产品二维码信息的对应关系,以及所述第二级产品二维码信息与所述第三级产品二维码信息的对应关系,具体的: As shown in Figure 4, the embodiment of the present invention also provides an online association method of two-dimensional codes. The specific application scenario is described by taking a product that requires two-level packaging for sale as an example. After the first packaging, a second-level product is formed, and the second-level product is packaged to form a third-level product. The second-level product contains two or more first-level products, and the third-level product Including two or more second-level products, according to the method shown in the embodiment, the corresponding relationship between the two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product can be obtained, and the The corresponding relationship between the two-dimensional code information of the second-level product and the two-dimensional code information of the third-level product, specifically:

B1、数据收集设备接收第一可编程逻辑控制器发送的所述第一级产品二维码信息与所述第二级产品二维码信息的对应关系; B1. The data collection device receives the corresponding relationship between the first-level product two-dimensional code information and the second-level product two-dimensional code information sent by the first programmable logic controller;

B2、数据收集设备接收第二可编程逻辑控制器发送的所述第二级产品二维码信息与所述第三级产品二维码信息的对应关系; B2. The data collection device receives the corresponding relationship between the two-dimensional code information of the second-level product and the two-dimensional code information of the third-level product sent by the second programmable logic controller;

B3、数据收集设备根据所述第二级产品二维码信息将所述第一级产品二维码信息、所述第二级产品二维码信息与所述第三级产品二维码信息进行关联,建立所述第一级产品二维码信息、所述第二级产品二维码信息与所述第三级产品二维码信息的对应关系。 B3. The data collection device compares the two-dimensional code information of the first-level product, the two-dimensional code information of the second-level product, and the two-dimensional code information of the third-level product according to the two-dimensional code information of the second-level product Associating, establishing a corresponding relationship between the first-level product two-dimensional code information, the second-level product two-dimensional code information, and the third-level product two-dimensional code information.

在本实用新型实施例中,所述关联方法还可以包括: In the embodiment of the utility model, the association method may also include:

B4、数据收集设备还将所述建立的所述第一级产品二维码信息、第二级产品二维码信息和第三级产品二维码信息的对应关系发送给服务器。 B4. The data collection device also sends the established corresponding relationship between the first-level product two-dimensional code information, the second-level product two-dimensional code information, and the third-level product two-dimensional code information to the server.

在本实用新型实施例中,由于存在二级包装,因此可编程逻辑控制器和控制计算机均有两套,即第一可编程逻辑控制器,第二可编程逻辑控制器、第一控制计算机和第二控制计算机,其中: In the embodiment of the utility model, due to the existence of secondary packaging, there are two sets of programmable logic controllers and control computers, that is, the first programmable logic controller, the second programmable logic controller, the first control computer and a second control computer, wherein:

C1、第一可编程逻辑控制器将第一级产品二维码信息和第二级产品二维码信息进行关联,建立第一级产品二维码信息和第二级产品二维码信息的对应关系并发送给第一控制计算机; C1. The first programmable logic controller associates the first-level product two-dimensional code information with the second-level product two-dimensional code information, and establishes the correspondence between the first-level product two-dimensional code information and the second-level product two-dimensional code information relationship and send it to the first control computer;

C2、第二可编程逻辑控制器将第二级产品二维码信息和第三级产品二维码信息进行关联,建立第二级产品二维码信息和第三级产品二维码信息的对应关系并发送给第二控制计算机; C2. The second programmable logic controller associates the two-dimensional code information of the second-level product with the two-dimensional code information of the third-level product, and establishes the correspondence between the two-dimensional code information of the second-level product and the two-dimensional code information of the third-level product relationship and send it to the second control computer;

C3、第一控制计算机将接收到的第一级产品二维码信息和第二级产品二维码信息的对应关系发送给数据收集设备; C3. The first control computer sends the corresponding relationship between the received first-level product two-dimensional code information and the second-level product two-dimensional code information to the data collection device;

C4、第二控制计算机将接收到的第二级产品二维码信息和第三级产品二维码信息的对应关系发送给数据收集设备; C4. The second control computer sends the corresponding relationship between the received second-level product two-dimensional code information and the third-level product two-dimensional code information to the data collection device;

C5、数据收集设备以第二级产品二维码信息为索引,根据接收到的二维码信息的对应关系,建立第一级产品二维码信息、第二级产品二维码信息和第三级产品二维码信息的对应关系。 C5. The data collection device takes the second-level product QR code information as an index, and establishes the first-level product QR code information, the second-level product QR code information and the third-level product QR code information according to the corresponding relationship between the received two-dimensional code information. The corresponding relationship of QR code information of high-level products.

在本实用新型实施例中,数据收集设备将接收到的二维码对应关系可以存储在哈希表中。 In the embodiment of the present utility model, the corresponding relationship of the two-dimensional codes received by the data collection device may be stored in a hash table.

在本实用新型实施例中,数据收集设备先收集到第一级产品二维码信息和第二级产品二维码信息的对应关系,保存在数据收集设备上的哈希表中,并以第二级产品二维码信息为索引,当数据收集设备收集到第二级产品二维码信息和第三级产品二维码信息的对应关系时,根据索引,直接将第二级产品二维码信息和第三级产品二维码信息的对应关系匹配到预先建立的哈希表中,这样就建立了第一级产品二维码信息、第二级产品二维码信息和第三级产品二维码信息的对应关系。 In the embodiment of the utility model, the data collection device first collects the corresponding relationship between the first-level product two-dimensional code information and the second-level product two-dimensional code information, saves it in the hash table on the data collection device, and uses the second-level The second-level product QR code information is used as an index. When the data collection equipment collects the corresponding relationship between the second-level product QR code information and the third-level product QR code information, according to the index, the second-level product QR code The corresponding relationship between the information and the third-level product QR code information is matched to the pre-established hash table, so that the first-level product QR code information, the second-level product QR code information and the third-level product two-dimensional code information are established. Correspondence between two-dimensional code information.

本实用新型实施例是以产品需要二级包装为例进行的描述,如果存在更多级别的包装,则采用相同的方法依次类推即可。 The embodiment of the utility model is described as an example where the product needs secondary packaging. If there are more levels of packaging, the same method can be used and so on.

本实用新型实施例中,接收数据收集设备发送的所述第一级产品二维码信息、第二级产品二维码信息和第三级产品二维码信息的对应关系的服务器可以是普通的服务器,也可以是云存储服务器。 In the embodiment of the present utility model, the server that receives the corresponding relationship between the first-level product two-dimensional code information, the second-level product two-dimensional code information and the third-level product two-dimensional code information sent by the data collection device may be an ordinary The server may also be a cloud storage server.

实施例五: Embodiment five:

例如在香烟销售领域,为了确保不出现假烟以及了解整箱香烟的销售情况,使用前述实施例一至四所提供的系统和方法即可达到目的,具体方案如下: For example, in the field of cigarette sales, in order to ensure that there are no counterfeit cigarettes and to understand the sales situation of the whole box of cigarettes, the purpose can be achieved by using the systems and methods provided in the foregoing embodiments 1 to 4, and the specific scheme is as follows:

在生产线上的烟盒到达第一采集装置的采集位置后,由第一光电传感器通知第一可编程逻辑控制器开始计数,第一可编程逻辑控制器计数后并触发第一子采集单元读取烟盒的二维码,第一子采集单元将烟盒的二维码数据发送给第一可编程逻辑控制器,由第一可编程逻辑控制器在内存队列中按先后顺序做排序,每n个二维码(n为一条烟包含的烟盒数量)组成一行,排序过程中在队列的尾部始终有x(0<=x<n)个二维码未满一行,需要将其排除,当烟盒经过第一包装设备包装完成后,形成整条烟,烟条在生产流水线上经过第二采集装置时,由第二光电传感器通知第一可编程逻辑控制器开始计数,第一可编程逻辑控制器计数后并触发第二子采集单元读取烟盒的二维码,第二子采集单元将烟条的二维码数据发送给第一可编程逻辑控制器,由第一可编程逻辑控制器在内存中将排序的烟盒二维码按行的先后顺序,取最前一行中的二维码和烟条二维码绑定。在绑定的过程中从第一采集装置到第二采集装置之间存在一段数据缓存(例如有y行已经排列完毕,等待做绑定),则在第一可编程逻辑控制器中需要维持y个子码的序列,这样保证绑定数据的准确。烟盒和烟条的二维码数据绑定完毕后可以通过网络传送给第一控制计算机。在通过网络传送数据时,还可以将采集过程中的检测数量、剔除数量及正品数量也传入第一控制计算机。另外,在采集的过程中第一可编程逻辑控制器会接收采集器的ok信号,没有ok信号的,发动第一剔除装置进行剔除,这样既可完成“盒-条”的二维码绑定。 After the cigarette packs on the production line arrive at the collection position of the first collection device, the first photoelectric sensor notifies the first programmable logic controller to start counting, and the first programmable logic controller triggers the first sub-collection unit to read For the two-dimensional code of the cigarette case, the first sub-acquisition unit sends the two-dimensional code data of the cigarette case to the first programmable logic controller, and the first programmable logic controller sorts the two-dimensional code in the memory queue sequentially, every n Two-dimensional codes (n is the number of cigarette packs contained in one cigarette) form a line. During the sorting process, there are always x (0<=x<n) two-dimensional codes at the end of the queue that are not full of one line, which need to be excluded. When After the cigarette box is packaged by the first packaging equipment, the whole cigarette is formed. When the cigarette rod passes the second collection device on the production line, the second photoelectric sensor notifies the first programmable logic controller to start counting, and the first programmable logic controller starts counting. After the controller counts and triggers the second sub-acquisition unit to read the two-dimensional code of the cigarette box, the second sub-acquisition unit sends the two-dimensional code data of the cigarette rod to the first programmable logic controller, which is controlled by the first programmable logic The device sorts the two-dimensional codes of the cigarette packs in the memory according to the order of the rows, and binds the two-dimensional codes in the first row with the two-dimensional codes of the cigarette sticks. During the binding process, there is a section of data cache between the first acquisition device and the second acquisition device (for example, y rows have been arranged and are waiting for binding), then it is necessary to maintain y in the first programmable logic controller A sequence of subcodes, so as to ensure the accuracy of the binding data. After the two-dimensional code data binding of the cigarette case and the cigarette rod is completed, it can be transmitted to the first control computer through the network. When the data is transmitted through the network, the detected quantity, the rejected quantity and the genuine product quantity in the collection process can also be transmitted to the first control computer. In addition, during the collection process, the first programmable logic controller will receive the ok signal of the collector. If there is no ok signal, the first rejecting device will be activated to remove it, so that the two-dimensional code binding of "box-strip" can be completed .

在本实用新型实施例中,不但在卷烟产线的“盒-条”部位布置一套二维码在线采集系统,而且还可以在“条-箱”的部位也布置一套二维码在线采集系统,使用相似的原理,即可实现“条-箱”的二维码绑定。 In the embodiment of the present utility model, not only a set of two-dimensional code online collection system is arranged in the "box-bar" part of the cigarette production line, but also a set of two-dimensional code online collection system can also be arranged in the "bar-box" part System, using a similar principle, can realize the "bar-box" QR code binding.

当“盒-条”的二维码绑定以及“条-箱”的二维码绑定均完成后,即可实现“盒-条-箱”的二维码绑定,具体过程如下: When the QR code binding of "Box-Bar" and "Bar-Box" are completed, the QR code binding of "Box-Bar-Box" can be realized. The specific process is as follows:

在生产采集的过程中“盒-条”二维码绑定数据首先从第一控制计算机发送至数据收集设备,“条-箱”二维码绑定数据从第二控制计算机发送至数据收集设备,在“条-箱”二维码绑定数据发送至数据收集设备时,“盒-条”二维码绑定数据其实已经存在于数据收集设备。为了方便查找连接数据,在数据收集设备上可以建立一个哈希表,在“盒-条”数据进入数据收集设备时将条上的二维码数据放入哈希表中,在“条-箱”数据进入数据收集设备时,对箱中的每一条烟上的二维码数据在哈希表中查找相应的“盒-条”数据,并将其关联起来,这时候就完成了对整箱烟的二维码数据关联。 In the process of production collection, the "box-strip" two-dimensional code binding data is first sent from the first control computer to the data collection equipment, and the "box-box" two-dimensional code binding data is sent from the second control computer to the data collection equipment , when the "box-box" QR code binding data is sent to the data collection device, the "box-bar" QR code binding data actually already exists in the data collection device. In order to facilitate the search for connection data, a hash table can be established on the data collection device. When the "box-strip" data enters the data collection device, the QR code data on the strip is put into the hash table. "When the data enters the data collection device, look up the corresponding "box-bar" data in the hash table for the QR code data on each cigarette in the box, and associate them. At this time, the whole box is completed. Cigarette QR code data association.

在本实用新型实施例中,当整箱烟的二维码数据绑定关联完毕后,数据被上传至服务器,将“盒-条-箱”的这种对应关系存储于服务器的数据库中,完成数据的激活。当消费者查询某一级二维码的时候,会记录消费者的位置和查询时间等信息。如果是查询盒包装上的二维码,后台数据库可帮助显示该盒烟所在的条装二维码是否被扫描过及同条件下的其它盒是否被扫描过并显示扫描的时间、地点;如果是查询条包装上的二维码,后台数据库可帮助显示该条烟所在的箱装二维码是否被扫描过及该条烟下的盒装二维码是否被扫描过并显示扫描时间、地点;如果第一次拆封,还可根据扫描记录判断是否有假货存在,如果是查询箱包装的二维码,可显示该箱下是否有条包装或盒包装二维码被扫描过并显示扫描的时间、地点,如果是第一次拆封,还可根据扫描记录判断是否有假货存在。显示的方式可以是图标方式显示上下级关系,不显示具体二维码内容。 In the embodiment of the present invention, after the two-dimensional code data binding and association of the whole box of cigarettes is completed, the data is uploaded to the server, and the corresponding relationship of "box-carton-box" is stored in the database of the server to complete Data activation. When a consumer queries a certain level of QR code, information such as the consumer's location and query time will be recorded. If you are querying the QR code on the box packaging, the background database can help to display whether the QR code of the box where the box is located has been scanned and whether other boxes under the same conditions have been scanned and display the time and place of scanning; if It is to query the QR code on the packaging of the cigarette. The background database can help to display whether the QR code of the box where the cigarette is located and whether the QR code of the box under the cigarette has been scanned and display the scanning time and location ; If it is unpacked for the first time, you can also judge whether there is a fake product based on the scanning record. If you query the QR code of the box packaging, it can display whether there is a package or box packaging QR code under the box that has been scanned and displayed The time and place of scanning, if it is the first unpacking, can also judge whether there is a fake according to the scanning record. The display method can be to display the relationship between the superior and the subordinate in the form of an icon, without displaying the specific content of the QR code.

另外,本实用新型在采集绑定二维码的过程中还可以根据具体的需要关联具体的香烟产品信息,查询时还可以显示香烟信息的具体内容,在此不再赘述。 In addition, the utility model can also associate specific cigarette product information according to specific needs during the process of collecting and binding the two-dimensional code, and can also display the specific content of the cigarette information when inquiring, which will not be repeated here.

应该理解,本实用新型实施例一至五所提供的技术方案,其具有内在的逻辑关系,本领域技术人员在不用付出创造性劳动的前提下,可以将实施例一至五所提供的任何方案以任何方式进行组合,得到新的技术方案,均在本实用新型的保护范围之内。 It should be understood that the technical solutions provided by Embodiments 1 to 5 of the present utility model have an inherent logical relationship, and those skilled in the art can combine any of the solutions provided by Embodiments 1 to 5 in any way without creative labor. , to obtain new technical solutions, all within the protection scope of the present utility model.

应该理解,本实用新型的各种实施例中,上述各过程中序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本实用新型实施例的实施过程构成任何限定。 It should be understood that in various embodiments of the present utility model, the size of the serial numbers in the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not be used to implement the present utility model. The implementation of the examples constitutes no limitation.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟是以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本实用新型的范围。 Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are performed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

总之,以上所述仅为本实用新型技术方案的较佳实施例而已,并非用于限定本实用新型的保护范围。凡在本实用新型的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本实用新型的保护范围之内。 In a word, the above descriptions are only preferred embodiments of the technical solutions of the present utility model, and are not intended to limit the protection scope of the present utility model. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present utility model shall be included in the protection scope of the present utility model.

Claims (10)

1.一种二维码在线采集系统,其特征在于:所述系统包括第一采集装置(1)、第二采集装置(3)、第一可编程逻辑控制器(4)和第一控制计算机(5),其中:所述第一采集装置(1)和第二采集装置(3)分别位于包装设备(2)的两侧;所述第一可编程逻辑控制器(4)分别与所述第一采集装置(1)、所述第二采集装置(3)和所述第一控制计算机(5)电连接。 1. A two-dimensional code online collection system is characterized in that: said system comprises a first collection device (1), a second collection device (3), a first programmable logic controller (4) and a first control computer (5), wherein: the first collection device (1) and the second collection device (3) are respectively located on both sides of the packaging equipment (2); the first programmable logic controller (4) is connected to the The first collection device (1), the second collection device (3) and the first control computer (5) are electrically connected. 2.根据权利要求1所述的系统,其特征在于: 2. The system of claim 1, wherein: 所述第一采集装置(1),用于采集第一级产品二维码信息,并将所述第一级产品二维码信息发送给所述第一可编程逻辑控制器(4); The first collecting device (1) is configured to collect first-level product two-dimensional code information, and send the first-level product two-dimensional code information to the first programmable logic controller (4); 所述包装设备(2),用于将所述第一级产品进行包装,形成第二级产品; The packaging equipment (2) is used for packaging the first-level product to form a second-level product; 所述第二采集装置(3),用于采集所述第二级产品二维码信息,并将所述第二级产品二维码信息发送给所述第一可编程逻辑控制器(4); The second collection device (3) is used to collect the two-dimensional code information of the second-level product, and send the two-dimensional code information of the second-level product to the first programmable logic controller (4) ; 所述第一可编程逻辑控制器(4),用于接收所述第一级产品二维码信息与所述第二级产品二维码信息,并将所述第一级产品二维码信息及所述第二级产品二维码信息进行关联。 The first programmable logic controller (4) is configured to receive the two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product, and store the two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product are associated. 3.根据权利要求2所述的系统,其特征在于: 3. The system of claim 2, wherein: 所述第一采集装置(1)包括第一子采集单元(101)、第一剔除装置(102)、第一光电传感器(103)和第一安装支架(104),其中所述第一子采集单元(101)、所述第一剔除装置(102)和所述第一光电传感器(103)均安装在所述第一安装支架(104)上,所述第一子采集单元(101)、所述第一剔除装置(102)和所述第一光电传感器(103)与所述第一可编程逻辑控制器(4)电连接。 The first acquisition device (1) includes a first sub-acquisition unit (101), a first rejection device (102), a first photoelectric sensor (103) and a first mounting bracket (104), wherein the first sub-acquisition The unit (101), the first rejecting device (102) and the first photoelectric sensor (103) are all installed on the first mounting bracket (104), the first sub-acquisition unit (101), the The first rejecting device (102) and the first photoelectric sensor (103) are electrically connected to the first programmable logic controller (4). 4.根据权利要求3所述的系统,其特征在于: 4. The system of claim 3, wherein: 所述第一光电传感器(103),用于检测到所述第一级产品到达检测位置时,通知所述第一可编程逻辑控制器(4)开始计数; The first photoelectric sensor (103) is configured to notify the first programmable logic controller (4) to start counting when detecting that the first-level product reaches a detection position; 所述第一可编程逻辑控制器(4),用于接收到所述第一光电传感器(103)开始计数的信息后,对所述第一级产品进行计数并触发所述第一子采集单元(101)采集所述第一级产品二维码信息,接收所述第一子采集单元(101)发送的所述第一级产品二维码信息; The first programmable logic controller (4) is configured to count the first-level products and trigger the first sub-acquisition unit after receiving the information that the first photoelectric sensor (103) starts counting (101) collecting the two-dimensional code information of the first-level product, and receiving the two-dimensional code information of the first-level product sent by the first sub-acquisition unit (101); 所述第一子采集单元(101),用于根据所述第一可编程逻辑控制器(4)的指令采集所述第一级产品二维码信息,并发送给所述第一可编程逻辑控制器(4)。 The first sub-acquisition unit (101) is configured to collect the two-dimensional code information of the first-level product according to the instruction of the first programmable logic controller (4), and send it to the first programmable logic controller (4) controller (4). 5.根据权利要求4所述的系统,其特征在于:所述第一采集装置(1)还包括: 5. The system according to claim 4, characterized in that: the first collection device (1) further comprises: 第一剔除装置(102),用于当所述第一子采集单元(101)没有采集到所述第一级产品二维码信息时,根据所述第一可编程逻辑控制器(4)的指令将所述第一级产品剔除。 The first rejecting device (102), is used for when the first sub-acquisition unit (101) does not collect the two-dimensional code information of the first-level product, according to the first programmable logic controller (4) Instructions to reject said primary product. 6.根据权利要求3所述的系统,其特征在于:所述第二采集装置(3)包括第二子采集单元(301)、第二剔除装置(302)和第二光电传感器(303)和第二安装支架(304),所述第二子采集单元(301)、所述第二剔除装置(302)和所述第二光电传感器(303)均安装在所述第二安装支架(304)上,所述第二子采集单元(301)、所述第二剔除装置(302)和所述第二光电传感器(303)与所述第一可编程逻辑控制器(4)电连接。 6. The system according to claim 3, characterized in that: the second collection device (3) comprises a second sub-collection unit (301), a second rejecting device (302) and a second photoelectric sensor (303) and The second mounting bracket (304), the second sub-acquisition unit (301), the second rejecting device (302) and the second photoelectric sensor (303) are all installed on the second mounting bracket (304) Above, the second sub-acquisition unit (301), the second rejecting device (302) and the second photoelectric sensor (303) are electrically connected to the first programmable logic controller (4). 7.根据权利要求6所述的系统,其特征在于: 7. The system of claim 6, wherein: 所述第二光电传感器(303),用于检测到所述第二级产品到达检测位置时,通知所述第一可编程逻辑控制器(4)开始计数; The second photoelectric sensor (303) is configured to notify the first programmable logic controller (4) to start counting when detecting that the second-level product reaches a detection position; 所述第一可编程逻辑控制器(4),用于根据所述第二光电传感器(303)发送的计数信号对所述第二级产品进行计数,并触发所述第二子采集单元(301)采集所述第二级产品二维码信息;接收第二子采集单元(301)发送的所述第二级产品二维码信息; The first programmable logic controller (4) is configured to count the second-level products according to the counting signal sent by the second photoelectric sensor (303), and trigger the second sub-acquisition unit (301 ) collecting the two-dimensional code information of the second-level product; receiving the two-dimensional code information of the second-level product sent by the second sub-acquisition unit (301); 第二子采集单元(301),用于根据所述第一可编程逻辑控制器(4)的指令采集所述第二级产品二维码信息,并发送给所述第一可编程逻辑控制器(4)。 The second sub-acquisition unit (301), configured to collect the two-dimensional code information of the second-level product according to the instruction of the first programmable logic controller (4), and send it to the first programmable logic controller (4). 8.根据权利要求6所述的系统,其特征在于:所述第二采集装置(3)还包括: 8. The system according to claim 6, characterized in that: the second acquisition device (3) further comprises: 第二剔除装置(302),用于当所述第二子采集单元(301)没有采集到所述第二级产品二维码信息时,根据所述第一可编程逻辑控制器(4)的指令将所述第二级产品剔除。 The second rejecting device (302), is used for when the second sub-acquisition unit (301) does not collect the two-dimensional code information of the second-level product, according to the first programmable logic controller (4) Instructions to reject said secondary product. 9.根据权利要求8所述的系统,其特征在于:所述第一可编程逻辑控制器(4)将接收到的所述第一级产品二维码信息和所述第二级产品二维码信息进行关联。 9. The system according to claim 8, characterized in that: the first programmable logic controller (4) converts the received two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product code information. 10.根据权利要求9所述的系统,其特征在于:所述第一可编程逻辑控制器(4)将接收到的所述第一级产品二维码信息和所述第二级产品二维码信息进行关联,具体包括: 10. The system according to claim 9, characterized in that: the first programmable logic controller (4) converts the received two-dimensional code information of the first-level product and the two-dimensional code information of the second-level product code information, including: 所述第一可编程逻辑控制器(4)按照接收顺序将接收到的第一级产品二维码信息每n个排列为一行;其中n为每个第二级产品所包含的第一级产品个数; The first programmable logic controller (4) arranges the received first-level product two-dimension code information in a row every n according to the receiving order; where n is the first-level product contained in each second-level product number; 所述第一可编程逻辑控制器(4)按照接收顺序将接收到的第二级产品二维码信息分别与对应行的第一级产品二维码信息进行关联; The first programmable logic controller (4) associates the received second-level product two-dimensional code information with the first-level product two-dimensional code information of the corresponding line according to the receiving order; 所述第一可编程逻辑控制器(4)建立所述第一级产品二维码信息与所述第二级产品二维码信息的对应关系。 The first programmable logic controller (4) establishes a corresponding relationship between the first-level product two-dimensional code information and the second-level product two-dimensional code information.
CN201520900512.3U 2015-11-12 2015-11-12 Online collection system of two -dimensional code Expired - Lifetime CN205139933U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520900512.3U CN205139933U (en) 2015-11-12 2015-11-12 Online collection system of two -dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520900512.3U CN205139933U (en) 2015-11-12 2015-11-12 Online collection system of two -dimensional code

Publications (1)

Publication Number Publication Date
CN205139933U true CN205139933U (en) 2016-04-06

Family

ID=55625703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520900512.3U Expired - Lifetime CN205139933U (en) 2015-11-12 2015-11-12 Online collection system of two -dimensional code

Country Status (1)

Country Link
CN (1) CN205139933U (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303147A (en) * 2015-11-12 2016-02-03 上海透云物联网科技有限公司 Two-dimension code online collection system, online association method and data collection device
CN106391503A (en) * 2016-08-26 2017-02-15 刘文战 Counterfeiting and channeling prevention association system based on single chip microcomputer communication control equipment
CN108284981A (en) * 2017-12-28 2018-07-17 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel mounted box method
CN108298138A (en) * 2017-12-28 2018-07-20 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel boxing device send case structure
CN108298137A (en) * 2017-12-28 2018-07-20 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel boxing device front delivery mechanism
CN108313374A (en) * 2017-12-28 2018-07-24 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel boxing device
CN110329604A (en) * 2019-07-10 2019-10-15 合肥友高物联网标识设备有限公司 A kind of endowed, detection, the control method rejected based on eight station packing machines
CN110329605A (en) * 2019-07-10 2019-10-15 合肥友高物联网标识设备有限公司 It is a kind of based on vertical or horizontal packing machine endowed detection control method
CN110482169A (en) * 2019-08-23 2019-11-22 河南省酷美智能科技有限公司 The information of Mobile phone PCB SMT patch conveying is collected and counting equipment
CN111160054A (en) * 2019-11-28 2020-05-15 北京爱创科技股份有限公司 System and method for simultaneously acquiring and forming association
CN111994325A (en) * 2019-05-26 2020-11-27 深圳华龙讯达信息技术股份有限公司 Method for realizing online association of unique codes of cigarette packets through three-time code reading

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303147A (en) * 2015-11-12 2016-02-03 上海透云物联网科技有限公司 Two-dimension code online collection system, online association method and data collection device
CN106391503A (en) * 2016-08-26 2017-02-15 刘文战 Counterfeiting and channeling prevention association system based on single chip microcomputer communication control equipment
CN106391503B (en) * 2016-08-26 2019-03-26 刘文战 A kind of anti-fake anti-channeling interconnected system based on single chip communication control equipment
CN108298138A (en) * 2017-12-28 2018-07-20 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel boxing device send case structure
CN108298137A (en) * 2017-12-28 2018-07-20 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel boxing device front delivery mechanism
CN108313374A (en) * 2017-12-28 2018-07-24 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel boxing device
CN108284981A (en) * 2017-12-28 2018-07-17 芜湖瑞思机器人有限公司 A kind of Aloe Vera Gel mounted box method
CN111994325A (en) * 2019-05-26 2020-11-27 深圳华龙讯达信息技术股份有限公司 Method for realizing online association of unique codes of cigarette packets through three-time code reading
CN110329604A (en) * 2019-07-10 2019-10-15 合肥友高物联网标识设备有限公司 A kind of endowed, detection, the control method rejected based on eight station packing machines
CN110329605A (en) * 2019-07-10 2019-10-15 合肥友高物联网标识设备有限公司 It is a kind of based on vertical or horizontal packing machine endowed detection control method
CN110329604B (en) * 2019-07-10 2022-02-08 合肥友高物联网标识设备有限公司 Control method for code assigning, detecting and rejecting based on eight-station packaging machine
CN110482169A (en) * 2019-08-23 2019-11-22 河南省酷美智能科技有限公司 The information of Mobile phone PCB SMT patch conveying is collected and counting equipment
CN111160054A (en) * 2019-11-28 2020-05-15 北京爱创科技股份有限公司 System and method for simultaneously acquiring and forming association

Similar Documents

Publication Publication Date Title
CN205139933U (en) Online collection system of two -dimensional code
CN105512167B (en) A kind of multi-service user data management system and method based on hybrid database
CN105303147A (en) Two-dimension code online collection system, online association method and data collection device
CN108268565B (en) Method and system for processing user browsing behavior data based on data warehouse
CN113672743B (en) Fault judging method, device, electronic equipment, storage medium and product
CN103793479A (en) Log management method and log management system
CN105045872A (en) Information screening method and information screening device
CN113435812A (en) Order full-link track generation method, device, equipment and storage medium
CN106294826A (en) A kind of company-data Query method in real time and system
CN106534784A (en) Acquisition analysis storage statistical system for video analysis data result set
CN105528447B (en) The layer-by-layer method summarized when rejecting of a kind of pair of specific data
CN106485447A (en) Browse method, the apparatus and system of the data processing of commodity behavior based on user
CN104965863B (en) An object clustering method and device
CN105205686A (en) Method and system for obtaining product price information
CN102346901A (en) Internet medicine trading subject credit assessment system and method
CN109102049A (en) A kind of product information retroactive method
CN107992492A (en) A kind of storage method of data block, read method, its device and block chain
CN103336771A (en) Data similarity detection method based on sliding window
CN114549052A (en) Data-based accurate marketing method, device, equipment and storage medium
CN104268289A (en) Link URL (Uniform Resource Locator) failure detection method and device
CN110738415A (en) Electricity stealing user analysis method based on electricity utilization acquisition system and outlier algorithm
CN106201917A (en) A kind of data handling system and method
CN107153702A (en) A kind of data processing method and device
CN106682206A (en) Method and system for big data processing
CN109902215A (en) A kind of method and system of deals match

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20160406

CX01 Expiry of patent term