CN110969886A - Bus flow determination method and device and electronic equipment - Google Patents

Bus flow determination method and device and electronic equipment Download PDF

Info

Publication number
CN110969886A
CN110969886A CN201811140380.3A CN201811140380A CN110969886A CN 110969886 A CN110969886 A CN 110969886A CN 201811140380 A CN201811140380 A CN 201811140380A CN 110969886 A CN110969886 A CN 110969886A
Authority
CN
China
Prior art keywords
bus
road
track
driving
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811140380.3A
Other languages
Chinese (zh)
Inventor
王猛
王茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Beijing Gaode Yuntu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gaode Yuntu Technology Co ltd filed Critical Beijing Gaode Yuntu Technology Co ltd
Priority to CN201811140380.3A priority Critical patent/CN110969886A/en
Publication of CN110969886A publication Critical patent/CN110969886A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for determining a bus flow and electronic equipment, wherein the method comprises the following steps: acquiring a bus running track of a bus in at least one preset time period; matching the bus running track with a road in a preset electronic map to obtain the bus running track of the bus running on the road in the time period; and determining the public communication of each road according to the bus running track of the bus running on each road in the time period, wherein the public communication is used for representing the running state of the bus running on each road in the time period. According to the scheme of the embodiment of the invention, the public communication on the road can be rapidly and accurately determined.

Description

