Method, device and storage medium for correcting electronic fence position

By screening the transportation bill and calculating the central coordinates of the electronic fence, the problem of inaccurate position of the electronic fence is solved, the accuracy of the electronic fence is improved, and the monitoring effect of transportation equipment and the safety and efficiency of logistics transportation are enhanced.

CN118428842BActive Publication Date: 2024-11-19ZHONGKE YUNGU TECH
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410898379.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-11-19
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

In the prior art, the electronic fence location is not accurate enough, especially when the transportation destination is a larger area, resulting in insufficient monitoring of transportation equipment.

Method used

By filtering the target transportation bill, obtain the loading and unloading positioning data and historical positioning data of the target transportation equipment, calculate the central coordinates of the electronic fence, and update the position of the electronic fence based on these data to improve its accuracy.

Benefits of technology

It reduces the position deviation when creating an electronic fence due to single positioning data, improves the position accuracy of the electronic fence, makes the subsequent transportation situation analysis and processing of transportation equipment more accurate, and improves the safety and efficiency of logistics transportation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428842B_ABST
    Figure CN118428842B_ABST
Patent Text Reader

Abstract

The present application relates to the field of logistics management technology, and provides a method, device and storage medium for correcting the position of an electronic fence. The method includes: selecting a target transport order from multiple transport orders, the target transport order including a target transport device and a target transport destination; obtaining the loading and unloading positioning data of the target transport device when determining that the working condition of the mixing barrel of the target transport device is a reverse working condition; obtaining the historical positioning data of the transport device used when creating the electronic fence when there is a corresponding electronic fence at the target transport destination; determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transport device according to the historical positioning data and the loading and unloading positioning data; determining the positioning correction value for the center of the electronic fence according to the center coordinates; updating the position of the electronic fence corresponding to the target transport destination according to the positioning correction value, and improving the accuracy of the position of the electronic fence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of logistics management, and in particular to a method, device and storage medium for correcting the position of an electronic fence. Background Art

[0002] Electronic fences can accurately mark the locations where transport equipment needs to arrive or leave. Once the transport equipment enters or leaves the area corresponding to the electronic fence, the system will automatically send out a reminder notification. Electronic fences help logistics companies to understand the transportation status of vehicles in a timely manner and quickly deal with transportation anomalies, thereby improving the safety and efficiency of logistics transportation. Therefore, the accurate setting of electronic fences is directly related to the effectiveness of vehicle monitoring.

[0003] In the prior art, an electronic fence of the transportation destination of the transportation equipment is generally created by the location of the transportation equipment at that time. However, if the transportation destination is a large area, the electronic fence created only by relying on the current location of the mixer truck when it arrives at the transportation destination is not accurate enough, which may result in the electronic fence of the transportation destination being set in a corner of the transportation destination. The location of the electronic fence is not accurate enough, which is not conducive to the effective monitoring of the transportation status of the subsequent transportation equipment. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, device and storage medium for correcting the position of an electronic fence, so as to solve the problem of inaccurate position of the electronic fence in the prior art.

