CN111695931A - Logistics charging method, related device and computer readable storage medium - Google Patents

Logistics charging method, related device and computer readable storage medium Download PDF

Info

Publication number
CN111695931A
CN111695931A CN202010390069.5A CN202010390069A CN111695931A CN 111695931 A CN111695931 A CN 111695931A CN 202010390069 A CN202010390069 A CN 202010390069A CN 111695931 A CN111695931 A CN 111695931A
Authority
CN
China
Prior art keywords
information
barrier
electronic
electronic barrier
logistics
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010390069.5A
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.)
Beijing Shunda Technology Co ltd
Original Assignee
Beijing Shunda 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 Beijing Shunda Technology Co ltd filed Critical Beijing Shunda Technology Co ltd
Priority to CN202010390069.5A priority Critical patent/CN111695931A/en
Publication of CN111695931A publication Critical patent/CN111695931A/en
Pending 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Game Theory and Decision Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a logistics charging method, a related device and a computer readable storage medium. The logistics charging method comprises the following steps: the method comprises the steps of obtaining an order for sending an express delivery by a user, wherein the order comprises logistics information corresponding to the order; acquiring electronic map information preset with electronic barrier information; generating a planning distribution path corresponding to the order according to the logistics information; and generating the cost information of the cross electronic barrier corresponding to the order according to the planned delivery path and the electronic barrier information. The embodiment of the application can realize the calculation of the electronic barrier cost on line, in real time, efficiently, synchronously and accurately, thereby improving the management efficiency of a distribution company and reducing the frequency of the problems of billing errors and the like.

Description

