CN112133093A - Method and device for rapidly confirming riding path - Google Patents

Method and device for rapidly confirming riding path Download PDF

Info

Publication number
CN112133093A
CN112133093A CN202011010593.1A CN202011010593A CN112133093A CN 112133093 A CN112133093 A CN 112133093A CN 202011010593 A CN202011010593 A CN 202011010593A CN 112133093 A CN112133093 A CN 112133093A
Authority
CN
China
Prior art keywords
path
riding
information
station
preset
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
CN202011010593.1A
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.)
Guangzhou Xinke Jiadu Technology Co Ltd
PCI Suntek Technology Co Ltd
Original Assignee
Guangzhou Xinke Jiadu Technology Co Ltd
PCI Suntek 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 Guangzhou Xinke Jiadu Technology Co Ltd, PCI Suntek Technology Co Ltd filed Critical Guangzhou Xinke Jiadu Technology Co Ltd
Priority to CN202011010593.1A priority Critical patent/CN112133093A/en
Publication of CN112133093A publication Critical patent/CN112133093A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The embodiment of the application discloses a method and a device for quickly confirming a riding path. According to the technical scheme provided by the embodiment of the application, the actual riding path is confirmed by comparing the detected riding traffic information with the preset riding path, when the comparison is consistent, the preset riding path is directly used as the actual riding path, and when the comparison is inconsistent, the actual riding path is identified in a video image or time information matching mode; by adopting the scheme of the embodiment of the application, the recognition speed and the recognition accuracy are greatly improved, the speed of the detection scheme of the actual riding path can be effectively improved, and the popularization of the detection scheme of the actual riding path is facilitated.

Description

