Method, device, storage medium and processor for processing road gantry position information

By obtaining the associated data of the road gantry and the vehicle trajectory data, and combining the vehicle identification and location information, the position information of the road gantry is calculated, which solves the problem of high cost and low efficiency in the existing technology and realizes efficient and accurate road gantry position determination.

CN114694105BActive Publication Date: 2025-10-03ALIBABA CLOUD COMPUTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210143128.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-16
Publication Date
2025-10-03
Estimated Expiration
2042-02-16

AI Technical Summary

Technical Problem

The existing methods for determining road gantry position information are costly and inefficient, resulting in large errors in vehicle trajectory restoration and road flow statistics.

Method used

By obtaining the associated data of the road gantry and the trajectory data of vehicles passing through multiple roads, combined with the vehicle identification and location information, the target vehicle position and time are determined, thereby calculating the position information of the road gantry.

Benefits of technology

The road gantry position information can be determined efficiently and accurately, which reduces costs and improves calculation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114694105B_ABST
    Figure CN114694105B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, storage medium, and processor for processing road gantry position information. The method comprises: obtaining associated data about the road gantry; obtaining trajectory data of vehicles traversing multiple roads; determining target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data; and determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information, and the target time. This invention addresses the technical issues of high cost and low efficiency in related art methods for determining road gantry position information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a method, device, storage medium and processor for processing road gantry position information. Background Art

[0002] With the development and expansion of the internet, some regions have begun eliminating provincial highway toll booths and implementing segmented toll collection and traffic statistics through the construction of smart highways. Highway gantries play a crucial role in segmented toll collection. To accurately implement segmented toll collection and traffic statistics for different roads, it's necessary to accurately restore the vehicle's road-level path, allowing for toll collection and calculation based on blocked roads.

[0003] However, with the continuous development of roads, there are now multiple routes from the starting point to the destination, and the lengths and tolls associated with each route vary. Therefore, more detailed gantry information is needed to accurately reconstruct the vehicle's actual route. However, in practice, due to a lack of basic infrastructure data and differences in measurement methods, problems such as missing gantry positions and large offsets often occur, introducing significant errors in vehicle trajectory reconstruction and road traffic statistics.

[0004] To address this issue, related technologies utilize data collection vehicles that drive to the gantry's location to collect data, combined with GPS data enhancement technology and data processing algorithms to obtain the gantry's location information. While this technology achieves high-precision gantry location information, it requires significant additional manpower and material resources, resulting in high costs and a long processing time.

[0005] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0006] Embodiments of the present invention provide a method, device, storage medium, and processor for processing road gantry position information, so as to at least solve the technical problem that the method for determining road gantry position information in the related art is high in cost and low in efficiency.

[0007] According to one aspect of an embodiment of the present invention, a method for processing road gantry position information is provided, comprising: obtaining associated data of a road gantry, wherein the associated data includes at least: an identification of the road gantry, a vehicle identification corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry; obtaining trajectory data of a vehicle passing through multiple roads, wherein the trajectory data includes at least: a vehicle identification corresponding to a vehicle passing through each of the multiple roads, a road identification corresponding to a road passed by each vehicle in the multiple roads, vehicle position information of the vehicle, and a time corresponding to each vehicle position information; determining target vehicle position information and a time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information of each vehicle when passing through the road gantry; determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information, and the target time.

[0008] According to another aspect of an embodiment of the present invention, a device for processing road gantry position information is also provided, including: a first acquisition unit, used to acquire associated data of the road gantry, wherein the associated data at least includes: the identification of the road gantry, the vehicle identification corresponding to the vehicle passing through the road gantry, and the target time when the vehicle passes through the road gantry; a second acquisition unit, used to acquire trajectory data of vehicles passing through multiple roads, wherein the trajectory data at least includes: the vehicle identification corresponding to the vehicle passing through each of the multiple roads, the road identification corresponding to the road passed by each vehicle in the multiple roads, the vehicle position information of the vehicle and the time corresponding to each vehicle position information; a first determination unit, used to determine the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information of each vehicle when it passes through the road gantry; a second determination unit, used to determine the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time.

[0009] According to another aspect of an embodiment of the present invention, a storage medium is further provided, the storage medium including a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any of the above-mentioned methods for processing road gantry position information.

[0010] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein when the program is run, any one of the above-mentioned methods for processing road gantry position information is executed.

