CN111311151A - Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium - Google Patents

Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium Download PDF

Info

Publication number
CN111311151A
CN111311151A CN202010087082.3A CN202010087082A CN111311151A CN 111311151 A CN111311151 A CN 111311151A CN 202010087082 A CN202010087082 A CN 202010087082A CN 111311151 A CN111311151 A CN 111311151A
Authority
CN
China
Prior art keywords
track
value
historical
hausdorff
authenticity
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.)
Withdrawn
Application number
CN202010087082.3A
Other languages
Chinese (zh)
Inventor
张力鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Manyun Software Technology Co Ltd
Original Assignee
Jiangsu Manyun Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Manyun Software Technology Co Ltd filed Critical Jiangsu Manyun Software Technology Co Ltd
Priority to CN202010087082.3A priority Critical patent/CN111311151A/en
Publication of CN111311151A publication Critical patent/CN111311151A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Abstract

The invention provides a method and a device for detecting the authenticity of a logistics transportation track, electronic equipment and a storage medium, wherein the method for detecting the authenticity of the logistics transportation track comprises the following steps: for a driver account number related to an in-transit order, acquiring a starting place of the in-transit order, acquiring a truck track related to the driver account number in real time, and calculating a Hausdorff value of a point set formed by the truck track, wherein the Hausdorff value is calculated at least based on the vertical distance, the parallel distance and the angular distance of the point set; searching a plurality of historical tracks comprising the starting place and the real-time position from a historical order library according to the starting place of the acquired in-transit order and the real-time position of the truck related to the driver account, wherein each historical track is related to a Hausdorff value; determining an alarm threshold range based on the Hausdorff values of the plurality of historical tracks; judging whether the Hausdorff value of the truck track belongs to the alarm threshold range or not; and if so, performing track authenticity alarm. The invention realizes the detection of the authenticity of the logistics transportation track.