Bus flow determination method and device and electronic equipment
Technical Field
The present application relates to the field of data analysis technologies, and in particular, to a method and an apparatus for determining a bus flow, and an electronic device.
Background
The bus is an important transportation tool in the field of public travel. The analysis of the running condition of the bus on the road is helpful for a traffic management department to master the running state of the bus and optimize the bus route.
Disclosure of Invention
The invention provides a method and a device for determining public traffic flow and electronic equipment, which can quickly and accurately determine public traffic on a road.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a method for determining a bus flow is provided, including:
acquiring a bus running track of a bus in at least one preset time period;
matching the bus running track with a road in a preset electronic map to obtain the bus running track of the bus running on the road in the time period;
and determining the public communication of each road according to the bus running track of the bus running on each road in the time period, wherein the public communication is used for representing the running state of the bus running on each road in the time period.
In a second aspect, a bus flow determination device is provided, including:
the bus track acquisition module is used for acquiring the bus running track of the bus in at least one preset time period;
the bus track matching module is used for matching the bus running track with a road in a preset electronic map to obtain the bus running track of the bus running on the road in the time period;
and the public communication determining module is used for determining the public communication of each road according to the public communication travel track of the buses traveling on each road in the time period, and the public communication is used for representing the traveling state of the buses traveling on each road in the time period.
In a third aspect, an electronic device is provided, including:
a memory for storing a program;
and the processor is coupled to the memory and used for executing the program, and the bus flow determining method is executed when the program runs.
The invention provides a method, a device and electronic equipment for determining a bus flow, which are characterized in that after a bus running track of a bus in at least one preset time period is obtained, the bus running track is matched with a road in a preset electronic map, and the bus running track of the bus running on the road in the time period is obtained; and then, determining the public communication of each road according to the bus running track of the bus running on each road in the time period. The bus flow is used for representing the driving state of the bus driving on each road in the time period. The technical scheme provided by the invention realizes the rapid and accurate determination of public communication on the roads based on the matching result of the public transport driving track and the roads in the electronic map, and can help the traffic management department to master the running state of the buses in time and optimize the bus route because the traffic flow obtained by the invention represents the driving state of the buses driven on each road in a certain time period.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a schematic diagram of a bus flow determination logic according to an embodiment of the invention;
FIG. 2 is a block diagram of a bus flow determination system according to an embodiment of the present invention;
fig. 3 is a first flowchart of a bus flow determination method according to an embodiment of the present invention;
fig. 4a is a flow chart of a bus flow determination method according to an embodiment of the present invention;
FIG. 4b is a schematic diagram of a bus driving track and a map grid according to an embodiment of the present invention;
fig. 4c is a third flow chart of the bus flow determination method according to the embodiment of the invention;
fig. 5 is a fourth flowchart of a bus flow determination method according to an embodiment of the present invention;
fig. 6 is a first structure diagram of a bus flow determination device according to an embodiment of the present invention;
fig. 7 is a second structure diagram of the bus flow determination device according to the embodiment of the invention;
fig. 8 is a third structural diagram of a bus flow determination device according to an embodiment of the present invention;
fig. 9 is a fourth structural diagram of a bus flow determination device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic diagram of a bus flow determination logic according to an embodiment of the present invention. As shown in fig. 1, the bus flow determination logic mainly includes:
acquiring a bus driving track generated when a bus drives on a road from bus data, wherein the bus driving track comprises a series of position points returned when the bus drives on the road, and the position points at least comprise longitude and latitude coordinates and time; the running length of one bus running track can be obtained through the sum of the distances between every two adjacent position points in the bus running track, and the running duration of the bus running track can be obtained through calculating the difference of the time in the head position point and the tail position point;
matching the bus running track with a road in a preset electronic map to obtain the bus running track of a bus running on the road;
and determining the public communication of each road according to the bus running track of the bus running on each road, wherein the public communication is used for representing the running state of the bus running on each road.
In a specific implementation, if the preset electronic map is divided into two or more map grids (as shown in fig. 4b, one grid is a frame), the process of matching the bus driving track with the road in the preset electronic map includes: a bus running track is broken into a plurality of bus running track sections through a preset map grid of an electronic map, wherein one section of the bus running track falling into one map grid is a bus running track section corresponding to the map grid, and the bus running track sections are matched with road sections in the corresponding map grid, so that the bus running track sections of buses running on each road section are obtained.
The public communication of each road is determined by adopting the following two technical schemes:
the first scheme is as follows: and aggregating the bus driving track sections according to the roads to obtain the total driving length and the total driving time of the buses driven on each road, and further obtaining the bus flow of each road.
Specifically, according to the road to which the road section belongs, the bus driving track sections of the buses driving on the road section belonging to the same road are aggregated to obtain the bus driving tracks of all the buses driving on the road; determining the total driving length and the total driving time of the buses driving on each road according to the bus driving track of the buses driving on each road; and finally, obtaining the bus flow of each road according to the total driving length and the total driving time of the buses driven on each road.
Scheme II: determining the total driving length and the total driving time of buses driving on each road section in the map grid to obtain the bus flow of the road section, and then aggregating the road sections according to the roads to obtain the bus exchange on each road.
Specifically, the total driving length and the total driving time of the buses driven on each road section are determined according to the bus driving track sections of the buses driven on each road section; obtaining the bus flow of each road section according to the total driving length and the total driving time of the buses driving on each road section; and according to the roads to which the road sections belong, carrying out weighted summation on the public traffic flows of the road sections belonging to the same road to obtain the public traffic flows of the roads.
Based on the schematic diagram of the bus flow determination logic shown in fig. 1, fig. 2 is a structural diagram of a bus flow determination system provided by the embodiment of the invention. As shown in fig. 2, the system includes: a bus database 210, an electronic map database 220, and a bus flow determination device 230. Wherein:
the bus database 210 is configured to store bus data generated during a bus running process, and may include bus running tracks, bus route names, and the like.
An electronic map database 220 for storing an electronic map including at least road data including names of roads, location points of the roads, and the like.
As described above, if the preset electronic map is divided into two or more map grids, the roads in the electronic map are cut by the preset map grids to form a plurality of road segments.
And the public communication determining device 230 is configured to match the bus driving trajectory of the bus within at least one preset time period acquired from the bus database 210 with the roads in the electronic map stored in the electronic map database 220, and determine public communication of each road according to a matching result. The bus flow determined by the method is used for representing the driving state of the bus driving on each road in the time period. For example, the bus flow may be the driving speed of the bus, and the driving speed reflects the speed of the bus on the road.
The technical solution of the present application is further illustrated by the following examples.
Example one
Based on the above concept of the bus traffic determination scheme, as shown in fig. 3, it is a first flowchart of a bus traffic determination method according to an embodiment of the present invention, and an execution subject of the method is a bus traffic determination device 230 shown in fig. 2. As shown in fig. 3, the method for determining the bus flow includes the following steps:
s310, acquiring the bus running track of the bus in at least one preset time period.
The bus driving track comprises a bus, a server, a vehicle-mounted positioning device, a server, a bus driving track and a bus driving track, wherein in the driving process of the bus, the position point of the bus on the road can be obtained through the vehicle-mounted positioning device, the position point can be transmitted back to the server through a network, and the bus driving track is formed by a series of position points transmitted back to the server in the driving process of one time.
Generally, there are some noise points in the position points returned to the server, where the noise point is a position point with a large difference between the position point of the bus obtained by the positioning device and the actual position of the bus, and if the position point in the obtained bus driving track is not processed in advance to remove the noise point, the obtained bus driving track may be denoised based on the following characteristic indexes, otherwise, the method may directly enter step S320:
the speed is that the running speed of the bus cannot exceed 60KM/h under the theoretical condition, if the average speed between two adjacent position points in a bus running track exceeds 60KM/h, noise exists in the two position points, and generally, one position point generated later in the two position points can be considered as the noise and deleted;
as described above, the position points in the bus driving track include time in addition to the longitude and latitude coordinates, so that the bus driving track of the bus can be acquired according to the preset time period when the bus driving track is acquired. For example, the preset time period is 10:00-22:00, and the bus driving track of the bus driving in the time period is to be acquired, so that the acquisition of the bus driving track can be completed by judging whether the time contained in the first position point in the bus driving track falls into the preset time period. Of course, if the bus driving track from 10 to 22 is to be acquired, it needs to be determined whether a time period formed by the time included in the first position point and the time included in the last position point in the bus driving track falls into the preset time period, so as to complete the acquisition of the bus driving track. The invention is not limited in any way based on the specific rule of the bus running track required to be acquired in the preset time period, and the technical personnel in the field can specifically set the rule according to the requirement without influencing the implementation of the invention.
And S320, matching the bus running track with a road in a preset electronic map to obtain the bus running track of the bus running on the road in the time period.
S330, determining the public communication of each road according to the bus running track of the bus running on each road in the time period, wherein the bus flow is used for representing the running state of the bus running on each road in the time period.
After the bus running track of the bus running on each road in the time period is obtained, the running state of the bus running on each road can be determined. Such as the total travel length, the total travel duration, the travel speed, etc. of the bus during the time period. In a specific implementation, one or more parameters for representing the driving state of the bus driving on each road within a certain time period can be determined as the public communication of the corresponding road.
Example two
As shown in fig. 4a, a second flowchart of a bus flow determination method according to an embodiment of the present invention is shown. The difference between this embodiment and the method shown in fig. 3 is that this embodiment adopts a preferred implementation of matching the bus driving track with the road in the electronic map. As shown in fig. 4a, after step S310 of the present embodiment, the following steps are performed:
s410, the bus running track is interrupted through the preset map grids of the electronic map, and the bus running track section corresponding to each map grid is obtained, wherein one section of one bus running track falling into the same map grid is the bus running track section corresponding to the map grid.
The preset electronic map in the scheme is divided into at least two map grids in advance. For example, as shown in fig. 4b, a map grid (two grids shown by dotted lines in the figure) refers to a grid with the same shape and size formed by performing mesh segmentation on an electronic map according to a preset grid size, and each grid corresponds to a certain geographic area range. For example, the geographic area coverage for each map grid may be a rectangular area of 50 meters x50 meters.
Accordingly, in the process of gridding the electronic map, the roads (shown by solid lines in fig. 4 b) in the electronic map are also divided into different map grids. A road may be divided into different map grids, where a segment of a road falling into the same map grid is a road segment corresponding to the map grid. A map grid may include road segments of multiple roads.
It should be noted here that there is also a case where one road is in one map grid, and therefore, the road segments included in the map grid in the present invention may be a complete road or a part of a road, and in any case, they are collectively referred to as the road segments corresponding to the map grid.
Since the geographic area range corresponding to each map grid is known, and the bus driving track includes a series of position points, as shown in fig. 4b, the bus driving track can be interrupted by the map grid of the electronic map to obtain a bus driving track section corresponding to each map grid, wherein one section of the bus driving track (shown by scattered points in fig. 4 b) falling into the same map grid is a bus driving track section corresponding to the map grid. Each bus driving track is divided into one or more bus driving track sections by the map grid. A plurality of bus driving track sections can also be included in one map grid.
And S420, matching the bus driving track section with the road section in the corresponding map grid to obtain the bus driving track section of the bus driving on each road section in the preset time period.
That is, the bus travel track segment in the same map grid is matched with the road segment by taking the map grid as a unit, so as to obtain the bus travel track segment of the bus traveling on each road segment in the time period.
Specifically, matching the bus travel track segment with the road segment in the corresponding map grid to obtain the bus travel track segment of the bus traveling on each road segment within the preset time period may include:
the direction of the bus driving track section is matched with the direction of the road section in the corresponding map grid, so that the bus driving track of the bus driving on each road section in the time period is obtained, wherein whether the directions are matched can be judged through whether the two parameters of the distance and the direction are matched.
Specifically, for a bus driving track section and a road section in the same map grid, based on a shape point (including longitude and latitude coordinates) of a road and a position point of a bus driving track, the bus driving track section located at the periphery of the road section is extracted, then, the distance between the road section and the bus driving track section at the periphery of the road section is obtained, the bus driving track section with the minimum distance is selected, whether the angle difference between the selected bus driving track section and the whole direction of the road section is smaller than a preset angle or not is judged, whether the length of the bus driving track section is larger than a preset length or not is judged, and if yes, the bus driving track section is determined to be the bus driving track section of a bus driving on the road section.
And S430, according to the roads to which the road sections belong, aggregating the bus running track sections of the buses running on the road sections belonging to the same road to obtain the bus running tracks of the buses running on the roads in the time period.
Specifically, after the bus driving track sections of the buses driving on the road sections are determined, the bus driving track sections of the buses driving on the road sections belonging to the same road can be aggregated, so that the bus driving tracks of the buses driving on the roads in the time period can be obtained.
After step S430, step S330 may be continued.
The method provided by the second embodiment of the present invention is based on the method shown in the first embodiment, and the map grid is used as an index unit, the obtained bus driving track is mapped to the map grid, a bus driving track segment corresponding to each map grid is obtained, then the bus driving track segment is matched with a road segment in the same map grid, a bus driving track segment on each road segment is obtained, and then the bus driving tracks of buses driving on different roads are quickly obtained.
Further, the present invention provides another preferred embodiment based on the method provided in fig. 4a, and the difference between this embodiment and the embodiment shown in fig. 4a is that step S330 may adopt the preferred technical solution shown in fig. 4c, and specifically includes:
and S440, determining the total driving length and the total driving time of the buses driven on each road according to the bus driving track of the buses driven on each road in the time period.
As shown in fig. 4b, the bus driving track is formed by a series of position points, the position points may correspondingly include longitude and latitude coordinates and time, the driving length of a bus driving track may be obtained by a sum of distances between each adjacent position point in the bus driving track, and the driving duration of a bus driving track may be obtained by differencing the time in the head and tail position points.
After the running length and the running time of each bus running track are obtained, the running length and the running time of the bus running tracks of the buses running on the same road are added respectively, so that the total running length and the total running time of the buses running on each road are obtained.
S450, obtaining the bus flow of each road according to the total driving length and the total driving time of the buses driving on each road.
For example, the ratio of the total travel length of the buses running on each road to the total travel time, i.e., the travel speed, may be used as the public traffic of the corresponding road.
The embodiment is based on the embodiment shown in fig. 4a, and further determines the total driving length and the total driving time length of the buses driving on each road through the bus driving track of the buses driving on each road; then, the bus flow of each road is obtained according to the total driving length and the total driving time of the bus driving on each road, for example, the driving speed of the bus driving on each road represents the driving speed state of the bus on the road.
EXAMPLE III
As shown in fig. 5, a fourth flowchart of a bus flow determination method according to an embodiment of the present invention is shown. The difference between this embodiment and the method shown in fig. 3 is that this embodiment adopts a joint preferred embodiment of matching the bus driving trajectory with the roads in the electronic map and determining the bus communication of each road according to the bus driving trajectory of the bus driving on each road in the time period. As shown in fig. 5, after step S310 of the present embodiment, the following steps are performed:
s510, the bus running tracks are interrupted through the preset map grids of the electronic map, and the bus running track section corresponding to each map grid is obtained, wherein one section of one bus running track falling into the same map grid is the bus running track section corresponding to the map grid.
S520, matching the bus driving track section with the road section in the corresponding map grid to obtain the bus driving track section of the bus driving on each road section in the preset time period.
Steps S510 to S520 are the same as steps S410 to S420, and are not described herein again.
S530, determining the total driving length and the total driving time of the buses driving on each road section according to the bus driving track sections of the buses driving on each road section in the time period.
As shown in fig. 4b, the bus driving track is formed by a series of position points, the position points may correspondingly include longitude and latitude coordinates and time, the driving length of a bus driving track may be obtained by a sum of distances between each adjacent position point in the bus driving track, and the driving duration of a bus driving track may be obtained by differencing the time in the head and tail position points.
After the bus running track sections of the buses running on each road section are obtained, the running length and the running time of the bus running track sections of the buses running on the same road section are added respectively, so that the total running length and the total running time of the buses running on each road section are obtained.
And S540, obtaining the public communication of each road section according to the total driving length and the total driving time of the buses driven on each road section.
For example, the ratio of the total travel length to the total travel time of the buses traveling on each road segment, i.e., the travel speed, may be used as the public communication of the corresponding road segment.
And S550, carrying out weighted summation on the bus flows of the road sections belonging to the same road according to the roads belonging to the road sections to obtain the bus flows of the roads.
Specifically, the weight coefficient of each road segment included in each road may be set according to a length ratio between the road segments, where the longer the road segment length, the larger the corresponding weight coefficient. Then, the bus flows of all road sections belonging to the same road are subjected to weighted summation, so that the bus flow of the corresponding road is obtained, such as the running speed of a bus running on the road.
On the basis of the embodiment shown in fig. 3, in the embodiment, further, a bus running track is interrupted through a preset map grid of an electronic map, a bus running track segment corresponding to each map grid is obtained, the bus running track segment is matched with a road segment in the corresponding map grid, and a bus running track segment of a bus running on each road segment within a preset time period is obtained; determining the total driving length and the total driving time of the buses driven on each road section according to the bus driving track sections of the buses driven on each road section; then, obtaining the public communication of each road section, such as the running speed of the bus running on each road section, according to the total running length and the total running duration of the bus running on each road section; and finally, according to the roads to which the road sections belong, carrying out weighted summation on the bus flows of the road sections belonging to the same road to obtain the bus flow of each road, wherein the driving speed represents the driving speed of the bus on the road, such as the driving speed of the bus on each road.
Example four
As shown in fig. 6, a first structure of a bus flow determination device according to an embodiment of the present invention is a structure diagram of a bus flow determination device, which can be disposed in the bus flow determination system shown in fig. 2, and is configured to execute the method steps shown in fig. 3, where the method includes:
the bus track acquiring module 610 is used for acquiring a bus running track of a bus in at least one preset time period;
the bus track matching module 620 is used for matching the bus running track with a road in a preset electronic map to obtain the bus running track of the bus running on the road in a time period;
the public communication determining module 630 is configured to determine public communication of each road according to a public communication travel track of a bus traveling on each road in a time period, where the public communication flow is used to represent a traveling state of the bus traveling on each road in the time period.
Furthermore, the preset electronic map can be divided into at least two map grids;
correspondingly, as shown in fig. 7, the bus track matching module 620 may specifically include:
the bus track dividing unit 710 is configured to break a bus running track through a preset map grid of an electronic map to obtain a bus running track segment corresponding to each map grid, where a segment of a bus running track falling into the same map grid is a bus running track segment corresponding to the map grid;
a bus track matching unit 720, configured to match the bus travel track segment with the road segment in the corresponding map grid, to obtain a bus travel track segment of a bus traveling on each road segment within a time period;
the bus track aggregation unit 730 is configured to aggregate bus travel track segments of buses traveling on road segments belonging to the same road according to the roads to which the road segments belong, so as to obtain bus travel tracks of buses traveling on the roads in the time period.
Further, the public communication is used for representing the running speed of the bus running on each road in a time period;
correspondingly, as shown in fig. 8, the public communication determining module 630 may specifically include:
a track parameter determining unit 810, configured to determine, according to a bus travel track of a bus traveling on each road within a time period, a total travel length and a total travel time length of the bus traveling on each road;
the bus flow determining unit 820 is configured to obtain a bus flow of each road according to the total driving length and the total driving duration of the bus driving on each road.
The bus flow determination devices shown in fig. 7 and 8 may correspondingly execute the method steps shown in fig. 4a and 4 c.
Further or alternatively, the preset electronic map is divided into at least two map grids, and the bus flow is used for representing the running speed of the buses running on each road in a time period;
correspondingly, as shown in fig. 9, the bus trajectory matching module and the bus flow determining module may specifically include:
the bus track dividing unit 710 is configured to break a bus running track through a preset map grid of an electronic map to obtain a bus running track segment corresponding to each map grid, where a segment of a bus running track falling into the same map grid is a bus running track segment corresponding to the map grid;
a bus track matching unit 720, configured to match the bus travel track segment with the road segment in the corresponding map grid, to obtain a bus travel track segment of a bus traveling on each road segment within a time period;
a track section parameter determining unit 910, configured to determine, according to a bus travel track section of a bus traveling on each road section within a time period, a total travel length and a total travel time of the bus traveling on each road section;
a track section bus flow determining unit 920, configured to obtain a bus flow of each road section according to a total driving length and a total driving duration of a bus driving on each road section;
the road bus flow determining unit 930 is configured to perform weighted summation on bus flows of road segments belonging to the same road according to the road to which the road segment belongs, so as to obtain a bus flow of the road.
The bus flow determination device shown in fig. 9 may correspondingly perform the method steps shown in fig. 5.
In an actual application scenario, the bus trajectory matching module 620 and the bus flow determination module 630 may be integrally combined into a functional module. In the functional units, the bus trajectory dividing unit 710 and the bus trajectory matching unit 720 may belong to the bus trajectory matching module 620; the trajectory section parameter determining unit 910, the trajectory section bus flow determining unit 920 and the road bus flow determining unit 930 may belong to the bus flow determining module 630.
Further, the bus trajectory matching module 620 may be specifically configured to match the direction of the bus travel trajectory segment with the direction of the road segment in the corresponding map grid, so as to obtain the bus travel trajectory segment of the bus traveling on each road segment in the time period.
After the bus travel track of the bus in at least one preset time period is obtained, the bus travel track is matched with a road in a preset electronic map, and the bus travel track of the bus traveling on the road in the time period is obtained; and then, determining the public communication of each road according to the bus running track of the bus running on each road in the time period. The public traffic flow is used for representing the driving state of the bus driving on each road in the time period, so that the public traffic on the road can be determined quickly and accurately.
Furthermore, the map grids are used as index units, the acquired bus running tracks are mapped into the map grids, bus running track sections corresponding to each map grid are obtained, then the bus running track sections are matched with road sections in China belonging to the same map grid, bus running track sections on each road section are obtained, and therefore the bus running tracks of buses running on different roads are quickly obtained.
Further, determining the total driving length and the total driving time of the buses driven on each road through the bus driving track of the buses driven on each road; then, the bus flow of each road, namely the running speed of the bus running on each road, is obtained according to the total running length and the total running time of the bus running on each road, so that the bus flow information is reflected more conveniently and visually.
Further, determining the total driving length and the total driving time of the buses driven on each road section through the bus driving track section on each road section; then, obtaining the public communication of each road section, namely the running speed of the buses running on each road section according to the total running length and the total running time of the buses running on each road section; then, according to the roads to which the road sections belong, the public traffic flows of the road sections belonging to the same road are subjected to weighted summation to obtain the public traffic flows of the roads, so that public communication is conveniently and quickly obtained.
EXAMPLE five
The foregoing describes an overall architecture of a bus flow determination apparatus, and functions of the apparatus can be implemented by an electronic device, as shown in fig. 10, which is a schematic structural diagram of the electronic device according to an embodiment of the present invention, and specifically includes: a memory 101 and a processor 102.
A memory 101 for storing programs.
In addition to the above-described programs, the memory 101 may also be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and so forth.
The memory 101 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The processor 102, coupled to the memory 101, is configured to execute a program in the memory 101, where the program executes the method for determining the bus flow described in the first to fourth embodiments.
The above specific processing operations have been described in detail in the foregoing embodiments, and are not described again here.
Further, as shown in fig. 10, the electronic device may further include: communication components 103, power components 104, audio components 105, display 106, and other components. Only some of the components are schematically shown in fig. 10, and the electronic device is not meant to include only the components shown in fig. 10.
The communication component 103 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 103 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 103 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The power supply component 104 provides power to various components of the electronic device. The power components 104 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for an electronic device.
The audio component 105 is configured to output and/or input audio signals. For example, the audio component 105 includes a Microphone (MIC) configured to receive external audio signals when the electronic device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 101 or transmitted via the communication component 103. In some embodiments, audio component 105 also includes a speaker for outputting audio signals.
The display 106 includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A bus flow determination method is characterized by comprising the following steps:
acquiring a bus running track of a bus in at least one preset time period;
matching the bus running track with a road in a preset electronic map to obtain the bus running track of the bus running on the road in the time period;
and determining the public communication of each road according to the bus running track of the bus running on each road in the time period, wherein the public communication is used for representing the running state of the bus running on each road in the time period.
2. The method according to claim 1, wherein the preset electronic map is divided into at least two map grids, and the step of matching the bus driving track with the road in the preset electronic map to obtain the bus driving track of the bus driving on the road in the time period specifically comprises:
the bus running track is interrupted through map grids of a preset electronic map, and a bus running track section corresponding to each map grid is obtained, wherein one section of one bus running track falling into the same map grid is a bus running track section corresponding to the map grid;
matching the bus driving track section with the road section in the corresponding map grid to obtain the bus driving track section of the bus driving on each road section in the time period;
and according to the roads to which the road sections belong, aggregating the bus running track sections of the buses running on the road sections belonging to the same road to obtain the bus running tracks of the buses running on the roads in the time period.
3. The method according to claim 2, wherein the public traffic is used for characterizing the driving speed of the bus driving on each road in the time period, and the determining the bus flow of each road according to the bus driving track of the bus driving on each road in the time period specifically comprises:
determining the total driving length and the total driving time of the buses driven on each road according to the bus driving track of the buses driven on each road in the time period;
and obtaining the bus flow of each road according to the total driving length and the total driving time of the buses driving on each road.
4. The method according to claim 1, wherein the preset electronic map is divided into at least two map grids, the public traffic is used for representing the driving speed of the bus driving on each road in the time period, the bus driving track is matched with the road in the preset electronic map, the bus driving track of the bus driving on the road in the time period and the bus driving track of the bus driving on each road in the time period are obtained, and the determining of the bus flow of each road specifically comprises:
the bus running track is interrupted through map grids of a preset electronic map, and a bus running track section corresponding to each map grid is obtained, wherein one section of one bus running track falling into the same map grid is a bus running track section corresponding to the map grid;
matching the bus driving track section with the road section in the corresponding map grid to obtain the bus driving track section of the bus driving on each road section in the time period;
determining the total driving length and the total driving time of the buses driving on each road section according to the bus driving track sections of the buses driving on each road section in the time period;
obtaining the bus flow of each road section according to the total driving length and the total driving time of the buses driving on each road section;
and according to the roads to which the road sections belong, carrying out weighted summation on the public traffic flows of the road sections belonging to the same road to obtain the public traffic flows of the roads.
5. The method according to claim 2 or 4, wherein the matching of the bus travel track segment with the road segment in the corresponding map grid to obtain the bus travel track segment of the bus traveling on each road segment within the time period specifically comprises:
and matching the trend of the bus driving track section with the trend of road sections in the corresponding map grid to obtain the bus driving track section of the bus driving on each road section in the time period.
6. A bus flow determination device, comprising:
the bus track acquisition module is used for acquiring the bus running track of the bus in at least one preset time period;
the bus track matching module is used for matching the bus running track with a road in a preset electronic map to obtain the bus running track of the bus running on the road in the time period;
and the public communication determining module is used for determining the public communication of each road according to the public communication travel track of the buses traveling on each road in the time period, and the public communication is used for representing the traveling state of the buses traveling on each road in the time period.
7. The device of claim 6, wherein the preset electronic map is divided into at least two map grids, and the bus trajectory matching module specifically comprises:
the bus track dividing unit is used for interrupting the bus running track through preset map grids of an electronic map to obtain a bus running track section corresponding to each map grid, wherein one section of one bus running track falling into the same map grid is a bus running track section corresponding to the map grid;
the bus track matching unit is used for matching the bus running track sections with road sections in the corresponding map grids to obtain bus running track sections of buses running on each road section in the time period;
and the bus track aggregation unit is used for aggregating the bus running track sections of the buses running on the road sections belonging to the same road according to the road to which the road sections belong to obtain the bus running tracks of the buses running on the road in the time period.
8. The apparatus according to claim 7, wherein the public traffic flow is used for characterizing a driving speed of a bus driving on each road in the time period, and the public traffic flow determination module specifically includes:
the track parameter determining unit is used for determining the total driving length and the total driving time length of the buses driven on each road according to the bus driving track of the buses driven on each road in the time period;
and the public communication determining unit is used for obtaining the public traffic flow of each road according to the total driving length and the total driving time of the buses driving on each road.
9. The apparatus according to claim 6, wherein the preset electronic map is divided into at least two map grids, the public traffic is used for representing the driving speed of the bus driving on each road in the time period, and the bus track matching module and the bus flow determining module specifically include:
the bus track dividing unit is used for interrupting the bus running track through preset map grids of an electronic map to obtain a bus running track section corresponding to each map grid, wherein one section of one bus running track falling into the same map grid is a bus running track section corresponding to the map grid;
the bus track matching unit is used for matching the bus running track sections with road sections in the corresponding map grids to obtain bus running track sections of buses running on each road section in the time period;
the track section parameter determining unit is used for determining the total driving length and the total driving time length of the buses driven on each road section according to the bus driving track sections of the buses driven on each road section in the time period;
the track section bus flow determining unit is used for obtaining the bus flow of each road section according to the total driving length and the total driving time of the buses driving on each road section;
and the road public traffic determining unit is used for weighting and summing public traffic flows of road sections belonging to the same road according to the road to which the road section belongs to obtain the public traffic flow of the road.
10. An electronic device, comprising:
a memory for storing a program;
a processor, coupled to the memory, for executing the program, which when executed performs the method of determining bus flow of any of claims 1-5.
CN201811140380.3A 2018-09-28 2018-09-28 Bus flow determination method and device and electronic equipment Pending CN110969886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811140380.3A CN110969886A (en) 2018-09-28 2018-09-28 Bus flow determination method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811140380.3A CN110969886A (en) 2018-09-28 2018-09-28 Bus flow determination method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110969886A true CN110969886A (en) 2020-04-07