[0011] In an embodiment of the present invention, the association data of a road gantry is obtained, wherein the association data includes at least: an identification of the road gantry, a vehicle identification corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry; the trajectory data of a vehicle passing through multiple roads is obtained, wherein the trajectory data includes at least: a vehicle identification corresponding to a vehicle passing through each of the multiple roads, a road identification corresponding to a road passed by each vehicle, vehicle position information of the vehicle and a time corresponding to each vehicle position information; the target vehicle position information and the time corresponding to the target vehicle position information are determined based on the association data and the trajectory data, wherein the target vehicle position information is The vehicle position information of each vehicle when passing through the road gantry; a method of determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time, by obtaining the associated data of the road gantry and the trajectory data of vehicles passing through multiple roads, and making the two types of data correspond in time and space according to the vehicle identification in the data, so that the position information of the gantry and the road information corresponding to the gantry can be determined according to the position information and road information of the vehicle when passing through the gantry, thereby achieving the purpose of efficiently and accurately determining the position information of the road gantry, and thus solving the technical problem of high cost and low efficiency of the method for determining the position information of the road gantry in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0013] Figure 1 is a hardware structure block diagram of a computer terminal according to an embodiment of the present invention;

[0014] Figure 2 is a flow chart of a method for processing road gantry position information according to an embodiment of the present invention;

[0015] Figure 3 is a flowchart of an optional method for processing road gantry position information provided according to an embodiment of the present invention;

[0016] Figure 4 2 is a schematic diagram of a device for processing road gantry position information according to an embodiment of the present invention;

[0017] Figure 5 It is a structural block diagram of an optional computer terminal provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0019] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0020] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0021] Road gantry: A door frame-like frame used for road traffic, which can be used for road speed limit, road monitoring, etc.

[0022] Example 1

[0023] According to an embodiment of the present invention, an embodiment of a method for processing road gantry position information is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for processing road gantry position information is shown. Figure 1As shown, the computer terminal 10 (or mobile device 10) may include one or more (illustrated as 102a, 102b, ..., 102n) processors (the processor may include but is not limited to a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0025] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0026] The memory 104 can be used to store software programs and modules for application software, such as the program instructions / data storage device corresponding to the method for processing road gantry position information in the embodiments of the present invention. The processor executes the software programs and modules stored in the memory 104 to execute various functional applications and data processing, thereby implementing the method for processing road gantry position information. The memory 104 can include high-speed random access memory (RAM) and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor, which can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0027] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.

[0028] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0029] Under the above operating environment, this application provides Figure 2 The method for processing the road gantry position information is shown. Figure 2 Flowchart of a method for processing road gantry position information according to an embodiment of the present invention, comprising:

[0030] S201, obtaining associated data of a road gantry, wherein the associated data includes at least: an identifier of the road gantry, a vehicle identifier corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry.

[0031] Specifically, the identification of the road gantry can be the ID of the road gantry, for example, gantry No. C on section B of road in city A. The vehicle identification can be the vehicle's license plate number. The vehicle identification corresponding to the vehicle passing through the road gantry can be the license plate number of the vehicle passed directly under the road gantry recorded by the gantry. The target time when the vehicle passes the road gantry can be the time when the license plate number of the vehicle passing through the road gantry is recorded. For example, the target road gantry records that the car with license plate number A passes directly under the target road gantry at 9:00, then the target time corresponding to vehicle A is 9:00.

[0032] S202, obtaining trajectory data of vehicles passing through multiple roads, wherein the trajectory data includes at least: a vehicle identification corresponding to each of the multiple roads passed by the vehicle, a road identification corresponding to each of the multiple roads passed by the vehicle, vehicle position information of the vehicle, and a time corresponding to each vehicle position information.

[0033] Specifically, the multiple roads can be all roads in a certain area, and the vehicle trajectory data can be obtained by GPS (Global Positioning System). For example, the vehicle trajectory data corresponding to all roads in area A is obtained, and the vehicle identification corresponding to the vehicle passing through each of the multiple roads can be the license plate number corresponding to the vehicle traveling on each road. The road identification corresponding to each road passed by each vehicle can be the road ID information corresponding to a vehicle when traveling on multiple roads. The vehicle position information of the vehicle can be the position information obtained according to GPS during the vehicle's driving process, and the time corresponding to the vehicle position information is the time corresponding to the acquisition of the vehicle position information.

[0034] For example, if car A travels on three roads in area A, the license plate number of car A corresponds to the road IDs of the three roads. During the driving process of car A, the GPS of car A records the driving data and the time point corresponding to each driving position according to a preset time period. For example, the latitude and longitude of the vehicle at 9:01 is (A, B), and at 9:02, the latitude and longitude of the vehicle is (C, D).

