CN110121143B - Position determination method and device, electronic equipment and readable storage medium - Google Patents

Position determination method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110121143B
CN110121143B CN201910229617.3A CN201910229617A CN110121143B CN 110121143 B CN110121143 B CN 110121143B CN 201910229617 A CN201910229617 A CN 201910229617A CN 110121143 B CN110121143 B CN 110121143B
Authority
CN
China
Prior art keywords
information
train number
network
local
determining
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.)
Active
Application number
CN201910229617.3A
Other languages
Chinese (zh)
Other versions
CN110121143A (en
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201910229617.3A priority Critical patent/CN110121143B/en
Publication of CN110121143A publication Critical patent/CN110121143A/en
Application granted granted Critical
Publication of CN110121143B publication Critical patent/CN110121143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/42Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for mass transport vehicles, e.g. buses, trains or aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Abstract

The disclosure provides a position determination method, a position determination device, an electronic device and a readable storage medium, wherein the method comprises the following steps: capturing a position location request, wherein the position location request comprises location time and network information; acquiring train number information from a local train number database according to the positioning time and the network information; if the network information does not contain wireless local area network information, determining road section information from a local position database according to the network information and the train number information; and determining the current position according to the train number information and the road section information. The current position can be determined through the local database when no data network exists, so that the positioning failure rate is reduced when the network signal is poor and even when no network exists, and the real-time performance is improved; meanwhile, the cost of the equipment (such as a computer) for communicating with the mobile terminal is lower than that of the train control center, which is beneficial to reducing the cost.

Description

Position determination method and device, electronic equipment and readable storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of train positioning, in particular to a position determining method, a position determining device, electronic equipment and a readable storage medium.
Background
In the running process of the train, the position information of the train needs to be determined in real time, and the normal running of the train is guaranteed.
In the prior art, a train positioning method based on a railway mobile communication network communication base station includes: firstly, the train respectively sends positioning requests to two selected railway mobile communication network communication base stations, and the two communication base stations respectively obtain the time of the positioning requests arriving at the two communication base stations, namely the time of the positioning requests arriving; then, the two communication base stations respectively transmit the arrival time of the positioning request to a train control center, and the train control center generates a positioning request arrival time difference curve according to the arrival time of the positioning request and the coordinates of the positioning base stations; and finally, the train control center inquires the track line database according to the control information of the train to obtain the advancing curve of the train near the communication base station, so that the intersection point of the positioning request arrival time difference curve and the advancing curve of the train is the running position of the train.
It can be seen that the positioning process is based on network positioning, so that poor network signals or even no network can cause positioning failure and poor real-time performance.
Disclosure of Invention
The present disclosure provides a position determining method, an apparatus, an electronic device and a readable storage medium, which can determine a current position through a local database when there is no data network, which is helpful to reduce a failure rate of positioning when a network signal is poor or even there is no network, and improve real-time performance, and meanwhile, a device (e.g., a computer) communicating with a mobile terminal has a lower cost than a train control center, which is helpful to reduce the cost.
According to a first aspect of the present disclosure, there is provided a position determination method, the method comprising:
capturing a position location request, wherein the position location request comprises location time and network information;
acquiring train number information from a local train number database according to the positioning time and the network information;
if the network information does not contain wireless local area network information, determining road section information from a local position database according to the network information and the train number information;
and determining the current position according to the train number information and the road section information.
According to a second aspect of the present disclosure, there is provided a position determination apparatus, the apparatus comprising:
the system comprises a position positioning request acquisition module, a position positioning request acquisition module and a positioning module, wherein the position positioning request acquisition module is used for acquiring a position positioning request, and the position positioning request comprises positioning time and network information;
the train number information acquisition module is used for acquiring train number information from a local train number database according to the positioning time and the network information;
the road section information determining module is used for determining road section information from a local position database according to the network information and the train number information if the network information does not contain wireless local area network information;
and the current position determining module is used for determining the current position according to the train number information and the road section information.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the aforementioned position determination method when executing the program.
According to a fourth aspect of the present disclosure, there is provided a readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the aforementioned position determination method.
The embodiment of the disclosure provides a position determining method, a position determining device, an electronic device and a readable storage medium, wherein the method comprises the following steps: capturing a position location request, wherein the position location request comprises location time and network information; acquiring train number information from a local train number database according to the positioning time and the network information; if the network information does not contain wireless local area network information, determining road section information from a local position database according to the network information and the train number information; and determining the current position according to the train number information and the road section information. The current position can be determined through the local database when no data network exists, so that the positioning failure rate is reduced when the network signal is poor and even when no network exists, and the real-time performance is improved; meanwhile, the cost of the equipment (such as a computer) for communicating with the mobile terminal is lower than that of the train control center, which is beneficial to reducing the cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments of the present disclosure will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating specific steps of a position determination method under a system architecture provided in an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating specific steps of another position determination method under the system architecture provided by the embodiment of the present disclosure;
FIG. 3 is a block diagram of a position determining device provided by an embodiment of the present disclosure;
FIG. 4 is a block diagram of another position determining device provided by embodiments of the present disclosure;
fig. 5 is a block diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Example one
Referring to fig. 1, there is shown a flow chart of the steps of a method of position determination, comprising:
step 101, capturing a position location request, wherein the position location request comprises location time and network information.
The embodiments of the present disclosure can be applied to an application or system having a positioning function, or the like. In practical applications, the positioning function usually needs to obtain the positioning data from a remote server through a mobile data network (e.g., a 3G, 4G mobile communication network) or a Wi-Fi network, so that the positioning function cannot be implemented when the mobile data network or the Wi-Fi network cannot be connected. In practical application, the coverage area of the 2G base station is wide, and the embodiment of the disclosure can perform position location through the information of the 2G base station and Wi-Fi.
The position location request is triggered when an application or a system needs to acquire the current position of a user, for example, the current position is acquired as a delivery address in point take-out, or the current position is acquired as an initial position in the process of internet appointment, or the current position is acquired as a part of information in the process of information release.
The positioning time may be the current time when positioning is initiated, and the system interface may be called to acquire the current time of the system as the positioning time.
The network information may include but is not limited to: base station information (e.g., base station identification, base station location), Wi-Fi information (Wi-Fi identification, Wi-Fi location).
And 102, acquiring train number information from a local train number database according to the positioning time and the network information.
The local train number database can be located in a local storage area of a mobile terminal such as a mobile phone and a tablet personal computer, and stores a plurality of pieces of train number information, wherein each piece of train number information includes but is not limited to: the start time and end time of the train, as well as the start time and end time of each stop, the route of the train, and the base stations on the route.
Specifically, the positioning time can be matched with the starting time and the ending time of the station, if the matching is successful, whether the base station in the network information is matched with the base station on the route is determined, and the train number information is obtained when the time is matched with the base station; otherwise, continuing to match the next train number information until the train number information is found, or the matched train number information does not exist in the local train number database.
The train number data in the local train number database is downloaded to the local from the remote server in advance under the condition that a data network exists.
Optionally, in another embodiment of the present disclosure, the network information includes: base station information, wlan information, step 102 includes sub-steps 1021 to 1022:
and a substep 1021, if the network information contains wireless local area network information, acquiring train number information from a local train number database according to the positioning time and the wireless local area network information.
The base station may be a 2G base station for performing basic communication, and the wireless local area network may be Wi-Fi.
And a substep 1022, if the network information only includes base station information, obtaining train number information from a local train number database according to the positioning time and the base station information.
The coverage area of the wireless local area network is smaller, so that the positioning is more accurate; the embodiment of the disclosure can preferentially adopt the wireless local area network for positioning, and is beneficial to improving the positioning accuracy.
And 103, if the network information does not contain wireless local area network information, determining road section information from a local position database according to the network information and the train number information.
The local position database can be located in a local storage area of a mobile terminal such as a mobile phone and a tablet computer, and stores a plurality of pieces of train number information, wherein each piece of position data includes but is not limited to: the information of the train number, the information of the road section and the network information corresponding to the information of the road section.
The position data in the local database is downloaded in advance from a remote server to the local in the presence of a data network.
Optionally, in another embodiment of the present disclosure, the network information includes: base station information and wireless local area network information, wherein the local location database comprises a local base station location database and a local wireless local area network location database, and step 103 comprises substeps 1031 to 1032:
and a substep 1031, if the network information contains wireless local area network information, determining road section information from a local wireless local area network position database according to the wireless local area information and the train number information.
In practical application, when the position data is less, the two kinds of position data can be stored in the same database, so that the number of data tables can be reduced, and the retrieval efficiency is not influenced.
And a substep 1032 of determining the road section information from the local base station location database according to the base station information and the train number information if the network information only includes the base station information.
The coverage area of the wireless local area network is smaller, so that the positioning is more accurate; the embodiment of the disclosure can preferentially adopt the wireless local area network for positioning, and is beneficial to improving the positioning accuracy.
And step 104, determining the current position according to the train number information and the road section information.
Specifically, a candidate position is estimated from the vehicle information, and then the current position is determined by combining the candidate position and the road section information, which is helpful for improving the accuracy of the current position.
In the practical application, the mobile terminal can be a processor or a computer with low cost because of a plurality of devices which can communicate with the mobile terminal, and the cost is low compared with that of a train control center which communicates with a train.
In summary, an embodiment of the present disclosure provides a method for determining a position, where the method includes: capturing a position location request, wherein the position location request comprises location time and network information; acquiring train number information from a local train number database according to the positioning time and the network information; if the network information does not contain wireless local area network information, determining road section information from a local position database according to the network information and the train number information; and determining the current position according to the train number information and the road section information. The current position can be determined through the local database when no data network exists, so that the positioning failure rate is reduced when the network signal is poor and even when no network exists, and the real-time performance is improved; meanwhile, the cost of the equipment (such as a computer) for communicating with the mobile terminal is lower than that of the train control center, which is beneficial to reducing the cost.
Example two
The embodiments of the present application describe an alternative location determination method from the hierarchy of the system architecture.
Referring to fig. 2, a flow chart of particular steps of another position determination method is shown.
Step 201, receiving a plurality of positioning samples, wherein the positioning samples comprise a sample position, a sample time and a sample network.
The positioning sample can be uploaded to a background server of the positioning system when a user with a data network positions. For example, a passenger on a train uploads a location sample when performing a position location.
The sample position is the real position of the positioning, the sample time is the current time of the positioning, and the sample network is a data network adopted by the positioning.
Step 202, determining the sample train number according to the sample position and the sample time.
Specifically, for each train number in the train system, first, it may be determined whether the sample time is between the start time and the arrival time of the train number; then, when the sample time is between the starting time and the arrival time of the train, determining whether the sample position belongs to the route of the train; finally, when the sample time is between the start time and the arrival time of the train and the sample location belongs to the route of the train, the train is the sample train.
In the embodiment of the present disclosure, in order to determine the sample train number, location samples uploaded by the same user at multiple consecutive times may also be obtained, so that if the sample positions of multiple consecutive time points of the user belong to one train number, and the multiple time points are all between the start time and the arrival time of the train number, the train number is determined to be the current train number.
Step 203, regarding a plurality of positioning samples corresponding to the same sample train number, taking the section information formed by the sample positions as the sample section corresponding to the sample network.
In practical applications, the location samples of a plurality of users and a plurality of train numbers are included in the large number of location samples, so that the same train number contains the location samples of a plurality of users at a plurality of time points.
Specifically, a straight line or a curve formed by the sample positions forms a road section, and the sample road section is obtained.
And step 204, taking the sample road section, the sample train number and the sample network as position data.
Specifically, the location data may be stored in the current server, so that the location data may be sent to the local database of the mobile terminal according to a request of the mobile terminal, and the mobile terminal is assisted in offline positioning.
In step 205, in response to downloading the application program containing the positioning function, the train number data and the position data are respectively obtained from the first server and the second server to the local train number database and the local position database.
The first server may be a background server corresponding to the train system, the second server may be a background server corresponding to any application that can collect the location data, and the steps 201 to 204 are executed on the second server.
In practical application, in addition to downloading the train number data and the position data when the application program is downloaded, the train number data and the position data can be downloaded when the system is initialized or installed, or the train number data and the position data are downloaded again when the train number data and the position data are changed.
The embodiment of the disclosure can download the position data and the train number data in advance when a network exists, is beneficial to offline positioning, can update the train number data and the position data, and is beneficial to improving the success rate and the accuracy of positioning.
Step 206, capturing a position location request, wherein the position location request comprises location time and network information.
This step can refer to the detailed description of step 101, and is not described herein again.
Step 207, extracting a piece of reference train number information from the local train number database, wherein the reference train number information comprises a reference network and reference time of reaching the area of the reference network.
Wherein, the reference network is the corresponding network on the route of the train number, including: a base station or Wi-Fi.
Step 208, extracting the network identification from the network information.
The network identifier may be a base station identifier or a Wi-Fi identifier, and is used for uniquely identifying the base station or Wi-Fi.
Step 209, if the network identifier is consistent with the reference network, and the positioning time is consistent with the reference time, determining that the reference train number information is train number information.
Specifically, when the network identifier is the network identifier of the reference network, the network identifier is consistent with the reference network, otherwise, the network identifier is inconsistent with the reference network; when the difference value between the positioning time and the reference time is close, the positioning time is consistent with the reference time; otherwise it is not consistent.
It can be understood that if the network identifier is not consistent with the reference network, or the positioning time is not consistent with the reference time, it is determined that the reference train number information is not train number information, and at this time, the next train number information may be continuously matched until the matching is successful, or the last matching is failed.
The embodiment of the disclosure can firstly acquire the train number information from the local train number database, further determine the road section information under the condition of ensuring the correctness of the train number information, and is beneficial to ensuring the accuracy of the road section information.
Step 210, regarding a piece of local location data in the local location database, if the network information does not include wireless local area network information, and the sample network and the sample train number in the local location data are respectively consistent with the network information and the train number information, taking the sample road section in the local location data as road section information.
Specifically, the network information and the train number information are respectively matched with the position data in the local position database one by one, and road section information is obtained when matching is successful; and if the matching fails, continuing to match the next piece of data until the matching is successful, or else, failing to match the last piece of position data.
The embodiment of the disclosure can match the position data in the local database one by one to obtain the road section information.
And step 211, extracting the vehicle speed, the position of the last station and the departure time from the train number information.
In practical application, for a train number, the speed, the position of each station, the arrival time, the stop time and the departure time of the station are all fixed.
And step 212, determining candidate positions according to the vehicle speed, the position of the previous station and the departure time.
Specifically, the distance traveled after the previous station may be estimated according to the vehicle speed and the travel time, and the candidate position may be obtained by combining the position of the previous station.
Embodiments of the present disclosure may estimate candidate locations based on the location and departure time of the previous station with greater accuracy relative to estimating candidate locations from the starting station of the train.
Optionally, in another embodiment of the present disclosure, step 212 includes sub-steps 2121 to 2123:
and a substep 2121 of calculating a difference between the positioning time and the departure time of the previous station to obtain a driving time.
It will be appreciated that since the positioning is typically performed after the departure of the previous station, the positioning time is typically greater than the departure time of the previous station, i.e. the travel time is greater than 0.
And a substep 2122 of calculating the product of the vehicle speed and the driving time to obtain a driving distance.
It is understood that the travel distance is a curved distance actually traveled.
And a substep 2123 of determining candidate positions according to the position of the previous station and the driving distance.
To make the candidate location more accurate, the candidate location may be determined in conjunction with the route of the train.
Specifically, if the route is a straight line, the travel distance in the straight line direction is projected onto each coordinate component, and then each coordinate component is added to each coordinate corresponding to the position of the previous station, so as to obtain the coordinates of the candidate position.
If the route is a regular curve or is close to a regular curve, the candidate position can be calculated according to a curve equation.
If the route is an irregular curve, the driving route can be divided into a plurality of small segments, each segment corresponds to a starting position and an ending position, each small segment is treated by a straight line, the ending position of each small segment is obtained by calculation one by one according to the calculation process of the straight line and is used as the starting position of the next small segment until the ending position of the last small segment is obtained by calculation to obtain a candidate position.
Step 213, if the candidate position belongs to the road section information, determining that the candidate position is the current position.
Specifically, whether the candidate position belongs to the link information may be determined according to whether the coordinate of the candidate position is located within the position coordinate range corresponding to the link information. For example, if the coordinates of the candidate position are within the position coordinate range corresponding to the link information, the candidate position belongs to the link information; and if the coordinates of the candidate position are not in the position coordinate range corresponding to the road section information, the candidate position does not belong to the road section information.
It is understood that, when the candidate position belongs to the link information, the verification of the candidate position on the basis of the link information is successful, and the accuracy of the candidate position is high, so that the candidate position is taken as the current position.
Step 214, if the candidate position does not belong to the road section information, determining that the center position of the road section information is the current position.
Wherein the center position of the link information is used to represent the position of the link.
It can be understood that when the candidate position does not belong to the section information, the verification of the candidate position by the representative section information fails, and the position of the section is relatively accurate, so that the position of the section is taken as the current position.
In the embodiment of the disclosure, the candidate position can be verified by using the road section information, so that the obtained current position is more accurate.
In summary, an embodiment of the present disclosure provides a method for determining a position, where the method includes: capturing a position location request, wherein the position location request comprises location time and network information; acquiring train number information from a local train number database according to the positioning time and the network information; if the network information does not contain wireless local area network information, determining road section information from a local position database according to the network information and the train number information; and determining the current position according to the train number information and the road section information. The current position can be determined through the local database when no data network exists, so that the positioning failure rate is reduced when the network signal is poor and even when no network exists, and the real-time performance is improved; meanwhile, the cost of the equipment (such as a computer) for communicating with the mobile terminal is lower than that of the train control center, which is beneficial to reducing the cost.
EXAMPLE III
Referring to FIG. 3, a block diagram of a position determining apparatus is shown, as follows.
A position location request acquiring module 301, configured to acquire a position location request, where the position location request includes location time and network information.
And the train number information acquisition module 302 is configured to acquire train number information from a local train number database according to the positioning time and the network information.
And a road section information determining module 303, configured to determine road section information from a local location database according to the network information and the train number information if the network information does not include wireless local area network information.
And a current position determining module 304, configured to determine a current position according to the train number information and the road section information.
In summary, the embodiments of the present disclosure provide a position determining apparatus, the apparatus includes: the system comprises a position positioning request acquisition module, a position positioning request acquisition module and a positioning module, wherein the position positioning request acquisition module is used for acquiring a position positioning request, and the position positioning request comprises positioning time and network information; the train number information acquisition module is used for acquiring train number information from a local train number database according to the positioning time and the network information; the road section information determining module is used for determining road section information from a local position database according to the network information and the train number information if the network information does not contain wireless local area network information; and the current position determining module is used for determining the current position according to the train number information and the road section information. The current position can be determined through the local database when no data network exists, so that the positioning failure rate is reduced when the network signal is poor and even when no network exists, and the real-time performance is improved; meanwhile, the cost of the equipment (such as a computer) for communicating with the mobile terminal is lower than that of the train control center, which is beneficial to reducing the cost.
Example four
Referring to FIG. 4, a block diagram of another position determining apparatus is shown, as follows.
A positioning sample receiving module 401, configured to receive a plurality of positioning samples, where the positioning samples include a sample position, a sample time, and a sample network.
A sample train number determining module 402, configured to determine a sample train number according to the sample position and the sample time.
A sample section generation module 403, configured to use, for multiple positioning samples corresponding to the same sample train number, section information formed by the sample positions as a sample section corresponding to the sample network.
And a location data generating module 404, configured to use the sample road segment, the sample train number, and the sample network as location data.
A data local download module 405, configured to, in response to downloading the application program including the positioning function, obtain the train number data and the location data from the first server and the second server to the local train number database and the local location database, respectively.
A location positioning request acquiring module 406, configured to acquire a location positioning request, where the location positioning request includes positioning time and network information.
The train number information acquisition module 407 is configured to acquire train number information from a local train number database according to the positioning time and the network information; optionally, in another disclosed embodiment, the train number information obtaining module 407 includes:
the reference train number information extraction sub-module 4071 is configured to extract one piece of reference train number information from the local train number database, where the reference train number information includes a reference network and a reference time when the reference network arrives at an area where the reference network is located.
The network identifier extracting sub-module 4072 is configured to extract a network identifier from the network information.
The train number information determining submodule 4073 is configured to determine that the reference train number information is the train number information if the network identifier is consistent with the reference network and the positioning time is consistent with the reference time.
A road section information determining module 408, configured to determine road section information from a local location database according to the network information and the train number information if the network information does not include wireless local area network information; optionally, in an embodiment of the present disclosure, the road section information determining module 408 includes:
a first road segment information determining submodule 4081, configured to, for a piece of local location data in the local location database, if a sample network and a sample number of cars in the local location data are respectively consistent with the network information and the number of cars information, use a sample road segment in the local location data as road segment information.
A current position determining module 409, configured to determine a current position according to the train number information and the road section information; optionally, in this embodiment of the present disclosure, the current position determining module 409 includes:
and a train number information extraction submodule 4091 for extracting a train speed, a position of a previous station and a departure time from the train number information.
And a candidate position determining submodule 4092, configured to determine a candidate position according to the vehicle speed, the position of the previous station, and the departure time.
A first current location determining sub-module 4093, configured to determine that the candidate location is a current location if the candidate location belongs to the road segment information.
And a second current position determining sub-module 4094, configured to determine, if the candidate position does not belong to the road segment information, that a center position of the road segment information is a current position.
Optionally, in another embodiment of the present disclosure, the candidate position determination sub-module 4092 includes:
and the running time calculation unit is used for calculating the difference value between the positioning time and the starting time of the previous station to obtain the running time.
And the running distance calculation unit is used for calculating the product of the vehicle speed and the running time to obtain the running distance.
And the candidate position determining unit is used for determining candidate positions according to the position of the previous station and the driving distance.
Optionally, in another embodiment of the present disclosure, the network information includes: base station information, wireless local area network information, the local location database includes local base station location database, local wireless local area network location database, train number information acquisition module 407 includes:
and the first train number information acquisition submodule is used for acquiring train number information from a local train number database according to the positioning time and the wireless local area network information if the network information contains the wireless local area network information.
The second train number information acquisition submodule is used for acquiring train number information from a local train number database according to the positioning time and the base station information if the network information only contains the base station information;
the road section information determining module 408 includes:
and the second road section information determining submodule is used for determining road section information from a local wireless local area network position database according to the wireless local area information and the train number information if the network information contains the wireless local area network information.
And the third route section information determining submodule is used for determining the route section information from the local base station position database according to the base station information and the train number information if the network information only comprises the base station information.
In summary, the embodiments of the present disclosure provide a position determining apparatus, the apparatus includes: the system comprises a position positioning request acquisition module, a position positioning request acquisition module and a positioning module, wherein the position positioning request acquisition module is used for acquiring a position positioning request, and the position positioning request comprises positioning time and network information; the train number information acquisition module is used for acquiring train number information from a local train number database according to the positioning time and the network information; the road section information determining module is used for determining road section information from a local position database according to the network information and the train number information if the network information does not contain wireless local area network information; and the current position determining module is used for determining the current position according to the train number information and the road section information. The current position can be determined through the local database when no data network exists, so that the positioning failure rate is reduced when the network signal is poor and even when no network exists, and the real-time performance is improved; meanwhile, the cost of the equipment (such as a computer) for communicating with the mobile terminal is lower than that of the train control center, which is beneficial to reducing the cost.
Referring to fig. 5, an embodiment of the present disclosure further provides an electronic device, including: a processor 501, a memory 502 and a computer program 5021 stored on the memory 502 and executable on the processor 502, which when executed by the processor 501 implements the position determination method of the foregoing embodiments.
The disclosed embodiments also provide a readable storage medium, and when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the position determination method of the foregoing embodiments.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, this disclosure is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the present disclosure as described herein, and any descriptions above of specific languages are provided for disclosure of enablement and best mode of the present disclosure.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the disclosure may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the disclosure, various features of the disclosure are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, the claimed disclosure requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this disclosure.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Various component embodiments of the disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a position determination device according to embodiments of the present disclosure. The present disclosure may also be embodied as an apparatus or device program for performing a portion or all of the methods described herein. Such programs implementing the present disclosure may be stored on a computer-readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the disclosure, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The disclosure may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method of position determination, the method comprising:
capturing a position location request, wherein the position location request comprises location time and network information;
acquiring train number information from a local train number database according to the positioning time and the network information;
determining road section information from a local position database according to the network information and the train number information;
determining the current position according to the train number information and the road section information;
the step of determining the current position according to the train number information and the road section information comprises the following steps:
extracting the speed, the position of the last station and the departure time from the train number information;
determining candidate positions according to the vehicle speed, the position of the last station and the departure time;
if the candidate position belongs to the road section information, determining the candidate position as a current position;
and if the candidate position does not belong to the road section information, determining the central position of the road section information as the current position.
2. The method of claim 1, wherein the step of determining candidate locations based on the vehicle speed, the location of the previous station, and the departure time comprises:
calculating the difference value between the positioning time and the starting time of the previous station to obtain the driving time;
calculating the product of the vehicle speed and the driving time to obtain a driving distance;
and determining candidate positions according to the position of the previous station and the driving distance.
3. The method of claim 1, wherein prior to the step of acquiring a position-location request, the method further comprises:
and acquiring the train number data and the position data from the first server and the second server to a local train number database and a local position database respectively in response to downloading the application program containing the positioning function.
4. The method of claim 3, wherein the location data is generated by:
receiving a plurality of positioning samples, the positioning samples comprising a sample location, a sample time, a sample network;
determining a sample train number according to the sample position and the sample time;
aiming at a plurality of positioning samples corresponding to the same sample train number, taking road section information formed by the sample positions as a sample road section corresponding to the sample network;
and taking the sample road section, the sample train number and the sample network as position data.
5. The method of claim 4, wherein the step of determining the road segment information from the local location database based on the network information and the train number information comprises:
for one piece of local position data in the local position database, if the sample network and the sample train number in the local position data are respectively consistent with the network information and the train number information, the sample road section in the local position data is used as road section information.
6. The method of claim 5, wherein the network information comprises: the method comprises the following steps that base station information and wireless local area network information are acquired, the local position database comprises a local base station position database and a local wireless local area network position database, and the step of acquiring train number information from the local train number database according to the positioning time and the network information comprises the following steps:
if the network information contains wireless local area network information, acquiring train number information from a local train number database according to the positioning time and the wireless local area network information;
if the network information only contains base station information, acquiring train number information from a local train number database according to the positioning time and the base station information;
the step of determining the road section information from the local position database according to the network information and the train number information comprises the following steps:
if the network information contains wireless local area network information, determining road section information from a local wireless local area network position database according to the wireless local area network information and the train number information;
and if the network information only comprises base station information, determining road section information from the local base station position database according to the base station information and the train number information.
7. The method according to any one of claims 1 to 6, wherein the step of obtaining train number information from a local train number database according to the positioning time and the network information comprises:
extracting reference train number information from the local train number database, wherein the reference train number information comprises a reference network and reference time of reaching an area where the reference network is located;
extracting a network identification from the network information;
and if the network identifier is consistent with the reference network and the positioning time is consistent with the reference time, determining that the reference train number information is the train number information.
8. A position determining apparatus, characterized in that the apparatus comprises:
the system comprises a position positioning request acquisition module, a position positioning request acquisition module and a positioning module, wherein the position positioning request acquisition module is used for acquiring a position positioning request, and the position positioning request comprises positioning time and network information;
the train number information acquisition module is used for acquiring train number information from a local train number database according to the positioning time and the network information;
the road section information determining module is used for determining road section information from a local position database according to the network information and the train number information if the network information does not contain wireless local area network information;
the current position determining module is used for determining the current position according to the train number information and the road section information;
wherein the current location module is specifically configured to:
extracting the speed, the position of the last station and the departure time from the train number information;
determining candidate positions according to the vehicle speed, the position of the last station and the departure time;
if the candidate position belongs to the road section information, determining the candidate position as a current position;
and if the candidate position does not belong to the road section information, determining the central position of the road section information as the current position.
9. An electronic device, comprising:
processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements the position determination method according to any of claims 1-7 when executing the program.
10. A readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the position determination method according to any of method claims 1-7.
CN201910229617.3A 2019-03-25 2019-03-25 Position determination method and device, electronic equipment and readable storage medium Active CN110121143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910229617.3A CN110121143B (en) 2019-03-25 2019-03-25 Position determination method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910229617.3A CN110121143B (en) 2019-03-25 2019-03-25 Position determination method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110121143A CN110121143A (en) 2019-08-13
CN110121143B true CN110121143B (en) 2021-06-18

Family

ID=67520632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910229617.3A Active CN110121143B (en) 2019-03-25 2019-03-25 Position determination method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110121143B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654824B (en) * 2020-05-29 2023-07-25 Oppo广东移动通信有限公司 Network condition prompting method, device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1555495A (en) * 2001-09-20 2004-12-15 С Method and device for locating vehicles by means of the doppler shift of mobile radio signals
CN106683404A (en) * 2016-12-06 2017-05-17 华南理工大学 Method for obtaining bus passenger flow OD (origin-destination) matrix through mobile phone location technology
CN106912013A (en) * 2015-12-23 2017-06-30 中国移动通信集团辽宁有限公司 A kind of acquisition methods of vehicle position information, apparatus and system
CN107346457A (en) * 2016-05-06 2017-11-14 高德软件有限公司 Bus routes stage division, the method for travel route planning and device
CN108055645A (en) * 2018-01-19 2018-05-18 深圳技术大学(筹) A kind of path identification method and system based on mobile phone signaling data
CN108260149A (en) * 2016-12-29 2018-07-06 中国移动通信集团公司 A kind of method for determining position and device of high ferro UE
CN108924732A (en) * 2017-04-26 2018-11-30 中国移动通信集团设计院有限公司 A kind of high-speed rail user facility positioning method and device
CN109376211A (en) * 2018-10-29 2019-02-22 中国联合网络通信集团有限公司 Establish the method and device of wireless area space-time database

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102795248A (en) * 2012-08-07 2012-11-28 张健 System for dynamically tracking and monitoring train running based on precise satellite positioning
JP6233508B2 (en) * 2014-05-19 2017-11-22 日本電気株式会社 Fault detection method and mobile radio system
CN104955096B (en) * 2015-06-19 2018-09-21 中国联合网络通信集团有限公司 A kind of method and device of determining high ferro user
CN105841693B (en) * 2016-03-24 2019-07-26 Oppo广东移动通信有限公司 Air navigation aid and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1555495A (en) * 2001-09-20 2004-12-15 С Method and device for locating vehicles by means of the doppler shift of mobile radio signals
CN106912013A (en) * 2015-12-23 2017-06-30 中国移动通信集团辽宁有限公司 A kind of acquisition methods of vehicle position information, apparatus and system
CN107346457A (en) * 2016-05-06 2017-11-14 高德软件有限公司 Bus routes stage division, the method for travel route planning and device
CN106683404A (en) * 2016-12-06 2017-05-17 华南理工大学 Method for obtaining bus passenger flow OD (origin-destination) matrix through mobile phone location technology
CN108260149A (en) * 2016-12-29 2018-07-06 中国移动通信集团公司 A kind of method for determining position and device of high ferro UE
CN108924732A (en) * 2017-04-26 2018-11-30 中国移动通信集团设计院有限公司 A kind of high-speed rail user facility positioning method and device
CN108055645A (en) * 2018-01-19 2018-05-18 深圳技术大学(筹) A kind of path identification method and system based on mobile phone signaling data
CN109376211A (en) * 2018-10-29 2019-02-22 中国联合网络通信集团有限公司 Establish the method and device of wireless area space-time database

Also Published As

Publication number Publication date
CN110121143A (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN110909096B (en) Method and device for determining recommended boarding point, storage medium and electronic equipment
CN108537351B (en) Method and device for determining recommended boarding point
CN104426972A (en) Terminal position sharing method and device
US9052204B2 (en) Behavior pattern extraction system, apparatus, method and recording medium storing program
CN107871400B (en) Road network information updating method and device
CN110800274A (en) System and method for determining position of terminal equipment
CN112857371A (en) Navigation two-dimensional code generation method, park navigation method and park navigation device
CN110099353A (en) Train user identification method and equipment
CN104837114B (en) Method and apparatus for the location information exception for determining user
CN107071728A (en) A kind of method of locating terminal and device
CN110121143B (en) Position determination method and device, electronic equipment and readable storage medium
CN106776867A (en) Information-pushing method and device
CN102291419B (en) The supplying method of navigation information system and navigation information
CN111831764A (en) Method and device for determining stop station, electronic equipment and medium
CN113207098B (en) Site information determination method and device, mobile terminal and storage medium
CN106462628B (en) System and method for automatically pushing location-specific content to a user
CN109218976A (en) Resident POI determines method, apparatus, terminal and storage medium
US20210396543A1 (en) Information processing apparatus, information processing method, and program
CN114323037B (en) Road segment position matching and navigation method and device and storage medium
CN107403273B (en) Information processing method, device and non-transitory computer readable storage medium
CN106157659B (en) Electronic eye data adding method, electronic eye management device and system
CN116033544A (en) Indoor parking lot positioning method, computer device, storage medium and program product
CN108460550A (en) logistics distribution method and system
JP2009230255A (en) Information providing device, information providing method and information providing processing program
CN114543820B (en) Road matching method and related device

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
GR01 Patent grant
GR01 Patent grant