Method and device for identifying user subway travel based on wireless signals
Through a wireless signal-based method, the subway relationship between the micro-cellular base station and the subway operating time data of the user are used to identify the subway track and identity category of the user, which solves the problem of low accuracy in the traditional method and achieves more accurate travel method identification and identity classification.
Patent Information
- Application Number
- CN202111131756.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2041-09-26
AI Technical Summary
The traditional method of judging the travel method of users is relatively low, making it difficult to identify travel trajectories and identity categories, especially when the subway network is complex.
Through a wireless signal-based method, the subway relationship of the micro-cellular base station and the subway operation time data of the user are used to obtain the subway track of the user, and combine the preset travel order time interval and identity category standards to identify the user's travel order and identity category.
It realizes more accurate identification and identity classification of subway travel methods for users, and provides more comprehensive and practical data support.
Smart Images

Figure CN115884087B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data, and in particular to a method and device for identifying a user's subway travel based on wireless signals. Background Art
[0002] Smart transportation is the development direction of the future transportation system, so the development of smart transportation has also received great attention. With the development of telecommunications networks, it is now closely related to daily life. Whether it is text messages, calls, shopping, or social networking through mobile phones, wireless signals are indispensable. The transmission of telecommunications network data is accompanied by base station signaling.
[0003] In traditional technical solutions, the user's departure location, arrival location, travel time, travel distance, travel speed and other multi-dimensional indicators are analyzed to calculate weights, and the user's travel mode is judged based on the calculation results. The travel mode judged by this method has the following defects: low accuracy: with the development of the transportation network, the number of travel modes is increasing. It is increasingly difficult to accurately describe the user's travel mode through analysis and judgment based on the weight results. It is even more inaccurate for short-distance travel, walking, bicycles, electric vehicles, buses, subways and other travel modes; inaccurate travel trajectory identification: traditional methods are based on the departure point, arrival point and travel mode, matching the theoretical shortest travel path. With the development of the subway network, there is more than one travel trajectory, and there are errors in the simple use of theoretical judgment methods; there are deficiencies in the judgment of the identity of entering and leaving the subway, and it is impossible to judge whether the user is a passenger, subway station staff, subway staff, or a passenger passing through the station. Summary of the invention
[0004] The present invention provides a method and device for identifying a user's subway travel based on wireless signals, so as to solve the technical defects existing in the prior art.
[0005] The present invention provides a method for identifying a user's subway travel based on wireless signals, comprising:
[0006] Based on the micro-cell base station subway relationship and the user's subway operation time data, the user's subway trajectory is obtained; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identification number, the base station site identification number and the appearance time at each base station;
[0007] Based on the subway track of the user and the preset subway travel order time interval, obtaining the travel order of the user;
[0008] The identity category of the user is obtained based on the user's subway track, travel order, the preset longest time for a passing passenger to pass through a subway station, and the preset longest time for a single subway trip.
[0009] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's subway trajectory based on the microcellular base station subway relationship and the user's subway operation time data, the method includes:
[0010] Based on the subway operation time data of the user, obtain the shortest path between adjacent base stations of the user;
[0011] Determining whether the shortest path is greater than an adjacent shortest pre-stored path;
[0012] When it is determined that the shortest path is greater than the adjacent shortest pre-stored path, the intermediate points are supplemented between the adjacent base stations; and combined with the appearance time of the user at the adjacent base stations, the appearance time of the intermediate points of the user between the adjacent base stations is supplemented in an equal division manner.
[0013] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval, the method comprises:
[0014] Based on the travel order of the user, no travel order record is made for a single trip in which only one base station appears; other travel orders of the user are accumulated from the beginning to update the maximum travel order.
[0015] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval, the method comprises:
[0016] Based on the subway station line relationship and the subway track of the user, traverse each subway station that the user has passed through to obtain the common lines between each current station and its adjacent stations; the current station is the subway station currently traversed;
[0017] Based on the common lines between each current station and adjacent stations, the subway lines that the user has passed through are obtained.
[0018] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval, the method comprises:
[0019] Based on the subway station line relationship and the user's subway trajectory, the first subway station in each travel sequence is recorded as the entry station, the last subway station is recorded as the exit station, the current station and the previous station are on the same line and recorded as the intermediate station, and the current station and the previous station are not on the same line and recorded as the transfer station.
[0020] According to the method for identifying a user's subway travel based on wireless signals of the present invention, before obtaining the user's subway trajectory based on the microcellular base station subway relationship and the user's subway operation time data, the method includes:
[0021] Based on the base station engineering parameter table, a micro-cell base station is selected according to the cell type;
[0022] In the microcellular base station, the reserved keyword includes the microcellular base station address of the subway;
[0023] Combined with the subway station name in the base station engineering parameter table, the addresses of the micro-cell base stations containing the subway stations are screened, and the corresponding relationship between the subway stations and the addresses of the micro-cell base stations is established and kept updated.
[0024] According to the method for identifying a user's subway travel based on wireless signals of the present invention, the step of obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval includes:
[0025] If the time difference between the user's subway track passing through adjacent subway stations is greater than the preset subway travel sequence time interval, it is recorded as a different number of trips;
[0026] The identity category of the user is obtained based on the subway trajectory, travel order, preset maximum time for a transit passenger to pass through a subway station, and preset maximum time for a single subway trip of the user, including:
[0027] The identity category of users who only stay at one subway station in each travel sequence and whose stay time is less than the longest travel time of the subway station is recorded as passing passengers;
[0028] The identity category of the user who only stops at one subway station in each travel sequence and whose stay time is not less than the longest time of traveling through the subway station is recorded as subway station staff;
[0029] Record the identity category of users who stop at multiple subway stations in each travel sequence and whose travel time is longer than the preset maximum time for a single subway trip as subway staff;
[0030] The identity category of the user who stops at multiple subway stations in each travel sequence and whose travel time is not greater than the preset maximum time for a single subway trip is recorded as a passenger.
[0031] The present invention also provides a user subway travel identification device based on wireless signals, comprising:
[0032] The subway track identification module is used to obtain the subway track of the user based on the micro-cell base station subway relationship and the user's subway operation time data; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identity identification number, the base station site identification number and the appearance time at each base station;
[0033] A travel order determination module, used to obtain the travel order of the user based on the subway trajectory of the user and a preset subway travel order time interval;
[0034] The identity category identification module is used to obtain the identity category of the user based on the user's subway trajectory, travel order, the preset longest time for a passing passenger to pass through a subway station, and the preset longest time for a single subway trip.
[0035] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for identifying user subway travel based on wireless signals are implemented.
[0036] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for identifying user subway travel based on wireless signals are implemented.
[0037] The present invention obtains the user's subway trajectory based on the micro-cellular base station subway relationship and the user's subway operating time data, can more accurately identify the user's subway travel mode, and obtain the user's subway travel trajectory and the specific stay time at each subway station; it can also obtain the user's travel order based on the user's subway trajectory and the preset subway travel order time interval, and identify whether the user entering and exiting the subway is a passenger, a subway staff member, a subway staff member or a passenger traveling underground through the subway station, so that the obtained data is more comprehensive and practical. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 This is one of the flow charts of the method for identifying a user's subway travel based on wireless signals provided by the present invention;
[0040] Figure 2 It is a structural schematic diagram of a user subway travel identification device based on wireless signals provided by the present invention;
[0041] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] Combine the following Figure 1 The present invention describes a method for identifying a user's subway trip based on wireless signals, the method comprising:
[0044] S1. Based on the micro-cell base station subway relationship and the user's subway operation time data, the user's subway trajectory is obtained; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identification number, the base station site identification number and the appearance time at each base station;
[0045] The process of obtaining subway operation time data is to use base station signaling filtering to retain the subway operation time: Data subwayTime =Data fullDay ∩Duration subway , where Data subwayTime Indicates subway operation time data, Data fullDay Indicates the subway data for the whole day, Duration subway In other words, we take out the complete user data, extract the operation time, and keep the user's movement trajectory during the operation time. subwayTime Match the microcell base station subway relationship to obtain the user subway station trajectory Data subway ,Data can be represented by three fields, user id (Identity,identification number), base station id, and time.,Using the micro-cell base station subway relationship, the inner join matching method is used to match the micro-cell base station id and subway id, and the user's subway trajectory is obtained, which is an important indicator for travel identification.
[0046] S2. Obtaining the travel order of the user based on the subway trajectory of the user and a preset subway travel order time interval;
[0047] The trip order refers to the first trip, the second trip, and the nth trip, that is, the number of trips and the order of each trip. The maximum trip order indicates the number of trips. The trip order is also an indicator for trip identification.
[0048] S3. Based on the subway trajectory, travel order, preset longest time for a passing passenger to pass through a subway station, and preset longest time for a single subway trip of the user, the identity category of the user is obtained.
[0049] The user's identity category is identified as a passenger, a passing passenger, a subway station staff or a subway staff. The user's identity category is an indicator of travel identification.
[0050] The present invention obtains the user's subway trajectory based on the micro-cellular base station subway relationship and the user's subway operating time data, can more accurately identify the user's subway travel mode, and obtain the user's subway travel trajectory and the specific stay time at each subway station; it can also obtain the user's travel order based on the user's subway trajectory and the preset subway travel order time interval, and identify whether the user entering and exiting the subway is a passenger, a subway staff member, a subway staff member or a passenger traveling underground through the subway station, so that the obtained data is more comprehensive and practical.
[0051] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's subway trajectory based on the microcellular base station subway relationship and the user's subway operation time data, the method includes:
[0052] Based on the subway operation time data of the user, obtain the shortest path between adjacent base stations of the user;
[0053] The shortest path of a user between adjacent base stations can be calculated based on the Floyd matrix. The Floyd matrix is an existing algorithm that is often used to calculate the shortest path.
[0054] Determine whether the shortest path is greater than the adjacent shortest pre-stored path; the adjacent shortest pre-stored path is obtained from the shortest path of the subway network. The shortest path of the subway network is obtained based on the adjacent situation of the current subway station. It can be manually input according to the subway station situation and is used to supplement when the user's wireless signal is temporarily lost or the subway micro-cellular base station is missing.
[0055] If the shortest path is not greater than the adjacent shortest pre-stored path, it means that the two subway stations indicated by the two base stations are adjacent subway stations and no completion is required.
[0056] When it is determined that the shortest path is greater than the adjacent shortest pre-stored path, the intermediate points are supplemented between the adjacent base stations; and combined with the appearance time of the user at the adjacent base stations, the appearance time of the intermediate points of the user between the adjacent base stations is supplemented in an equal division manner.
[0057] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval, the method comprises:
[0058] Based on the user's travel order, no travel order record is made for a single trip with only one base station; the user's other travel orders are accumulated from the beginning to update the maximum travel order and count all the travel times. A single trip with only one base station indicates that the user is a staff member, so there is no need to count the travel order.
[0059] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval, the method comprises:
[0060] Based on the subway station line relationship and the subway trajectory of the user, each subway station passed by the user is traversed to obtain the common lines between each current station and its adjacent stations; the current station is the subway station currently traversed; the subway station line relationship refers to the relationship between the subway station and the line, which can be manually input according to the actual subway station line map, and is used for subsequent judgment of the riding line, passing station and transfer relationship.
[0061] If there is only one adjacent station, the common line between the current station and the adjacent station can be calculated, and this common line can be used as the subway line of the current station, and then the traversal of other subway stations can be continued; if there are two adjacent stations (the next traversal node and the previous traversal node are two adjacent subway stations), the common line between the current station and one of the adjacent stations can be calculated first. If the number of common lines is 1, this common line can be used as the subway line of the current station, and then the traversal of other subway stations can be continued. If the number of common lines is greater than 1, the common line between the current station and another adjacent station can be calculated, and then the intersection with the common line can be taken as the subway line of the current station, and then the traversal of other subway stations can be continued. The current station is the subway station currently traversed, that is, all subway stations are traversed, and whichever subway station is traversed is the current station.
[0062] Based on the common lines between each current station and the adjacent stations, the subway lines that the user has passed through are obtained. After traversing all subway stations, the common lines between each current station and the adjacent stations can be comprehensively considered, for example, the common lines between each current station and the adjacent stations can be combined and taken as a union to obtain the subway lines that the user has passed through.
[0063] According to the method for identifying a user's subway travel based on wireless signals of the present invention, after obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval, the method comprises:
[0064] Based on the subway station line relationship and the subway trajectory of the user, the first subway station in each travel sequence is recorded as the entry station, the last subway station is recorded as the exit station, the current station and the previous station are on the same line as the intermediate station, and the current station and the previous station are not on the same line as the transfer station. The station status includes entry station, intermediate station, transfer station and exit station. By analyzing each travel sequence, the station status can be obtained, and the specific subway trajectory of the passenger and the status of the passenger at each station can be identified, which paves the way for the subsequent analysis of subway section passenger flow, station passenger flow and line passenger flow.
[0065] According to the method for identifying a user's subway travel based on wireless signals of the present invention, before obtaining the user's subway trajectory based on the microcellular base station subway relationship and the user's subway operation time data, the method includes:
[0066] Based on the base station engineering parameter table, a micro-cell base station is selected according to the cell type;
[0067] In the microcellular base station, the reserved keyword includes the microcellular base station address of the subway;
[0068] Combined with the subway station name in the base station engineering parameter table, the micro-cell base station address containing the subway is screened, and the correspondence between the subway station and the micro-cell base station address is established and kept updated. The micro-cell base station subway relationship needs to be obtained according to the above steps during initialization, and the above steps also need to be used to implement the update when the base station or subway station is updated. The base station engineering parameter table is an asset maintained by the operator itself.
[0069] According to the method for identifying a user's subway travel based on wireless signals of the present invention, the step of obtaining the user's travel order based on the user's subway trajectory and a preset subway travel order time interval includes:
[0070] If the time difference between the user's subway track passing through adjacent subway stations is greater than the preset subway travel sequence time interval, it is recorded as a different number of trips;
[0071] The identity category of the user is obtained based on the subway trajectory, travel order, preset maximum time for a transit passenger to pass through a subway station, and preset maximum time for a single subway trip of the user, including:
[0072] The identity category of users who only stay at one subway station in each travel sequence and whose stay time is less than the longest travel time of the subway station is recorded as passing passengers (passengers who travel underground through the subway station);
[0073] The identity category of the user who only stops at one subway station in each travel sequence and whose stay time is not less than the longest time of traveling through the subway station is recorded as subway station staff;
[0074] Record the identity category of users who stop at multiple subway stations in each travel sequence and whose travel time is longer than the preset maximum time for a single subway trip as subway staff;
[0075] The identity category of the user who stops at multiple subway stations in each travel sequence and whose travel time is not greater than the preset maximum time for a single subway trip is recorded as a passenger.
[0076] See also Figure 2 The following is a description of a user subway travel identification device based on wireless signals provided by the present invention. The user subway travel identification device based on wireless signals described below and the user subway travel identification method based on wireless signals described above can be referred to each other. The user subway travel identification device based on wireless signals includes:
[0077] The subway track identification module 10 is used to obtain the subway track of the user based on the micro-cell base station subway relationship and the subway operation time data of the user; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the subway operation time data of the user includes the user identification number, the base station site identification number and the appearance time at each base station;
[0078] The process of obtaining subway operation time data is to use base station signaling filtering to retain the subway operation time: Data subwayTime =Data fullDay ∩Duration subway , where Data subwayTime Indicates subway operation time data, Data fullDay Indicates the subway data for the whole day, Duration subway In other words, we take out the complete user data, extract the operation time, and keep the user's movement trajectory during the operation time. subwayTime Match the microcell base station subway relationship to obtain the user subway station trajectory Datasubway ,Data can be represented by three fields, user id (Identity document,identification number), base station id, and time.,Using the microcell base station subway relationship, the innerjoin matching method is used to match the microcell base station id and subway id, and the user's subway trajectory is obtained, which is an important indicator for travel identification.
[0079] A travel order determination module 20, configured to obtain the travel order of the user based on the subway trajectory of the user and a preset subway travel order time interval;
[0080] The trip order refers to the first trip, the second trip, and the nth trip, that is, the number of trips and the order of each trip. The maximum trip order indicates the number of trips. The trip order is also an indicator for trip identification.
[0081] The identity category identification module 30 is used to obtain the identity category of the user based on the subway trajectory, travel order, the preset maximum time for a passing passenger to pass through a subway station, and the preset maximum time for a single subway trip.
[0082] The user's identity category is identified as a passenger, a passing passenger, a subway station staff or a subway staff. The user's identity category is an indicator of travel identification.
[0083] According to the user subway travel identification device based on wireless signals of the present invention, the identification device further includes a completion module, and the completion module is used to:
[0084] Based on the subway operation time data of the user, obtain the shortest path between adjacent base stations of the user;
[0085] The shortest path of a user between adjacent base stations can be calculated based on the Floyd matrix. The Floyd matrix is an existing algorithm that is often used to calculate the shortest path.
[0086] Determine whether the shortest path is greater than the adjacent shortest pre-stored path; the adjacent shortest pre-stored path is obtained from the shortest path of the subway network. The shortest path of the subway network is obtained based on the adjacent situation of the current subway station. It can be manually input according to the subway station situation and is used to supplement when the user's wireless signal is temporarily lost or the subway micro-cellular base station is missing.
[0087] If the shortest path is not greater than the adjacent shortest pre-stored path, it means that the two subway stations indicated by the two base stations are adjacent subway stations and no completion is required.
[0088] When it is determined that the shortest path is greater than the adjacent shortest pre-stored path, the intermediate points are supplemented between the adjacent base stations; and combined with the appearance time of the user at the adjacent base stations, the appearance time of the intermediate points of the user between the adjacent base stations is supplemented in an equal division manner.
[0089] According to the user subway travel identification device based on wireless signals of the present invention, the identification device further includes a travel order updating module, and the travel order updating module is used to:
[0090] Based on the user's travel order, no travel order record is made for a single trip with only one base station; the user's other travel orders are accumulated from the beginning to update the maximum travel order and count all the travel times. A single trip with only one base station indicates that the user is a staff member, so there is no need to count the travel order.
[0091] According to the user subway travel identification device based on wireless signals of the present invention, the identification device includes a line identification module, and the line identification module is used to:
[0092] Based on the subway station line relationship and the subway trajectory of the user, each subway station passed by the user is traversed to obtain the common lines between each current station and its adjacent stations; the current station is the subway station currently traversed; the subway station line relationship refers to the relationship between the subway station and the line, which can be manually input according to the actual subway station line map, and is used for subsequent judgment of the riding line, passing station and transfer relationship.
[0093] If there is only one adjacent station, the common line between the current station and the adjacent station can be calculated, and this common line can be used as the subway line of the current station, and then the traversal of other subway stations can be continued; if there are two adjacent stations (the next traversal node and the previous traversal node are two adjacent subway stations), the common line between the current station and one of the adjacent stations can be calculated first. If the number of common lines is 1, this common line can be used as the subway line of the current station, and then the traversal of other subway stations can be continued. If the number of common lines is greater than 1, the common line between the current station and another adjacent station can be calculated, and then the intersection with the common line can be taken as the subway line of the current station, and then the traversal of other subway stations can be continued. The current station is the subway station currently traversed, that is, all subway stations are traversed, and whichever subway station is traversed is the current station.
[0094] Based on the common lines between each current station and the adjacent stations, the subway lines that the user has passed through are obtained. After traversing all subway stations, the common lines between each current station and the adjacent stations can be comprehensively considered, for example, the common lines between each current station and the adjacent stations can be combined and taken as a union to obtain the subway lines that the user has passed through.
[0095] According to the user subway travel identification device based on wireless signals of the present invention, the identification device further includes a station status identification module, and the station status identification module is used to:
[0096] Based on the subway station line relationship and the subway track of the user, the first subway station in each travel sequence is recorded as the entry station, the last subway station is recorded as the exit station, the current station and the previous station are on the same line as the intermediate station, and the current station and the previous station are not on the same line as the transfer station. The station status includes entry station, intermediate station, transfer station and exit station. By analyzing each travel sequence, the station status can be obtained.
[0097] According to the user subway travel identification device based on wireless signals of the present invention, the identification device includes a corresponding relationship establishment module, and the corresponding relationship establishment module is used to:
[0098] Based on the base station engineering parameter table, a micro-cell base station is selected according to the cell type;
[0099] In the microcellular base station, the reserved keyword includes the microcellular base station address of the subway;
[0100] Combined with the subway station name in the base station engineering parameter table, the micro-cell base station address containing the subway is screened, and the correspondence between the subway station and the micro-cell base station address is established and kept updated. The micro-cell base station subway relationship needs to be obtained according to the above steps during initialization, and the above steps also need to be used to implement the update when the base station or subway station is updated. The base station engineering parameter table is an asset maintained by the operator itself.
[0101] According to the user subway travel identification device based on wireless signals of the present invention, the travel order determination module 20 is specifically used for:
[0102] If the time difference between the user's subway track passing through adjacent subway stations is greater than the preset subway travel sequence time interval, it is recorded as a different number of trips;
[0103] The identity category identification module 30 is specifically used for:
[0104] The identity category of users who only stay at one subway station in each travel sequence and whose stay time is less than the longest travel time of the subway station is recorded as passing passengers;
[0105] The identity category of the user who only stops at one subway station in each travel sequence and whose stay time is not less than the longest time of traveling through the subway station is recorded as subway station staff;
[0106] Record the identity category of users who stop at multiple subway stations in each travel sequence and whose travel time is longer than the preset maximum time for a single subway trip as subway staff;
[0107] The identity category of the user who stops at multiple subway stations in each travel sequence and whose travel time is not greater than the preset maximum time for a single subway trip is recorded as a passenger.
[0108] Figure 3 An example of a physical structure diagram of an electronic device is provided, and the electronic device may include: a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute a method for identifying a user's subway travel based on wireless signals, and the method includes:
[0109] S1. Based on the micro-cell base station subway relationship and the user's subway operation time data, the user's subway trajectory is obtained; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identification number, the base station site identification number and the appearance time at each base station;
[0110] S2. Obtaining the travel order of the user based on the subway trajectory of the user and a preset subway travel order time interval;
[0111] S3. Based on the subway trajectory, travel order, preset longest time for a passing passenger to pass through a subway station, and preset longest time for a single subway trip of the user, the identity category of the user is obtained.
[0112] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0113] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute the user subway travel identification method based on wireless signals provided by the above methods, the method comprising:
[0114] S1. Based on the micro-cell base station subway relationship and the user's subway operation time data, the user's subway trajectory is obtained; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identification number, the base station site identification number and the appearance time at each base station;
[0115] S2. Obtaining the travel order of the user based on the subway trajectory of the user and a preset subway travel order time interval;
[0116] S3. Based on the subway trajectory, travel order, preset longest time for a passing passenger to pass through a subway station, and preset longest time for a single subway trip of the user, the identity category of the user is obtained.
[0117] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for identifying a user's subway travel based on wireless signals provided above is implemented, and the method comprises:
[0118] S1. Based on the micro-cell base station subway relationship and the user's subway operation time data, the user's subway trajectory is obtained; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identification number, the base station site identification number and the appearance time at each base station;
[0119] S2. Obtaining the travel order of the user based on the subway trajectory of the user and a preset subway travel order time interval;
[0120] S3. Based on the subway trajectory, travel order, preset longest time for a passing passenger to pass through a subway station, and preset longest time for a single subway trip of the user, the identity category of the user is obtained.
[0121] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for identifying a user's subway travel based on wireless signals, characterized in that: include: Based on the micro-cell base station subway relationship and the user's subway operation time data, the user's subway trajectory is obtained; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identification number, the base station site identification number and the appearance time at each base station; Based on the subway track of the user and the preset subway travel order time interval, obtaining the travel order of the user; Based on the subway track, travel order, the preset longest time for a transit passenger to pass through a subway station, and the preset longest time for a single subway trip, the identity category of the user is obtained; The obtaining the travel order of the user based on the subway track of the user and the preset subway travel order time interval includes: If the time difference between the user's subway track passing through adjacent subway stations is greater than the preset subway travel order time interval, it is recorded as a different travel order; The identity category of the user is obtained based on the subway trajectory, travel order, preset maximum time for a transit passenger to pass through a subway station, and preset maximum time for a single subway trip of the user, including: The identity category of users who only stay at one subway station in each travel sequence and whose stay time is less than the longest travel time of the subway station is recorded as passing passengers; The identity category of the user who only stops at one subway station in each travel sequence and whose stay time is not less than the longest time of traveling through the subway station is recorded as subway station staff; Record the identity category of users who stop at multiple subway stations in each travel sequence and whose travel time is longer than the preset maximum time for a single subway trip as subway staff; The identity category of the user who stops at multiple subway stations in each travel sequence and whose travel time is not greater than the preset maximum time for a single subway trip is recorded as a passenger.
2. The method for identifying a user's subway trip based on wireless signals according to claim 1, characterized in that: After obtaining the user's subway track based on the micro-cell base station subway relationship and the user's subway operation time data, the method includes: Based on the subway operation time data of the user, obtain the shortest path between adjacent base stations of the user; Determining whether the shortest path is greater than an adjacent shortest pre-stored path; When it is determined that the shortest path is greater than the adjacent shortest pre-stored path, the intermediate points are supplemented between the adjacent base stations; and combined with the appearance time of the user at the adjacent base stations, the appearance time of the intermediate points of the user between the adjacent base stations is supplemented in an equal division manner.
3. The method for identifying a user's subway trip based on wireless signals according to claim 1, characterized in that: After obtaining the travel order of the user based on the subway track of the user and the preset subway travel order time interval, the method includes: Based on the travel order of the user, no travel order record is made for a single trip in which only one base station appears; other travel orders of the user are accumulated from the beginning to update the maximum travel order.
4. The method for identifying a user's subway trip based on wireless signals according to claim 2, characterized in that: After obtaining the travel order of the user based on the subway track of the user and the preset subway travel order time interval, the method includes: Based on the subway station line relationship and the subway track of the user, traverse each subway station that the user has passed through to obtain the common lines between each current station and its adjacent stations; the current station is the subway station currently traversed; Based on the common lines between each current station and adjacent stations, the subway lines that the user has passed through are obtained.
5. The method for identifying a user's subway trip based on wireless signals according to claim 4, characterized in that: After obtaining the travel order of the user based on the subway track of the user and the preset subway travel order time interval, the method includes: Based on the subway station line relationship and the user's subway trajectory, the first subway station in each travel sequence is recorded as the entry station, the last subway station is recorded as the exit station, the current station and the previous station are on the same line and recorded as the intermediate station, and the current station and the previous station are not on the same line and recorded as the transfer station.
6. The method for identifying a user's subway trip based on wireless signals according to claim 1, characterized in that: Before obtaining the user's subway track based on the micro-cell base station subway relationship and the user's subway operation time data, the method includes: Based on the base station engineering parameter table, micro-cell base stations are selected according to the cell type; In the microcellular base station, the reserved keyword includes the microcellular base station address of the subway; Combined with the subway station name in the base station engineering parameter table, the addresses of the micro-cell base stations containing the subway stations are screened, and the corresponding relationship between the subway stations and the addresses of the micro-cell base stations is established and kept updated.
7. A user subway travel identification device based on wireless signals, characterized in that: include: The subway track identification module is used to obtain the subway track of the user based on the micro-cell base station subway relationship and the user's subway operation time data; wherein the micro-cell base station subway relationship is established and kept updated based on the base station engineering parameter table and the micro-cell base station address; the user's subway operation time data includes the user identity identification number, the base station site identification number and the appearance time at each base station; A travel order determination module, used to obtain the travel order of the user based on the subway trajectory of the user and a preset subway travel order time interval; An identity category identification module, used to obtain the identity category of the user based on the subway track, travel order, the preset longest time for a transit passenger to pass through a subway station, and the preset longest time for a single subway trip; The travel order determination module is further configured to record as different travel orders the time difference between adjacent subway stations in the subway trajectory of the user that is greater than a preset subway travel order time interval; The identity category recognition module is further used to record the identity category of users who only stop at one subway station in each travel sequence and whose stay time is less than the maximum time for traveling through the subway station as passing passengers; record the identity category of users who only stop at one subway station in each travel sequence and whose stay time is not less than the maximum time for traveling through the subway station as subway station staff; record the identity category of users who stop at multiple subway stations in each travel sequence and whose travel time is greater than the preset maximum time for a single subway trip as subway staff; and record the identity category of users who stop at multiple subway stations in each travel sequence and whose travel time is not greater than the preset maximum time for a single subway trip as passengers.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method for identifying user subway travel based on wireless signals as described in any one of claims 1 to 6 are implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for identifying a user's subway travel based on wireless signals as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Airport rail transit passenger identification method based on mobile phone signaling data
CN108882177A
Rail travel feature extraction method based on adjacency matrix and signaling triggering rule
CN110650431A