CN109697883A - Bus reporting station method and equipment - Google Patents

Bus reporting station method and equipment Download PDF

Info

Publication number
CN109697883A
CN109697883A CN201910118809.7A CN201910118809A CN109697883A CN 109697883 A CN109697883 A CN 109697883A CN 201910118809 A CN201910118809 A CN 201910118809A CN 109697883 A CN109697883 A CN 109697883A
Authority
CN
China
Prior art keywords
website
bus
fence
radius
route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910118809.7A
Other languages
Chinese (zh)
Inventor
何俊彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lei Teng Software Ltd Co
Original Assignee
Shanghai Lei Teng Software Ltd Co
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 Shanghai Lei Teng Software Ltd Co filed Critical Shanghai Lei Teng Software Ltd Co
Priority to CN201910118809.7A priority Critical patent/CN109697883A/en
Publication of CN109697883A publication Critical patent/CN109697883A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The object of the present invention is to provide a kind of bus reporting station method and equipment, automatic reporting station method based on more transit point bus business of the invention, the condition of triggering route website automatic broadcasting is: vehicle enters in the fence radius of a certain website, and vehicle heading is within the scope of website driving direction, so as to realize accurate automatic broadcasting.According to the driving direction of vehicle, solve the problems, such as that vehicle is reported by mistake by way of website road opposite.

Description