Description

Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for detecting the authenticity of a logistics transportation track, electronic equipment and a storage medium.
Background
With the informatization development of the logistics industry, online logistics platforms for logistics transportation and logistics orders tend to be popularized. However, in the popularization of the online logistics platform, the driver end and the goods owner end have the possibility of making and making false orders driven by various benefits such as coupons, points, platform rewards and the like. For example, these spurious orders may be the following; 1) the driver end uses black equipment to simulate dotting, and the driver end telephone cannot be connected; 2) the APP dotting track is not consistent with the Beidou (the same time point or time period); 3) the situation of dotting a plurality of equipment numbers on one track; 4) the track does not coincide with the waybill information. These false orders cause various types of losses: 1) the tax risk is caused to the platform due to the occurrence of the bill brushing; 2) the goods are sold reversely, so that the platform and the user are lost; 3) the transportation timeliness cannot be guaranteed, and reputation loss is caused to the platform; 4) resulting in platform asset losses such as preferential benefits, subsidies, points, and the like.
To avoid this situation, the online logistics management platform needs to judge the transportation authenticity urgently. At present, in the logistics industry, the judgment of the transport authenticity is realized through the following modes: the route of the known vehicle is positioned and tracked in the driving process through technologies such as GPS positioning, mobile phone base station positioning and the like, and then whether the positioning point and the planned driving route are reasonable or not is judged through manual experience, or whether the real route is consistent with the planned route or not is judged through intensive track positioning in the whole process. In an actual scene, two lines are various, so that a certain track does not really exist in the predicted line, and therefore, a method for judging the similarity of the track, such as a frechet distance, is generally used, and calculation for the actual application scene is time-consuming and has a large error. Therefore, the real-time calculation cannot be realized in the current authenticity detection of logistics transportation, the afterward perception is known, meanwhile, the misjudgment rate is high, the frequency of manual intervention is high, and no data deposition value exists.
Disclosure of Invention
The present invention is directed to a method, an apparatus, an electronic device, and a storage medium for detecting authenticity of a transportation trajectory of a logistics, which overcome at least some of the limitations and disadvantages of the related art.
According to one aspect of the invention, a method for detecting the authenticity of a logistics transportation track is provided, which comprises the following steps:
for a driver account number related to an in-transit order, acquiring a starting place of the in-transit order, acquiring a truck track related to the driver account number in real time, and calculating a Hausdorff value of a point set formed by the truck track, wherein the Hausdorff value is calculated at least based on the vertical distance, the parallel distance and the angular distance of the point set;
searching a plurality of historical tracks comprising the starting place and the real-time position from a historical order library according to the starting place of the acquired in-transit order and the real-time position of the truck related to the driver account, wherein each historical track is related to a hausdov value;
determining an alarm threshold range based on the Hausdorff values of the plurality of historical tracks;
judging whether the Hausdorff value of the truck track belongs to the alarm threshold range or not;
and if so, performing track authenticity alarm.
In some embodiments of the present invention, the determining an alarm threshold range based on the hausdorff values of the plurality of historical tracks comprises:
determining the number of historical tracks associated with the same Hausdorff value;
an alarm threshold range is determined based on the number of historical tracks for the same Hausdorff value and a number threshold range.
In some embodiments of the present invention, the determining an alarm threshold range based on the number of historical tracks of the same hausdorff value and a number threshold range comprises:
respectively taking the number of the Hausdorff values and the number of the historical tracks as horizontal and vertical coordinates of a coordinate axis;
fitting a function curve between the number of the historical tracks and the Hausdorff value on the coordinate axis;
and taking the value range of the Housdov value corresponding to the number of the historical tracks belonging to the number threshold range as the alarm threshold range.
In some embodiments of the invention, the number threshold range is dynamically varied based on the function curve.
In some embodiments of the present invention, the function curve between the number of historical tracks and the hausdorff value is displayed to a user on a display screen.
In some embodiments of the present invention, the searching for a plurality of historical tracks including the origin and the real-time location from the historical order library according to the origin of the obtained in-transit order and the real-time location of the truck associated with the driver account number comprises:
searching historical order sets with the same starting place and destination from an order historical library of the starting place and the destination of the in-transit order;
and searching a plurality of historical tracks containing the starting place and the real-time position from the historical order set.
In some embodiments of the invention, the Housdov values for the van trajectory and the historical trajectory are calculated according to:
collecting at least four sampling coordinates in the trajectory;
calculating the vertical distance, the parallel distance and the angular distance between any two line segments formed by the at least four sampling coordinates; and
and carrying out weighted summation on the calculated vertical distance, the parallel distance and the angular distance to obtain a Housdov value of the track.
According to another aspect of the present invention, there is also provided a device for detecting authenticity of a logistics transportation track, including:
the acquisition module is used for acquiring the starting place of the in-transit order for the driver account number related to the in-transit order, acquiring the truck track related to the driver account number in real time, and calculating the Hostaff value of a point set formed by the truck track, wherein the Hostaff value is calculated at least based on the vertical distance, the parallel distance and the angular distance of the point set;
the searching module is used for searching a plurality of historical tracks comprising the starting place and the real-time position from a historical order library according to the starting place of the acquired in-transit order and the real-time position of the truck related to the driver account, and each historical track is related to one hausdov value;
the determining module is used for determining an alarm threshold range based on the Hausdorff values of the plurality of historical tracks;
the judging module is used for judging whether the Hausdorff value of the truck track belongs to the alarm threshold range or not;
and the warning module is used for carrying out track authenticity warning when the judging module judges that the Hausdorff value of the truck track belongs to the warning threshold range.
According to still another aspect of the present invention, there is also provided an electronic apparatus, including: a processor; a storage medium having stored thereon a computer program which, when executed by the processor, performs the steps as described above.
According to yet another aspect of the present invention, there is also provided a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps as described above.
Compared with the prior art, the invention has the advantages that:
1) by acquiring the track of the truck in real time and matching the real-time position of the truck with the historical track in the historical order library, the granularity of real-time calculation and monitoring can be refined;
2) determining a proper alarm threshold range through the Hausdorff value of the track of each historical order, wherein the historical data has a self-learning value, and the alarm threshold range approaches to be accurate along with the increase of the order quantity;
3) and calculating the Housdov value of the point set of the track through the vertical distance, the parallel distance and the angular distance so as to be more suitable for the space-time data mining of the logistics track monitoring.
Drawings
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 shows a flowchart of a method for detecting authenticity of a logistics transportation track according to an embodiment of the invention.
FIG. 2 illustrates a flow chart for determining alarm threshold ranges in accordance with a specific embodiment of the present invention.
FIG. 3 illustrates a flowchart for determining an alarm threshold range based on a quantity threshold range in accordance with a specific embodiment of the present invention.
Fig. 4 shows an example of calculation of a hausdov value of the authenticity of a logistics transportation trajectory according to an embodiment of the invention.
Fig. 5 is a block diagram illustrating a detection apparatus for detecting authenticity of a logistics transportation track according to an embodiment of the invention.
Fig. 6 schematically illustrates a computer-readable storage medium in an exemplary embodiment of the invention.
Fig. 7 schematically illustrates an electronic device in an exemplary embodiment of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 shows a flowchart of a method for detecting authenticity of a logistics transportation track according to an embodiment of the invention. The method for detecting the authenticity of the logistics transportation track comprises the following steps:
step S110: for a driver account number related to an in-transit order, acquiring a starting place of the in-transit order, acquiring a truck track related to the driver account number in real time, and calculating a Hausdorff value of a point set formed by the truck track, wherein the Hausdorff value is calculated at least based on the vertical distance, the parallel distance and the angular distance of the point set;
step S120: searching a plurality of historical tracks comprising the starting place and the real-time position from a historical order library according to the starting place of the acquired in-transit order and the real-time position of the truck related to the driver account, wherein each historical track is related to a hausdov value;
step S130: determining an alarm threshold range based on the Hausdorff values of the plurality of historical tracks;
step S140: judging whether the Hausdorff value of the truck track belongs to the alarm threshold range or not;
if the determination in step S140 is yes, step S150 is executed to perform a track authenticity alarm.
In the method for detecting the authenticity of the logistics transportation track, 1) the real-time position of the truck is matched with the historical track in the historical order library by acquiring the track of the truck in real time, so that the granularity of real-time calculation and monitoring can be refined; 2) determining a proper alarm threshold range through the Hausdorff value of the track of each historical order, wherein the historical data has a self-learning value, and the alarm threshold range approaches to be accurate along with the increase of the order quantity; 3) and calculating the Housdov value of the point set of the track through the vertical distance, the parallel distance and the angular distance so as to be more suitable for the space-time data mining of the logistics track monitoring.
Specifically, in various embodiments of the present invention, the hausdorff value is calculated based on at least the perpendicular distance, the parallel distance, and the angular distance of the point set, and referring to fig. 4, fig. 4 shows an example of calculation of the hausdorff value of the logistics transportation trajectory authenticity according to an embodiment of the present invention. As shown in FIG. 4, si,eiRepresenting a line segment Li,sj,ejRepresenting a line segment Lj
The vertical distance can be calculated as follows:
Figure BDA0002382438700000061
wherein l⊥1And l⊥2Are respectively indicated by LjTo another line segment LiThe vertical distance of (a).
The parallel distance can be calculated as follows:
d(Li,Lj)=MIN(l∥1,l∥2)
wherein l∥1And l∥2Are respectively indicated by LjIs at the other line segment LiUpper corresponding vertical point psAnd peDistance from the nearest end point. And a parallel distance d(Li,Lj) Taking the minimum value of the two.
The angular distance can be calculated as follows:
Figure BDA0002382438700000062
wherein theta is more than or equal to 0 degree and less than or equal to 180 degrees, and theta is LjAnd another line segment LiIncluded angle between the two is less than or equal to 180 degrees, | | LjI means LjLength of (d).
In the actual calculation of the above formula, the vertical point psAnd peCan be calculated according to the following formula:
Figure BDA0002382438700000063
Figure BDA0002382438700000064
wherein the content of the first and second substances,
Figure BDA0002382438700000065
in the actual calculation of the above formula, θ can be calculated according to the following formula:
Figure BDA0002382438700000066
therefore, when at least 4 sampling coordinates in the line are known, the vertical distance, the parallel distance and the angular distance can be respectively calculated.
Then, the three distances are linearly superposed, and the obtained distance can reflect the position and direction relation of two (line segment) tracks at the same time.
Therefore, the hausdorff distance in the present invention can be calculated according to the following formula:
dist(Li,Lj)=ω·d(Li,Lj)+ω·d(Li,Lj)+ωθ·dθ(Li,Lj)
wherein, ω is、ωAnd omegaθThe weights are respectively the weights of the three distances, and the weights can be set as required.
In some embodiments of the invention, the vertical distance, parallel distance, angular distance, and final hausdorff values are calculated from the set of points as described above. Only the vertical distance, the parallel distance and the angular distance between two line segments formed by a plurality of sampling coordinates can be calculated; the vertical distance, the parallel distance, and the angular distance between any two line segments formed by the plurality of sampling coordinates may also be calculated, and the average value of the vertical distance, the parallel distance, and the angular distance may be calculated as the vertical distance, the parallel distance, and the angular distance for calculating the final hausdorff value.
In some embodiments of the present invention, the determination of the alarm threshold range may be referred to fig. 2, where fig. 2 collectively shows the following steps:
step S131: the number of historical tracks associated with the same hausdorff value is determined.
For example, a Hausdorff value of x1The number of the history tracks of (1) is y1(ii) a Hausdorff value of x2The number of the history tracks of (1) is y2(ii) a Hausdorff value of x3Number of history tracks ofThe amount is y3
Step S132: an alarm threshold range is determined based on the number of historical tracks for the same Hausdorff value and a number threshold range.
Thus, the alarm threshold range may be determined based on a comparison of a preset or dynamic number threshold range with the number of historical traces for the same Housdov value. The implementation of the above step S132 can be seen in fig. 3, where fig. 3 collectively shows the following steps:
step S131 a: respectively taking the number of the Hausdorff values and the number of the historical tracks as horizontal and vertical coordinates of a coordinate axis;
step S131 b: fitting a function curve between the number of the historical tracks and the Hausdorff value on the coordinate axis;
step S131 c: and taking the value range of the Housdov value corresponding to the number of the historical tracks belonging to the number threshold range as the alarm threshold range.
This corresponds to the determination of (x) in step S1311,y1),(x2,y2)……(xn,yn) A function curve is fitted on a coordinate axis. Therefore, the value range of the hoursdorff value corresponding to the number of the history tracks belonging to the number threshold range can be used as the alarm threshold range according to the function curve. Specifically, the larger the number of history tracks of the same hausdorff value is, the more the track corresponding to the hausdorff value falls within the range of the true track, and the larger the number of history tracks of the same hausdorff value is. It indicates that the authenticity of the trajectory corresponding to the hausdorff value is questioned, and it may be a false order, and an alarm needs to be given.
In some implementations of the aforementioned embodiments, the number threshold range may be preset manually. In other implementations of the above embodiment, the number threshold range may be dynamically varied based on the function curve. For example, the minimum m% of the range of values of the y-axis of the function curve is used as the number threshold range. The present invention can also be implemented in many different ways, which are not described herein.
In some implementations of the above embodiment, the function curve between the number of historical tracks and the hausdorff value is displayed to a user on a display screen. Thus, the user can determine the number threshold range through the operation on the function curve, and automatically determine the alarm threshold range.
In addition to the above, the present invention may calculate the alarm threshold range by other algorithms, and the present invention is not limited thereto.
Further, in some embodiments of the present invention, the step S120 shown in fig. 1 may further include the following steps of, according to the origin of the obtained in-transit order and the real-time location of the truck associated with the driver account, searching a plurality of historical tracks including the origin and the real-time location from the historical order library: searching historical order sets with the same starting place and destination from an order historical library of the starting place and the destination of the in-transit order; and searching a plurality of historical tracks containing the starting place and the real-time position from the historical order set. Therefore, the comparison can be carried out according to the same starting place and destination in a targeted manner, and the detection accuracy is improved.
In one embodiment of the present invention, the algorithm can be applied to a logistics management platform, which can include a data storage system and a data analysis computing system. The data storage system can be used for storing position data reported by drivers through the Beidou. The data analysis and calculation system can be used for analyzing the position data reported by the driver, calculating the speed, the residence time and the like of the driver, and calculating the position range and the behavior trend of the driver by depending on an external system. The speed can be calculated according to the data reported by the driver and the interval time. The stay time is the interval time reported by the driver. The position range is the longitude and latitude data of loading and unloading when the driver and the cargo owner sign an agreement, and whether the driver is in a reasonable range can be calculated according to the range and the position data reported by the driver. According to the reported position data and the data of the combined protocol system, the behavior trend of the user can be divided into the following types: at the loading site, forward to the unloading site, at the unloading site, and away from the unloading site
The above are merely one or more specific implementations provided by the present invention, and each of the specific implementations may be implemented alone or in combination, and the present invention is not limited thereto.
According to still another aspect of the present invention, there is also provided a detection apparatus for authenticity of a logistics transportation track, and fig. 5 shows a block diagram of the detection apparatus for authenticity of a logistics transportation track according to an embodiment of the present invention. The detection device 300 for detecting the authenticity of the logistics transportation track comprises an acquisition module 310, a search module 320, a determination module 330, a judgment module 340 and an alarm module 350.
The acquisition module 310 is configured to acquire, for a driver account associated with an in-transit order, a starting location of the in-transit order, acquire, in real time, a truck trajectory associated with the driver account, and calculate a hausdov value of a point set formed by the truck trajectory, where the hausdov value is calculated based on at least a vertical distance, a parallel distance, and an angular distance of the point set;
the searching module 320 is configured to search a plurality of historical tracks including the starting location and the real-time location from a historical order library according to the starting location of the obtained in-transit order and the real-time location of the truck associated with the driver account, where each historical track is associated with one of the hausdov values;
the determining module 330 is configured to determine an alarm threshold range based on the hausdorff values of the plurality of historical tracks;
the judging module 340 is configured to judge whether the hausdov value of the truck track belongs to the alarm threshold range;
when the judging module 340 judges that the hausdov value of the truck track belongs to the alarm threshold range, the alarm module 350 is configured to perform a track authenticity alarm.
In the detection device for the authenticity of the logistics transportation track, 1) the real-time position of the truck is matched with the historical track in the historical order library by acquiring the track of the truck in real time, so that the granularity of real-time calculation and monitoring can be refined; 2) determining a proper alarm threshold range through the Hausdorff value of the track of each historical order, wherein the historical data has a self-learning value, and the alarm threshold range approaches to be accurate along with the increase of the order quantity; 3) and calculating the Housdov value of the point set of the track through the vertical distance, the parallel distance and the angular distance so as to be more suitable for the space-time data mining of the logistics track monitoring.
Fig. 5 is a schematic diagram illustrating the detecting apparatus 300 for detecting the authenticity of the logistics transportation track provided by the present invention, and the splitting, combining and adding of modules are within the protection scope of the present invention without departing from the concept of the present invention. The device 300 for detecting the authenticity of the logistics transportation track provided by the invention can be implemented by software, hardware, firmware, plug-in and any combination thereof, and the invention is not limited thereto.
In an exemplary embodiment of the present invention, a computer-readable storage medium is further provided, on which a computer program is stored, and the computer program, when executed by a processor for example, may implement the method for detecting the authenticity of the logistics transportation track and the steps of the method for detecting the authenticity of the logistics transportation track in any one of the above embodiments. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product, which includes program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned method for detecting authenticity of a physical distribution transportation trajectory and method for detecting authenticity of a physical distribution transportation trajectory section of this specification, when the program product is run on the terminal device.
Referring to fig. 6, a program product 700 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the tenant computing device, partly on the tenant device, as a stand-alone software package, partly on the tenant computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing devices may be connected to the tenant computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In an exemplary embodiment of the invention, there is also provided an electronic device that may include a processor and a memory for storing executable instructions of the processor. Wherein the processor is configured to execute the executable instructions to perform the steps of the method for detecting the authenticity of the physical distribution transportation track and the method for detecting the authenticity of the physical distribution transportation track in any one of the above embodiments.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 500 according to this embodiment of the invention is described below with reference to fig. 7. The electronic device 500 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the electronic device 500 is embodied in the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one memory unit 520, a bus 530 that couples various system components including the memory unit 520 and the processing unit 510, a display unit 540, and the like.
Wherein the storage unit stores program code, which can be executed by the processing unit 510, so that the processing unit 510 executes the steps according to various exemplary embodiments of the present invention described in the above-mentioned method for detecting authenticity of a logistics transportation track and the method for detecting authenticity of a logistics transportation track. For example, the processing unit 510 may perform the steps as shown in fig. 1 to 3.
The memory unit 520 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)5201 and/or a cache memory unit 5202, and may further include a read only memory unit (ROM) 5203.
The memory unit 520 may also include a program/utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 530 may be one or more of any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 500 may also communicate with one or more external devices 600 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a tenant to interact with the electronic device 500, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 550. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 560. The network adapter 560 may communicate with other modules of the electronic device 500 via the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the method for detecting the authenticity of the logistics transportation track and the method for detecting the authenticity of the logistics transportation track according to the embodiment of the present invention.
Compared with the prior art, the invention has the advantages that:
1) by acquiring the track of the truck in real time and matching the real-time position of the truck with the historical track in the historical order library, the granularity of real-time calculation and monitoring can be refined;
2) determining a proper alarm threshold range through the Hausdorff value of the track of each historical order, wherein the historical data has a self-learning value, and the alarm threshold range approaches to be accurate along with the increase of the order quantity;
3) and calculating the Housdov value of the point set of the track through the vertical distance, the parallel distance and the angular distance so as to be more suitable for the space-time data mining of the logistics track monitoring.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