[0035] In order to establish an association between a vehicle identification and a road identification on which the vehicle has traveled, optionally, in the method for processing road gantry position information in an embodiment of the present invention, before obtaining trajectory data of vehicles passing through multiple roads, the method further includes: obtaining road topology information, wherein the road topology information includes at least: road identifications of multiple roads and location information of each road; obtaining vehicle trajectory information, wherein the vehicle trajectory information includes the vehicle identification, the vehicle location information of the vehicle and the time corresponding to each vehicle location information; matching the road topology information and the vehicle trajectory information according to the location information of each road and the vehicle location information of the vehicle to obtain trajectory data of vehicles on multiple roads.

[0036] Specifically, the road topology information can be the topology information obtained by correlating all roads in a certain area, which may include: the road sign of each road and the location information of each road; the vehicle trajectory information can be the driving route information of each vehicle and the location information recorded by GPS and the time corresponding to each location information.

[0037] It should be noted that the vehicle's route can be matched based on the road's location information and the vehicle's GPS location information. If the road's location information and the vehicle's GPS location information overlap, it can be determined that the vehicle is traveling on that road. In this case, the road ID of that road can be matched with the vehicle to obtain vehicle trajectory data for multiple roads. For example, the vehicle's GPS data can be matched based on road topology information. After a successful match, the vehicle's trajectory can be mapped to the corresponding road to obtain the vehicle's precise trajectory for all sections of the road topology network.

[0038] In order to establish topological information between multiple roads, optionally, in the method for processing road gantry position information of an embodiment of the present invention, before obtaining the road topological information, the method also includes: obtaining the road signs and road location information corresponding to each of the multiple roads, and constructing the topological relationship between the multiple roads based on the road location information to obtain the road topological information.

[0039] Specifically, each road has fixed road signs and road location information, that is, basic road information. The relative position relationship between each road can be determined based on the basic road information, thereby constructing the topological relationship between all roads and generating road topology information. The road topology information can characterize the accessibility between roads.

[0040] For example, there are 5 roads in area A. The accessibility and position relationship between the 5 roads can be determined by the starting point location, end point location, and longitude and latitude of each road, thereby obtaining the road topology information.

[0041] S203, determining the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information when each vehicle passes through the road gantry.

[0042] Specifically, the target vehicle position information can be the position information corresponding to when the vehicle passes before and after the road gantry, and the moment corresponding to the target vehicle position information can be the moment before and after the vehicle passes before and after the road gantry. The target vehicle position information of the vehicle and the moment corresponding to the target vehicle position information can be obtained from the vehicle position information of the vehicle and the moment corresponding to the vehicle position information.

[0043] It should be noted that since there is an association between vehicle identification and road identification, the road information corresponding to the road gantry can be determined when the vehicle passes through the road gantry, thereby obtaining the position information of the road gantry and the road information of the road gantry based on the target vehicle position information and the road identification.

[0044] In order to accurately determine the position information of the road gantry through the target vehicle position information. Optionally, in the method for processing the road gantry position information of an embodiment of the present invention, determining the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data includes: obtaining the trajectory data of the vehicle passing through the road gantry from the trajectory data according to the vehicle identification to obtain a plurality of target trajectory data; determining the previous moment adjacent to the target moment from the time corresponding to the vehicle position information in each target trajectory data to obtain a first moment, and determining the next moment adjacent to the target moment to obtain a second moment, and determining the time corresponding to the target vehicle position information based on the first moment and the second moment; determining the first position information corresponding to the first moment, determining the second position information corresponding to the second moment, and determining the target vehicle position information based on the first position information and the second position information.

[0045] Specifically, since the trajectory data includes the trajectory data of all vehicles, it is necessary to obtain the trajectory data of the vehicles passing through the target road gantry from the trajectory data according to the license plate identification corresponding to the target road gantry, thereby obtaining a plurality of target trajectory data.

[0046] Furthermore, the target moment when the vehicle passes the target road gantry is obtained, and the target moment is substituted into the multiple trajectory data, so as to match the previous moment and the next moment adjacent to the target moment from the moment corresponding to the vehicle position information to obtain the first moment and the second moment.

[0047] For example, in the associated data of road gantry A, the target time for vehicle A to pass through the road gantry is 8:00. Then 8:00 can be substituted into the trajectory data corresponding to vehicle A, so that the time before 8:00:00 can be determined in the time corresponding to the vehicle position information of vehicle A to be 7:59:30, and the time after 8:00:00 can be 8:00:30, thereby obtaining the first time and second time corresponding to vehicle A.

[0048] It should be noted that after obtaining the first moment and the second moment, the first position information corresponding to the vehicle at the first moment and the second position information corresponding to the vehicle at the second moment can be obtained according to the corresponding relationship, and the first position information and the second position information can be determined as the target vehicle position information, and the position information of the target road gantry can be determined according to the target vehicle position information and the moment corresponding to the target vehicle position information.

