CN114841303A - Cabinet counting method and device - Google Patents
Cabinet counting method and device Download PDFInfo
- Publication number
- CN114841303A CN114841303A CN202210343959.XA CN202210343959A CN114841303A CN 114841303 A CN114841303 A CN 114841303A CN 202210343959 A CN202210343959 A CN 202210343959A CN 114841303 A CN114841303 A CN 114841303A
- Authority
- CN
- China
- Prior art keywords
- cabinet
- pressure sensor
- weight
- value
- label information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06M—COUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
- G06M1/00—Design features of general application
- G06M1/27—Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
- G06M1/272—Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10316—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves using at least one antenna particularly designed for interrogating the wireless record carriers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10821—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
- G06K7/10861—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices sensing of data fields affixed to objects or articles, e.g. coded labels
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Electromagnetism (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Networks & Wireless Communication (AREA)
Abstract
Description
技术领域technical field
本发明涉及新一代信息技术和生物医药产业的技术领域,特别是涉及一种 柜体计数方法及装置。The present invention relates to the technical field of new generation information technology and biomedical industry, in particular to a cabinet counting method and device.
背景技术Background technique
目前对于贴有RFID(Radio Frequency Identification,射频识别)标签 的物品,通常采用RFID读写器对其进行计数,当物品放置于柜体内部时,由于 物品的堆叠容易导致RFID读写器扫描误差,以造成RFID读写器的计数不可靠, 同时RFID设备也无法验证其扫描结果的准确性。At present, for items with RFID (Radio Frequency Identification, radio frequency identification) tags, RFID readers are usually used to count them. When the items are placed inside the cabinet, the stacking of items will easily lead to scanning errors of the RFID reader. As a result, the counting of the RFID reader is unreliable, and the RFID device cannot verify the accuracy of its scanning results.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对RFID读写器的计数不可靠,同时RFID设备也无法验 证其扫描结果的准确性的问题,提供一种柜体计数方法及装置。Based on this, it is necessary to provide a cabinet counting method and device for the problem that the counting of the RFID reader is unreliable and the RFID equipment cannot verify the accuracy of the scanning result.
一种柜体计数方法,包括RFID读写模块和压力传感器,所述方法包括:A cabinet counting method, comprising an RFID read-write module and a pressure sensor, the method comprising:
当监测到所述柜体关门时,获取所述压力传感器的第一重量变化值;When it is detected that the cabinet body is closed, the first weight change value of the pressure sensor is obtained;
当所述第一重量变化值的绝对值大于第一阈值时,控制所述RFID读写模块 扫描标签信息,并根据扫描得到的变化的标签信息和预设的不同标签信息对应 的重量值,得到第二重量变化值;When the absolute value of the first weight change value is greater than the first threshold value, control the RFID read-write module to scan the label information, and obtain the weight value corresponding to the changed label information obtained by scanning and the preset different label information. the second weight change value;
计算所述第一重量变化值和所述第二重量变化值的差值;calculating the difference between the first weight change value and the second weight change value;
当所述差值的绝对值小于第二阈值时,根据扫描得到的标签信息进行计数。When the absolute value of the difference is smaller than the second threshold, counting is performed according to the label information obtained by scanning.
在其中一实施例中,所述柜体包括多个待计数物品,每个所述待计数物品包 括对应的标签信息,每个标签信息包括对应待计数物品的重量信息,所述方法还 包括:In one embodiment, the cabinet includes a plurality of items to be counted, each of the items to be counted includes corresponding label information, and each label information includes weight information corresponding to the items to be counted, and the method further includes:
预存储所述多个待计数物品的标签信息;pre-store the label information of the plurality of items to be counted;
根据预存储的所述多个待计数物品的标签信息和对应的重量信息获取所述 多个待计数物品的初始重量值。The initial weight values of the multiple items to be counted are acquired according to the pre-stored label information and corresponding weight information of the multiple items to be counted.
在其中一实施例中,所述控制所述RFID读写器扫描标签信息,并根据扫描 得到的变化的标签信息和预设的不同标签信息对应的重量值,得到第二重量变 化值包括:In one of the embodiments, described controlling the RFID reader to scan the label information, and according to the weight value corresponding to the changed label information obtained by scanning and the preset different label information, obtaining the second weight change value includes:
获取所述RFID读写模块扫描的标签信息;Obtain the tag information scanned by the RFID read-write module;
根据所述扫描的标签信息和预存储所述多个待计数物品的标签信息得到变 化的标签信息;Obtain the changed label information according to the scanned label information and the label information of the pre-stored items to be counted;
根据所述变化的标签信息和对应标签的重量信息得到所述第二重量变化值。The second weight change value is obtained according to the changed label information and the weight information of the corresponding label.
在其中一实施例中,所述控制所述RFID读写模块扫描标签信息,并根据扫 描得到的变化的标签信息和预设的不同标签信息对应的重量值,得到第二重量 变化值包括:In one of the embodiments, described controlling the RFID read-write module to scan the label information, and according to the weight value corresponding to the changed label information obtained by scanning and the preset different label information, obtaining the second weight change value includes:
获取所述RFID读写模块扫描的标签信息;Obtain the tag information scanned by the RFID read-write module;
根据所述扫描的标签信息和对应标签的重量信息得到所述当前重量值;Obtain the current weight value according to the scanned label information and the weight information of the corresponding label;
根据所述当前重量值和所述初始重量值到所述第二重量变化值。According to the current weight value and the initial weight value to the second weight change value.
在其中一实施例中,所述柜体包括分隔板,所述分隔板将所述柜体内部分为 上腔体和下腔体,所述RFID读写模块包括RFID读写器、第一天线、第二天线和 第三天线,所述第一天线设置在所述柜体的底面,所述第二天线设置在所述柜体 的顶面,至少一个所述第三天线设置在所述柜体的后侧面、左侧面或右侧面;所 述柜体包括分隔板,所述压力传感器包括第一压力传感器和第二压力传感器,所 述第一压力传感器设置在所述柜体的底面、或所述分隔板朝向所述底面的一侧, 所述第二压力传感器设置在所述柜体的顶面、或所述分隔板朝向所述顶面的一 侧,所述方法还包括:In one of the embodiments, the cabinet includes a partition plate, and the partition plate divides the cabinet into an upper cavity and a lower cavity, and the RFID read-write module includes an RFID reader, a first an antenna, a second antenna and a third antenna, the first antenna is arranged on the bottom surface of the cabinet body, the second antenna is arranged on the top surface of the cabinet body, and at least one of the third antennas is arranged on the The rear side, left side or right side of the cabinet body; the cabinet body includes a partition plate, the pressure sensor includes a first pressure sensor and a second pressure sensor, and the first pressure sensor is arranged on the cabinet body The bottom surface of the cabinet, or the side of the partition plate facing the bottom surface, the second pressure sensor is arranged on the top surface of the cabinet, or the side of the partition plate facing the top surface, the Methods also include:
当监测到所述柜体开门前,获取所述第一压力传感器或所述第二压力传感 器的初始重量值;Obtain the initial weight value of the first pressure sensor or the second pressure sensor before monitoring the door of the cabinet;
对应的,所述当监测到所述柜体关门时,获取所述压力传感器的第一重量变 化值包括:Correspondingly, when monitoring that the door of the cabinet is closed, acquiring the first weight change value of the pressure sensor includes:
当监测到所述柜体关门时,获取所述第一压力传感器或所述第二压力传感 器的当前重量值;When monitoring that the cabinet body is closed, obtain the current weight value of the first pressure sensor or the second pressure sensor;
根据所述第一压力传感器或所述第二压力传感器对应的当前重量值和初始 重量值的差值得到所述第一重量变化值;Obtaining the first weight change value according to the difference between the current weight value and the initial weight value corresponding to the first pressure sensor or the second pressure sensor;
对应的,所述当所述第一重量变化值的绝对值大于第一阈值时,控制所述 RFID读写模块扫描标签信息包括:Correspondingly, when the absolute value of the first weight change value is greater than the first threshold, controlling the RFID read-write module to scan the tag information includes:
当所述第一压力传感器对应的所述第一重量变化值的绝对值大于第一阈值 时,控制所述RFID读写器启动,所述RFID读写器驱动所述第一天线或第三天 线扫描;When the absolute value of the first weight change value corresponding to the first pressure sensor is greater than the first threshold, the RFID reader/writer is controlled to start, and the RFID reader/writer drives the first antenna or the third antenna scanning;
当所述第二压力传感器对应的所述第一重量变化值的绝对值大于第一阈值 时,控制所述RFID读写器启动,所述RFID读写器驱动所述第二天线或第三天 线扫描;当所述第一压力传感器和所述第二压力传感器对应的所述第一重量变 化值的绝对值同时大于第一阈值时,控制所述RFID读写器启动,所述RFID读 写器驱动所述第一天线、所述第二天线和所述第三天线扫描。When the absolute value of the first weight change value corresponding to the second pressure sensor is greater than the first threshold, the RFID reader/writer is controlled to start, and the RFID reader/writer drives the second antenna or the third antenna Scanning; when the absolute value of the first weight change value corresponding to the first pressure sensor and the second pressure sensor is greater than the first threshold at the same time, control the RFID reader to start, and the RFID reader The first antenna, the second antenna and the third antenna are driven to scan.
在其中一实施例中,还包括数据库,所述数据库与所述RFID读写器通信连 接,所述数据库用于预存储所述多个待计数物品的标签信息,所述标签信息还包 括标签码,所述根据所述扫描的标签信息和预存储所述多个待计数物品的标签 信息得到变化的标签信息包括:In one of the embodiments, it further includes a database, the database is connected in communication with the RFID reader, the database is used for pre-storing label information of the plurality of items to be counted, and the label information further includes a label code , the label information that is changed according to the scanned label information and pre-stored label information of the plurality of items to be counted includes:
上传所述扫描的标签信息至所述数据库;uploading the scanned tag information to the database;
比对所述扫描的标签信息对应的标签码与预存储所述多个待计数物品的标 签信息对应的标签码得到所述变化的标签信息,其中,所述变化的标签信息包括 增加的所述标签码和减少的所述标签码;Comparing the label code corresponding to the scanned label information with the label code corresponding to the label information of the pre-stored items to be counted to obtain the changed label information, wherein the changed label information includes the added label codes and reduced said label codes;
对应的,所述根据所述变化的标签信息和对应标签的重量信息得到所述第 二重量变化值,包括:Correspondingly, the described second weight change value is obtained according to the changed label information and the weight information of the corresponding label, including:
提取增加所述标签码对应的重量信息和减少的所述标签码对应的重量信息;Extracting the weight information corresponding to the increased label code and the weight information corresponding to the decreased label code;
计算所述重量信息得到所述第二重量变化值。The second weight change value is obtained by calculating the weight information.
在其中一实施例中,所述方法还包括:In one embodiment, the method further includes:
所述第一预值为预存储中最小物品重量的二分之一;The first pre-value is half of the weight of the smallest item in pre-storage;
所述第二预值为所需计数的最小物品重量的误差最大值。The second predetermined value is the maximum error value of the minimum item weight to be counted.
在其中一实施例中,还包括:In one embodiment, it also includes:
当监测到所述柜体开门前,获取所述压力传感器的初始重量值;Obtain the initial weight value of the pressure sensor before monitoring the door of the cabinet;
对应的,所述获取所述压力传感器的第一重量变化值,包括:Correspondingly, the acquiring the first weight change value of the pressure sensor includes:
当监测到所述柜体关门时,获取所述压力传感器的当前稳定重量值;When it is detected that the cabinet body is closed, the current stable weight value of the pressure sensor is obtained;
根据所述当前稳定重量值和所述初始重量值得到所述第一重量变化值;Obtaining the first weight change value according to the current stable weight value and the initial weight value;
对应的,所述当所述差值的绝对值小于第二预值时,根据扫描得到的标签信 息进行计数,包括:Correspondingly, when the absolute value of the difference is less than the second pre-value, count according to the label information obtained by scanning, including:
保存所述压力传感器的当前稳定重量值。Save the current stable weight value of the pressure sensor.
一种柜体计数装置,包括:A cabinet counting device, comprising:
柜体,用于储存多个标签信息;The cabinet is used to store multiple label information;
柜门,与所述柜体活动连接;a cabinet door, movably connected with the cabinet body;
开关门检测模块,用于检测柜门的开关状态;The door switch detection module is used to detect the switch state of the cabinet door;
RFID读写模块,用于扫描多个所述标签信息;RFID read-write module for scanning a plurality of the tag information;
压力传感器,设置于所述柜体的底面,多个所述标签信息放置于所述压力传 感器上,用于测量多个所述标签信息的重量变化值;A pressure sensor is arranged on the bottom surface of the cabinet, and a plurality of the label information is placed on the pressure sensor for measuring the weight change value of the plurality of label information;
处理器,用于根据所述开关状态、多个所述标签信息和所述重量变化值执行 上述所述的柜体计数方法,以实现计数。The processor is configured to execute the above-mentioned cabinet counting method according to the switch state, a plurality of the label information and the weight change value, so as to realize counting.
在其中一实施例中,所述柜体包括分隔板,所述分隔板将所述柜体内部分为 上腔体和下腔体;所述RFID读写模块包括RFID读写器、第一天线、第二天线和 第三天线,所述第一天线设置在所述柜体的底面,所述第二天线设置在所述柜体 的顶面,至少一个所述第三天线设置在所述柜体的后侧面、左侧面或右侧面,所 述RFID读写器能够驱动所述第一天线、所述第二天线和所述第三天线扫描所述 标签信息;所述柜体包括分隔板,所述压力传感器包括第一压力传感器和第二压 力传感器,所述第一压力传感器设置在所述柜体的底面、或所述分隔板朝向所述 底面的一侧,所述第二压力传感器设置在所述柜体的顶面、或所述分隔板朝向所 述顶面的一侧。In one of the embodiments, the cabinet includes a partition plate, and the partition plate divides the cabinet into an upper cavity and a lower cavity; the RFID read-write module includes an RFID reader, a first an antenna, a second antenna and a third antenna, the first antenna is arranged on the bottom surface of the cabinet body, the second antenna is arranged on the top surface of the cabinet body, and at least one of the third antennas is arranged on the On the rear side, left side or right side of the cabinet, the RFID reader can drive the first antenna, the second antenna and the third antenna to scan the tag information; the cabinet includes A partition plate, the pressure sensor includes a first pressure sensor and a second pressure sensor, the first pressure sensor is arranged on the bottom surface of the cabinet, or the side of the partition plate facing the bottom surface, the The second pressure sensor is arranged on the top surface of the cabinet, or on the side of the partition plate facing the top surface.
上述柜体计数方法包括当监测到柜体关门时,获取压力传感器的第一重量 变化值;当第一重量变化值的绝对值大于第一阈值时,控制RFID读写模块扫描 标签信息,并根据扫描得到的变化的标签信息和预设的不同标签信息对应的重 量值,得到第二重量变化值;计算第一重量变化值和第二重量变化值的差值;当 差值的绝对值小于第二阈值时,根据扫描得到的标签信息进行计数。本申请采用 RFID读写模块结合称重的混合计数,通过将压力传感器数据与RFID读写模块获 取的数据进行校验,避免了单一通过RFID计数的结果不可靠问题,提高了RFID 读写模块的计数可靠性。另外,不同于现有的RFID计数在检测到柜门关闭时即 启动RFID读写模块扫描,而是在检测到柜门关闭时首先获取称重数据,通过称 重数据判断在柜门开启时确实有取放物品的行为后,即判断压力传感器的重量 变化值大于阈值后,再启动RFID读写模块扫描,避免了每次关门后,即使未有 取放物品,也会执行RFID读写模块扫描,节约了设备资源,避免多次无必要的 重复性扫描和更新数据带来的计数误差。The above-mentioned cabinet counting method includes obtaining the first weight change value of the pressure sensor when monitoring that the cabinet body is closed; when the absolute value of the first weight change value is greater than the first threshold value, controlling the RFID read-write module to scan the label information, and according to The weight value corresponding to the changed label information obtained by scanning and the preset different label information is obtained, and the second weight change value is obtained; the difference between the first weight change value and the second weight change value is calculated; when the absolute value of the difference is less than the first weight change value; When the threshold is 2, count according to the label information obtained by scanning. This application adopts the mixed counting of RFID reading and writing module combined with weighing. By verifying the pressure sensor data and the data obtained by the RFID reading and writing module, the problem of unreliable results of single counting through RFID is avoided, and the reliability of the RFID reading and writing module is improved. Counting reliability. In addition, unlike the existing RFID counting, which starts the RFID reading and writing module scanning when the cabinet door is detected to be closed, the weighing data is obtained first when the cabinet door is detected to be closed, and the weighing data is used to determine whether the cabinet door is opened After the behavior of picking and placing items, that is, after judging that the weight change value of the pressure sensor is greater than the threshold, then start the RFID reading and writing module scanning, which avoids the RFID reading and writing module scanning after each door is closed, even if no items are picked and placed. , which saves equipment resources and avoids counting errors caused by unnecessary repetitive scanning and updating of data.
附图说明Description of drawings
图1为实施例一柜体计数方法的流程图;Fig. 1 is the flow chart of embodiment one cabinet counting method;
图2为实施例二柜体计数装置关门的结构示意图;Fig. 2 is the structural representation of the door closing of the cabinet counting device in the second embodiment;
图3为实施例二柜体计数装置开门的结构示意图;3 is a schematic structural diagram of the door of the cabinet counting device in Embodiment 2;
图4为实施例二柜体计数装置中RFID读写模块的信号传输示意图;Fig. 4 is the signal transmission schematic diagram of the RFID read-write module in the cabinet counting device of the second embodiment;
图5为实施例二柜体计数装置中天线的结构示意图;5 is a schematic structural diagram of an antenna in a cabinet counting device in Embodiment 2;
图6为实施例二柜体计数装置中压力传感器的结构示意图;6 is a schematic structural diagram of a pressure sensor in the cabinet counting device of the second embodiment;
图7为实施例一柜体计数方法的另一流程图;FIG. 7 is another flowchart of the cabinet counting method in Embodiment 1;
图8为实施例一柜体计数方法中控制RFID读写模块扫描标签信息,并根据 扫描得到的变化的标签信息和预设的不同标签信息对应的重量值,得到第二重 量变化值的流程图;8 is a flow chart of controlling the RFID read-write module to scan the label information in the cabinet counting method according to the first embodiment, and obtain the second weight change value according to the changed label information obtained by scanning and the preset weight values corresponding to different label information ;
图9为实施例一柜体计数方法中控制RFID读写模块扫描标签信息,并根据 扫描得到的变化的标签信息和预设的不同标签信息对应的重量值,得到第二重 量变化值的另一流程图;FIG. 9 is a diagram showing the control of the RFID read-write module to scan the label information in the cabinet counting method according to the first embodiment, and obtains another variation of the second weight change value according to the changed label information obtained by scanning and the weight values corresponding to the preset different label information. flow chart;
图10为实施例一柜体计数方法中当监测到柜体20关门时,获取压力传感 器40的第一重量变化值的流程图;Fig. 10 is the flow chart of obtaining the first weight change value of the
图11为实施例一柜体计数方法中当第一重量变化值的绝对值大于第一阈值 时,控制RFID读写模块60扫描标签信息的流程图;11 is a flowchart of controlling the RFID read-write module 60 to scan the tag information when the absolute value of the first weight change value is greater than the first threshold value in the cabinet counting method of Embodiment 1;
图12为实施例一柜体计数方法中根据扫描的标签信息和预存储多个待计数 物品的标签信息得到变化的标签信息的流程图;12 is a flowchart of obtaining changed label information according to scanned label information and pre-stored label information of a plurality of items to be counted in a cabinet counting method in Embodiment 1;
图13为实施例一柜体计数方法中根据变化的标签信息和对应标签的重量信 息得到第二重量变化值的流程图。Fig. 13 is a flow chart of obtaining a second weight change value according to the changed label information and the weight information of the corresponding label in the cabinet counting method in the first embodiment.
附图标号:柜体计数装置10、柜体20、柜门30、压力传感器40、第一压力 传感器41、第二压力传感器42、开关门检测模块50、RFID读写模块60、RFID 读写器61、天线62、第一天线621、第二天线622、第三天线623、上部6231、 下部6233、上腔体71、下腔体72、悬挂架80。Reference numerals:
具体实施方式Detailed ways
为了便于理解本申请,下面将参照相关附图对本申请进行更全面的描述。附 图中给出了本申请的较佳的实施例。但是,本申请可以以许多不同的形式来实现, 并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本申请的 公开内容的理解更加透彻全面。In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the related drawings. The preferred embodiments of the present application are shown in the accompanying drawings. However, the application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that a thorough and complete understanding of the disclosure of this application is provided.
需要说明的是,当元件被称为“固定于”另一个元件,它可以直接在另一个 元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件, 它可以是直接连接到另一个元件或者可能同时存在居中元件。本文所使用的术 语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。It should be noted that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and similar expressions are used herein for illustrative purposes only.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术 领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术 语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术 语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are for the purpose of describing particular embodiments only and are not intended to limit the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
实施例一Example 1
本申请提供一种柜体计数方法,该柜体计数方法应用于柜体计数装置10, 参考图2和图3,柜体计数装置10包括需要计数的柜体20,其中,以医用药柜 为例,医用药柜在使用过程中,时常需要对药品类的医用产品进行称重计数,以 判断药品的使用状态。在本实施例中,柜体计数方法包括RFID读写模块60和 压力传感器40,柜体20内放置多个待计数物品,待计数物品上贴有RFID标签, RFID读写模块60和压力传感器40分别设置于柜体20的内部,该方法通过RFID 读写模块60对RFID标签进行计数,并将压力传感器40获取的数据与RFID读 写模块60获取的数据进行校验,以实现对柜体20内标签的准确计数。The present application provides a cabinet counting method, which is applied to a
参考图1,在本实施例中,柜体计数方法包括以下步骤:Referring to FIG. 1, in this embodiment, the cabinet counting method includes the following steps:
步骤S200,当监测到柜体20关门时,获取压力传感器40的第一重量变化 值。Step S200, when it is monitored that the
具体地,当粘贴有RIFD标签的物品储存于柜体20内部时,压力传感器40 由于物品的压力则处于持续称重的状态,当用户对柜体20的物品进行拿放之后, 用户对柜门30进行关门操作,开关门检测模块50接收到关门信号,进而将关 门信号传输至处理器,处理器接收关门信号并获取压力传感器40的第一重量变 化值记录为M1。Specifically, when the articles with RIFD labels are stored inside the
其中,第一重量变化值M1是根据压力传感器40的上次初始重量值与当前 重量值计算得出的,上次初始重量值为上一次柜门30关闭之后保存的重量值, 当前重量值为当前柜门30关闭之后,压力传感器40测量的稳定重量值。The first weight change value M1 is calculated according to the last initial weight value of the
步骤S400,当第一重量变化值的绝对值大于第一阈值时,控制RFID读写模 块60扫描标签信息,并根据扫描得到的变化的标签信息和预设的不同标签信息 对应的重量值,得到第二重量变化值。Step S400, when the absolute value of the first weight change value is greater than the first threshold value, control the RFID read-write module 60 to scan the label information, and obtain the weight value corresponding to the changed label information obtained by scanning and the preset different label information. The second weight change value.
其中,第一阈值为预设值,第一阈值的大小与预储存的待计数物品的重量相 关,第一阈值为待计数物品中最小物品重量的二分之一,例如,当待计数的最小 物品的重量值为5g,则第一阈值的数值为2.5。可以理解的是,第一阈值作为判 断用户是否对柜体20内部物品取放的依据,当变化值大于第一阈值,则说明用 户进行了取放操作,处理器继续下一步操作,当变化值小于第一阈值,则说明用 户没有对物品进行取放操作,压力传感器40持续获取变化值。The first threshold is a preset value, the size of the first threshold is related to the weight of the pre-stored items to be counted, and the first threshold is half of the weight of the smallest item in the items to be counted, for example, when the smallest item to be counted If the weight of the item is 5g, the value of the first threshold is 2.5. It can be understood that the first threshold is used as the basis for judging whether the user has taken and placed the items inside the
具体地,当处理器判断第一重量变化值的绝对值∣M1∣大于第一阈值时,则 说明用户此次对柜体20内的物品进行了取放操作,处理器控制RFID读写模块 60启动,RFID读写模块60读取柜体20内的RFID标签,并且根据读取的标签 信息得到第二重量变化值M2。其中,当处理器判断第一重量变化值的绝对值∣ M1∣小于第一阈值时,则说明用户此次并未对柜体20内的物品进行取放操作, 此时处理器不进行反馈操作,压力传感器40持续称重,直到压力传感器40获 取的第一重量值的绝对值∣M1∣大于第一阈值,处理器控制RFID读写模块60启 动。Specifically, when the processor determines that the absolute value of the first weight change value ∣M1∣ is greater than the first threshold, it means that the user has performed a pick and place operation on the items in the
步骤S600,计算第一重量变化值和第二重量变化值的差值。Step S600: Calculate the difference between the first weight change value and the second weight change value.
具体地,处理器保存获取的第一重量变化值M1、第二重量变化值M2,并计 算差值M差,M差=M1-M2。Specifically, the processor saves the acquired first weight change value M1 and the second weight change value M2, and calculates the difference Mdifference , where Mdifference =M1-M2.
步骤S800,当差值的绝对值小于第二阈值时,根据扫描得到的标签信息进 行计数。Step S800, when the absolute value of the difference is less than the second threshold, count according to the label information obtained by scanning.
其中,第二阈值为预设值,第二阈值的大小与预储存的待计数物品的重量误 差值有关,其中,重量误差值与物品重量的制作精度有关,用户设定第二阈值的 数值为所需计数的最小物品重量的误差最大值,例如,当所需计数的最小物品的 重量值为5g,制作精度为10%,则最小药瓶的误差最大值为4.5,此时4.5为预 定的第二阀值。可以理解的是,第二阈值作为判断误差是否处于合理范围的依据, 当差值的绝对值小于第二阈值时,则说明此时的误差在合理的范围内,此时RFID 读写模块60的计数可作为准确计数,当差值的绝对值大于第二阈值时,则说明 此时的误差较大,说明柜体内可能有标签重叠堆积、漏贴标签等情况发生。The second threshold is a preset value, and the size of the second threshold is related to the weight error value of the pre-stored items to be counted, wherein the weight error value is related to the production accuracy of the item weight, and the user sets the value of the second threshold value as The maximum error value of the minimum item weight to be counted, for example, when the weight value of the minimum item to be counted is 5g and the production accuracy is 10%, the maximum error value of the minimum medicine bottle is 4.5, at this time 4.5 is the predetermined value second threshold. It can be understood that the second threshold is used as the basis for judging whether the error is within a reasonable range. When the absolute value of the difference is less than the second threshold, it means that the error at this time is within a reasonable range. Counting can be used as an accurate count. When the absolute value of the difference is greater than the second threshold, it means that the error is large at this time, indicating that there may be overlapping and stacking of labels in the cabinet, missing labels, etc.
具体地,当处理器判断差值的绝对值∣M差∣小于第二阈值时,此时的误差 在合理范围内,即此时压力传感器40的重量值,以及RFID读写模块60获取的 重量值视为准确值,从而,处理器将保存的第一重量变化值M1更新为压力传感 器40的初始重量值,并根据RFID读写模块60的标签信息进行准确计数。当处 理器判断差值的绝对值∣M差∣大于第二阈值时,此时的误差判定为异常状态, 提醒用户检查柜体20内放置的物品是否有漏贴RFID标签、RFID标签重叠堆积 等情况。可以理解的是,该提醒功能通过柜体20内置的语音通报模块、显示模 块等实现。Specifically, when the processor determines that the absolute value of the difference ∣Mdifference∣ is smaller than the second threshold, the error at this time is within a reasonable range, that is, the weight value of the
在本实施例中,参考图7,柜体20包括多个待计数物品,每个待计数物品 包括对应的标签信息,每个标签信息包括对应待计数物品的重量信息,柜体计数 方法还包括:In this embodiment, referring to FIG. 7 , the
步骤S002,预存储多个待计数物品的标签信息。Step S002, pre-store label information of a plurality of items to be counted.
具体地,在初始计数之前,每一待计数物品具有一个标签信息,处理器将不 同的待计数物品的标签信息存储至数据库中,例如,每一个品类的药品对应不同 的重量、药品信息,将每一个品类的药品信息存储至数据库。Specifically, before the initial count, each item to be counted has a piece of label information, and the processor stores the label information of different items to be counted in the database, for example, each category of medicine corresponds to different weights and medicine information, The drug information of each category is stored in the database.
步骤S004,根据预存储的多个待计数物品的标签信息和对应的重量信息获 取多个待计数物品的初始重量值。Step S004: Acquire initial weight values of multiple items to be counted according to pre-stored label information and corresponding weight information of multiple items to be counted.
具体地,处理器将待计数物品与其对应的标签信息预储存至数据库中,当 RFID读写模60块读取了柜体内的多个标签的标签信息,处理器接收多个标签信 息,并根据获取的多个标签信息从数据库中提取对应的重量信息,处理器将多个 重量信息汇总并保存为初始重量值。Specifically, the processor pre-stores the items to be counted and their corresponding tag information in the database. When the RFID read-write module 60 reads the tag information of multiple tags in the cabinet, the processor receives the multiple tag information, and according to The obtained multiple label information extracts the corresponding weight information from the database, and the processor aggregates and saves the multiple weight information as an initial weight value.
在一实施例中,参考图8,步骤S400,控制RFID读写模块60扫描标签信 息,并根据扫描得到的变化的标签信息和预设的不同标签信息对应的重量值,得 到第二重量变化值包括:In one embodiment, referring to FIG. 8 , in step S400 , the RFID read-write module 60 is controlled to scan the label information, and the second weight change value is obtained according to the changed label information obtained by scanning and the weight values corresponding to the preset different label information. include:
步骤S412,获取RFID读写模块60扫描的标签信息。Step S412 , acquiring the tag information scanned by the RFID read-write module 60 .
具体地,处理器接收到开关门检测模块50发送的关门信号之后,处理器控 制RFID读写模块60启动,RFID读写模块60扫描柜体20内部的标签,并读取 多个标签的标签信息。Specifically, after the processor receives the door closing signal sent by the door opening and
步骤S414,根据扫描的标签信息和预存储多个待计数物品的标签信息得到 变化的标签信息。In step S414, the changed label information is obtained according to the scanned label information and the label information of the pre-stored multiple items to be counted.
具体地,处理器将扫描的标签信息与预存储的标签信息对比,得到变化的标 签信息,该变化的标签信息即与预存储的标签信息相比,新增加的标签信息或者 减少的标签信息。Specifically, the processor compares the scanned label information with the pre-stored label information, and obtains the changed label information, that is, the newly added label information or the reduced label information compared with the pre-stored label information.
步骤S416,根据变化的标签信息和对应标签的重量信息得到第二重量变化 值。Step S416, obtaining a second weight change value according to the changed label information and the weight information of the corresponding label.
具体地,用户预先将待计数的不同品类药品的标签信息存储至数据库中,根 据扫描的标签信息可以提取对应的重量信息,处理器可以根据变化的标签信息 提取对应的重量信息,并汇总该重量信息以得到第二重量变化值M2。Specifically, the user stores the label information of different categories of medicines to be counted in the database in advance, and the corresponding weight information can be extracted according to the scanned label information. The processor can extract the corresponding weight information according to the changed label information, and summarize the weight. information to obtain the second weight change value M2.
在一实施例中,参考图9,步骤S400,控制RFID读写模块60扫描标签信 息,并根据扫描得到的变化的标签信息和预设的不同标签信息对应的重量值,得 到第二重量变化值包括:In one embodiment, referring to FIG. 9 , in step S400, the RFID read-write module 60 is controlled to scan the label information, and the second weight change value is obtained according to the changed label information obtained by scanning and the weight values corresponding to different preset label information. include:
步骤S422,获取RFID读写模块60扫描的标签信息。Step S422 , acquiring the tag information scanned by the RFID reading and writing module 60 .
具体地,处理器接收到开关门检测模块50发送的关门信号之后,处理器控 制RFID读写模块60启动,RFID读写模块60扫描柜体20内部的标签,并读取 多个标签的标签信息。Specifically, after the processor receives the door closing signal sent by the door opening and
步骤S424,根据扫描的标签信息和对应标签的重量信息得到当前重量值。Step S424: Obtain the current weight value according to the scanned label information and the weight information of the corresponding label.
具体地,用户预先将待计数的不同品类药品的标签信息存储至数据库中,根 据扫描的标签信息可以提取对应的重量信息,处理器可以根据扫描的标签信息 提取对应的重量信息,并汇总并保存该重量信息以得到当前重量值。Specifically, the user stores the label information of different categories of medicines to be counted in the database in advance, and the corresponding weight information can be extracted according to the scanned label information. The processor can extract the corresponding weight information according to the scanned label information, and summarize and save it. The weight information to get the current weight value.
步骤S426,根据当前重量值和初始重量值到第二重量变化值。Step S426, according to the current weight value and the initial weight value to the second weight change value.
具体地,处理器提取存储的初始重量值,计算当前重量值和初始重量值的差 值,该差值即为第二重量变化值M2。Specifically, the processor extracts the stored initial weight value, calculates the difference between the current weight value and the initial weight value, and the difference is the second weight change value M2.
参考图2-图5,在本实施例中,RFID读写模块60包括RFID读写器61和多 个天线62,多个天线62包括第一天线621、第二天线622和第三天线623,第 一天线621设置在柜体20的底面,第二天线622设置在柜体20的顶面,至少 一个第三天线623设置在柜体20后侧面、左侧面或右侧面。具体地,处理器可 以控制RFID读写器61启动,RFID读写器61驱动第一天线621、第二天线622 和第三天线623扫描待计数物品的标签,还可以理解的是,RFID读写器61可以 驱动第一天线621、第二天线622和第三天线623中的至少一个扫描标签,以便 于灵活控制天线62对柜体20部分区域的扫描。2-5, in this embodiment, the RFID reader/writer module 60 includes an RFID reader/
在本实施例中,柜体20包括分隔板,该分隔板能够屏蔽信号,分隔板将柜 体20内部分为上腔体71和下腔体72,第一天线621扫描下腔体72,第二天线 622扫描上腔体71,第三天线623既可以扫描上腔体71,又可以扫描下腔体72。 其中,压力传感器40包括第一压力传感器41和第二压力传感器42,第一压力 传感器41设置在柜体20的底面、或分隔板朝向底面的一侧,第二压力传感器 42设置在柜体20的顶面、或分隔板朝向顶面的一侧。具体地,处理器分别与第 一压力传感器41和第二压力传感器42通信连接,当处理器判断第一压力传感 器41或第二压力传感器42对应的第一重量变化值大于第一阈值时,处理器可 以控制对应区域的天线62扫描,以节约设备资源,避免多次无必要的重复性扫 描和更新数据带来的计数误差。In this embodiment, the
在本实施例中,柜体20计数方法还包括:In this embodiment, the counting method of the
当监测到柜体20开门前,获取第一压力传感器41或第二压力传感器42的 初始重量值。When it is monitored that the
具体地,在初始计重之前,即在处理器检测到柜体20开门之前,若柜体20 内存有物品,则获取压力传感器40的初始值,若柜体20内无物品,则压力传 感器40的初始重量值视为0。可以理解的是,该初始重量值可以为上一次关门 之后的保存的重量值。其中,处理器与第一压力传感器41和第二压力传感器42 通信连接,并且通过不同的通路与处理器通讯,处理器分别保存第一压力传感器 41和第二压力传感器42的初始重量值。Specifically, before the initial weighing, that is, before the processor detects that the
参考图10,对应的,步骤S200,当监测到柜体20关门时,获取压力传感器 40的第一重量变化值包括:Referring to Figure 10, correspondingly, in step S200, when it is monitored that the
步骤S202,当监测到柜体20关门时,获取第一压力传感器41或第二压力 传感器42的当前重量值;Step S202, when monitoring the door closing of the
步骤S204,根据第一压力传感器41或第二压力传感器42对应的当前重量 值和初始重量值的差值得到第一重量变化值。In step S204, the first weight change value is obtained according to the difference between the current weight value corresponding to the
具体地,若用户取放柜体20内部存储有物品,第一压力传感器41和第二 压力传感器42由于不断称重,称重结果会发生变化,当处理器监测到柜体20关 门时,第一压力传感器41和第二压力传感器42分别得到当前重量值,处理器 对第一压力传感器41和第二压力传感器42分别计算出对应的差值,以得到对 应的第一重量变化值,通过该第一重量变化值可以判断用户是否对柜体20内部 的物品进行取放。可以理解的是,处理器根据第一重量变化值,可以进一步判断 用户取放的是上腔体71的物品或下腔体72的物品。Specifically, if the user picks up and places items stored in the
参考图11,对应的,步骤S400,当第一重量变化值的绝对值大于第一阈值 时,控制RFID读写模块60扫描标签信息包括:Referring to Figure 11, correspondingly, in step S400, when the absolute value of the first weight change value is greater than the first threshold, controlling the RFID read-write module 60 to scan the tag information includes:
步骤S402,当第一压力传感器41对应的第一重量变化值的绝对值大于第一 阈值时,控制RFID读写器61启动,RFID读写器61驱动第一天线621和第三天 线623扫描。Step S402, when the absolute value of the first weight change value corresponding to the
具体地,处理器通过第一压力传感器41的通路,计算第一压力传感器41的 第一重量变化值的绝对值与第一阈值的大小,当处理器判断该绝对值大于第一 阈值时,说明用户对下腔体72的物品进行了取放,由于第一天线621和第三天 线623扫描的区域包括下腔体72,处理器控制RFID读写器61启动,RFID读写 器61驱动第一天线621或第三天线623扫描下腔体72的物品。可以理解的是, 为了防止扫描误差,RFID读写器61还可以同时驱动第一天线621和第三天线 623扫描,扩大扫描范围。Specifically, the processor calculates the magnitude of the absolute value of the first weight change value of the
步骤S404,当第二压力传感器42对应的第一重量变化值的绝对值大于第一 阈值时,控制RFID读写器61启动,RFID读写器61驱动第二天线622或第三天 线623扫描。Step S404, when the absolute value of the first weight change value corresponding to the second pressure sensor 42 is greater than the first threshold, control the
具体地,处理器通过第二压力传感器42的通路,计算第二压力传感器42的 第一重量变化值的绝对值与第一阈值的大小,当处理器判断该绝对值大于第一 阈值时,说明用户对上腔体71的物品进行了取放,由于第二天线622和第三天 线623扫描的区域包括上腔体71,处理器控制RFID读写器61启动,RFID读写 器61驱动第二天线622或第三天线623扫描上腔体71的物品。可以理解的是, 为了防止扫描误差,RFID读写器61还可以同时驱动第二天线622和第三天线 623扫描,扩大扫描范围。Specifically, the processor calculates the magnitude of the absolute value of the first weight change value of the second pressure sensor 42 and the first threshold value through the passage of the second pressure sensor 42. When the processor determines that the absolute value is greater than the first threshold value, it indicates that The user picks and places the items in the
步骤S406,当第一压力传感器41和第二压力传感器42对应的第一重量变 化值的绝对值同时大于第一阈值时,控制RFID读写器61启动,RFID读写器61 驱动第一天线621、第二天线622和第三天线623扫描。Step S406, when the absolute value of the first weight change value corresponding to the
具体地,若处理器通过第一压力传感器41和第二压力传感器42的通路, 计算其对应的第一重量变化值的绝对值均大于第一阈值时,说明用户同时对上 腔体71和下腔体72的物品进行了取放,处理器控制RFID读写器61启动,RFID 读写器61驱动第一天线621、第二天线622和第三天线623扫描柜体20内的物 品。可以理解的是,用户可以预先设定每一天线62的扫描时间,例如,用户设 定每一天线62的扫描时间大约为3s,其中,扫描时间的范围可以为1s-5s,即 在该扫描时间内,RFID读写器61通过天线62持续对柜体20内部的标签进行扫 描。Specifically, if the absolute value of the corresponding first weight change value calculated by the processor through the passage of the
在另一实施例中,RFID读写器61包括多个,多个RFID读写器61对应与一 个天线62通信连接,或者其中一个RFID读写器61分别与2个天线62通信, 其中另一个RFID读写器61与1个天线62通信,当处理器控制多个RFID读写 器61驱动扫描时,处理器将多个RFID读写器61获取的标签信息合并去重,以 保证柜体20内部的标签信息不重复,避免计数不准确。In another embodiment, the RFID reader/
在本实施例中,数据库与RFID读写器61、压力传感器40通信连接,数据 库用于预存储多个待计数物品的标签信息,标签信息还包括标签码。其中,每一 标签信息对应唯一的标签码,标签码可以为ID码、二维码、条码等。In this embodiment, the database is connected in communication with the RFID reader/
参考图12,其中,步骤S414,根据扫描的标签信息和预存储多个待计数物 品的标签信息得到变化的标签信息包括:Referring to Figure 12, wherein, step S414, according to the scanned label information and pre-stored label information of a plurality of items to be counted The changed label information includes:
步骤S4142,上传扫描的标签信息至数据库。Step S4142, upload the scanned label information to the database.
具体地,RFID读写器61通过天线62与RFID标签进行无线通信,以读取柜 体20内部的RFID标签的标签信息,处理器将该标签信息上传并保存至数据库。Specifically, the
步骤S4144,比对扫描的标签信息对应的标签码与预存储多个待计数物品的 标签信息对应的标签码得到变化的标签信息,其中,变化的标签信息包括增加的 标签码和减少的标签码。Step S4144, compare the label code corresponding to the scanned label information with the label code corresponding to the label information of the pre-stored multiple items to be counted to obtain the changed label information, wherein the changed label information includes the increased label code and the decreased label code. .
具体地,每一标签信息具有唯一的标签码,处理器提取获取的标签信息对应 的标签码,并将其与预存储多个待计数物品的标签信息对应的标签码进行比对, 确定变化的标签码。其中,变化的标签码包括增加的标签码和减少的标签码。可 以理解的是,预储存标签信息的标签码可以保存为标签码列表,当将RFID读写 器61获取的标签信息上传至数据库时,可以先提取获取的标签信息的标签码, 将该标签码与预储存的标签码列表对比,以此确认变化的标签码。Specifically, each label information has a unique label code, the processor extracts the label code corresponding to the obtained label information, and compares it with the label codes corresponding to the label information of the pre-stored multiple items to be counted, and determines the changed label code. Wherein, the changed label codes include increased label codes and decreased label codes. It can be understood that the tag code of the pre-stored tag information can be saved as a tag code list, and when the tag information acquired by the
参考图13,对应的,步骤S416,根据变化的标签信息和对应标签的重量信 息得到第二重量变化值,包括:With reference to Figure 13, correspondingly, step S416 obtains the second weight change value according to the changed label information and the weight information of the corresponding label, including:
步骤S4162,提取增加标签码对应的重量信息和减少的标签码对应的重量信 息。Step S4162, extract the weight information corresponding to the added label code and the weight information corresponding to the reduced label code.
具体地,处理器根据增加的标签码提取对应的重量信息,增加的标签码可以 理解为用户新放入物品的标签信息,汇总该重量信息记录为重量值M放,处理器 根据减少的标签码提取对应的重量信息,减少的标签码可以理解的为用户取拿 物品的标签信息,汇总该重量信息记录为重量值M取。Specifically, the processor extracts the corresponding weight information according to the added label code. The added label code can be understood as the label information of the item newly placed by the user, and the weight information is summarized and recorded as the weight value M. The corresponding weight information is extracted, the reduced label code can be understood as the label information of the item taken by the user, and the weight information is aggregated and recorded as the weight value M to be taken .
步骤S4164,计算重量信息得到第二重量变化值。Step S4164, calculating the weight information to obtain the second weight change value.
具体地,处理器计算M放和M取的差值,该差值即为第二重量变化值M2,即 M2=M放-M取。Specifically, the processor calculates the difference between M put and M take , and the difference is the second weight change value M2, that is, M2=M put - M take .
在本实施例中,柜体计数方法还包括:In this embodiment, the cabinet counting method further includes:
当监测到所述柜体20开门前,获取压力传感器40的初始重量值。When it is detected that the
具体地,在初始计重之前,若柜体20内存放有物品,则获取压力传感器40 的初始重量值,若柜体20内无物品,则压力传感器40的初始重量值视为0。可 以理解的是,该初始重量值可以为上一次柜门30关闭之后保存的重量值。Specifically, before the initial weighing, if there are items stored in the
对应的,步骤S200,当监测到柜体20关门时,获取压力传感器40的第一 重量变化值,包括:Correspondingly, in step S200, when monitoring that the
当监测到所述柜体20关门时,获取压力传感器40的当前稳定重量值;When monitoring that the door of the
根据当前稳定重量值和初始重量值得到第一重量变化值。The first weight change value is obtained according to the current stable weight value and the initial weight value.
具体地,由于压力传感器40不断称重,当用户对柜体20内的物品进行取 放操作时,用户在放入或取出贴有RFID标签的物品后,称重的结果会发生变化, 这种变化在称重的结果表现为不断震荡,但整体重量值在不断提高或不断降低, 最后稳定在一个区间内,即此时的当前重量值即为稳定重量值,计算获取的稳定 重量值与初始重量值的差值,保存该差值为第一重量变化值M1。Specifically, since the
对应的,步骤S800,当差值的绝对值小于第二阈值时,根据标签信息进行 计数,包括:Correspondingly, in step S800, when the absolute value of the difference is less than the second threshold, counting is performed according to the label information, including:
保存压力传感器40的当前稳定重量值。The current stable weight value of the
具体地,在确定差值的绝对值∣M差∣小于第二阈值时,此时的误差在合理 范围内,即此时压力传感器40的重量值,以及RFID读写模块60获取的重量值 视为准确值,从而,处理器将保存的第一重量变化值M1更新为压力传感器40的 初始重量值,并根据RFID读写模块60的标签信息进行准确计数。Specifically, when it is determined that the absolute value of the difference ∣Mdifference∣ is smaller than the second threshold value, the error at this time is within a reasonable range, that is, the weight value of the
本申请提供的柜体计数方法包括当监测到柜体20关门时,获取压力传感器 40的第一重量变化值;当第一重量变化值的绝对值大于第一阈值时,控制RFID 读写模块60扫描标签信息,并根据标签信息得到第二重量变化值;计算第一重 量变化值和第二重量变化值的差值;当差值的绝对值小于第二阈值时,根据标签 信息进行计数。本申请采用RFID读写模块60结合称重的混合计数,通过将压 力传感器数据与RFID读写模块60获取的数据进行校验,避免了单一通过RFID 计数的结果不可靠问题,提高了RFID读写模块60的计数可靠性。另外,不同于 现有的RFID计数在检测到柜门关闭时即启动RFID读写模块60扫描,而是在检 测到柜门30关闭时首先获取称重数据,通过称重数据判断在柜门30开启时确 实有取放物品的行为后,即判断压力传感器40的重量变化值大于阈值后,再启 动RFID读写模块60扫描,避免了每次关门后,即使未有取放物品,也会执行 RFID读写模块60扫描,节约了设备资源,避免多次无必要的重复性扫描和更新 数据带来的计数误差。The cabinet counting method provided by the present application includes acquiring the first weight change value of the
实施例二Embodiment 2
本申请提供一种柜体计数装置10,上述柜体计数方法应用于柜体计数装置 10,以便于对柜体20内部的标签进行准确计数。The present application provides a
参考图2和图3,在本实施例中,柜体计数装置10包括柜体20、柜门30、 开关门检测模块50、RFID读写模块60、压力传感器40和处理器。具体地,柜 体20和柜门30活动连接,柜体20的内部具有用于储存物品的储存腔,该储存 腔用于储存多个带有RIFD标签的物品,柜门30可以封闭储存腔或者打开储存 腔,开关门检测模块50设置于柜体20或柜门30中的一个,并且与处理器通信 连接,当开关门检测模块50检测到柜门30关闭时,开关门检测模块50传输关 门信号至处理器,处理器与RFID读写模块60通信连接,并且能够控制RFID读 写模块60启动以读取柜体20内部中RFID标签的标签信息,处理器根据开关状 态、多个标签信息和重量变化值执行上述柜体计数方法,以实现准确计数。参考 图4和图5,在本实施例中,RFID读写模块60包括RFID读写器61和天线62, RFID读写器61与天线62通信连接,天线62设置于储存腔内,压力传感器40 容置于储存腔且位于柜体20的底面,用于对储存腔内放置的物品进行称重。具 体地,当处理器接收到开关门检测模块50发送的关门信息时,处理器控制RFID 读写器61启动,RFID读写器61通过天线62与RFID标签进行无线通信,以读 取RFID标签的标签信息。2 and 3 , in this embodiment, the
参考图3-图5,在本实施例中,RFID读写模块60包括RFID读写器61和多 个天线62,多个天线62包括第一天线621、第二天线622和第三天线623,第 一天线621设置在柜体20的底面,第二天线622设置在柜体20的顶面,至少 一个第三天线623设置在柜体20后侧面、左侧面或右侧面,其中,柜体20包 括分隔板,该分隔板能够屏蔽信号,分隔板将柜体20内部分为上腔体71和下 腔体72,上腔体71和下腔体72均用于存储待计数物品,第一天线621扫描下 腔体72,第二天线622扫描上腔体71,第三天线623既可以扫描上腔体71,又 可以扫描下腔体72。具体地,以第三天线623设置于柜体20的右侧面为例,第 三天线623位于分隔板的延长线上,以使第三天线623分为上部6231和下部 6232,上部6231能够扫描上腔体71,下部6232能够扫描下腔体72。可以理解 的是,第三天线623包括多个,其中至少两个第三天线623分别位于上腔体71 和下腔体72。3-5, in this embodiment, the RFID reader/writer module 60 includes an RFID reader/
具体地,处理器可以控制RFID读写器61启动,RFID读写器61驱动第一天 线621、第二天线622和第三天线623扫描待计数物品的标签,还可以理解的 是,RFID读写器61可以驱动第一天线621、第二天线622和第三天线623中的 至少一个扫描,以灵活控制天线62对柜体20的部分区域进行扫描。其中,物 品包括药品、耗材等医用品。Specifically, the processor can control the
参考图3,在本实施例中,压力传感器40包括第一压力传感器41和第二压 力传感器42,第一压力传感器41设置在柜体20的底面、或分隔板朝向底面的 一侧,并且容置于下腔体72,第二压力传感器42设置在柜体20的顶面、或分 隔板朝向顶面的一侧,并且容置于上腔体71。3, in this embodiment, the
具体地,在上腔体71内,第二压力传感器42容置于上腔体71,且设置在 分隔板朝向顶面的一侧,此时药品放置于分隔板上进行称重。在下腔体72内, 第一压力传感器41的设置包括两种情况,其一,第一压力传感器41容置于下 腔体72,且设置在柜体20的底面,此时药品放置于柜体20底部,以便于第一 压力传感器41的称重;其二,第一压力传感器41还可以应用于悬挂称重,分 隔板朝向柜体20底面的一侧设置多个悬挂架80,第一压力传感器41设置分隔 板朝向顶面的一侧,当悬挂架80悬挂贴有RFID标签的耗材时,第一压力传感器41可以实现对悬挂架80上的耗材进行称重。可以理解的是,上腔体71内也 可以设置悬挂架,具体实施方式与上述下腔体72的悬挂称重类似,此处不再赘 述。Specifically, in the
在本实施例中,处理器分别与第一压力传感器41和第二压力传感器42通 信连接,当处理器判断第一压力传感器41或第二压力传感器42对应的第一重 量变化值大于第一阈值时,处理器可以控制对应区域的天线62扫描,以节约设 备资源,避免多次无必要的重复性扫描和更新数据带来的计数误差。具体地,当 处理器判断第一压力传感器41的第一重量变化值大于第一阈值时,处理器控制 RFID读写器启动,RFID读写器驱动第一天线621和第三天线623的下部6233 扫描下腔体72内的物品,上处理器判断第二压力传感器42的第一重量变化值 大于第一阈值时,处理器控制RFID读写器启动,RFID读写器驱动第二天线622 和第三天线623的上部6231扫描上腔体71内的物品。In this embodiment, the processor is connected in communication with the
本申请提供的柜体计数装置采用上述的柜体计数方法进行计数,当监测到 柜体20关门时,获取压力传感器40的第一重量变化值;当第一重量变化值的 绝对值大于第一阈值时,控制RFID读写模块60扫描标签信息,并根据扫描得 到的变化的标签信息和预设的不同标签信息对应的重量值,得到第二重量变化 值;计算第一重量变化值和第二重量变化值的差值;当差值的绝对值小于第二阈 值时,根据扫描得到的标签信息进行计数。本申请采用RFID读写模块60结合 称重的混合计数,通过将压力传感器40数据与RFID读写模块60获取的数据进 行校验,避免了单一通过RFID计数的结果不可靠问题,提高了RFID读写模块60的计数可靠性。The cabinet counting device provided by the present application uses the above-mentioned cabinet counting method to count, and when the
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上 述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特 征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细, 但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普 通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进, 这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求 为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent application. It should be noted that, for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can also be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of this application should be determined by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210343959.XA CN114841303A (en) | 2022-03-31 | 2022-03-31 | Cabinet counting method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210343959.XA CN114841303A (en) | 2022-03-31 | 2022-03-31 | Cabinet counting method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114841303A true CN114841303A (en) | 2022-08-02 |
Family
ID=82563429
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210343959.XA Pending CN114841303A (en) | 2022-03-31 | 2022-03-31 | Cabinet counting method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114841303A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116007728A (en) * | 2022-12-27 | 2023-04-25 | 深圳诺博医疗科技有限公司 | Drug counting method, device, storage medium and computer program product |
| CN119514571A (en) * | 2025-01-17 | 2025-02-25 | 深圳大因医疗科技有限公司 | A method and system for equipment area positioning and identification based on RFID technology |
| CN120772147A (en) * | 2025-07-29 | 2025-10-14 | 武汉纺织大学 | Self-service book returning and sorting control system and method based on vision |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140138440A1 (en) * | 2012-11-19 | 2014-05-22 | Omnicell, Inc. | Storage cabinet with multiple rfid readers |
| US20140184391A1 (en) * | 2012-12-29 | 2014-07-03 | Meps Real-Time, Inc. | System and method of optimizing the process of identifying items tagged with rfid tags in an enclosed shielded space |
| CN106091559A (en) * | 2016-08-04 | 2016-11-09 | 合肥微纳传感技术有限公司 | A kind of intelligence food storage device, storage method and use the refrigerator of this device |
| CN110148256A (en) * | 2019-06-18 | 2019-08-20 | 富士电机(中国)有限公司 | The payment for goods settlement method of automatic vending machine and automatic vending machine |
| CN209785129U (en) * | 2019-06-18 | 2019-12-13 | 富士电机(中国)有限公司 | Automatic vending machine |
| CN111860008A (en) * | 2020-06-19 | 2020-10-30 | 长沙荣茂信息技术工程有限公司 | Medical management cabinet article identification method and storage medium |
| CN213588485U (en) * | 2020-06-19 | 2021-07-02 | 长沙荣茂信息技术工程有限公司 | Medical management cabinet based on RFID |
| CN113974350A (en) * | 2021-10-22 | 2022-01-28 | 浙江瑞华康源科技有限公司 | Medical supply automatic issuing cabinet and scanning method of RFID (radio frequency identification) label |
-
2022
- 2022-03-31 CN CN202210343959.XA patent/CN114841303A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140138440A1 (en) * | 2012-11-19 | 2014-05-22 | Omnicell, Inc. | Storage cabinet with multiple rfid readers |
| US20140184391A1 (en) * | 2012-12-29 | 2014-07-03 | Meps Real-Time, Inc. | System and method of optimizing the process of identifying items tagged with rfid tags in an enclosed shielded space |
| CN106091559A (en) * | 2016-08-04 | 2016-11-09 | 合肥微纳传感技术有限公司 | A kind of intelligence food storage device, storage method and use the refrigerator of this device |
| CN110148256A (en) * | 2019-06-18 | 2019-08-20 | 富士电机(中国)有限公司 | The payment for goods settlement method of automatic vending machine and automatic vending machine |
| CN209785129U (en) * | 2019-06-18 | 2019-12-13 | 富士电机(中国)有限公司 | Automatic vending machine |
| CN111860008A (en) * | 2020-06-19 | 2020-10-30 | 长沙荣茂信息技术工程有限公司 | Medical management cabinet article identification method and storage medium |
| CN213588485U (en) * | 2020-06-19 | 2021-07-02 | 长沙荣茂信息技术工程有限公司 | Medical management cabinet based on RFID |
| CN113974350A (en) * | 2021-10-22 | 2022-01-28 | 浙江瑞华康源科技有限公司 | Medical supply automatic issuing cabinet and scanning method of RFID (radio frequency identification) label |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116007728A (en) * | 2022-12-27 | 2023-04-25 | 深圳诺博医疗科技有限公司 | Drug counting method, device, storage medium and computer program product |
| CN119514571A (en) * | 2025-01-17 | 2025-02-25 | 深圳大因医疗科技有限公司 | A method and system for equipment area positioning and identification based on RFID technology |
| CN120772147A (en) * | 2025-07-29 | 2025-10-14 | 武汉纺织大学 | Self-service book returning and sorting control system and method based on vision |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114841303A (en) | Cabinet counting method and device | |
| CN108549851B (en) | Method and device for identifying goods in smart container, smart container | |
| CN105352260B (en) | The update method and device of storing information in refrigerator | |
| US10379167B2 (en) | Rechargeable tool and battery status monitoring in an automated tool control system | |
| JP2021046783A (en) | Smart mailbox and related methods | |
| US9604256B2 (en) | Intelligent mail recovery tool | |
| EP2985553A1 (en) | Method for managing storage product in refrigerator using image recognition, and refrigerator for same | |
| CN106568293A (en) | Detection method for food operation of refrigerator, and refrigerator | |
| CN109409291A (en) | The commodity recognition method and system of Intelligent cargo cabinet and the generation method of purchase order | |
| EP3761278A1 (en) | Self-service vending device and vending method thereof, and self-service vending system | |
| CN209785129U (en) | Automatic vending machine | |
| WO2021170126A1 (en) | Product recognition method, product recognition system, and electronic apparatus | |
| CN111985517B (en) | Information processing device, object identification device and object identification system | |
| CN210324414U (en) | Intelligent medical storage cabinet | |
| CN110706419A (en) | Intelligent medical storage cabinet | |
| US20240159856A1 (en) | Determining a location of rfid tag | |
| CN109211303A (en) | A kind of bin door state detection method, detection device and the express delivery cabinet of express delivery cabinet | |
| CN110979853A (en) | A kind of automatic packaging method and system based on machine vision | |
| US20240020669A1 (en) | Measurement Information Processing Mode Switching System | |
| CN214929816U (en) | Trolley for medical consumables and medicines | |
| CN203873422U (en) | Special-type article deposit box | |
| CN115284242A (en) | Tool cabinet and tool management method thereof | |
| US11972394B2 (en) | Shelf inventory management system, shelf inventory management method, and non-transitory storage medium | |
| CN115757313A (en) | A method, system and medium for intelligent supervision of unmanned digital warehousing | |
| CN112560563A (en) | Article layout identification method and device and electronic equipment |
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 |