Claims (10)

1. A method for detecting the authenticity of a logistics transportation track is characterized by comprising the following steps:
for a driver account number related to an in-transit order, acquiring a starting place of the in-transit order, acquiring a truck track related to the driver account number in real time, and calculating a Hausdorff value of a point set formed by the truck track, wherein the Hausdorff value is calculated at least based on the vertical distance, the parallel distance and the angular distance of the point set;
searching a plurality of historical tracks comprising the starting place and the real-time position from a historical order library according to the starting place of the acquired in-transit order and the real-time position of the truck related to the driver account, wherein each historical track is related to a hausdov value;
determining an alarm threshold range based on the Hausdorff values of the plurality of historical tracks;
judging whether the Hausdorff value of the truck track belongs to the alarm threshold range or not;
and if so, performing track authenticity alarm.
2. The method for detecting the authenticity of a logistic transportation track according to claim 1, wherein the determining an alarm threshold range based on the hausdorff values of the plurality of historical tracks comprises:
determining the number of historical tracks associated with the same Hausdorff value;
an alarm threshold range is determined based on the number of historical tracks for the same Hausdorff value and a number threshold range.
3. The method for detecting the authenticity of a logistics transportation track of claim 2, wherein the determining the alarm threshold range based on the number of historical tracks of the same hausdov value and a number threshold range comprises:
respectively taking the number of the Hausdorff values and the number of the historical tracks as horizontal and vertical coordinates of a coordinate axis;
fitting a function curve between the number of the historical tracks and the Hausdorff value on the coordinate axis;
and taking the value range of the Housdov value corresponding to the number of the historical tracks belonging to the number threshold range as the alarm threshold range.
4. The method for detecting the authenticity of a logistics transportation track of claim 3, wherein the quantity threshold range is dynamically changed based on the function curve.
5. The method for detecting the authenticity of a logistic transportation track according to claim 3, wherein the function curve between the number of the historical tracks and the hausdov value is displayed to a user on a display screen.
6. The method for detecting the authenticity of the logistics transportation track as claimed in claim 1, wherein said searching a plurality of historical tracks containing the origin and the real-time location from the historical order library according to the origin of the obtained in-transit order and the real-time location of the truck associated with the driver account comprises:
searching historical order sets with the same starting place and destination from an order historical library of the starting place and the destination of the in-transit order;
and searching a plurality of historical tracks containing the starting place and the real-time position from the historical order set.
7. The method for detecting the authenticity of a logistics transportation track as claimed in any one of claims 1 to 6, wherein the Housdov values of the truck track and the historical track are calculated according to the following method:
collecting at least four sampling coordinates in the trajectory;
calculating the vertical distance, the parallel distance and the angular distance between any two line segments formed by the at least four sampling coordinates; and
and carrying out weighted summation on the calculated vertical distance, the parallel distance and the angular distance to obtain a Housdov value of the track.
8. A detection device for detecting the authenticity of a logistics transportation track is characterized by comprising:
the acquisition module is used for acquiring the starting place of the in-transit order for the driver account number related to the in-transit order, acquiring the truck track related to the driver account number in real time, and calculating the Hostaff value of a point set formed by the truck track, wherein the Hostaff value is calculated at least based on the vertical distance, the parallel distance and the angular distance of the point set;
the searching module is used for searching a plurality of historical tracks comprising the starting place and the real-time position from a historical order library according to the starting place of the acquired in-transit order and the real-time position of the truck related to the driver account, and each historical track is related to one hausdov value;
the determining module is used for determining an alarm threshold range based on the Hausdorff values of the plurality of historical tracks;
the judging module is used for judging whether the Hausdorff value of the truck track belongs to the alarm threshold range or not;
and the warning module is used for carrying out track authenticity warning when the judging module judges that the Hausdorff value of the truck track belongs to the warning threshold range.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory, on which a computer program is stored, the computer program being executed by the processor to perform the method for detecting the authenticity of a logistics transportation track according to any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium stores thereon a computer program, and the computer program is executed by the processor to execute the method for detecting the authenticity of the logistics transportation track according to any one of claims 1 to 7.
CN202010087082.3A 2020-02-11 2020-02-11 Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium Withdrawn CN111311151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010087082.3A CN111311151A (en) 2020-02-11 2020-02-11 Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010087082.3A CN111311151A (en) 2020-02-11 2020-02-11 Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111311151A true CN111311151A (en) 2020-06-19