Bus reporting station method and equipment
Technical field
The present invention relates to computer field more particularly to a kind of bus reporting station method and equipment.
Background technique
With the development of development of Mobile Internet technology, the mode of the automatic broadcasting of bus website is also more and more intelligent, from tradition It is manual triggering become automatic trigger.
Existing mode is that driver clicks some website of arrival manually, then triggering automatic broadcasting.
The advantages of such mode are as follows: realize simply, as long as driver presses lower button when reaching some website.At present very More buses and subway all use this mode.
Disadvantage are as follows:
It is high to implement threshold.Cost is just manually represent, needs to train to each driver, driver is allowed to know that how to operate.
There are security risks.Driver, which should drive to take into account key again, to call out the stops, and safety index reduces.
Driver reports by mistake and fails to report.The working artificial of this procedure is easy error, depends on driver operation proficiency and essence Refreshing state etc..Sometimes occur bus driver in reality to forget to click the case where causing passenger not get off in time.
Car-mounted terminal is not smart enough.Many bus car-mounted terminals are all chip microcontrollers now, can not be handled multiple Miscellaneous process.As driver just remembers by several stations, but station operation cannot be jumped, can only completion is scarce calls out the stops a little, could broadcast and work as Preceding website.
Summary of the invention
It is an object of the present invention to provide a kind of bus reporting station method and equipment.
According to an aspect of the invention, there is provided a kind of bus reporting station method, this method comprises:
It monitors whether bus currently enters in the fence radius of a certain website on route, monitors the current driving side of bus To whether within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is at this Within the scope of the driving direction of a certain website, then the automatic broadcasting service of a certain website is triggered.
Further, in the above method, whether monitoring bus currently enters in the fence radius of a certain website on route, Include:
Step S211 sets the state for originating website on route to " in fence half before bus is driven out to and originates website In diameter ", i.e., bus is currently entering in the fence radius for originating website on route, while by remaining each website on route State is set as " not entering fence radius ";
Step S212, if the current location information of the bus obtained changes, judges after bus, which is driven out to, originates website With the presence or absence of the website of " in fence radius ",
Step S213, the website " in fence radius " if it exists, website described in calculating " in fence radius " with bar The distance of scholar's present position, based on the Distance Judgment bus whether also in the fence radius of the website,
Step S214, if also in the fence radius of the website, newest residence time of the more new record bus in the website;
Step S215, if record bus leaves the time of the website, and should not in the fence radius of the website The state of website " in fence radius " by being revised as " having gone out fence radius ";
Step S216, the website " in fence radius ", obtains on route first and " does not enter fence half if it does not exist The website of diameter ";
Step S217 calculates this website of this acquisition with at a distance from bus present position, is based on the distance Judge bus whether this obtain this website fence radius in,
Step S218, if in the fence radius of this this website obtained, by the state of this website by " not entering and enclosing Column radius " is revised as " in fence radius ", and records the time that bus enters this website;
Step S219, if judging, which whether there is on route, " does not enter not in the fence radius of this this website obtained The website of fence radius ",
Step S220 obtains next on route " do not enter if there is the website of " not entering fence radius " on route After the website of fence radius ", step S217 execution is gone to.
Further, in the above method, monitor bus current driving direction whether a certain website driving direction In range, comprising:
According to the position on route per two adjacent websites, the driving direction of each website is determined;
Each driving direction is added and subtracted 60 degree, traveling side's range as each website;
The current driving direction that bus is determined according to the direction angle information in the GPS information of bus, monitors the current of bus Driving direction whether a certain website driving direction range.
Further, in the above method, whether monitoring bus currently enters in the fence radius of a certain website on route, Before whether the current driving direction of monitoring bus is within the scope of the driving direction of a certain website, further includes:
Obtain passenger on each site vehicle when, the latitude and longitude information of the position of upload;
The longitude and latitude of corresponding website is determined based on the latitude and longitude information;
Based on the longitude and latitude of each website, the fence radius of each website on route is determined.
According to another aspect of the present invention, it also provides a kind of bus to call out the stops equipment, which includes:
Whether second device currently enters in the fence radius of a certain website on route, monitoring bar for monitoring bus Whether the current driving direction of scholar is within the scope of the driving direction of a certain website;
3rd device, if in the fence radius for a certain website being currently entering for bus on route, and bus is worked as Preceding driving direction then triggers the automatic broadcasting service of a certain website within the scope of the driving direction of a certain website.
Further, in above equipment, the second device includes:
211st device, for before bus is driven out to and originates website, set the state for originating website on route to " In fence radius ", i.e., bus is currently entering in the fence radius for originating website on route, while remaining on route is each The state of website is set as " not entering fence radius ";
212nd device, for after bus is driven out to and originates website, if the current location information of the bus obtained changes Become, judge whether there is the website " in fence radius ",
213rd device, the website for the website " in fence radius " if it exists, described in calculating " in fence radius " At a distance from bus present position, based on the Distance Judgment bus whether also in the fence radius of the website,
214th device, if for also in the fence radius of the website, newest stop of the more new record bus in the website Time;
215th device, if for not in the fence radius of the website, record bus to leave the time of the website, And by the state of the website by being revised as " having gone out fence radius " " in fence radius ";
216th device, for the website " in fence radius " if it does not exist, first " does not enter and encloses on acquisition route The website of column radius ";
217th device, for calculate this acquisition this website with at a distance from bus present position, be based on described in Distance Judgment bus whether this obtain this website fence radius in,
218th device, if in the fence radius for this website that this is obtained, by the state of this website by " not Into fence radius " it is revised as " in fence radius ", and record the time that bus enters this website;
219th device, if in the fence radius of this this website obtained, not judging to whether there is on route The website of " not entering fence radius ",
220th device, if the website for there is " not entering fence radius " on route, obtains next on route After the website of " not entering fence radius ", the execution of the 217th device is gone to.
Further, in above equipment, the second device, for according to the position on route per two adjacent websites It sets, determines the driving direction of each website;Each driving direction is added and subtracted 60 degree, traveling side's range as each website;Root The current driving direction that bus is determined according to the direction angle information in the GPS information of bus, the current driving direction for monitoring bus are The no driving direction range in a certain website.
Further, further include the first device in above equipment, for obtain passenger on each site vehicle when, The latitude and longitude information of the position of upload;The longitude and latitude of corresponding website is determined based on the latitude and longitude information;Based on each station The longitude and latitude of point, determines the fence radius of each website on route.
According to another aspect of the present invention, a kind of equipment based on calculating is also provided, wherein include:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed Manage device:
It monitors whether bus currently enters in the fence radius of a certain website on route, monitors the current driving side of bus To whether within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is at this Within the scope of the driving direction of a certain website, then the automatic broadcasting service of a certain website is triggered.
According to another aspect of the present invention, a kind of computer readable storage medium is also provided, being stored thereon with computer can It executes instruction, wherein the computer executable instructions make the processor when being executed by processor:
It monitors whether bus currently enters in the fence radius of a certain website on route, monitors the current driving side of bus To whether within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is at this Within the scope of the driving direction of a certain website, then the automatic broadcasting service of a certain website is triggered.
Compared with prior art, the automatic reporting station method of the invention based on more transit point bus business triggers route station The condition of point automatic broadcasting is: vehicle enters in the fence radius of a certain website, and vehicle heading is in website traveling side Into range, so as to realize accurate automatic broadcasting.According to the driving direction of vehicle, vehicle is solved by way of website road opposite The problem of wrong report.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows the website fence radius schematic diagram of the bus reporting station method of one embodiment of the invention;
Fig. 2 shows the flow charts of the bus reporting station method of one embodiment of the invention;
Fig. 3 shows the schematic diagram of the website driving direction range of one embodiment of the invention;
Fig. 4 shows the correction flow chart of the bus reporting station method of one embodiment of the invention;
Fig. 5 shows the flow chart of the website fence radius optimization of one embodiment of the invention.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
Present invention is further described in detail with reference to the accompanying drawing.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more Processor (CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or Any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, computer Readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
The present invention provides a kind of bus reporting station method, which comprises
Whether step S2, monitoring bus currently enter in the fence radius of a certain website on route, monitor working as bus Whether preceding driving direction is within the scope of the driving direction of a certain website;
Step S3, if bus is currently entering in the fence radius of a certain website on route, and the current driving of bus The automatic broadcasting service of a certain website is then triggered within the scope of the driving direction of a certain website in direction.
Here, the automatic reporting station method of the invention based on more transit point bus business, triggering route website automatic broadcasting Condition be: vehicle enters in the fence radius of a certain website, and vehicle heading is within the scope of website driving direction, from And it may be implemented accurately to automatically report the bus stop.According to the driving direction of vehicle, solve the problems, such as that vehicle is reported by mistake by way of website road opposite.
As shown in Fig. 2, in one embodiment of bus reporting station method of the invention, in step S2, monitoring bus currently whether into In the fence radius for entering a certain website on route, comprising:
Step S211 sets the state for originating website on route to " in fence half before bus is driven out to and originates website In diameter ", i.e., bus is currently entering in the fence radius for originating website on route, while by remaining each website on route State is set as " not entering fence radius ";
Step S212, after bus, which is driven out to, originates website, if the current location information of the bus obtained such as GPS information occurs Change, judge whether there is the website " in fence radius ",
Step S213, the website " in fence radius " if it exists, website described in calculating " in fence radius " with bar The distance of scholar's present position, based on the Distance Judgment bus whether also in the fence radius of the website,
Step S214, if also in the fence radius of the website, newest residence time of the more new record bus in the website;
Step S215, if record bus leaves the time of the website, and should not in the fence radius of the website The state of website " in fence radius " by being revised as " having gone out fence radius ";
Step S216, the website " in fence radius ", obtains on route first and " does not enter fence half if it does not exist The website of diameter ";
Step S217 calculates this website of this acquisition with at a distance from bus present position, is based on the distance Judge bus whether this obtain this website fence radius in,
Step S218, if in the fence radius of this this website obtained, by the state of this website by " not entering and enclosing Column radius " is revised as " in fence radius ", and records the time that bus enters this website;
Step S219, if judging, which whether there is on route, " does not enter not in the fence radius of this this website obtained The website of fence radius ",
Step S220 obtains next on route " do not enter if there is the website of " not entering fence radius " on route After the website of fence radius ", step S217 execution is gone to.
Here, by combining website in multipath point bus business that there is successive property (website of route is ordered into), row The spy of its property (synchronization cannot multiple websites enter fence), irreversibility (individually arranging an order according to class and grade will not repeat to enter same website) Point can solve multiple website settings and excessively close on the problem of leading to multiple websites while automatically reporting the bus stop.
As shown in Fig. 2, judging that vehicle enters the detailed process of website fence are as follows:
Firstly, website is divided into three kinds of states: " not entering fence radius ", " in fence radius ", gone out fence radius ".
Secondly, as shown in Figure 1, in website fence radius, refer to current vehicle location using website longitude and latitude as the center of circle, R is in the circle of fence radius, wherein the longitude and latitude of each website and fence radius R can be used as site parameter and configure in advance.
Finally, according to multipath point bus business characteristic:
1) there is order between route website.It that is is under normal circumstances according to website in vehicle travel process What sequence was passed through.
2) vehicle enters website with exclusiveness.That is after only leaving this website, other websites just be can enter.
3) vehicle enters website with irreversibility.That is vehicle will not return again to this website after leaving certain website.
According to above-mentioned, the algorithm that vehicle enters website fence radius is calculated are as follows:
When vehicle GPS information changes:
1) when the website for not having the state " in fence radius ", according to the sequence of route website successively to " not entering fence " Whether state website is matched, see in fence, if stopping matching.It is " in fence radius that this website, which is changed radius, It is interior " state, and record the time into fence radius;
2) when the website for having the state " in fence radius ", this website is calculated whether also in fence radius, if also existed In fence radius, this website newest residence time is updated;If indicating that vehicle has been moved off fence radius not in fence radius Range records time departure, and this website is changed to " having gone out fence radius " state from " in fence radius " state.
In one embodiment of bus reporting station method of the invention, whether step S2 monitors the current driving direction of bus at this Within the scope of the driving direction of a certain website, comprising:
According to the position on route per two adjacent websites, the driving direction of each website is determined;
Each driving direction is added and subtracted 60 degree, traveling side's range as each website;
The current driving direction that bus is determined according to the direction angle information in the GPS information of bus, monitors the current of bus Driving direction whether a certain website driving direction range.
Here, as shown in figure 3, calculating process of the vehicle heading within the scope of website driving direction are as follows:
For website, there is driving direction, driving direction and road driving direction are consistent;But when vehicle driving, Road driving direction traveling can not be parallel to the moment, so correctly vehicle heading is unfolded according to road driving direction A certain range, as long as the driving direction of vehicle in website driving direction range phase, mean that this vehicle be enter this website 's.
The setting key of website driving direction range is to determine website road driving direction.It, can be with according to two GPS points Driving direction is calculated, two GPS points in website direction are chosen on map, then calculate driving direction, then add and subtract 60 degree It is exactly the range of driving direction.
It is how to calculate the driving direction of vehicle there are one problem, contains deflection in GPS information, this deflection can Using as vehicle heading.
Automatically report the bus stop several key parameters that the quality that algorithm executes depends on website:
1) website longitude and latitude.If mistake is arranged in website longitude and latitude, cannot directly automatically report the bus stop, or called out the stops It is wrong.
2) website fence radius.Fence radius is excessive to lead to morning newspaper and wrong report, it is too small due to GPS accuracy the problem of generate leakage Report.
3) website driving direction.General bus station position mistake, causes driving direction also to follow mistake.
In one embodiment of bus reporting station method of the invention, whether step S2, monitoring bus currently enters certain on route In the fence radius of one website, monitor bus current driving direction whether within the scope of the driving direction of a certain website it Before, further includes:
Obtain passenger on each site vehicle when, the latitude and longitude information of the position of upload;
The longitude and latitude of corresponding website is determined based on the latitude and longitude information;
Step S1 determines the fence radius of each website on route based on the longitude and latitude of each website.
Here, quick pair warp and weft degree is arranged problematic website and provides with reference to longitude and latitude in conjunction with passenger's ticket checking function, improve Correction efficiency.
Correction processing for " problem site ", can provide passenger loading ticket checking function, and when ticket checking can upload passenger Location information, passenger position and all websites are the affiliated website of passenger loading apart from nearest website when getting on the bus.For having The website of longitude and latitude problem can be passed through by passenger's longitude and latitude that this station is got on the bus as website if this website has passenger loading The reference of latitude will substantially reduce the time for determining correct longitude and latitude in this way.
In one embodiment of bus reporting station method of the invention, step S1 is determined on route based on the longitude and latitude of each website Each website fence radius, comprising:
Step S11 obtains the history stop position information of each website of the bus on route;
Step S12 judges whether corresponding website can trigger the website every time based on the history stop position information These websites on route are labeled as " website to be optimized " by automatic broadcasting service;
Step S13 optimizes the preset fence radius of each " website to be optimized ".
Here, as shown in figure 4, the present invention can be to the overall flow of optimization and the correction of automatic broadcasting website call parameter It is as follows:
Firstly, bus operation can be configured by bus management backstage the longitude and latitude of route and each website, fence radius, The essential informations such as website driving direction.Then, route trial operation one week or so, terminal collected the automatic report of GPS information and website Stand situation, car data is uploaded to server in barcode scanning.The data of server analysis terminal acquisition, it is excellent to each website fence radius Best fence radius is turned to, pair warp and weft degree and driving direction are rectified a deviation.Finally, being again introduced into if route has correction Trial operation state;Otherwise route enters formal operation.
Optimal website fence radius refers to that fence radius is as small as possible under the premise of vehicle can enter fence, avoids producing The problem of raw morning newspaper and wrong report.There is following difficult point when setting:
1. because the precision of different smart machine GPS may be inconsistent, when more exchange device, may need to set again Set fence radius;
2. because each website with vehicle stop apart from inconsistent, there are different best between different websites Fence radius;
3. single data do not determine best fence radius because the position that vehicle is stopped every time has differences.
In one embodiment of bus reporting station method of the invention, step S13, to the preset fence of each " website to be optimized " Radius optimizes, comprising:
The minimum fence radius min=1 of a certain " website to be optimized " is arranged in step S131, and being arranged should " station to be optimized The maximum preset fence radius of fence radius max=of point ";
Step S132 is calculated and is attempted radius r=(max-min)/2;
Step S133 plays back the corresponding history stop position information of the website, judges each at the trial radius r Under history stop position information, if the automatic broadcasting service of the website can be triggered every time,
Step S134, if so, setting should go to step S136 after the maximum fence radius max=r of " website to be optimized ";
Step S135, setting should go to step S136 after the minimum fence radius min=r of " website to be optimized ";
Step S136, judges whether min is equal to max,
Step S137, if being equal to, it is min that optimal fence radius, which is arranged,;
Step S138 returns to step S132 execution if being not equal to.
Here, in view of the above-mentioned problems, Automatic Optimal fence radius " method, as shown in figure 5, specifically execute process it is as follows:
1) needing to be arranged initial radium to each website is that maximum radius (not can enter fence under this path to illustrate to stand There are problems for the setting of point longitude and latitude), such as: being all 200 meters;
2) vehicle test operation is allowed for a period of time, such as one week, execution all by the driving trace of vehicle and was called out the stops in result every time Reach server;
3) after test operation end cycle, optimize the radius of each website according to time automatic trigger.Specific optimization algorithm are as follows:
A) history of website is called out the stops as a result, if some website can automatically report the bus stop every time, by this website in polling cycle Labeled as " website to be optimized ";Otherwise, this website is labeled as " problem site " website, i.e. the website longitude and latitude of this website setting There may be problems.
B) it for " website to be optimized ", after we use " binary chop " variant algorithm to find optimal radius, saves optimal Radius, and website is labeled as " having optimized website ".
The process of binary chop " optimal radius are as follows: can be used 1 meter for minimum unit, that is, between [1-200] rice Find optimal radius.We are 99[(200-1 since radius)/2] rice, whether seen using the same algorithm of calling out the stops in history number It can be automatically reported the bus stop every time in;If it can, indicating that radius may can also reduce, can repeat to taste in [1,99] range Examination;Otherwise indicate radius it is too small, can in [99,200] range repeated attempt, until range intervals difference be 0, as want The optimal website radius looked for.
By Automatic Optimal fence Radius algorithm, solve website fence radius be arranged it is excessive cause to automatically report the bus stop in advance ask Topic saves manual intervention cost, improves working efficiency.
According to another aspect of the present invention, it also provides a kind of bus to call out the stops equipment, which includes:
Whether second device currently enters in the fence radius of a certain website on route, monitoring bar for monitoring bus Whether the current driving direction of scholar is within the scope of the driving direction of a certain website;
3rd device, if in the fence radius for a certain website being currently entering for bus on route, and bus is worked as Preceding driving direction then triggers the automatic broadcasting service of a certain website within the scope of the driving direction of a certain website.
Further, in above equipment, the second device includes:
211st device, for before bus is driven out to and originates website, set the state for originating website on route to " In fence radius ", i.e., bus is currently entering in the fence radius for originating website on route, while remaining on route is each The state of website is set as " not entering fence radius ";
212nd device, for after bus is driven out to and originates website, if the current location information of the bus obtained changes Become, judge whether there is the website " in fence radius ",
213rd device, the website for the website " in fence radius " if it exists, described in calculating " in fence radius " At a distance from bus present position, based on the Distance Judgment bus whether also in the fence radius of the website,
214th device, if for also in the fence radius of the website, newest stop of the more new record bus in the website Time;
215th device, if for not in the fence radius of the website, record bus to leave the time of the website, And by the state of the website by being revised as " having gone out fence radius " " in fence radius ";
216th device, for the website " in fence radius " if it does not exist, first " does not enter and encloses on acquisition route The website of column radius ";
217th device, for calculate this acquisition this website with at a distance from bus present position, be based on described in Distance Judgment bus whether this obtain this website fence radius in,
218th device, if in the fence radius for this website that this is obtained, by the state of this website by " not Into fence radius " it is revised as " in fence radius ", and record the time that bus enters this website;
219th device, if in the fence radius of this this website obtained, not judging to whether there is on route The website of " not entering fence radius ",
220th device, if the website for there is " not entering fence radius " on route, obtains next on route After the website of " not entering fence radius ", the execution of the 217th device is gone to.
Further, in above equipment, the second device, for according to the position on route per two adjacent websites It sets, determines the driving direction of each website;Each driving direction is added and subtracted 60 degree, traveling side's range as each website;Root The current driving direction that bus is determined according to the direction angle information in the GPS information of bus, the current driving direction for monitoring bus are The no driving direction range in a certain website.
Further, further include the first device in above equipment, for obtain passenger on each site vehicle when, The latitude and longitude information of the position of upload;The longitude and latitude of corresponding website is determined based on the latitude and longitude information;Based on each station The longitude and latitude of point, determines the fence radius of each website on route.
According to another aspect of the present invention, a kind of equipment based on calculating is also provided, wherein include:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed Manage device:
Based on the longitude and latitude of each website, the fence radius of each website on route is determined;
It monitors whether bus currently enters in the fence radius of a certain website on route, monitors the current driving side of bus To whether within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is at this Within the scope of the driving direction of a certain website, then the automatic broadcasting service of a certain website is triggered.
According to another aspect of the present invention, a kind of computer readable storage medium is also provided, being stored thereon with computer can It executes instruction, wherein the computer executable instructions make the processor when being executed by processor:
Based on the longitude and latitude of each website, the fence radius of each website on route is determined;
It monitors whether bus currently enters in the fence radius of a certain website on route, monitors the current driving side of bus To whether within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is at this Within the scope of the driving direction of a certain website, then the automatic broadcasting service of a certain website is triggered.
Compared with prior art, the automatic reporting station method of the invention based on more transit point bus business triggers route station The condition of point automatic broadcasting is: vehicle enters in the fence radius of a certain website, and vehicle heading is in website traveling side Into range, so as to realize accurate automatic broadcasting.According to the driving direction of vehicle, vehicle is solved by way of website road opposite The problem of wrong report.
The detailed content of each equipment and storage medium embodiment of the invention, for details, reference can be made to the correspondences of each method embodiment Part, here, repeating no more.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to include these modifications and variations.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, software program of the invention can be executed to implement the above steps or functions by processor.Similarly, of the invention Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, some of the steps or functions of the present invention may be implemented in hardware, example Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the invention can be applied to computer program product, such as computer program instructions, when its quilt When computer executes, by the operation of the computer, it can call or provide according to the method for the present invention and/or technical solution. And the program instruction of method of the invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, according to one embodiment of present invention including a device, which includes using Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to When enabling by processor execution, method and/or skill of the device operation based on aforementioned multiple embodiments according to the present invention are triggered Art scheme.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table Show title, and does not indicate any particular order.