[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for correcting the position of an electronic fence, comprising:

[0006] Filtering out a target transport order from multiple transport orders, the target transport order including a target transport device and a target transport destination;

[0007] When it is determined that the working condition of the mixing barrel of the target transportation equipment is a reverse working condition, obtaining loading and unloading positioning data of the target transportation equipment;

[0008] If there is a corresponding electronic fence at the target transportation destination, obtain the historical positioning data of the transportation equipment used when creating the electronic fence;

[0009] Determine the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment according to the historical positioning data and the loading and unloading positioning data;

[0010] Determine a positioning correction value for the center of the electronic fence according to the center coordinates;

[0011] The position of the electronic fence corresponding to the target transportation destination is updated according to the positioning correction value.

[0012] In an embodiment of the present application, determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment based on the historical positioning data and the loading and unloading positioning data includes: determining the first conversion information corresponding to the historical positioning data, and determining the second conversion information corresponding to the loading and unloading positioning data; determining the total number of the first conversion information and the second conversion information; determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment based on the first conversion information, the second conversion information and the total number.

[0013] In the embodiment of the present application, the center coordinates include the first coordinate value of the center of the electronic fence on the X-axis, the second coordinate value on the Y-axis, and the third coordinate value on the Z-axis of the rectangular coordinate system. The center coordinates are determined by formula (1): Formula (1)

[0014] in, is the first coordinate value, refers to the second coordinate value, refers to the third coordinate value, refers to the latitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, It refers to the longitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, and h refers to the total number of the first conversion information and the second conversion information.

[0015] In the embodiment of the present application, the first conversion information includes a first longitude conversion value and a first latitude conversion value, and the second conversion information includes a second longitude conversion value and a second latitude conversion value. The first conversion information is determined by formula (2):

[0016] Formula (2)

[0017] in, refers to the first longitude conversion value included in the mth first conversion information, refers to the historical longitude included in the historical positioning data corresponding to the mth first conversion information, refers to the first latitude conversion value included in the mth first conversion information, refers to the historical latitude included in the historical positioning data corresponding to the mth first conversion information;

[0018] The second conversion information is determined by formula (3):

[0019] Formula (3)

[0020] in, refers to the second longitude conversion value included in the nth second conversion information, refers to the loading and unloading longitude included in the loading and unloading positioning data corresponding to the nth second conversion information, refers to the second latitude conversion value included in the nth second conversion information, It refers to the loading and unloading latitude included in the loading and unloading positioning data corresponding to the nth second conversion information.

[0021] In an embodiment of the present application, the center coordinates include a first coordinate value of the center of the electronic fence on the X-axis, a second coordinate value on the Y-axis, and a third coordinate value on the Z-axis of a rectangular coordinate system. Determining a positioning correction value for the center of the electronic fence based on the center coordinates includes: determining a first ratio between the second coordinate value and the first coordinate value, and determining the arc tangent value of the first ratio as the longitude value included in the longitude and latitude information; determining the distance from the coordinate point corresponding to the first coordinate value and the second coordinate value to the origin in the rectangular coordinate system; determining a second ratio between the third coordinate value and the distance, and determining the arc tangent value of the second ratio as the latitude value included in the longitude and latitude information; determining the longitude value and latitude value included in the longitude and latitude information as the positioning correction value.

[0022] In an embodiment of the present application, the method further includes: when there is no corresponding electronic fence at the target transportation destination, creating an electronic fence corresponding to the target transportation destination according to the loading and unloading positioning data.

[0023] In an embodiment of the present application, when it is determined that the operating condition of the mixing barrel of the target transport equipment is a reverse condition, obtaining the loading and unloading positioning data of the target transport equipment includes: when it is determined that the operating condition of the mixing barrel is a reverse condition, determining the receiving time point when the operating condition of the mixing barrel is received as a reverse condition, and obtaining a first push time for the operating condition of the mixing barrel after the operating condition of the mixing barrel is detected as a reverse condition this time; determining a first interval duration between the first push time and the receiving time point; when the first interval duration is less than or equal to a first preset value, obtaining a second push time for the operating condition of the mixing barrel after the last detection that the operating condition of the mixing barrel is a reverse condition; determining a second interval duration between the first push time and the second push time; when the second interval duration is less than or equal to a second preset value, obtaining the positioning data of the target transport equipment at the receiving time point as loading and unloading positioning data.

[0024] In an embodiment of the present application, filtering out a target transport order from multiple transport orders includes: selecting a transport order with an unfinished status from the multiple transport orders as a candidate transport order; and selecting a candidate transport order with a transport destination that is not bound to an electronic fence as a target transport order.

[0025] In an embodiment of the present application, the method further includes: saving the loading and unloading positioning data and / or the updated position of the electronic fence corresponding to the target transportation destination to a database.

[0026] A second aspect of the present application provides a device for correcting the position of an electronic fence, comprising:

[0027] a memory configured to store instructions; and

[0028] The processor is configured to call instructions from the memory and implement the above-mentioned method for correcting the position of the electronic fence when executing the instructions.

[0029] A third aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned method for correcting the position of an electronic fence.

[0030] Through the above technical scheme, when there is a corresponding electronic fence at the target transportation destination of the target transportation equipment, the historical positioning data of the transportation equipment used when creating the electronic fence is obtained; the positioning correction value for the center of the electronic fence is determined based on the historical positioning data and the loading and unloading positioning data; the position of the electronic fence corresponding to the target transportation destination is updated based on the positioning correction value, thereby reducing the position deviation caused by creating the electronic fence with single positioning data, improving the accuracy of the position of the electronic fence, and making the subsequent analysis and processing of the transportation situation of the transportation equipment more accurate.

[0031] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0033] Figure 1 A schematic diagram of a flow chart of a method for correcting the position of an electronic fence according to an embodiment of the present application is schematically shown;

[0034] Figure 2 A schematic diagram of a flow chart of a method for correcting the position of an electronic fence according to another embodiment of the present application is shown;

[0035] Figure 3 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0037] It should be noted that if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0038] Figure 1 The flowchart of the method for correcting the position of an electronic fence according to an embodiment of the present application is schematically shown. Figure 1 As shown, in one embodiment of the present application, a method for correcting the position of an electronic fence is provided, comprising the following steps:

[0039] Step 101: Filter out a target transport order from multiple transport orders, where the target transport order includes a target transport device and a target transport destination.

[0040] The transport order is used to record the transport information of the goods and is provided to relevant parties so as to monitor and manage the transport process of the goods. The transport order includes the transport destination and the transport equipment for transporting the goods. The transport order may also include the name of the goods, the quantity of the goods, the information of the goods supplier and the information of the transport personnel. The transport destination refers to the construction site, and the transport equipment may include a transport mixer truck. If the transport equipment is a mixer truck, the goods it transports may be concrete. The processor may obtain multiple transport orders and filter out a target transport order from the multiple transport orders. Among them, the target transport order includes the target transport equipment and the target transport destination.