Family

ID=71147014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010087082.3A Withdrawn CN111311151A (en) 2020-02-11 2020-02-11 Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111311151A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184115A (en) * 2020-09-28 2021-01-05 上海寻梦信息技术有限公司 Logistics early warning method, logistics recommendation method, logistics early warning device and related equipment
CN112488625A (en) * 2020-11-30 2021-03-12 上海寻梦信息技术有限公司 Returned piece identification method, returned piece identification device, returned piece identification equipment and storage medium
CN112731492A (en) * 2020-12-18 2021-04-30 中国平安财产保险股份有限公司 Method for detecting virtual travel and related equipment thereof
CN112734219A (en) * 2021-01-05 2021-04-30 中交智运有限公司 Vehicle transportation driving behavior analysis method and system
CN113591043A (en) * 2021-06-25 2021-11-02 深圳市跨越新科技有限公司 Analysis method, system, terminal and storage medium for remote login of rifle account
CN116485301A (en) * 2023-05-30 2023-07-25 佛山众陶联供应链服务有限公司 Service authenticity judging method and system based on service information and logistics information

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184115A (en) * 2020-09-28 2021-01-05 上海寻梦信息技术有限公司 Logistics early warning method, logistics recommendation method, logistics early warning device and related equipment
CN112184115B (en) * 2020-09-28 2024-04-16 上海寻梦信息技术有限公司 Logistics early warning method, logistics recommendation method, device and related equipment
CN112488625A (en) * 2020-11-30 2021-03-12 上海寻梦信息技术有限公司 Returned piece identification method, returned piece identification device, returned piece identification equipment and storage medium
CN112731492A (en) * 2020-12-18 2021-04-30 中国平安财产保险股份有限公司 Method for detecting virtual travel and related equipment thereof
CN112731492B (en) * 2020-12-18 2024-02-06 中国平安财产保险股份有限公司 Method for detecting virtual travel and related equipment thereof
CN112734219A (en) * 2021-01-05 2021-04-30 中交智运有限公司 Vehicle transportation driving behavior analysis method and system
CN112734219B (en) * 2021-01-05 2023-07-21 中交智运有限公司 Vehicle transportation running behavior analysis method and system
CN113591043A (en) * 2021-06-25 2021-11-02 深圳市跨越新科技有限公司 Analysis method, system, terminal and storage medium for remote login of rifle account
CN113591043B (en) * 2021-06-25 2024-03-29 深圳市跨越新科技有限公司 Analysis method, system, terminal and storage medium for remote logging of Bagun account
CN116485301A (en) * 2023-05-30 2023-07-25 佛山众陶联供应链服务有限公司 Service authenticity judging method and system based on service information and logistics information
CN116485301B (en) * 2023-05-30 2023-12-05 佛山众陶联供应链服务有限公司 Service authenticity judging method and system based on service information and logistics information

