Highway travel data processing method and device
By obtaining the toll data of the expressway and using the toll gantry to determine the entrance and exit nodes, the problem of data cleaning and error deletion in the processing of highway travel data is solved, and a more accurate travel characteristic analysis is achieved.
Patent Information
- Application Number
- CN202411793954.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-12-09
AI Technical Summary
The prior art is difficult to effectively process highway travel data, especially in traffic congestion, which leads to data cleaning and error deletion of valid data, affecting the accuracy of travel characteristics analysis.
By obtaining the toll data of the target section of the expressway, including data from the toll station and toll gantry, the integrity of the entrance and exit time is determined. If the missing party determines the inlet or exit node based on the toll gantry data, record it as valid data and discards it. Invalid data.
It ensures the accuracy of data cleaning, retains vehicle travel information, avoids the problem of accidentally deleting valid data, and provides a more accurate basis for travel characteristics analysis.
Smart Images

Figure CN119252036A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for processing highway travel data. Background Art
[0002] With the increase in highway mileage and the growth in the number of cars, the complexity of highway vehicle operation has increased, and some highways have gradually begun to experience traffic congestion. Alleviating traffic congestion and improving highway operation efficiency can be achieved by regulating traffic demand and optimizing traffic supply. The premise of traffic demand management is to master the utilization of traffic resources, that is, to master the travel characteristics of highway travelers. In order to ensure the accuracy of travel characteristics analysis, it is necessary to remove abnormal data and fully retain valid data. Summary of the invention
[0003] The embodiments of the present application provide a method and device for processing highway travel data, which can provide a good data basis for understanding the travel characteristics of highway travelers.
[0004] In a first aspect, an embodiment of the present application provides a method for processing highway travel data, comprising: Acquire toll data of a target section of a highway, wherein the toll data includes toll data of a toll station and toll data of a toll gantries; Record the toll data with complete entrance and exit time as valid data, where the entrance and exit time refers to the time of entering the toll station and the time of exiting the toll station; At least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entry node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data. The exit node and the entry node are nodes for entering or exiting the target road section outside the toll station in the target road section. The valid data is retained, and other charging data other than the valid data is deleted as abnormal data.
[0005] In a second aspect, an embodiment of the present application provides a highway travel data processing device, comprising: An acquisition module, used to acquire toll data of a target section of a highway, wherein the toll data includes toll data of a toll station and toll data of a toll gantries; A processing module is used to record the toll data with complete entry and exit times as valid data, wherein the entry and exit times are the time of entering and exiting a toll station; if at least one of the entry and exit times of the toll data is missing, and if the exit node and / or the entry node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data, and the exit node and the entry node are the nodes entering or exiting a target section outside the toll station in the target section; the valid data is retained, and other toll data other than the valid data is deleted as abnormal data.
[0006] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements any of the methods described above when the program is executed by a processor.
[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-described methods when executing the computer program. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0009] Figure 1 A schematic diagram showing a flow chart of a method for processing highway travel data according to an embodiment of the present application; Figure 2 A schematic diagram showing the structure of a highway travel data processing device according to an embodiment of the present application; Figure 3 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0010] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0011] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. 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 comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0012] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0013] See also Figure 1 , the embodiment of the present application provides a method for processing highway travel data, comprising: Obtain toll data for the target section of the expressway, including toll data from toll booths and toll gantries; The toll collection data with complete entry and exit time is recorded as valid data. The entry and exit time is the time of entering the toll station and the time of leaving the toll station; At least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entry node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data. The exit node and the entry node are the nodes for entering or exiting the target section outside the toll station in the target section. Valid data is retained, and other charging data outside the valid data is deleted as abnormal data.
[0014] The basis of the highway travel data in this application can be the toll data obtained from the toll collection system of the highway operation management department. The toll data generally includes the time when the vehicle enters and exits the highway, the name of the toll station, the vehicle model and other related information. The starting and ending points of the vehicle travel are important parameters based on the research of toll data. In order to eliminate the influence of noise data, the data needs to be cleaned to delete invalid data and retain only valid data. General data cleaning is to retain valid data by deleting incomplete data of the starting and ending points. However, there are many factors that lead to the lack of information on entering and exiting toll stations in the toll data. Using the lack of information on entering and exiting toll stations as the criterion for judging invalid data may mistakenly delete valid data, resulting in a large deviation in subsequent research. For example, the highway runs through multiple provinces and is interconnected with other highways. Therefore, when studying the data of the highway in a certain province, the vehicle may leave or enter the target highway section through the highway interchange, resulting in the lack of entry and / or departure information. If such toll data is deleted, the data of such travel will be missing.
[0015] In the method of the present application, valid data is determined by toll station information and gantry information in the target section of the expressway, valid data is extracted from the original data, and abnormal data is discarded to achieve the purpose of data cleaning. This avoids the problem of accidental deletion of valid data, and can fully retain the travel information of the vehicle and achieve data cleaning.
[0016] For toll data with complete entry and exit times, since it contains the information of entering the toll station and exiting the toll station, it can be judged as valid data and recorded, so as to extract valid data from the original data and discard invalid data. For toll data with at least one entry and exit time missing, for example, the information of entering the toll station is missing, or the information of exiting the toll station is missing, or the information of entering the toll station and exiting the toll station are both missing, the exit node and / or the entry node can be determined based on the toll data of the toll gantry. If the missing exit node and / or entry node can be determined, the toll data can be judged as valid data and recorded as valid data, so as to extract valid data from the original data and discard invalid data.
[0017] In the present application, the exit node and the entry node are nodes for entering or exiting the target road section outside the toll station in the target road section.
[0018] In some embodiments, the nodes for entering or exiting the target road section outside the toll station include the highway interconnection node and the provincial boundary node in the target road section. For example, a vehicle may enter or exit the target road section from the highway interconnection node, so that the toll station of the target road section fails to record the corresponding information. Alternatively, a vehicle may enter or exit the target road section from the provincial boundary node, so that the toll station of the target road section fails to record the corresponding information.
[0019] Take the highway connecting Beijing and Tianjin as an example. If a vehicle enters the Beijing section of the highway from Tianjin, the toll data of the Beijing section of the highway will lack the information of the vehicle entering the toll station. If the vehicle enters the Beijing section and then leaves the highway from the highway interchange node, the toll data of the Beijing section of the highway will also lack the information of the vehicle leaving the toll station.
[0020] Alternatively, if a vehicle leaves the Beijing section of the expressway and enters Tianjin, the toll data for the Beijing section of the expressway will lack the information about the vehicle exiting the toll station. If the vehicle enters the expressway from an expressway interchange node, the toll data for the Beijing section of the expressway will also lack the information about the vehicle entering the toll station.
[0021] There are also toll gantries on the highway. In order to facilitate non-stop billing, toll gantries are set up near nodes such as highway interchanges and provincial boundaries. For valid data, the vehicle's entry node or exit node can be determined based on the toll information of the toll gantries. Therefore, if the exit node and / or entry node can be determined based on the toll data of the toll gantries, then the toll data is valid data.
[0022] In some embodiments, at least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entrance node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data, including: the toll data has the time of entering the toll station. When the time of exiting the toll station is missing, if the last gantry in the toll data is the gantry closest to the highway interchange node or provincial boundary node in front, then the highway interchange node or provincial boundary node closest to the last gantry is the exit node of the toll data, and the toll data is valid data. The toll data with missing entrance and exit times includes at least one gantry information, that is, the vehicle passes through at least one gantry in the target section and is recorded by the gantry. After the vehicle enters the target section from the toll station, if it exits the target section from the highway interchange node or provincial boundary node, the highway interchange node or provincial boundary node that the vehicle exits will be recorded by the gantry, and the last gantry in the toll data of the vehicle is the gantry closest to the highway interchange node or provincial boundary node that it exits.
[0023] In some embodiments, when the toll data has the time of entering the toll station but lacks the time of exiting the toll station, if there are other gantries between the last gantry in the toll data and the nearest highway interchange node or provincial boundary node in front, the toll data is abnormal data.
[0024] In this application, the front refers to the direction of the front of the vehicle, and the rear refers to the direction of the rear of the vehicle.
[0025] In some embodiments, at least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entry node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data, including: when the toll data has the time of exiting the toll station and the time of entering the toll station is missing, if the first gantry in the toll data is the gantry closest to the highway interchange node or provincial boundary node behind, then the highway interchange node or provincial boundary node closest to the first gantry is the entry node of the toll data, and the toll data is valid data. The toll data with missing entrance and exit times includes at least one gantry information, that is, the vehicle passes through at least one gantry in the target section and is recorded by the gantry. After the vehicle enters the target section from the highway interchange node or provincial boundary node, the vehicle will be recorded by the gantry, and the first gantry in the toll data of the vehicle is the gantry closest to the highway interchange node or provincial boundary node after entering the target section.
[0026] In some embodiments, when the toll data has the time of exiting the toll station but lacks the time of entering the toll station, if there are other gantries between the first gantry in the toll data and the nearest high-speed interchange node or provincial boundary node behind, the toll data is abnormal data. Alternatively, if there are other gantries between the last gantry in the toll data and the nearest high-speed interchange node or provincial boundary node in front, the toll data is abnormal data.
[0027] In some embodiments, if at least one of the entrance and exit times of the toll data is missing, if the exit node and / or the entry node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data, including: when the toll data is missing the time of exiting the toll station and the time of entering the toll station, if the toll data only includes one gantry, and the gantry is the only gantry between two adjacent nodes, and the nodes include high-speed interchange nodes and provincial boundary nodes, then the nodes adjacent to both sides of the gantry are the entry node and exit node of the toll data, and the toll data is valid data; otherwise, the toll data is abnormal data. The target road section is generally equipped with multiple gantries. When the toll data of the target road section only includes one gantry for the vehicle, and the gantry is the only gantry between two adjacent nodes, it can be considered that the vehicle enters from one of the two adjacent nodes and exits from the other. For example, there is only a first gantry between the provincial boundary node and the first expressway interchange node. If the charging data of the vehicle only includes the first gantry, that is, it is only recorded by the first gantry, and not recorded by other gantries on the target section, such as the second gantry, the third gantry, etc., then it can be considered that the vehicle enters the target section from one of the provincial boundary node and the first expressway interchange node, and exits the target section from the other. The vehicle's driving direction can be determined based on the charging data of the gantry, so the entry node and the exit node can be determined. For example, if the charging data of the first gantry determines that the vehicle enters the target section from the provincial boundary, then the vehicle enters from the provincial boundary node and exits from the first expressway interchange node. Conversely, the vehicle enters the target section from the provincial boundary node and exits the target section from the first expressway node.
[0028] In some embodiments, when the toll data lacks the time of exiting the toll station and the time of entering the toll station, if the toll data includes at least two gantries, and the first gantry in the toll data is the gantry closest to the high-speed interchange node or provincial boundary node behind, and the last gantry in the toll data is the gantry closest to the high-speed interchange node or provincial boundary node in front, then the high-speed interchange node or provincial boundary node closest to the first gantry is the entry node of the toll data, and the high-speed interchange node or provincial boundary node closest to the last gantry is the exit node of the toll data, and the toll data is valid data; otherwise, the toll data is abnormal data. The target road section is generally provided with multiple gantries. When the toll data of the target road section includes at least two gantries, if the first gantry in the toll data is the gantry closest to the high-speed interchange node or provincial boundary node behind, it can be considered that the vehicle enters from the high-speed interchange node or provincial boundary node behind the first gantry, and the node can be used as the starting point of the vehicle in the target road section. After the vehicle enters from the node, it is recorded by the first gantry. If the last gantry in the toll data is the gantry closest to the highway interchange node or provincial boundary node ahead, it can be considered that the vehicle exited from the highway interchange node or provincial boundary node in front of the last gantry, and this node can be used as the end point of the vehicle on the target section.
[0029] For example, there are a first gantry and a second gantry between the provincial boundary node and the first expressway interchange node, the first gantry is close to the provincial boundary node, and the second gantry is close to the first expressway interchange node. If the first gantry in the vehicle's charging data is the first gantry and the last gantry is the second gantry, it can be considered that the vehicle enters the target section from the provincial boundary node and exits the target section from the first expressway interchange node. If the first gantry in the vehicle's charging data is the second gantry and the last gantry is the first gantry, it can be considered that the vehicle enters the target section from the first expressway interchange node and exits the target section from the provincial boundary node.
[0030] In some embodiments, the method of the embodiment of the present application further includes: determining the starting and ending points of each valid data. The valid data can determine the nodes where the vehicle enters or exits the target section, thereby determining the starting and ending points of the vehicle on the target section.
[0031] The starting and ending points of the toll data with complete entry and exit times are the toll station for entering the target road section and the toll station for exiting the target road section. If the toll data includes the toll stations for entering and exiting the target road section, the starting point is the toll station for entering the target road section, and the end point is the toll station for exiting the target road section.
[0032] The starting point of valid data with the time of entering the toll station but missing the time of exiting the toll station is the toll station entering the target section, and the end point is the nearest exit node in front of the last gantry in the valid data. For valid data missing from the toll station, the node where the vehicle exits the target section can be determined based on the gantry, and this node is the end point of the vehicle's journey on the target section. The node where the vehicle exits can be a highway interchange node or a provincial boundary node.
[0033] The starting point of valid data with the time of exiting the toll station but missing the time of entering the toll station is the nearest entry node behind the first gantry in the valid data, and the end point is the toll station exiting the target section. For valid data missing the entry toll station, the node where the vehicle enters the target section can be determined based on the gantry, and this node is the starting point of the vehicle's journey on the target section. The node entered by the vehicle can be a highway interchange node or a provincial boundary node.
[0034] In valid data with missing entrance and exit times, if the valid data includes at least two gantries, the starting point is the nearest entry node behind the first gantry, and the end point is the nearest exit node in front of the last gantry. For valid data missing for both entry and exit toll stations, the node where the vehicle enters the target section can be determined based on the first gantry in the valid data, and this node is the starting point of the vehicle's journey on the target section. The node where the vehicle exits the target section can be determined based on the last gantry in the valid data, and this node is the end point of the vehicle's journey on the target section. The nodes where the vehicle enters and exits can be high-speed interchange nodes or provincial boundary nodes.
[0035] For valid data with missing entry and exit times, if the valid data only includes one gantry, the starting point is the nearest entry node behind the gantry, and the end point is the nearest exit node in front of the gantry. For valid data with missing entry and exit toll stations, the nodes where the vehicle enters and exits the target section can be determined based on the unique gantry, which are used as the starting point and end point of the vehicle's journey on the target section. The node entered by the vehicle can be a high-speed interchange node or a provincial boundary node.
[0036] In some embodiments, the method of the embodiment of the present application further includes: analyzing the travel characteristics of the target road section based on the valid data, the travel characteristics include travel type, travel time, travel duration and travel space. The charging data includes the start and end time, and the travel time and travel duration of each vehicle on the target road section can be determined, and the travel type and travel space can be analyzed based on the start and end points.
[0037] For valid data missing from the entrance and exit time, the time when the vehicle enters and / or leaves the target section can be determined based on the time information in the toll data recorded by the corresponding gantry. For example, the time recorded by the corresponding gantry can be directly used as the time when the vehicle enters and / or leaves the target section. Alternatively, the time from the gantry to the entry node or exit node can be calculated based on the distance from the gantry to the entry node or exit node and the speed of the vehicle, and the calculated time can be subtracted or added to the time recorded by the corresponding gantry as the entry time or exit time.
[0038] An embodiment of the present application provides a highway travel data processing device. The device of the embodiment of the present application can implement the method of the above-mentioned embodiment. The above-mentioned method embodiment can be used to understand the device of the embodiment of the present application, and the description part of the embodiment of the following device can also be used to understand the method of the above-mentioned embodiment.
[0039] See also Figure 2The highway travel data processing device of the embodiment of the present application includes an acquisition module and a processing module. The acquisition module is used to acquire the toll data of the target section of the highway, and the toll data includes the toll data of the toll station and the toll data of the toll gantry; the processing module is used to record the toll data with complete entry and exit time as valid data, and the entry and exit time is the time of entering the toll station and the time of exiting the toll station; if at least one of the entry and exit times of the toll data is missing, if the exit node and / or the entry node can be determined according to the toll data of the toll gantry, the toll data is recorded as valid data, and the exit node and the entry node are the nodes entering or exiting the target section outside the toll station in the target section; the valid data is retained, and other toll data other than the valid data is deleted as abnormal data.
[0040] An embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above methods when executing the computer program.
[0041] See also Figure 3 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the electronic device 600 may include: at least one processor 601 , at least one network interface 604 , a user interface 603 , a memory 605 , and at least one communication bus 602 .
[0042] The communication bus 602 is used to realize the connection and communication between these components.
[0043] The user interface 603 may include a display screen (Display) and a camera (Camera). The optional user interface 603 may also include a standard wired interface and a wireless interface.
[0044] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0045] Among them, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts of the entire electronic device 600, and executes various functions and processes data of the electronic device 600 by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (ProgrammableLogic Array, PLA). The processor 601 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 601, and it can be implemented separately through a chip.
[0046] Among them, the memory 605 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 605 may optionally be at least one storage device located away from the aforementioned processor 601. As Figure 3 As shown, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program.
[0047] exist Figure 3In the electronic device 600 shown, the user interface 603 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 601 can be used to call the application stored in the memory 605 and specifically perform the operations of any of the above method embodiments.
[0048] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0049] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the methods recorded in the above method embodiments.
[0050] Those skilled in the art can clearly understand that the technical solution of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0051] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, 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 the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0052] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0053] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, 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, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0054] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0055] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0056] 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 memory. Based on this understanding, the technical solution of the present application is essentially 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 memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0057] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0058] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for processing highway travel data, characterized in that: include: Acquire toll data of a target section of a highway, wherein the toll data includes toll data of a toll station and toll data of a toll gantries; Record the toll collection data with complete entry and exit time as valid data, where the entry and exit time refers to the time of entering the toll station and the time of exiting the toll station; At least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entry node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data. The exit node and the entry node are nodes for entering or exiting the target road section outside the toll station in the target road section. The valid data is retained, and other charging data other than the valid data is deleted as abnormal data.
2. The method according to claim 1, characterized in that The nodes for entering or exiting the target road section outside the toll station include the expressway interchange nodes and provincial boundary nodes in the target road section.
3. The method according to claim 2, characterized in that At least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entrance node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data, including: When the toll data has the time of entering the toll station but lacks the time of exiting the toll station, if the last gantry in the toll data is the gantry closest to the highway interchange node or provincial boundary node in front, then the highway interchange node or provincial boundary node closest to the last gantry is the exit node of the toll data, and the toll data is valid data; If there are other gantries between the last gantry in the toll data and the nearest high-speed interchange node or provincial boundary node ahead, the toll data is abnormal data.
4. The method according to claim 3, characterized in that At least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entrance node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data, including: When the toll data has the time of exiting the toll station but lacks the time of entering the toll station, if the first gantry in the toll data is the gantry closest to the highway interchange node or provincial boundary node behind it, then the highway interchange node or provincial boundary node closest to the first gantry is the entry node of the toll data, and the toll data is valid data; If there are other gantries between the first gantry in the toll data and the nearest high-speed interchange node or provincial boundary node behind it, the toll data is abnormal data.
5. The method according to claim 4, characterized in that At least one of the entrance and exit times of the toll data is missing. If the exit node and / or the entrance node can be determined based on the toll data of the toll gantry, the toll data is recorded as valid data, including: When the toll data lacks the time of exiting and entering the toll station, if the toll data only includes one gantry, and the gantry is the only gantry between two adjacent nodes, and the nodes include a high-speed interchange node and a provincial boundary node, then the nodes adjacent to both sides of the gantry are the entry node and exit node of the toll data, and the toll data is valid data; otherwise, the toll data is abnormal data; When the toll data lacks the time of exiting and entering the toll station, if the toll data includes at least two gantries, and the first gantry in the toll data is the gantry closest to the highway interchange node or provincial boundary node behind, and the last gantry in the toll data is the gantry closest to the highway interchange node or provincial boundary node in front, then the highway interchange node or provincial boundary node closest to the first gantry is the entry node of the toll data, and the highway interchange node or provincial boundary node closest to the last gantry is the exit node of the toll data, and the toll data is valid data; otherwise, the toll data is abnormal data.
6. The method according to claim 1, characterized in that Also includes: Determine the starting and ending points of each valid data; in The starting and ending points of the toll collection data with complete entry and exit times are the toll station for entering the target road section and the toll station for exiting the target road section respectively; The starting point of the valid data with the time of entering the toll station but missing the time of exiting the toll station is the toll station entering the target road section, and the end point is the nearest exit node in front of the last gantry in the valid data; The starting point of the valid data with the time of exiting the toll station but missing the time of entering the toll station is the nearest entry node behind the first gantry in the valid data, and the end point is the toll station of the target road section; For valid data with missing entry and exit times, if the valid data includes at least two gantries, the starting point is the nearest entry node behind the first gantry, and the end point is the nearest exit node in front of the last gantry; if the valid data only includes one gantry, the starting point is the nearest entry node behind the gantry, and the end point is the nearest exit node in front of the gantry.
7. The method according to claim 6, characterized in that Also includes: The travel characteristics of the target road section are analyzed based on the valid data, and the travel characteristics include travel type, travel time, travel duration and travel space.
8. A highway travel data processing device, characterized in that: include: An acquisition module, used to acquire toll data of a target section of a highway, wherein the toll data includes toll data of a toll station and toll data of a toll gantries; A processing module is used to record the toll data with complete entrance and exit time as valid data, wherein the entrance and exit time is the time of entering the toll station and the time of exiting the toll station; if at least one of the entrance and exit time of the toll data is missing, if the exit node and / or the entry node can be determined according to the toll data of the toll gantry, then the toll data is recorded as valid data, wherein the exit node and the entry node are nodes for entering or exiting the target road section outside the toll station in the target road section; The valid data is retained, and other charging data other than the valid data is deleted as abnormal data.
9. A computer-readable storage 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 7 is implemented.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Expressway portal data sharing system
CN110853161A
Highway travel time prediction method based on VAE and deep learning combination model
CN113065684A
Vehicle travel information extraction method based on highway ETC data fusion
CN115830729A
Analysis method and device for suspected entrance and non-exit of vehicle, electronic equipment and medium
CN117218852A
Method, device and equipment for calculating cross-regional travel volume of high-speed passenger car and medium
CN117671975A