[0041] In an embodiment of the present application, filtering out a target transport order from multiple transport orders includes: selecting a transport order with an unfinished status from the multiple transport orders as a candidate transport order; and selecting a candidate transport order with a transport destination that is not bound to an electronic fence as a target transport order.

[0042] The status of the transport order may include an unfinished state and a completed state, and the unfinished state includes a pending state and a transporting state. The status of each transport order is one of a pending state, a transporting state, and a completed state. The processor may select a transport order with an unfinished state from multiple transport orders as a candidate transport order, and may select a candidate transport order with a transport destination that is not bound to an electronic fence from the candidate transport orders as a target transport order. That is, the target transport order refers to a transport order with an unfinished state and a transport destination that is not bound to an electronic fence.

[0043] Step 102: When it is determined that the working condition of the mixing barrel of the target transportation equipment is a reverse working condition, the loading and unloading positioning data of the target transportation equipment is obtained.

[0044] After the target transport order is screened, the working condition of the mixing barrel of the target transport equipment in the target transport order can be obtained. Specifically, the target transport equipment may include a working condition sensor for detecting the running direction of the mixing barrel, and the running direction of the mixing barrel can be collected through the working condition sensor. During the driving process of the target transport equipment, the running direction of its mixing barrel can be controlled to be forward, that is, the working condition of the mixing barrel is in a forward working condition, so as to stir the concrete in the mixing barrel, thereby preventing the concrete material loaded by the target transport equipment from solidifying when it does not reach the target transport destination.

[0045] If the running direction of the mixing barrel is reversed, that is, the working condition of the mixing barrel is in a reverse condition, it is determined that the target transportation equipment may be loading and unloading materials in the mixing barrel, and the target transportation equipment arrives at the target transportation destination. At this time, the processor can obtain the loading and unloading positioning data of the target transportation equipment. A positioning device can be installed in the target transportation equipment, for example, a GPS can be installed. Specifically, the loading and unloading positioning data of the target transportation equipment can be obtained through GPS. Among them, the loading and unloading positioning data refers to the loading and unloading longitude and latitude of the target transportation equipment when loading and unloading materials at the target transportation destination.

[0046] In an embodiment of the present application, when it is determined that the operating condition of the mixing barrel of the target transport equipment is a reverse condition, obtaining the loading and unloading positioning data of the target transport equipment includes: when it is determined that the operating condition of the mixing barrel is a reverse condition, determining the receiving time point when the operating condition of the mixing barrel is received as a reverse condition, and obtaining a first push time for the operating condition of the mixing barrel after the operating condition of the mixing barrel is detected as a reverse condition this time; determining a first interval duration between the first push time and the receiving time point; when the first interval duration is less than or equal to a first preset value, obtaining a second push time for the operating condition of the mixing barrel after the last detection that the operating condition of the mixing barrel is a reverse condition; determining a second interval duration between the first push time and the second push time; when the second interval duration is less than or equal to a second preset value, obtaining the positioning data of the target transport equipment at the receiving time point as loading and unloading positioning data.

[0047] The target transport equipment may include a working condition sensor for detecting the running direction of the mixing barrel, and the running direction of the mixing barrel may be collected through the working condition sensor. When it is determined that the working condition of the mixing barrel is a reverse working condition, the processor may determine the receiving time point when receiving the working condition of the mixing barrel as a reverse working condition, and obtain the first push time for the working condition of the mixing barrel after the working condition of the mixing barrel is detected as a reverse working condition.

[0048] The processor can determine the first interval duration between the first push time and the receiving time point, and can determine whether the first interval duration is less than or equal to the first preset value. Among them, the first preset value can be set according to the needs, for example, the first preset value can be set to 6min. If the first interval duration is less than or equal to the first preset value, it can be determined that the working condition of the mixing drum detected this time is a reverse working condition and is valid. If the first interval duration is greater than the first preset value, it may be due to network congestion, etc. that the processor receives the detection result of the working condition of the mixing drum for too long, and the timeliness is low. The working condition of the mixing drum detected this time is invalid as a reverse working condition.

[0049] When the first interval duration is less than or equal to the first preset value, the processor can obtain the second push time for the working condition of the mixing barrel after the last detection that the working condition of the mixing barrel is the reverse working condition. The processor can determine the second interval duration between the first push time and the second push time. When the second interval duration is greater than the second preset value, the time interval between the two reverse working conditions of the mixing barrel is too long, and the working condition sensor may have a detection abnormality, resulting in data transmission errors, resulting in the detection of the direction of the mixing barrel as the reverse direction, and the target transportation equipment may not have arrived at the target transportation destination to load and unload materials at this time.

[0050] When the second interval duration is less than or equal to the second preset value, the working condition sensor detects normally, and it can be determined that the target transport vehicle has arrived at the target transport destination and is loading and unloading materials at the target transport destination. The processor can obtain the positioning data of the target transport equipment at the receiving time point as the loading and unloading positioning data. Among them, the positioning data refers to the longitude and latitude of the target transport equipment at the receiving time point. The loading and unloading positioning data includes the loading and unloading longitude and latitude of the target transport equipment at the receiving time point. For example, the second preset value can be set to 5 minutes.