Claims (10)

1. a kind of bus reporting station method, wherein this method comprises:
Monitor whether bus currently enters in the fence radius of a certain website on route, the current driving direction for monitoring bus is It is no within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is a certain at this Within the scope of the driving direction of website, then the automatic broadcasting service of a certain website is triggered.
2. according to the method described in claim 1, wherein, whether monitoring bus currently enters the fence of a certain website on route In radius, comprising:
Step S211 sets the state for originating website on route to " in fence radius before bus is driven out to and originates website It is interior ", i.e., bus is currently entering in the fence radius for originating website on route, while by the shape of remaining each website on route State is set as " not entering fence radius ";
Step S212, if the current location information of the bus obtained changes, judges whether after bus, which is driven out to, originates website In the presence of the website of " in fence radius ",
Step S213, the if it exists website " in fence radius ", the website described in calculating " in fence radius " are worked as with bus The distance of preceding position, based on the Distance Judgment bus whether also in the fence radius of the website,
Step S214, if also in the fence radius of the website, newest residence time of the more new record bus in the website;
Step S215, if record bus leaves time of the website not in the fence radius of the website, and by the website State by being revised as " having gone out fence radius " " in fence radius ";
Step S216, the website " in fence radius ", obtains on route first " not entering fence radius " if it does not exist Website;
Step S217 calculates this website of this acquisition with at a distance from bus present position, is based on the Distance Judgment Bus whether this obtain this website fence radius in,
Step S218, if in the fence radius of this this website obtained, by the state of this website by " not entering fence half Diameter " is revised as " in fence radius ", and records the time that bus enters this website;
Step S219, if judging, which whether there is on route, " does not enter fence not in the fence radius of this this website obtained The website of radius ",
Step S220 is obtained if there is the website of " not entering fence radius " on route and next on route " is not entered fence After the website of radius ", step S217 execution is gone to.
3. according to the method described in claim 1, wherein, monitor bus current driving direction whether a certain website row It sails in direction scope, comprising:
According to the position on route per two adjacent websites, the driving direction of each website is determined;
Each driving direction is added and subtracted 60 degree, traveling side's range as each website;
The current driving direction that bus is determined according to the direction angle information in the GPS information of bus, monitors the current driving of bus Direction whether a certain website driving direction range.
4. according to the method described in claim 1, wherein, whether monitoring bus currently enters the fence of a certain website on route In radius, before monitoring the current driving direction of bus whether within the scope of the driving direction of a certain website, further includes:
Obtain passenger on each site vehicle when, the latitude and longitude information of the position of upload;
The longitude and latitude of corresponding website is determined based on the latitude and longitude information;
Based on the longitude and latitude of each website, the fence radius of each website on route is determined.
The equipment 5. a kind of bus is called out the stops, wherein the equipment includes:
Whether second device currently enters in the fence radius of a certain website on route for monitoring bus, monitors bus Whether current driving direction is within the scope of the driving direction of a certain website;
3rd device, if in the fence radius for a certain website being currently entering for bus on route, and the current line of bus Direction is sailed within the scope of the driving direction of a certain website, then triggers the automatic broadcasting service of a certain website.
6. equipment according to claim 5, wherein the second device includes:
211st device, for setting the state for originating website on route to " in fence before bus is driven out to and originates website In radius ", i.e., bus is currently entering in the fence radius for originating website on route, while by remaining each website on route State be set as " not entering fence radius ";
212nd device, for if the current location information of the bus obtained changes, sentencing after bus is driven out to and originates website The disconnected website with the presence or absence of " in fence radius ",
213rd device, for the website " in fence radius " if it exists, website described in calculating " in fence radius " with bar The distance of scholar's present position, based on the Distance Judgment bus whether also in the fence radius of the website,
214th device, if for also in the fence radius of the website, more new record bus to be in the newest stop of the website Between;
215th device, if for not in the fence radius of the website, record bus to leave the time of the website, and will The state of the website " in fence radius " by being revised as " having gone out fence radius ";
216th device obtains on route first and " does not enter fence half for the website " in fence radius " if it does not exist The website of diameter ";
217th device, this website for calculating this acquisition are based on the distance with at a distance from bus present position Judge bus whether this obtain this website fence radius in,
218th device, if in the fence radius for this website that this is obtained, by the state of this website by " not entering Fence radius " is revised as " in fence radius ", and records the time that bus enters this website;
219th device, if for this obtain this website fence radius in, do not judge on route with the presence or absence of " not into Enter fence radius " website,
220th device, if the website for there is " not entering fence radius " on route, obtain it is next on route " not into Enter fence radius " website after, go to the 217th device execution.
7. equipment according to claim 5, wherein the second device, for standing according on route per adjacent two The position of point, determines the driving direction of each website;Each driving direction is added and subtracted 60 degree, the traveling Fang Fan as each website It encloses;The current driving direction that bus is determined according to the direction angle information in the GPS information of bus, monitors the current driving side of bus To whether a certain website driving direction range.
8. equipment according to claim 5, wherein further include the first device, for obtaining passenger in each website When getting on the bus, the latitude and longitude information of the position of upload;The longitude and latitude of corresponding website is determined based on the latitude and longitude information;It is based on The longitude and latitude of each website determines the fence radius of each website on route.
9. a kind of equipment based on calculating, wherein include:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed Device:
Monitor whether bus currently enters in the fence radius of a certain website on route, the current driving direction for monitoring bus is It is no within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is a certain at this Within the scope of the driving direction of website, then the automatic broadcasting service of a certain website is triggered.
10. a kind of computer readable storage medium, is stored thereon with computer executable instructions, wherein the computer is executable Instruction makes the processor when being executed by processor:
Monitor whether bus currently enters in the fence radius of a certain website on route, the current driving direction for monitoring bus is It is no within the scope of the driving direction of a certain website;
If bus is currently entering in the fence radius of a certain website on route, and the current driving direction of bus is a certain at this Within the scope of the driving direction of website, then the automatic broadcasting service of a certain website is triggered.
CN201910118809.7A 2019-02-15 2019-02-15 Bus reporting station method and equipment Pending CN109697883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910118809.7A CN109697883A (en) 2019-02-15 2019-02-15 Bus reporting station method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910118809.7A CN109697883A (en) 2019-02-15 2019-02-15 Bus reporting station method and equipment