[0049] S204, determining the target position information of the road gantry according to the target vehicle position information, the time corresponding to the target vehicle position information, and the target time.

[0050] Specifically, after obtaining the target vehicle position information, the time corresponding to the target vehicle position information and the target time, the speed of the vehicle when passing the target road gantry can be calculated based on the relationship between the target time and the time corresponding to the target vehicle position information and the target vehicle position information, and the position information of the target road gantry can be calculated based on the speed information and the target time.

[0051] In order to improve the accuracy of calculating the position information of the road gantry, optionally, in the method for processing the position information of the road gantry in an embodiment of the present invention, the target position information of the road gantry is determined based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time, including: calculating the initial position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time to obtain multiple initial position information; and determining the target position information of the road gantry through the multiple initial position information.

[0052] Specifically, the initial position information is the gantry's position information calculated using the target vehicle position information corresponding to each vehicle, the time corresponding to the target vehicle position information, and the target time. The initial position information corresponding to a certain number of vehicles can be selected to calculate the accurate gantry position information, i.e., the target position information, based on the distribution of the initial position information.

[0053] In order to accurately calculate the initial position information corresponding to each vehicle, optionally, in the method for processing the road gantry position information of an embodiment of the present invention, calculating the initial position information of the road gantry based on the target vehicle position information, the moment corresponding to the target vehicle position information and the target moment includes: determining a first time difference between the first moment and the second moment, and determining a distance difference between the first position information and the second position information; calculating the speed of the vehicle when passing through the road gantry based on the distance difference and the first time difference; determining a second time difference between the target moment and the first moment, and calculating the initial position information of the road gantry based on the speed and the second time difference.

[0054] The speed of the vehicle as it passes the road gantry can be calculated based on the target vehicle position information and the time corresponding to the target vehicle position information. Specifically, a first time difference between a first time and a second time can be determined, and a distance difference between the first position information and the second position information can be determined. The distance difference is divided by the first time difference to obtain an average speed. The distance between the first position information and the road gantry can be calculated based on the second time difference between the target time and the first time. Thus, the initial position information of the road gantry can be calculated based on the first position information and the distance between the first position information and the road gantry.

[0055] For example, the first moment can be 8:30:00, the second moment can be 8:31:00, the target moment can be 8:30:30, the first position information can be (1, 1), and the second position information can be (3, 1). The speed can be calculated as 2 / 1=2m / s, and the interval between the road gantry and the first position can be determined to be 1 meter based on the time difference between the first moment and the target moment. The initial position information of the road gantry can be determined to be (2, 1).

[0056] In order to make the position information of the road gantry more accurate, optionally, in the method for processing the position information of the road gantry in an embodiment of the present invention, determining the target position information of the road gantry through multiple initial position information includes: sorting the multiple initial position information to obtain a sorting result; obtaining the median in the sorting result, and determining the initial position information corresponding to the median as the target position information of the road gantry; or, calculating the average value of the multiple initial position information, and determining the average value as the target position information of the road gantry.

[0057] Specifically, there may be errors in the initial position information. After calculating multiple initial position information corresponding to the road gantry based on the target vehicle position information of multiple vehicles, the median or average of the multiple initial position information can be calculated, and the average or median can be used as the target position information of the road gantry, thereby achieving the effect of conveniently and accurately calculating the position information of the road gantry.

[0058] Optionally, in the method for processing the road gantry position information of an embodiment of the present invention, obtaining the associated data of the road gantry includes: obtaining the identification of the road gantry, obtaining the vehicle identification corresponding to the vehicles passing through the road gantry within a preset time period, and the target time when the vehicle passes through the road gantry; or, obtaining the identification of the road gantry, obtaining the vehicle identification corresponding to the target vehicle passing through the road gantry, and the target time when the target vehicle passes through the road gantry, wherein the target vehicles are multiple vehicles traveling at a preset speed.

[0059] Specifically, when acquiring data associated with a road gantry, information about vehicles passing through the gantry during a preset time period can be obtained. This preset time period can be peak traffic hours. This allows for the acquisition of a large amount of associated data, thereby improving the accuracy of calculating the gantry's position. Alternatively, a certain number of vehicles can be dispatched to pass through the gantry at a specific speed and their data recorded, thereby improving the accuracy of calculating the gantry's position.