Logistics charging method, related device and computer readable storage medium
Technical Field
The present application relates to the field of logistics technologies, and in particular, to a logistics charging method, a related apparatus, and a computer-readable storage medium.
Background
With the progress of the times and the rapid development of the society, at present, the rapid development of the e-commerce logistics changes the life style of people, the requirement of consumers on the living quality is higher and higher, the demand of the consumers on the types of food is richer and richer in daily life, and the distribution challenge of the logistics is larger and larger due to the large territorial area of the country.
Some systems for billing to merchants of distribution companies are used to assist the system to charge the merchants for special billing under certain conditions, such as: some bridges and tunnels charge certain toll. The distribution company is responsible for distributing the goods of the merchant to the user and charging the merchant with the toll passing through the bridge or the tunnel when passing through the position.
Currently, many of the related distribution companies on the market are still in a manual way to resolve. 1) For some travel companies, when the toll is met, a mode that a driver communicates with a customer is adopted, the site payment is carried out, the company does not participate in the slow link 2), part of the company adopts a mechanism that a distributor submits an application afterwards, the system records the part of the fee after the verification is passed, and the part of the fee is collected from a merchant when the merchant bills are issued. The charging mode can not realize online, real-time, efficient and accurate charging, so that the management efficiency of a distribution company is low, and phenomena such as charging errors and the like easily occur.
Disclosure of Invention
The application provides a logistics charging method, a related device and a computer readable storage medium, which can realize online, real-time, efficient, synchronous and accurate calculation of electronic barrier charges, thereby improving the management efficiency of a distribution company and reducing the frequency of problems such as charging errors and the like.
In one aspect, the present application provides a method for charging logistics, where the method includes:
the method comprises the steps of obtaining an order for sending an express delivery by a user, wherein the order comprises logistics information corresponding to the order;
acquiring electronic map information preset with electronic barrier information;
generating a planned delivery path corresponding to the order according to the logistics information;
and generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information.
In a possible implementation manner of the present application, the obtaining of the electronic map information preset with the electronic barrier information includes:
acquiring electronic map information in a preset area;
setting an electronic barrier on the electronic map information to obtain electronic barrier data;
setting a charging strategy corresponding to the electronic barrier data on the electronic map information to obtain charging strategy data;
and storing the electronic barrier data and the charging strategy data into a database of the electronic map information to obtain the electronic map information with the preset electronic barrier information.
In a possible implementation manner of the present application, the setting the electronic barrier on the electronic map information to obtain electronic barrier data includes:
acquiring positioning information of a charging station in a preset area, wherein the preset area is an area in a logistics service range corresponding to a logistics network point for receiving the order;
determining the corresponding position information of the toll station on the electronic map information according to the positioning information of the toll station;
and setting an electronic barrier on the electronic map information according to the position information to obtain electronic barrier information in a preset area.
In a possible implementation manner of the present application, the location information of the toll station includes location information of a target toll station, the location information includes location information of the target toll station, and the electronic barrier information includes first electronic barrier information of the target toll station;
the step of setting an electronic barrier on the electronic map information according to the position information to obtain electronic barrier information in a preset area includes:
and according to the position information of the target toll station, drawing the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment on the electronic map information to obtain first electronic barrier information, wherein the lengths of the second barrier auxiliary line segment and the third barrier auxiliary line segment are both larger than that of the first barrier auxiliary line segment, and the position of the first barrier auxiliary line segment corresponds to the actual position of the electronic barrier.
In a possible implementation manner of the present application, the storing the electronic barrier data and the charging policy data in the database of the electronic map information to obtain the electronic map information preset with the electronic barrier information includes:
converting the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment into corresponding array information of longitude and latitude;
and storing the array information of the corresponding longitude and latitude and the charging strategy data into a database of the electronic map information to obtain the electronic map information preset with electronic barrier information.
In a possible implementation manner of the present application, the generating, according to the planned delivery path and the electronic barrier information, cost information across an electronic barrier corresponding to the order includes:
determining whether the planned delivery path passes through the electronic barrier according to the planned delivery path and the electronic barrier;
if so, acquiring a charging strategy corresponding to the electronic barrier;
and determining the cross-electronic-barrier cost information corresponding to the order according to the charging strategy corresponding to the electronic barrier.
In a possible implementation manner of the present application, the determining, according to the planned delivery path and the electronic barrier, whether a delivery path corresponding to the order triggers the electronic barrier includes:
performing geometric figure preprocessing on the second barrier auxiliary line segment and the third barrier auxiliary line segment to obtain an electronic barrier geometric figure;
determining whether the planned delivery path intersects the electronic barrier geometry map according to the planned delivery path and the electronic barrier geometry map;
if so, carrying out deletion preprocessing on the planned delivery path to generate an area point set, wherein the area point set is positioned in the electronic barrier geometric figure;
and determining whether the delivery path corresponding to the order triggers the electronic barrier or not according to the area point set and the first barrier auxiliary line segment.
In a possible implementation manner of the present application, the determining whether a delivery path corresponding to the order triggers the electronic barrier according to the area point set and the first barrier auxiliary line segment includes:
performing first rarefying pretreatment on the region point set to obtain a first destination point set;
performing second rarefying pretreatment on the main line segment to obtain a second destination point set;
determining whether points with the same coordinates exist in the first destination point set and the second destination point set or not according to the first destination point set and the second destination point set;
if yes, determining that the electronic barrier is triggered by the distribution path corresponding to the order.
In a possible implementation manner of the present application, after determining, according to a charging policy corresponding to the electronic barrier, cost information across the electronic barrier corresponding to the order, the method further includes:
acquiring an actual delivery path of delivery by a corresponding deliverer after the order is finished;
and comparing and checking the planned delivery path with the actual delivery path.
On the other hand, the present application provides a logistics charging device, the logistics charging device includes:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring an order for sending an express delivery by a user, and the order comprises logistics information corresponding to the order;
the second acquisition unit is used for acquiring the electronic map information preset with the electronic barrier information;
the first generating unit is used for generating a planned delivery path corresponding to the order according to the logistics information;
and the second generating unit is used for generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information.
In one possible implementation manner of this application, the electronic barrier information includes electronic barrier data corresponding to a charging site and charging policy data corresponding to the electronic barrier data, and the second obtaining unit includes:
the third acquisition unit is used for acquiring electronic map information in a preset area;
the first setting unit is used for setting an electronic barrier on the electronic map information to obtain electronic barrier data;
the second setting unit is used for setting a charging strategy corresponding to the electronic barrier data on the electronic map information to obtain charging strategy data;
and the storage unit is used for storing the electronic barrier data and the charging strategy data into a database of the electronic map information to obtain the electronic map information preset with the electronic barrier information.
In a possible implementation manner of the present application, the first setting unit includes
A fourth obtaining unit, configured to obtain location information of a charging site in a preset area, where the preset area is an area in a logistics service range corresponding to a logistics node that receives the order;
the first determining unit is used for determining the corresponding position information of the toll station on the electronic map information according to the positioning information of the toll station;
and the third setting unit is used for setting an electronic barrier on the electronic map information according to the position information to obtain the electronic barrier information in a preset area.
In a possible implementation manner of the present application, the location information of the toll station includes location information of a target toll station, the location information includes location information of the target toll station, and the electronic barrier information includes first electronic barrier information of the target toll station;
the third setting unit is specifically configured to:
and according to the position information of the target toll station, drawing the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment on the electronic map information to obtain first electronic barrier information, wherein the lengths of the second barrier auxiliary line segment and the third barrier auxiliary line segment are both larger than that of the first barrier auxiliary line segment, and the position of the first barrier auxiliary line segment corresponds to the actual position of the electronic barrier.
In one possible implementation manner of the present application, the storage unit is specifically configured to:
converting the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment into corresponding array information of longitude and latitude;
and storing the array information of the corresponding longitude and latitude and the charging strategy data into a database of the electronic map information to obtain the electronic map information preset with electronic barrier information.
In one possible implementation manner of the present application, the second generating unit includes:
a second determining unit, configured to determine whether the planned delivery path passes through the electronic barrier according to the planned delivery path and the electronic barrier;
a fifth obtaining unit, configured to obtain, if yes, a charging policy corresponding to the electronic barrier;
and a third determining unit, configured to determine, according to the charging policy corresponding to the electronic barrier, cost information across the electronic barrier corresponding to the order.
In one possible implementation manner of the present application, the third determining unit includes:
the first preprocessing unit is used for carrying out geometric figure preprocessing on the second barrier auxiliary line segment and the third barrier auxiliary line segment to obtain an electronic barrier geometric figure;
a fourth determining unit, configured to determine whether the planned delivery path intersects with the electronic barrier geometry map according to the planned delivery path and the electronic barrier geometry map;
the second preprocessing unit is used for deleting preprocessing the planned delivery path if the planned delivery path is the electronic barrier geometric figure, and generating an area point set, wherein the area point set is located in the electronic barrier geometric figure;
and a fifth determining unit, configured to determine, according to the area point set and the first barrier auxiliary line segment, whether a delivery path corresponding to the order triggers the electronic barrier.
In a possible implementation manner of the present application, the point set includes a plurality of point coordinates, and the fifth determining unit is specifically configured to:
performing first rarefying pretreatment on the region point set to obtain a first destination point set;
performing second rarefying pretreatment on the main line segment to obtain a second destination point set;
determining whether points with the same coordinates exist in the first destination point set and the second destination point set or not according to the first destination point set and the second destination point set;
if yes, determining that the electronic barrier is triggered by the distribution path corresponding to the order.
In a possible implementation manner of the present application, the logistics charging apparatus further includes:
a sixth obtaining unit, configured to obtain an actual delivery path for delivery by a corresponding deliverer after the order is completed;
and the verification unit is used for comparing and verifying the planned delivery path and the actual delivery path.
In another aspect, the present application provides a computer device comprising:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the logistics billing method.
In another aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program is suitable for being loaded by a processor to execute the logistics charging method.
According to the logistics charging method provided by the embodiment of the application, the order for the express delivery sent by the user is obtained, wherein the order comprises logistics information corresponding to the order, electronic map information with preset electronic barrier information is obtained, distribution path information corresponding to the order is generated according to the logistics information, cross-electronic-barrier cost information corresponding to the order is generated according to the distribution path and the electronic barrier information, and the cross-electronic-barrier cost information corresponding to the order is returned to a distribution merchant in real time, so that the online, real-time, efficient, synchronous and accurate calculation of electronic barrier cost can be achieved, the management efficiency of the distribution company is improved, and the frequency of problems such as charging errors is reduced.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of a scenario of a logistics charging system provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of an embodiment of a logistics charging method provided in an embodiment of the present application;
FIG. 3 is a flowchart of one embodiment of step 202 provided in embodiments of the present invention;
FIG. 4 is a flowchart of one embodiment of step 302 provided in embodiments of the present invention;
FIG. 5 is a flowchart of one embodiment of step 204 provided in embodiments of the present invention;
fig. 6 is a schematic flow chart of another embodiment of a logistics charging method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a logistics billing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an embodiment of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
The embodiment of the application provides a logistics charging method, a related device and a computer readable storage medium.
The following are detailed below.
As shown in fig. 1, a schematic view of a scenario of a logistics charging system provided in an embodiment of the present application is shown, where the logistics charging system may include a plurality of terminals 100 and servers 200, the terminals 100 and the servers 200 are connected through a network, and a logistics charging device, such as the server in fig. 1, is integrated in the server 200, and the terminals 100 may access the servers 200.
In the embodiment of the present application, the server 200 is mainly used for acquiring an order for a user to send an express, where the order includes logistics information corresponding to the order; acquiring electronic map information preset with electronic barrier information; generating a planned delivery path corresponding to the order according to the logistics information; and generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information.
In this embodiment, the server 200 may be an independent server, or may be a server network or a server cluster composed of servers, for example, the server 200 described in this embodiment includes, but is not limited to, a computer, a network terminal, a single network server, a plurality of network server sets, or a cloud server composed of a plurality of servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing). In the embodiment of the present application, the server and the terminal may implement communication through any communication manner, including but not limited to mobile communication based on the third Generation Partnership Project (3 GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP/IP Protocol Suite (TCP/IP), User Datagram Protocol (UDP), and the like.
It is to be understood that the terminal 100 used in the embodiments of the present application may be a device that includes both receiving and transmitting hardware, i.e., a device having receiving and transmitting hardware capable of performing two-way communication over a two-way communication link. Such a terminal may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display. The terminal 100 may specifically be a desktop terminal or a mobile terminal, and the terminal 100 may also specifically be one of a mobile phone, a tablet computer, a notebook computer, and the like.
Those skilled in the art will understand that the application environment shown in fig. 1 is only one application scenario related to the present embodiment, and does not constitute a limitation on the application scenario of the present embodiment, and that other application environments may further include more or less terminals than those shown in fig. 1, or a server network connection relationship, for example, only 1 server and 2 terminals are shown in fig. 1, and it is understood that the logistics charging system may further include one or more other servers, or/and one or more terminals connected to a server network, and is not limited herein.
In addition, as shown in fig. 1, the logistics billing system may further include a memory 300 for storing data, such as order data, for example, logistics information corresponding to an order when the logistics billing system operates.
It should be noted that the scenario diagram of the logistics charging system shown in fig. 1 is merely an example, and the logistics charging system and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application.
Next, a logistics charging method provided in the embodiment of the present application is described.
In the embodiment of the logistics charging method, a logistics charging device in a logistics charging system is used as an execution subject, and for simplicity and convenience of description, the execution subject will be omitted in the following method embodiments, and the logistics charging method includes: the method comprises the steps of obtaining an order for sending an express delivery by a user, wherein the order comprises logistics information corresponding to the order; acquiring electronic map information preset with electronic barrier information; generating a planned delivery path corresponding to the order according to the logistics information; and generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information. The following are detailed below. Referring to fig. 2 to 8, fig. 2 is a schematic flow chart of an embodiment of a logistics charging method provided in the present application, where the logistics charging method includes:
201. and obtaining an order for sending the express delivery by the user, wherein the order comprises logistics information corresponding to the order.
The user is the user who sends the express delivery, and the user can send the express delivery on the platform of placing an order in the express delivery, and under general conditions, the flow of sending the express delivery and placing an order includes: the user places an order, confirms the order, collects the order, dispenses the order, and places the order.
In some embodiments of the application, there are two ways to obtain the order of the express delivery sent by the user, one way is to obtain the express delivery order matched with the shopping order of the user from the shopping platform, the express delivery order is the order of the express delivery sent by the user, the other way is to place the order of the express delivery sent by the user through a preset logistics platform, and at this time, after the express delivery is placed, the order of the express delivery sent by the user is generated. The preset mode corresponding to the logistics platform may include an independent application program express ordering platform, a wechat public number express ordering platform, and a website express ordering platform, which is not limited herein.
In some embodiments of the present application, after obtaining the order of the express delivery sent by the user, a link of confirming the order may be further included, that is, validity of the order is confirmed, specifically, after obtaining the order of the express delivery sent by the user, logistics information of the order is confirmed, where the logistics information may include personal information and a contact manner of the sending user, address information of the sending user, personal information and a contact party of the receiving user, and address information of the receiving user, the confirmed content mainly includes whether a harvest address filled by the user is real and valid, and a related condition of commodity distribution, valid and invalid operation processing is mainly performed on the order of the express delivery sent by the user, the invalid order may be directly cancelled, and if the order of the express delivery sent by the user has been confirmed, the following step 202 may be performed.
202. And obtaining the electronic map information preset with the electronic barrier information.
Electronic map information (Electronic map) is a map that is digitally stored and referred to using computer technology. The method for storing information in electronic map information generally uses vector type image storage, the map scale can be enlarged, reduced or rotated without affecting the display effect, the map scale can not be enlarged or reduced by using bitmap storage in early period, and the map data is stored and transmitted by using a geographic information system in modern electronic map information software.
Before the electronic map information preset with the electronic barrier information is obtained, the electronic map information can be obtained, and specifically, the method for obtaining the electronic map information mainly includes two methods:
and (I) automatically drawing the electronic map information.
And (II) acquiring an Application Programming Interface (API) of an electronic map information provider, wherein the API is also called an Application programming interface and is a set of definitions, programs and protocols, and the API is used for realizing the mutual communication between computer software. One of the primary functions of an API is to provide a common set of functions. The API is also a middleware and provides data sharing for various platforms. In the programming practice, the programming interface is designed to reasonably divide the responsibility of the software system. The good interface design can reduce the mutual dependence of all parts of the system, improve the cohesion of the composition units and reduce the coupling degree among the composition units, thereby improving the maintainability and the expandability of the system.
The electronic map information provider includes *** maps, high-grade maps, Baidu maps, Tencent maps and the like, and because the drawing of the electronic map information is a great project, the electronic map information can be generally acquired by selecting the second mode.
203. And generating a planned delivery path corresponding to the order according to the logistics information.
The electronic map information may provide users with online map services including services for route planning, navigation (driving, walking, riding), real-time road conditions, and the like. The user can obtain a certain navigation path between two points on the electronic map information through the electronic map information service.
Therefore, intelligent route planning can be performed according to the delivery address information and the receiving address information in the logistics information, so that a planned delivery path corresponding to the order is generated. For example, logistics information corresponding to an order is obtained, a sending address a and a receiving address B in the logistics information can be identified, and then a planned distribution path from the sending address a to the receiving address B is generated by using electronic map information. Therefore, the electronic navigation path between a certain two points can be regarded as being formed by m points or m-1 straight line segments on the map.
204. And generating the cost information of the cross electronic barrier corresponding to the order according to the planned delivery path and the electronic barrier information.
According to the method and the device for calculating the electronic barrier cost, the order of the express sending sent by the user is obtained, wherein the order comprises logistics information corresponding to the order, electronic map information preset with electronic barrier information is obtained, then distribution path information corresponding to the order is generated according to the logistics information, finally cross-electronic barrier cost information corresponding to the order is generated according to the distribution path and the electronic barrier information, and the cross-electronic barrier cost information corresponding to the order can be returned to a distribution merchant managing the order in real time, so that online, real-time, efficient, synchronous and accurate calculation of the electronic barrier cost can be achieved, the management efficiency of the distribution company is improved, and the frequency of problems such as charging errors is reduced.
In some embodiments of the present application, the electronic map information includes electronic map information, and the electronic map information includes electronic barrier information, as shown in fig. 3, in step 202, the electronic barrier information includes electronic barrier data corresponding to a toll site and charging policy data corresponding to the electronic barrier data, and the obtaining of the electronic map information preset with the electronic barrier information specifically includes:
301. and acquiring electronic map information in a preset area.
The electronic map information further comprises a map function expansion component, and the map function expansion component can be used for increasing the expansibility of the electronic map information function, so that the electronic map information with single function is diversified, for example, basic functions are expanded to have latest map browsing, map rendering, online navigation, AR virtual reality, travel inquiry and the like, along with the expansion of the electronic map information, the dynamic navigation, offline downloading, map searching, a brand new engine, interest point recommendation, car calling service and multi-direction real-time road conditions are realized, wherein the dynamic navigation specifically comprises functions of real-time traffic road condition broadcasting, jam-avoiding route scheme planning, camera reminding and the like, and the map search function specifically comprises hot spot, route searching, bus or self-driving travel route planning and bus, train and weather inquiry service.
Specifically, the corresponding map function expansion component can be obtained, and corresponding function setting is performed on the corresponding map function expansion component, so that the electronic map information in the preset area can be obtained.
302. And setting an electronic barrier on the electronic map information to obtain electronic barrier data.
The electronic barrier is drawn at the corresponding actual toll station on the electronic map information, and the detailed operation and description are please discuss in detail in the following steps 401 to 403, which are not described herein again.
303. And setting a charging strategy corresponding to the electronic barrier data on the electronic map information to obtain charging strategy data.
The charging policy includes a mapping relationship between an electronic barrier and an actual charging amount of a charging site, and as described above, the electronic barrier information includes an electronic barrier corresponding to the charging site and a charging policy corresponding to the electronic barrier, where one or more charging sites may be provided, which is not limited herein, and the electronic barriers are in one-to-one correspondence with the charging sites, and each electronic barrier corresponds to an actual charging site, so that the charging policy may be understood as a charging table corresponding to the charging site, where a corresponding relationship between the charging site and the electronic barrier and a corresponding data exist in the charging table.
304. And storing the electronic barrier data and the charging strategy data into the database of the electronic map information to obtain the electronic map information preset with the electronic barrier information.
The database of electronic map information is called map database (cartographic database) for short, and the map database is a database based on map digital data, which is a collection of digital information files, database management systems, and other software and hardware of each element (such as control points, landforms, land types, residential areas, hydrology, vegetation, transportation, and boundaries) of map content stored in a computer.
In some embodiments of the present application, as shown in fig. 4, in step 302, the setting the electronic barrier on the electronic map information to obtain electronic barrier data specifically includes:
401. and acquiring the positioning information of the charging station in a preset area, wherein the preset area is an area in a logistics service range corresponding to the logistics network point for receiving the order.
The charging station may be one or a plurality of charging stations, which are not limited herein, the electronic barrier data corresponds to the charging station one to one, each electronic barrier corresponds to an actual charging station, the electronic barrier refers to barrier information that depends on electronic map information and is marked on the electronic map information, and is used for specifically identifying some bridges, tunnels, ferries, charging stations, and the like, the charging policy is to establish a mapping relationship between road toll information that needs to be charged each time when the electronic barrier passes through the actual charging station and the corresponding electronic barrier, for example, 20-yuan bridge toll needs to be charged when the electronic barrier corresponding to the Yangtze river bridge is passed through, and then 20-yuan bridge toll is generated in real time when the electronic barrier corresponding to the Yangtze river bridge is judged to be passed through to plan the delivery path.
Similarly, the positioning information of the toll station can be provided by other electronic map information providers, and the positioning information of the corresponding toll station can be inquired by searching on the corresponding electronic map information.
402. And determining the corresponding position information of the toll station on the electronic map information according to the positioning information of the toll station.
Each toll station corresponds to a specific positioning information, the positioning information is obtained, the positioning information comprises a positioning coordinate of the toll station, and the corresponding position information of the toll station on the electronic map information can be determined according to the positioning coordinate.
403. And setting an electronic barrier on the electronic map information according to the position information to obtain the electronic barrier information in the preset area.
The positioning information of the toll station comprises positioning information of a target toll station, the position information comprises position information of the target toll station, and the electronic barrier information comprises first electronic barrier information of the target toll station.
Specifically, in step 403, the setting an electronic barrier on the electronic map information according to the location information to obtain electronic barrier information in a preset area includes:
and according to the position information of the target toll station, drawing the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment on the electronic map information to obtain first electronic barrier information, wherein the lengths of the second barrier auxiliary line segment and the third barrier auxiliary line segment are both larger than that of the first barrier auxiliary line segment, and the position of the first barrier auxiliary line segment corresponds to the actual position of the electronic barrier.
When the first barrier is drawn, the line segment is drawn according to the actual position of the electronic barrier, the line segment is required to be as accurate as possible, the second barrier auxiliary line segment and the third barrier auxiliary line segment are drawn, a longer second barrier auxiliary line segment can be set and used for marking any navigation path, the requirement that the navigation path is not any more than the first barrier auxiliary line segment is required to pass through the second barrier auxiliary line segment if the navigation path is required to pass through the first barrier auxiliary line segment is met, then a longer third barrier auxiliary line segment is set and used for marking any navigation path, and the requirement that the navigation path is not any more than the first barrier auxiliary line segment is required to pass through the third barrier auxiliary line segment afterwards is met.
It is to be understood that electronic map information is essentially composed of straight line segments connected by a large number of coordinate points. The electronic barrier is also based on electronic map information, and is embodied by one or more curved (straight) lines on the map, and essentially the same as the curved (straight) lines of the navigation path, the electronic barrier can be regarded as straight line segments connected by a plurality of coordinate points.
Because the data volume of the electronic map information is huge, in order to enable the judgment process of judging whether the distribution path triggers the electronic barrier to be more efficient and the judgment result to be more accurate, a second barrier auxiliary line segment and a third barrier auxiliary line segment are introduced in the embodiment of the application, wherein the lengths of the second barrier auxiliary line segment and the third barrier auxiliary line segment can be equal or unequal, and the judgment is not limited.
Specifically, the second barrier auxiliary line segment and the third barrier auxiliary line segment are respectively disposed at two sides of the first barrier auxiliary line segment, that is, the first barrier auxiliary line segment is located between the second barrier auxiliary line segment and the third barrier auxiliary line segment.
Preferably, in some embodiments of the present application, in step 304, the storing the electronic barrier data and the billing policy data into the database of the electronic map information to obtain the electronic map information preset with the electronic barrier information specifically includes steps (a1) to (a 2):
(a1) and converting the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment into corresponding array information of longitude and latitude.
Longitude and latitude are the combination of longitude and latitude to form a coordinate system, which is called a geographic coordinate system, and is a spherical coordinate system that defines the space on the earth by using a sphere of three-dimensional space, and can mark any position on the earth. The longitude and latitude array information is corresponding spherical coordinate information of the space on the earth, namely, a point and line surface arranged on the electronic map information is stored in a point coordinate data form, so that a set of points of each line segment in the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment can be obtained, and then coordinates corresponding to each point in the set of points are converted into the longitude and latitude array information in the corresponding map.
(a2) And storing the array information of the corresponding longitude and latitude and the charging strategy data into a database of the electronic map information to obtain the electronic map information preset with electronic barrier information.
It should be understood that after the array information of the corresponding longitude and latitude and the charging policy data are stored in the database of the electronic map information, when the electronic map information preset with the electronic barrier information is actually used, the electronic map information may obtain, query, and use the array information of the corresponding longitude and latitude and the charging policy data in the database of the electronic map information.
In some embodiments of the present application, as shown in fig. 5, in step 204, the generating cost information across the electronic barrier corresponding to the order according to the planned delivery path and the electronic barrier information includes: the method specifically comprises the following steps:
501. and determining whether the planned delivery path passes through the electronic barrier according to the planned delivery path and the electronic barrier.
Specifically, the determining, according to the planned delivery path and the electronic barrier, whether the delivery path corresponding to the order triggers the electronic barrier specifically includes steps (b1) to (b 4):
(b1) and performing geometric figure preprocessing on the second barrier auxiliary line segment and the third barrier auxiliary line segment to obtain an electronic barrier geometric figure.
The geometry preprocessing is to use the second barrier auxiliary line segment and the third barrier auxiliary line segment to obtain an effective geometry, that is, to wrap the first electronic barrier auxiliary line segment in the geometry, specifically, the geometry preprocessing may be performed on the second barrier auxiliary line segment and the third barrier auxiliary line segment by using a Convex Hull algorithm, where a Convex Hull (Convex Hull) is a concept in calculating geometry (graphics), for example, an algorithm that finds an intersection S of all Convex sets including X is called a Convex Hull algorithm given a set X in a real vector space V.
(b2) And determining whether the planned delivery path intersects with the electronic barrier geometry map according to the planned delivery path and the electronic barrier geometry map.
In an actual road condition, the distances between a plurality of adjacent toll stations are different, some distances are far, some distances are close, in order to quickly calculate whether the planned delivery path triggers the electronic barrier, whether the planned delivery path intersects with the electronic barrier geometric figure or not can be determined, and if the planned delivery path does not intersect with the electronic barrier geometric figure, the planned delivery path does not pass through the electronic barrier located in the electronic barrier geometric figure, so the calculation efficiency can be greatly improved by adopting the method.
(b3) And if so, carrying out deletion preprocessing on the planned delivery path to generate an area point set, wherein the area point set is positioned in the electronic barrier geometric figure.
And when the planned delivery path is determined to be intersected with the electronic barrier geometric figure, deleting the planned delivery path, deleting points in the planned delivery path, which are positioned in an area outside the electronic barrier geometric figure, and reserving the points in the electronic barrier geometric figure, so that the later-stage calculation of unnecessary points can be reduced, and the calculation efficiency is improved.
(b4) And determining whether the delivery path corresponding to the order triggers the electronic barrier or not according to the area point set and the first barrier auxiliary line segment.
Although the non-region points have been processed, the number of points in the region point set is relatively large, and therefore, the points in the region point set may be further processed.
Preferably, in some embodiments of the present application, the point set includes a plurality of point coordinates, and the determining whether the delivery path corresponding to the order triggers the electronic barrier according to the area point set and the first barrier auxiliary line segment specifically includes steps (c1) to (c 4):
(c1) and carrying out first rarefying pretreatment on the region point set to obtain a first destination point set.
When the thinning-out preprocessing is used for processing some vectorized data, there are often many data in the data that are repeated in a certain sense. Since these duplicate data are invalid for the data samples, it is necessary to reduce the number of data to the maximum by some specific rule while ensuring that the shape of the vector curve is substantially unchanged to some extent.
Specifically, a first thinning pretreatment may be performed on the region point set by using a thinning algorithm, and repeated data in the region point set is removed, so as to obtain a first destination point set, for example, if two line segments exist in a rectangle, it is required to detect whether two line segments intersect, and if it is verified that coordinates of each point in the two line segments exist in the same coordinates, the calculation efficiency is extremely low, so that a first thinning treatment may be performed on a point in each line segment first, and part of repeated data in a certain sense is removed.
(c2) And carrying out second rarefying pretreatment on the main line segment to obtain a second destination point set.
Similarly, the second rarefying preprocessing process performed on the main line segment is similar to the first rarefying preprocessing process performed on the region point set, and the step (c1) may be specifically searched, which is not described herein again.
(c3) And determining whether the first destination point set and the second destination point set have points with the same coordinate or not according to the first destination point set and the second destination point set.
(c4) If yes, determining that the electronic barrier is triggered by the distribution path corresponding to the order.
502. And if so, acquiring a charging strategy corresponding to the electronic barrier.
503. And determining the cost information of the cross electronic barrier corresponding to the order according to the charging strategy corresponding to the electronic barrier.
The total cost generated in the whole distribution link includes a basic distribution cost, a value-added service cost and the information of the cost across the electronic barrier corresponding to the order, and the cost across the electronic barrier corresponding to the order is obtained based on the charging policy corresponding to the electronic barrier, where the charging policy includes the corresponding charging amount in the electronic barrier.
With the expansion of services, the service range is also getting larger and larger, and there may be a problem that a part of distributors do not distribute according to a planned distribution route in order to avoid a part of toll stations, so that a detour or a dangerous lane may be distributed, thereby causing a dangerous accident or causing a distribution time to be prolonged, and in order to address the above problem, in some embodiments of the present application, as shown in fig. 6, after determining, according to the electronic barrier charging policy, cost information across an electronic barrier corresponding to the order, the method further includes:
601. and acquiring the actual delivery path of the corresponding delivery personnel for delivery after the order is completed.
The actual distribution path of the distribution of the distributor may be obtained by configuring a positioning device on the distributor, obtaining the actual distribution path of the distribution of the distributor through the positioning device, or by other means, which is not limited herein.
602. And comparing and checking the planned delivery path with the actual delivery path.
The process can adopt machine verification, whether the deliverers deliver according to the planned delivery route can be determined according to the verification result, and if the deliverers do not carry out delivery parts according to the planned delivery route, corresponding control measures can be taken for the deliverers.
In order to better implement the logistics charging method in the embodiment of the invention, on the basis of the logistics charging method, the embodiment of the invention also provides a logistics charging device, and the logistics charging device can be integrated in the server. As shown in fig. 7, the logistics charging apparatus 700 includes a first obtaining unit 701, a second obtaining unit 702, a first generating unit 703, and a second generating unit 704, specifically:
a first obtaining unit 701, configured to obtain an order for a user to send an express, where the order includes logistics information corresponding to the order.
A second obtaining unit 702, configured to obtain electronic map information with preset electronic barrier information.
A first generating unit 703 is configured to generate a planned delivery path corresponding to the order according to the logistics information.
A second generating unit 704, configured to generate, according to the planned distribution path and the electronic barrier information, cost information across an electronic barrier corresponding to the order.
In some embodiments of the present application, the electronic barrier information includes electronic barrier data corresponding to a charging site and charging policy data corresponding to the electronic barrier data, and the second obtaining unit 702 includes:
and the third acquisition unit is used for acquiring the electronic map information in the preset area.
And the first setting unit is used for setting the electronic barrier on the electronic map information to obtain electronic barrier data.
And the second setting unit is used for setting a charging strategy corresponding to the electronic barrier data on the electronic map information to obtain charging strategy data.
And the storage unit is used for storing the electronic barrier data and the charging strategy data into a database of the electronic map information to obtain the electronic map information preset with the electronic barrier information.
In some embodiments of the present application, the first setting unit includes
And the fourth obtaining unit is used for obtaining the positioning information of the charging station in a preset area, wherein the preset area is an area in a logistics service range corresponding to the logistics network point for receiving the order.
And the first determining unit is used for determining the corresponding position information of the toll station on the electronic map information according to the positioning information of the toll station.
And the third setting unit is used for setting an electronic barrier on the electronic map information according to the position information to obtain the electronic barrier information in a preset area.
In some embodiments of the present application, the location information of the toll station includes location information of a target toll station, the location information includes location information of the target toll station, and the electronic barrier information includes first electronic barrier information of the target toll station.
The third setting unit is specifically configured to:
and according to the position information of the target toll station, drawing the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment on the electronic map information to obtain first electronic barrier information, wherein the lengths of the second barrier auxiliary line segment and the third barrier auxiliary line segment are both larger than that of the first barrier auxiliary line segment, and the position of the first barrier auxiliary line segment corresponds to the actual position of the electronic barrier.
In some embodiments of the present application, the storage unit is specifically configured to:
and converting the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment into corresponding array information of longitude and latitude.
And storing the array information of the corresponding longitude and latitude and the charging strategy data into a database of the electronic map information to obtain the electronic map information preset with electronic barrier information.
In some embodiments of the present application, the second generating unit 704 includes:
and the second determining unit is used for determining whether the planned distribution path passes through the electronic barrier according to the planned distribution path and the electronic barrier.
And a fifth obtaining unit, configured to obtain, if yes, a charging policy corresponding to the electronic barrier.
And a third determining unit, configured to determine, according to the charging policy corresponding to the electronic barrier, cost information across the electronic barrier corresponding to the order.
In some embodiments of the present application, the third determining unit includes:
and the first preprocessing unit is used for carrying out geometric figure preprocessing on the second barrier auxiliary line segment and the third barrier auxiliary line segment to obtain an electronic barrier geometric figure.
A fourth determining unit, configured to determine whether the planned delivery path intersects with the electronic barrier geometry map according to the planned delivery path and the electronic barrier geometry map.
And the second preprocessing unit is used for deleting the planned delivery path to generate an area point set, and the area point set is located in the electronic barrier geometric figure.
And a fifth determining unit, configured to determine, according to the area point set and the first barrier auxiliary line segment, whether a delivery path corresponding to the order triggers the electronic barrier.
In some embodiments of the present application, the point set includes a plurality of point coordinates, and the fifth determining unit is specifically configured to:
and carrying out first rarefying pretreatment on the region point set to obtain a first destination point set.
And carrying out second rarefying pretreatment on the main line segment to obtain a second destination point set.
And determining whether the first destination point set and the second destination point set have points with the same coordinate or not according to the first destination point set and the second destination point set.
If yes, determining that the electronic barrier is triggered by the distribution path corresponding to the order.
In some embodiments of the present application, the logistics charging apparatus 700 further includes:
and the sixth acquiring unit is used for acquiring the actual distribution path of the corresponding distributor for distribution after the order is completed.
And the verification unit is used for comparing and verifying the planned delivery path and the actual delivery path.
According to the method and the device for calculating the electronic barrier cost, the order of the express sending sent by the user is obtained, wherein the order comprises logistics information corresponding to the order, electronic map information preset with electronic barrier information is obtained, then distribution path information corresponding to the order is generated according to the logistics information, and finally cross-electronic barrier cost information corresponding to the order is generated according to the distribution path and the electronic barrier information, and the cross-electronic barrier cost information corresponding to the order can be returned to a distribution merchant in real time, so that the online, real-time, efficient, synchronous and accurate calculation of the electronic barrier cost can be achieved, the management efficiency of the distribution company is improved, and the frequency of the problems of charging errors and the like is reduced.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of a computer device according to an embodiment of the present disclosure.
As shown in fig. 8, it shows a schematic structural diagram of a logistics billing device according to an embodiment of the present application, specifically:
the logistics billing apparatus may include components such as a processor 801 of one or more processing cores, a memory 802 of one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will appreciate that the structure of the logistics billing device shown in fig. 8 does not constitute a limitation of the logistics billing device and may include more or less components than those shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 801 is a control center of the logistics charging apparatus, connects various parts of the whole logistics charging apparatus by using various interfaces and lines, and executes various functions and processing data of the logistics charging apparatus by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring on the logistics charging apparatus. Alternatively, processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 801.
The memory 802 may be used to store software programs and modules, and the processor 801 executes various functional applications and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the logistics charging apparatus, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 access to the memory 802.
The logistics charging device further comprises a power supply 803 for supplying power to each component, and preferably, the power supply 803 can be logically connected with the processor 801 through a power management system, so that functions of charging, discharging, power consumption management and the like can be managed through the power management system. The power supply 803 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any like components.
The logistics billing device may further include an input unit 804, and the input unit 804 may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the logistics billing apparatus may further include a display unit and the like, which will not be described herein. Specifically, in this embodiment of the present application, the processor 801 in the logistics charging apparatus loads an executable file corresponding to a process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802, so as to implement various functions as follows:
the method comprises the steps of obtaining an order for sending an express delivery by a user, wherein the order comprises logistics information corresponding to the order; acquiring electronic map information preset with electronic barrier information; generating a planned delivery path corresponding to the order according to the logistics information; and generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information.
According to the method and the device for calculating the electronic barrier cost, the order of the express sending sent by the user is obtained, wherein the order comprises logistics information corresponding to the order, electronic map information preset with electronic barrier information is obtained, then distribution path information corresponding to the order is generated according to the logistics information, and finally cross-electronic barrier cost information corresponding to the order is generated according to the distribution path and the electronic barrier information, and the cross-electronic barrier cost information corresponding to the order can be returned to a distribution merchant in real time, so that the online, real-time, efficient, synchronous and accurate calculation of the electronic barrier cost can be achieved, the management efficiency of the distribution company is improved, and the frequency of the problems of charging errors and the like is reduced.
To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like. The computer readable storage medium has stored therein a plurality of instructions, which can be loaded by a processor to perform the steps of any of the logistics network planning methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
the method comprises the steps of obtaining an order for sending an express delivery by a user, wherein the order comprises logistics information corresponding to the order; acquiring electronic map information preset with electronic barrier information; generating a planned delivery path corresponding to the order according to the logistics information; and generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The logistics charging method, the related device and the computer-readable storage medium method provided by the embodiment of the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the technical scheme and the core idea of the application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (12)

1. A logistics charging method is characterized by comprising the following steps:
the method comprises the steps of obtaining an order for sending an express delivery by a user, wherein the order comprises logistics information corresponding to the order;
acquiring electronic map information preset with electronic barrier information;
generating a planned delivery path corresponding to the order according to the logistics information;
and generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information.
2. The logistics charging method of claim 1, wherein the electronic barrier information includes electronic barrier data corresponding to a charging site and charging policy data corresponding to the electronic barrier data, and the obtaining of electronic map information with preset electronic barrier information includes:
acquiring electronic map information in a preset area;
setting an electronic barrier on the electronic map information to obtain electronic barrier data;
setting a charging strategy corresponding to the electronic barrier data on the electronic map information to obtain charging strategy data;
and storing the electronic barrier data and the charging strategy data into a database of the electronic map information to obtain the electronic map information with the preset electronic barrier information.
3. The logistics charging method of claim 2, wherein the step of setting the electronic barrier on the electronic map information to obtain electronic barrier data comprises:
acquiring positioning information of a charging station in a preset area, wherein the preset area is an area in a logistics service range corresponding to a logistics network point for receiving the order;
determining the corresponding position information of the toll station on the electronic map information according to the positioning information of the toll station;
and setting an electronic barrier on the electronic map information according to the position information to obtain electronic barrier information in a preset area.
4. The logistics charging method of claim 3, wherein the location information of the toll station comprises location information of a target toll station, the location information comprises location information of the target toll station, and the electronic barrier information comprises first electronic barrier information of the target toll station;
the step of setting an electronic barrier on the electronic map information according to the position information to obtain electronic barrier information in a preset area includes:
and according to the position information of the target toll station, drawing the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment on the electronic map information to obtain first electronic barrier information, wherein the lengths of the second barrier auxiliary line segment and the third barrier auxiliary line segment are both larger than that of the first barrier auxiliary line segment, and the position of the first barrier auxiliary line segment corresponds to the actual position of the electronic barrier.
5. The logistics charging method of claim 4, wherein the step of storing the electronic barrier data and the charging policy data in the database of the electronic map information to obtain the electronic map information with preset electronic barrier information comprises:
converting the first barrier auxiliary line segment, the second barrier auxiliary line segment and the third barrier auxiliary line segment into corresponding array information of longitude and latitude;
and storing the array information of the corresponding longitude and latitude and the charging strategy data into a database of the electronic map information to obtain the electronic map information preset with electronic barrier information.
6. The logistics charging method of claim 4, wherein the generating of the electronic barrier-crossing cost information corresponding to the order according to the planned delivery path and the electronic barrier information comprises:
determining whether the planned delivery path passes through the electronic barrier according to the planned delivery path and the electronic barrier;
if so, acquiring a charging strategy corresponding to the electronic barrier;
and determining the cross-electronic-barrier cost information corresponding to the order according to the charging strategy corresponding to the electronic barrier.
7. The logistics billing method of claim 6, wherein the determining whether the delivery path corresponding to the order triggers the electronic barrier according to the planned delivery path and the electronic barrier comprises:
performing geometric figure preprocessing on the second barrier auxiliary line segment and the third barrier auxiliary line segment to obtain an electronic barrier geometric figure;
determining whether the planned delivery path intersects the electronic barrier geometry map according to the planned delivery path and the electronic barrier geometry map;
if so, carrying out deletion preprocessing on the planned delivery path to generate an area point set, wherein the area point set is positioned in the electronic barrier geometric figure;
and determining whether the delivery path corresponding to the order triggers the electronic barrier or not according to the area point set and the first barrier auxiliary line segment.
8. The logistics billing method of claim 7, wherein the point set comprises a plurality of point coordinates, and the determining whether the delivery path corresponding to the order triggers the electronic barrier according to the area point set and the first barrier auxiliary line segment comprises:
performing first rarefying pretreatment on the region point set to obtain a first destination point set;
performing second rarefying pretreatment on the main line segment to obtain a second destination point set;
determining whether points with the same coordinates exist in the first destination point set and the second destination point set or not according to the first destination point set and the second destination point set;
if yes, determining that the electronic barrier is triggered by the distribution path corresponding to the order.
9. The logistics charging method of claim 6, after determining the cost information across the electronic barrier corresponding to the order according to the charging policy corresponding to the electronic barrier, the method further comprises:
acquiring an actual delivery path of delivery by a corresponding deliverer after the order is finished;
and comparing and checking the planned delivery path with the actual delivery path.
10. A logistics charging device is characterized in that the logistics charging device comprises:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring an order for sending an express delivery by a user, and the order comprises logistics information corresponding to the order;
the second acquisition unit is used for acquiring the electronic map information preset with the electronic barrier information;
the first generating unit is used for generating a planned delivery path corresponding to the order according to the logistics information;
and the second generating unit is used for generating the cost information of the cross electronic barrier corresponding to the order according to the planned distribution path and the electronic barrier information.
11. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the logistics billing method of any of claims 1 to 9.
12. A computer-readable storage medium, in which a computer program is stored, the computer program being adapted to be loaded by a processor to perform the logistics charging method of any one of claims 1 to 9.
CN202010390069.5A 2020-05-11 2020-05-11 Logistics charging method, related device and computer readable storage medium Pending CN111695931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010390069.5A CN111695931A (en) 2020-05-11 2020-05-11 Logistics charging method, related device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010390069.5A CN111695931A (en) 2020-05-11 2020-05-11 Logistics charging method, related device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111695931A true CN111695931A (en) 2020-09-22

Family

ID=72477457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010390069.5A Pending CN111695931A (en) 2020-05-11 2020-05-11 Logistics charging method, related device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111695931A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112927027A (en) * 2021-04-08 2021-06-08 深圳市优服信息技术有限公司 Distribution fee management software system
CN113139803A (en) * 2021-04-08 2021-07-20 北京京东振世信息技术有限公司 Order information generation method and device, electronic equipment and computer readable medium
CN113743854A (en) * 2020-11-26 2021-12-03 北京京东振世信息技术有限公司 Logistics order generation method and device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102213596A (en) * 2010-04-08 2011-10-12 北京四维图新科技股份有限公司 Method and device for planning paths
CN102214370A (en) * 2010-04-08 2011-10-12 北京四维图新科技股份有限公司 Method and device for calculating passing expenses of goods wagons and passenger cars
CN108510295A (en) * 2017-02-24 2018-09-07 北京嘀嘀无限科技发展有限公司 Method and device for generating stroke bill information
CN109033966A (en) * 2018-06-25 2018-12-18 北京嘀嘀无限科技发展有限公司 Detour detection model training method and device, and detour detection method and device
CN110069579A (en) * 2017-08-30 2019-07-30 北京京东尚科信息技术有限公司 Fence method of partition and device
CN110110950A (en) * 2018-02-01 2019-08-09 北京京东振世信息技术有限公司 Generate the method, apparatus and computer readable storage medium in dispatching road area
CN110310058A (en) * 2019-04-17 2019-10-08 郑州时空隧道信息技术有限公司 Item dispenser fee calculation procedure, device and terminal
CN110379025A (en) * 2019-07-09 2019-10-25 北京速通科技有限公司 Electronic toll method, system and car networking service platform based on intelligent network connection automobile

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102213596A (en) * 2010-04-08 2011-10-12 北京四维图新科技股份有限公司 Method and device for planning paths
CN102214370A (en) * 2010-04-08 2011-10-12 北京四维图新科技股份有限公司 Method and device for calculating passing expenses of goods wagons and passenger cars
CN108510295A (en) * 2017-02-24 2018-09-07 北京嘀嘀无限科技发展有限公司 Method and device for generating stroke bill information
CN110069579A (en) * 2017-08-30 2019-07-30 北京京东尚科信息技术有限公司 Fence method of partition and device
CN110110950A (en) * 2018-02-01 2019-08-09 北京京东振世信息技术有限公司 Generate the method, apparatus and computer readable storage medium in dispatching road area
CN109033966A (en) * 2018-06-25 2018-12-18 北京嘀嘀无限科技发展有限公司 Detour detection model training method and device, and detour detection method and device
CN110310058A (en) * 2019-04-17 2019-10-08 郑州时空隧道信息技术有限公司 Item dispenser fee calculation procedure, device and terminal
CN110379025A (en) * 2019-07-09 2019-10-25 北京速通科技有限公司 Electronic toll method, system and car networking service platform based on intelligent network connection automobile

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李雷,陈天滋: "动态最佳交通路径的一种高效算法", 江苏大学学报(自然科学版) *
蔺增良;: "地铁辅助线设计研究", 都市快轨交通 *
陈玲;骆小龙;: "面向智能终端的移动地图平台", 中国测绘 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113743854A (en) * 2020-11-26 2021-12-03 北京京东振世信息技术有限公司 Logistics order generation method and device and storage medium
CN112927027A (en) * 2021-04-08 2021-06-08 深圳市优服信息技术有限公司 Distribution fee management software system
CN113139803A (en) * 2021-04-08 2021-07-20 北京京东振世信息技术有限公司 Order information generation method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN111695931A (en) Logistics charging method, related device and computer readable storage medium
CN105007320B (en) Based on the intelligent movable tourist guide system of Cloud Server
CN102265114B (en) System and method for storing and providing routes
CN105025101B (en) Based on the intelligent guide guide system of the android system of hand-drawing map
US9110982B1 (en) Method, system, and computer program product for obtaining crowd-sourced location information
KR101163102B1 (en) Route searching apparatus and route searching method
KR20160100809A (en) Method and device for determining a target location
CN105025100B (en) Based on the hand-drawing map intelligent guide guide system of iOS system
CN105610988A (en) Book cloud sharing and management method and platform based on position service
CN104240052A (en) Return empty vehicle cargo allocation transaction service method and software system
CN104321619A (en) Partial map updates
US10593074B1 (en) Interactive user interface for displaying geographic boundaries
CN103544585A (en) Electronic commerce logistics distribution system and method
CN111275383B (en) Distribution range generation method and device, computer equipment and storage medium
CN108288201A (en) The method and device of stroke expense bill is provided in net about vehicle system for target user
CN104899647A (en) Urban logistics distribution place name and address system
KR20090116526A (en) Logistics information system using position information of logistics vehicle
CN105989145A (en) Bus line automatic updating method, device and system
CN107403550A (en) Transit network collecting method, device and terminal device
CN105989177A (en) Bus information inquiring method and bus information inquiring apparatus
Vazquez et al. Towards Blockchain-based Ride-sharing Systems.
CN105096062A (en) CORS (continuously operating reference station) application management system
CN103167032B (en) The indoor positioning background service system of map auxiliary
US20200284602A1 (en) Computerized vehicle delivery coordination
CN115115428A (en) Order distribution method, order distribution platform, order distribution system and storage medium

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