Publications (1)

Publication Number Publication Date
CN109697883A true CN109697883A (en) 2019-04-30

Family

ID=66234820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910118809.7A Pending CN109697883A (en) 2019-02-15 2019-02-15 Bus reporting station method and equipment

Country Status (1)

Country Link
CN (1) CN109697883A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110085048A (en) * 2019-06-04 2019-08-02 湖南智慧畅行交通科技有限公司 A kind of bus based on GPS data arrives point calculating method leaving from station in real time

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2219883A (en) * 1986-12-17 1989-12-20 Raula Scandinavian Marketing H Supplying transport and traffic information
KR20020013049A (en) * 2000-08-10 2002-02-20 김욱 Apparatus for informing stops of bus
CN101201977A (en) * 2007-12-27 2008-06-18 深圳市赛格导航科技股份有限公司 Device and method for reporting station of public transport
CN101493990A (en) * 2008-01-23 2009-07-29 厦门雅迅网络股份有限公司 Method for automatically reporting station of public transport vehicle
CN102446422A (en) * 2010-10-09 2012-05-09 上海博路信息技术有限公司 Automatic station reporting system based on GPS
CN102610121A (en) * 2012-03-27 2012-07-25 厦门雅迅网络股份有限公司 GPS (global position system) automatic station broadcasting method for temporary turning around or traveling around of public transport vehicles
CN103150177A (en) * 2013-01-14 2013-06-12 北京百度网讯科技有限公司 Method, device and system for updating bus route data
CN103531038A (en) * 2013-10-22 2014-01-22 浙江工业大学 Automatic station announcement method of public transportation vehicle-mounted terminal
CN105469626A (en) * 2014-08-12 2016-04-06 厦门雅迅网络股份有限公司 Method and device for correcting automatic station reporting errors of automobile
CN106601013A (en) * 2016-11-30 2017-04-26 武汉长江通信智联技术有限公司 Automatic station reporting method of bus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2219883A (en) * 1986-12-17 1989-12-20 Raula Scandinavian Marketing H Supplying transport and traffic information
KR20020013049A (en) * 2000-08-10 2002-02-20 김욱 Apparatus for informing stops of bus
CN101201977A (en) * 2007-12-27 2008-06-18 深圳市赛格导航科技股份有限公司 Device and method for reporting station of public transport
CN101493990A (en) * 2008-01-23 2009-07-29 厦门雅迅网络股份有限公司 Method for automatically reporting station of public transport vehicle
CN102446422A (en) * 2010-10-09 2012-05-09 上海博路信息技术有限公司 Automatic station reporting system based on GPS
CN102610121A (en) * 2012-03-27 2012-07-25 厦门雅迅网络股份有限公司 GPS (global position system) automatic station broadcasting method for temporary turning around or traveling around of public transport vehicles
CN103150177A (en) * 2013-01-14 2013-06-12 北京百度网讯科技有限公司 Method, device and system for updating bus route data
CN103531038A (en) * 2013-10-22 2014-01-22 浙江工业大学 Automatic station announcement method of public transportation vehicle-mounted terminal
CN105469626A (en) * 2014-08-12 2016-04-06 厦门雅迅网络股份有限公司 Method and device for correcting automatic station reporting errors of automobile
CN106601013A (en) * 2016-11-30 2017-04-26 武汉长江通信智联技术有限公司 Automatic station reporting method of bus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110085048A (en) * 2019-06-04 2019-08-02 湖南智慧畅行交通科技有限公司 A kind of bus based on GPS data arrives point calculating method leaving from station in real time