Method and device for rapidly confirming riding path
Technical Field
The embodiment of the application relates to the technical field of rail transit, in particular to a method and a device for quickly confirming a riding path.
Background
At present, the existing passenger riding path mainly adopts an AFC system to judge the path of riding and traveling, and only the departure point and the destination point of the riding and traveling can be obtained, but a specific actual traveling path cannot be obtained, and the riding path cannot be accurately judged. When the method of obtaining an accurate path is adopted, a large amount of resources and time are consumed for calculation, and the purpose of rapidness and practicability cannot be achieved. Therefore, it is an urgent technical problem to be solved in the art to design a scheme capable of quickly confirming a riding path.
Disclosure of Invention
The embodiment of the application provides a method and a device for quickly confirming a riding path, which can confirm an actual riding path by adopting a preset riding path, and can accelerate the speed of recognition and confirmation by directly adopting the preset riding path for riding recognition, thereby providing more quick and effective riding data for ticket clearing and route planning.
In a first aspect, an embodiment of the present application provides a method for quickly confirming a riding path, including:
acquiring riding number information and riding traffic information of passengers detected by a traffic gate, wherein the riding traffic information comprises an inbound station and an outbound station;
judging whether a preset riding path is associated in the riding number information, if so, calling the preset riding path to be matched with the riding traffic information so as to determine an actual riding path; if not, executing the next step;
and carrying out accurate path identification on the target passenger through video image matching or time matching to obtain an actual riding path.
Further, the riding traffic information further includes time information, the preset riding path includes a start-stop station, a preset time period and a preset path, the preset time period corresponds to the start-stop station, and the start-stop station includes a preset start point and a preset end point; the calling the preset riding path and the riding traffic information are matched to determine an actual riding path, and the calling comprises the following steps:
judging whether the inbound website is consistent with the preset starting point or not, if so, executing the next step;
judging whether the outbound site is consistent with the preset endpoint or not, and if so, executing the next step;
and judging whether the time information is in a preset time period, and if so, taking the preset path as an actual riding path of the passenger.
Further, the number of the preset riding paths includes four.
Further, the preset riding path is obtained through the following steps:
recording historical traffic information detected by a traffic gate, wherein the historical traffic information comprises historical incoming stations and historical outgoing stations;
counting the number of the same historical traffic information to obtain historical traffic frequency;
and judging whether the historical traffic frequency exceeds a preset frequency, and if so, storing the corresponding historical traffic information in a preset riding path.
Further, the historical traffic information also comprises historical arrival time;
the counting of the number of the same historical traffic information to obtain the historical traffic frequency comprises the following steps:
when the same historical station entering and the same historical station exiting occur, acquiring the time period of the historical station entering time;
and when the belonged time period, the historical entry station and the historical exit station are the same, carrying out quantity statistics on the corresponding historical traffic information to obtain historical traffic frequency.
Further, the accurate path recognition is performed on the target passenger through time matching to obtain an actual riding path, including:
obtaining passenger ticket data passed by a target passenger, and determining od data of the target passenger according to the passenger ticket data; the od data comprises a start station, a start time, an end station and an end time;
determining a plurality of riding paths according to the starting station and the ending station, and determining corresponding predicted outbound time of each riding path according to the plurality of riding paths and the starting time;
and determining the predicted outbound time with the minimum difference value with the termination time, and taking the riding path corresponding to the obtained predicted outbound time as an actual riding path.
Further, the accurate path recognition of the target passenger through video image matching to obtain the actual riding path includes:
acquiring target characteristic information shot by a camera arranged at a station entrance;
acquiring the target characteristic information shot by cameras arranged at a transfer station and an exit port;
determining and identifying station information corresponding to the target characteristic information;
determining an actual riding path of a target passenger according to the station information;
the target characteristic information shot by the camera arranged at the station entrance is obtained, and the method comprises the following steps:
acquiring card swiping image information shot by a camera arranged at a station entrance;
carrying out gesture recognition on the card swiping image information to determine whether card swiping action and gate opening action exist, and if so, executing the next step;
and determining the face information of the card swiping passenger according to the card swiping image information, and taking the face information as target characteristic information.
In a second aspect, an embodiment of the present application provides an apparatus for quickly confirming a riding path, including:
an acquisition module: the system comprises a traffic gate, a passenger identification module and a passenger identification module, wherein the traffic gate is used for detecting the number information of passengers and the traffic information, and the traffic information comprises an entrance station and an exit station;
a judging module: the system comprises a bus taking number information acquiring unit, a bus taking passing information acquiring unit, a bus taking number information acquiring unit and a bus taking path acquiring unit, wherein the bus taking number information is used for acquiring the bus taking number information; if not, executing a path confirmation module;
a path confirmation module: the method is used for carrying out accurate path identification on the target passenger through video image matching or time matching so as to obtain an actual riding path.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for quickly making a ride path confirmation according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the method for fast ride path validation as described in the first aspect when executed by a computer processor.
The method comprises the steps that the actual riding path is confirmed by comparing detected riding traffic information with a preset riding path, when the actual riding path is consistent with the preset riding path, the preset riding path is directly used as the actual riding path, and when the actual riding path is inconsistent with the preset riding path, the actual riding path is identified in a video image or time information matching mode; by adopting the scheme of the embodiment of the application, the recognition speed and the recognition accuracy are greatly improved, the speed of the detection scheme of the actual riding path can be effectively improved, and the popularization of the detection scheme of the actual riding path is facilitated.
Drawings
Fig. 1 is a flowchart of a method for quickly confirming a riding path according to an embodiment of the present disclosure;
fig. 2 is a flow chart of matching a preset riding path with riding traffic information according to the embodiment of the present application;
fig. 3 is a schematic flow chart of preset riding path acquisition provided in the embodiment of the present application;
FIG. 4 is a schematic flow chart of historical traffic frequency acquisition provided by an embodiment of the present application;
fig. 5 is a flowchart of a ride path confirmation by time matching according to an embodiment of the present disclosure;
fig. 6 is a simplified schematic diagram of a subway line provided in an embodiment of the present application;
fig. 7 is a flowchart of a riding path confirmation by a face recognition method according to an embodiment of the present application;
fig. 8 is a schematic flow chart of face feature information confirmation provided in the embodiment of the present application;
FIG. 9 is a schematic diagram of image acquisition of a card swipe inbound provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus for quickly confirming a riding path according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The existing passenger riding path mainly adopts an AFC system to judge the path of riding and traveling, and only the departure point and the destination point of the riding and traveling can be obtained, but a specific actual traveling path cannot be obtained, and the riding path cannot be accurately judged. When the method of obtaining an accurate path is adopted, a large amount of resources and time are consumed for calculation, and the purpose of rapidness and practicability cannot be achieved. Based on this, the actual riding path is confirmed by comparing the detected riding traffic information with the preset riding path, when the comparison is consistent, the preset riding path is directly taken as the actual riding path, and when the comparison is inconsistent, the actual riding path is identified by adopting a video image or time information matching mode; by adopting the scheme of the embodiment of the application, the recognition speed and the recognition accuracy are greatly improved, the speed of the detection scheme of the actual riding path can be effectively improved, and the popularization of the detection scheme of the actual riding path is facilitated.
Fig. 1 is a flowchart of a method for quickly confirming a riding path according to an embodiment of the present disclosure, where the method for quickly confirming a riding path according to the embodiment may be executed by a device for quickly confirming a riding path, the device for quickly confirming a riding path may be implemented in a software and/or hardware manner, and the device for quickly confirming a riding path may be formed by two or more physical entities or may be formed by one physical entity. Generally, the device for rapidly confirming the riding path can be a computer, a mobile phone, a tablet or a background server and the like.
The following description will be given taking an example in which the background server is an apparatus for executing the method for quickly confirming the riding path. Referring to fig. 1, the method for quickly confirming a riding path specifically includes:
s101: the method comprises the steps of obtaining riding number information and riding traffic information of passengers detected by a traffic gate, wherein the riding traffic information comprises an inbound station and an outbound station.
The step is mainly to acquire the traffic information of the passengers, and since one person generally has one card and each card also has unique number information, the traffic information and the corresponding bus numbers can be in one-to-one correspondence, and the traffic information and the corresponding people can also be in correspondence. The correspondence between the path and the person is realized through the association relation. When the riding information is acquired, two information acquisition modes can be provided, one is to acquire the place information, the other is to acquire the place information and the time information, and when the time information is acquired, the inbound time information can be determined, the outbound time information can also be determined, and the inbound time information and the outbound time information are only set as a comparison reference.
S102: judging whether a preset riding path is associated in the riding number information, if so, calling the preset riding path to be matched with the riding traffic information so as to determine an actual riding path; if not, the next step is performed.
The method mainly comprises the steps of judging whether corresponding riding number information is associated with a preset riding path or not, if so, calling the corresponding preset riding path, and if not, carrying out specific path identification. Specifically, the riding traffic information further includes time information, the preset riding path includes a start-stop station, a preset time period and a preset path, the preset time period corresponds to the start-stop station, and the start-stop station includes a preset start point and a preset end point; fig. 2 is a flow chart of matching a preset riding path and riding traffic information provided in an embodiment of the present application, and as shown in fig. 2, the matching the preset riding path and the riding traffic information to determine an actual riding path includes:
s1021: judging whether the inbound website is consistent with the preset starting point or not, if so, executing the next step;
s1022: judging whether the outbound site is consistent with the preset endpoint or not, and if so, executing the next step;
s1023: and judging whether the time information is in a preset time period, and if so, calling the preset path as an actual riding path of the passenger.
When the preset riding path exists in association with the riding code information, since it is known that the corresponding passenger must have a path from a-B-C-D if the passenger sits at point a at this point in time; for example, the time of arrival in the morning is 7: 50 minutes, and the route from home to company is relatively fixed, and the preset taking route associated with the taking code information is the corresponding taking route in the morning. And when the station entering, the station exiting and the time information are consistent, calling the identified path as the actual riding path of the passenger. When the time period is divided, one time period can be set as one hour, and also can be set as one time period as two hours; the concrete setting can be carried out according to the actual situation.
In this embodiment, the preset riding path is mainly used to correspond to the riding number information. All the information is associated with the riding number information, so that subsequent information calling and judgment are facilitated. The preset riding path in this embodiment may be a pre-existing path content associated with the riding number information, or may be set by starting corresponding information generation after a preset number of times of card swiping; for example, if the number of times of swiping the card exceeds 10 times or 20 times, selecting the place with the most appearance as a preset riding path; it is also possible to take the same ride path as the preset ride path when it occurs more than a certain number of times, for example 5 times or 10 times.
Specifically, fig. 3 is a schematic flow diagram of obtaining a preset riding path provided in the embodiment of the present application, and as shown in fig. 3, the preset riding path is obtained through the following steps:
s102 a: recording historical traffic information detected by a traffic gate, wherein the historical traffic information comprises historical incoming stations and historical outgoing stations;
s102 b: counting the number of the same historical traffic information to obtain historical traffic frequency;
s102 c: and judging whether the historical traffic frequency exceeds a preset frequency, and if so, storing the corresponding historical traffic information in a preset riding path.
Illustratively, the historical traffic information further includes historical arrival times; fig. 4 is a schematic flow chart of obtaining the historical traffic frequency according to the embodiment of the present application, and as shown in fig. 4, the counting the number of the same historical traffic information to obtain the historical traffic frequency includes:
s102b 1: when the same historical station entering and the same historical station exiting occur, acquiring the time period of the historical station entering time;
s102b 2: and when the belonged time period, the historical entry station and the historical exit station are the same, carrying out quantity statistics on the corresponding historical traffic information to obtain historical traffic frequency.
That is, when it is detected that the frequency of occurrence of the corresponding same historical entry station and the historical exit station exceeds a preset value, the historical traffic information is subjected to information storage, corresponding station information and path information need to be stored during the information storage, and when the station information is matched with the time information in a consistent manner, the corresponding path information is called as a preset path. When the corresponding riding number does not have the corresponding path information, accurate path identification needs to be called to identify the actual path, and the path information is stored. Generally, the working path is relatively fixed, so that the corresponding path information is directly stored as a corresponding preset path; there may be exceptions, however, and the passenger may have selected a different route to work on a certain day. Therefore, after the time and station comparison, the path comparison can be performed, and if all paths are consistent, the information and the riding number information are stored in a correlated manner.
Further, the number of the preset riding paths comprises four. In actual life, both work and work are carried out, and the work places of Monday and Tuesday are different from the work places of Monday and Thursday; therefore, a plurality of corresponding different preset riding paths need to be set, but the number of the corresponding riding paths is not infinite, and the number of the preset riding paths cannot exceed six at best, because when the number exceeds a certain number, the workload of data management and comparison is greatly increased, and a better actual path determination speed cannot be achieved.
In addition to the storage of the preset riding path, there is also a setting mode of the preset riding path coverage; when the corresponding passenger changes the house, the corresponding boarding time and the corresponding boarding place are different, so that the preset riding path is useless; and when the station entering for 6 days to work in 10 days is transferred from the point A to the point B, taking the new path from the point B to the company as a preset path to call and apply the subsequent actual path. And when the times of the actual riding paths reach a preset value, storing the information of the actual riding paths as preset riding paths.
S103: and if the riding number information is not associated with the preset riding path, carrying out accurate path identification on the target passenger through video image matching or time matching to obtain the actual riding path.
When the actual riding path is identified, an image or time matching mode, even a mobile phone signaling or other identification modes can be adopted for identification. In the embodiment, the modes of video image matching and time matching can be separately and respectively identified, and a matching strategy can also be adopted for adaptation, so that the current time information is obtained, and whether the time information is in a preset time period or not is judged; and when the video image is not in the preset time period, adopting a video image matching identification mode.
Exemplarily, fig. 5 is a flowchart for confirming a riding path by using time matching according to an embodiment of the present application, and as shown in fig. 5, the performing accurate path identification on a target passenger by using time matching to obtain an actual riding path includes:
s1031: obtaining passenger ticket data passed by a target passenger, and determining od data of the target passenger according to the passenger ticket data; the od data comprises a start station, a start time, an end station and an end time;
s1032: determining a plurality of riding paths according to the starting station and the ending station, and determining corresponding predicted outbound time of each riding path according to the plurality of riding paths and the starting time;
s1033: and determining the predicted outbound time with the minimum difference value with the termination time, and taking the riding path corresponding to the obtained predicted outbound time as an actual riding path.
When the current time is detected to be 8 o ' clock 10 minutes in the morning, the preset time period is set to be 8 o ' clock to 10 o ' clock in the embodiment, so that the passenger can know that the current time is in the peak of the traffic, and therefore, the passenger ticket data is adopted to confirm the actual riding path of the target passenger in the embodiment. The passenger ticket mode can be used for confirming the riding path in the following modes: firstly, the existing passenger ticket identification mode is directly adopted, namely the shortest riding path from the point A to the point C of a passenger is used as the actual riding path of a user, and the mode has the advantages that the method is directly dependent on the existing algorithm mode and does not need to be changed; and secondly, the method is realized by combining passenger ticket data with predicted time.
In the present embodiment, the od data is also ORIGIN data and DESTINATION data, and the od data is start-stop data of passenger riding, that is, start-stop data and DESTINATION data. If only ticket data is used for path confirmation, the obtained final data is not the most accurate data, as shown in fig. 6, fig. 6 is a simplified schematic diagram of a subway line provided in the embodiment of the present application, and if there are multiple routes from a station a to a station F, a user may select a-B-C-D-F, a-B-E-F, or even a-B-C-D-E-F. There are many options for specific selection, but if the existing method is adopted, the system will adopt the optimal distance from the station a to the station F to design the route, but in the actual process, the selection of each person is very different, sometimes, in order to gather with friends at a certain station, another route will be selected, sometimes, in order to change for a few rides, the route with more stations will be selected, and some of the routes will be randomly selected because the ride does not have the actual difference between two routes, and so on. Therefore, if only the ticket data is used to confirm the actual riding path, a large error is generated. Therefore, in the present embodiment, the determination of the actual path is performed in conjunction with the time information.
Specifically, passengers travel in a subway to generate ticket data, namely, card swiping records of an entrance and an exit station, od data corresponding to target passengers are generated, but the od data does not include actual riding paths, but a plurality of riding paths can be calculated according to the od data due to the existence of the od data, for example, a path A-B-C-D-F, a path A-B-E-F and the like can be obtained from a station A to a station F, and similarly, due to the existence of the starting time, predicted exit time corresponding to each path can be obtained by calculating the time consumed by each station and the walking speed of people. And comparing the obtained plurality of predicted outbound time with the actual outbound time of the passenger, and taking the path corresponding to the predicted outbound time closest to the actual outbound time as the actual path.
Since the departure time and speed of the subway on a working day are relatively fixed, the calculation can be performed according to historical or actual departure time data, arrival time data and speed of the subway. Regarding the acquisition of the walking speed of the person, because the flow of the person is large in the time period, the corresponding flow speed of the person can be acquired by adopting the camera, and the actual flow speed acquired by the camera is taken as the walking speed of the person to carry out fusion calculation, so that the prediction time obtained by final calculation is more accurate; the walking speed of the person can be assimilated due to the fact that the flow of the person is large in the peak period, the walking speed of the person is reduced due to the fact that the flow of the person is blocked when the walking speed is high in ordinary times, the walking speed of the person is increased due to the fact that the flow of the person drives when the walking speed is low in ordinary times, and the final matching effect is good due to the fact that the camera is adopted to monitor the actual flow of the person.
The method is a mode of determining the actual path by combining the preset arrival time with the passenger ticket data. The actual riding path obtained by the determination is more accurate compared with the existing ticket data. In order to further increase the calculation speed, different mechanisms may be provided in the embodiment to increase the speed. In this embodiment, when it is detected that the start station and the end station of the ticket data are on the same subway line, the above-described matching calculation is not performed thereon. Although the effect of reducing the computing power is not obvious for single data, the computation time can be greatly reduced and the identification speed can be improved by the mechanism because the subway carrying capacity is large, and particularly for large cities in the north, the passenger flow carrying capacity is large.
Exemplarily, fig. 7 is a flowchart for confirming a riding path by adopting a face recognition method according to an embodiment of the present application, and as shown in fig. 7, the performing accurate path recognition on a target passenger by video image matching to obtain an actual riding path includes:
s103 a: acquiring target characteristic information shot by a camera arranged at a station entrance;
s103 b: acquiring the target characteristic information shot by cameras arranged at a transfer station and an exit port;
s103 c: determining and identifying station information corresponding to the target characteristic information;
s103 d: and determining the actual riding path of the target passenger according to the station information.
When the current time is detected to be eleven points in the morning on thursday, the current time does not belong to the preset time interval from 8 points to 10 points, so that the number of people in the station at the moment can be known to be relatively small, a more accurate face recognition mode can be adopted for the operation, and as long as the obtained people appear in a certain station, the passengers are known to be on the corresponding lines certainly.
The camera can directly capture the target characteristic information, but the acquisition of the position information needs to be further determined; and when the camera captures the corresponding target characteristic information, the camera sends the position information of the shot target characteristic information.
Shooting corresponding target characteristic information at a station A, wherein the target characteristic information can be face characteristic information or clothing characteristic information; or a combination of both. More preferably, the face feature recognition mode is that the face feature has uniqueness, so that the degree of certainty is higher when the face feature is recognized as a whole. If the clothing characteristics are adopted for identification, the identification number of the card swiping obtained after the card swiping is combined, and the identification number of the card swiping are associated, so that the consistency of the final output result is better.
More preferably, the transfer station comprises a transfer passage or a transfer platform or a transfer car. Because the problem of shielding exists in the face recognition process, when the transfer station carries out face recognition, the combination recognition can be carried out by combining the cameras in the transfer channel, the platform and the carriage, the transfer at the corresponding transfer point can be judged as long as the corresponding target characteristic information is captured by one of the cameras, and the corresponding transfer point position can be determined.
More preferably, fig. 8 is a schematic flow chart of face feature information confirmation provided in an embodiment of the present application, and as shown in fig. 8, the acquiring target feature information captured by a camera disposed at a station entrance includes:
s103a 1: acquiring card swiping image information shot by a camera arranged at a station entrance;
s103a 2: carrying out gesture recognition on the card swiping image information to determine whether card swiping action and gate opening action exist, and if so, executing the next step;
s103a 3: and determining the face information of the card swiping passenger according to the card swiping image information, and taking the face information as target characteristic information.
The steps are mainly used as a face recognition triggering mode, when a station is entered, if all face data of the entrance are acquired and then subsequent recognition matching is carried out, a large amount of matching data can be generated, and a large amount of matching results can not exist, because some passengers at the entrance do not actually enter the station; it is not reasonable to include this part of passengers in the data matching range. Therefore, when the method is implemented specifically, a triggering mechanism is adopted, namely, an image for swiping a card by a person and an image for opening a gate are identified; as shown in fig. 9, fig. 9 is a schematic view of image acquisition of a card swiping inbound provided by an embodiment of the present application. When such an image is recognized, the card swiping success is indicated, and the station is entered; it can be used as a target characteristic information to match the information of the subsequent outbound port. If the image of the card swiping of the person is detected alone, it is not necessarily indicated that the person can enter the station, and after the card swiping, the person cannot enter the station because there is no balance in the card, so that the person needs to confirm the face image after the images of the person and the card are detected. And after the card swiping image and the gate opening image are detected, simultaneously recording the card swiping identification number detected by the corresponding gate, and associating the card swiping identification number with the face information, so that the ticket service clearing can be conveniently carried out subsequently.
Similarly, when the passenger leaves the station, the passenger card swiping image and the gate opening image need to be detected, so that the passenger can be judged to leave the station, and then the corresponding face image is confirmed; the complete identification closed loop is formed through the above steps.
More preferably, the scheme of the embodiment of the present application further includes the following steps:
acquiring information of a plurality of target passengers shot by a camera arranged at a station entrance;
if the situation that the target passenger information is shot by a camera arranged at the exit is determined, performing data association on the target passenger information;
and selecting the characteristic information of any passenger in the target passenger information as target characteristic information.
The above steps are mainly further defined for the case of multiple persons in the same row, if multiple persons pass through, in the actual case, only the actual path of one person in the same row is determined, and the rest persons in the same row can share the data. In this embodiment, if the entry port and the exit port both acquire the information of the corresponding multiple persons entering and exiting the station within the preset time, it can be determined that the entry port and the exit port are the same person at a high probability. In addition to the above-mentioned policy for determining whether to be in the same row, other actions may be combined to determine whether to pass, for example, determining whether two people are in the same row by determining actions such as hugging, holding, etc. After the persons are judged to be the same-row persons, the face information of one person can be selected as the identification of the actual path, and then the rest persons are associated with the face information. Through the steps, information correlation among all target passengers can be realized, and after the information correlation is carried out, further data processing can be adopted subsequently. Correspondingly, after the actual riding path of the target riding is determined according to the position information, the method further comprises the following steps: and taking the actual riding path as the actual riding path of other target passengers according to the data association relation.
After judging that a plurality of persons are in the same row, the persons can be stored as independent information or the information can be associated. After the actual riding path of the selected person is obtained, the actual riding path of the selected person can be used as the actual riding path corresponding to the selected person. That is, when the time points of the multiple persons entering and exiting the station are the same, after the actual path of one of the persons is obtained, it can be determined that all the other persons entering and exiting the station corresponding to the time point are suitable for the actual path. The preset time can be that the inbound time difference and the outbound time difference are both within 5 minutes; by the scheme, the identification speed can be increased, and a part of computing resources are saved.
Besides the face recognition mode, a multi-person path sharing mode can be adopted, the mode of the multi-person path sharing mode can also be adopted for confirming the actual path between the passenger ticket data and the predicted arrival time, and when the passenger ticket data adopts the mode, the card swiping information among passengers can be correlated to serve as the basis of subsequent data sharing.
When the scheme in step S103 is implemented specifically, the path may be confirmed and switched in combination with the time information, that is, in the embodiment of the present application, the current time information is acquired, and the determination of the path identification is performed according to whether the acquired time information is in the preset time period. When the passenger flow is in the peak period of the passenger flow, passenger ticket data is adopted to determine the riding path identification; when the traffic is in the off-peak period of the traffic, the riding path is determined by adopting a more accurate mode such as face recognition. Through combining the two modes, the accuracy and the rapidity can be achieved, and the more accurate actual riding path can be obtained in a unified mode.
The method comprises the steps that the actual riding path is confirmed by comparing detected riding traffic information with a preset riding path, when the actual riding path is consistent with the preset riding path, the preset riding path is directly used as the actual riding path, and when the actual riding path is inconsistent with the preset riding path, the actual riding path is identified in a video image or time information matching mode; by adopting the scheme of the embodiment of the application, the recognition speed and the recognition accuracy are greatly improved, the speed of the detection scheme of the actual riding path can be effectively improved, and the popularization of the detection scheme of the actual riding path is facilitated.
On the basis of the foregoing embodiment, fig. 10 is a schematic structural diagram of an apparatus for quickly confirming a riding path according to an embodiment of the present application. Referring to fig. 10, the apparatus for quickly confirming a riding path provided in this embodiment specifically includes:
the acquisition module 21: the system comprises a traffic gate, a passenger identification module and a passenger identification module, wherein the traffic gate is used for detecting the number information of passengers and the traffic information, and the traffic information comprises an entrance station and an exit station;
the judging module 22: the system comprises a bus taking number information acquiring unit, a bus taking passing information acquiring unit, a bus taking number information acquiring unit and a bus taking path acquiring unit, wherein the bus taking number information is used for acquiring the bus taking number information; if not, executing a path confirmation module;
the path confirmation module 23: the method is used for carrying out accurate path identification on the target passenger through video image matching or time matching so as to obtain an actual riding path.
The method comprises the steps that the actual riding path is confirmed by comparing detected riding traffic information with a preset riding path, when the actual riding path is consistent with the preset riding path, the preset riding path is directly used as the actual riding path, and when the actual riding path is inconsistent with the preset riding path, the actual riding path is identified in a video image or time information matching mode; by adopting the scheme of the embodiment of the application, the recognition speed and the recognition accuracy are greatly improved, the speed of the detection scheme of the actual riding path can be effectively improved, and the popularization of the detection scheme of the actual riding path is facilitated.
The device for rapidly confirming the riding path provided by the embodiment of the application can be used for executing the method for rapidly confirming the riding path provided by any embodiment, and has corresponding functions and beneficial effects.
Fig. 11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and referring to fig. 11, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors 31 in the electronic device may be one or more, and the number of memories 32 in the electronic device may be one or more. The processor 31, the memory 32, the communication module 33, the input device 34 and the output device 35 of the electronic apparatus may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for quickly confirming a riding path according to any embodiment of the present application (for example, the obtaining module 21, the judging module 22, and the path determining module 23 in the device for quickly confirming a riding path). The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 32, that is, implements the above-described method for rapidly confirming the riding path.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the embodiment can be used for executing the method for quickly confirming the riding path, and has corresponding functions and beneficial effects.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor 31, are configured to perform a method for quickly performing a ride path confirmation, where the method for quickly performing a ride path confirmation includes:
acquiring riding number information and riding traffic information of passengers detected by a traffic gate, wherein the riding traffic information comprises an inbound station and an outbound station;
judging whether a preset riding path is included in the riding number information, and if so, matching the preset riding path with the riding traffic information to determine an actual riding path; if not, executing the next step;
and carrying out accurate path identification on the target passenger through video image matching or time matching to obtain an actual riding path.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors 31.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the method for quickly confirming the riding path as described above, and may also perform related operations in the method for quickly confirming the riding path as provided in any embodiment of the present application.
The device, the storage medium, and the electronic device for quickly confirming the riding path provided in the above embodiments may execute the method for quickly confirming the riding path provided in any embodiment of the present application, and refer to the method for quickly confirming the riding path provided in any embodiment of the present application without detailed technical details described in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A method for quickly confirming a riding path is characterized by comprising the following steps:
acquiring riding number information and riding traffic information of passengers detected by a traffic gate, wherein the riding traffic information comprises an inbound station and an outbound station;
judging whether a preset riding path is associated in the riding number information, if so, calling the preset riding path to be matched with the riding traffic information so as to determine an actual riding path; if not, executing the next step;
and carrying out accurate path identification on the target passenger through video image matching or time matching to obtain an actual riding path.
2. A method for rapidly confirming a riding path according to claim 1, wherein the riding traffic information further comprises time information, the preset riding path comprises a start-stop station, a preset time period and a preset path, the preset time period corresponds to the start-stop station, and the start-stop station comprises a preset start point and a preset end point; the calling the preset riding path and the riding traffic information are matched to determine an actual riding path, and the calling comprises the following steps:
judging whether the inbound website is consistent with the preset starting point or not, if so, executing the next step;
judging whether the outbound site is consistent with the preset endpoint or not, and if so, executing the next step;
and judging whether the time information is in a preset time period, and if so, taking the preset path as an actual riding path of the passenger.
3. A method for rapid ride path confirmation according to claim 1, wherein the number of preset ride paths comprises four.
4. A method for quickly confirming a ride path according to claim 1, wherein the preset ride path is obtained by:
recording historical traffic information detected by a traffic gate, wherein the historical traffic information comprises historical incoming stations and historical outgoing stations;
counting the number of the same historical traffic information to obtain historical traffic frequency;
and judging whether the historical traffic frequency exceeds a preset frequency, and if so, storing the corresponding historical traffic information in a preset riding path.
5. A method for rapid ride path confirmation according to claim 4, wherein the historical transit information further comprises historical arrival times;
the counting of the number of the same historical traffic information to obtain the historical traffic frequency comprises the following steps:
when the same historical station entering and the same historical station exiting occur, acquiring the time period of the historical station entering time;
and when the belonged time period, the historical entry station and the historical exit station are the same, carrying out quantity statistics on the corresponding historical traffic information to obtain historical traffic frequency.
6. A method for rapidly confirming a riding path according to any one of claims 1-5, wherein the accurate path recognition of the target passenger through time matching to obtain the actual riding path comprises:
obtaining passenger ticket data passed by a target passenger, and determining od data of the target passenger according to the passenger ticket data; the od data comprises a start station, a start time, an end station and an end time;
determining a plurality of riding paths according to the starting station and the ending station, and determining corresponding predicted outbound time of each riding path according to the plurality of riding paths and the starting time;
and determining the predicted outbound time with the minimum difference value with the termination time, and taking the riding path corresponding to the obtained predicted outbound time as an actual riding path.
7. A method for rapidly confirming a riding path according to any one of claims 1-5, wherein the accurate path recognition of the target passenger through video image matching to obtain the actual riding path comprises the following steps:
acquiring target characteristic information shot by a camera arranged at a station entrance;
acquiring the target characteristic information shot by cameras arranged at a transfer station and an exit port;
determining and identifying station information corresponding to the target characteristic information;
determining an actual riding path of a target passenger according to the station information;
the target characteristic information shot by the camera arranged at the station entrance is obtained, and the method comprises the following steps:
acquiring card swiping image information shot by a camera arranged at a station entrance;
carrying out gesture recognition on the card swiping image information to determine whether card swiping action and gate opening action exist, and if so, executing the next step;
and determining the face information of the card swiping passenger according to the card swiping image information, and taking the face information as target characteristic information.
8. An apparatus for quickly confirming a riding route, comprising:
an acquisition module: the system comprises a traffic gate, a passenger identification module and a passenger identification module, wherein the traffic gate is used for detecting the number information of passengers and the traffic information, and the traffic information comprises an entrance station and an exit station;
a judging module: the system comprises a bus taking number information acquiring unit, a bus taking passing information acquiring unit, a bus taking number information acquiring unit and a bus taking path acquiring unit, wherein the bus taking number information is used for acquiring the bus taking number information; if not, executing a path confirmation module;
a path confirmation module: the method is used for carrying out accurate path identification on the target passenger through video image matching or time matching so as to obtain an actual riding path.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for rapid ride path validation as claimed in any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method for rapid ride path validation of any of claims 1-7 when executed by a computer processor.
CN202011010593.1A 2020-09-23 2020-09-23 Method and device for rapidly confirming riding path Pending CN112133093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011010593.1A CN112133093A (en) 2020-09-23 2020-09-23 Method and device for rapidly confirming riding path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011010593.1A CN112133093A (en) 2020-09-23 2020-09-23 Method and device for rapidly confirming riding path