[0051] For example, at the current time 16:41:00, the processor obtains that the current working condition of the mixing barrel is a reverse working condition. The working condition may include multiple fields, among which unload represents forward and reverse rotation, systemDate represents the time of this working condition, and systemDate records the moment when the working condition sensor on the mixer truck pushes the working condition of the mixing barrel to the processor after detecting the working condition of the mixing barrel.

[0052] If the working condition sensor pushes the working condition to the processor at 16:39:15, and the processor receives the working condition at 16:41:00, it can be seen that the time difference between the push time (16:39:15) and the receiving time (16:41:00) of the working condition is less than 6 minutes. At this time, it can be determined that the working condition is valid.

[0053] If the last working condition was a reverse working condition, and the time when the working condition sensor pushed the last working condition to the processor was 16:35:20, it can be seen that the time difference between the push time of the last working condition (16:35:20) and the push time of this working condition (16:39:15) is less than or equal to 5 minutes. At this time, it can be determined that the target transport vehicle has arrived at the target transport destination and is loading and unloading materials at the target transport destination at the current time 16:41:00. At this time, the loading and unloading positioning data of the target transport equipment can be obtained.

[0054] In the above scheme, if the mixing barrel reverses once after rotating forward several times, and then continues to rotate forward, the working condition sensor may detect abnormally and detect that the mixing barrel is in the reverse direction. In this case, if it is determined that the target transport equipment is unloading, the accuracy of the loading and unloading positioning data of the target transport equipment is low. Therefore, by detecting at least two reverse working conditions of the mixing barrel of the target transport equipment, the influence of the subsequent electronic position accuracy caused by the detection and transmission data errors of the working condition sensor can be minimized as much as possible, so that the detection of the loading and unloading of the target transport equipment is more accurate, and the subsequent loading and unloading positioning data of the target transport equipment is also more accurate.

[0055] Step 103: When a corresponding electronic fence exists at the target transportation destination, historical positioning data of the transportation equipment used when creating the electronic fence is obtained.

[0056] Electronic fences can be used to track the location and status of cargo on transport equipment, can notify managers through alarms so that they can deal with potential safety issues in a timely manner, can be used for transport scheduling to determine unloading and pick-up points, making logistics transportation more efficient and precise, and can also be used to optimize logistics transportation routes and times, thereby reducing transportation costs and time.

[0057] The processor can determine whether there is a corresponding electronic fence at the target transportation destination, that is, whether an electronic fence is created at the target transportation destination. In an embodiment of the present application, the method further includes: if there is no corresponding electronic fence at the target transportation destination, creating an electronic fence corresponding to the target transportation destination according to the loading and unloading positioning data.

[0058] If there is no corresponding electronic fence at the target transportation destination, it means that the target transportation destination has not yet created an electronic fence. At this time, the processor can create an electronic fence corresponding to the target transportation destination based on the loading and unloading positioning data of the target transportation equipment. If there is a corresponding electronic fence at the target transportation destination, before the target transportation equipment arrives at the target transportation destination, there may be at least one transportation equipment that has arrived at the target transportation destination to load and unload materials, and the electronic fence of the target transportation destination has been created based on the historical positioning data of the transportation equipment. Therefore, when the target transportation equipment arrives at the target transportation destination to load and unload materials, and the target transportation destination has an electronic fence, the processor can obtain the historical positioning data of the transportation equipment used when creating the electronic fence. Among them, the historical positioning data includes the historical longitude and historical latitude of the transportation equipment when it arrives at the target transportation destination to load and unload materials.

[0059] Step 104: Determine the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment according to the historical positioning data and the loading and unloading positioning data.

[0060] Step 105: Determine a positioning correction value for the center of the electronic fence according to the center coordinates.

[0061] Since the area of ​​the target transportation destination may be large, in order to more accurately determine the location of the electronic fence, the processor can determine the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment based on the historical positioning data and the loading and unloading positioning data, and can determine the positioning correction value for the center of the electronic fence based on the center coordinates to avoid limiting the location of the electronic fence to a certain area in the area where the target transportation destination is located. Among them, the positioning correction value refers to the positioning data of the electronic fence of the target transportation destination after correction.

[0062] In an embodiment of the present application, determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment based on the historical positioning data and the loading and unloading positioning data includes: determining the first conversion information corresponding to the historical positioning data, and determining the second conversion information corresponding to the loading and unloading positioning data; determining the total number of the first conversion information and the second conversion information; determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment based on the first conversion information, the second conversion information and the total number.

[0063] The processor may determine first conversion information corresponding to the historical positioning data, and determine second conversion information corresponding to the loading and unloading positioning data. The first conversion information refers to data obtained by numerically converting the historical longitude and historical latitude included in the historical positioning data. The second conversion information refers to data obtained by numerically converting the loading and unloading longitude and loading and unloading latitude included in the loading and unloading positioning.