Similar Documents

Publication Publication Date Title
CN111311151A (en) Method and device for detecting authenticity of logistics transportation track, electronic equipment and storage medium
CN107122866B (en) Method, equipment and storage medium for predicting order cancelling behavior of passenger
US9897451B2 (en) Position accuracy testing system
CN109543923B (en) Vehicle queuing time prediction method, system, device and storage medium
CN111324824B (en) Destination recommendation method and device, electronic device and readable storage medium
CN112798004B (en) Positioning method, device and equipment for vehicle and storage medium
CN111750891B (en) Method, computing device, and computer storage medium for information processing
CN111738316B (en) Zero sample learning image classification method and device and electronic equipment
CN111210315B (en) Travel order processing method and device, electronic equipment and readable storage medium
US11443628B2 (en) Method, system, and computer-readable storage medium for managing shared vehicle
CN110186472B (en) Vehicle yaw detection method, computer device, storage medium, and vehicle system
CN109635868B (en) Method and device for determining obstacle type, electronic device and storage medium
CN113096441B (en) Vehicle early warning method and device, vehicle and storage medium
CN113111117A (en) Map-based recipient address display method, system, device and storage medium
CN110502601A (en) The method and apparatus for searching warehouse
US20220228886A1 (en) Missing map data identification system
CN115905958A (en) Method and device for judging false appropriate delivery behavior
CN115062240A (en) Parking lot sorting method and device, electronic equipment and storage medium
CN112785234A (en) Goods recommendation method, device, equipment and storage medium
CN113095889A (en) Insurance pricing method, device, server and storage medium
CN115115944B (en) Map data checking method and device, electronic equipment and medium
CN105631541A (en) Method and device for determining new bus route
CN115390081A (en) Vehicle positioning method and device and terminal equipment
CN114780874A (en) Travel route recommendation method, system, device and storage medium
CN116362532A (en) Data processing method and data processing device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200619

WW01 Invention patent application withdrawn after publication