Similar Documents

Publication Publication Date Title
CN104851142A (en) Communication line routing inspection tool based on mobile calculation and method
CN107918382B (en) Automobile fault diagnosis method, automobile fault diagnosis device and electronic equipment
CN111003030B (en) Method and device for generating temporary speed limit message test case of train control system
US20190206005A1 (en) Vehicle detection method, device, equipment and readable storage medium
CN106355414A (en) Method and apparatus for processing user feedback information
WO2017190483A1 (en) Method and device for pushing vehicle maintenance strategies
CN109507699B (en) Satellite positioning correction method and device for vehicle
CN114043994A (en) Vehicle fault processing method, device, equipment and storage medium
CN109459873A (en) A kind of test method, device, Auto-Test System and storage medium
CN109697883A (en) Bus reporting station method and equipment
CN115935056A (en) Method, device and equipment for identifying false track of vehicle and storage medium
CN108957397A (en) The localization method and device of crusing robot
CN111681432B (en) Method and device for determining congestion source of intersection containing signal lamp
CN109697882A (en) Bus reporting station method and equipment
US20130325203A1 (en) Methods and systems for monitoring a vehicle for faults
CN116708488A (en) Water conservancy Internet of things equipment state synchronization method, device, equipment and storage medium
CN115933619A (en) Remote diagnosis method, system, electronic equipment and storage medium
US20240012831A1 (en) Data exchange method and apparatus, readable storage medium, and data exchange system
CN114967642A (en) Vehicle fault grading processing method, device, equipment and readable storage medium
EP3821514B1 (en) Method, apparatus and computer program product for monitoring energy consumption in an electric vehicle charging network
CN110648002B (en) Vehicle diagnosis method, device, equipment and readable storage medium
CN113837691A (en) Vehicle yaw detection method, device, equipment and storage medium
CN114443402A (en) Mock-based parking lot simulation test method
CN110718088B (en) Bus running state monitoring method and device
CN112116828A (en) Method and system capable of positioning parking space

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190430