[0064] In the embodiment of the present application, the first conversion information includes a first longitude conversion value and a first latitude conversion value, and the second conversion information includes a second longitude conversion value and a second latitude conversion value. The first conversion information is determined by formula (2):

[0065] Formula (2)

[0066] in, refers to the first longitude conversion value included in the mth first conversion information, refers to the historical longitude included in the historical positioning data corresponding to the mth first conversion information, refers to the first latitude conversion value included in the mth first conversion information, refers to the historical latitude included in the historical positioning data corresponding to the mth first conversion information;

[0067] The second conversion information is determined by formula (3):

[0068] Formula (3)

[0069] in, refers to the second longitude conversion value included in the nth second conversion information, refers to the loading and unloading longitude included in the loading and unloading positioning data corresponding to the nth second conversion information, refers to the second latitude conversion value included in the nth second conversion information, It refers to the loading and unloading latitude included in the loading and unloading positioning data corresponding to the nth second conversion information.

[0070] The first conversion information includes a first longitude conversion value and a first latitude conversion value. The first longitude conversion value is obtained by converting the historical longitude included in the corresponding historical positioning data, and the first latitude conversion value is obtained by converting the historical latitude included in the corresponding historical positioning data. The first longitude conversion value and the first latitude conversion value can be determined according to the above formula (2).

[0071] The second conversion information includes a second longitude conversion value and a second latitude conversion value. The second longitude conversion value is obtained by converting the loading and unloading longitude included in the corresponding loading and unloading positioning data, and the second latitude conversion value is obtained by converting the loading and unloading latitude included in the corresponding loading and unloading positioning data. The second longitude conversion value and the second latitude conversion value can be determined according to the above formula (3).

[0072] If multiple transport vehicles arrive at the target transport destination before the target transport equipment arrives at the target transport destination, the historical positioning data includes multiple pieces, and thus the first conversion information also includes multiple pieces. The first conversion information includes multiple first longitude conversion values ​​and first latitude conversion values.

[0073] The processor may determine the total number of the first conversion information and the second conversion information, and may determine the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment according to the first conversion information, the second conversion information and the total number. The rectangular coordinate system includes an X-axis, a Y-axis and a Z-axis, which may be determined based on the right-hand rule.

[0074] Specifically, the processor may convert any one of the first conversion information and the second conversion information into coordinates in the rectangular coordinate system of the target transport device based on the spherical cosine theorem. Afterwards, the processor may determine the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transport device based on the respective coordinates and the total number in the rectangular coordinate system of the target transport device.

[0075] In the embodiment of the present application, the center coordinates include the first coordinate value of the center of the electronic fence on the X-axis, the second coordinate value on the Y-axis, and the third coordinate value on the Z-axis of the rectangular coordinate system. The center coordinates are determined by formula (1):

[0076] Formula (1)

[0077] in, is the first coordinate value, refers to the second coordinate value, refers to the third coordinate value, refers to the latitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, It refers to the longitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, and h refers to the total amount of data in the historical positioning data and the loading and unloading positioning data, and also refers to the total amount of the first conversion information and the second conversion information.

[0078] When the center coordinates of the center of the electronic fence of the target transportation destination in the rectangular coordinate system of the target transportation equipment are determined, the processor can determine the positioning correction value for the center of the electronic fence according to the center coordinates. Specifically, the processor can convert the center coordinates into corresponding longitude and latitude information, and can determine the longitude and latitude information as the positioning correction value.

[0079] In an embodiment of the present application, determining a positioning correction value for the center of an electronic fence based on the center coordinates includes: determining a first ratio between the second coordinate value and the first coordinate value, and determining the arc tangent value of the first ratio as the longitude value included in the longitude and latitude information; determining the distance from the coordinate point corresponding to the first coordinate value and the second coordinate value to the origin in the rectangular coordinate system; determining a second ratio between the third coordinate value and the distance, and determining the arc tangent value of the second ratio as the latitude value included in the longitude and latitude information; determining the longitude value and latitude value included in the longitude and latitude information as the positioning correction value.

[0080] The longitude and latitude information corresponding to the center coordinates includes a longitude value. When converting the center coordinates to the corresponding longitude and latitude information, the processor may determine a first ratio between the second coordinate value and the first coordinate value, and determine the arc tangent value of the first ratio as the longitude value included in the longitude and latitude information. In one embodiment, the longitude value included in the longitude and latitude information corresponding to the center coordinates may be determined by the following formula:

[0081]

[0082] in, is the longitude value, refers to the second coordinate value, Refers to the first coordinate value.

[0083] The longitude and latitude information corresponding to the center coordinates includes a latitude value. The processor may determine the distance from the coordinate point corresponding to the first coordinate value and the second coordinate value to the origin in the rectangular coordinate system. The processor may determine a second ratio between the third coordinate value and the distance, and determine the arc tangent value of the second ratio as the latitude value included in the longitude and latitude information. In one embodiment, the latitude value included in the longitude and latitude information corresponding to the center coordinates may be determined by the following formula:

[0084]

