Abnormal identification method, device, electronic device and storage medium
By detecting the waybill status image and judging the relevance of the waybill number, identifying and intercepting abnormal facet bills in the logistics industry, the problem of reduced timeliness of the waybill is solved, and the accuracy and consistency of waybill information is achieved.
Patent Information
- Application Number
- CN202010861192.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2040-08-25
AI Technical Summary
In the logistics industry, due to abnormal facets on the waybill (such as multiple facets or repeated incorrect facets on the waybill), the timeliness of the waybills are reduced.
By obtaining the status image of the target waybill, performing detection processing to obtain waybill number information, determining whether the number of waybill numbers is greater than one, and detecting whether there is an association between waybill numbers. When there is no correlation between waybill numbers, determine that there is an abnormal facet for the waybill, and output the abnormal information to the waybill warning platform to intercept the waybill.
Effectively identify and intercept abnormal facebooks, avoid abnormal transportation of waybills, improve timeliness of waybills, and ensure the accuracy and consistency of waybill information.
Smart Images

Figure CN114118885B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of logistics technology, and specifically to a method, device, electronic device and computer-readable storage medium for identifying abnormalities in a waybill. Background Art
[0002] An express waybill (hereinafter referred to as the waybill) refers to a document used by the logistics industry (such as the express delivery industry) to record the waybill number, sender, recipient, product weight, price and other information related to the waybill during the delivery of goods.
[0003] Generally speaking, a waybill is usually uniquely associated with a waybill number. The waybill number can be identified through the barcode area of the waybill (including one-dimensional code and two-dimensional code), and then the system can be used to identify the waybill transportation status, waybill route, waybill time limit and other information uniquely associated with the waybill number. Generally speaking, only one waybill will be attached to a waybill to facilitate the recording, query and management of the same waybill.
[0004] However, in actual operation, due to some reasons, multiple waybills are attached to the same waybill, or multiple barcode areas with repeated errors appear on the same waybill area, etc., which are abnormal. For example, due to an operator's error, two waybills with different directions are attached to the same waybill. If the waybill number of the wrong waybill is used as the standard during the transportation of the waybill, the waybill will be transported abnormally, which will reduce the timeliness of the waybill. Summary of the invention
[0005] The present application provides a method, device, electronic device and computer-readable storage medium for identifying abnormal waybills, aiming to solve the problem of reduced timeliness of waybills due to the presence of abnormal waybills on the waybills.
[0006] In a first aspect, the present application provides a method for identifying abnormalities in a shipping bill, the method comprising:
[0007] Get the status image containing the target waybill;
[0008] Performing detection processing on the state image to obtain waybill number information of the target waybill, wherein the waybill number information includes the waybill number of the target waybill and the number of waybill numbers of the target waybill;
[0009] When the number of waybill numbers is greater than one, detecting whether there is a correlation between the waybill numbers of the target waybills;
[0010] When it is detected that there is no correlation between the waybill numbers of the target waybill, it is determined that the target waybill has an abnormal waybill, wherein the abnormal waybill is used to indicate that the target waybill has multiple non-correlated waybill numbers.
[0011] In a possible implementation of the present application, when the number of waybill numbers is greater than one, detecting whether there is an association relationship between the waybill numbers of the target waybills includes:
[0012] When the number of waybill numbers is greater than one, detecting whether there is a parent-child relationship between the waybill numbers of the target waybill;
[0013] When it is detected that there is a parent-child relationship between the waybill numbers of the target waybills, it is determined that there is an association relationship between the waybill numbers of the target waybills;
[0014] When it is detected that there is no parent-child relationship between the waybill numbers of the target waybills, it is determined that there is no association relationship between the waybill numbers of the target waybills.
[0015] In a possible implementation of the present application, the detecting and processing the state image to obtain the waybill number information of the target waybill includes:
[0016] Performing region detection processing on the state image to obtain the region where the waybill of the target waybill is located;
[0017] According to a preset parsing algorithm, the area where the waybill is located is parsed and processed to obtain the waybill number information of the target waybill.
[0018] In a possible implementation of the present application, performing region detection processing on the state image to obtain the region where the waybill of the target waybill is located includes:
[0019] The state image is input into a preset waybill recognition network to call the waybill recognition network to perform area detection processing on the state image to obtain the area where the waybill of the target waybill is located.
[0020] In a possible implementation of the present application, the target waybill is in a specific area, and the specific area is provided with cameras for shooting at multiple different shooting angles, and the cameras are used to obtain an image of the target waybill;
[0021] The step of obtaining the state image of the target waybill includes:
[0022] Calling the camera to respectively capture multiple images of the target waybill at different angles;
[0023] The multiple images are used as status images of the target waybill.
[0024] In a possible implementation of the present application, the method further includes:
[0025] Identify the waybill number information as abnormal information;
[0026] The abnormal information is output to a preset waybill warning platform, wherein the abnormal information is used to indicate an operation of intercepting the target waybill during transportation.
[0027] In a possible implementation of the present application, the method further includes:
[0028] Get the waybill number of each waybill and the status information corresponding to each waybill;
[0029] The status information and the waybill number are associated and recorded in a preset backend system to obtain the status information of each waybill in the backend system;
[0030] The step of identifying the waybill number information as abnormal information further includes:
[0031] Obtaining handling information after abnormal handling of the target waybill;
[0032] According to the disposal information and the abnormal information, the status information of the target waybill in the background system is updated.
[0033] In a second aspect, the present application provides a device for identifying an abnormality in a delivery bill, the device comprising:
[0034] An acquisition unit, used for acquiring a status image containing a target waybill;
[0035] a detection unit, configured to perform detection processing on the state image to obtain waybill number information of the target waybill, wherein the waybill number information includes the waybill number of the target waybill and the number of waybill numbers of the target waybill;
[0036] The detection unit is further configured to detect whether there is a correlation between the waybill numbers of the target waybills when the number of waybill numbers is greater than one;
[0037] An identification unit is used to determine that there is an abnormal waybill in the target waybill when it is detected that there is no correlation between the waybill numbers of the target waybill, wherein the abnormal waybill is used to indicate that there are multiple non-correlated waybill numbers in the target waybill.
[0038] In a possible implementation of the present application, the detection unit is further configured to:
[0039] When the number of waybill numbers is greater than one, detecting whether there is a parent-child relationship between the waybill numbers of the target waybill;
[0040] When it is detected that there is a parent-child relationship between the waybill numbers of the target waybills, it is determined that there is an association relationship between the waybill numbers of the target waybills;
[0041] When it is detected that there is no parent-child relationship between the waybill numbers of the target waybills, it is determined that there is no association relationship between the waybill numbers of the target waybills.
[0042] In a possible implementation of the present application, the detection unit is further configured to:
[0043] Performing region detection processing on the state image to obtain the region where the waybill of the target waybill is located;
[0044] According to a preset parsing algorithm, the area where the waybill is located is parsed and processed to obtain the waybill number information of the target waybill.
[0045] In a possible implementation of the present application, the detection unit is further configured to:
[0046] The performing area detection processing on the state image to obtain the area where the waybill of the target waybill is located includes:
[0047] The state image is input into a preset waybill recognition network to call the waybill recognition network to perform area detection processing on the state image to obtain the area where the waybill of the target waybill is located.
[0048] In a possible implementation of the present application, the target waybill is in a specific area, and the specific area is provided with cameras for shooting at multiple different shooting angles, and the camera is used to obtain an image of the target waybill; and the acquisition unit is specifically further used to:
[0049] Calling the camera to respectively capture multiple images of the target waybill at different angles;
[0050] The multiple images are used as status images of the target waybill.
[0051] In a possible implementation of the present application, the device for identifying abnormalities in the delivery bill further includes an early warning unit, which is specifically used to:
[0052] Identify the waybill number information as abnormal information;
[0053] The abnormal information is output to a preset waybill warning platform, wherein the abnormal information is used to indicate an operation of intercepting the target waybill during transportation.
[0054] In a possible implementation of the present application, the device for identifying abnormalities in the delivery bill further includes a recording unit, and the recording unit is specifically used to:
[0055] Get the waybill number of each waybill and the status information corresponding to each waybill;
[0056] The status information and the waybill number are associated and recorded in a preset backend system to obtain the status information of each waybill in the backend system;
[0057] In a possible implementation of the present application, the apparatus for identifying abnormal waybill further includes an updating unit. After the step of identifying the waybill number information as abnormal information, the updating unit is specifically configured to:
[0058] Obtaining handling information after abnormal handling of the target waybill;
[0059] According to the disposal information and the abnormal information, the status information of the target waybill in the background system is updated.
[0060] In a third aspect, the present application also provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the processor executes the steps of any method for identifying an abnormality of a shipping bill provided in the present application.
[0061] In a fourth aspect, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the method for identifying abnormalities in the shipping bill.
[0062] The present application obtains the waybill number information of the target waybill by acquiring the status image containing the target waybill for detection and processing, and further detects whether there is a correlation between the waybill numbers of the target waybill when the number of waybill numbers of the target waybill is greater than one. Only when there is no correlation between the waybill numbers of the target waybill is it determined that there is an abnormal waybill in the target waybill, so that it can be more accurately determined whether there are multiple repeated erroneous waybills in the target waybill, or whether there is a waybill corresponding to two or more waybill numbers that are not correlated. On the one hand, it avoids the problem of reduced timeliness of the target waybill due to the use of the waybill number corresponding to the wrong waybill for transportation during the transportation process. On the other hand, it avoids identifying multiple waybills with a correlation as repeated erroneous waybills, and avoids identifying a waybill with multiple correlated waybill numbers as an erroneous waybill. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0064] Figure 1This is a flow chart of a method for identifying abnormalities in a shipping bill provided in an embodiment of the present application;
[0065] Figure 2 is a scene schematic diagram of a state image provided in an embodiment of the present application;
[0066] Figure 3 is a schematic flow chart of an embodiment of step 20 provided in the embodiments of the present application;
[0067] Figure 4 This is a schematic diagram of the scene of the area where the waybill is located provided in the embodiment of the present application;
[0068] Figure 5 It is a schematic diagram of the structure of an embodiment of a device for identifying abnormalities in a shipping bill provided in an embodiment of the present application;
[0069] Figure 6 It is a schematic diagram of the structure of an embodiment of an electronic device provided in the embodiments of the present application. DETAILED DESCRIPTION
[0070] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0071] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0072] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can also be implemented without using these specific details. In other examples, the known process will not be elaborated in detail to avoid unnecessary details that make the description of the present application embodiment obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in accordance with the embodiments of the present application.
[0073] The embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for identifying abnormalities in a delivery bill. The device for identifying abnormalities in a delivery bill can be integrated in an electronic device, which can be a server or a terminal.
[0074] First of all, before introducing the embodiments of the present application, the relevant content about the application background of the embodiments of the present application is introduced.
[0075] A waybill is a document used by the logistics industry (such as the express delivery industry) to record waybill number, sender, recipient, product weight, price and other information related to the waybill during the transportation of goods. During the transportation of waybill, the waybill can be used to identify, record and track information such as the time when the waybill was issued and the current location. It can be seen that the waybill is important for waybill transportation. However, in actual logistics operations, there are usually multiple waybills.
[0076] Multiple waybills refer to multiple waybills attached to the same waybill (such as an express parcel). There are various reasons for multiple waybills, the most important of which is the initial incorrect generation of the waybill, and the failure to completely destroy the original waybill attached to the express parcel when a new waybill is generated. Since multiple waybills are valid waybills from the same company, if the wrong waybill is identified and used for sorting on the fully automatic sorting line, some express parcels will be sorted to the wrong direction, causing the express parcels to fail to meet the time limit.
[0077] Based on the above-mentioned defects existing in the existing related technologies, the embodiments of the present application provide a method for identifying abnormalities in shipping documents, which at least overcomes the defects existing in the existing related technologies to a certain extent.
[0078] The executor of the method for identifying abnormalities in the waybill of the embodiment of the present application may be the device for identifying abnormalities in the waybill provided in the embodiment of the present application, or different types of electronic devices such as a server device, a physical host or a user equipment (UE) that integrates the device for identifying abnormalities in the waybill, wherein the device for identifying abnormalities in the waybill may be implemented in hardware or software, and the UE may specifically be a terminal device such as a smart phone, a tablet computer, a laptop computer, a PDA, a desktop computer or a personal digital assistant (PDA).
[0079] The electronic device can adopt a working mode of independent operation or a working mode of a device cluster. By applying the method for identifying abnormal waybills provided in the embodiment of the present application, it can timely detect erroneous waybills on the waybills, or multiple unrelated waybills on the same waybills, thereby timely preventing the waybills from being transported abnormally, thereby improving the timeliness of the waybills.
[0080] Next, we will begin to introduce the method for identifying abnormal waybills provided in an embodiment of the present application. In the embodiment of the present application, an electronic device is used as the execution subject. For the sake of simplicity and ease of description, the execution subject will be omitted in the subsequent method embodiments. The method for identifying abnormal waybills includes: obtaining a status image of a target waybill; detecting and processing the status image to obtain waybill number information of the target waybill; when the number of waybill numbers is greater than one, detecting whether there is a correlation between multiple waybill numbers of the target waybill; when it is detected that there is no correlation between the multiple waybill numbers of the target waybill, identifying the waybill number information as abnormal information.
[0081] Reference Figure 1 , Figure 1 This is a flow chart of a method for identifying an abnormality in a delivery form provided in an embodiment of the present application. It should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than that shown here. The method for identifying an abnormality in a delivery form includes steps S10 to S40, wherein:
[0082] S10: Acquire a status image containing a target waybill.
[0083] The main purpose of the embodiment of the present application is to detect whether there is an abnormal waybill on the target waybill. There are many forms of abnormal waybill on the target waybill. For example, the target waybill is pasted with multiple waybills and there is no correlation between the waybill numbers corresponding to any two waybills. For another example, the target waybill is pasted with a waybill and the waybill corresponds to two or more waybill numbers that are not related.
[0084] Therefore, the embodiments of the present application can be applied to various application scenarios with abnormal waybills, so as to avoid the target waybill being transported with the wrong waybill number during the transportation process, which results in a reduction in the timeliness of the target waybill. For example, the embodiments of the present application can be applied to detect whether multiple waybills are pasted on the target waybill. Specifically, it can be applied to: finding out multiple repeated and erroneous waybills pasted on the target waybill, so as to avoid the target waybill being transported with the waybill number corresponding to the wrong waybill during the transportation process, which results in a reduction in the timeliness of the target waybill. For another example, the embodiments of the present application can be applied to whether an erroneous waybill (such as corresponding to two or more waybill numbers that are not associated) is pasted.
[0085] During the transportation process of the waybill, certain operations are usually performed on the waybill (such as issuance, transit sorting, etc.). When performing certain operations on the waybill, the waybill's face sheet is generally scanned and identified to facilitate recording and management of the operation, transportation, and other status of the waybill.
[0086] The target waybill refers to the waybill to be scanned to identify the waybill number corresponding to its waybill. The status image refers to the image containing the target waybill. The status image can be one image or multiple images (if there are multiple images, they are images at different angles; for example, if the target waybill is a hexahedron and the status image is 4 images, then each image is an image of one face of the target waybill). Please refer to Figure 2 , Figure 2 is a scene schematic diagram of a state image provided in an embodiment of the present application, wherein: Figure 2 (a) shows the original state of the target waybill, and A, B, and C represent each side of the target waybill respectively. The state image can be an image whose field of view includes the entire area of the target waybill, such as Figure 2 The state image may also be an image whose field of view only includes a part of the target waybill area, such as Figure 2 As shown in (c).
[0087] There are many ways to obtain a state image containing the target waybill. For example, an image scanned by a camera of a handheld bar gun of an operator can be used as a state image containing the target waybill. For another example, an image taken by a camera of an automated sorting device can be used as a state image containing the target waybill.
[0088] Specifically, in actual applications, an electronic device that applies the method for identifying abnormalities in delivery bills provided in the embodiments of the present application may directly include a camera (such as a camera of a bar gun, a camera of an automated sorting device) in terms of hardware, and store images taken by the camera locally, which can be directly read inside the electronic device; alternatively, the electronic device may also establish a network connection with the camera, and obtain the images taken by the camera online from the camera based on the network connection; alternatively, the electronic device may also read the images taken by the camera from a related storage medium that stores the images taken by the camera, and the specific acquisition method is not limited here.
[0089] Among them, the camera can capture images according to a preset shooting method, for example, the shooting height, shooting direction or shooting distance can be set, and the specific shooting method can be adjusted according to the camera itself, which is not specifically limited here.
[0090] In some cases, multiple areas (such as multiple sides) of the target waybill will be scanned simultaneously to quickly identify the waybill number of the target waybill. For example, when the waybill is being transferred and sorted, in order to efficiently and quickly identify the waybill face sheet, multiple cameras will be set up at different angles in the sorting area to quickly detect whether the waybill exists in multiple areas (such as 6 sides) of the waybill, and then the waybill can be quickly identified.
[0091] To this end, in some embodiments of the present application, the target waybill is in a specific area, and the specific area is provided with a camera for shooting at multiple different shooting angles, and the camera is used to obtain an image of the target waybill; at this time, step S10 may specifically include: calling the camera to respectively shoot multiple images of the target waybill at different angles; and using the multiple images as status images of the target waybill.
[0092] The specific area refers to the area on the waybill used to scan the target waybill. The specific area can be determined according to specific scenarios. For example, the specific area can be a sorting area of a transfer yard or a loading area.
[0093] The camera set in a specific area can be one or more. For example, when the camera set in a specific area is one, the camera set can be used to capture images at multiple different angles. When multiple cameras are set in a specific area, each camera is used to capture an image at one angle, so that multiple images of the target waybill at different angles can be captured, that is, multiple areas of the target waybill can be scanned at the same time, and the waybill of the target waybill can be quickly detected.
[0094] For example, the specific area is the sorting area of the transfer yard, and the sorting area of the transfer yard is equipped with automated sorting equipment. The automated sorting equipment is equipped with an industrial camera, which can capture multiple images of the target waybill at different angles, and use the multiple images of the target waybill captured by the industrial camera at different angles as the status images of the target waybill. There can be multiple industrial cameras, and the images captured by the industrial cameras may be a single side or up to 6 sides of the target waybill.
[0095] From the above content, it can be seen that cameras for shooting at multiple different shooting angles are set in specific areas, and through the cameras set in specific areas, multiple images of the target waybill at different angles are obtained as the status image of the target waybill; thereby, multiple areas or multiple surfaces of the target waybill can be scanned at the same time, and the waybill of the target waybill can be quickly detected.
[0096] S20: Detect and process the status image to obtain waybill number information of the target waybill.
[0097] The waybill number information includes the waybill number of the target waybill and the number of waybill numbers of the target waybill. The number of waybill numbers refers to the number of waybill numbers of the target waybill identified by detection and processing based on the state image.
[0098] In some embodiments, based on the existing barcode (such as one-dimensional code, two-dimensional code) recognition algorithm, the state image can be fully scanned and detected to detect the barcode area corresponding to the waybill pasted on the target waybill, and the barcode area corresponding to the waybill can be parsed to identify the waybill number of the target waybill. The number of waybill numbers of the identified target waybill is counted to obtain the number of waybill numbers of the target waybill. The existing barcode recognition algorithm will not be described in detail here.
[0099] For example, the status image includes image A and image B. The waybill numbers of the target waybill identified in image A are: "123", "456", and the waybill numbers of the target waybill identified in image B are: "789". Then, the number of waybill numbers of the target waybill can be statistically determined to be 3.
[0100] Please refer to Figure 3 , Figure 3 It is a flowchart of an embodiment of step 20 provided in the embodiments of the present application.
[0101] In some embodiments, step S20 may specifically include the following steps S21-S22, wherein:
[0102] S21. Performing area detection processing on the status image to obtain the area where the waybill of the target waybill is located.
[0103] The area where the waybill is located refers to the area where the pixel points of the waybill attached to the target waybill are located in the status image. There may be one or more areas where the waybill is located, and each area where the waybill is located corresponds to one waybill.
[0104] Please refer to Figure 4 , Figure 4 Schematic diagram of the scene of the area where the bill is located provided in the embodiment of the present application. The bill areas of two different bills can be independent of each other, such as Figure 4 As shown in (a) of . There may also be overlapping areas between the areas of two different face sheets, such as Figure 4 As shown in (b).
[0105] In some embodiments, step S21 may use a deep-learned waybill recognition network to predict the area where the waybill of the target waybill is located. That is, step S21 may specifically include: inputting the state image into a preset waybill recognition network to call the waybill recognition network to perform area detection processing on the state image to obtain the area where the waybill of the target waybill is located.
[0106] For example, first, based on a training data set (including multiple images containing waybills), a preset waybill recognition network is trained so that the trained waybill recognition network learns the features of the waybill, thereby obtaining a waybill recognition network (suitable for detecting and processing the image to obtain the area where the waybill is located in the image). Among them, the preset waybill recognition network can be an open source network model that can be used for instance segmentation, such as a Mask R-CNN network, an LSTM-CF network, and the like. Specifically, an open source instance segmentation network with model parameters set to default values can be used as the preset waybill recognition network.
[0107] Then, the state image is input into the trained waybill recognition network, so that the trained waybill recognition network performs detection processing on the state image for the area where the waybill is located, and predicts the area where the waybill is located in the state image.
[0108] Since the network based on deep learning also has good prediction performance for situations with high noise, by using the waybill recognition network based on deep learning to detect and process the area where the waybill is located in the status image, the area where the waybill is located in the status image can be detected more efficiently and accurately.
[0109] S22. According to a preset parsing algorithm, the area where the waybill is located is parsed to obtain the waybill number information of the target waybill.
[0110] For example, the preset Zbar algorithm (open source barcode and QR code detection algorithm) can be called to parse the area where the waybill is located to identify the waybill number of the target waybill. The number of waybill numbers of the identified target waybill is counted to obtain the number of waybill numbers of the target waybill.
[0111] Among them, the preset parsing algorithm can be a commercial decoding SDK (Software Development Kit) or an open source decoding SDK. The Zbar algorithm mentioned above is only an example of a preset parsing algorithm. The preset parsing algorithm can be set according to specific needs and is not limited to this.
[0112] From the above content, it can be seen that compared with the conventional infrared scanner scanning the waybill to identify the waybill number (the principle is: the barcode is obtained by the reflectivity difference between the white area and the black area in the barcode, and the barcode is parsed; the disadvantage is: when the working environment is dark, there is a certain probability that the barcode parsing will fail), the area where the waybill is located is detected by the status image, and then the waybill number is identified based on the preset parsing algorithm in the area where the waybill is located, which can improve the accuracy of waybill number recognition.
[0113] In some embodiments, the status image includes multiple images; when processing the status image, detection and processing are performed on each image included in accordance with the above method to detect whether there is a waybill in each area of the target waybill, thereby facilitating the detection of whether there are multiple waybills for the target waybill, that is, facilitating the detection of whether there are multiple waybill numbers for the target waybill.
[0114] S30: When the number of waybill numbers is greater than one, detect whether there is a correlation between the waybill numbers of the target waybills.
[0115] Among them, the number of waybill numbers of the target waybill is greater than one, which may be the following: 1. The number of waybill numbers is two, 2. The number of waybill numbers is greater than two. Furthermore, in order to more accurately identify whether there is an abnormal waybill in the target waybill, when the number of waybill numbers is greater than two, if there is no correlation between any two waybill numbers of the target waybill, it can be determined that there is no correlation between the target waybill numbers. For example, the waybill numbers of the target waybill numbers are: "123", "12301", and "456", respectively. If there is a correlation between waybill numbers "123" and "12301", and there is no correlation between waybill numbers "12301" and "456", it can be determined that there is no correlation between the waybill numbers of the target waybill.
[0116] Because only when the number of waybill numbers is greater than one is it further detected whether there is a correlation between the waybill numbers of the target waybill, it is necessary to first detect whether the number of waybill numbers of the target waybill is greater than one before step S30, that is, before step S30 it also includes: detecting whether the number of waybill numbers of the target waybill is greater than one.
[0117] One implementation of “detecting whether the number of waybill numbers of the target waybill is greater than one” is as follows: in step S21, after detecting and processing the status image to obtain the area where the face sheet of the target waybill is located, further detect whether there are multiple areas where the face sheet of the target waybill is located contained in the status image (i.e., detect whether the number of areas where the face sheet is located is greater than one). When it is detected that there is one area where the face sheet of the target waybill is located, it can be directly determined that the number of waybill numbers of the target waybill is equal to one, and no further processing is performed at this time, that is, step S30 is no longer executed. When it is detected that there are multiple areas where the face sheet of the target waybill is located, it can be determined that the number of waybill numbers of the target waybill is greater than one, and in step S30 it can be directly determined that the number of waybill numbers of the target waybill is greater than one.
[0118] For example, in step S21, the status image is detected and processed, and the areas where the target waybill's waybill is located are: area a, area b, and area c. It can be determined that there are multiple areas where the target waybill's waybill is located, that is, it can be determined that the number of waybill numbers of the target waybill is greater than one.
[0119] Since there may be a situation where a waybill is affixed to the target waybill and the waybill corresponds to two or more waybill numbers that are not associated with each other, another implementation method of "detecting whether the number of waybill numbers of the target waybill is greater than one" is: after step S22, based on the waybill number information, detect whether the number of waybill numbers of the target waybill is greater than one.
[0120] In actual business scenarios, if multiple waybills related to each other need to be pasted on a waybill, then the multiple waybills with a related relationship should not be regarded as duplicate and erroneous waybills. For example, some waybills have a child number and a parent number, so two waybills need to be pasted. In this case, the two waybills pasted on the waybill should not be regarded as duplicate and erroneous waybills. In the example of this application, step S30 can detect whether there is a relationship between the waybill numbers of the target waybills, thereby determining whether the multiple waybills pasted on the target waybill are duplicate and erroneous waybills.
[0121] On the one hand, since the specific purpose in some embodiments is to find out the multiple repeated erroneous waybills pasted on the target waybill, so as to avoid the target waybill being transported using the waybill number corresponding to the wrong waybill during the transportation process, which will reduce the timeliness of the target waybill. On the other hand, since multiple related waybills are pasted on the target waybill, it will not cause the target waybill to be transported abnormally. Therefore, it is necessary to filter out related waybills (such as 2 waybills with the same waybill number, 2 waybills with a parent-child number relationship), that is, multiple related waybills on the target waybill should not be regarded as erroneous waybills.
[0122] In some embodiments, in order to filter out waybills with a parent-child waybill number relationship, step S30 may specifically include: when the number of waybill numbers is greater than one, detecting whether there is a parent-child waybill number relationship between the waybill numbers of the target waybills; when it is detected that there is a parent-child waybill number relationship between the waybill numbers of the target waybills, determining that there is an association relationship between the waybill numbers of the target waybills; when it is detected that there is no parent-child waybill number relationship between the waybill numbers of the target waybills, determining that there is no association relationship between the waybill numbers of the target waybills.
[0123] In actual business, there are some waybills with multiple waybill numbers, and the waybill number verification system can obtain the relationship between them as the same waybill rather than multiple waybills. For example, there are situations where a waybill has both a sub-waybill number (i.e., a waybill with a sub-waybill number) and a parent waybill number (i.e., a waybill with a parent waybill number), that is, there are multiple waybills for the same waybill. Specifically, for example, multiple waybills for the same batch of shipments from a large customer have the same parent waybill number, and each waybill has an independent sub-waybill number. Through the verification system request, the information of which is the sub-waybill number and which is the parent waybill number can be obtained. When multiple waybills of the same waybill have such a relationship, it is not considered that there are multiple waybills with errors.
[0124] For example, when the number of waybill numbers is greater than one, the electronic device sends the waybill number of the target waybill to the waybill number verification system. The waybill number verification system compares the waybill number of the target waybill with the associated parent-child waybill number stored in the database of the waybill number verification system to determine whether there is a parent-child waybill number relationship between the waybill numbers of the target waybill, and obtains a comparison result (wherein the comparison result is used to indicate whether there is a parent-child waybill number relationship between the waybill numbers of the target waybill); and feeds back the comparison result to the electronic device. The electronic device determines whether there is a parent-child waybill number relationship between the waybill numbers of the target waybill based on the comparison result fed back by the waybill number verification system.
[0125] When it is detected that there is a parent-child relationship between the waybill numbers of the target waybills, the electronic device determines that there is an association relationship between the waybill numbers of the target waybills.
[0126] When it is detected that there is no parent-child relationship between the waybill numbers of the target waybills, the electronic device directly determines that there is no association relationship between the waybill numbers of the target waybills.
[0127] Alternatively, when it is detected that there is no parent-child relationship between the waybill numbers of the target waybills, the electronic device further detects whether there is other types of association relationships between the waybill numbers of the target waybills; when there are other types of association relationships between the waybill numbers of the target waybills, the electronic device determines that there is an association relationship between the waybill numbers of the target waybills; when there are no other types of association relationships between the waybill numbers of the target waybills, the electronic device then determines that there is no association relationship between the waybill numbers of the target waybills.
[0128] It is understandable that the waybill number verification system can also be integrated into electronic equipment.
[0129] For example, the waybill numbers of the target waybills are respectively: "123" and "12301". By calling the waybill number verification system to verify and determine that there is a parent-child relationship between the waybill numbers "123" and "12301", it is determined that there is an associated relationship between the waybill numbers of the target waybills.
[0130] For another example, the waybill numbers of the target waybills are: "123" and "456" respectively. By calling the waybill number verification system to verify that there is no parent-child relationship between the waybill numbers "123" and "456", it is determined that there is no association relationship between the waybill numbers of the target waybills.
[0131] From the above content, it can be seen that by detecting whether there is a parent-child bill number relationship, and then determining whether there is a correlation between the bill numbers of the target waybill, it is possible to more accurately determine whether there is an abnormal bill on the target waybill. On the one hand, it is possible to promptly detect whether there are multiple bills on the waybill. On the other hand, it is possible to avoid misjudging multiple bills with parent and child bill numbers as duplicate or incorrect waybill numbers. It can be seen that by detecting whether there is a parent-child bill number relationship, and then determining whether there is a correlation between the bill numbers of the target waybill, it is possible to more accurately determine whether there is an abnormal bill on the target waybill, and then more accurately detect duplicate and incorrect multiple bills.
[0132] In some embodiments, in order to filter out waybills with the same waybill number, step S30 may specifically include: when the number of waybill numbers is greater than one, detecting whether the waybill numbers of the target waybills are all the same; when it is detected that the waybill numbers of the target waybills are all the same, determining that there is a correlation between the waybill numbers of the target waybills; when it is detected that the waybill numbers of the target waybills are not the same, determining that there is no correlation between the waybill numbers of the target waybills.
[0133] Specifically, "detecting whether the waybill numbers of the target waybills are all the same" may include: detecting whether any two waybill numbers of the target waybills are all the same. If any two waybill numbers of the target waybills are all the same, it can be determined that the waybill numbers of the target waybills are all the same; if two waybill numbers of the target waybills are not the same, it can be determined that the waybill numbers of the target waybills are not the same. For example, if the waybill numbers of the target waybills include: "123", "123", "123", then it can be determined that the waybill numbers of the target waybills are all the same. For another example, if the waybill numbers of the target waybills include: "123", "123", "123", "124", then it can be determined that the waybill numbers of the target waybills are not the same.
[0134] When it is detected that the waybill numbers of the target waybills are the same, it is determined that there is an association relationship between the waybill numbers of the target waybills.
[0135] When it is detected that the waybill numbers of the target waybills are different, it can be directly determined that there is no association relationship between the waybill numbers of the target waybills.
[0136] Alternatively, when it is detected that the waybill numbers of the target waybills are different, it may be further detected whether there are other types of associations between the waybill numbers of the target waybills. When there are other types of associations between the waybill numbers of the target waybills, it is determined that there are associations between the waybill numbers of the target waybills. When there are no other types of associations between the waybill numbers of the target waybills, it is determined that there are no associations between the waybill numbers of the target waybills.
[0137] S40: When it is detected that there is no correlation between the waybill numbers of the target waybills, it is determined that an abnormal waybill exists in the target waybill.
[0138] Among them, the abnormal waybill is used to indicate that there are multiple non-related waybill numbers for the target waybill.
[0139] For example, a waybill is affixed to the target waybill A, and it is detected that the waybill corresponds to two or more waybill numbers that have no correlation (such as "123", "456"), that is, it is detected that there is no correlation between the waybill numbers ("123", "456") of the target waybill A, then it can be determined that the target waybill A has an abnormal waybill.
[0140] For another example, the target waybill B has two waybills affixed to it (such as waybill 1 and waybill 2), and it is detected that there is no correlation between the waybill number corresponding to waybill 1 (such as "789") and the waybill number corresponding to waybill 2 (such as "258"), that is, it is detected that there is no correlation between the waybill numbers ("789", "123") of the target waybill B, then it can be determined that the target waybill B has an abnormal waybill.
[0141] From the above content, it can be seen that the embodiment of the present application detects the waybill number information of the target waybill, and when the number of waybill numbers of the target waybill is greater than one, further detects whether there is a correlation between the waybill numbers of the target waybill. Only when there is no correlation between the waybill numbers of the target waybill is it determined that there is an abnormal waybill in the target waybill, so that it can be more accurately determined whether there are multiple repeated erroneous waybills in the target waybill, or whether there is a waybill corresponding to two or more waybill numbers that are not correlated. On the one hand, it avoids the problem of reduced timeliness of the target waybill due to the transportation of the target waybill using the waybill number corresponding to the wrong waybill during the transportation process. On the other hand, it avoids identifying multiple waybills with a correlation as repeated erroneous waybills, and avoids identifying a waybill with multiple correlated waybill numbers as an erroneous waybill.
[0142] Furthermore, in order to avoid the target waybill being always transported using the waybill number corresponding to the abnormal waybill, which would reduce the timeliness of the target waybill, in some embodiments of the present application, the method for identifying the abnormal waybill also includes: identifying the waybill number information as abnormal information; and outputting the abnormal information to a preset waybill early warning platform.
[0143] Among them, the abnormal information serves as early warning information, which is used to indicate the operation of intercepting the target waybill during the transportation process.
[0144] The preset waybill warning platform is a platform that aggregates warning information from the entire network, and serves as the entry and exit for unified warning information, initiating network-wide interception. The waybill warning platform can be a waybill detail collection terminal (a waybill detail collection terminal refers to a terminal that can obtain the waybill number information of the waybill, such as a bar gun used by operators) of each waybill operation node (such as a transfer sorting node, a loading node), or a unified aggregation platform that aggregates information from each waybill detail collection terminal.
[0145] For example, when it is detected that the target waybill C has an abnormal waybill, the electronic device uses the waybill number of the target waybill C (such as "357", "246") as abnormal information, and sends the abnormal information ("357", "246") to the preset waybill warning platform. The waybill warning platform obtains the waybill number scanned by each bar gun, and when it is detected that the waybill number (such as "357") fed back by the bar gun of a certain waybill operation node is the same as the abnormal information ("357"), a warning message is sent to the bar gun. At this time, the bar gun issues a warning pop-up window, and the relevant operating personnel will intercept and process the target waybill C with the abnormal waybill (such as tearing up the duplicate and erroneous waybill) to avoid the target waybill C being transported using the waybill number corresponding to the abnormal waybill, which will reduce the timeliness of the target waybill C.
[0146] It is understandable that the waybill warning platform can also be integrated into electronic devices.
[0147] From the above content, it can be seen that by identifying the waybill number information of the target waybill with an abnormal waybill as abnormal information for early warning, and sending the abnormal information to the preset waybill early warning platform, it is used to instruct the operation of intercepting the target waybill during the transportation process. It is possible to intercept the target waybill with an abnormal waybill to avoid the problem that the target waybill is always transported using the waybill number corresponding to the abnormal waybill, which leads to a reduction in the timeliness of the target waybill.
[0148] The method also includes: obtaining the waybill number of each waybill and the status information corresponding to each waybill; associating the status information and the waybill number and recording them in a preset background system to obtain the status information of each waybill in the background system.
[0149] At this time, after the step of identifying the waybill number information as abnormal information, the step further includes:
[0150] Obtaining disposal information after abnormal disposal of the target waybill; and updating the status information of the target waybill in the background system according to the disposal information and the abnormal information.
[0151] Among them, the status information includes the transportation status, target route, destination, departure place, charges, weight and other information of the waybill.
[0152] The disposal information includes whether abnormal waybills, incorrect waybill numbers, etc. have been processed.
[0153] For example, the waybill numbers of waybills A, B, and C are "357", "159", and "246" respectively. The status information corresponding to waybills A, B, and C are recorded through the waybill numbers "357", "159", and "246" respectively: transportation status 1 (departing from Shanghai, the current location is Shenzhen, and preparing to be shipped to the destination Guangzhou), transportation status 2 (departing from Shanghai, the current location is Changsha, and preparing to be shipped to the destination Shenzhen), and transportation status 3 (departing from Shenzhen, the current location is Guangzhou, and preparing to be shipped to the destination Kunming).
[0154] Among them, waybill A also has the waybill number "300" corresponding to the wrong waybill pasted on it. The status information corresponding to waybill A recorded by waybill number "300" is: transportation status 4 (departing from Shanghai, current location is Changsha, preparing to be shipped to destination Shenzhen).
[0155] Therefore, after the status information is associated with the waybill number and recorded in the preset background system, the status information of waybill A in the background system is transportation status 1 and transportation status 4. The status information of waybill B in the background system is transportation status 2. The status information of waybill C in the background system is transportation status 3.
[0156] It can be seen that there is erroneous status information (transportation status 4) in the background system of waybill A. Therefore, after the step of "identifying the waybill number information as abnormal information; outputting the abnormal information to the preset waybill warning platform", that is, after intercepting and processing the target waybill with abnormal face sheet (such as waybill A), the status information of the target waybill in the background system can be updated to ensure the accuracy of the information recorded in the background system, so as to facilitate the management and query of subsequent waybills.
[0157] For example, the status information recorded in the background system according to the waybill number "300" can be deleted.
[0158] From the above content, it can be seen that by obtaining the disposal information after the exception handling of the target waybill; updating the status information of the target waybill in the background system according to the disposal information and exception information, the accuracy of the information recorded in the background system is improved, thereby facilitating the subsequent management and query of the waybill.
[0159] In order to better implement the method for identifying abnormalities in the delivery note in the embodiment of the present application, on the basis of the method for identifying abnormalities in the delivery note, an apparatus for identifying abnormalities in the delivery note is also provided in the embodiment of the present application, such as Figure 5 FIG. 1 is a schematic diagram of the structure of an embodiment of a device for identifying an abnormality in a shipping bill in an embodiment of the present application. The device 500 for identifying an abnormality in a shipping bill includes:
[0160] An acquisition unit 501 is used to acquire a status image containing a target waybill;
[0161] A detection unit 502 is used to perform detection processing on the state image to obtain the waybill number information of the target waybill, wherein the waybill number information includes the waybill number of the target waybill and the number of waybill numbers of the target waybill;
[0162] The detection unit 502 is further configured to detect whether there is a correlation between the waybill numbers of the target waybills when the number of waybill numbers is greater than one;
[0163] The identification unit 503 is used to determine that there is an abnormal waybill in the target waybill when it is detected that there is no correlation between the waybill numbers of the target waybill, wherein the abnormal waybill is used to indicate that there are multiple non-correlated waybill numbers in the target waybill.
[0164] In a possible implementation of the present application, the detection unit 502 is further configured to:
[0165] When the number of waybill numbers is greater than one, detecting whether there is a parent-child relationship between the waybill numbers of the target waybill;
[0166] When it is detected that there is a parent-child relationship between the waybill numbers of the target waybills, it is determined that there is an association relationship between the waybill numbers of the target waybills;
[0167] When it is detected that there is no parent-child relationship between the waybill numbers of the target waybills, it is determined that there is no association relationship between the waybill numbers of the target waybills.
[0168] In a possible implementation of the present application, the detection unit 502 is further configured to:
[0169] Performing region detection processing on the state image to obtain the region where the waybill of the target waybill is located;
[0170] According to a preset parsing algorithm, the area where the waybill is located is parsed and processed to obtain the waybill number information of the target waybill.
[0171] In a possible implementation of the present application, the detection unit 502 is further configured to:
[0172] The performing area detection processing on the state image to obtain the area where the waybill of the target waybill is located includes:
[0173] The state image is input into a preset waybill recognition network to call the waybill recognition network to perform area detection processing on the state image to obtain the area where the waybill of the target waybill is located.
[0174] In a possible implementation of the present application, the target waybill is in a specific area, and the specific area is provided with cameras for shooting at multiple different shooting angles, and the camera is used to obtain an image of the target waybill; the acquisition unit 501 is specifically further used to:
[0175] Calling the camera to respectively capture multiple images of the target waybill at different angles;
[0176] The multiple images are used as status images of the target waybill.
[0177] In a possible implementation of the present application, the device for identifying abnormalities in the delivery bill further includes an early warning unit (not shown in the figure), and the early warning unit is specifically used to:
[0178] Identify the waybill number information as abnormal information;
[0179] The abnormal information is output to a preset waybill warning platform, wherein the abnormal information is used to indicate an operation of intercepting the target waybill during transportation.
[0180] In a possible implementation of the present application, the device for identifying abnormalities in the delivery form further includes a recording unit (not shown in the figure), and the recording unit is specifically used to:
[0181] Get the waybill number of each waybill and the status information corresponding to each waybill;
[0182] The status information and the waybill number are associated and recorded in a preset backend system to obtain the status information of each waybill in the backend system;
[0183] In a possible implementation of the present application, the device for identifying abnormal waybill further includes an updating unit (not shown in the figure). After the step of identifying the waybill number information as abnormal information, the updating unit is specifically used to:
[0184] Obtaining handling information after abnormal handling of the target waybill;
[0185] According to the disposal information and the abnormal information, the status information of the target waybill in the background system is updated.
[0186] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0187] Since the recognition device of the abnormal face sheet can execute the present application as follows Figures 1 to 4 Corresponding to the steps in the method for identifying abnormalities in any embodiment, the present application can be implemented as follows: Figures 1 to 4 The beneficial effects that can be achieved by the method for identifying abnormal shipping labels in any embodiment are detailed in the previous description and will not be repeated here.
[0188] In addition, in order to better implement the method for identifying an abnormality in the delivery bill in the embodiment of the present application, on the basis of the method for identifying an abnormality in the delivery bill, the embodiment of the present application also provides an electronic device, referring to Figure 6 , Figure 6 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. Specifically, the electronic device provided by the embodiment of the present application includes a processor 601, and the processor 601 is used to execute a computer program stored in a memory 602 to implement the following Figures 1 to 4 Corresponding to each step of the method for identifying an abnormality of a delivery note in any embodiment; or, when the processor 601 is used to execute the computer program stored in the memory 602, the following is implemented Figure 5 The functions of each unit in the corresponding embodiment.
[0189] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 602, and executed by the processor 601 to complete the embodiment of the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.
[0190] The electronic device may include, but is not limited to, a processor 601 and a memory 602. Those skilled in the art will appreciate that the illustration is merely an example of an electronic device and does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the illustration, or a combination of certain components, or different components. For example, the electronic device may also include an input / output device, a network access device, a bus, etc., and the processor 601, the memory 602, the input / output device, and the network access device are connected via a bus.
[0191] The processor 601 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.
[0192] The memory 602 can be used to store computer programs and / or modules. The processor 601 implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory 602 and calling the data stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, video data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0193] A person skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described abnormal identification device, electronic device and its corresponding unit can refer to the following. Figures 1 to 4 The description of the method for identifying abnormal shipping labels in any embodiment will not be repeated here.
[0194] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0195] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the present application as follows: Figures 1 to 4 For the steps in the method for identifying abnormalities in any embodiment, the specific operations can be referred to as follows: Figures 1 to 4 The description of the method for identifying abnormal shipping labels in any embodiment will not be repeated here.
[0196] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0197] Due to the instructions stored in the computer-readable storage medium, the present application can be executed. Figures 1 to 4 Corresponding to the steps in the method for identifying abnormalities in any embodiment, the present application can be implemented as follows: Figures 1 to 4 The beneficial effects that can be achieved by the method for identifying abnormal shipping labels in any embodiment are detailed in the previous description and will not be repeated here.
[0198] The above is a detailed introduction to a method, device, electronic device and computer-readable storage medium for identifying abnormalities in a shipping label provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and scope of application. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for identifying abnormalities in a shipping label, characterized in that: The method comprises: Acquire a status image containing a target waybill; wherein the target waybill is in a specific area, the specific area is provided with a camera for shooting at multiple different shooting angles, the camera is used to acquire the image of the target waybill, and the camera is called to respectively shoot multiple images of the target waybill at different angles; and the multiple images are used as the status image of the target waybill; Performing detection processing on the state image to obtain waybill number information of the target waybill, wherein the waybill number information includes the waybill number of the target waybill and the number of waybill numbers of the target waybill; When the number of waybill numbers is greater than one, detecting whether there is a correlation between the waybill numbers of the target waybills; When it is detected that there is no correlation between the waybill numbers of the target waybill, it is determined that the target waybill has an abnormal waybill, wherein the abnormal waybill is used to indicate that the target waybill has multiple non-correlated waybill numbers.
2. The method for identifying abnormalities in a shipping label according to claim 1, characterized in that: When the number of waybill numbers is greater than one, detecting whether there is a correlation between the waybill numbers of the target waybills includes: When the number of waybill numbers is greater than one, detecting whether there is a parent-child relationship between the waybill numbers of the target waybill; When it is detected that there is a parent-child relationship between the waybill numbers of the target waybills, it is determined that there is an association relationship between the waybill numbers of the target waybills; When it is detected that there is no parent-child relationship between the waybill numbers of the target waybills, it is determined that there is no association relationship between the waybill numbers of the target waybills; Alternatively, when the number of waybill numbers is greater than one, detecting whether the waybill numbers of the target waybills are all the same; When it is detected that the waybill numbers of the target waybills are all the same, it is determined that there is a correlation between the waybill numbers of the target waybills; When it is detected that the waybill numbers of the target waybills are different, it is determined that there is no association relationship between the waybill numbers of the target waybills.
3. The method for identifying abnormalities in a shipping label according to claim 1, characterized in that: The detecting and processing the state image to obtain the waybill number information of the target waybill includes: Performing region detection processing on the state image to obtain the region where the waybill of the target waybill is located; According to a preset parsing algorithm, the area where the waybill is located is parsed and processed to obtain the waybill number information of the target waybill.
4. The method for identifying abnormalities in shipping labels according to claim 3, characterized in that: The performing area detection processing on the state image to obtain the area where the waybill of the target waybill is located includes: The state image is input into a preset waybill recognition network to call the waybill recognition network to perform area detection processing on the state image to obtain the area where the waybill of the target waybill is located.
5. The method for identifying abnormalities in a shipping bill according to any one of claims 1 to 4, characterized in that: When it is detected that there is no association between the waybill numbers of the target waybill, it is determined that the target waybill has an abnormal waybill, and then the method further includes: Identify the waybill number information as abnormal information; The abnormal information is output to a preset waybill warning platform, wherein the abnormal information is used to indicate an operation of intercepting the target waybill during transportation.
6. The method for identifying abnormalities in shipping labels according to claim 5, characterized in that: The method further comprises: Get the waybill number of each waybill and the status information corresponding to each waybill; The status information and the waybill number are associated and recorded in a preset backend system to obtain the status information of each waybill in the backend system; The step of identifying the waybill number information as abnormal information further includes: Obtaining handling information after abnormal handling of the target waybill; According to the disposal information and the abnormal information, the status information of the target waybill in the background system is updated.
7. A device for identifying abnormalities in a shipping label, characterized in that: The device for identifying abnormalities in the delivery note comprises: an acquisition unit, configured to acquire a status image containing a target waybill, wherein the target waybill is in a specific area, the specific area is provided with cameras for shooting at multiple different shooting angles, the cameras are configured to acquire the image of the target waybill, and the cameras are called to respectively shoot multiple images of the target waybill at different angles; and the multiple images are used as the status image of the target waybill; a detection unit, configured to perform detection processing on the state image to obtain waybill number information of the target waybill, wherein the waybill number information includes the waybill number of the target waybill and the number of waybill numbers of the target waybill; The detection unit is further configured to detect whether there is a correlation between the waybill numbers of the target waybills when the number of waybill numbers is greater than one; An identification unit is used to determine that there is an abnormal waybill in the target waybill when it is detected that there is no correlation between the waybill numbers of the target waybill, wherein the abnormal waybill is used to indicate that there are multiple non-correlated waybill numbers in the target waybill.
8. An electronic device, characterized in that: It includes a processor and a memory, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, it executes the method for identifying abnormalities in the delivery bill as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the method for identifying abnormalities in shipping documents as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Sorting and dispatching method and device for abnormal packages and electronic equipment
CN109939940A
Automatic identification methods for mobile phone number of recipient and waybill number for express waybill
CN111144336A