Family

ID=70027868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811140380.3A Pending CN110969886A (en) 2018-09-28 2018-09-28 Bus flow determination method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110969886A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927873A (en) * 2014-04-28 2014-07-16 中国航天***工程有限公司 Matching method for probe car and road section and method for obtaining real-time traffic status in parallel
CN104318767A (en) * 2014-10-22 2015-01-28 北京建筑大学 Road condition information generating method based on bus global position system (GPS) tracking data
CN105070060A (en) * 2015-08-17 2015-11-18 哈尔滨工业大学 Method for determining urban road traffic state based bus-mounted GPS data
KR20160081051A (en) * 2014-12-30 2016-07-08 주식회사 아이티원 Bus Information System based on short-range wireless communication
CN105894809A (en) * 2014-12-25 2016-08-24 杭州远眺科技有限公司 Sectional type urban road traffic state estimation method
CN105976604A (en) * 2016-06-21 2016-09-28 东南大学 Bus route matching method based on GIS and bus GPS data
CN106781472A (en) * 2016-12-16 2017-05-31 北京世纪高通科技有限公司 A kind of road conditions detection method and device based on public transport car data
CN107545726A (en) * 2016-06-28 2018-01-05 高德软件有限公司 A kind of bus travel speed determines method and device
CN107798865A (en) * 2016-09-07 2018-03-13 高德信息技术有限公司 A kind of public bus network running time predictor method and device
CN107833459A (en) * 2017-10-31 2018-03-23 交通运输部科学研究院 A kind of city bus operation conditions evaluation method based on gps data
CN108021686A (en) * 2017-12-14 2018-05-11 东南大学 A kind of method of public bus network and road network in Rapid matching electronic map

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927873A (en) * 2014-04-28 2014-07-16 中国航天***工程有限公司 Matching method for probe car and road section and method for obtaining real-time traffic status in parallel
CN104318767A (en) * 2014-10-22 2015-01-28 北京建筑大学 Road condition information generating method based on bus global position system (GPS) tracking data
CN105894809A (en) * 2014-12-25 2016-08-24 杭州远眺科技有限公司 Sectional type urban road traffic state estimation method
KR20160081051A (en) * 2014-12-30 2016-07-08 주식회사 아이티원 Bus Information System based on short-range wireless communication
CN105070060A (en) * 2015-08-17 2015-11-18 哈尔滨工业大学 Method for determining urban road traffic state based bus-mounted GPS data
CN105976604A (en) * 2016-06-21 2016-09-28 东南大学 Bus route matching method based on GIS and bus GPS data
CN107545726A (en) * 2016-06-28 2018-01-05 高德软件有限公司 A kind of bus travel speed determines method and device
CN107798865A (en) * 2016-09-07 2018-03-13 高德信息技术有限公司 A kind of public bus network running time predictor method and device
CN106781472A (en) * 2016-12-16 2017-05-31 北京世纪高通科技有限公司 A kind of road conditions detection method and device based on public transport car data
CN107833459A (en) * 2017-10-31 2018-03-23 交通运输部科学研究院 A kind of city bus operation conditions evaluation method based on gps data
CN108021686A (en) * 2017-12-14 2018-05-11 东南大学 A kind of method of public bus network and road network in Rapid matching electronic map