[0085] in, is the latitude value, refers to the third coordinate value, refers to the second coordinate value, is the first coordinate value, It refers to the distance from the coordinate point corresponding to the first coordinate value and the second coordinate value to the origin in the rectangular coordinate system.

[0086] Step 106: Update the position of the electronic fence corresponding to the target transportation destination according to the positioning correction value.

[0087] The processor may update the position of the electronic fence corresponding to the target transportation destination according to the positioning correction value, that is, update the position of the center of the electronic fence of the target transportation destination to the positioning correction value.

[0088] In an embodiment of the present application, the method further includes: saving the loading and unloading positioning data and / or the updated position of the electronic fence corresponding to the target transportation destination to a database.

[0089] When the loading and unloading positioning data of the target transport equipment is obtained, the processor may save the loading and unloading positioning data to a database. The database may be a MySQL database. When a new transport equipment arrives at the target transport destination to load and unload materials, the loading and unloading positioning data of the target transport equipment may be obtained from the database, and the position of the electronic fence may be corrected based on the loading and unloading positioning data and the loading and unloading positioning data of the new transport equipment. After updating the position of the electronic fence corresponding to the target transport destination, the updated position of the electronic fence may be saved to the database so that the driving data of the transport vehicle can be processed more accurately in the future, thereby improving the safety and efficiency of logistics transportation.

[0090] like Figure 2 As shown, taking a mixer truck as an example of the transport equipment, a flow chart of another method for correcting the position of an electronic fence is provided.

[0091] When correcting the position of the electronic fence, the mixer trucks and construction sites are filtered out through the data. The construction site refers to the destination that the mixer truck needs to reach. Specifically, the transport order can be obtained first. The status of the transport order includes the pending status, the in-transit status, and the completed status. The transport orders in the pending status and the in-transit status can be filtered out from the transport orders, and the corresponding construction sites can be extracted from these transport orders. Then, the transport orders corresponding to the construction sites that are not bound to the electronic fence can be filtered out, and the mixer trucks in the filtered transport orders can be extracted.

[0092] If there is no electronic fence at the construction site of the mixer truck, the GPS data of this mixer truck can be directly used as the center point of the electronic fence to create the electronic fence of the construction site. Then, the GPS data of this mixer truck can be saved and the electronic fence can be associated with the database, which includes the historical positioning data of the mixer truck.

[0093] In the case where there is an electronic fence at the construction site of the mixer truck, the longitude and latitude included in the GPS data of the mixer truck can be converted into radians based on the historical GPS data and the current GPS data of the mixer truck, and then converted into a rectangular coordinate system using the spherical cosine theorem. After that, the coordinates of the center point of the rectangular coordinate system can be calculated using a simple average algorithm, and the coordinates of the center point of the rectangular coordinate system can be converted back to longitude and latitude coordinates. Then, the electronic fence of the construction site can be corrected based on the converted longitude and latitude coordinates, and the GPS data of the mixer truck can be saved, and the electronic fence can be associated with the database, which includes the historical positioning data of the mixer truck.

[0094] Through the above technical scheme, when there is a corresponding electronic fence at the target transportation destination of the target transportation equipment, the historical positioning data of the transportation equipment used when creating the electronic fence is obtained; the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment are determined based on the historical positioning data and the loading and unloading positioning data; the positioning correction value for the center of the electronic fence is determined based on the center coordinates; the position of the electronic fence corresponding to the target transportation destination is updated based on the positioning correction value, thereby reducing the position deviation caused by creating the electronic fence with single positioning data, improving the accuracy of the position of the electronic fence, and making the subsequent analysis and processing of the transportation situation of the transportation equipment more accurate.

[0095] Figure 1 and 2 FIG. 1 is a flow chart of a method for correcting the position of an electronic fence in one embodiment. Figure 1 and 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 and 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0096] In one embodiment, a device for correcting the position of an electronic fence is provided, comprising:

[0097] a memory configured to store instructions; and

[0098] The processor is configured to call instructions from the memory and implement the above-mentioned method for correcting the position of the electronic fence when executing the instructions.

[0099] In one embodiment, a storage medium is provided, on which a program is stored, and when the program is executed by a processor, the method for correcting the position of an electronic fence is implemented.

[0100] In one embodiment, a processor is provided, and the processor is used to run a program, wherein the program executes the above-mentioned method for correcting the position of an electronic fence when it is run.

[0101] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store data such as the loading and unloading positioning data of the target transportation equipment and / or the updated location of the electronic fence. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a method for correcting the location of an electronic fence is implemented.

[0102] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0103] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: a target transport order is selected from a plurality of transport orders, wherein the target transport order includes a target transport equipment and a target transport destination; when it is determined that the working condition of the mixing barrel of the target transport equipment is a reverse working condition, loading and unloading positioning data of the target transport equipment is obtained; when there is a corresponding electronic fence at the target transport destination, historical positioning data of the transport equipment used when creating the electronic fence is obtained; the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transport equipment are determined based on the historical positioning data and the loading and unloading positioning data; a positioning correction value for the center of the electronic fence is determined based on the center coordinates; and the position of the electronic fence corresponding to the target transport destination is updated based on the positioning correction value.