[0060] In an embodiment of the present invention, the association data of a road gantry is obtained, wherein the association data includes at least: an identification of the road gantry, a vehicle identification corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry; the trajectory data of a vehicle passing through multiple roads is obtained, wherein the trajectory data includes at least: a vehicle identification corresponding to a vehicle passing through each of the multiple roads, a road identification corresponding to a road passed by each vehicle, vehicle position information of the vehicle and a time corresponding to each vehicle position information; the target vehicle position information and the time corresponding to the target vehicle position information are determined based on the association data and the trajectory data, wherein the target vehicle position information is The vehicle position information of each vehicle when passing through the road gantry; a method of determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time, by obtaining the associated data of the road gantry and the trajectory data of vehicles passing through multiple roads, and making the two types of data correspond in time and space according to the vehicle identification in the data, so that the position information of the gantry and the road information corresponding to the gantry can be determined according to the position information and road information of the vehicle when passing through the gantry, thereby achieving the purpose of efficiently and accurately determining the position information of the road gantry, and thus solving the technical problem of high cost and low efficiency of the method for determining the position information of the road gantry in the related art.

[0061] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0062] Through the description of the above embodiments, those skilled in the art can clearly understand that the method for processing the road gantry position information according to the above embodiment can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0063] Example 2

[0064] According to an embodiment of the present invention, a flowchart of an optional method for processing road gantry position information is also provided. Figure 3is a flow chart of an optional method for processing road gantry position information according to an embodiment of the present invention. Figure 3 As shown:

[0065] First, road information of multiple roads is obtained, wherein the road information includes road ID (road identification) and road location, and the road information is topologically related according to the road location to obtain road topology information of multiple roads, wherein the road topology information includes the road ID and road location of each road.

[0066] Furthermore, vehicle trajectory information is obtained, where the vehicle trajectory information includes: vehicle ID, GPS location, and the time corresponding to each location. In this case, the trajectory data of each vehicle can be obtained using the GPS location information and the road location information, where the trajectory data includes the vehicle ID, road ID, vehicle GPS location, and the time corresponding to each location.

[0067] Furthermore, it is also necessary to obtain the associated data of the road gantry, including the ID of the road gantry, the vehicle identification corresponding to the vehicle passing through the road gantry, and the target time when the vehicle passes through the road gantry, and the trajectory data and the associated data are spatially and temporally collided through the vehicle ID and time information to obtain the vehicle ID, road gantry ID, the target time when the vehicle passes through the gantry, the road ID corresponding to when the vehicle passes through the gantry, the target vehicle position information when the vehicle passes through the gantry, and the time corresponding to the target vehicle position information, and determine the initial position information through the time corresponding to the target vehicle position information and the target time, including: vehicle ID, gantry ID, road ID of the road to which the gantry belongs, and the initial position information of the road gantry.

[0068] Finally, the gantry information of the road gantry is calculated through multiple initial position information, including: the gantry ID, the road ID of the road to which the gantry belongs and the target position information of the gantry, thereby completing the determination of the gantry position information.

[0069] This embodiment performs analysis and statistics based on existing basic road information, road gantry association information and vehicle trajectory information to obtain corrected road gantry position information, thereby improving the efficiency of obtaining road gantry position information, reducing the acquisition cost, and meeting the accuracy requirements of the gantry position information.

[0070] Example 3

[0071] According to an embodiment of the present invention, a device for processing road gantry position information for implementing the above-mentioned method for processing road gantry position information is also provided. Figure 4 As shown, the device includes:

[0072] The first acquisition unit 41 is configured to acquire associated data of the road gantry, wherein the associated data includes at least: an identifier of the road gantry, a vehicle identifier corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry.

[0073] The second acquisition unit 42 is used to obtain trajectory data of vehicles passing through multiple roads, wherein the trajectory data at least includes: a vehicle identification corresponding to each of the multiple roads passed by the vehicle, a road identification corresponding to each of the multiple roads passed by the vehicle, the vehicle position information of the vehicle, and the time corresponding to each vehicle position information.

[0074] The first determining unit 43 is configured to determine the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information when each vehicle passes through the road gantry.

[0075] The second determining unit 44 is configured to determine the target position information of the road gantry according to the target vehicle position information, the time corresponding to the target vehicle position information, and the target time.

[0076] It should be noted that the first acquisition unit 41, the second acquisition unit 42, the first determination unit 43, and the second determination unit 44 correspond to steps S201, S202, S203, and S204 in Example 1. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.

[0077] In an embodiment of the present invention, the associated data of the road gantry is acquired by the first acquisition unit 41, wherein the associated data includes at least: the identification of the road gantry, the vehicle identification corresponding to the vehicle passing through the road gantry, and the target time when the vehicle passes through the road gantry; the second acquisition unit 42 acquires the trajectory data of the vehicle passing through multiple roads, wherein the trajectory data includes at least: the vehicle identification corresponding to the vehicle passing through each of the multiple roads, the road identification corresponding to the road passed by each vehicle in the multiple roads, the vehicle position information of the vehicle and the time corresponding to each vehicle position information; the first determination unit 43 determines the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information of each vehicle when passing through the road gantry; the second determination unit 44 determines the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time. By obtaining the associated data of the road gantry and the trajectory data of vehicles passing through multiple roads, and making the two types of data correspond in time and space according to the vehicle identification in the data, the position information of the gantry and the road information corresponding to the gantry can be determined according to the position information and road information of the vehicle when passing the gantry, thereby achieving the purpose of efficiently and accurately determining the position information of the road gantry, and thus solving the technical problem of high cost and low efficiency of the method for determining the position information of the road gantry in the related art.

