CN110121143A - Location determining method, device, electronic equipment and readable storage medium storing program for executing - Google Patents

Location determining method, device, electronic equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110121143A
CN110121143A CN201910229617.3A CN201910229617A CN110121143A CN 110121143 A CN110121143 A CN 110121143A CN 201910229617 A CN201910229617 A CN 201910229617A CN 110121143 A CN110121143 A CN 110121143A
Authority
CN
China
Prior art keywords
information
network
local
bus schedules
road section
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.)
Granted
Application number
CN201910229617.3A
Other languages
Chinese (zh)
Other versions
CN110121143B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

Present disclose provides a kind of location determining method, device, electronic equipment and readable storage medium storing program for executing, which comprises catch position Location Request, the position location request include positioning time, the network information;Bus Schedules are obtained from local train number database according to the positioning time and the network information;If the network information does not include WLAN information, road section information is determined from local position data library according to the network information and Bus Schedules;Current location is determined according to the Bus Schedules and road section information.Current location can be determined by local data base in no data network, help to reduce network signal difference even without network when position failure rate, improve real-time;Meanwhile the equipment (such as computer) communicated with mobile terminal, cost is lower with respect to train control center, helps to reduce cost.

Description

Location determining method, device, electronic equipment and readable storage medium storing program for executing
Technical field
The embodiment of the present disclosure is related to train Positioning Technology field more particularly to a kind of location determining method, device, electronics are set Standby and readable storage medium storing program for executing.
Background technique
Train in the process of moving, needs to determine the location information of train in real time, helps to ensure that the normal operation of train.
In the prior art, a kind of train locating method based on railway mobile communication network communication base station includes: firstly, column Vehicle sends Location Request to two selected railway mobile communication network communication base stations respectively, and two communication base stations are divided by calculating Do not show that Location Request reaches the time of two communication base stations, the i.e. time of Location Request arrival;Then, two communication base stations point The time tranfer that Location Request is not reached is to train control center, time and locating base station that train control center is reached according to Location Request Coordinate generation Location Request reaching time-difference curve;Finally, control information of the train control center according to train, inquires railway line number According to library, the travel curve of train near communication base station is obtained, so that the traveling of Location Request reaching time-difference curve and train is bent The intersection point of line is the running position of train.
It is positioned as can be seen that above-mentioned position fixing process is based on network, so that network signal difference even will lead to without network Positioning failure and real-time are poor, in addition, above scheme needs additional equipment train control center, higher cost.
Summary of the invention
The disclosure provides a kind of location determining method, device, electronic equipment and readable storage medium storing program for executing, can be in no data net When network, current location is determined by local data base, facilitate reduce network signal difference even without network when position failure rate, mention High real-time, meanwhile, the equipment (such as computer) communicated with mobile terminal, cost is lower with respect to train control center, helps In reducing cost.
According to the disclosure in a first aspect, providing a kind of location determining method, which comprises
Catch position Location Request, the position location request include positioning time, the network information;
Bus Schedules are obtained from local train number database according to the positioning time and the network information;
If the network information does not include WLAN information, according to the network information and Bus Schedules from local Road section information is determined in location database;
Current location is determined according to the Bus Schedules and road section information.
According to the second aspect of the disclosure, a kind of position determining means are provided, described device includes:
Position location request trapping module is used for catch position Location Request, when the position location request includes positioning Between, the network information;
Bus Schedules obtain module, for being obtained from local train number database according to the positioning time and the network information Bus Schedules;
Road section information determining module, if not including WLAN information for the network information, according to the net Network information and Bus Schedules determine road section information from local position data library;
Current location determining module, for determining current location according to the Bus Schedules and road section information.
According to the third aspect of the disclosure, a kind of electronic equipment is provided, comprising:
Processor, memory and it is stored in the computer journey that can be run on the memory and on the processor Sequence realizes that aforementioned location determines method when the processor executes described program.
According to the fourth aspect of the disclosure, provide a kind of readable storage medium storing program for executing, when the instruction in the storage medium by When the processor of electronic equipment executes, so that electronic equipment is able to carry out aforementioned location and determines method.
The embodiment of the present disclosure provides a kind of location determining method, device, electronic equipment and readable storage medium storing program for executing, the side Method includes: catch position Location Request, and the position location request includes positioning time, the network information;When according to the positioning Between and the network information obtain Bus Schedules from local train number database;If the network information is believed not comprising WLAN Breath then determines road section information according to the network information and Bus Schedules from local position data library;Believed according to the train number Breath and road section information determine current location.Current location can be determined by local data base, facilitated in no data network Reduce network signal difference even without network when position failure rate, improve real-time;Meanwhile the equipment communicated with mobile terminal (such as computer), cost is lower with respect to train control center, helps to reduce cost.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the embodiment of the present disclosure, below by institute in the description to the embodiment of the present disclosure Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the disclosure Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of location determining method specific steps flow chart under the system architecture that the embodiment of the present disclosure provides;
Fig. 2 is another location determining method specific steps flow chart under the system architecture that the embodiment of the present disclosure provides;
Fig. 3 is a kind of structure chart for position determining means that the embodiment of the present disclosure provides;
Fig. 4 is the structure chart for another position determining means that the embodiment of the present disclosure provides;
Fig. 5 is the structure chart for the electronic equipment that the embodiment of the present disclosure provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description, it is clear that described embodiment is disclosure a part of the embodiment, instead of all the embodiments.Based on this public affairs Embodiment in opening, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example belongs to the range of disclosure protection.
Embodiment one
Referring to Fig.1, it illustrates a kind of step flow charts of location determining method, comprising:
Step 101, catch position Location Request, the position location request include positioning time, the network information.
Embodiment of the disclosure can be applied to the application with positioning function or system etc..In practical applications, it positions Function will usually be obtained by mobile data network (for example, 3G, 4G mobile communications network) or Wi-Fi network from remote server Location data, to cannot achieve positioning function when cannot connect to mobile data network or Wi-Fi network.And in reality In, the coverage area of the base station 2G is wider, and embodiment of the disclosure can carry out position by the information of the base station 2G and Wi-Fi Positioning.
Wherein, position location request triggering when application or system need to obtain user current location, for example, when point is taken out Obtain current location as dispatching address, or, net about vehicle when, obtain current location be used as initial position, or, release news when, Obtain a part of current location as information.
Positioning time can obtain the current time of system to initiate current time when positioning with calling system interface As positioning time.
The network information is that can include but is not limited to: base station information (such as Base Station Identification, base station location), Wi-Fi information (Wi-Fi mark, the position Wi-Fi).
Step 102, Bus Schedules are obtained from local train number database according to the positioning time and the network information.
Wherein, local train number database can be located in the memory blocks of mobile terminals local such as mobile phone, tablet computer, storage A plurality of Bus Schedules, every Bus Schedules include but is not limited to: the initial time of the train number and end time and each website Initial time and end time, the route of train number and the base station on route.
Specifically, the initial time and end time of positioning time and website can be matched, if successful match, Determine again base station in the network information whether with the base station matching on route, train number is obtained when time and base station matchs and is believed Breath;Otherwise, continue to match next Bus Schedules, until Bus Schedules are found, or, there is no matchings in local train number database Bus Schedules.
Train number data in local train number database are downloaded from remote server in the case where there is data network in advance Into local.
Optionally, in another embodiment of the disclosure, the network information includes: base station information, WLAN Information, step 102 include sub-step 1021 to 1022:
Sub-step 1021, if the network information includes WLAN information, according to the positioning time and wirelessly LAN Information obtains Bus Schedules from local train number database.
Wherein, base station can be the base station 2G for carrying out Base communication, and WLAN can be Wi-Fi.
Sub-step 1022, if the network information only includes base station information, according to the positioning time and base station information Bus Schedules are obtained from local train number database.
Since the coverage area of WLAN is smaller, so that positioning is more accurate;Embodiment of the disclosure can be adopted preferentially It is positioned with WLAN, helps to improve positional accuracy.
Step 103, if the network information does not include WLAN information, believed according to the network information and train number Breath determines road section information from local position data library.
Wherein, local position data library can be located in the memory blocks of mobile terminals local such as mobile phone, tablet computer, storage A plurality of Bus Schedules, every position data includes but is not limited to: Bus Schedules, road section information and the road section information are corresponding The network information.
Position data in local data base is downloaded to this in the case where there is data network from remote server in advance In ground.
Optionally, in another embodiment of the disclosure, the network information includes: base station information, WLAN Information, the local position data library include home base stations location database, local wireless office net location database, step 103 Including sub-step 1031 to 1032:
Sub-step 1031, if the network information includes WLAN information, according to the wireless local area information and Bus Schedules determine road section information from local wireless local area network location database.
Wherein, home base stations location database stores base station position data, and local wireless office net location database stores nothing Line local area network position data when position data is less, can also store two kinds of position datas to same in practical applications In database, it is possible to reduce the number of tables of data, and do not influence recall precision.
Sub-step 1032, if the network information only includes comprising base station information, according to the base station information and train number Information determines road section information from the home base stations location database.
Since the coverage area of WLAN is smaller, so that positioning is more accurate;Embodiment of the disclosure can be adopted preferentially It is positioned with WLAN, helps to improve positional accuracy.
Step 104, current location is determined according to the Bus Schedules and road section information.
Specifically, a position candidate is estimated from Bus Schedules, then, is determined in conjunction with position candidate and road section information Current location helps to improve the accuracy of current location.
It can be various lower-cost processing since there are many equipment that mobile terminal can communicate in this practical application Device or computer, relative to the train control center communicated with train, cost is relatively low.
In conclusion the embodiment of the present disclosure provides a kind of location determining method, which comprises catch position positioning Request, the position location request includes positioning time, the network information;According to the positioning time and the network information from local vehicle Bus Schedules are obtained in secondary database;If the network information does not include WLAN information, according to the network information Road section information is determined from local position data library with Bus Schedules;Present bit is determined according to the Bus Schedules and road section information It sets.Current location can be determined by local data base in no data network, help to reduce network signal difference even without net Failure rate is positioned when network, improves real-time;Meanwhile the equipment (such as computer) communicated with mobile terminal, cost is opposite Train control center is lower, helps to reduce cost.
Embodiment two
The embodiment of the present application is described optionally location determining method from the level of system architecture.
Referring to Fig. 2, it illustrates the specific steps flow charts of another location determining method.
Step 201, multiple positioning samples are received, the positioning sample includes sample position, sample time, network of samples.
Wherein, positioning sample can be that the backstage for having the user of data network to be uploaded to positioning system when position positions takes Business device.For example, the passenger on train is in the positioning sample upload when the positioning of position.
Sample position is the actual position of positioning, and sample time is the current time of positioning, and network of samples is that positioning uses Data network.
Step 202, sample train number is determined according to the sample position and sample time.
Specifically, for each train number in train system, it is possible, firstly, to determine sample time whether rising in the train number Begin between time and arrival time;Then, when sample time is in the initial time of the train number and when between arrival time, sample is determined Whether this position belongs to the route of the train number;Finally, when sample time is in the initial time of the train number and between arrival time, and When sample position belongs to the route of the train number, which is sample train number.
In embodiment of the disclosure, in order to determine sample train number, same user can also be obtained continuously on multiple times The positioning sample of biography, thus if the sample position at user's continuous multiple time points belongs to a train number, and multiple time point is equal In the initial time of the train number and between arrival time, it is determined that the train number is current train number.
Step 203, for the corresponding multiple positioning samples of same sample train number, the section that the sample position is formed is believed Breath is as the corresponding sample section of the network of samples.
It in practical applications, largely include the positioning sample of multiple users, multiple train numbers in positioning sample, thus with This train number contains positioning sample of multiple users on multiple time points.
Specifically, the straight line of sample position composition or curve form a section, obtain sample section.
Step 204, using the sample section, sample train number and network of samples as position data.
Specifically, position data can be saved into current server, so as under the request according to mobile terminal It is sent in mobile terminal local data base, mobile terminal is helped to be positioned offline.
Step 205, in response to downloading the application program comprising positioning function, respectively from first server and second server Middle acquisition train number data and position data are into local train number database and local position data library.
Wherein, first server can be the corresponding background server of train system, and second server is that can collect position Set background server corresponding to any application of data, the step of step 201 is to 204 executes on second server.
It in practical applications, can also be in system in addition to downloading application program carrier vehicle time data and position data at present Initialization or installation carrier vehicle time data and position data at present, or, when train number data and position data change, again under Carrier vehicle time data and position data.
Embodiment of the disclosure can be when there is network, preparatory download location data and train number data, and it is fixed offline to facilitate Position, and train number data and position data can be updated, help to improve the success rate and accuracy of positioning.
Step 206, catch position Location Request, the position location request include positioning time, the network information.
The step is referred to the detailed description of step 101, and details are not described herein.
Step 207, one is extracted from the local train number database refer to Bus Schedules, it is described to refer to Bus Schedules packet The reference time for including grid of reference, reaching the grid of reference region.
Wherein, grid of reference is corresponding network on train number route, comprising: base station or Wi-Fi.
Step 208, network identity is extracted from the network information.
Wherein, network identity can identify for Base Station Identification or Wi-Fi, be used for unique identification base station or Wi-Fi.
Step 209, if the network identity is consistent with the grid of reference, and the positioning time and the reference time Unanimously, it is determined that the reference Bus Schedules are Bus Schedules.
Specifically, it is consistent with grid of reference that network identity is represented when network identity is the network identity of grid of reference, otherwise Network identity and grid of reference are inconsistent;When the difference of positioning time and reference time are close, when representing positioning time and reference Between it is consistent;Otherwise inconsistent.
If be appreciated that network identity and the grid of reference is inconsistent or positioning time and the reference time it is different Cause, it is determined that with reference to Bus Schedules be not Bus Schedules, at this point it is possible to continue to match next Bus Schedules, until matching at It fails to match for function or the last item.
Embodiment of the disclosure can obtain Bus Schedules from local train number database first, guarantee Bus Schedules just Road section information is further determined that in the case where really, helps to ensure that the accuracy of road section information.
Step 210, for a local position data in the local position data library, if the network information is not wrapped Information containing WLAN, and network of samples in the local position data and sample train number respectively with the network information and Bus Schedules are consistent, then using the sample section in the local position data as road section information.
Specifically, the network information and Bus Schedules are carried out with the position data in local position data library one by one respectively Match, obtains road section information in successful match;If it fails to match, continue to match next data, until successful match, or, most It fails to match for latter position data.
The position data that embodiment of the disclosure can match one by one in local data base obtains road section information.
Step 211, speed, the position of a upper website and departure time are extracted from the Bus Schedules.
In practical applications, for a train number, speed, the position of each website, the arrival time of the website, stopping Time, departure time are fixed.
Step 212, position candidate is determined according to the speed, the position of a upper website and departure time.
Specifically, operating range after a upper website can be estimated according to speed and running time, in conjunction with a upper website Position obtain position candidate.
Embodiment of the disclosure can estimate position candidate according to the position of a upper website and departure time, relative to from vehicle Position candidate is estimated in secondary start site, and accuracy is higher.
Optionally, in another embodiment of the disclosure, step 212 includes sub-step 2121 to 2123:
Sub-step 2121 calculates the difference of the departure time of the positioning time and a upper website, obtains running time.
It is appreciated that since positioning usually carries out after a upper website sets out, so that positioning time is typically larger than upper one The departure time of website, i.e. running time are greater than 0.
Sub-step 2122, the product for calculating the speed and the running time obtain travel distance.
It is appreciated that travel distance is the curve distance of actual travel.
Sub-step 2123 determines position candidate according to the position of a upper website and travel distance.
In order to enable position candidate is more accurate, it can be in conjunction with the route determination position candidate of train number.
Specifically, if route is straight line, the travel distance in rectilinear direction is projected on each coordinate components first, so Each coordinate components are obtained into the coordinate of position candidate plus each coordinate of the position of a corresponding upper website afterwards.
If for regular curve or close to regular curve position candidate can be calculated according to curvilinear equation in route.
If route is irregular curve, travel distance can be divided into several segments, the corresponding starting of each segment Position and end position, each segment are treated with straight line, and according to the calculating process of aforesaid rectilinear, each segment is calculated one by one End position, and the initial position as next segment, until the end position that the last one segment is calculated obtains Position candidate.
Step 213, if the position candidate belongs to the road section information, it is determined that the position candidate is current location.
Specifically, whether can be located within the scope of the corresponding position coordinates of road section information according to the coordinate of position candidate, really Determine whether position candidate belongs to road section information.For example, if the coordinate of position candidate is in the corresponding position coordinates range of road section information Interior, then position candidate belongs to the road section information;If the coordinate of position candidate is not in the corresponding position coordinates range of road section information Interior, then position candidate is not belonging to the road section information.
It is appreciated that representing verification success of the road section information to position candidate when position candidate belongs to road section information, waiting Select position accuracy higher, thus using position candidate as current location.
Step 214, if the position candidate is not belonging to the road section information, it is determined that the center of the road section information For current location.
Wherein, the center of road section information is used to indicate the position in section.
It is appreciated that represent road section information when position candidate is not belonging to road section information and fail to the verification of position candidate, The position in section is more accurate, thus using the position in section as current location.
In embodiment of the disclosure, position candidate can be verified using road section information, so that is obtained works as Front position is more accurate.
In conclusion the embodiment of the present disclosure provides a kind of location determining method, which comprises catch position positioning Request, the position location request includes positioning time, the network information;According to the positioning time and the network information from local vehicle Bus Schedules are obtained in secondary database;If the network information does not include WLAN information, according to the network information Road section information is determined from local position data library with Bus Schedules;Present bit is determined according to the Bus Schedules and road section information It sets.Current location can be determined by local data base in no data network, help to reduce network signal difference even without net Failure rate is positioned when network, improves real-time;Meanwhile the equipment (such as computer) communicated with mobile terminal, cost is opposite Train control center is lower, helps to reduce cost.
Embodiment three
It is specific as follows it illustrates a kind of structure chart of position determining means referring to Fig. 3.
Position location request trapping module 301, is used for catch position Location Request, and the position location request includes positioning Time, the network information.
Bus Schedules obtain module 302, are used for according to the positioning time and the network information from local train number database Obtain Bus Schedules.
Road section information determining module 303, if not including WLAN information for the network information, according to The network information and Bus Schedules determine road section information from local position data library.
Current location determining module 304, for determining current location according to the Bus Schedules and road section information.
In conclusion the embodiment of the present disclosure provides a kind of position determining means, described device includes: position location request Trapping module is used for catch position Location Request, and the position location request includes positioning time, the network information;Bus Schedules Module is obtained, for obtaining Bus Schedules from local train number database according to the positioning time and the network information;Section letter Determining module is ceased, if not including WLAN information for the network information, is believed according to the network information and train number Breath determines road section information from local position data library;Current location determining module, for according to the Bus Schedules and section Information determines current location.Current location can be determined by local data base in no data network, help to reduce network Signal difference even without network when position failure rate, improve real-time;Meanwhile the equipment communicated with mobile terminal (such as is counted Calculation machine), cost is lower with respect to train control center, helps to reduce cost.
Example IV
It is specific as follows it illustrates the structure chart of another position determining means referring to Fig. 4.
Sample receiving module 401 is positioned, for receiving multiple positioning samples, the positioning sample includes sample position, sample This time, network of samples.
Sample train number determining module 402, for determining sample train number according to the sample position and sample time.
Sample section generation module 403, for being directed to the corresponding multiple positioning samples of same sample train number, by the sample The road section information of position composition is as the corresponding sample section of the network of samples.
Position data generation module 404, for using the sample section, sample train number and network of samples as positional number According to.
Module 405 is locally-downloaded in data, for being taken from first respectively in response to downloading the application program comprising positioning function It is engaged in obtaining train number data and position data in device and second server into local train number database and local position data library.
Position location request trapping module 406, is used for catch position Location Request, and the position location request includes positioning Time, the network information.
Bus Schedules obtain module 407, are used for according to the positioning time and the network information from local train number database Obtain Bus Schedules;Optionally, in disclosed another embodiment, the Bus Schedules obtain module 407, comprising:
With reference to Bus Schedules extracting sub-module 4071, train number is referred to for extracting one from the local train number database Information, described with reference to Bus Schedules includes grid of reference, the reference time for reaching the grid of reference region.
Network identity extracting sub-module 4072, for extracting network identity from the network information.
Bus Schedules determine submodule 4073, if consistent with the grid of reference and described fixed for the network identity The position time is consistent with the reference time, it is determined that the reference Bus Schedules are Bus Schedules.
Road section information determining module 408, if not including WLAN information for the network information, according to The network information and Bus Schedules determine road section information from local position data library;Optionally, in the embodiments of the present disclosure, described Road section information determining module 408, comprising:
First road section information determines submodule 4081, for for a local position in the local position data library Data, if network of samples and sample train number in the local position data respectively with the network information and Bus Schedules one It causes, then using the sample section in the local position data as road section information.
Current location determining module 409, for determining current location according to the Bus Schedules and road section information;It is optional Ground, in the embodiments of the present disclosure, the current location determining module 409, comprising:
Bus Schedules extracting sub-module 4091, for from the Bus Schedules extract speed, a upper website position and Departure time.
Position candidate determines submodule 4092, for being determined according to the speed, the position of a upper website and departure time Position candidate.
First current location determines submodule 4093, if belonging to the road section information for the position candidate, it is determined that The position candidate is current location.
Second current location determines submodule 4094, if being not belonging to the road section information for the position candidate, really The center of the fixed road section information is current location.
Optionally, in another embodiment of the disclosure, the position candidate determines that submodule 4092 includes:
Running time computing unit, the difference of the departure time for calculating the positioning time and a upper website, obtains Running time.
Travel distance computing unit, the product for calculating the speed and the running time obtain travel distance.
Position candidate determination unit, for determining position candidate according to the position and travel distance of a upper website.
Optionally, in another embodiment of the disclosure, the network information includes: base station information, WLAN Information, the local position data library include home base stations location database, local wireless office net location database, the train number Data obtaining module 407, comprising:
First Bus Schedules acquisition submodule, if including WLAN information for the network information, according to institute It states positioning time and WLAN information and obtains Bus Schedules from local train number database.
Second Bus Schedules acquisition submodule, if only including base station information for the network information, according to described fixed Position time and base station information obtain Bus Schedules from local train number database;
The road section information determining module 408, comprising:
Second road section information determines submodule, if including WLAN information for the network information, according to institute It states wireless local area information and Bus Schedules and determines road section information from local wireless local area network location database.
Third road section information determines submodule, if only including comprising base station information, according to institute for the network information It states base station information and Bus Schedules and determines road section information from the home base stations location database.
In conclusion the embodiment of the present disclosure provides a kind of position determining means, described device includes: position location request Trapping module is used for catch position Location Request, and the position location request includes positioning time, the network information;Bus Schedules Module is obtained, for obtaining Bus Schedules from local train number database according to the positioning time and the network information;Section letter Determining module is ceased, if not including WLAN information for the network information, is believed according to the network information and train number Breath determines road section information from local position data library;Current location determining module, for according to the Bus Schedules and section Information determines current location.Current location can be determined by local data base in no data network, help to reduce network Signal difference even without network when position failure rate, improve real-time;Meanwhile the equipment communicated with mobile terminal (such as is counted Calculation machine), cost is lower with respect to train control center, helps to reduce cost.
Referring to Fig. 5, the embodiment of the present disclosure additionally provides a kind of electronic equipment, comprising: processor 501, memory 502 and It is stored in the computer program 5021 that can be run on the memory 502 and on the processor 502, the processor 501 The location determining method of previous embodiment is realized when executing described program.
The embodiment of the present disclosure additionally provides a kind of readable storage medium storing program for executing, when the instruction in the storage medium is by electronic equipment Processor execute when so that electronic equipment is able to carry out the location determining method of previous embodiment.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the disclosure is also not for any particular programming language.It should be understood that can use various Programming language realizes content of this disclosure described herein, and the description done above to language-specific is to disclose this public affairs The preferred forms opened.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the disclosure Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of the exemplary embodiment of the disclosure, each feature of the disclosure is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect The disclosure of shield requires features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the disclosure.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
The various component embodiments of the disclosure can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in the location determining device according to the embodiment of the present disclosure or The some or all functions of person's whole component.The disclosure is also implemented as one for executing method as described herein Point or whole device or device programs.Such program for realizing the disclosure can store in computer-readable medium On, or may be in the form of one or more signals.Such signal can be downloaded from an internet website to obtain, or Person is provided on the carrier signal, or is provided in any other form.
The disclosure is limited it should be noted that above-described embodiment illustrates rather than the disclosure, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The disclosure can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all essences in the disclosure Made any modifications, equivalent replacements, and improvements etc., should be included within the protection scope of the disclosure within mind and principle.
The above, the only specific embodiment of the disclosure, but the protection scope of the disclosure is not limited thereto, it is any Those familiar with the art can easily think of the change or the replacement in the technical scope that the disclosure discloses, and should all contain It covers within the protection scope of the disclosure.Therefore, the protection scope of the disclosure should be subject to the protection scope in claims.