Publications (1)

Publication Number Publication Date
CN112133093A true CN112133093A (en) 2020-12-25

Family

ID=73841298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011010593.1A Pending CN112133093A (en) 2020-09-23 2020-09-23 Method and device for rapidly confirming riding path

Country Status (1)

Country Link
CN (1) CN112133093A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116468254A (en) * 2023-06-14 2023-07-21 佳都科技集团股份有限公司 Method and system for processing in-station emergency task data for rail transit
CN117475468A (en) * 2023-10-18 2024-01-30 中国矿业大学 Rail transit passenger flow sorting method, system and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060082162A (en) * 2005-01-11 2006-07-18 에스케이 텔레콤주식회사 Method and system for providing adaptived navigation service
CN103179509A (en) * 2013-03-11 2013-06-26 北京工业大学 Subway passenger travel path identification method based on mobile phone locating information
CN108055645A (en) * 2018-01-19 2018-05-18 深圳技术大学(筹) A kind of path identification method and system based on mobile phone signaling data
CN108108897A (en) * 2017-12-20 2018-06-01 中国科学院深圳先进技术研究院 A kind of track traffic for passenger flow classifying method, system and electronic equipment
CN109191174A (en) * 2018-07-27 2019-01-11 阿里巴巴集团控股有限公司 A kind of expectation duration section determines method, stroke verification method and device
CN109684923A (en) * 2018-11-20 2019-04-26 厦门快商通信息技术有限公司 A kind of information collecting device of public transport, charge system and method
CN109726842A (en) * 2017-10-30 2019-05-07 比亚迪股份有限公司 Determining method of path and its device by bus
CN110059849A (en) * 2019-03-06 2019-07-26 阿里巴巴集团控股有限公司 Determining method of path and device
CN110942198A (en) * 2019-11-27 2020-03-31 重庆市交通规划研究院 Passenger path identification method and system for rail transit operation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060082162A (en) * 2005-01-11 2006-07-18 에스케이 텔레콤주식회사 Method and system for providing adaptived navigation service
CN103179509A (en) * 2013-03-11 2013-06-26 北京工业大学 Subway passenger travel path identification method based on mobile phone locating information
CN109726842A (en) * 2017-10-30 2019-05-07 比亚迪股份有限公司 Determining method of path and its device by bus
CN108108897A (en) * 2017-12-20 2018-06-01 中国科学院深圳先进技术研究院 A kind of track traffic for passenger flow classifying method, system and electronic equipment
CN108055645A (en) * 2018-01-19 2018-05-18 深圳技术大学(筹) A kind of path identification method and system based on mobile phone signaling data
CN109191174A (en) * 2018-07-27 2019-01-11 阿里巴巴集团控股有限公司 A kind of expectation duration section determines method, stroke verification method and device
CN109684923A (en) * 2018-11-20 2019-04-26 厦门快商通信息技术有限公司 A kind of information collecting device of public transport, charge system and method
CN110059849A (en) * 2019-03-06 2019-07-26 阿里巴巴集团控股有限公司 Determining method of path and device
CN110942198A (en) * 2019-11-27 2020-03-31 重庆市交通规划研究院 Passenger path identification method and system for rail transit operation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116468254A (en) * 2023-06-14 2023-07-21 佳都科技集团股份有限公司 Method and system for processing in-station emergency task data for rail transit
CN116468254B (en) * 2023-06-14 2023-09-26 佳都科技集团股份有限公司 Method and system for processing in-station emergency task data for rail transit
CN117475468A (en) * 2023-10-18 2024-01-30 中国矿业大学 Rail transit passenger flow sorting method, system and electronic equipment