[0078] Optionally, in the device for processing the road gantry position information of an embodiment of the present invention, the second determination unit 44 includes: a calculation module for calculating the initial position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time, to obtain multiple initial position information; and a first determination module for determining the target position information of the road gantry through multiple initial position information.

[0079] Optionally, in the device for processing road gantry position information of an embodiment of the present invention, the device further includes: a third acquisition unit for acquiring road topology information, wherein the road topology information includes at least: road identifications of multiple roads and position information of each road; a fourth acquisition unit for acquiring vehicle trajectory information, wherein the vehicle trajectory information includes vehicle identification, vehicle position information of the vehicle and the time corresponding to each vehicle position information; a matching unit for matching the road topology information and the vehicle trajectory information according to the position information of each road and the vehicle position information of the vehicle to obtain trajectory data of vehicles on multiple roads.

[0080] Optionally, in the device for processing road gantry position information of an embodiment of the present invention, the device also includes: a fifth acquisition unit, used to obtain the road signs and road location information corresponding to each of the multiple roads, and construct a topological relationship between the multiple roads based on the road location information to obtain road topology information.

[0081] Optionally, in the processing device for the road gantry position information of an embodiment of the present invention, the first determination unit 43 includes: a first acquisition module, used to obtain the trajectory data of the vehicle passing through the road gantry from the trajectory data according to the vehicle identification, and obtain multiple target trajectory data; a second determination module, used to determine the previous moment adjacent to the target moment from the moment corresponding to the vehicle position information in each target trajectory data, obtain the first moment, and determine the next moment adjacent to the target moment, obtain the second moment, and determine the moment corresponding to the target vehicle position information based on the first moment and the second moment; a third determination module, used to determine the first position information corresponding to the first moment, determine the second position information corresponding to the second moment, and determine the target vehicle position information based on the first position information and the second position information.

[0082] Optionally, in the device for processing the position information of the road gantry in an embodiment of the present invention, the calculation module includes: a first determination submodule, used to determine the first time difference between the first moment and the second moment, and determine the distance difference between the first position information and the second position information; a calculation submodule, used to calculate the speed of the vehicle when passing through the road gantry based on the distance difference and the first time difference; a second determination submodule, used to determine the second time difference between the target moment and the first moment, and calculate the initial position information of the road gantry based on the speed and the second time difference.

[0083] Optionally, in the device for processing road gantry position information in an embodiment of the present invention, the first determination module includes: a sorting submodule, used to sort multiple initial position information to obtain a sorting result; a third determination submodule, used to obtain the median in the sorting result, and determine the initial position information corresponding to the median as the target position information of the road gantry; or, a fourth determination submodule, used to calculate the average value of multiple initial position information, and determine the average value as the target position information of the road gantry.

[0084] Optionally, in the device for processing the road gantry position information of an embodiment of the present invention, the first acquisition unit 41 includes: a second acquisition module, used to acquire the identification of the road gantry, acquire the vehicle identification corresponding to vehicles passing through the road gantry within a preset time period, and the target time when the vehicle passes through the road gantry; or, a third acquisition module, used to acquire the identification of the road gantry, acquire the vehicle identification corresponding to the target vehicle passing through the road gantry, and the target time when the target vehicle passes through the road gantry, wherein the target vehicles are multiple vehicles traveling at a preset speed.

[0085] Example 4

[0086] The embodiment of the present invention can provide a computer terminal, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal can also be replaced by a terminal device such as a mobile terminal.

[0087] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of a computer network.

[0088] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for processing road gantry position information: obtaining the associated data of the road gantry, wherein the associated data at least includes: the identification of the road gantry, the vehicle identification corresponding to the vehicle passing through the road gantry, and the target time when the vehicle passes through the road gantry; obtaining the trajectory data of vehicles passing through multiple roads, wherein the trajectory data at least includes: the vehicle identification corresponding to the vehicle passing through each of the multiple roads, the road identification corresponding to the road passed by each vehicle in the multiple roads, the vehicle position information of the vehicle and the time corresponding to each vehicle position information; determining the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information of each vehicle when it passes through the road gantry; determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time.