Claims (11)

1. a kind of location determining method, which is characterized in that the described method includes:
Catch position Location Request, the position location request include positioning time, the network information;
Bus Schedules are obtained from local train number database according to the positioning time and the network information;
Road section information is determined from local position data library according to the network information and Bus Schedules;
Current location is determined according to the Bus Schedules and road section information.
2. the method according to claim 1, wherein described work as according to the Bus Schedules and road section information determination The step of front position, comprising:
Speed, the position of a upper website and departure time are extracted from the Bus Schedules;
Position candidate is determined according to the speed, the position of a upper website and departure time;
If the position candidate belongs to the road section information, it is determined that the position candidate is current location;
If the position candidate is not belonging to the road section information, it is determined that the center of the road section information is current location.
3. according to the method described in claim 2, it is characterized in that, it is described according to the speed, a upper website position and go out The step of hair time determines position candidate, comprising:
The difference for calculating the departure time of the positioning time and a upper website, obtains running time;
The product for calculating the speed and the running time obtains travel distance;
Position candidate is determined according to the position of a upper website and travel distance.
4. the method according to claim 1, wherein before the catch position Location Request the step of, institute State method further include:
In response to downloading the application program comprising positioning function, train number number is obtained from first server and second server respectively According to position data into local train number database and local position data library.
5. according to the method described in claim 4, it is characterized in that, the position data generates as follows:
Multiple positioning samples are received, the positioning sample includes sample position, sample time, network of samples;
Sample train number is determined according to the sample position and sample time;
For the corresponding multiple positioning samples of same sample train number, the road section information that the sample position is formed is as the sample The corresponding sample section of present networks;
Using the sample section, sample train number and network of samples as position data.
6. according to the method described in claim 5, it is characterized in that, it is described according to the network information and Bus Schedules from local The step of road section information is determined in location database, comprising:
For a local position data in the local position data library, if the network of samples in the local position data It is consistent with the network information and Bus Schedules respectively with sample train number, then the sample section in the local position data is made For road section information.
7. according to the method described in claim 6, it is characterized in that, the network information includes: base station information, WLAN Information, the local position data library include home base stations location database, local wireless office net location database, the basis The step of positioning time and the network information obtain Bus Schedules from local train number database, comprising:
If the network information includes WLAN information, according to the positioning time and WLAN information from local Bus Schedules are obtained in train number database;
If the network information only includes base station information, according to the positioning time and base station information from local train number database Middle acquisition Bus Schedules;
Described the step of determining road section information from local position data library according to the network information and Bus Schedules, comprising:
If the network information includes WLAN information, according to the wireless local area information and Bus Schedules from local nothing Road section information is determined in line local area network location database;
If the network information only includes comprising base station information, according to the base station information and Bus Schedules from described ground Road section information is determined in station location database.
8. according to claim 1 to method described in 7 any items, which is characterized in that it is described according to the positioning time and The network information obtains the step of Bus Schedules from local train number database, comprising:
Extract one from the local train number database and refer to Bus Schedules, it is described with reference to Bus Schedules include grid of reference, Reach the reference time of the grid of reference region;
Network identity is extracted from the network information;
If the network identity is consistent with the grid of reference, and the positioning time is consistent with the reference time, it is determined that The reference Bus Schedules are Bus Schedules.
9. a kind of position determining means, which is characterized in that described device includes:
Position location request trapping module is used for catch position Location Request, and the position location request includes positioning time, net Network information;
Bus Schedules obtain module, for obtaining train number from local train number database according to the positioning time and the network information Information;
Road section information determining module is believed if not including WLAN information for the network information according to the network Breath and Bus Schedules determine road section information from local position data library;
Current location determining module, for determining current location according to the Bus Schedules and road section information.
10. a kind of electronic equipment characterized by comprising
Processor, memory and it is stored in the computer program that can be run on the memory and on the processor, It is characterized in that, the processor realizes that the position as described in one or more in claim 1-8 determines when executing described program Method.
11. a kind of readable storage medium storing program for executing, which is characterized in that when the instruction in the storage medium is held by the processor of electronic equipment When row, so that electronic equipment is able to carry out the location determining method as described in one or more in claim to a method 1-8.
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 true CN110121143A (en) 2019-08-13
CN110121143B 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)

