CN109855648A - Shared bicycle localization method, device, equipment and storage medium - Google Patents
Shared bicycle localization method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109855648A CN109855648A CN201910056064.6A CN201910056064A CN109855648A CN 109855648 A CN109855648 A CN 109855648A CN 201910056064 A CN201910056064 A CN 201910056064A CN 109855648 A CN109855648 A CN 109855648A
- Authority
- CN
- China
- Prior art keywords
- bicycle
- data
- current
- parameter
- sensor
- 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
Links
Landscapes
- Navigation (AREA)
Abstract
The invention discloses a kind of shared bicycle localization method, device, equipment and storage mediums, by according to default sensor open command turn on sensor data-interface;The angular speed parameter of the angular-rate sensor acquisition of current bicycle and the acceleration parameter of acceleration transducer acquisition are obtained by sensor data interface;The driving mileage data of the current bicycle is determined according to the angular speed parameter and the acceleration parameter, improve the accuracy of shared solo running positioning, it ensure that the accuracy of shared solo running mileage record, ensure that user ride expense calculating reasonability, improve the experience of riding of user.
Description
Technical field
The present invention relates to field of traffic more particularly to a kind of shared bicycle localization method, device, equipment and storage mediums.
Background technique
In the prior art, the mode for sharing solo running mileage calculation is main are as follows: by sharing the whole world built in bicycle
Positioning system (Global Positioning System, GPS) location navigator provides the real-time position of the shared bicycle
It sets, determines that starting point to the travel route of terminal, is determined in traveling by travel route distance according to the variation of real time position
Journey is ridden the calculating of expense to complete bicycle, but under shared solo running to overpass or other GPS signals are weaker
Place when, can have the phenomenon that GPS positioning failure or position inaccurate, the mileage travelled thus calculated is inaccurate, therefore
It is also inaccurate by the calculated bicycle of the mileage travelled expense of riding of mistake, it will cause poor user and ride experience.
Summary of the invention
The main purpose of the present invention is to provide a kind of shared bicycle localization method, device, equipment and storage mediums, it is intended to
The local GPS positioning misalignment weaker in GPS signal in the prior art is solved, shared bicycle is caused to be ridden mileage charging inaccuracy,
The bad technical problem of user experience.
To achieve the above object, the present invention provides a kind of shared bicycle localization method, the shared bicycle localization method packet
Include following steps:
According to default sensor open command turn on sensor data-interface;
The angular speed parameter and acceleration of the angular-rate sensor acquisition of current bicycle are obtained by sensor data interface
The acceleration parameter of sensor acquisition;
The driving mileage data of the current bicycle is determined according to the angular speed parameter and the acceleration parameter.
Preferably, in the traveling that the current bicycle is determined according to the angular speed parameter and the acceleration parameter
Number of passes evidence, specifically includes:
The global position system GPS data for obtaining the current bicycle in real time determine described current according to the GPS data
The running data of bicycle;
The running data is adjusted according to the angular speed parameter and the acceleration parameter, by row adjusted
Sail driving mileage data of the data as the current bicycle.
It is preferably, described that the running data is adjusted according to the angular speed parameter and the acceleration parameter,
Using running data adjusted as the driving mileage data of the current bicycle, specifically include:
The running course data in the running data is adjusted according to the angular speed parameter, and is added according to described
Speed parameter is adjusted the operating range data in the running data;
Traveling according to running course data adjusted and operating range data adjusted as the current bicycle
Mileage.
Preferably, before the basis presets sensor open command turn on sensor data-interface, the shared bicycle
Localization method further include:
When current bicycle is in riding condition, the GPS signal of the current bicycle is obtained in real time;
According to the GPS signal judge the current bicycle locating for region of riding whether be default low signal areas;
When the region of riding is default low signal areas, default sensor open command is generated.
Preferably, it is described according to the GPS signal judge the current bicycle locating for ride region whether be preset it is weak
Signal area specifically includes:
The GPS signal strength that the current bicycle is obtained according to the GPS signal by the GPS signal strength and is preset
Signal strength is compared, and generates comparison result;
When the comparison result is that the GPS signal strength is less than the preset signal strength, the current list is determined
Region is ridden locating for vehicle as default low signal areas;
When the comparison result is that the GPS signal strength is greater than or equal to the preset signal strength, described in judgement
Region of riding locating for current bicycle is not default low signal areas.
Preferably, described when current bicycle is in riding condition, obtain in real time the current bicycle GPS signal it
Before, the shared bicycle localization method further include:
Obtain the momentum parameter of the gyro sensor feedback of the current bicycle and the open state of electronic lock;
Determine whether the current bicycle is in riding condition according to the momentum parameter and the open state.
Preferably, in the traveling that the current bicycle is determined according to the angular speed parameter and the acceleration parameter
Number of passes is after, the shared bicycle localization method further include:
The GPS signal strength for obtaining the current bicycle compares the GPS signal strength with preset signal strength
Compared with;
When the GPS signal strength is greater than or equal to the preset signal strength, default sensor halt instruction is generated;
The sensor data interface is broadcasted according to the default sensor halt instruction.
In addition, to achieve the above object, the present invention also proposes a kind of shared bicycle positioning device, the shared bicycle positioning
Equipment includes: that the shared bicycle that can run on the memory and on the processor of memory, processor and being stored in is fixed
The step of position program, the shared bicycle finder is arranged for carrying out shared bicycle localization method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, it is stored on the storage medium shared
Bicycle finder realizes shared bicycle positioning side as described above when the shared bicycle finder is executed by processor
The step of method.
In addition, to achieve the above object, the present invention also provides a kind of shared bicycle positioning device, the shared bicycle positioning
Device includes:
Opening module, data reception module and mileage calculation module;
Wherein, the opening module, for according to default sensor open command turn on sensor data-interface;
The data reception module, the angular-rate sensor for obtaining current bicycle by sensor data interface acquire
Angular speed parameter and acceleration transducer acquisition acceleration parameter;
The mileage calculation module, for determining the current list according to the angular speed parameter and the acceleration parameter
The driving mileage data of vehicle.
Shared bicycle localization method proposed by the present invention, by according to default sensor open command turn on sensor data
Interface;The angular speed parameter and acceleration sensing of the angular-rate sensor acquisition of current bicycle are obtained by sensor data interface
The acceleration parameter of device acquisition;In the traveling for determining the current bicycle according to the angular speed parameter and the acceleration parameter
Number of passes evidence improves the accuracy of shared solo running positioning, ensure that the accuracy of shared solo running mileage record, guarantee
User rides the reasonability of expense calculating, improves the experience of riding of user.
Detailed description of the invention
Fig. 1 is the shared bicycle positioning device structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the shared bicycle localization method first embodiment of the present invention;
Fig. 3 is the flow diagram of the shared bicycle localization method second embodiment of the present invention;
Fig. 4 is the flow diagram of the shared bicycle localization method 3rd embodiment of the present invention;
Fig. 5 is the functional block diagram of the shared bicycle positioning device first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly: the present invention, which passes through, opens sensing according to default sensor open command
Device data-interface;The angular speed parameter and acceleration of the angular-rate sensor acquisition of current bicycle are obtained by sensor data interface
Spend the acceleration parameter of sensor acquisition;The current bicycle is determined according to the angular speed parameter and the acceleration parameter
Driving mileage data improves the accuracy of shared solo running positioning, ensure that the accurate of shared solo running mileage record
Property, ensure that user ride expense calculating reasonability, improve the experience of riding of user, solve in the prior art in GPS
The weaker local GPS positioning misalignment of signal, causing shared bicycle to be ridden, mileage charging is inaccurate, and the bad technology of user experience is asked
Topic.
Referring to Fig.1, Fig. 1 is the shared bicycle positioning device structure for the hardware running environment that the embodiment of the present invention is related to
Schematic diagram.
As shown in Figure 1, the shared bicycle positioning device may include: processor 1001, such as central processing unit
(Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory
1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include standard
Wireline interface, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (as wirelessly
Fidelity (WIreless-FIdelity, WI-FI) interface).Memory 1005 can be the random access memory of high speed
(Random Access Memory, RAM) memory, be also possible to stable memory (Non-volatile Memory,
), such as magnetic disk storage NVM.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
This is total to it will be understood by those skilled in the art that sharing bicycle positioning device structure shown in Fig. 1 and not constituting
The restriction for enjoying bicycle positioning device may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.
As shown in Figure 1, as may include operating system, network communication mould in a kind of memory 1005 of storage medium
Block, user terminal interface module and shared bicycle finder.
The present invention shares bicycle positioning device and calls the shared bicycle stored in memory 1005 fixed by processor 1001
Position program, and execute following operation:
According to default sensor open command turn on sensor data-interface;
The angular speed parameter and acceleration of the angular-rate sensor acquisition of current bicycle are obtained by sensor data interface
The acceleration parameter of sensor acquisition;
The driving mileage data of the current bicycle is determined according to the angular speed parameter and the acceleration parameter.
Further, processor 1001 can call the shared bicycle finder stored in memory 1005, also execute
It operates below:
The global position system GPS data for obtaining the current bicycle in real time determine described current according to the GPS data
The running data of bicycle;
The running data is adjusted according to the angular speed parameter and the acceleration parameter, by row adjusted
Sail driving mileage data of the data as the current bicycle.
Further, processor 1001 can call the shared bicycle finder stored in memory 1005, also execute
It operates below:
The running course data in the running data is adjusted according to the angular speed parameter, and is added according to described
Speed parameter is adjusted the operating range data in the running data;
Traveling according to running course data adjusted and operating range data adjusted as the current bicycle
Mileage.
Further, processor 1001 can call the shared bicycle finder stored in memory 1005, also execute
It operates below:
When current bicycle is in riding condition, the GPS signal of the current bicycle is obtained in real time;
According to the GPS signal judge the current bicycle locating for region of riding whether be default low signal areas;
When the region of riding is default low signal areas, default sensor open command is generated.
Further, processor 1001 can call the shared bicycle finder stored in memory 1005, also execute
It operates below:
The GPS signal strength that the current bicycle is obtained according to the GPS signal by the GPS signal strength and is preset
Signal strength is compared, and generates comparison result;
When the comparison result is that the GPS signal strength is less than the preset signal strength, the current list is determined
Region is ridden locating for vehicle as default low signal areas;
When the comparison result is that the GPS signal strength is greater than or equal to the preset signal strength, described in judgement
Region of riding locating for current bicycle is not default low signal areas.
Further, processor 1001 can call the shared bicycle finder stored in memory 1005, also execute
It operates below:
Obtain the momentum parameter of the gyro sensor feedback of the current bicycle and the open state of electronic lock;
Determine whether the current bicycle is in riding condition according to the momentum parameter and the open state.
Further, processor 1001 can call the shared bicycle finder stored in memory 1005, also execute
It operates below:
The GPS signal strength for obtaining the current bicycle compares the GPS signal strength with preset signal strength
Compared with;
When the GPS signal strength is greater than or equal to the preset signal strength, default sensor halt instruction is generated;
The sensor data interface is broadcasted according to the default sensor halt instruction.
The present embodiment presets sensor open command turn on sensor data-interface through the above scheme, by basis;It is logical
Cross angular speed parameter and acceleration transducer acquisition that sensor data interface obtains the angular-rate sensor acquisition of current bicycle
Acceleration parameter;The mileage travelled number of the current bicycle is determined according to the angular speed parameter and the acceleration parameter
According to improving the accuracy of shared solo running positioning, ensure that the accuracy of shared solo running mileage record, ensure that use
Family ride expense calculating reasonability, improve the experience of riding of user.
Based on above-mentioned hardware configuration, the shared bicycle localization method embodiment of the present invention is proposed.
It is the flow diagram of the shared bicycle localization method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the shared bicycle localization method the following steps are included:
Step S10, according to default sensor open command turn on sensor data-interface.
It should be noted that the default sensor open command is that pre-set receive for turn-on data handles dress
The instruction for the data-interface set is also possible to the instruction of the data-interface for opening server, the sensor data interface
For receiving the angular-rate sensor of current bicycle and the data of acceleration transducer acquisition, naturally it is also possible to receive other types
Sensing data, the present embodiment is without restriction to this, the angular-rate sensor and the acceleration transducer be positioned at
The sensor of the internal or external exercise data for recording the current bicycle of the current bicycle, the current bicycle
The shared bicycle ridden for user.
Step S20, the angular speed parameter of the angular-rate sensor acquisition of current bicycle is obtained by sensor data interface
With the acceleration parameter of acceleration transducer acquisition.
It is understood that the angle of the angular-rate sensor feedback can be received after opening sensor data interface
The acceleration parameter of speed parameter and acceleration transducer feedback, the angular speed parameter reflect the current solo running
Angular transformation in the process, facilitates the determination of subsequent solo running route, and the acceleration parameter reflects the current bicycle
Velocity transformation in driving process facilitates subsequent solo running determination of distance, naturally it is also possible to be with other sensors come
Instead of the solo running parameter that the angular-rate sensor and the acceleration transducer are fed back, the present embodiment does not limit this
System.
Step S30, the mileage travelled of the current bicycle is determined according to the angular speed parameter and the acceleration parameter
Data.
It should be understood that after obtaining the angular speed parameter and the acceleration parameter, it can be according to the angle speed
Degree parameter determines the travel route of the current bicycle, and the traveling of the current bicycle can be determined according to the acceleration parameter
Distance, and then determine the driving mileage data of the current bicycle, it can by the angular speed parameter and the acceleration parameter
To improve the accuracy of the current solo running data, avoid at current solo running to the weaker place of GPS signal,
The running data that the current bicycle can preferably be recorded ensure that the accuracy of the current solo running data.
Further, after the step S30, the shared bicycle localization method is further comprising the steps of:
The GPS signal strength for obtaining the current bicycle compares the GPS signal strength with preset signal strength
Compared with;
When the GPS signal strength is greater than or equal to the preset signal strength, default sensor halt instruction is generated;
The sensor data interface is broadcasted according to the default sensor halt instruction.
It is understood that when the GPS signal strength is greater than or equal to the preset signal strength, i.e., it is described at this time
The GPS signal in the region of riding that current bicycle is presently in is stronger, only can determine the current list at this time with GPS navigator
The driving mileage data of vehicle, the parameter for not needing angular-rate sensor and acceleration transducer feedback at this time carry out auxiliary record row
Mileage is sailed, it is abnormal to generate default sensor halt instruction, institute can be broadcasted with halt instruction according to the default sensor
State sensor data interface, naturally it is also possible to continue starting the sensor data interface, continue to the angular speed parameter
And acceleration parameter, so that the driving mileage data is more accurate, the present embodiment is without restriction to this.
The present embodiment presets sensor open command turn on sensor data-interface through the above scheme, by basis;It is logical
Cross angular speed parameter and acceleration transducer acquisition that sensor data interface obtains the angular-rate sensor acquisition of current bicycle
Acceleration parameter;The mileage travelled number of the current bicycle is determined according to the angular speed parameter and the acceleration parameter
According to improving the accuracy of shared solo running positioning, ensure that the accuracy of shared solo running mileage record, ensure that use
Family ride expense calculating reasonability, improve the experience of riding of user.
Further, Fig. 3 is the flow diagram of the shared bicycle localization method second embodiment of the present invention, as shown in figure 3,
The shared bicycle localization method second embodiment of the present invention is proposed based on first embodiment, in the present embodiment, the step S30,
Specifically includes the following steps:
Step S31, the global position system GPS data for obtaining the current bicycle in real time are determined according to the GPS data
The running data of the current bicycle.
It should be noted that the GPS data is the basic navigation data of the current bicycle, pass through the GPS data
The running data of the current bicycle can be probably determined, even being also able to record in the weaker region of GPS signal relevant
GPS data, naturally it is also possible to be to obtain the running data of the current bicycle by other means, such as can be and pass through base station
Fixed point distance calculates the running data of the current bicycle, and the present embodiment is without restriction to this.
Step S32, the running data is adjusted according to the angular speed parameter and the acceleration parameter, will be adjusted
Driving mileage data of the running data as the current bicycle after whole.
It is understood that after obtaining the angular speed parameter and the acceleration parameter, it can be according to the angle speed
Degree parameter and the acceleration parameter are adjusted the running data, i.e., according to the angular speed parameter and the acceleration
Parameter is corrected the corresponding travel route of the running data, using the corresponding running data of the travel route after correction as
The driving mileage data of the current bicycle, by the angular speed parameter and the acceleration parameter to the running data
The accuracy of the running data can be improved in adjustment, and the running data of record is made more to meet practical solo running situation.
Further, the step S32 specifically includes the following steps:
The running course data in the running data is adjusted according to the angular speed parameter, and is added according to described
Speed parameter is adjusted the operating range data in the running data;
Traveling according to running course data adjusted and operating range data adjusted as the current bicycle
Mileage.
It should be understood that including running course data and the operating range data, the row in the running data
Route data is sailed for reflecting the travel route of the current bicycle, the operating range data are for reflecting the current bicycle
Operating range, the running course data in the running data is adjusted by the angular speed parameter, and according to institute
It states acceleration parameter to be adjusted the operating range data in the running data, the accurate of the running data can be improved
Property, and then using vehicle line data adjusted and operating range data as the driving mileage data of the current bicycle.
The present embodiment through the above scheme, by obtaining the global position system GPS data of the current bicycle, root in real time
The running data of the current bicycle is determined according to the GPS data;According to the angular speed parameter and the acceleration parameter pair
The running data is adjusted, using running data adjusted as the driving mileage data of the current bicycle, according to institute
It states angular speed parameter and the acceleration parameter determines the driving mileage data of the current bicycle, improve shared solo running
The accuracy of positioning ensure that the accuracy of shared solo running mileage record, ensure that user ride expense calculating it is reasonable
Property, improve the experience of riding of user.
Further, Fig. 4 is the flow diagram of the shared bicycle localization method 3rd embodiment of the present invention, as shown in figure 4,
It is proposed the shared bicycle localization method 3rd embodiment of the present invention based on second embodiment, in the present embodiment, the step S10 it
Before, the shared bicycle localization method is further comprising the steps of:
Step S01, when current bicycle is in riding condition, the GPS signal of the current bicycle is obtained in real time.
It should be noted that can be obtained in real time described current after being determined that the current bicycle is in riding condition
The GPS signal of bicycle is avoided when the current bicycle is in non-riding condition, and generated GPS signal is to shared bicycle
Mileage travelled calculate caused by interfere, such as shared bicycle is loaded on truck, can also be joined at this time with mobile and vibration
The corresponding exercise data of number, but exercise data at this time should not be used to the calculating of mileage travelled, therefore described having determined
After current bicycle be in riding condition, then obtain in real time the current bicycle GPS signal can more accurately know described in
The actual travel situation of current bicycle.
Further, before the step S01, the shared bicycle localization method is further comprising the steps of:
Obtain the momentum parameter of the gyro sensor feedback of the current bicycle and the open state of electronic lock;
Determine whether the current bicycle is in riding condition according to the momentum parameter and the open state.
It should be understood that the gyro sensor is the sensor being arranged in the current bicycle, for obtaining
The momentum parameter that the current bicycle generates during the motion, the open state of the electronic lock reflect the current bicycle
Lock is the state turned off or on, whether can determine the current bicycle by the momentum parameter and the open state
In riding condition, i.e., when the momentum parameter meets predetermined momentum threshold value, and the open state of the electronic lock is in
When unlatching, it is possible to determine that the current bicycle is in riding condition, and when the momentum parameter is unsatisfactory for predetermined momentum threshold value,
Or the open state of the electronic lock is in when closing, it is possible to determine that the current bicycle is not at riding condition;Certainly
Corresponding kinematic parameter can be obtained by other kinds of sensor determine whether the current bicycle is in riding condition, this
Embodiment is without restriction to this.
Step S02, according to the GPS signal judge the current bicycle locating for region of riding whether be default weak signal
Region.
It is understood that can determine institute according to the GPS signal after the GPS signal for obtaining the current bicycle
State whether region of riding locating for current bicycle is default low signal areas, i.e., the GPS letter of environment locating for the described current bicycle
It is number whether weaker, it proves to be inaccurate by the data of riding that GPS positioning generates at this time if GPS signal is weaker, by this
Region of riding locating for the current bicycle of Shi Suoshu is defined as default low signal areas.
Further, the step S02 specifically includes the following steps:
The GPS signal strength that the current bicycle is obtained according to the GPS signal by the GPS signal strength and is preset
Signal strength is compared, and generates comparison result;
When the comparison result is that the GPS signal strength is less than the preset signal strength, the current list is determined
Region is ridden locating for vehicle as default low signal areas;
When the comparison result is that the GPS signal strength is greater than or equal to the preset signal strength, described in judgement
Region of riding locating for current bicycle is not default low signal areas.
It should be noted that the preset signal strength is pre-set for judging ring locating for the current bicycle
Border whether be the weaker region of GPS signal signal strength, by the way that the GPS signal strength and preset signal strength are compared
Compared with the current bicycle being determined clearly whether according to the size relation of the GPS signal strength and preset signal strength
Locating region of riding is not default low signal areas, if not using the side of GPS navigation in the default low signal areas
Formula obtains the running data of the current bicycle, and uses the angular-rate sensor and the acceleration transducer auxiliary record
The running data of the current bicycle.
Step S03, when the region of riding is default low signal areas, default sensor open command is generated.
It should be understood that when the region of riding is default low signal areas, it was demonstrated that GPS signal is weaker at this time, nothing
Method provides data of accurately riding, and needs to replace or assist by starting angular-rate sensor and acceleration transducer at this time
GPS navigator completes the record of data of riding, therefore when the region of riding is default low signal areas, has reached triggering item
Part, it is corresponding to generate default sensor open command.
The present embodiment through the above scheme, by obtaining the current list in real time when current bicycle is in riding condition
The GPS signal of vehicle;According to the GPS signal judge the current bicycle locating for region of riding whether be default weak signal area
Domain;When the region of riding is default low signal areas, default sensor open command is generated, according to the default sensor
Open command turn-on data interface, for receiving the parameter of the angular-rate sensor and acceleration transducer feedback, according to institute
It states angular speed parameter and the acceleration parameter determines the driving mileage data of the current bicycle, improve shared solo running
The accuracy of positioning ensure that the accuracy of shared solo running mileage record, ensure that user ride expense calculating it is reasonable
Property, improve the experience of riding of user.
Based on the embodiment of above-mentioned shared bicycle localization method, the present invention further provides a kind of shared bicycle positioning dresses
It sets.
It is the functional block diagram of the shared bicycle positioning device first embodiment of the present invention referring to Fig. 5, Fig. 5.
The present invention shares in bicycle positioning device first embodiment, the shared bicycle positioning device include: opening module 10,
Data reception module 20 and mileage calculation module 30;
Wherein, the opening module 10, for according to default sensor open command turn on sensor data-interface;
The data reception module 20, the angular-rate sensor for obtaining current bicycle by sensor data interface are adopted
The acceleration parameter of angular speed parameter and the acceleration transducer acquisition of collection;
The mileage calculation module 30, it is described current for being determined according to the angular speed parameter and the acceleration parameter
The driving mileage data of bicycle.
Wherein, the step of sharing each Implement of Function Module of bicycle positioning device can refer to the shared bicycle positioning of the present invention
Each embodiment of method, details are not described herein again.
In addition, the embodiment of the present invention also proposes a kind of storage medium, shared bicycle positioning is stored on the storage medium
Program realizes following operation when the shared bicycle finder is executed by processor:
According to default sensor open command turn on sensor data-interface;
The angular speed parameter and acceleration of the angular-rate sensor acquisition of current bicycle are obtained by sensor data interface
The acceleration parameter of sensor acquisition;
The driving mileage data of the current bicycle is determined according to the angular speed parameter and the acceleration parameter.
Further, following operation is also realized when the shared bicycle finder is executed by processor:
The global position system GPS data for obtaining the current bicycle in real time determine described current according to the GPS data
The running data of bicycle;
The running data is adjusted according to the angular speed parameter and the acceleration parameter, by row adjusted
Sail driving mileage data of the data as the current bicycle.
Further, following operation is also realized when the shared bicycle finder is executed by processor:
The running course data in the running data is adjusted according to the angular speed parameter, and is added according to described
Speed parameter is adjusted the operating range data in the running data;
Traveling according to running course data adjusted and operating range data adjusted as the current bicycle
Mileage.
Further, following operation is also realized when the shared bicycle finder is executed by processor:
When current bicycle is in riding condition, the GPS signal of the current bicycle is obtained in real time;
According to the GPS signal judge the current bicycle locating for region of riding whether be default low signal areas;
When the region of riding is default low signal areas, default sensor open command is generated.
Further, following operation is also realized when the shared bicycle finder is executed by processor:
The GPS signal strength that the current bicycle is obtained according to the GPS signal by the GPS signal strength and is preset
Signal strength is compared, and generates comparison result;
When the comparison result is that the GPS signal strength is less than the preset signal strength, the current list is determined
Region is ridden locating for vehicle as default low signal areas;
When the comparison result is that the GPS signal strength is greater than or equal to the preset signal strength, described in judgement
Region of riding locating for current bicycle is not default low signal areas.
Further, following operation is also realized when the shared bicycle finder is executed by processor:
Obtain the momentum parameter of the gyro sensor feedback of the current bicycle and the open state of electronic lock;
Determine whether the current bicycle is in riding condition according to the momentum parameter and the open state.
Further, following operation is also realized when the shared bicycle finder is executed by processor:
The GPS signal strength for obtaining the current bicycle compares the GPS signal strength with preset signal strength
Compared with;
When the GPS signal strength is greater than or equal to the preset signal strength, default sensor halt instruction is generated;
The sensor data interface is broadcasted according to the default sensor halt instruction.
The present embodiment presets sensor open command turn on sensor data-interface through the above scheme, by basis;It is logical
Cross angular speed parameter and acceleration transducer acquisition that sensor data interface obtains the angular-rate sensor acquisition of current bicycle
Acceleration parameter;The mileage travelled number of the current bicycle is determined according to the angular speed parameter and the acceleration parameter
According to improving the accuracy of shared solo running positioning, ensure that the accuracy of shared solo running mileage record, ensure that use
Family ride expense calculating reasonability, improve the experience of riding of user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of shared bicycle localization method, which is characterized in that the shared bicycle localization method includes:
According to default sensor open command turn on sensor data-interface;
The angular speed parameter and acceleration sensing of the angular-rate sensor acquisition of current bicycle are obtained by sensor data interface
The acceleration parameter of device acquisition;
The driving mileage data of the current bicycle is determined according to the angular speed parameter and the acceleration parameter.
2. shared bicycle localization method as described in claim 1, which is characterized in that described according to the angular speed parameter and institute
The driving mileage data that acceleration parameter determines the current bicycle is stated, is specifically included:
The global position system GPS data for obtaining the current bicycle in real time determine the current bicycle according to the GPS data
Running data;
The running data is adjusted according to the angular speed parameter and the acceleration parameter, by traveling number adjusted
According to the driving mileage data as the current bicycle.
3. shared bicycle localization method as claimed in claim 2, which is characterized in that described according to the angular speed parameter and institute
It states acceleration parameter to be adjusted the running data, using running data adjusted as in the traveling of the current bicycle
Number of passes evidence, specifically includes:
The running course data in the running data is adjusted according to the angular speed parameter, and according to the acceleration
Parameter is adjusted the operating range data in the running data;
Mileage travelled according to running course data adjusted and operating range data adjusted as the current bicycle
Data.
4. shared bicycle localization method as claimed in any one of claims 1-3, which is characterized in that the default sensing of the basis
Before device open command turn on sensor data-interface, the shared bicycle localization method further include:
When current bicycle is in riding condition, the GPS signal of the current bicycle is obtained in real time;
According to the GPS signal judge the current bicycle locating for region of riding whether be default low signal areas;
When the region of riding is default low signal areas, default sensor open command is generated.
5. shared bicycle localization method as described in claim 4, which is characterized in that described to be judged according to the GPS signal
Whether region of riding locating for the current bicycle is default low signal areas, is specifically included:
The GPS signal strength that the current bicycle is obtained according to the GPS signal, by the GPS signal strength and preset signals
Intensity is compared, and generates comparison result;
When the comparison result is that the GPS signal strength is less than the preset signal strength, the current bicycle institute is determined
The region of riding at place is default low signal areas;
When the comparison result is that the GPS signal strength is greater than or equal to the preset signal strength, determine described current
Region of riding locating for bicycle is not default low signal areas.
6. shared bicycle localization method as described in claim 4, which is characterized in that described to be in shape of riding in current bicycle
When state, before the GPS signal for obtaining the current bicycle in real time, the shared bicycle localization method further include:
Obtain the momentum parameter of the gyro sensor feedback of the current bicycle and the open state of electronic lock;
Determine whether the current bicycle is in riding condition according to the momentum parameter and the open state.
7. shared bicycle localization method as described in claim 1, which is characterized in that described according to the angular speed parameter and institute
After stating the driving mileage data that acceleration parameter determines the current bicycle, the shared bicycle localization method further include:
The GPS signal strength is compared by the GPS signal strength for obtaining the current bicycle with preset signal strength;
When the GPS signal strength is greater than or equal to the preset signal strength, default sensor halt instruction is generated;
The sensor data interface is broadcasted according to the default sensor halt instruction.
8. a kind of shared bicycle positioning device, which is characterized in that described device include: opening module, data reception module and in
Journey computing module;
Wherein, the opening module, for according to default sensor open command turn on sensor data-interface;
The data reception module, the angle that the angular-rate sensor for obtaining current bicycle by sensor data interface acquires
The acceleration parameter of speed parameter and acceleration transducer acquisition;
The mileage calculation module, for determining the current bicycle according to the angular speed parameter and the acceleration parameter
Driving mileage data.
9. a kind of shared bicycle positioning device, which is characterized in that the shared bicycle positioning device includes: memory, processor
And the shared bicycle finder that is stored on the memory and can run on the processor, the shared bicycle positioning
Program is arranged for carrying out the step of shared bicycle localization method as described in any one of claims 1 to 7.
10. a kind of storage medium, which is characterized in that shared bicycle finder is stored on the storage medium, it is described shared
Realizing the shared bicycle localization method as described in any one of claims 1 to 7 when bicycle finder is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910056064.6A CN109855648A (en) | 2019-01-21 | 2019-01-21 | Shared bicycle localization method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910056064.6A CN109855648A (en) | 2019-01-21 | 2019-01-21 | Shared bicycle localization method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109855648A true CN109855648A (en) | 2019-06-07 |
Family
ID=66895518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910056064.6A Pending CN109855648A (en) | 2019-01-21 | 2019-01-21 | Shared bicycle localization method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109855648A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101403620A (en) * | 2008-09-10 | 2009-04-08 | 深圳市同洲电子股份有限公司 | Navigation device and method |
CN102654582A (en) * | 2012-04-16 | 2012-09-05 | 东莞市泰斗微电子科技有限公司 | Combined navigation system and method |
KR101308528B1 (en) * | 2013-02-13 | 2013-09-17 | 주식회사 아이온뱅크 | A system for preventing taxi-fare maniplation and the prevention method using the same |
CN103454660A (en) * | 2012-12-28 | 2013-12-18 | 北京握奇数据系统有限公司 | Vehicle locating method and device |
CN103954291A (en) * | 2014-04-30 | 2014-07-30 | 深圳市财富之舟科技有限公司 | Electronic device and navigation method thereof |
CN204535717U (en) * | 2015-03-13 | 2015-08-05 | 北京握奇智能科技有限公司 | A kind of board units |
CN205158456U (en) * | 2015-12-08 | 2016-04-13 | 郑子伟 | Distance measurement and tariff metering apparatus based on global navigation satellite system and inertia subassembly |
WO2016123511A1 (en) * | 2015-01-30 | 2016-08-04 | Vision Service Plan | Systems and methods for tracking motion, performance, and other data for a bicycle, other vehicle, and/or an individual such as a winter sports athlete |
CN105882804A (en) * | 2015-08-11 | 2016-08-24 | 乐视体育文化产业发展(北京)有限公司 | Theft preventing method and device for bicycle |
CN107063247A (en) * | 2017-05-10 | 2017-08-18 | 北京拜克洛克科技有限公司 | The monitoring method and device of a kind of bicycle |
-
2019
- 2019-01-21 CN CN201910056064.6A patent/CN109855648A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101403620A (en) * | 2008-09-10 | 2009-04-08 | 深圳市同洲电子股份有限公司 | Navigation device and method |
CN102654582A (en) * | 2012-04-16 | 2012-09-05 | 东莞市泰斗微电子科技有限公司 | Combined navigation system and method |
CN103454660A (en) * | 2012-12-28 | 2013-12-18 | 北京握奇数据系统有限公司 | Vehicle locating method and device |
KR101308528B1 (en) * | 2013-02-13 | 2013-09-17 | 주식회사 아이온뱅크 | A system for preventing taxi-fare maniplation and the prevention method using the same |
CN103954291A (en) * | 2014-04-30 | 2014-07-30 | 深圳市财富之舟科技有限公司 | Electronic device and navigation method thereof |
WO2016123511A1 (en) * | 2015-01-30 | 2016-08-04 | Vision Service Plan | Systems and methods for tracking motion, performance, and other data for a bicycle, other vehicle, and/or an individual such as a winter sports athlete |
CN204535717U (en) * | 2015-03-13 | 2015-08-05 | 北京握奇智能科技有限公司 | A kind of board units |
CN105882804A (en) * | 2015-08-11 | 2016-08-24 | 乐视体育文化产业发展(北京)有限公司 | Theft preventing method and device for bicycle |
CN205158456U (en) * | 2015-12-08 | 2016-04-13 | 郑子伟 | Distance measurement and tariff metering apparatus based on global navigation satellite system and inertia subassembly |
CN107063247A (en) * | 2017-05-10 | 2017-08-18 | 北京拜克洛克科技有限公司 | The monitoring method and device of a kind of bicycle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105718750B (en) | A kind of prediction technique and system of vehicle driving trace | |
CN102089196B (en) | Gradient information calculating system, vehicle running control system, navigation system, and gradient information calculating method | |
CN109218075A (en) | A kind of V2X scrnario testing method and system based on hardware in loop | |
CN106370190A (en) | Vehicle navigation method, position marking method, apparatus, and system | |
EP3943983A1 (en) | Positioning method, device, medium and equipment | |
CN109884338A (en) | Share the retrograde detection method of electric vehicle, device, equipment and storage medium | |
CN106062515A (en) | Reduced power consumption and improved user experience when navigating along familiar routes | |
CN104678415A (en) | Car Navition System And Method Merged Gnss With Dr | |
CN110222906A (en) | Electric vehicle energy consumption prediction technique, computer readable storage medium and electronic equipment | |
CN104350362B (en) | Apparatus for detecting position of vehicle and method | |
CN108022026A (en) | Traffic safety early warning method and device and system comprising device | |
CN111366164A (en) | Positioning method and electronic equipment | |
US20180045520A1 (en) | System to develop topographical data | |
CN108688520A (en) | Vehicle control system, control method for vehicle and storage medium | |
CN105783928A (en) | Intelligent vehicle-mounted GPS | |
CN108337359A (en) | A kind of setting method of scene alarm clock, mobile terminal and readable storage medium storing program for executing | |
CN109326133A (en) | Expressway safety monitoring and managing method and system, car-mounted terminal | |
CN108254775A (en) | Onboard navigation system and its implementation | |
KR102109953B1 (en) | Apparatus and method for estimating position of vehicle using yawrate sensor | |
CN108177654A (en) | Vehicle driving safety method for early warning, device, system and readable storage medium storing program for executing | |
KR20210029323A (en) | Apparatus and method for improving cognitive performance of sensor fusion using precise map | |
JPH10141964A (en) | Navigation apparatus for moving body and its processing method | |
CN110147093A (en) | Driving strategy generation method and device based on automatic Pilot digital navigation map | |
CN109855648A (en) | Shared bicycle localization method, device, equipment and storage medium | |
CN206155177U (en) | Safety system for vehicle |
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 |
Application publication date: 20190607 |
|
RJ01 | Rejection of invention patent application after publication |