Similar Documents

Publication Publication Date Title
WO2019085807A1 (en) Road condition information acquisition method and device thereof, and storage medium
CN104217592B (en) People flow rate statistical method, equipment and system
US8930123B2 (en) Systems and methods for determining traffic intensity using information obtained through crowdsourcing
CN112863172B (en) Highway traffic running state judgment method, early warning method, device and terminal
US8972178B2 (en) Method of using a computing device to identify an occupied parking spot
US20120316772A1 (en) Navigation system and method for planning route thereof
US11270578B2 (en) Method, apparatus, and system for detecting road closures based on probe activity
CN104884899A (en) Method of determining trajectories through one or more junctions of a transportation network
US10621873B1 (en) Systems and methods for generating geofences
CN112434260B (en) Road traffic state detection method, device, storage medium and terminal
CN113792782A (en) Track monitoring method and device for operating vehicle, storage medium and computer equipment
CN105575155A (en) Method and equipment for determining vehicle driving information
CN113190538A (en) Road construction method and device based on track data, storage medium and terminal
CN114625744A (en) Updating method and device of electronic map
CN110646002B (en) Method and apparatus for processing information
CN113822487A (en) Risk early warning method and device for operating vehicle, storage medium and computer equipment
CN109945880B (en) Path planning method, related equipment and readable storage medium
CN109711743A (en) A kind of wire examination method that construction tunnel vehicle is turned out for work, computer installation and computer readable storage medium
CN107750339B (en) Detecting a context of a user using a mobile device based on wireless signal characteristics
CN109446437B (en) Information mining method, device, server and storage medium
CN110969886A (en) Bus flow determination method and device and electronic equipment
CN110704204A (en) Navigation reminding method and device based on user perception
CN113393011B (en) Method, device, computer equipment and medium for predicting speed limit information
CN114298772A (en) Information display method, device, equipment and storage medium
CN114987494A (en) Driving scene processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200430

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: Room 715, 7th Floor Business, No. 10 Furong Street, Chaoyang District, Beijing, 100102

Applicant before: BEIJING GAODE YUNTU TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200407