[0104] In one embodiment, determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment based on historical positioning data and loading and unloading positioning data includes: determining first conversion information corresponding to the historical positioning data, and determining second conversion information corresponding to the loading and unloading positioning data; determining the total number of the first conversion information and the second conversion information; determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment based on the first conversion information, the second conversion information and the total number.

[0105] In one embodiment, the center coordinates include a first coordinate value of the center of the electronic fence on the X-axis, a second coordinate value on the Y-axis, and a third coordinate value on the Z-axis of the rectangular coordinate system. The center coordinates are determined by formula (1):

[0106] Formula (1)

[0107] in, is the first coordinate value, refers to the second coordinate value, refers to the third coordinate value, refers to the latitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, It refers to the longitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, and h refers to the total number of the first conversion information and the second conversion information.

[0108] In one embodiment, the first conversion information includes a first longitude conversion value and a first latitude conversion value, and the second conversion information includes a second longitude conversion value and a second latitude conversion value. The first conversion information is determined by formula (2):

[0109] Formula (2)

[0110] in, refers to the first longitude conversion value included in the mth first conversion information, refers to the historical longitude included in the historical positioning data corresponding to the mth first conversion information, refers to the first latitude conversion value included in the mth first conversion information, refers to the historical latitude included in the historical positioning data corresponding to the mth first conversion information;

[0111] The second conversion information is determined by formula (3):

[0112] Formula (3)

[0113] in, refers to the second longitude conversion value included in the nth second conversion information, refers to the loading and unloading longitude included in the loading and unloading positioning data corresponding to the nth second conversion information, refers to the second latitude conversion value included in the nth second conversion information, It refers to the loading and unloading latitude included in the loading and unloading positioning data corresponding to the nth second conversion information.

[0114] In one embodiment, the center coordinates include a first coordinate value of the center of the electronic fence on the X-axis, a second coordinate value on the Y-axis, and a third coordinate value on the Z-axis of a rectangular coordinate system. Determining a positioning correction value for the center of the electronic fence based on the center coordinates includes: determining a first ratio between the second coordinate value and the first coordinate value, and determining the arc tangent value of the first ratio as the longitude value included in the longitude and latitude information; determining the distance from the coordinate point corresponding to the first coordinate value and the second coordinate value to the origin in the rectangular coordinate system; determining a second ratio between the third coordinate value and the distance, and determining the arc tangent value of the second ratio as the latitude value included in the longitude and latitude information; determining the longitude value and latitude value included in the longitude and latitude information as the positioning correction value.

[0115] In one embodiment, the method further includes: when there is no corresponding electronic fence at the target transportation destination, creating an electronic fence corresponding to the target transportation destination according to the loading and unloading positioning data.

[0116] In one embodiment, when it is determined that the operating condition of the mixing barrel of the target transportation equipment is a reverse condition, obtaining the loading and unloading positioning data of the target transportation equipment includes: when it is determined that the operating condition of the mixing barrel is a reverse condition, determining the receiving time point when the operating condition of the mixing barrel is received as a reverse condition, and obtaining a first push time for the operating condition of the mixing barrel after the operating condition of the mixing barrel is detected as a reverse condition this time; determining a first interval duration between the first push time and the receiving time point; when the first interval duration is less than or equal to a first preset value, obtaining a second push time for the operating condition of the mixing barrel after the last detection that the operating condition of the mixing barrel is a reverse condition; determining a second interval duration between the first push time and the second push time; when the second interval duration is less than or equal to a second preset value, obtaining the positioning data of the target transportation equipment at the receiving time point as loading and unloading positioning data.

[0117] In one embodiment, filtering out a target transport order from multiple transport orders includes: selecting a transport order with an unfinished status from the multiple transport orders as a candidate transport order; and selecting a candidate transport order with a transport destination that is not bound to an electronic fence as a target transport order.

[0118] In one embodiment, the method further includes: saving the loading and unloading positioning data and / or the updated position of the electronic fence corresponding to the target transportation destination to a database.

[0119] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the method steps for correcting the position of an electronic fence.