Similar Documents

Publication Publication Date Title
CN112116811B (en) Method and device for identifying and determining riding path
CN111462484B (en) Congestion state determination method, device, equipment and computer readable storage medium
CN112700641B (en) Parking lot management method and device, electronic equipment and storage medium
US9275547B2 (en) Prediction of free parking spaces in a parking area
CN110991390B (en) Identity information retrieval method and device, service system and electronic equipment
CN105075248A (en) Target object identifying device, target object identifying method and target object identifying program
CN112133093A (en) Method and device for rapidly confirming riding path
KR101876239B1 (en) Parking system
CN112488388B (en) Outbound passenger flow prediction method and device based on probability distribution
CN111770306A (en) Scene monitoring method and device, computer equipment and storage medium
CN110874668A (en) Rail transit OD passenger flow prediction method, system and electronic equipment
CN111681346A (en) Prevention and control passing processing method, device, equipment and medium
CN112419120A (en) Group aggregation event early warning method, device and system and electronic equipment
CN112008736A (en) Welcome robot allocation method and device, storage medium and electronic device
CN110689693A (en) Path monitoring method, device, equipment and storage medium
CN110248156B (en) Video analysis method, platform equipment, intelligent camera and intelligent monitoring system
CN111757272B (en) Prediction method, model training method and device for subway congestion degree
CN111368626B (en) Vehicle identification method, device, electronic equipment and storage medium
CN107588781B (en) Cell navigation method and device
CN109784462A (en) A kind of passenger number statistical system, method and storage medium
CN112182302B (en) Subway taking route tracing method and device based on transfer management
CN114495342A (en) Intelligent information prompting method and device, computer equipment and storage medium
CN111401697A (en) Method and device for judging legality of vehicle scheduling behavior and computer equipment
CN112232424A (en) Identity recognition method and device, electronic equipment and storage medium
KR20220004399A (en) A recorded program media for providing a security surveillance service based on user involvement

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