Cited By (1)

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

Citations (12)

* 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
CN102795248A (en) * 2012-08-07 2012-11-28 张健 System for dynamically tracking and monitoring train running based on precise satellite positioning
CN104955096A (en) * 2015-06-19 2015-09-30 中国联合网络通信集团有限公司 Method and device for determining high-speed rail user
CN105841693A (en) * 2016-03-24 2016-08-10 广东欧珀移动通信有限公司 Navigation method and navigation apparatus
CN106683404A (en) * 2016-12-06 2017-05-17 华南理工大学 Method for obtaining bus passenger flow OD (origin-destination) matrix through mobile phone location technology
US20170149603A1 (en) * 2014-05-19 2017-05-25 Nec Corporation Fault detection method and mobile wireless system
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

Patent Citations (12)

* 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
CN102795248A (en) * 2012-08-07 2012-11-28 张健 System for dynamically tracking and monitoring train running based on precise satellite positioning
US20170149603A1 (en) * 2014-05-19 2017-05-25 Nec Corporation Fault detection method and mobile wireless system
CN104955096A (en) * 2015-06-19 2015-09-30 中国联合网络通信集团有限公司 Method and device for determining high-speed rail user
CN106912013A (en) * 2015-12-23 2017-06-30 中国移动通信集团辽宁有限公司 A kind of acquisition methods of vehicle position information, apparatus and system
CN105841693A (en) * 2016-03-24 2016-08-10 广东欧珀移动通信有限公司 Navigation method and navigation apparatus
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN110121143B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN108537351B (en) Method and device for determining recommended boarding point
CN104599217B (en) Method and apparatus for the current destination for determining passenger
CN105407456A (en) Method and system used for processing help-seeking information
CN104410717A (en) Information pushing method and device
CN105139641A (en) WiFi relay station-based vehicle scheduling method and system
JP2015092160A (en) Method and device for providing positional information using wifi information
CN106211067A (en) A kind of people's flow monitoring method and device based on terminal
CN104955096A (en) Method and device for determining high-speed rail user
CN109614557A (en) Method, equipment and computer readable storage medium for recommending to get on the bus a little
CN106209940B (en) Information-pushing method and information push-delivery apparatus
CN109856660A (en) Floating Car road conditions information gathering method, apparatus, equipment and system
KR101799973B1 (en) Apparatus and method for recommending meeting place
CN107491517B (en) Change label method, system, equipment and storage medium based on event driven
CN106850921B (en) Telephone number priority list is determined for specific user
CN110060496A (en) Vehicle shared system and method
CN107071728A (en) A kind of method of locating terminal and device
CN110177259A (en) Underground parking navigation system and method
EP3193521A1 (en) Method and server for saving standard format page
CN110267192B (en) Positioning method and device
CN110121143A (en) Location determining method, device, electronic equipment and readable storage medium storing program for executing
CN105338065A (en) Terminal equipment position information protection method and device
CN106447101B (en) The method for pushing and supplying system of travel activity information
CN102752848A (en) Method and device for acquiring position information
CN107889191B (en) Connection method, device and equipment of wireless local area network and computer readable storage medium
KR101926584B1 (en) Method and apparatus for providing positional inforamtion using wifi information

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