[0089] Optionally, Figure 5 1 is a block diagram of a computer terminal according to an embodiment of the present invention. Figure 5 As shown, the computer terminal 10 may include: one or more (only one is shown in the figure) processors, a memory, and a transmission device.

[0090] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and apparatus for processing road gantry position information in the embodiments of the present invention. The processor executes the software programs and modules stored in the memory to perform various functional applications and data processing, thereby implementing the aforementioned method for processing road gantry position information. The memory can include high-speed random access memory (RAM) and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory can further include memory located remotely from the processor, which can be connected to the terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0091] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: obtaining the associated data of the road gantry, wherein the associated data at least includes: the identification of the road gantry, the vehicle identification corresponding to the vehicle passing through the road gantry, and the target time when the vehicle passes through the road gantry; obtaining the trajectory data of the vehicle passing through multiple roads, wherein the trajectory data at least includes: the vehicle identification corresponding to the vehicle passing through each of the multiple roads, the road identification corresponding to the road passed by each vehicle in the multiple roads, the vehicle position information of the vehicle and the time corresponding to each vehicle position information; determining the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information of each vehicle when passing through the road gantry; determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time.

[0092] According to an embodiment of the present invention, a method for processing the position information of a road gantry is provided. The method comprises obtaining the associated data of the road gantry, wherein the associated data at least includes: the identification of the road gantry, the vehicle identification corresponding to the vehicle passing through the road gantry, and the target time when the vehicle passes through the road gantry; obtaining the trajectory data of the vehicle passing through multiple roads, wherein the trajectory data at least includes: the vehicle identification corresponding to each of the multiple roads, the road identification corresponding to each of the multiple roads passed by the vehicle, the vehicle position information of the vehicle and the time corresponding to each vehicle position information; determining the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the time corresponding to each vehicle position information. The vehicle position information when passing through the road gantry; a method of determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time, by obtaining the associated data of the road gantry and the trajectory data of the vehicle passing through multiple roads, and making the two types of data correspond in time and space according to the vehicle identification in the data, so that the position information of the gantry and the road information corresponding to the gantry can be determined according to the position information and road information of the vehicle when passing through the gantry, thereby achieving the purpose of efficiently and accurately determining the position information of the road gantry, and thus solving the technical problem of high cost and low efficiency of the method for determining the position information of the road gantry in the related art.

[0093] It can be understood by those skilled in the art that Figure 5 The structure shown is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 5 It does not limit the structure of the above electronic device. For example, the computer terminal 10 may also include Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 5 Different configurations shown.

[0094] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0095] The embodiment of the present invention further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the method for processing the road gantry position information provided in the first embodiment.

[0096] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0097] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: obtaining associated data of a road gantry, wherein the associated data includes at least: an identification of the road gantry, a vehicle identification corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry; obtaining trajectory data of a vehicle passing through multiple roads, wherein the trajectory data includes at least: a vehicle identification corresponding to a vehicle passing through each of the multiple roads, a road identification corresponding to a road passed by each vehicle in the multiple roads, vehicle position information of the vehicle and a time corresponding to each vehicle position information; determining the target vehicle position information and the time corresponding to the target vehicle position information based on the associated data and the trajectory data, wherein the target vehicle position information is the vehicle position information of each vehicle when passing through the road gantry; determining the target position information of the road gantry based on the target vehicle position information, the time corresponding to the target vehicle position information and the target time.

[0098] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0099] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0100] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0101] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0102] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0103] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.

[0104] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for processing road gantry position information, characterized in that: include: Acquire associated data of a road gantry, wherein the associated data includes at least: an identifier of the road gantry, a vehicle identifier corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry; Obtaining trajectory data of vehicles passing through a plurality of roads, wherein the trajectory data includes at least: a vehicle identification corresponding to each of the plurality of roads, a road identification corresponding to each of the plurality of roads passed by the vehicle, vehicle position information of the vehicle, and a time corresponding to each of the vehicle position information; Determining target vehicle position information and a time corresponding to the target vehicle position information based on the association data and the trajectory data, wherein the target vehicle position information is vehicle position information when each of the vehicles passes through the road gantry; Determine the target position information of the road gantry according to the target vehicle position information, the time corresponding to the target vehicle position information and the target time; Among them, obtaining the trajectory data of a vehicle passing through multiple roads includes: matching the location information of each road among the multiple roads in the road topology information with the vehicle location information in the vehicle trajectory information, wherein the road topology information is topology information obtained by correlating the multiple roads with each other, and the vehicle trajectory information includes the vehicle identification, the vehicle location information and the time corresponding to the vehicle location information; determining the road among the multiple roads where the matched location information and the vehicle location information overlap as the target road; matching the road identification of the target road in the topology information with the vehicle identification in the vehicle trajectory information to obtain the trajectory data.

