CN114298109A - Container loading and unloading event generation method and device and electronic equipment - Google Patents
Container loading and unloading event generation method and device and electronic equipment Download PDFInfo
- Publication number
- CN114298109A CN114298109A CN202111638588.XA CN202111638588A CN114298109A CN 114298109 A CN114298109 A CN 114298109A CN 202111638588 A CN202111638588 A CN 202111638588A CN 114298109 A CN114298109 A CN 114298109A
- Authority
- CN
- China
- Prior art keywords
- event
- rfid
- container
- signal
- rfid signal
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012856 packing Methods 0.000 claims description 14
- 230000015654 memory Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000005303 weighing Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Abstract
Description
技术领域technical field
本申请涉及数据处理领域,具体而言,涉及一种集装箱装卸事件的生成方法、生成装置和电子设备。The present application relates to the field of data processing, and in particular, to a method for generating a container handling event, a generating device and an electronic device.
背景技术Background technique
随着物流行业的飞速发展,集装箱运输以其高效便捷安全的特点成为交通运输现代化的重要形式,因此,作为物流运输装备的核心的集装箱,在现代快速物流、货源安全、货源监管等行业需求下,迫切需要智能化,信息化。当使用吊车对集装箱进行装载或卸载时,通常都需要针对每个集装箱进行装卸箱情况的记录。With the rapid development of the logistics industry, container transportation has become an important form of transportation modernization due to its high efficiency, convenience and safety. Therefore, as the core of the logistics transportation equipment, the container, which is the core of the logistics transportation equipment, is under the demands of modern fast logistics, supply security, supply supervision and other industries. , There is an urgent need for intelligence and informatization. When a crane is used to load or unload containers, it is usually necessary to record the loading and unloading of each container.
目前,集装箱装卸箱事件基本上都是通过人工记录的方式,记录集装箱装箱或卸箱的情况和时间等,然而这种通过人工记录的方式不仅容易出错,而且效率较低,还会浪费大量的人力资源。At present, container loading and unloading events are basically recorded manually to record the situation and time of container loading or unloading. However, this manual recording method is not only prone to errors, but also inefficient and wastes a lot of money. human resources.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请的目的在于提供一种集装箱装卸事件的生成方法、生成装置和电子设备,根据确定出的事件开始时刻和事件结束时刻获取RFID信号,并基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件,可以通过获取到的RFID信号自动生成集装箱的装卸事件,无需人工记录,提高工作效率。In view of this, the purpose of this application is to provide a method for generating a container handling event, a generating device and an electronic device, which can acquire RFID signals according to the determined event start time and event end time, and generate a plurality of RFID signals based on the acquired RFID signals. For container loading and unloading events or suspected events, container loading and unloading events can be automatically generated through the acquired RFID signals, without manual recording, improving work efficiency.
第一方面,本申请实施例提供了一种集装箱装卸事件的生成方法,所述生成方法包括:In a first aspect, an embodiment of the present application provides a method for generating a container loading and unloading event, and the generating method includes:
将首次接收到重量信号所表征的重量数据大于第一重量阈值的时刻作为事件开始时刻;Taking the moment when the weight data represented by the weight signal received for the first time is greater than the first weight threshold as the event start moment;
持续接收重量信号,并判断接收到重量信号所表征的重量数据达到第二重量阈值的持续时间是否大于或等于第一预设时间;Continuously receive the weight signal, and determine whether the duration for which the weight data represented by the received weight signal reaches the second weight threshold is greater than or equal to the first preset time;
若是,则将在所述第一预设时间内最后一次接收到重量信号所表征的重量数据达到第二重量阈值的时刻,作为事件结束时刻;If so, the moment when the weight data represented by the weight signal is received for the last time and reaches the second weight threshold within the first preset time is taken as the event end moment;
获取采集时间点位于所述事件开始时刻和事件结束时刻内的RFID信号;其中,RFID信号包括集装箱的RFID信号和货车的RFID信号;Acquiring RFID signals whose collection time points are within the event start time and event end time; wherein, the RFID signals include the RFID signals of containers and the RFID signals of trucks;
基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件;其中,所述装卸事件包括装箱事件,卸箱事件和移箱事件中的任意一个,所述疑似事件包括疑似装箱事件或疑似移箱事件。A loading and unloading event or a suspected event of a container is generated based on the acquired multiple RFID signals; wherein, the loading and unloading event includes any one of a container loading event, a container unloading event and a container moving event, and the suspected event includes a suspected container loading event or Suspected case-moving incident.
进一步的,所述基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件,包括:Further, the loading and unloading events or suspected events of the container are generated based on the acquired multiple RFID signals, including:
判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半;Determine whether the number of RFID signals of the container in the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals;
若否,则生成疑似事件;If not, generate a suspected event;
若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号;If so, take the first RFID signal in the plurality of RFID signals as a starting point to obtain a first preset number of first target RFID signals backward;
判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号;determining whether there are multiple RFID signals of different trucks in the first target RFID signal;
若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity;
若否,则确定处于集装箱的装箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号;If not, determine that the container is in a packing event, and use the last RFID signal in the plurality of RFID signals as the termination to acquire the first preset number of second target RFID signals forward;
判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号;Determine whether there are multiple RFID signals of different trucks in the second target RFID signal;
若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset quantity;
若是,则生成所述装箱事件;If so, generate the boxing event;
若否,则生成所述疑似装箱事件。If not, the suspected boxing event is generated.
进一步的,所述基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件,包括:Further, the loading and unloading events or suspected events of the container are generated based on the acquired multiple RFID signals, including:
判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半;Determine whether the number of RFID signals of the container in the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals;
若否,则生成疑似事件;If not, generate a suspected event;
若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号;If so, take the first RFID signal in the plurality of RFID signals as a starting point to obtain a first preset number of first target RFID signals backward;
判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号;determining whether there are multiple RFID signals of different trucks in the first target RFID signal;
若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity;
若是,确定处于集装箱的卸箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号;If so, determine the unloading event of the container, and use the last RFID signal in the plurality of RFID signals as the termination to obtain the first preset number of second target RFID signals forward;
判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号;Determine whether there are multiple RFID signals of different trucks in the second target RFID signal;
若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset quantity;
若是,则生成所述移箱事件;If so, generate the box-moving event;
若否,则所述第二目标RFID信号中是否存在两个不同的货车的RFID信号和两个不同的集装箱的RFID信号;If not, whether there are two different RFID signals of trucks and two different RFID signals of containers in the second target RFID signal;
若否,则生成所述卸箱事件;If not, generating the unpacking event;
若是,则生成所述疑似移箱事件。If so, generate the suspected box moving event.
进一步的,所述基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件,包括:Further, the loading and unloading events or suspected events of the container are generated based on the acquired multiple RFID signals, including:
若所述第一目标RFID信号中存在多个不同的货车的RFID信号,或,所述第二目标RFID信号中存在多个不同的货车的RFID信号,则以多个RFID信号中的第一个RFID信号为起点向后获取第二预设数量的第三目标RFID信号;If there are multiple RFID signals of different trucks in the first target RFID signal, or, if there are multiple RFID signals of different trucks in the second target RFID signal, the first one of the multiple RFID signals is used. The RFID signal is used as a starting point to obtain a second preset number of third target RFID signals backward;
判断所述第三目标RFID信号中属于同一个货车的货车的RFID信号的数量是否达到数量阈值;judging whether the number of RFID signals of the trucks belonging to the same truck in the third target RFID signal reaches the number threshold;
若是,则判断所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件是否同时成立;If yes, then it is judged that the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container. If the RFID signal belongs to the same truck, whether the above three conditions are established at the same time;
若所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件同时成立,则生成所述疑似事件;If the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container For the same truck, if the above three conditions are satisfied at the same time, the suspected event will be generated;
若所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件不能同时成立,则判断是否能以所述事件结束时刻为起始向后获取到第二预设时间内的第四目标RFID信号;If the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container For the same truck, if the above three conditions cannot be satisfied at the same time, it is determined whether the fourth target RFID signal within the second preset time can be acquired backward starting from the end time of the event;
若否,则生成所述装箱事件;If not, generating the boxing event;
若是,则判断所述第四目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于第三预设数量;If yes, then determine whether the number of the RFID signals of the truck and the RFID signals of the container that simultaneously appear in the fourth target RFID signal is greater than or equal to a third preset number;
若是,则生成所述装箱事件;If so, generate the boxing event;
若否,则生成所述卸箱事件。If not, the unboxing event is generated.
进一步的,在生成所述集装箱的疑似事件后,所述生成方法还包括:Further, after generating the suspected event of the container, the generating method further includes:
将所述疑似事件发送至客户端,以使用户对所述疑似事件进行修改。The suspected event is sent to the client, so that the user can modify the suspected event.
第二方面,本申请实施例还提供了一种集装箱装卸事件的生成装置,所述生成装置包括:In a second aspect, an embodiment of the present application further provides an apparatus for generating a container loading and unloading event, where the generating apparatus includes:
事件开始时刻确定模块,用于将首次接收到重量信号所表征的重量数据大于第一重量阈值的时刻作为事件开始时刻;an event start time determining module, used for taking the time when the weight data represented by the weight signal received for the first time is greater than the first weight threshold as the event start time;
判断模块,用于持续接收重量信号,并判断接收到重量信号所表征的重量数据达到第二重量阈值的持续时间是否大于或等于第一预设时间;a judgment module for continuously receiving the weight signal, and judging whether the duration for which the weight data represented by the received weight signal reaches the second weight threshold is greater than or equal to the first preset time;
事件结束时刻确定模块,用于若是,则将在所述第一预设时间内最后一次接收到重量信号所表征的重量数据达到第二重量阈值的时刻,作为事件结束时刻;The event end time determination module is used for, if yes, the time when the weight data represented by the weight signal is received for the last time and reaches the second weight threshold within the first preset time as the event end time;
RFID信号获取模块,用于获取采集时间点位于所述事件开始时刻和事件结束时刻内的RFID信号;其中,RFID信号包括集装箱的RFID信号和货车的RFID信号;an RFID signal acquisition module, configured to acquire RFID signals whose acquisition time points are within the event start time and event end time; wherein the RFID signals include the RFID signals of containers and the RFID signals of trucks;
事件生成模块,用于基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件;其中,所述装卸事件包括装箱事件,卸箱事件和移箱事件中的任意一个,所述疑似事件包括疑似装箱事件或疑似移箱事件。An event generation module, configured to generate a loading and unloading event or a suspected event of a container based on the acquired multiple RFID signals; wherein, the loading and unloading event includes any one of a loading event, a container unloading event and a container moving event, and the suspected event Including suspected boxing events or suspected box-moving events.
进一步的,所述事件生成模块在用于基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件时,所述事件生成模块还用于:Further, when the event generation module is used to generate a loading and unloading event or a suspected event of a container based on the acquired multiple RFID signals, the event generation module is further used for:
判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半;Determine whether the number of RFID signals of the container in the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals;
若否,则生成疑似事件;If not, generate a suspected event;
若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号;If so, take the first RFID signal in the plurality of RFID signals as a starting point to obtain a first preset number of first target RFID signals backward;
判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号;determining whether there are multiple RFID signals of different trucks in the first target RFID signal;
若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity;
若否,则确定处于集装箱的装箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号;If not, determine that the container is in a packing event, and use the last RFID signal in the plurality of RFID signals as the termination to acquire the first preset number of second target RFID signals forward;
判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号;Determine whether there are multiple RFID signals of different trucks in the second target RFID signal;
若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset quantity;
若是,则生成所述装箱事件;If so, generate the boxing event;
若否,则生成所述疑似装箱事件。If not, the suspected boxing event is generated.
进一步的,所述事件生成模块在用于基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件时,所述事件生成模块还用于:Further, when the event generation module is used to generate a loading and unloading event or a suspected event of a container based on the acquired multiple RFID signals, the event generation module is further used for:
判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半;Determine whether the number of RFID signals of the container in the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals;
若否,则生成疑似事件;If not, generate a suspected event;
若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号;If so, take the first RFID signal in the plurality of RFID signals as a starting point to obtain a first preset number of first target RFID signals backward;
判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号;determining whether there are multiple RFID signals of different trucks in the first target RFID signal;
若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity;
若是,确定处于集装箱的卸箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号;If so, determine the unloading event of the container, and use the last RFID signal in the plurality of RFID signals as the termination to obtain the first preset number of second target RFID signals forward;
判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号;Determine whether there are multiple RFID signals of different trucks in the second target RFID signal;
若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset quantity;
若是,则生成所述移箱事件;If so, generate the box-moving event;
若否,则所述第二目标RFID信号中是否存在两个不同的货车的RFID信号和两个不同的集装箱的RFID信号;If not, whether there are two different RFID signals of trucks and two different RFID signals of containers in the second target RFID signal;
若否,则生成所述卸箱事件;If not, generating the unpacking event;
若是,则生成所述疑似移箱事件。If so, generate the suspected box moving event.
第三方面,本申请实施例还提供一种电子设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如上述的集装箱装卸事件的生成方法的步骤。In a third aspect, embodiments of the present application further provide an electronic device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processing The processor and the memory communicate through a bus, and the machine-readable instructions are executed by the processor to execute the steps of the above-mentioned method for generating a container handling event.
第四方面,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如上述的集装箱装卸事件的生成方法的步骤。In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the above-mentioned method for generating a container handling event are executed. .
本申请实施例提供的集装箱装卸事件的生成方法、生成装置和电子设备,将首次接收到重量信号所表征的重量数据大于第一重量阈值的时刻作为事件开始时刻,将在第一预设时间内最后一次接收到重量信号所表征的重量数据达到第二重量阈值的时刻作为事件结束时刻,根据确定出的事件开始时刻和事件结束时刻获取RFID信号,并基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件。本申请提供的集装箱装卸事件的生成方法,与现有技术相比,可以通过获取到的RFID信号自动生成集装箱的装卸事件,无需人工记录,提高工作效率。In the method, device, and electronic device for generating a container loading and unloading event provided by the embodiments of the present application, the moment when the weight data represented by the weight signal received for the first time is greater than the first weight threshold is regarded as the event start moment, and the event will be started within the first preset time. The time when the weight data represented by the last received weight signal reaches the second weight threshold is taken as the event end time, and the RFID signal is obtained according to the determined event start time and event end time, and the container's RFID signal is generated based on the obtained multiple RFID signals. Loading and unloading incidents or suspected incidents. Compared with the prior art, the method for generating container loading and unloading events provided by the present application can automatically generate container loading and unloading events through the acquired RFID signals, without manual recording, thereby improving work efficiency.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本申请实施例所提供的一种集装箱装卸事件的生成方法的流程图;1 is a flowchart of a method for generating a container handling event provided by an embodiment of the present application;
图2为本申请实施例所提供的一种集装箱装卸事件的生成装置的结构示意图;FIG. 2 is a schematic structural diagram of a device for generating a container loading and unloading event provided by an embodiment of the present application;
图3为本申请实施例所提供的另一种集装箱装卸事件的生成装置的结构示意图;FIG. 3 is a schematic structural diagram of another device for generating a container loading and unloading event provided by an embodiment of the present application;
图4为本申请实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的每个其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by those skilled in the art without creative work falls within the protection scope of the present application.
随着物流行业的飞速发展,集装箱运输以其高效便捷安全的特点成为交通运输现代化的重要形式,因此,作为物流运输装备的核心的集装箱,在现代快速物流、货源安全、货源监管等行业需求下,迫切需要智能化,信息化。当使用吊车对集装箱进行装载或卸载时,通常都需要针对每个集装箱进行装卸箱情况的记录。With the rapid development of the logistics industry, container transportation has become an important form of transportation modernization due to its high efficiency, convenience and safety. Therefore, as the core of the logistics transportation equipment, the container, which is the core of the logistics transportation equipment, is under the demands of modern fast logistics, supply security, supply supervision and other industries. , There is an urgent need for intelligence and informatization. When a crane is used to load or unload containers, it is usually necessary to record the loading and unloading of each container.
经研究发现,目前,集装箱装卸箱事件基本上都是通过人工记录的方式,记录集装箱装箱或卸箱的情况和时间等,然而这种通过人工记录的方式不仅容易出错,而且效率较低,还会浪费大量的人力资源。After research, it is found that at present, the container loading and unloading events are basically recorded by manual recording of the situation and time of container loading or unloading. However, this manual recording method is not only prone to errors, but also inefficient. It will also waste a lot of human resources.
基于此,本申请实施例提供了一种集装箱装卸事件的生成方法,可以自动生成集装箱的装卸事件或疑似事件,无需人工记录,提高工作效率。Based on this, the embodiments of the present application provide a method for generating container loading and unloading events, which can automatically generate container loading and unloading events or suspected events without manual recording, thereby improving work efficiency.
请参阅图1,图1为本申请实施例所提供的一种集装箱装卸事件的生成方法的流程图。如图1中所示,本申请实施例所提供的集装箱装卸事件的生成方法,包括:Please refer to FIG. 1 , which is a flowchart of a method for generating a container loading and unloading event provided by an embodiment of the present application. As shown in FIG. 1 , the method for generating a container handling event provided by the embodiment of the present application includes:
S101,将首次接收到重量信号所表征的重量数据大于第一重量阈值的时刻作为事件开始时刻。S101, the time when the weight data represented by the weight signal received for the first time is greater than the first weight threshold value is taken as the event start time.
需要说明的是,重量信号指的是通过称重传感器所产生的质量信号。重量数据指的是重量信号所表征的具体的重量,例如5KG。第一重量阈值指的是预先设定好的、用于判断事件是否开始的重量阈值,根据本申请提供的实施例,第一重量阈值可以设置为集装箱在空箱状态时的重量。事件开始时刻指的是装卸事件开始的时间。It should be noted that the weight signal refers to the mass signal generated by the load cell. The weight data refers to the specific weight represented by the weight signal, such as 5KG. The first weight threshold refers to a preset weight threshold for judging whether an event starts. According to the embodiments provided in the present application, the first weight threshold may be set to the weight of the container in an empty state. The event start time refers to the time when the loading and unloading event starts.
针对上述步骤S101,在具体实施时,由于吊车在对集装箱进行装卸时,吊车的吊臂上可以安装一个称重传感器,称重传感器可以实时感知吊臂所吊起的物体的重量,重量信号即是又称重传感器发出的,重量数据即是称重传感器所感知到的重量,也就是吊臂所吊起的物体的重量。具体的,称重传感器往往以每秒钟一次的频率发送重量信号。当接收到重量信号时,需判断接收到的重量信号所表征的重量数据是否大于预设的第一重量阈值,由于第一重量阈值可以设定为空的集装箱的重量,因此若接收到的重量信号所表征的重量数据大于预设的第一重量阈值,则认为吊车已经吊起集装箱,因此将首次接收到重量信号所表征的重量数据大于第一重量阈值的时刻作为事件开始时刻。For the above step S101, in the specific implementation, since the crane is loading and unloading the container, a load cell can be installed on the boom of the crane, and the load cell can sense the weight of the object lifted by the boom in real time, and the weight signal is It is also known as the weight sensor, and the weight data is the weight sensed by the load sensor, that is, the weight of the object lifted by the boom. Specifically, the load cell often sends a weight signal at a frequency of once per second. When a weight signal is received, it is necessary to judge whether the weight data represented by the received weight signal is greater than the preset first weight threshold. Since the first weight threshold can be set as the weight of an empty container, if the received weight If the weight data represented by the signal is greater than the preset first weight threshold, it is considered that the crane has lifted the container, so the moment when the weight data represented by the weight signal is received for the first time is greater than the first weight threshold is taken as the event start moment.
S102,持续接收重量信号,并判断接收到重量信号所表征的重量数据达到第二重量阈值的持续时间是否大于或等于第一预设时间。S102, continue to receive the weight signal, and determine whether the duration for which the weight data represented by the received weight signal reaches the second weight threshold is greater than or equal to the first preset time.
需要说明的是,第二重量阈值指的是预先设定好的、用于判断事件是否结束的重量阈值,根据本申请提供的实施例,第一重量阈值可以设置为0。第一预设时间指的是预先设定的时间,例如,该第一预设时间可以设定为3秒,对此本申请不做具体限定。It should be noted that the second weight threshold refers to a preset weight threshold used for judging whether the event ends. According to the embodiments provided in this application, the first weight threshold may be set to 0. The first preset time refers to a preset time, for example, the first preset time may be set to 3 seconds, which is not specifically limited in this application.
针对上述步骤S102,在具体实施时,持续接收称重传感器发送来的重量信号,当接收到的重量信号所表征的重量数据达到了第二重量阈值,例如重量数据为0时,则认为吊臂上没有吊起任何物品,这时判断接收到重量信号所表征的重量数据达到第二重量阈值的持续时间是否大于或等于第一预设时间,例如持续时间是否达到了3秒。For the above step S102, in the specific implementation, the weight signal sent by the weighing sensor is continuously received, and when the weight data represented by the received weight signal reaches the second weight threshold, for example, when the weight data is 0, it is considered that the boom is If no object is lifted, it is judged whether the duration for which the weight data represented by the received weight signal reaches the second weight threshold is greater than or equal to the first preset time, for example, whether the duration reaches 3 seconds.
S103,若是,则将在所述第一预设时间内最后一次接收到重量信号所表征的重量数据达到第二重量阈值的时刻,作为事件结束时刻。S103, if yes, take the time when the weight data represented by the weight signal received for the last time reaches the second weight threshold within the first preset time as the end time of the event.
需要说明的是,事件结束时刻指的是装卸事件结束的时间。It should be noted that the event end time refers to the time when the loading and unloading event ends.
针对上述步骤S103,在具体实施时,若判断接收到重量信号所表征的重量数据达到第二重量阈值的持续时间大于或等于第一预设时间,则将在第一预设时间内最后一次接收到重量信号所表征的重量数据达到第二重量阈值的时刻,作为事件结束时刻。For the above step S103, in the specific implementation, if it is determined that the duration of the received weight data represented by the weight signal reaching the second weight threshold value is greater than or equal to the first preset time, the last time the received weight signal will be received within the first preset time. The time when the weight data represented by the weight signal reaches the second weight threshold is regarded as the end time of the event.
S104,获取采集时间点位于所述事件开始时刻和事件结束时刻内的RFID信号。S104, acquiring the RFID signals whose collection time points are within the event start time and the event end time.
需要说明的是,采集时间点指的是采集到RFID信号的时间。这里的RFID(RadioFrequency Identification,无线电射频识别)标签指的是电子标签,电子标签是一种非接触式的自动识别技术,它通过射频信号来识别目标对象并获取相关数据,识别工作无需人工干预,作为条形码的无线版本,RFID技术具有条形码所不具备的防水、防磁、耐高温、使用寿命长、读取距离大、标签上数据可以加密、存储数据容量更大、存储信息更改自如等优点。根据本申请提供的实施例,RFID信号指的是基于扫描到的RFID标签而生成的RFID信号,用来区分识别到的是哪一个目标对象,并且所生成的RFID信号中还会包括识别到的对象所对应的相关数据。根据本申请提供的实施例,RFID信号即是通过扫描RFID标签所生成的信号。具体的,RFID信号包括集装箱的RFID信号和货车的RFID信号。集装箱RFID信号用来表征识别到的是集装箱,并且集装箱的RFID信号中还会包括集装箱的编号或名称等相关数据,用于区分不同的集装箱,对此本申请不做具体限定。货车RFID信号用来表征识别到的是货车,并且货车的RFID信号中还会包括货车的编号或车牌号等,用于区分不同的货车,对此本申请不做具体限定。It should be noted that the collection time point refers to the time when the RFID signal is collected. The RFID (RadioFrequency Identification, radio frequency identification) tag here refers to an electronic tag. An electronic tag is a non-contact automatic identification technology. It uses radio frequency signals to identify target objects and obtain relevant data. As a wireless version of barcode, RFID technology has the advantages of waterproof, anti-magnetic, high temperature resistance, long service life, large reading distance, encrypted data on the label, larger storage data capacity, and easy change of stored information that barcodes do not have. According to the embodiments provided in this application, the RFID signal refers to an RFID signal generated based on the scanned RFID tag, which is used to distinguish which target object is identified, and the generated RFID signal also includes the identified target object. The relevant data corresponding to the object. According to the embodiments provided in this application, the RFID signal is a signal generated by scanning an RFID tag. Specifically, the RFID signal includes the RFID signal of the container and the RFID signal of the truck. The container RFID signal is used to indicate that the container is identified, and the RFID signal of the container also includes related data such as the container number or name, which is used to distinguish different containers, which is not specifically limited in this application. The truck RFID signal is used to indicate that the truck is identified, and the RFID signal of the truck also includes the number or license plate number of the truck, which is used to distinguish different trucks, which is not specifically limited in this application.
作为一种可选的实施方式,根据本申请提供的实施例,可以在集装箱和/或货车上设置RFID标签,其中,集装箱RFID标签指的是用来识别集装箱的RFID标签,不同的集装箱RFID标签用来区分不同的集装箱。货车RFID标签指的是用来识别货车的RFID标签,不同的货车RIFD标签用来区分不同的货车。并且在吊车上设置RFID扫描器,具体的,可以安装在正面吊车的正前面,以便于吊车在装卸集装箱时,RFID扫描器可以更清晰的对RFID标签进行扫描。一个集装箱可以安装两个相同的集装箱RFID标签,可以分别安装在集装箱的两个侧面。一个货车可以安装两个相同的货车RFID标签,可以分别安装在货车的两个侧面。这样当正面吊车在货车的侧面进行集装箱的装卸操作时,吊车上的RFID扫描器可以扫描到货车侧面的或集装箱侧面的RFID标签。RFID扫描器按每秒的频率对RFID标签进行扫描,在扫描到至少一个RFID标签后,基于扫描到的RFID标签生成对应的RFID信号。As an optional implementation manner, according to the examples provided in this application, an RFID tag may be set on a container and/or a truck, wherein the container RFID tag refers to an RFID tag used to identify a container, and different container RFID tags Used to distinguish different containers. The truck RFID tag refers to the RFID tag used to identify the truck, and different truck RIFD tags are used to distinguish different trucks. And an RFID scanner is set on the crane, specifically, it can be installed in front of the reach crane, so that when the crane is loading and unloading the container, the RFID scanner can scan the RFID tag more clearly. A container can be installed with two identical container RFID tags, which can be installed on two sides of the container respectively. One truck can be installed with two identical truck RFID tags, which can be installed on the two sides of the truck respectively. In this way, when the reach stacker is loading and unloading the container on the side of the truck, the RFID scanner on the crane can scan the RFID tag on the side of the truck or the side of the container. The RFID scanner scans the RFID tags at a frequency of every second, and after scanning at least one RFID tag, generates a corresponding RFID signal based on the scanned RFID tag.
针对上述步骤S104,在具体实施时,由于RFID信号是以每秒的频率产生的,因此RFID信号也带有对应的采集时间点,在确定出事件开始时刻和事件结束时刻后,获取采集时间点位于所述事件开始时刻和事件结束时刻内的全部的RFID信号。For the above step S104, in the specific implementation, since the RFID signal is generated at a frequency of every second, the RFID signal also has a corresponding collection time point. After the event start time and event end time are determined, the collection time point is obtained. All RFID signals within the event start time and event end time.
S105,基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件。S105, generating a container loading and unloading event or a suspected event based on the acquired multiple RFID signals.
需要说明的是,装卸事件包括装箱事件,卸箱事件和移箱事件中的任意一个。这里,装箱事件指的是吊车将集装箱装载到货车上的过程。卸箱事件指的是吊车将集装箱从货车上卸载下来的过程。移箱事件指的是吊车将集装箱从一个货车上移动到另一个货车上的过程。疑似事件包括疑似装箱事件或疑似移箱事件。这里,疑似事件指的是疑似的装卸事件。疑似装箱事件指的是疑似的装箱事件,疑似移箱事件指的是疑似的移箱事件。It should be noted that the loading and unloading event includes any one of a packing event, an unpacking event and a box moving event. Here, the loading event refers to the process of loading a container onto a truck by a crane. An unloading event refers to the process by which a crane unloads a container from a truck. A container transfer event refers to the process by which a crane moves a container from one truck to another. Suspected events include suspected boxing events or suspected box-moving events. Here, the suspected event refers to a suspected loading and unloading event. Suspected boxing events refer to suspected boxing events, and suspected boxing events refer to suspected boxing events.
针对上述步骤S105,在具体实施时,根据获取到的多个RFID信号生成集装箱的装卸事件或疑似事件。这里,由于在采集RFID信号时,可能会存在信号干扰,或有其他货车经过吊车的情况,因此导致不能通过采集到的RFID信号准确的判断是装箱事件还是卸箱事件还是移箱事件,因此生成疑似事件,后续经人工再修改该疑似事件。For the above step S105, during specific implementation, a container loading and unloading event or a suspected event is generated according to the acquired multiple RFID signals. Here, when collecting RFID signals, there may be signal interference, or other trucks pass by the crane, so it is impossible to accurately judge whether it is a packing event, unloading event or moving event through the collected RFID signal. Therefore, A suspected event is generated, and the suspected event is manually modified later.
作为一种可选的实施方式,所述基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件,包括:As an optional implementation manner, the generation of container loading and unloading events or suspected events based on the acquired multiple RFID signals includes:
步骤201,判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半。Step 201, judging whether the number of RFID signals of the container among the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals.
针对上述步骤201,在具体实施时,由于获取到的RFID信号中既包括集装箱的RFID信号,又包含货车的RFID信号,因此需要先判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半,若是,则执行步骤202,若否,则执行步骤203。Regarding the above step 201, in the specific implementation, since the obtained RFID signals include both the RFID signals of the container and the RFID signals of the truck, it is necessary to first determine whether the number of the RFID signals of the container among the obtained multiple RFID signals is not More than or equal to half of the total number of RFID signals, if yes, go to step 202 , if not, go to step 203 .
步骤202,若否,则生成疑似事件。Step 202, if not, generate a suspected event.
针对上述步骤202,在具体实施时,当判断获取到的多个RFID信号中集装箱的RFID信号的数量小于全部的RFID信号的数量的一半时,则认为当前事件属于疑似事件。For the above-mentioned step 202, in a specific implementation, when it is judged that the number of RFID signals of the container among the obtained multiple RFID signals is less than half of the total number of RFID signals, it is considered that the current event is a suspected event.
步骤203,若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号。Step 203 , if yes, take the first RFID signal among the plurality of RFID signals as a starting point to obtain a first preset number of first target RFID signals backward.
需要说明的是,第一预设数量指的是预设的用于获取第一目标RFID信号的数量,例如,可以设置为7,对此本申请不做具体限定。第一目标RFID信号指的是从多个RFID信号中根据第一预设数量获取到的目标RFID信号。It should be noted that, the first preset number refers to the preset number for acquiring the first target RFID signal, for example, it may be set to 7, which is not specifically limited in this application. The first target RFID signal refers to a target RFID signal obtained from a plurality of RFID signals according to a first preset number.
针对上述步骤203,当具体实施时,当判断获取到的多个RFID信号中集装箱的RFID信号的数量大于或等于全部的RFID信号的数量的一半时,则从多个RFID信号中的第一个RFID信号开始,向后获取第一预设数量的RFID信号,并将获取到的RFID信号作为第一目标RFID信号。For the above step 203, when it is specifically implemented, when it is judged that the number of RFID signals of the container in the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals, the first one of the multiple RFID signals is selected from the The RFID signal starts, a first preset number of RFID signals are acquired backward, and the acquired RFID signal is used as the first target RFID signal.
步骤204,判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号。Step 204, judging whether there are multiple RFID signals of different trucks in the first target RFID signal.
针对上述步骤204,在具体实施时,由于在进行RFID信号采集时有存在一些信号干扰,或者会有其他的货车从吊车前经过,可能有导致采集到的RFID信号中存在多个不同的货车的RFID信号,因此需要判断第一目标RFID信号中是否存在多个不同的货车的RFID信号。若否,则执行步骤205。For the above step 204, in the specific implementation, since there is some signal interference when the RFID signal is collected, or other trucks may pass by the crane, there may be a number of different trucks in the collected RFID signal. Therefore, it is necessary to determine whether there are multiple RFID signals of different trucks in the first target RFID signal. If not, step 205 is executed.
步骤205,若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半。Step 205, if not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity.
针对上述步骤205,在具体实施时,由于在RFID信号采集时,当吊车同时面对货车和集装箱时,会同时采集到货车的RFID信号和集装箱的RFID信号,因此当判断第一目标RFID信号中不存在多个不同的货车的RFID信号时,则继续判断在第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号,也就是同时采集到的货车的RFID信号和集装箱的RFID信号的数量是否大于或等于第一预设数量的一半。若否,则执行步骤206。For the above step 205, in the specific implementation, when the crane is facing the truck and the container at the same time, the RFID signal of the truck and the RFID signal of the container will be collected at the same time, so when it is judged that the first target RFID signal is in the When there are no RFID signals of multiple different trucks, continue to determine that the RFID signal of the truck and the RFID signal of the container appear at the same time in the first target RFID signal, that is, the RFID signal of the truck and the RFID signal of the container collected at the same time. Whether the quantity is greater than or equal to half of the first preset quantity. If not, step 206 is executed.
步骤206,若否,则确定处于集装箱的装箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号。Step 206 , if not, determine that the container is in a packing event, and use the last RFID signal of the plurality of RFID signals as a termination to acquire a first preset number of second target RFID signals forward.
需要说明的是,第二目标RFID信号指的是从多个RFID信号中根据第一预设数量获取到的目标RFID信号。It should be noted that the second target RFID signal refers to a target RFID signal obtained from a plurality of RFID signals according to a first preset number.
针对上述步骤206,在具体实施时,若判断第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量小于所述第一预设数量的一半,则确定当前处于集装箱的装箱事件。并以多个RFID信号中的最后一个RFID信号为终止,向前获取第一预设数量的RFID信号,并将获取到的RFID信号作为第二目标RFID信号。For the above-mentioned step 206, in the specific implementation, if it is determined that the number of the RFID signals of the truck and the RFID signals of the container simultaneously appearing in the first target RFID signal is less than half of the first preset number, then it is determined that the container is currently being packed. event. And terminating with the last RFID signal in the plurality of RFID signals, the first preset number of RFID signals are acquired forward, and the acquired RFID signal is used as the second target RFID signal.
步骤207,判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号。Step 207, judging whether there are multiple RFID signals of different trucks in the second target RFID signal.
针对上述步骤207,在具体实施时,需要判断第二目标RFID信号中是否存在多个不同的货车的RFID信号。若否,则执行步骤208。For the above step 207, in the specific implementation, it is necessary to determine whether there are multiple RFID signals of different trucks in the second target RFID signal. If not, step 208 is executed.
步骤208,若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半。Step 208, if not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset quantity.
针对上述步骤208,在具体实施时,当判断第二目标RFID信号中不存在多个不同的货车的RFID信号时,则继续判断在第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号,也就是同时采集到的货车的RFID信号和集装箱的RFID信号的数量是否大于或等于第一预设数量的一半。若是,则执行步骤209,若否,则执行步骤210。For the above step 208, in a specific implementation, when it is judged that there are no RFID signals of multiple different trucks in the second target RFID signal, it continues to determine that the RFID signal of the truck and the RFID signal of the container simultaneously appear in the second target RFID signal Signals, that is, whether the number of the RFID signals of the truck and the RFID signals of the container collected at the same time is greater than or equal to half of the first preset number. If yes, go to step 209, if not, go to step 210.
步骤209,若是,则生成所述装箱事件。Step 209, if yes, generate the boxing event.
针对上述步骤209,当判断第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量大于或等于第一预设数量的一半时,则生成集装箱的装箱事件。For the above step 209, when it is determined that the number of the RFID signals of the truck and the RFID signals of the container appearing simultaneously in the second target RFID signal is greater than or equal to half of the first preset number, a container packing event is generated.
步骤210,若否,则生成所述疑似装箱事件。
针对上述步骤210,当判断第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量小于第一预设数量的一半时,则生成集装箱的疑似装箱事件。For the
作为一种可选的实施方式,所述基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件,包括:As an optional implementation manner, the generation of container loading and unloading events or suspected events based on the acquired multiple RFID signals includes:
步骤301,判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半。Step 301, judging whether the number of RFID signals of the container among the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals.
步骤302,若否,则生成疑似事件。Step 302, if not, generate a suspected event.
步骤303,若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号。Step 303 , if yes, take the first RFID signal among the plurality of RFID signals as a starting point to acquire a first preset number of first target RFID signals backward.
步骤304,判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号。Step 304 , determine whether there are multiple RFID signals of different trucks in the first target RFID signal.
步骤305,若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半。Step 305 , if not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity.
其中,步骤301至步骤305的描述可以参照步骤201至步骤205的描述,并且能达到相同的技术效果,对此不做赘述。The descriptions of steps 301 to 305 may refer to the descriptions of steps 201 to 205, and the same technical effect can be achieved, which is not repeated here.
步骤306,若是,确定处于集装箱的卸箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号。Step 306 , if yes, determine the event of unloading the container, and use the last RFID signal of the plurality of RFID signals as the termination to acquire the second target RFID signals of the first preset number.
针对上述步骤306,在具体实施时,若判断第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量大于或等于所述第一预设数量的一半,则确定当前处于集装箱的卸箱事件。并以多个RFID信号中的最后一个RFID信号为终止,向前获取第一预设数量的RFID信号,并将获取到的RFID信号作为第二目标RFID信号。For the above-mentioned step 306, in the specific implementation, if it is determined that the number of the RFID signals of the truck and the RFID signals of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset number, then it is determined that the number of RFID signals currently in the container is Unboxing event. And with the last RFID signal in the plurality of RFID signals as the termination, the first preset number of RFID signals are acquired forward, and the acquired RFID signal is used as the second target RFID signal.
步骤307,判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号。Step 307: Determine whether there are multiple RFID signals of different trucks in the second target RFID signal.
针对上述步骤307,在具体实施时,需要判断第二目标RFID信号中是否存在多个不同的货车的RFID信号。若否,则执行步骤308。For the above step 307, in the specific implementation, it is necessary to determine whether there are multiple RFID signals of different trucks in the second target RFID signal. If not, step 308 is executed.
步骤308,若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半。Step 308 , if not, determine whether the number of the RFID signals of the truck and the RFID signals of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset number.
针对上述步骤308,在具体实施时,当判断第二目标RFID信号中不存在多个不同的货车的RFID信号时,则继续判断在第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号,也就是同时采集到的货车的RFID信号和集装箱的RFID信号的数量是否大于或等于第一预设数量的一半。若是,则执行步骤309,若否,则执行步骤310。Regarding the above step 308, in the specific implementation, when it is judged that there are no RFID signals of multiple different trucks in the second target RFID signal, it continues to determine that the RFID signal of the truck and the RFID signal of the container simultaneously appear in the second target RFID signal Signals, that is, whether the number of the RFID signals of the truck and the RFID signals of the container collected at the same time is greater than or equal to half of the first preset number. If yes, go to step 309, if not, go to step 310.
步骤309,若是,则生成所述移箱事件。Step 309, if yes, generate the box moving event.
针对上述步骤309,当判断第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量大于或等于所述第一预设数量的一半时,则生成集装箱的移箱事件。For the above step 309, when it is determined that the number of the RFID signals of the truck and the RFID signals of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset number, a container moving event is generated.
步骤310,若否,则所述第二目标RFID信号中是否存在两个不同的货车的RFID信号和两个不同的集装箱的RFID信号。Step 310, if no, check whether there are two different RFID signals of trucks and two different RFID signals of containers in the second target RFID signal.
针对上述步骤310,当判断第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量小于第一预设数量的一半时,需要继续判断第二目标RFID信号中是否存在两个不同的货车的RFID信号和两个不同的集装箱的RFID信号。若否,则执行步骤311;若是,则执行步骤312。For the above step 310, when it is determined that the number of the RFID signals of the truck and the RFID signals of the container simultaneously appearing in the second target RFID signal is less than half of the first preset number, it is necessary to continue to determine whether there are two different RFID signals in the second target RFID signal. The RFID signal of the truck and the RFID signal of two different containers. If no, go to step 311; if yes, go to step 312.
步骤311,若否,则生成所述卸箱事件。Step 311, if not, generate the unpacking event.
针对上述步骤311,在具体实施时,当判断第二目标RFID信号中不存在两个不同的货车的RFID信号和两个不同的集装箱的RFID信号时,则生成集装箱的卸箱事件。For the above step 311, in a specific implementation, when it is determined that there are no RFID signals of two different trucks and RFID signals of two different containers in the second target RFID signal, a container unloading event is generated.
步骤312,若是,则生成所述疑似移箱事件。Step 312, if yes, generate the suspected box moving event.
针对上述步骤312,在具体实施时,当判断第二目标RFID信号中存在两个不同的货车的RFID信号和两个不同的集装箱的RFID信号时,则生成集装箱的疑似移箱事件。Regarding the above step 312, in a specific implementation, when it is determined that there are two different RFID signals of trucks and two different RFID signals of containers in the second target RFID signal, a suspected container moving event of the container is generated.
作为一种可选的实施方式,所述生成方法还包括:As an optional implementation manner, the generating method further includes:
步骤401,若所述第一目标RFID信号中存在多个不同的货车的RFID信号,或,所述第二目标RFID信号中存在多个不同的货车的RFID信号,则以多个RFID信号中的第一个RFID信号为起点向后获取第二预设数量的第三目标RFID信号。Step 401: If there are multiple RFID signals of different trucks in the first target RFID signal, or, if there are multiple RFID signals of different trucks in the second target RFID signal, use the RFID signal of the multiple RFID signals. The first RFID signal is a starting point to acquire a second preset number of third target RFID signals backward.
需要说明的是,第二预设数量指的是预设的用于获取第三目标RFID信号的数量,例如,可以设置为30,对此本申请不做具体限定。第三目标RFID信号指的是从多个RFID信号中根据第二预设数量获取到的目标RFID信号。It should be noted that the second preset number refers to the preset number used to obtain the third target RFID signal, for example, it may be set to 30, which is not specifically limited in this application. The third target RFID signal refers to a target RFID signal obtained from a plurality of RFID signals according to a second preset number.
针对上述步骤401,在具体实施时,当在上述步骤204、207、步骤304或步骤307中,当判断出第一目标RFID信号中存在多个不同的货车的RFID信号,或,第二目标RFID信号中存在多个不同的货车的RFID信号,这时则从多个RFID信号中的第一个RFID信号开始,向后获取第二预设数量的RFID信号,并将获取到的RFID信号作为第三目标RFID信号。For the above step 401, in the specific implementation, when it is determined in the above steps 204, 207, 304 or 307 that there are multiple RFID signals of different trucks in the first target RFID signal, or, the second target RFID signal There are multiple RFID signals of different trucks in the signal. At this time, starting from the first RFID signal among the multiple RFID signals, a second preset number of RFID signals are acquired backward, and the acquired RFID signal is used as the first RFID signal. Three target RFID signals.
步骤402,判断所述第三目标RFID信号中属于同一个货车的货车的RFID信号的数量是否达到数量阈值。Step 402, judging whether the number of RFID signals of the trucks belonging to the same truck in the third target RFID signal reaches a number threshold.
需要说明的是,数量阈值指的是预先设定的,用于判断第三目标RFID信号中属于同一个货车的货车的RFID信号的数量是否达到预设标准的数值,例如,这里的数量阈值可以设置的为20,对此本申请不做具体限定。It should be noted that the quantity threshold refers to a preset value used to determine whether the number of RFID signals of the trucks belonging to the same truck in the third target RFID signal reaches a preset standard value, for example, the quantity threshold here can be The setting is 20, which is not specifically limited in this application.
针对上述步骤402,在具体实施时,判断第三目标RFID信号中,属于同一个货车的货车的RFID信号的数量是否达到了数量阈值,若是,则执行步骤403。这里,也可以判断在第三目标RFID信号中是否可以获取到唯一一个货车的RFID信号的数量最多的货车,若是,则执行步骤403。For the above step 402, in the specific implementation, it is determined whether the number of RFID signals of the trucks belonging to the same truck in the third target RFID signal has reached the number threshold, and if so, step 403 is performed. Here, it can also be judged whether the truck with the largest number of RFID signals of a unique truck can be obtained in the third target RFID signal, and if so, step 403 is executed.
步骤403,若是,则判断所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件是否同时成立。Step 403, if yes, determine that the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the third target RFID signal The RFID signal of the truck belongs to the same truck, whether the above three conditions are satisfied at the same time.
针对上述步骤403,在具体实施时,当判断第三目标RFID信号中属于同一个货车的货车的RFID信号的数量达到了数量阈值时,则判断第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,第三目标RFID信号中集装箱的RFID信号属于同一集装箱,第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件是否同时成立。也就是判断第三目标RFID信号中开始与结束的集装箱信息是否一致,第三目标RFID信号中开始与结束的货车信息是否一致,并且第三目标RFID信号中仅存在一个集装箱所对应的集装箱的RFID信号和一个货车所对应的货车的RFID信号。For the above step 403, in the specific implementation, when it is determined that the number of RFID signals of the trucks belonging to the same truck in the third target RFID signal reaches the number threshold, then it is determined that the first RFID signal in the third target RFID signal is the same as the last one. If one RFID signal is consistent, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same truck, whether the above three conditions are satisfied at the same time. That is, it is judged whether the information of the starting and ending containers in the third target RFID signal is consistent, whether the information of the starting and ending trucks in the third target RFID signal is consistent, and only the RFID of the container corresponding to one container exists in the third target RFID signal. The signal and the RFID signal of the truck corresponding to a truck.
步骤404,若所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件同时成立,则生成所述疑似事件。Step 404, if the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container. If the RFID signal belongs to the same truck, and the above three conditions are satisfied simultaneously, the suspected event is generated.
针对上述步骤404,若步骤403中设定的三个条件可以同时成立,则生成集装箱的疑似事件。For the above step 404, if the three conditions set in the step 403 can be satisfied at the same time, a suspected event of the container is generated.
步骤405,若所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件不能同时成立,则判断是否能以所述事件结束时刻为起始向后获取到第二预设时间内的第四目标RFID信号。Step 405, if the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container. If the RFID signals belong to the same truck, and the above three conditions cannot be satisfied at the same time, it is determined whether the fourth target RFID signal within the second preset time can be acquired backward starting from the end time of the event.
需要说明的是,第二预设时间的是预先设定的时间,例如,该第二预设时间可以设定为20秒,对此本申请不做具体限定。第四目标RFID信号指的是根据第二预设时间获取的,采集时间位于事件结束时刻之后的目标信号。It should be noted that the second preset time is a preset time, for example, the second preset time may be set to 20 seconds, which is not specifically limited in this application. The fourth target RFID signal refers to the target signal acquired according to the second preset time, and the collection time is after the end time of the event.
针对上述步骤405,在具体实施时,若步骤403中设定的三个条件不能同时成立,则判断是否能以事件结束时刻为起始向后获取到第二预设时间内的第四目标RFID信号。若否,则执行步骤406;若是,则执行步骤407。For the above-mentioned step 405, in the specific implementation, if the three conditions set in the step 403 cannot be satisfied at the same time, it is determined whether the fourth target RFID within the second preset time can be acquired backward starting from the end time of the event. Signal. If no, go to step 406; if yes, go to step 407.
步骤406,若否,则生成所述装箱事件。Step 406, if not, generate the boxing event.
针对上述步骤406,在具体实施时,若不能以事件结束时刻为起始向后获取到第二预设时间内的第四目标RFID信号,则生成集装箱的装箱事件。Regarding the above step 406, in the specific implementation, if the fourth target RFID signal within the second preset time cannot be acquired backward starting from the event end time, a container packing event is generated.
步骤407,若是,则判断所述第四目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于第三预设数量。Step 407 , if yes, determine whether the number of the RFID signals of the truck and the RFID signals of the container simultaneously appearing in the fourth target RFID signal is greater than or equal to a third preset number.
需要说明的是,第三预设数量指的是预设的,用于判断第四目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号是否符合标准的数量,例如,可以设置为30,对此本申请不做具体限定。It should be noted that the third preset number refers to the preset number used to determine whether the RFID signal of the truck and the RFID signal of the container simultaneously appear in the fourth target RFID signal meet the standard, for example, it can be set to 30, There is no specific limitation on this in this application.
针对上述步骤407,在具体实施时,若可以以事件结束时刻为起始向后获取到第二预设时间内的第四目标RFID信号,则继续判断在第四目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号,也就是同时采集到的货车的RFID信号和集装箱的RFID信号的数量是否大于或等于第三预设数量。若是,则执行步骤408;若否,则执行步骤409。For the above step 407, in the specific implementation, if the fourth target RFID signal within the second preset time can be obtained backwards starting from the end time of the event, it is continued to determine that the fourth target RFID signal simultaneously appears in the truck's RFID signal. Whether the number of RFID signals and RFID signals of the container, that is, the RFID signals of the truck and the RFID signals of the container collected at the same time, is greater than or equal to a third preset number. If yes, go to step 408; if not, go to step 409.
步骤408,若是,则生成所述装箱事件。Step 408, if yes, generate the boxing event.
针对上述步骤408,在具体实施时,当第四目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量大于或等于第三预设数量,则生成集装箱的装箱事件。For the above step 408, in a specific implementation, when the number of RFID signals of trucks and RFID signals of containers simultaneously appearing in the fourth target RFID signal is greater than or equal to the third preset number, a container packing event is generated.
步骤409,若否,则生成所述卸箱事件。Step 409, if not, generate the unpacking event.
针对上述步骤409,在具体实施时,当第四目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量小于第三预设数量,则生成集装箱的卸箱事件。For the above step 409, in a specific implementation, when the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the fourth target RFID signal is less than the third preset quantity, a container unloading event is generated.
作为一种可选的实施方式,在生成所述集装箱的疑似事件后,所述装卸事件生成方法还包括:As an optional implementation manner, after the suspected event of the container is generated, the method for generating a loading and unloading event further includes:
将所述疑似事件发送至客户端,以使用户对所述疑似事件进行修改。The suspected event is sent to the client, so that the user can modify the suspected event.
针对上述步骤,在具体实施时,当确定出的事件为集装箱的疑似事件后,需要由吊车的司机去确定当时到底发生的是装箱事件、卸箱事件还是移箱事件。因此根据本申请提供的实施例,在生成疑似事件后,需要将生成的疑似事件发送给客户端,以使用户在客户端上对疑似事件进行修改,确定出具体的装卸事件。For the above steps, in the specific implementation, when the determined event is a suspected container event, the crane driver needs to determine whether the event is packing, unloading or moving. Therefore, according to the embodiments provided in the present application, after the suspected event is generated, the generated suspected event needs to be sent to the client, so that the user can modify the suspected event on the client and determine the specific loading and unloading event.
作为一种可选的实施方式,基于获取到的多个RFID信号生成集装箱的装卸事件之后,本申请提供的生成方法还包括:基于生成的集装箱的装卸事件以及事件开始时间和事件结束时间生成所述装卸事件对应的运单信息。As an optional embodiment, after the container loading and unloading events are generated based on the acquired multiple RFID signals, the generation method provided by the present application further includes: generating the generated loading and unloading events based on the generated container loading and unloading events and the event start time and event end time. The waybill information corresponding to the loading and unloading event.
需要说明的是,运单信息指的是在集装箱进行装卸货时所生成的运输凭证,可以用来表征在什么时间哪辆吊车对哪个货车上的哪个集装箱进行了装卸货。It should be noted that the waybill information refers to the transport document generated when the container is loaded and unloaded, and can be used to indicate which crane loaded and unloaded which container on which truck at what time.
根据本申请提供的实施例,在具体实施时,由于接收到了由吊车上的称重传感器所发送的重量信号,因此可以判断是哪辆吊车在进行装卸事件,接收到的集装箱RFID信号和货车RFID信号中带有对应的对象信息,因此可以根据这些信息去判断当前是哪辆货车上的哪个货物在进行装卸事件。并且在步骤S101确定了事件开始时刻,步骤S103确定了事件结束时刻,因此所生成的运单信息中也会带有装卸事件的开始时间和结束时间。According to the embodiments provided in this application, during the specific implementation, since the weight signal sent by the weighing sensor on the crane is received, it can be determined which crane is carrying out the loading and unloading event, and the received RFID signal of the container and the RFID of the truck can be determined. The signal carries corresponding object information, so it can be judged according to this information which cargo on which truck is currently undergoing loading and unloading events. And the start time of the event is determined in step S101, and the end time of the event is determined in step S103, so the generated waybill information will also include the start time and end time of the loading and unloading event.
例如,当接收到的重量信号是2号吊车发送的,根据接收到的集装箱RFID信号和货车RFID信号判断正在装箱事件的是4号集装箱和6号货车,并且记录到事件开始时刻为2021年12月22日15:00,事件结束时刻为2021年12月22日15:02,这时可以根据这些信息来生成对应的运单信息。运单信息可以为“2021年12月22日15:00-15:02,2号吊车将4号集装箱装载到了6号货车上”。这样可以直接根据采集到的信号来自动生成对应的运单信息,无需通过人工手动记录,提高工作效率。作为一种可选的实施方式,也可以将当前所操作的集装箱的重量添加到在运单信息中。For example, when the received weight signal is sent by the No. 2 crane, according to the received RFID signal of the container and the RFID signal of the truck, it is determined that the container No. 4 and the No. 6 truck are being packed, and the start time of the event is recorded as 2021. At 15:00 on December 22, the end time of the event is at 15:02 on December 22, 2021. At this time, the corresponding waybill information can be generated based on this information. The waybill information can be "On December 22, 2021, 15:00-15:02, the No. 2 crane loaded the No. 4 container onto the No. 6 truck". In this way, the corresponding waybill information can be automatically generated directly according to the collected signals, without manual manual recording, which improves work efficiency. As an optional implementation manner, the weight of the currently operated container may also be added to the information on the waybill.
这里,应注意,上述对运单信息的表现形式仅是示例,实际中,运单信息的表现形式不限于上述例子。Here, it should be noted that the above expressions of the waybill information are only examples, and in practice, the expression forms of the waybill information are not limited to the above examples.
本申请实施例提供的集装箱装卸事件的生成方法、生成装置和电子设备,将首次接收到重量信号所表征的重量数据大于第一重量阈值的时刻作为事件开始时刻,将在第一预设时间内最后一次接收到重量信号所表征的重量数据达到第二重量阈值的时刻作为事件结束时刻,根据确定出的事件开始时刻和事件结束时刻获取RFID信号,并基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件。本申请提供的集装箱装卸事件的生成方法,与现有技术相比,可以通过获取到的RFID信号自动生成集装箱的装卸事件,无需人工记录,提高工作效率。In the method, device, and electronic device for generating a container loading and unloading event provided by the embodiments of the present application, the moment when the weight data represented by the weight signal received for the first time is greater than the first weight threshold is regarded as the event start moment, and the event will be started within the first preset time. The time when the weight data represented by the last received weight signal reaches the second weight threshold is taken as the event end time, and the RFID signal is obtained according to the determined event start time and event end time, and the container's RFID signal is generated based on the obtained multiple RFID signals. Loading and unloading incidents or suspected incidents. Compared with the prior art, the method for generating container loading and unloading events provided by the present application can automatically generate container loading and unloading events through the acquired RFID signals, without manual recording, thereby improving work efficiency.
请参阅图2、图3,图2为本申请实施例所提供的一种集装箱装卸事件的生成装置的结构示意图,图3为本申请实施例所提供的另一种集装箱装卸事件的生成装置的结构示意图。如图2中所示,所述生成装置200包括:Please refer to FIG. 2 and FIG. 3. FIG. 2 is a schematic structural diagram of an apparatus for generating a container handling event provided by an embodiment of the present application, and FIG. 3 is a schematic diagram of another container handling event generating apparatus provided by an embodiment of the present application. Schematic. As shown in FIG. 2, the generating
事件开始时刻确定模块210,用于将首次接收到重量信号所表征的重量数据大于第一重量阈值的时刻作为事件开始时刻;The event start
判断模块220,用于持续接收重量信号,并判断接收到重量信号所表征的重量数据达到第二重量阈值的持续时间是否大于或等于第一预设时间;The
事件结束时刻确定模块230,用于若是,则将在所述第一预设时间内最后一次接收到重量信号所表征的重量数据达到第二重量阈值的时刻,作为事件结束时刻;The event end
RFID信号获取模块240,用于获取采集时间点位于所述事件开始时刻和事件结束时刻内的RFID信号;其中,RFID信号包括集装箱的RFID信号和货车的RFID信号;The RFID
事件生成模块250,用于基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件;其中,所述装卸事件包括装箱事件,卸箱事件和移箱事件中的任意一个,所述疑似事件包括疑似装箱事件或疑似移箱事件。The
进一步的,所述事件生成模块250在用于基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件时,所述事件生成模块250还用于:Further, when the
判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半;Determine whether the number of RFID signals of the container in the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals;
若否,则生成疑似事件;If not, generate a suspected event;
若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号;If so, take the first RFID signal in the plurality of RFID signals as a starting point to obtain a first preset number of first target RFID signals backward;
判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号;determining whether there are multiple RFID signals of different trucks in the first target RFID signal;
若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity;
若否,则确定处于集装箱的装箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号;If not, determine that the container is in a packing event, and use the last RFID signal in the plurality of RFID signals as the termination to acquire the first preset number of second target RFID signals forward;
判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号;Determine whether there are multiple RFID signals of different trucks in the second target RFID signal;
若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset quantity;
若是,则生成所述装箱事件;If so, generate the boxing event;
若否,则生成所述疑似装箱事件。If not, the suspected boxing event is generated.
进一步的,所述事件生成模块在用于基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件时,所述事件生成模块还用于:Further, when the event generation module is used to generate a loading and unloading event or a suspected event of a container based on the acquired multiple RFID signals, the event generation module is further used for:
判断获取到的多个RFID信号中集装箱的RFID信号的数量是否大于或等于全部的RFID信号的数量的一半;Determine whether the number of RFID signals of the container in the acquired multiple RFID signals is greater than or equal to half of the total number of RFID signals;
若否,则生成疑似事件;If not, generate a suspected event;
若是,则以多个RFID信号中的第一个RFID信号为起点向后获取第一预设数量的第一目标RFID信号;If so, take the first RFID signal in the plurality of RFID signals as a starting point to obtain a first preset number of first target RFID signals backward;
判断所述第一目标RFID信号中是否存在多个不同的货车的RFID信号;determining whether there are multiple RFID signals of different trucks in the first target RFID signal;
若否,则判断所述第一目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the first target RFID signal is greater than or equal to half of the first preset quantity;
若是,确定处于集装箱的卸箱事件,并以多个RFID信号中的最后一个RFID信号为终止向前获取第一预设数量的第二目标RFID信号;If so, determine the unloading event of the container, and use the last RFID signal in the plurality of RFID signals as the termination to obtain the first preset number of second target RFID signals forward;
判断所述第二目标RFID信号中是否存在多个不同的货车的RFID信号;Determine whether there are multiple RFID signals of different trucks in the second target RFID signal;
若否,则判断所述第二目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于所述第一预设数量的一半;If not, determine whether the quantity of the RFID signal of the truck and the RFID signal of the container simultaneously appearing in the second target RFID signal is greater than or equal to half of the first preset quantity;
若是,则生成所述移箱事件;If so, generate the box-moving event;
若否,则所述第二目标RFID信号中是否存在两个不同的货车的RFID信号和两个不同的集装箱的RFID信号;If not, whether there are two different RFID signals of trucks and two different RFID signals of containers in the second target RFID signal;
若否,则生成所述卸箱事件;If not, generating the unpacking event;
若是,则生成所述疑似移箱事件。If so, generate the suspected box moving event.
进一步的,所述事件生成模块在用于基于获取到的多个RFID信号生成集装箱的装卸事件或疑似事件时,所述事件生成模块还用于:Further, when the event generation module is used to generate a loading and unloading event or a suspected event of a container based on the acquired multiple RFID signals, the event generation module is further used for:
若所述第一目标RFID信号中存在多个不同的货车的RFID信号,或,所述第二目标RFID信号中存在多个不同的货车的RFID信号,则以多个RFID信号中的第一个RFID信号为起点向后获取第二预设数量的第三目标RFID信号;If there are multiple RFID signals of different trucks in the first target RFID signal, or, if there are multiple RFID signals of different trucks in the second target RFID signal, the first one of the multiple RFID signals is used. The RFID signal is used as a starting point to obtain a second preset number of third target RFID signals backward;
判断所述第三目标RFID信号中属于同一个货车的货车的RFID信号的数量是否达到数量阈值;judging whether the number of RFID signals of the trucks belonging to the same truck in the third target RFID signal reaches the number threshold;
若是,则判断所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件是否同时成立;If yes, then it is judged that the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container. If the RFID signal belongs to the same truck, whether the above three conditions are established at the same time;
若所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件同时成立,则生成所述疑似事件;If the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container For the same truck, if the above three conditions are satisfied at the same time, the suspected event will be generated;
若所述第三目标RFID信号中第一个RFID信号与最后一个RFID信号一致,所述第三目标RFID信号中集装箱的RFID信号属于同一集装箱,所述第三目标RFID信号中货车的RFID信号属于同一货车,上述三个条件不能同时成立,则判断是否能以所述事件结束时刻为起始向后获取到第二预设时间内的第四目标RFID信号;If the first RFID signal in the third target RFID signal is consistent with the last RFID signal, the RFID signal of the container in the third target RFID signal belongs to the same container, and the RFID signal of the truck in the third target RFID signal belongs to the same container For the same truck, if the above three conditions cannot be satisfied at the same time, it is determined whether the fourth target RFID signal within the second preset time can be acquired backward starting from the end time of the event;
若否,则生成所述装箱事件;If not, generating the boxing event;
若是,则判断所述第四目标RFID信号中同时出现货车的RFID信号和集装箱的RFID信号的数量是否大于或等于第三预设数量;If yes, then determine whether the number of the RFID signals of the truck and the RFID signals of the container that simultaneously appear in the fourth target RFID signal is greater than or equal to a third preset number;
若是,则生成所述装箱事件;If so, generate the boxing event;
若否,则生成所述卸箱事件。If not, the unboxing event is generated.
进一步的,如图3所示,所述生成装置200中还包括发送模块260,在生成所述集装箱的疑似事件后,所述发送模块260用于:Further, as shown in FIG. 3 , the generating
请参阅图4,图4为本申请实施例所提供的一种电子设备的结构示意图。如图4中所示,所述电子设备400包括处理器410、存储器420和总线430。Please refer to FIG. 4 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 4 , the
所述存储器420存储有所述处理器410可执行的机器可读指令,当电子设备400运行时,所述处理器410与所述存储器420之间通过总线430通信,所述机器可读指令被所述处理器410执行时,可以执行如上述图1所示方法实施例中的集装箱装卸事件的生成方法的步骤,解决了现有技术中集装箱的装卸事件记录速度较慢的问题,具体实现方式可参见方法实施例,在此不再赘述。The
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时可以执行如上述图1所示方法实施例中的集装箱装卸事件的生成方法的步骤,解决了现有技术中集装箱的装卸事件记录速度较慢的问题,具体实现方式可参见方法实施例,在此不再赘述。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the container loading and unloading events in the method embodiment shown in FIG. 1 can be executed. The steps of the generating method solve the problem that the loading and unloading event recording speed of the container is slow in the prior art. For the specific implementation, please refer to the method embodiment, which will not be repeated here.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释,此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters refer to like items in the following figures, so that once an item is defined in one figure, it does not require further definition and explanation in subsequent figures, Furthermore, the terms "first", "second", "third", etc. are only used to differentiate the description and should not be construed as indicating or implying relative importance.
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present application, and are used to illustrate the technical solutions of the present application, rather than limit them. The embodiments describe the application in detail, and those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the application. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be covered in this application. within the scope of protection. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111638588.XA CN114298109A (en) | 2021-12-29 | 2021-12-29 | Container loading and unloading event generation method and device and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111638588.XA CN114298109A (en) | 2021-12-29 | 2021-12-29 | Container loading and unloading event generation method and device and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114298109A true CN114298109A (en) | 2022-04-08 |
Family
ID=80972042
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111638588.XA Pending CN114298109A (en) | 2021-12-29 | 2021-12-29 | Container loading and unloading event generation method and device and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114298109A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040246130A1 (en) * | 2003-04-09 | 2004-12-09 | Lambright Stephen J. | State monitoring of a container |
| KR20090045670A (en) * | 2007-11-02 | 2009-05-08 | 대우조선해양 주식회사 | Container ship loading and unloading management system using RDF |
| KR20170101686A (en) * | 2016-02-29 | 2017-09-06 | 주식회사 스마트엔텍 | Method for ordering service from table |
| CN111178792A (en) * | 2019-11-05 | 2020-05-19 | 北部湾大学 | An intelligent logistics system for container depots |
| KR102163024B1 (en) * | 2020-05-25 | 2020-10-07 | 성유제 | System managing for distribution container |
| CN113850554A (en) * | 2021-10-15 | 2021-12-28 | 上海吉七物联网科技有限公司 | A method, device, electronic device and storage medium for event identification |
-
2021
- 2021-12-29 CN CN202111638588.XA patent/CN114298109A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040246130A1 (en) * | 2003-04-09 | 2004-12-09 | Lambright Stephen J. | State monitoring of a container |
| KR20090045670A (en) * | 2007-11-02 | 2009-05-08 | 대우조선해양 주식회사 | Container ship loading and unloading management system using RDF |
| KR20170101686A (en) * | 2016-02-29 | 2017-09-06 | 주식회사 스마트엔텍 | Method for ordering service from table |
| CN111178792A (en) * | 2019-11-05 | 2020-05-19 | 北部湾大学 | An intelligent logistics system for container depots |
| KR102163024B1 (en) * | 2020-05-25 | 2020-10-07 | 성유제 | System managing for distribution container |
| CN113850554A (en) * | 2021-10-15 | 2021-12-28 | 上海吉七物联网科技有限公司 | A method, device, electronic device and storage medium for event identification |
Non-Patent Citations (1)
| Title |
|---|
| 陈笑蓉: "集装箱运输管理中RFID技术的应用探究", 《物流技术》, no. 8, 25 August 2013 (2013-08-25), pages 87 - 90 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103049838B (en) | Package shipment method for monitoring state based on finite state machine | |
| CN103617515A (en) | Vehicle loading and unloading control method used in logistics business based on radio frequency identification | |
| US7739147B2 (en) | System and method for pallet identification based on threshold of case-level tags | |
| US7573386B2 (en) | System and method for smart radio frequency identification tags | |
| CN101836242B (en) | Systems and methods for enhanced RFID transportation device sensor networks | |
| JP6683917B2 (en) | Wireless tag management system | |
| CN108698761B (en) | Conveyed object recognition system, conveyed object identification method, and conveyed object identification program | |
| US11928823B2 (en) | Transient sensor monitoring definitions for edge computing devices | |
| CN111832994A (en) | Inventory material checking method and device and storage medium | |
| CN113978987B (en) | Pallet object packaging and picking method, device, equipment and medium | |
| CN109726775A (en) | Transportation control method, system, transportation device, and computer-readable medium | |
| JP2004168468A (en) | Delivery history information acquisition system | |
| CN114298109A (en) | Container loading and unloading event generation method and device and electronic equipment | |
| CN119666116A (en) | A recycled copper AI intelligent weighing method and system | |
| CN103345680A (en) | Piece counting management system and piece counting management method for loading and unloading of commodity vehicles in roll-roll wharf | |
| CN113919461A (en) | Container loading and unloading event generating system, loading and unloading event generating method and equipment | |
| CN114548328A (en) | Management method of detection jig applied to detection process | |
| CN112950115A (en) | Article storage information determination method, apparatus, device, medium, and program product | |
| WO2024244448A1 (en) | Article handling method and apparatus, device, and storage medium | |
| CN113049026B (en) | Multi-mode fusion identification method and device based on Internet of things | |
| US20110181400A1 (en) | Baggage arrangement management method and carrying apparatus | |
| JP6763266B2 (en) | Management device, management method, program | |
| CN116142678A (en) | Automatic warehouse-in and warehouse-out method, freight car and storage medium | |
| CN114760592A (en) | Logistics station, intelligent cargo finding method, system and equipment for cargo loss | |
| CN207662503U (en) | A kind of unattended truck scale data acquisition equipment of waste recovery |
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 | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20220615 Address after: Room 6f-604-3, HD media building, No. 28, nantiancheng Road, high speed rail new town, Xiangcheng District, Suzhou, Jiangsu 215100 Applicant after: Suzhou Jiqi Wulian Technology Co.,Ltd. Address before: No. 201, second floor, building 8, No. 27, Jiancai Chengzhong Road, Haidian District, Beijing 100082 Applicant before: BEIJING HUITONGTIANXIA IOT TECHNOLOGY CO.,LTD. |
|
| TA01 | Transfer of patent application right |