A driving method and device for multiple automatic driving devices to share a common map
By locking and seizing code points within the lock point range of autonomous driving equipment, the problem of different types of equipment being unable to share maps is solved, and collaborative work and automation between equipment are achieved.
Patent Information
- Application Number
- CN201910293038.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2039-04-12
AI Technical Summary
Different types of autonomous driving equipment cannot share maps, resulting in the inability to achieve collaborative work and seriously affecting the degree of automation.
By receiving the locking point request of each automatic driving equipment, the locking point range of its first driving code point and the second driving code point is determined, and the code points within these ranges are preempted by code point preemption, and issued after successful locking. Driving instructions enable different types of devices to share maps.
It realizes the collaborative work between different types of autonomous driving equipment, improves the degree of automation, and ensures the collaborative operation of multiple automated equipment in the same map area.
Smart Images

Figure CN111781919B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a driving method and device for multiple automatic driving devices to share a common map. Background Art
[0002] With the rapid development of e-commerce and other fields in modern society, e-commerce warehouses are becoming increasingly large, and highly automated unmanned warehouses are becoming increasingly common. Currently, maps in unmanned warehouses use evenly spaced ground codes, which restricts the use of only the same type of automated driving equipment. For example, in scenarios where there are both sorting AGVs and transport AGVs operating at different code spacings, these two types of AGVs cannot work together using the same map, severely impacting the level of automation.
[0003] In the process of implementing the present invention, the inventors discovered that the prior art has at least the following problems:
[0004] Different types of autonomous driving equipment cannot share a common map, making it impossible for different types of equipment to work together, which seriously affects the degree of automation. Summary of the Invention
[0005] In view of this, an embodiment of the present invention provides a driving method and device for multiple automatic driving devices to share a map, which enables different types of automatic driving devices to drive using a common map, thereby achieving collaborative work between different types of automatic driving devices and improving the degree of automation.
[0006] To achieve the above-mentioned objective, according to one aspect of an embodiment of the present invention, a driving method for multiple automatic driving devices sharing a map is provided.
[0007] A driving method for multiple automatic driving devices sharing a map, comprising: receiving a locking point request from each automatic driving device, each locking point request from each automatic driving device being used to request locking of a first driving code point and a second driving code point of the automatic driving device; determining a first locking point range corresponding to the first driving code point and a second locking point range corresponding to the second driving code point of each automatic driving device according to a unit driving length of each automatic driving device, the unit driving length being the length of one step traveled by the automatic driving device; seizing each code point within the first locking point range and the second locking point range of each automatic driving device by code point seizure; after successfully seizing all code points within the first locking point range and the second locking point range of an automatic driving device, locking all code points, and issuing a driving instruction from the first driving code point of the automatic driving device to its second driving code point to the automatic driving device.
[0008] Optionally, the step of determining the first lock point range corresponding to the first driving code point and the second lock point range corresponding to the second driving code point of each automatic driving device according to the unit driving length of each automatic driving device includes: for an automatic driving device whose unit driving length is the minimum code spacing, determining the first lock point range corresponding to its first driving code point as the first driving code point, and the second lock point range corresponding to its second driving code point as the second driving code point; for an automatic driving device whose unit driving length is not the minimum code spacing, determining the first lock point range corresponding to its first driving code point and the second lock point range corresponding to its second driving code point in the following manner: calculating the x-axis range code point, y-axis range code point and diagonal range code point corresponding to the target code point by using a code point range calculation rule; determining the lock point range corresponding to the target code point based on the x-axis range code point, y-axis range code point and diagonal range code point, the target code point representing any one of the first driving code point and the second driving code point.
[0009] Optionally, the step of calculating the x-axis range code points, y-axis range code points, and diagonal range code points corresponding to the target code point using the code point range calculation rule includes: segmenting the code of the target code point to obtain the x-axis code and y-axis code of the target code point; determining a code point that meets the following conditions as the x-axis range code point: the y-axis code of the code point is the same as the y-axis code of the target code point, the x-axis code of the code point is greater than the difference between the x-axis code of the target code point and the code point range interval, and is less than the sum of the x-axis code of the target code point and the code point range interval; determining a code point that meets the following conditions as the y-axis range code point: the x-axis code of the code point is the same as the x-axis code of the target code point, the y-axis code of the code point is greater than the sum of the x-axis code of the target code point and the code point range interval. The difference between the y-axis code of the code point and the code point range is less than the sum of the y-axis code of the target code point and the code point range; a code point that meets the following conditions is determined as the diagonal range code point: the code point is the same as the first coordinate axis code of a first coordinate axis range code point, and the second coordinate axis code of the code point is greater than the difference between the second coordinate axis code of the target code point and the code point range, and less than the sum of the second coordinate axis code of the target code point and the code point range, wherein the first coordinate axis is the y-axis and the second coordinate axis is the x-axis, or the first coordinate axis is the x-axis and the second coordinate axis is the y-axis; the code point range is the code spacing between the first driving code point and the second driving code point.
[0010] Optionally, the code of the target code point is segmented in the following manner to obtain the x-axis code and the y-axis code of the target code point: the ratio of the code of the target code point to a preset value is rounded to obtain the x-axis code of the target code point; the code of the target code point is divided by the preset value to obtain the remainder to obtain the y-axis code of the target code point, where the preset value is determined according to the code length of the target code point.
[0011] Optionally, the code points are seized one by one in a preset order.
[0012] Optionally, after successfully seizing all code points within a first locking point range and a second locking point range of an automatic driving device, the step of locking all the code points includes: associating all the successfully seized code points with information of the automatic driving device and storing them in a cache.
[0013] Optionally, after an automatic driving device arrives at its second driving code point from the first driving code point of the automatic driving device in accordance with the issued driving instruction, the code points within the first lock point range of the automatic driving device but not within the second lock point range are deleted from the cache.
[0014] According to another aspect of an embodiment of the present invention, a driving device for sharing a map with multiple automatic driving devices is provided.
[0015] A driving device for sharing a map with multiple automatic driving devices comprises: a lock point request receiving module for receiving lock point requests from each automatic driving device, each lock point request from each automatic driving device being used to request locking of a first driving code point and a second driving code point of the automatic driving device; a lock point range determining module for determining, according to a unit driving length of each automatic driving device, a first lock point range corresponding to the first driving code point of each automatic driving device and a second lock point range corresponding to the second driving code point of the automatic driving device, wherein the unit driving length is the length of one step traveled by the automatic driving device; a code point grabbing module for grabbing each code point within the first lock point range and the second lock point range of each automatic driving device by code point grabbing; and a driving instruction issuing module for locking all code points within the first lock point range and the second lock point range of an automatic driving device after successfully grabbing all code points within the first lock point range and the second lock point range of the automatic driving device, and issuing a driving instruction from the first driving code point of the automatic driving device to its second driving code point to the automatic driving device.
[0016] Optionally, the lock point range determination module is further used to: for an automatic driving device whose unit driving length is the minimum code spacing, determine the first lock point range corresponding to its first driving code point as the first driving code point, and the second lock point range corresponding to its second driving code point as the second driving code point; for an automatic driving device whose unit driving length is not the minimum code spacing, determine the first lock point range corresponding to its first driving code point and the second lock point range corresponding to its second driving code point in the following manner: calculate the x-axis range code point, y-axis range code point and diagonal range code point corresponding to the target code point by using the code point range calculation rule; determine the lock point range corresponding to the target code point based on the x-axis range code point, y-axis range code point and diagonal range code point, and the target code point represents any one of the first driving code point and the second driving code point.
[0017] Optionally, the lock point range determination module includes a code point range calculation submodule, which is used to: segment the code of the target code point to obtain the x-axis code and the y-axis code of the target code point; determine the code point that meets the following conditions as the x-axis range code point: the y-axis code of the code point is the same as the y-axis code of the target code point, the x-axis code of the code point is greater than the difference between the x-axis code of the target code point and the code point range interval, and is less than the sum of the x-axis code of the target code point and the code point range interval; determine the code point that meets the following conditions as the y-axis range code point: the x-axis code of the code point is the same as the x-axis code of the target code point, the y-axis code of the code point is greater than the sum of the y-axis code of the target code point and the code point range interval. The difference between the code point range intervals is less than the sum of the y-axis code of the target code point and the code point range interval; a code point that meets the following conditions is determined as the diagonal range code point: the code point is the same as the first coordinate axis code of a first coordinate axis range code point, and the second coordinate axis code of the code point is greater than the difference between the second coordinate axis code of the target code point and the code point range interval, and less than the sum of the second coordinate axis code of the target code point and the code point range interval, wherein the first coordinate axis is the y-axis and the second coordinate axis is the x-axis, or the first coordinate axis is the x-axis and the second coordinate axis is the y-axis; the code point range interval is the code spacing between the first driving code point and the second driving code point.
[0018] Optionally, the code point range calculation submodule includes a code segmentation unit, configured to: round the ratio of the code of the target code point to a preset value to obtain an x-axis code of the target code point; and divide the code of the target code point by the preset value to obtain a remainder to obtain a y-axis code of the target code point, where the preset value is determined according to the code length of the target code point.
[0019] Optionally, the code point preemption module preempts the code points one by one according to a preset order.
[0020] Optionally, the driving instruction issuing module includes a storage submodule, which is used to associate all the code points that are successfully seized with the information of the automatic driving device and store them in a cache.
[0021] Optionally, a code point deletion module is also included, which is used to: after an automatic driving device arrives at its second driving code point from the first driving code point of the automatic driving device in accordance with the driving instructions issued, delete the code points within the first lock point range of the automatic driving device but not within the second lock point range of the automatic driving device from the cache.
[0022] According to yet another aspect of the embodiments of the present invention, an electronic device is provided.
[0023] An electronic device comprises: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the driving method for multiple automatic driving devices sharing a map provided by the present invention.
[0024] According to yet another aspect of an embodiment of the present invention, a computer-readable medium is provided.
[0025] A computer-readable medium stores a computer program, which, when executed by a processor, implements the driving method for multiple automatic driving devices sharing a common map provided by the present invention.
[0026] One embodiment of the above invention has the following advantages or beneficial effects: Based on the unit travel length of each autonomous vehicle, a first locking point range corresponding to the first driving code point and a second locking point range corresponding to the second driving code point of each autonomous vehicle are determined. Through code point preemption, each code point within the first and second locking point ranges of each autonomous vehicle is preempted. After successfully preempting all code points within the first and second locking point ranges of an autonomous vehicle, all code points are locked, and a travel instruction from the first driving code point of the autonomous vehicle to its second driving code point is issued to the autonomous vehicle. This allows different types of autonomous vehicles to share a common map for travel, thereby achieving collaborative operation among different types of autonomous vehicles and improving the level of automation.
[0027] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings are provided for a better understanding of the present invention and are not intended to limit the present invention.
[0029] Figure 1 1 is a schematic diagram of the main steps of a driving method using a shared map by multiple automatic driving devices according to an embodiment of the present invention;
[0030] Figure 2 is a schematic diagram of map code points of multiple AGVs traveling at different code spacings according to an embodiment of the present invention;
[0031] Figure 3 is a schematic diagram of locking points of a transport AGV according to one embodiment of the present invention;
[0032] Figure 4 is a schematic diagram of locking points of a sorting AGV according to another embodiment of the present invention;
[0033] Figure 5 2 is a schematic diagram of a travel locking point of a transport AGV according to another embodiment of the present invention;
[0034] Figure 6 2. It is a schematic diagram of the locking point when the transport AGV reaches the 100200100200 code point according to another embodiment of the present invention;
[0035] Figure 7 2 is a schematic diagram of a travel locking point of a sorting AGV according to another embodiment of the present invention;
[0036] Figure 8 2 is a schematic diagram of main modules of a driving device for sharing a map with multiple automatic driving devices according to an embodiment of the present invention;
[0037] Figure 9 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
[0038] Figure 10 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following description of exemplary embodiments of the present invention is made in conjunction with the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding. These details should be considered as merely exemplary. Therefore, it should be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0040] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a system, apparatus, device, method, or computer program product. Therefore, the present disclosure may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software.
[0041] Figure 11 is a schematic diagram of the main steps of a driving method using a shared map by multiple automatic driving devices according to an embodiment of the present invention.
[0042] like Figure 1 As shown, the driving method for multiple automatic driving devices sharing a common map according to an embodiment of the present invention mainly includes the following steps S101 to S104.
[0043] Step S101: receiving a lock point request from each automatic driving device, wherein the lock point request from each automatic driving device is used to request locking of a first driving code point and a second driving code point of the automatic driving device.
[0044] Automatic driving equipment such as AGV, robots, etc.
[0045] The first driving code point and the second driving code point of an automatic driving device are code points on the map to which the automatic driving device is to travel, that is, code points that the automatic driving device is to reach subsequently, wherein the second driving code point is the code point that the automatic driving device is to reach after the first driving code point.
[0046] Autonomous vehicles navigate the map according to the QR codes of landmarks. Landmark QR codes are a type of QR code technology that allows autonomous vehicles to determine speed and direction. Landmark QR codes can be referred to as "land codes," and each land code is a code point on the map.
[0047] The distance between two code points is called the inter-code distance. The distance between two adjacent code points on a map is called the minimum inter-code distance. The inter-code distance is the actual distance from one code point to the other. Each location code is parsed to generate a code string, which is the location code or the code point code.
[0048] Step S102: Determine a first locking point range corresponding to a first driving code point and a second locking point range corresponding to a second driving code point of each automatic driving device according to a unit driving length of each automatic driving device.
[0049] The unit travel length of an automated driving device is the length of one step, i.e., the minimum travel length of the automated driving device. For example, assuming there are sorting AGVs and handling AGVs, a sorting AGV is an AGV that performs sorting tasks, and a handling AGV is an AGV that performs handling tasks. Assuming the minimum code spacing is 50 cm, the sorting AGV (the AGV performing sorting tasks) travels at the minimum code spacing, i.e., each step is 50 cm, and its unit travel length is 50 cm. A handling AGV travels at a non-minimum code spacing, for example, each step is 1 meter, and its unit travel length is 1 meter.
[0050] The unit driving length of an autonomous driving device is related to the size of the device. If a larger autonomous driving device does not meet the conditions for driving at the minimum code spacing, it must drive at a non-minimum code spacing to avoid collision with other autonomous driving devices when turning.
[0051] Furthermore, when autonomous vehicles with different unit travel lengths utilize the same map code points for travel, the larger autonomous vehicle (larger unit travel length) will not only occupy the code point it is traveling on, but will also need to occupy other code points surrounding that code point to avoid contact with smaller autonomous vehicles (smaller unit travel lengths) when turning. Therefore, it is necessary to determine the first locking point range corresponding to the first travel code point and the second locking point range corresponding to the second travel code point of each autonomous vehicle based on its unit travel length. The code points within the first locking point range of an autonomous vehicle are those that need to be locked to avoid collisions or contact with other autonomous vehicles when the autonomous vehicle is traveling at the first travel code point. The same applies to the code points within the second locking point range.
[0052] Step S102 may specifically include: for an automatic driving device having a unit driving length of the minimum code spacing, determining that a first locking point range corresponding to a first driving code point is the first driving code point, and a second locking point range corresponding to a second driving code point is the second driving code point;
[0053] For an automated driving device whose unit driving length is not the minimum code spacing, the first lock point range corresponding to the first driving code point and the second lock point range corresponding to the second driving code point are determined as follows: the x-axis range code points, y-axis range code points, and diagonal range code points corresponding to the target code point are calculated using the code point range calculation rules; based on the x-axis range code points, y-axis range code points, and diagonal range code points, the lock point range corresponding to the target code point is determined, where the target code point represents either the first driving code point or the second driving code point. Both the first lock point range and the second lock point range can be determined using the above method for determining the lock point range corresponding to the target code point. Furthermore, it should be noted that the code points within the lock point range corresponding to the target code point include the target code point itself.
[0054] The step of calculating the x-axis range code points, y-axis range code points, and diagonal range code points corresponding to the target code point using the code point range calculation rule may specifically include:
[0055] The code of the target code point is segmented to obtain an x-axis code and a y-axis code of the target code point. The target code point code segmentation can be performed as follows: rounding the ratio of the code of the target code point to a preset value to obtain the x-axis code of the target code point; and dividing the code of the target code point by the preset value to obtain the remainder to obtain the y-axis code of the target code point. The preset value is determined based on the code length of the target code point. Specifically, the code length of the target code point is divided by 2. Assuming the quotient is K, the preset value consists of 1 and K zeros. For example, the code of a 12-bit code point is segmented. Assuming that its code is 100100100200 and the preset value is 1000000, 100100100200 / 1000000 is calculated by the above method and rounded to 100100; 100100100200%1000000=100200, thereby segmenting 100100100200 into two 6-bit codes 100100 and 100200. The two 6-bit codes can be regarded as the codes corresponding to the horizontal and vertical coordinates of the code point, respectively referred to as the x-axis code and y-axis code of the code point;
[0056] The x-axis range, y-axis range, and diagonal range of code points corresponding to the target code point are, respectively, the code points in a certain range on the left and right sides horizontally, the code points in a certain range on the top and bottom vertically, and the code points in a certain range in the diagonal direction (upper left, lower left, upper right, and lower right) with the target code point as the center. The specific methods for determining the x-axis range, y-axis range, and diagonal range are as follows:
[0057] Determine the code point that meets the following conditions as the x-axis range code point corresponding to the target code point: the y-axis code of the code point is the same as the y-axis code of the target code point, the x-axis code of the code point is greater than the difference between the x-axis code of the target code point and the code point range interval, and less than the sum of the x-axis code of the target code point and the code point range interval;
[0058] Determine the code point that meets the following conditions as the y-axis range code point corresponding to the target code point: the x-axis code of the code point is the same as the x-axis code of the target code point, the y-axis code of the code point is greater than the difference between the y-axis code of the target code point and the code point range interval, and less than the sum of the y-axis code of the target code point and the code point range interval;
[0059] A code point that meets the following conditions is determined as a diagonal range code point corresponding to the target code point: the code point is the same as the first coordinate axis code of a first coordinate axis range code point, the second coordinate axis code of the code point is greater than the difference between the second coordinate axis code of the target code point and the code point range interval, and is less than the sum of the second coordinate axis code of the target code point and the code point range interval, wherein the first coordinate axis is the y-axis and the second coordinate axis is the x-axis, or the first coordinate axis is the x-axis and the second coordinate axis is the y-axis.
[0060] The code point range is the distance between the first and second code points, which can be calculated using the codes of the first and second code points. Specifically, the codes of the first and second code points are segmented using the code point segmentation method described above to obtain the x-axis and y-axis codes of the first and second code points. The difference between the x-axis and y-axis codes of the two code points is then compared to calculate a non-zero difference. The code point range is the absolute value of this difference.
[0061] For example, the code of the first driving code point is 100100100200, and the code of the second driving code point is 100200100200. The x-axis codes of the two driving code points are 100100 and 100200 respectively, and the y-axis codes are 100200 and 100200 respectively. Among them, the y-axis codes are the same, and the x-axis codes differ by 100, that is, the absolute value of the difference is 100, and the code point range interval is 100.
[0062] Step S103: Seizing each code point within the first locking point range and the second locking point range of each automatic driving device by code point seizing.
[0063] The first locking point range corresponding to the first driving code point of the automatic driving device and the second locking point range corresponding to the second driving code point are referred to as the first locking point range and the second locking point range of the automatic driving device for short.
[0064] The above code points can be seized one by one in a preset order.
[0065] For example, when preempting the code points within the first locking point, assuming that this includes the first driving code point and the code points located above, below, left, right, and diagonally adjacent to it, for a total of nine code points, the code points can be preempted starting from the code point to the upper left of the first driving code point and proceeding clockwise, i.e., preempting the code points one by one in the order of upper left, directly above, upper right, left, first driving code point itself, right, lower left, directly below, and lower right.
[0066] Because all code points within the first locking point range of an autonomous vehicle must be preempted before a travel command can be issued to the autonomous vehicle, if one or more code points are ultimately unsuccessful, the previously seized code points will be released and re-seized. This orderly preemption ensures that once an autonomous vehicle successfully seizes the top-left code point, other autonomous vehicles cannot seize the remaining eight code points. This prevents two autonomous vehicles from overlapping and failing to seize all code points within the first locking point range.
[0067] Step S104: After successfully seizing all code points within the first locking point range and the second locking point range of an automatic driving device, all code points are locked, and a driving instruction from the first driving code point of the automatic driving device to its second driving code point is issued to the automatic driving device.
[0068] All code points are locked, and all code points successfully seized can be associated with the information of the autonomous driving device and stored in a cache. Specifically, the codes of all code points can be used as keys and the information of the autonomous driving device can be used as values, and all code points can be associated with the information of the autonomous driving device and stored in a cache.
[0069] The cache of the embodiment of the present invention may be a distributed cache, such as redis. The information of the automatic driving device may be, for example, the serial number of the automatic driving device.
[0070] After an autonomous vehicle follows a driving instruction from its first driving codepoint to its second driving codepoint, it deletes from its cache codepoints that are within the range of the first locking point but not within the range of the second locking point. This frees up codepoints within the first locking point that are no longer needed, allowing other autonomous vehicles to preemptively occupy the released codepoints. However, if there are codepoints within the first locking point that are also within the second locking point, these codepoints cannot be released to prevent the autonomous vehicle from colliding with other autonomous vehicles when traveling to the second driving codepoint.
[0071] The driving method of multiple automatic driving devices sharing a map in an embodiment of the present invention can be used in automated unmanned warehouses, scenarios where multiple AGVs share a map for driving, and can also be used for multiple robots sharing a map for driving or other scenarios where multiple automatic driving devices share a map.
[0072] Use different code spacings within the same map area (e.g., handling AGVs travel at 1m spacing, sorting AGVs travel at 50cm spacing), and use different locking point strategies to achieve the effect of collaborative work of multiple automated equipment.
[0073] The following takes an AGV as an example to describe in detail the driving method for multiple automatic driving devices sharing a map according to an embodiment of the present invention.
[0074] Figure 2 Schematic diagram of map code points of multiple AGVs traveling at different code spacings according to an embodiment of the present invention.
[0075] Figure 2The minimum code spacing in the map shown is 50 cm. Assume that two types of AGVs use the code points of this map to travel, namely the sorting AGV and the transport AGV. The sorting AGV travels according to the minimum code spacing, that is, the unit travel length is 50 cm, and the transport AGV travels according to the non-minimum code spacing, that is, the unit travel length is 1 meter.
[0076] Gray code points are for transport AGVs, and white code points are for sorting AGVs. Sorting AGVs can also use gray code points, but transport AGVs cannot use white code points. Because transport AGVs are larger, they travel one vehicle length to reach the next gray code point. Therefore, they can dock at gray code points but not white code points. Sorting AGVs, on the other hand, are smaller and can dock at both gray and white code points.
[0077] Furthermore, when a transport AGV stops at a gray code point, it needs to occupy the white code points surrounding the gray code point due to its larger body to prevent it from hitting the sorting AGV (which is smaller) when turning. Therefore, when determining the locking point range corresponding to a certain driving code point of the transport AGV, the locking point range needs to include the code points surrounding the driving code point. Only after all these code points are locked can the driving instruction to drive the transport AGV to the driving code point be issued.
[0078] like Figure 3 As shown, Figure 3 This is a schematic diagram of the locking points of a transport AGV according to one embodiment of the present invention. Figure 3 The transport AGV stops or drives on the gray code points in the dotted box, and all 9 code points in the dotted box need to be occupied.
[0079] Since the sorting AGV is smaller, when it is driving or docking at a certain code point, it only needs to occupy that code point, and does not need to occupy the code points around it. Figure 4 As shown, Figure 4 The sorting AGV stops (or drives) at the gray code point in the dotted box, and the code point in the dotted box needs to be occupied.
[0080] Figure 5 Schematic diagram of the travel locking points of a transport AGV according to another embodiment of the present invention.
[0081] The following combination Figure 5 A method for driving a transport AGV according to an embodiment of the present invention is described.
[0082] First, receive the lock point request of the transport AGV, which is used to request locking Figure 5The two code points 100100100200 (equivalent to the first driving code point) and 100200100200 (equivalent to the second driving code point). The unit driving length of the handling AGV is not the minimum code interval (1m). According to the method of calculating the code point range interval introduced above, the calculated code point range interval is 100.
[0083] Calculate the x-axis range code points, y-axis range code points, and diagonal range code points corresponding to the two code points 100100100200 and 100200100200 respectively:
[0084] The x-axis encodings obtained by splitting 100100100200 and 100200100200 respectively are:
[0085] The integer part of 100100100200 divided by 1000000 is 100100;
[0086] The integer part of 100200100200 divided by 1000000 is 100200;
[0087] The y-axis encodings obtained by splitting 100100100200 and 100200100200 respectively are:
[0088] The remainder of 100100100200 modulo 1000000 is 100200;
[0089] The remainder of 100200100200 modulo 1000000 is 10020;
[0090] Calculate the x-axis range code points, y-axis range code points, and diagonal range code points corresponding to the two code points 100100100200 and 100200100200 respectively, where:
[0091] Calculate the x-axis range code points of the two code points (the y-axis encoding remains unchanged, and the x-axis encoding is greater than the difference between the x-axis encoding of the target code point and the code point range interval and less than the sum of the x-axis encoding of the target code point and the code point range interval), that is, respectively:
[0092] 100000100200 <1001001>00200 <1002001>00200;
[0093] 100100100200 <1002001>00200 <1003001>00200;
[0094] The x-axis range code points of the two code points are obtained: 100150100200, 100250100200
[0095] Calculate the y-axis range code points of the two code points (the x-axis encoding remains unchanged, and the y-axis encoding is greater than the difference between the y-axis encoding of the target code point and the code point range interval and less than the sum of the y-axis encoding of the target code point and the code point range interval), that is, respectively:
[0096] 100100100100 <1001001>00200 <1001001>00300,
[0097] 100200100100 <1002001>00200 <1002001>00300
[0098] Obtain the y-axis range code points of the two code points: 100100100150, 100100100250, 100200100150, 100200100250
[0099] The diagonal range code points of the two code points: According to the obtained y-axis range code points 100100100150, 100100100250, 100200100150, 100200100250, use the above x-axis range code point calculation method to search for the diagonal range code points. The diagonal range code points have the same y-axis encoding as the y-axis range code points of the target code point, and the x-axis encoding is greater than the difference between the x-axis coordinate encoding of the target code point and the code point range interval and less than the sum of the x-axis encoding of the target code point and the code point range interval.
[0100] Obtain the diagonal range code points of the two code points: 100150100150, 100150100250, 100250100150, 100250100250.
[0101] The target code points in this embodiment refer to the code points 100100100200 and 100200100200.
[0102] According to the above x-axis range code points, y-axis range code points and diagonal range code points, determine the lock point ranges corresponding to the two code points 100100100200 and 100200100200. It should be noted that the code points within the lock point range corresponding to each code point also include the code point itself. Among them, the lock point range corresponding to 100100100200 is the code points in the dotted box b, the lock point range corresponding to 100200100200 is the code points in the dotted box c, and the total lock point range corresponding to 100100100200 and 100200100200 is the code points in the dotted box a.
[0103] By means of code point preemption, the code points within the above-mentioned lock point range of the transport AGV can be preempted, starting from the code point 100100100250 above the code point 100100100200, and preempted one by one in a clockwise direction, that is, the order of preemption is 100100100250, 100150100250, 100200100250, 100250100250, 100100100200, 100150100200, 100200100200, 100250100200, 100100100150, 100150100150, 100200100150, 100250100150. During preemption, determine whether each code point is in redis one by one according to the above preemption order. If none of the above 12 code points are in redis, use 100150100200, 100250100200, 100100100150, 100100100250, 100200100150, 100200100250, 100150100150, 100150100250, 100250100150, 100250100250, 100100100200, 100200100200 as the key and the transport AGV vehicle number as the value, and store them in redis to lock all the code points, that is, lock all the code points in the dotted box a. Then, the driving instruction from 100100100200 to 100200100200 is issued to the transport AGV. The driving path is as follows Figure 5 Indicated by the arrow.
[0104] When the transport AGV reaches the code point 100200100200, delete the code point 100100100200 and the related lock point range data in redis. The related lock point range data refers to the code points within the lock point range corresponding to 100100100200 but not within the lock point range corresponding to 100200100200, that is, delete the 100100100250 and 100100100150 data in redis. The schematic diagram of the lock point of transporting AGB to 100200100200 in this embodiment is as follows Figure 6 As shown, Figure 6 The code points in the middle dotted box are the locking point ranges for transporting AGB to 100200100200.
[0105] Figure 7 Schematic diagram of travel locking points of a sorting AGV according to another embodiment of the present invention.
[0106] Sorting AGV requires locking points 100150100100 and 100200100100. Unlike the handling AGV, the unit driving length of the sorting AGV is the minimum code spacing. The locking point range corresponding to 100150100100 is the 100150100100 code point, and the locking point range corresponding to 100200100100 is the 100200100100 code point. The total locking point range of 100150100100 and 100200100100 is Figure 7 Code points in the dashed box.
[0107] Determine whether redis contains the data 100150100100 and 100200100100. If the data of the two code points are not in redis, use 100150100100 and 100200100100 as keys and the sorting AGV vehicle number as value and store them in redis to lock the two code points.
[0108] Then, the driving instruction of the sorting AGV from 100150100100 to 100200100100 is issued. The driving path is as follows Figure 7 As indicated by the arrow.
[0109] When the sorting AGV reaches the code point 100200100100, the data of the code point 100150100100 in redis is deleted.
[0110] It should be noted that the AGV needs to lock all code points within the locking range of the driving code point at one time. If all code points cannot be locked, the currently locked code point will be abandoned and the preemption will continue. For example, Figure 5 After the handling AGV requests to lock the two code points 100100100200 and 100200100200, it needs to lock all the code points within the lock point range corresponding to the lock points 100100100200 and 100200100200, that is, Figure 5 If all code points in the dotted box a cannot be locked, the locked code points will be abandoned and the preemption will continue until all code points are preempted. Only then can the driving instruction from 100100100200 to 100200100200 be issued. Figure 7 The same applies to the sorting AGV, so I will not go into details.
[0111] In addition, during the driving process of the AGV, driving instructions for multiple locking points (locked driving code points) can be issued at one time, for example, driving instructions for 5 locking points can be issued at one time. In order to avoid the AGV from slowing down during driving, the driving instructions for subsequent locking points can be issued in advance before the AGV drives to the 5th locking point. For example, when the AGV drives to the 3rd locking point, the driving instructions for the 6th and 7th locking points are issued, so that the total number of currently unexercised locking points remains at 5. This total number can be set to different values according to different automatic driving equipment. For example, the transport AGV can be set to 5 (because the speed of the transport AGV is 1 m / s), and the sorting AGV can be set to 13 (because the speed of the sorting AGV is 2 m / s).
[0112] Figure 8 4 is a schematic diagram of main modules of a driving device for multiple automatic driving devices sharing a map according to an embodiment of the present invention.
[0113] The driving device 800 for sharing a map with multiple automatic driving devices according to the embodiment of the present invention mainly includes: a lock point request receiving module 801 , a lock point range determining module 802 , a code point grabbing module 803 , and a driving instruction issuing module 804 .
[0114] The lock point request receiving module 801 is used to receive lock point requests from each automatic driving device. The lock point request from each automatic driving device is used to request locking of the first driving code point and the second driving code point of the automatic driving device.
[0115] The lock point range determination module 802 is used to determine the first lock point range corresponding to the first driving code point and the second lock point range corresponding to the second driving code point of each automatic driving device according to the unit driving length of each automatic driving device, where the unit driving length is the length of one step of the automatic driving device.
[0116] The locking point range determination module 802 may be specifically configured to:
[0117] For an automatic driving device with a unit driving length of the minimum code spacing, the first locking point range corresponding to the first driving code point is determined to be the first driving code point, and the second locking point range corresponding to the second driving code point is determined to be the second driving code point;
[0118] For an automatic driving device whose unit driving length is not the minimum code spacing, the first locking point range corresponding to the first driving code point and the second locking point range corresponding to the second driving code point are determined in the following manner: the x-axis range code points, y-axis range code points, and diagonal range code points corresponding to the target code point are calculated using the code point range calculation rule; and the locking point range corresponding to the target code point is determined based on the x-axis range code points, y-axis range code points, and diagonal range code points, where the target code point represents either the first driving code point or the second driving code point.
[0119] The lock point range determination module 802 may include a code point range calculation submodule for:
[0120] Split the code of the target code point to obtain the x-axis code and y-axis code of the target code point;
[0121] Determine as an x-axis range code point a code point that meets the following conditions: the y-axis code of the code point is the same as the y-axis code of the target code point, the x-axis code of the code point is greater than the difference between the x-axis code of the target code point and the code point range interval, and less than the sum of the x-axis code of the target code point and the code point range interval;
[0122] Determine as a y-axis range code point a code point that meets the following conditions: the x-axis code of the code point is the same as the x-axis code of the target code point, the y-axis code of the code point is greater than the difference between the y-axis code of the target code point and the code point range interval, and less than the sum of the y-axis code of the target code point and the code point range interval;
[0123] Determine a code point that meets the following conditions as a diagonal range code point: the code point has the same first coordinate axis code as a first coordinate axis range code point, and the second coordinate axis code of the code point is greater than the difference between the second coordinate axis code of the target code point and the code point range interval, and less than the sum of the second coordinate axis code of the target code point and the code point range interval, wherein the first coordinate axis is the y-axis and the second coordinate axis is the x-axis, or the first coordinate axis is the x-axis and the second coordinate axis is the y-axis;
[0124] The code point range is the code distance between the first driving code point and the second driving code point.
[0125] The code point range calculation submodule includes a code segmentation unit, which can be used to: round the ratio of the code of the target code point to a preset value to obtain the x-axis code of the target code point; divide the code of the target code point by the preset value to obtain the remainder to obtain the y-axis code of the target code point, where the preset value is determined based on the code length of the target code point.
[0126] The code point preemption module 803 is used to preempt each code point within the first locking point range and the second locking point range of each automatic driving device through code point preemption. The code point preemption module 803 can preempt each code point one by one according to a preset order.
[0127] The driving instruction issuing module 804 is used to lock all code points within the first locking point range and the second locking point range of an automatic driving device after successfully seizing the code points, and issue a driving instruction from the first driving code point of the automatic driving device to its second driving code point to the automatic driving device.
[0128] The driving instruction issuing module 804 may include a storage submodule, which is used to associate all the code points that are successfully seized with the information of the automatic driving device and store them in a cache.
[0129] The driving device 800 for sharing a map with multiple automatic driving devices also includes a code point deletion module, which is used to delete code points within the first lock point range of the automatic driving device but not within the second lock point range after the automatic driving device arrives at its second driving code point from the first driving code point of the automatic driving device in accordance with the issued driving instructions.
[0130] In addition, the specific implementation content of the driving device for multiple automatic driving devices sharing a map in the embodiment of the present invention has been described in detail in the driving method for multiple automatic driving devices sharing a map described above, so the repeated content will not be described again here.
[0131] Figure 9 An exemplary system architecture 900 is shown to which a driving method using a shared map by multiple automatic driving devices or a driving device using a shared map by multiple automatic driving devices according to an embodiment of the present invention may be applied.
[0132] like Figure 9 As shown, system architecture 900 may include terminal devices 901, 902, 903, a network 904, and a server 905. Network 904 is used to provide a medium for communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0133] Users can use terminal devices 901, 902, and 903 to interact with server 905 via network 904 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 901, 902, and 903, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0134] The terminal devices 901 , 902 , and 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0135] Server 905 may be a server that provides various services, such as a backend management server (for example only) that supports websites browsed by users using terminal devices 901, 902, and 903. The backend management server may analyze and process received data such as product information query requests, and feed back the processing results (for example, product information - for example only) to the terminal device.
[0136] It should be noted that the driving method for multiple automatic driving devices using a shared map provided in the embodiment of the present invention is generally executed by the server 905 , and accordingly, the driving device for multiple automatic driving devices using a shared map is generally provided in the server 905 .
[0137] It should be understood that Figure 9 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0138] Reference below Figure 10 , which shows a structural diagram of a computer system 1000 suitable for implementing a terminal device or server of an embodiment of the present application. Figure 10 The terminal device or server shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0139] like Figure 10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage unit 1008 into a random access memory (RAM) 1003. Various programs and data required for the operation of the system 1000 are also stored in the RAM 1003. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0140] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 1008 including a hard disk; and a communication section 1009 including a network interface card such as a LAN card or a modem. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1010 as needed, so that computer programs read therefrom can be installed into the storage section 1008 as needed.
[0141] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the main step diagram can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the main step diagram. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1009, and / or installed from a removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, the above-mentioned functions defined in the system of the present application are executed.
[0142] It should be noted that the computer-readable medium described in the present invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.
[0143] The main step schematic diagrams and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the main step schematic diagram or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or main step schematic diagram, and the combination of boxes in the block diagram or main step schematic diagram, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0144] The modules described in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be located within a processor. For example, they may be described as comprising a locking point request receiving module, a locking point range determination module, a code point preemption module, and a driving instruction issuance module. The names of these modules do not, in some cases, limit the modules themselves. For example, the locking point request receiving module may also be described as a "module for receiving locking point requests from various autonomous driving devices."
[0145] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment, or may exist independently and not be incorporated into the device. The computer-readable medium carries one or more programs, and when executed by the device, causes the device to: receive lock point requests from each automatic driving device, each lock point request from the automatic driving device being used to request locking of a first driving code point and a second driving code point of the automatic driving device; determine, based on a unit driving length of the automatic driving device, a first lock point range corresponding to the first driving code point and a second lock point range corresponding to the second driving code point of the automatic driving device; preempt each code point within the first lock point range and the second lock point range of each automatic driving device by code point preemption; and after successfully preempting all code points within the first lock point range and the second lock point range of an automatic driving device, lock all code points and issue a travel instruction from the first driving code point of the automatic driving device to its second driving code point to the automatic driving device.
[0146] According to the technical solution of the embodiment of the present invention, the first locking point range corresponding to the first driving code point of each autonomous driving device and the second locking point range corresponding to the second driving code point are determined according to the unit driving length of each autonomous driving device. Through code point preemption, each code point within the first locking point range and the second locking point range of each autonomous driving device is preempted. After successfully preempting all code points within the first locking point range and the second locking point range of an autonomous driving device, all code points are locked, and a driving instruction from the first driving code point of the autonomous driving device to its second driving code point is issued to the autonomous driving device. This allows different types of autonomous driving devices to share a common map for driving, thereby achieving collaborative operation among different types of autonomous driving devices and improving the degree of automation.
[0147] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A driving method for multiple automatic driving devices using a shared map, characterized in that: include: receiving a lock point request of each automatic driving device, wherein each lock point request of the automatic driving device is used to request to lock a first driving code point and a second driving code point of the automatic driving device; each code point is a landmark QR code on a map; Determine, according to the unit driving length of each automatic driving device, a first locking point range corresponding to the first driving code point and a second locking point range corresponding to the second driving code point of each automatic driving device, wherein the unit driving length is the length of one step of the automatic driving device; Seizing each code point within the first locking point range and the second locking point range of each automatic driving device by code point seizing; After successfully seizing all code points within a first locking point range and a second locking point range of an automatic driving device, all code points are locked, and a driving instruction from the first driving code point of the automatic driving device to the second driving code point of the automatic driving device is issued to the automatic driving device; The step of determining, according to the unit driving length of each automatic driving device, a first locking point range corresponding to the first driving code point and a second locking point range corresponding to the second driving code point of each automatic driving device, comprises: For an automatic driving device whose unit driving length is the minimum code spacing, determine that the first locking point range corresponding to its first driving code point is the first driving code point, and the second locking point range corresponding to its second driving code point is the second driving code point; For an automatic driving device whose unit driving length is not the minimum code spacing, the first locking point range corresponding to the first driving code point and the second locking point range corresponding to the second driving code point are determined in the following manner: the x-axis range code points, y-axis range code points and diagonal range code points corresponding to the target code point are calculated using the code point range calculation rule; based on the x-axis range code points, y-axis range code points and diagonal range code points, the locking point range corresponding to the target code point is determined, and the target code point represents any one of the first driving code point and the second driving code point.
2. The method according to claim 1, characterized in that The step of calculating the x-axis range code points, y-axis range code points, and diagonal range code points corresponding to the target code point by using the code point range calculation rule includes: Segmenting the code of the target code point to obtain an x-axis code and a y-axis code of the target code point; Determine a code point that satisfies the following conditions as the x-axis range code point: the y-axis code of the code point is the same as the y-axis code of the target code point, the x-axis code of the code point is greater than the difference between the x-axis code of the target code point and the code point range interval, and is less than the sum of the x-axis code of the target code point and the code point range interval; Determine a code point that satisfies the following conditions as the y-axis range code point: the x-axis code of the code point is the same as the x-axis code of the target code point, the y-axis code of the code point is greater than the difference between the y-axis code of the target code point and the code point range interval, and is less than the sum of the y-axis code of the target code point and the code point range interval; Determine a code point that satisfies the following conditions as the diagonal range code point: the code point has the same first coordinate axis code as a first coordinate axis range code point, the second coordinate axis code of the code point is greater than the difference between the second coordinate axis code of the target code point and the code point range interval, and is less than the sum of the second coordinate axis code of the target code point and the code point range interval, wherein the first coordinate axis is the y-axis and the second coordinate axis is the x-axis, or the first coordinate axis is the x-axis and the second coordinate axis is the y-axis; The code point range interval is the code distance between the first driving code point and the second driving code point.
3. The method according to claim 2, characterized in that The code of the target code point is segmented in the following manner to obtain the x-axis code and the y-axis code of the target code point: Rounding the ratio of the code of the target code point to a preset value to obtain an x-axis code of the target code point; The code of the target code point is divided by the preset value to obtain a remainder to obtain the y-axis code of the target code point, and the preset value is determined according to the code length of the target code point.
4. The method according to claim 1, characterized in that: The code points are seized one by one in a preset order.
5. The method according to claim 1, characterized in that After successfully seizing all code points within a first locking point range and a second locking point range of an automatic driving device, the step of locking all code points comprises: All the code points successfully seized are associated with the information of the automatic driving device and stored in the cache.
6. The method according to claim 1, characterized in that After an automatic driving device arrives at its second driving code point from its first driving code point according to the issued driving instruction, the code points within the first locking point range of the automatic driving device but not within the second locking point range are deleted from the cache.
7. A driving device for multiple automatic driving devices to share a common map, characterized in that: include: A lock point request receiving module, used to receive lock point requests of each automatic driving device, each lock point request of each automatic driving device is used to request to lock the first driving code point and the second driving code point of the automatic driving device; each code point is a landmark QR code on the map; a locking point range determination module, configured to determine a first locking point range corresponding to a first driving code point of each automatic driving device and a second locking point range corresponding to a second driving code point of each automatic driving device according to a unit driving length of each automatic driving device, wherein the unit driving length is the length of one step of driving of the automatic driving device; A code point preemption module, used to preempt each code point within the first locking point range and the second locking point range of each automatic driving device by means of code point preemption; A driving instruction issuing module, used for locking all code points within a first locking point range and a second locking point range of an automatic driving device after successfully seizing the code points, and issuing a driving instruction from the first driving code point of the automatic driving device to the second driving code point of the automatic driving device to the automatic driving device; The locking point range determination module is also used for: For an automatic driving device whose unit driving length is the minimum code spacing, determine that the first locking point range corresponding to its first driving code point is the first driving code point, and the second locking point range corresponding to its second driving code point is the second driving code point; For an automatic driving device whose unit driving length is not the minimum code spacing, the first locking point range corresponding to the first driving code point and the second locking point range corresponding to the second driving code point are determined in the following manner: the x-axis range code points, y-axis range code points and diagonal range code points corresponding to the target code point are calculated using the code point range calculation rule; based on the x-axis range code points, y-axis range code points and diagonal range code points, the locking point range corresponding to the target code point is determined, and the target code point represents any one of the first driving code point and the second driving code point.
8. The device according to claim 7, characterized in that The lock point range determination module includes a code point range calculation submodule, which is used to: Segmenting the code of the target code point to obtain an x-axis code and a y-axis code of the target code point; Determine a code point that satisfies the following conditions as the x-axis range code point: the y-axis code of the code point is the same as the y-axis code of the target code point, the x-axis code of the code point is greater than the difference between the x-axis code of the target code point and the code point range interval, and is less than the sum of the x-axis code of the target code point and the code point range interval; Determine a code point that satisfies the following conditions as the y-axis range code point: the x-axis code of the code point is the same as the x-axis code of the target code point, the y-axis code of the code point is greater than the difference between the y-axis code of the target code point and the code point range interval, and is less than the sum of the y-axis code of the target code point and the code point range interval; Determine a code point that satisfies the following conditions as the diagonal range code point: the code point has the same first coordinate axis code as a first coordinate axis range code point, the second coordinate axis code of the code point is greater than the difference between the second coordinate axis code of the target code point and the code point range interval, and is less than the sum of the second coordinate axis code of the target code point and the code point range interval, wherein the first coordinate axis is the y-axis and the second coordinate axis is the x-axis, or the first coordinate axis is the x-axis and the second coordinate axis is the y-axis; The code point range interval is the code distance between the first driving code point and the second driving code point.
9. The device according to claim 8, characterized in that The code point range calculation submodule includes a coding segmentation unit, which is used to: Rounding the ratio of the code of the target code point to a preset value to obtain an x-axis code of the target code point; The code of the target code point is divided by the preset value to obtain a remainder to obtain the y-axis code of the target code point, and the preset value is determined according to the code length of the target code point.
10. The device according to claim 7, characterized in that The code point preemption module preempts the code points one by one according to a preset order.
11. The device according to claim 7, characterized in that The driving instruction issuing module includes a storage submodule, which is used for: All the code points successfully seized are associated with the information of the automatic driving device and stored in the cache.
12. The device according to claim 7, characterized in that Also includes a code point removal module for: After an automatic driving device arrives at its second driving code point from its first driving code point according to the issued driving instruction, the code points within the first locking point range of the automatic driving device but not within the second locking point range are deleted from the cache.
13. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 6.
14. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