2. The method according to claim 1, characterized in that Determining the target position information of the road gantry according to the target vehicle position information, the time corresponding to the target vehicle position information, and the target time includes: Calculating the initial position information of the road gantry according to the target vehicle position information, the time corresponding to the target vehicle position information, and the target time, to obtain a plurality of the initial position information; The target position information of the road gantry is determined by using the multiple initial position information.

3. The method according to claim 1, characterized in that Before obtaining the trajectory data of the vehicle passing through the plurality of roads, the method further includes: Acquiring the road topology information, wherein the road topology information at least includes: road identifications of the plurality of roads and location information of each road; Acquire the vehicle trajectory information.

4. The method according to claim 3, characterized in that Before obtaining the road topology information, the method further includes: The road identifier corresponding to each road in the plurality of roads and the position information of the road are obtained, and a topological relationship between the plurality of roads is constructed according to the position information of the roads to obtain the road topology information.

5. The method according to claim 1, wherein Determining the target vehicle position information and the time corresponding to the target vehicle position information according to the association data and the trajectory data includes: Acquiring the trajectory data of the vehicle passing through the road gantry from the trajectory data according to the vehicle identification to obtain a plurality of target trajectory data; Determining a previous moment adjacent to the target moment from the moments corresponding to the vehicle position information in each target trajectory data to obtain a first moment, determining a subsequent moment adjacent to the target moment to obtain a second moment, and determining the moment corresponding to the target vehicle position information based on the first moment and the second moment; Determine the first position information corresponding to the first moment, determine the second position information corresponding to the second moment, and determine the target vehicle position information based on the first position information and the second position information.

6. The method according to claim 5, characterized in that Calculating the initial position information of the road gantry according to the target vehicle position information, the time corresponding to the target vehicle position information, and the target time includes: Determine a first time difference between the first moment and the second moment, and determine a distance difference between the first position information and the second position information; Calculating the speed of the vehicle when passing through the road gantry according to the distance difference and the first time difference; A second time difference between the target moment and the first moment is determined, and initial position information of the road gantry is calculated based on the speed and the second time difference.

7. The method according to claim 2, characterized in that Determining the target position information of the road gantry by using the multiple initial position information includes: Sorting the plurality of initial position information to obtain a sorting result; Obtaining the median of the sorting results, and determining the initial position information corresponding to the median as the target position information of the road gantry; or, An average value of the multiple initial position information is calculated, and the average value is determined as the target position information of the road gantry.

8. The method according to claim 1, characterized in that The associated data of the road gantry are: Obtaining the identification of the road gantry, obtaining the vehicle identification corresponding to the vehicle passing through the road gantry within a preset time period, and the target time when the vehicle passes through the road gantry; or, Obtain an identification of the road gantry, obtain a vehicle identification corresponding to a target vehicle passing through the road gantry, and a target time when the target vehicle passes through the road gantry, wherein the target vehicle is a plurality of vehicles traveling at a preset speed.

9. A device for processing road gantry position information, characterized in that: include: a first acquiring unit, configured to acquire associated data of a road gantry, wherein the associated data includes at least: an identifier of the road gantry, a vehicle identifier corresponding to a vehicle passing through the road gantry, and a target time when the vehicle passes through the road gantry; a second acquiring unit, configured to acquire trajectory data of vehicles passing through a plurality of roads, wherein the trajectory data includes at least: a vehicle identification corresponding to each of the plurality of roads passed by the vehicle, a road identification corresponding to each of the plurality of roads passed by the vehicle, vehicle position information of the vehicle, and a time corresponding to each of the vehicle position information; a first determining unit, configured to determine target vehicle position information and a time corresponding to the target vehicle position information based on the association data and the trajectory data, wherein the target vehicle position information is vehicle position information when each of the vehicles passes through the road gantry; a second determining unit, configured to determine target position information of the road gantry according to target vehicle position information, a time corresponding to the target vehicle position information, and the target time; Wherein, the second acquisition unit is used to obtain the trajectory data through the following steps: matching the position information of each road among the multiple roads in the road topology information with the vehicle position information in the vehicle trajectory information, wherein the road topology information is topology information obtained by correlating the multiple roads with each other, and the vehicle trajectory information includes the vehicle identification, the vehicle position information and the time corresponding to the vehicle position information; determining the road among the multiple roads whose matched position information and vehicle position information overlap as the target road; matching the road identification of the target road in the topology information with the vehicle identification in the vehicle trajectory information to obtain the trajectory data.

10. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for processing road gantry position information as described in any one of claims 1 to 8.

11. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the method for processing road gantry position information as described in any one of claims 1 to 8.