[0120] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0121] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0122] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0124] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0125] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0126] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0127] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0128] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for correcting the position of an electronic fence, characterized in that: The method comprises: Filtering out a target transport order from a plurality of transport orders, wherein the target transport order includes a target transport device and a target transport destination; When it is determined that the working condition of the mixing barrel of the target transportation equipment is a reverse working condition, obtaining loading and unloading positioning data of the target transportation equipment; In the case where a corresponding electronic fence exists at the target transportation destination, obtaining historical positioning data of the transportation equipment used when creating the electronic fence; Determine the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment according to the historical positioning data and the loading and unloading positioning data; Determining a positioning correction value for the center of the electronic fence according to the center coordinates; updating the position of the electronic fence corresponding to the target transportation destination according to the positioning correction value; Wherein, determining the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment according to the historical positioning data and the loading and unloading positioning data includes: Determine first conversion information corresponding to the historical positioning data, and determine second conversion information corresponding to the loading and unloading positioning data; determining a total amount of the first conversion information and the second conversion information; Determine the center coordinates of the center of the electronic fence in the rectangular coordinate system of the target transportation equipment according to the first conversion information, the second conversion information and the total number; The first conversion information includes a first longitude conversion value and a first latitude conversion value, and the second conversion information includes a second longitude conversion value and a second latitude conversion value. The first conversion information is determined by formula (2): Formula (2) in, refers to the first longitude conversion value included in the mth first conversion information, refers to the historical longitude included in the historical positioning data corresponding to the mth first conversion information, refers to the first latitude conversion value included in the mth first conversion information, refers to the historical latitude included in the historical positioning data corresponding to the mth first conversion information; The second conversion information is determined by formula (3): Formula (3) in, refers to the second longitude conversion value included in the nth second conversion information, refers to the loading and unloading longitude included in the loading and unloading positioning data corresponding to the nth second conversion information, refers to the second latitude conversion value included in the nth second conversion information, It refers to the loading and unloading latitude included in the loading and unloading positioning data corresponding to the nth second conversion information.

2. The method for correcting the position of an electronic fence according to claim 1, characterized in that: The center coordinates include a first coordinate value of the center of the electronic fence on the X-axis, a second coordinate value on the Y-axis, and a third coordinate value on the Z-axis of the rectangular coordinate system. The center coordinates are determined by formula (1): Formula (1) in, is the first coordinate value, refers to the second coordinate value, refers to the third coordinate value, refers to the latitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, It refers to the longitude conversion value included in the kth conversion information in the first conversion information and the second conversion information, and h refers to the total number of the first conversion information and the second conversion information.

3. The method for correcting the position of an electronic fence according to claim 1, characterized in that: The center coordinates include a first coordinate value of the center of the electronic fence on the X-axis, a second coordinate value on the Y-axis, and a third coordinate value on the Z-axis of a rectangular coordinate system, and determining a positioning correction value for the center of the electronic fence according to the center coordinates includes: Determine a first ratio between the second coordinate value and the first coordinate value, and determine an arc tangent value of the first ratio as the longitude value included in the longitude and latitude information; Determine the distance from the coordinate point corresponding to the first coordinate value and the second coordinate value to the origin in the rectangular coordinate system; Determine a second ratio between the third coordinate value and the distance, and determine an arc tangent value of the second ratio as the latitude value included in the longitude and latitude information; The longitude value and the latitude value included in the longitude and latitude information are determined as the positioning correction value.

4. The method for correcting the position of an electronic fence according to claim 1, characterized in that: The method further comprises: In the case that there is no corresponding electronic fence at the target transportation destination, an electronic fence corresponding to the target transportation destination is created according to the loading and unloading positioning data.

5. The method for correcting the position of an electronic fence according to claim 1, characterized in that: When it is determined that the working condition of the mixing barrel of the target transportation equipment is a reverse working condition, obtaining the loading and unloading positioning data of the target transportation equipment includes: In the case where it is determined that the working condition of the mixing drum is the reverse working condition, determining a receiving time point when receiving the information that the working condition of the mixing drum is the reverse working condition, and obtaining a first push time for the working condition of the mixing drum after the working condition of the mixing drum is detected to be the reverse working condition; Determine a first interval duration between the first push time and the receiving time point; When the first interval time is less than or equal to a first preset value, obtaining a second push time for the working condition of the mixing drum after the working condition of the mixing drum was detected to be the reverse working condition last time; Determine a second interval duration between the first push time and the second push time; When the second interval duration is less than or equal to a second preset value, the positioning data of the target transportation equipment at the receiving time point is obtained as the loading and unloading positioning data.

6. The method for correcting the position of an electronic fence according to claim 1, characterized in that: The step of selecting a target transport bill from a plurality of transport bills includes: Selecting a transport order with an uncompleted status from multiple transport orders as a candidate transport order; A candidate transport order whose transport destination is not bound to an electronic fence is selected as the target transport order.

7. The method for correcting the position of an electronic fence according to any one of claims 1 to 6, characterized in that: The method further comprises: The loading and unloading positioning data and / or the updated position of the electronic fence corresponding to the target transportation destination are saved in a database.

8. A device for correcting the position of an electronic fence, characterized in that: The device comprises: a memory configured to store instructions; and A processor is configured to call the instructions from the memory and implement the method for correcting the position of an electronic fence according to any one of claims 1 to 7 when executing the instructions.

9. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions for causing a machine to execute the method for correcting the position of an electronic fence according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Vehicle returning judgment method and device and electronic equipment

    CN112132725A

  • Vehicle electronic fence method and device and electronic equipment

    CN112712690A

  • Method for determining electronic fence, transportation equipment, storage medium and processor

    CN116170491A

  • Creation method for electronic fence in operation area, transportation equipment and processor

    CN116709186A

  • Intelligent door control security and protection Internet of Things system for outdoor power ring main unit

    CN118230473A