CN106683419A - Method for recognizing traffic flow direction and electronic equipment - Google Patents
Method for recognizing traffic flow direction and electronic equipment Download PDFInfo
- Publication number
- CN106683419A CN106683419A CN201710166403.7A CN201710166403A CN106683419A CN 106683419 A CN106683419 A CN 106683419A CN 201710166403 A CN201710166403 A CN 201710166403A CN 106683419 A CN106683419 A CN 106683419A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- road
- wagon flow
- flow direction
- arrangement information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/056—Detecting movement of traffic to be counted or controlled with provision for distinguishing direction of travel
Abstract
The invention provides a method for recognizing the traffic flow direction and electronic equipment. The traffic flow directions, close to the first side of the electronic equipment, in a first road can be determined based on the obtained orientation direction of the electronic equipment and obtained arrangement information of the first road of the geographic position where the electronic equipment is located, and therefore the purpose of recognizing the traffic flow direction of the first side when a user is located on the first side of the road is achieved.
Description
Technical field
The present invention relates to communication technical field, more particularly relates to recognize the method and electronic equipment in wagon flow direction.
Background technology
At present in city, vehicle (such as buses, taxi) is the normal vehicles for selecting of Jing, people when people go on a journey
When vehicle is waited, wrong direction of standing sometimes may for example be taken and go to reciprocal buses.
Accordingly, it would be desirable to a kind of method that identifying user is currently located at the wagon flow direction of road side.
The content of the invention
In view of this, the invention provides the method and electronic equipment in a kind of identification wagon flow direction, to overcome prior art
The problem in the wagon flow direction of middle None- identified road side.
For achieving the above object, the present invention provides following technical scheme:
A kind of method in identification wagon flow direction, including:
Obtain the direction that electronic equipment is currently at the electronic equipment under illuminating state;
Obtain the arrangement information of first road in geographical position residing for the electronic equipment;
The arrangement information of direction and the first road based on the terminal unit, determines and is leaned in first road
The wagon flow direction of the nearly side of the electronic equipment first.
Wherein, methods described also includes:
Determine whether to produce use based on the wagon flow direction of the destination and first side that set on the electronic equipment
In the information of prompting subscriber station mistake road direction.
Wherein, methods described also includes:
Setting destination;
Navigation information is generated based on the destination;The navigation information includes at least one node;
Monitor the change in location of the electronic equipment;
When the change in location of the electronic equipment is matched with the primary nodal point at least one node, identification is performed
The step of wagon flow direction.
Wherein, the direction for obtaining electronic equipment in the electronic equipment under illuminating state includes:
Determine that the electronic equipment is currently under illuminating state the direction relative to earth magnetism;
The arrangement information of the direction based on the electronic equipment and the first road, determines first road
In include near the wagon flow direction of the side of the electronic equipment first:
According to the direction and the arrangement information of first road, determine the electronic equipment described first
First side of road, wherein, first road includes both sides, and the corresponding wagon flow in both sides of first road is in opposite direction;
According to first side, the wagon flow direction of first side is determined.
Wherein, it is described according to the direction and the arrangement information of first road, determine the electronic equipment
Include in the first side of first road:
According to the direction and the arrangement information of first road, the electronic equipment and described first is calculated
The angle of road;
When the angle belongs to the first preset range, determine the electronic equipment described the first of first road
Side.
A kind of electronic equipment, including:
Memorizer, for storage program;
Processor, for performing described program, described program is used for:
Obtain the direction that electronic equipment is currently at the electronic equipment under illuminating state;
Obtain the arrangement information of first road in geographical position residing for the electronic equipment;
The arrangement information of direction and the first road based on the electronic equipment, determines and is leaned in first road
The wagon flow direction of the nearly side of the electronic equipment first;
Communication bus, is communicated for the memorizer with the processor.
Wherein, the processor is additionally operable to:
Determine whether to produce use based on the wagon flow direction of the destination and first side that set on the electronic equipment
In the information of prompting subscriber station mistake road direction.
Wherein, the processor is additionally operable to:
Setting destination;
Navigation information is generated based on the destination;The navigation information includes at least one node;
Monitor the change in location of the electronic equipment;
When the change in location of the electronic equipment is matched with the primary nodal point at least one node, identification is performed
The step of wagon flow direction.
Wherein, the processor is when electronic equipment direction of the electronic equipment under the illuminating state is obtained,
Specifically for:
Determine that the electronic equipment is currently under illuminating state the direction relative to earth magnetism;
Processor determines described first in the direction based on the electronic equipment and the arrangement information of the first road
In road during the wagon flow direction of the close side of the electronic equipment first, specifically for:
According to the direction and the arrangement information of first road, determine the electronic equipment described first
First side of road, wherein, first road includes both sides, and the corresponding wagon flow in both sides of first road is in opposite direction;
According to first side, the wagon flow direction of first side is determined.
Wherein, the processor is in the arrangement information according to the direction and first road, it is determined that described
Electronic equipment at the first side of first road, specifically for:
According to the direction and the arrangement information of first road, the electronic equipment and described first is calculated
The angle of road;
When the angle belongs to the first preset range, determine the electronic equipment described the first of first road
Side.
Understand via above-mentioned technical scheme, compared with prior art, identification wagon flow direction provided in an embodiment of the present invention
Method in, based on obtain electronic equipment direction and geographical position residing for electronic equipment the first road arrangement
Information, it may be determined that near the wagon flow direction of the side of electronic equipment first in the first road, it is achieved thereby that identifying user is located at road
During first side on road, the purpose in the wagon flow direction of first side.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method in identification wagon flow direction provided in an embodiment of the present invention;
Fig. 2 is the signal that electronic equipment provided in an embodiment of the present invention detects itself direction in the first side of road
Figure;
Fig. 3 is the signal that electronic equipment provided in an embodiment of the present invention detects itself direction in the second side of road
Figure;
Fig. 4 is that the flow process of a preferred implementation of the method in identification wagon flow direction provided in an embodiment of the present invention is illustrated
Figure;
Fig. 5 is that the first preset range provided in an embodiment of the present invention reduces schematic diagram;
Fig. 6 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, for a kind of method flow schematic diagram in identification wagon flow direction provided in an embodiment of the present invention, the method
Including:
Step S101:Obtain the direction that electronic equipment is currently at the electronic equipment under illuminating state.
Electronic equipment refers to that user is currently in use the electronic equipment under illuminating state.
User can carry electronic equipment and wait vehicle in road side.Assume that both sides of the road are referred to as A sides and B sides, can be with
It is understood by, subscriber station is in the not homonymy of road, and the direction that electronic equipment is detected is different.Because user is using electronics
The screen for watching electronic equipment is needed during equipment, so the screen of electronic equipment is all directed towards oneself.Below with intelligence
Can detect that the direction of itself is illustrated to electronic equipment as a example by mobile phone.
As shown in Fig. 2 detecting itself direction in the side of road for electronic equipment provided in an embodiment of the present invention
Schematic diagram.
Assume electronic equipment in the side (such as A sides) of the road road of North and South direction (road in Fig. 2 for), due to
Family wait vehicle when user plane to road, now, electronic equipment such as smart mobile phone is with the side of the solid arrow shown in Fig. 2
To in the face of road, the direction of itself that electronic equipment is detected may be displayed on the screen of electronic equipment, it is also possible to no
Show.The embodiment of the present invention more understands that electronic equipment detects that itself direction (assumes direction for those skilled in the art
Direction is the four corners of the world relative to earth magnetism) method, illustrate electronic equipment itself relative to ground on the screen of the electronic device
In the direction of magnetic, such as Fig. 2, the direction of electronic equipment is east.
Because screen is less in electronic equipment, in order to become apparent from, Fig. 2 also show electronic equipment itself relative to earth magnetism
Direction enlarged drawing.Dotted arrow is the direction of electronic equipment.I.e. the direction of electronic equipment is due east direction
As shown in figure 3, detecting itself direction in the opposite side of road for electronic equipment provided in an embodiment of the present invention
Schematic diagram.
, in the opposite side (such as B sides) of road, electronic equipment such as smart mobile phone is with shown in Fig. 3 for electronic equipment in Fig. 3
The direction of solid arrow face road, now, the direction of electronic equipment is west.
Electronic equipment can detect the direction of itself by the compass applications client of itself installation, that is, recognize
The corresponding applications client of method in wagon flow direction can call compass applications program, certainly, the method for recognizing wagon flow direction
Corresponding applications client itself can also have the function of compass applications client.
Step S102:Obtain the arrangement information of first road in geographical position residing for the electronic equipment.
Electronic equipment can be provided with GPS (Global Positioning System, global positioning system) module, and GPS can
The position being currently located with Positioning Electronic Devices, it is assumed that electronic equipment is currently at the first road, then GPS can determine that first
Road belongs to which direction road, for example, east-west direction, North and South direction etc..Arrangement information may refer to relative to earth magnetism
The four corners of the world.
Step S103:The arrangement information of direction and the first road based on the electronic equipment, determines described
Near the wagon flow direction of the side of the electronic equipment first in one road.
Still by taking Fig. 2 as an example, if the arrangement information of the first road is North and South direction, and the direction of electronic equipment is east,
Then can determine that electronic equipment is located at the A sides of the first road.And the wagon flow direction of A sides is from north orientation south.To sum up, step S103
Can include:According to the direction and the arrangement information of the first road, determine the electronic equipment at described first
First side on road, wherein, first road includes both sides, and the corresponding wagon flow in both sides is in opposite direction;According to first side, really
The wagon flow direction of fixed first side.
In the method in identification wagon flow direction provided in an embodiment of the present invention, the direction based on the electronic equipment for obtaining with
And the arrangement information of first road in geographical position residing for electronic equipment, it may be determined that near electronic equipment first in the first road
The wagon flow direction of side, it is achieved thereby that when identifying user is located at the first side of road, the purpose in the wagon flow direction of first side.
The method in identification wagon flow direction provided in an embodiment of the present invention can apply to many application scenarios, and the present invention is implemented
Example provides following application scenarios and the method for recognizing wagon flow direction is illustrated.
The first application scenarios, user is input in the electronic device the destination for needing to reach.
When user's if desired ride-on vehicles, such as buses or taxi, can be defeated in public transportation enquiry applications client
Enter destination, or, the input destination in applications client of calling a taxi (such as dripping drop to call a taxi, drip drop express, easily arrive special train).This
The method in the identification wagon flow direction that bright embodiment is provided can be used as plug-in unit and above-mentioned public transportation enquiry applications client, application of calling a taxi
Client is bound, i.e., install after public transportation enquiry applications client, applications client of calling a taxi in the electronic device, that is, be mounted with
The corresponding plug-in unit of method in identification wagon flow direction.
After user is in public transportation enquiry applications client or car applications client input destination, it is possible to trigger the identification
The corresponding plug-in unit of method in wagon flow direction.
Or, the method one independent applications client of correspondence in wagon flow direction is recognized, recognize the method correspondence in wagon flow direction
Applications client, can mutually be called with public transportation enquiry applications client, applications client of calling a taxi.
The method in identification wagon flow direction provided in an embodiment of the present invention can also include:Set based on the electronic equipment
Destination and the wagon flow direction of first side determine whether to produce the prompting letter for pointing out subscriber station mistake road direction
Breath.
Because electronic equipment known users need the destination of arrival, and the geographical position that electronic equipment is presently in,
It can be determined that going out the wagon flow direction of the vehicle that user should take, user is obtained further through the step shown in Fig. 1 current
The wagon flow direction of the first side of the first road being located, it is possible to determine whether user stands the direction of wrong road.Still with Fig. 2
As a example by, user holds electronic equipment station in the first side of road, and the wagon flow direction of the first side is from north orientation south.Hypothesis is set based on electronics
The geographical position that the destination of standby upper setting and electronic equipment are presently in, determines that user needs to take the car from north orientation south
, then can not point out user, it is also possible to point out user to stand the in the right direction of road.Assume based on setting on electronic equipment
The geographical position that destination and electronic equipment are presently in, determines that user needs to take the vehicle from south orientation north, then can be with
The direction of prompting subscriber station mistake road.
Second application scenarios, user is input in the electronic device the public bus network for needing to take.
It is understood that when user needs to inquire about a certain circuit, can be with the title of incoming line, such as 1 tunnel, then
Reselection buses travel direction, such that it is able to check each website of the public transport in corresponding travel direction of corresponding circuit.At present
The travel direction of vehicle is identified with the terminus of buses.The terminus of the buses of same circuit but different travel directions is not
Together, it is assumed that the corresponding terminus of two travel directions of No. 1 buses is respectively A stations and B stations, then when the tunnel of user input circuit 1
Afterwards, can show in interface and " leave for A stations direction;Leave for B stations direction ", user needs therefrom to be selected.And adopt the present invention
The method in the identification wagon flow direction that embodiment is provided, when first side of the subscriber station in road, can automatically determine user at this
Wagon flow direction during the first side of road, behind 1 tunnel of user input, can show corresponding to the wagon flow direction of the first side automatically
1 tunnel each website, without the need for user from " leave for A station direction;Leave for B stations direction " middle selection one, so as to improve user's body
Test.
Specifically, based on the purpose circuit set on the electronic equipment, determine the purpose circuit in first side
The each site information in wagon flow direction.
The third application scenarios, user is input in the electronic device destination, and is navigated.
Assume that user is input in the electronic device destination, and have selected the mode taken pubic transport and navigated.If user
Currently not in any bus station, but the process of bus station is being looked for, the method for now performing identification wagon flow direction
Step is nonsensical, because user is not in any bus station, even if obtaining the side that user is currently located road
Wagon flow direction, it is also meaningless.
During user's carrying electronic equipment finds bus station along navigation way, the position of electronic equipment is constantly being sent out
Changing, when the position of electronic equipment matches with arbitrary bus stop, then performs the step of recognizing wagon flow direction.
Concrete grammar is as shown in figure 4, a preferred implementation of the method for identification wagon flow direction provided in an embodiment of the present invention
The schematic flow sheet of mode, the method includes:
Step S401:Setting destination.
Step S402:Navigation information is generated based on the destination;The navigation information includes at least one node.
Node can be bus station, if it is that the mode taken pubic transport is navigated to select, navigation information is included at least
One bus station.
Step S403:Monitor the change in location of the electronic equipment.
Step S404:When the change in location of the electronic equipment is matched with the primary nodal point at least one node
When, perform the step of recognizing wagon flow direction.
4th kind of application scenarios, different time sections, electronic equipment is in the first road difference side.
For example, user takes bus on and off duty, and same vehicle may be taken during working and when next, due to during working,
The route of user is that, from family to company, when coming off duty, the route of user is from company to family, that is, to need the traveling side of vehicle taken
To difference, so user may stand in the not homonymy of road.
The both sides of the first road are referred to as A sides and B sides by hypothesis, the method by recognizing wagon flow direction, are detected daily
The morning (such as 7 thirty are to 9 thirty) electronic equipment is in the A sides of the first road, every afternoon (such as 5 thirty are to 6 thirty) electronics
Equipment is in the B sides of the first road.When the number of times for detecting is more than or equal to preset times, it is the morning to detect current time, then
Can directly determine electronic equipment in the A sides of the first road;It is afternoon to detect current time, then can directly determine that electronics sets
For in the B sides of the first road.Concrete grammar is as follows:
Record (such as to 9 thirty, or, to 6 thirty thirty in the afternoon 5) electronics in first time period thirty in the morning 7
Number of times of the equipment in the first side of first road;
When the number of times is more than or equal to preset times, and current time to belong to the first time period, the electricity is determined
Sub- equipment is in the first side of first road.
5th kind of application scenarios, user is arranged when needing to arrive at A, is determined according to the method in identification wagon flow direction
Electronic equipment always in the A sides of the first road, or ride circuit A vehicle when, determine according to the method in identification wagon flow direction
The electronic equipment for going out is always in the A sides of the first road.When detect destination's (or target line) for setting on electronic equipment as
During destination A (or target line A), can directly determine electronic equipment in the A sides of the first road.Concrete grammar is as follows:
When the destination set on the electronic equipment is first as the first destination (such as destination A) or target line
During target line (such as purpose circuit A), by first destination or corresponding first road of the first object circuit
First side, is defined as the first side that the electronic equipment is currently located the first road.
During user's carrying electronic equipment faces road, electronic equipment may be caused vertical with road, such as Fig. 2 and Tu
The corresponding solid arrow direction of electronic equipment shown in 3 is vertical with road.It is understood that user can not necessarily keep electronics
Equipment is vertical with road, such as user not necessarily always keeps electronic equipment towards due east direction in Fig. 2, it is also possible to towards the southeast
To.Therefore, the first preset range is set, i.e., when the angle of electronic equipment and road belongs to the first preset range, determines that electricity
Sub- equipment is in the first side of road.
Specifically, according to the direction and the arrangement information of first road, determine that the electronic equipment exists
First side of first road can include:
According to the direction and the arrangement information of first road, the electronic equipment and described first is calculated
The angle of road.
When the angle belongs to the first preset range, determine the electronic equipment described the first of first road
Side.
Depending on first preset range can be according to practical situation, the embodiment of the present invention is not specifically limited to this.
Coordinate system can be set in the electronic device in advance, such as all directions in Fig. 2 shown in dotted line are coordinate system,
I.e., used as x-axis, North and South direction is used as y-axis for east-west direction.Coordinate system can be according to the arrangement information real-time change of road.I.e.
In real time according to the arrangement information of road, coordinate system is set up, such as road is North and South direction, then (or be using North and South direction as y-axis
X-axis), if road is east-west direction, using east-west direction as y-axis (or for x-axis), if road be the southeast to direction northwest,
To direction northwest as y-axis (or for x-axis), perpendicular direction is used as x-axis (or for y-axis) for the southeast.
Below in the way of 360 ° of the division illustrated in the enlarged drawing shown in Fig. 2 as a example by illustrate.Assume that Fig. 2 is Central-South
To for y-axis, east-west direction is x-axis in the north.Electronic equipment and the angle of road are 90 ° in Fig. 2.Electronic equipment and road in Fig. 3
Angle be 180 °.
By taking Fig. 2 as an example, the first preset range can include:[30 °, 90 °] and [330 °, 360 °).By taking Fig. 3 as an example, the
One preset range can include:[135 °, 225 °].
The first side refers to the side of electronic equipment place road in the embodiment of the present invention, and a road has a both sides, for example A sides and
B sides, if electronic equipment is in the A sides of road, the first side is A sides, if electronic equipment is in the B sides of road, the first side is B
Side.Assume A sides correspondence preset range A, B sides correspondence preset range B.That is electronic equipment is at A sides, and the first preset range correspondence is pre-
If scope A, when electronic equipment is in B sides, the first preset range correspondence preset range B.
It is understood that different users is different using the custom of electronic equipment, the user for example having is needing to use
During electronic equipment identification wagon flow direction, electronic equipment can be arranged to vertical with road, i.e., electronic equipment becomes with the angle of road
Change very little;Some users are when needing to use electronic equipment to recognize wagon flow direction, and electronic equipment is very big with the variable angle of road,
Now electronic equipment can change the first preset range automatically according to the use habit of user, and concrete grammar includes:
The correct number of times in the wagon flow direction by recognizing the first side that wagon flow direction step is determined of record user feedback
And errors number;According to the correct number of times and the errors number, the determined by identification wagon flow direction step is calculated
The accuracy in the wagon flow direction of side;When accuracy is less than or equal to the first preset value, according to preset rules described first is adjusted
Preset range.
The preset rules include by the electronic equipment centered on the vertical corresponding angle of first road, reduce
First preset range.
Electronic equipment is 90 ° with the vertical corresponding angle of first road in Fig. 2, as shown in figure 5, implementing for the present invention
The first preset range that example is provided reduces schematic diagram.
In Fig. 5, black arrow represents the direction of electronic equipment, the direction and the first road based on electronic equipment
The angle that calculates of arrangement information when belonging to the first preset range 51, determine that electronic equipment in the first side of road.If with
The accuracy in the wagon flow direction of the first side that the preset range of foundation first of family feedback is determined is relatively low, then can reduce first pre-
If scope, for example, the first preset range 51 is reduced into into the first preset range 52, the first preset range 52 is two dotted arrows
Angle.
The mode of the method and step in the identification wagon flow direction that triggering above-described embodiment is provided has various, and the embodiment of the present invention is carried
For but be not limited to following several.
The first, electronic equipment is in illuminating state.
Second, user opens the corresponding applications client of method that wagon flow direction is recognized in electronic equipment, i.e., using visitor
Family end is activated, or, the applications client opened shows there is human-computer interaction interface, user can be gone out tactile by human-computer interaction interface
The method for sending out identification wagon flow direction.
The third, detects the position that the current position of user is that a bus stop is located.
4th kind, electronic equipment detects user and never reached the geographical position being currently located, or, reach being currently located
Geographical position number of times it is less.Comprise the following steps that:
Record number of times of the electronic equipment after each geographical position.
According to the electronic equipment of record after the number of times in each geographical position, determine the electronic equipment after current institute
First number in place geographical position;
When first number is less than predetermined threshold value, triggering performs the method and step in identification wagon flow direction.
Depending on predetermined threshold value can be according to practical situation, for example, can be 1,2 ... ... etc..
Electronic equipment can obtain user and carry the geographical position that electronic equipment once went by navigation application client,
I.e. after each geographical position, according to the geographical position whether user went to be currently located, or, the number of times for going is how many, it may be determined that
Go out familiarity of the user to current geographic position.If the very familiar geographical position being currently located of user, user itself is just
Knowing in the which side of road by bus, can now not need the side in identification wagon flow direction provided in an embodiment of the present invention
Method.If seldom, or, do not went at all, then user should be unfamiliar with the geographical position being currently located to the number of times that user goes, then use
Family may be unaware that should be in which side by bus, at this time, it may be necessary to the step of triggering the method in identification wagon flow direction.
The embodiment of the present invention additionally provides a kind of electronic equipment corresponding with the method in identification wagon flow direction, in electronic equipment
Computing device the step of detailed description, may refer to the explanation of corresponding steps in the method for recognize wagon flow direction, here
It is not specifically limited, as shown in fig. 6, for the structural representation of a kind of electronic equipment provided in an embodiment of the present invention, the electronics sets
It is standby to include:
Memorizer 61, for storage program;
Memorizer 73 may include high-speed RAM memorizer, it is also possible to also including nonvolatile memory (non-volatile
Memory), for example, at least one disk memory.
Processor 62, for performing described program, described program is used for:
Obtain the direction that electronic equipment is currently at the electronic equipment under illuminating state;
Obtain the arrangement information of first road in geographical position residing for the electronic equipment;
The arrangement information of direction and the first road based on the electronic equipment, determines and is leaned in first road
The wagon flow direction of the nearly side of the electronic equipment first;
Communication bus 63, is communicated for the memorizer 61 with the processor 62.
The possibly central processor CPU of processor 71, or specific integrated circuit ASIC
(Application Specific Integrated Circuit), or be arranged to implement of the invention real
Apply one or more integrated circuits of example.
Optionally, processor is additionally operable to:
Determine whether to produce use based on the wagon flow direction of the destination and first side that set on the electronic equipment
In the information of prompting subscriber station mistake road direction.
Optionally, the processor is additionally operable to:
Setting destination;
Navigation information is generated based on the destination;The navigation information includes at least one node;
Monitor the change in location of the electronic equipment;
When the change in location of the electronic equipment is matched with the primary nodal point at least one node, identification is performed
The step of wagon flow direction.
Optionally, the processor is obtaining direction of the electronic equipment in the electronic equipment under illuminating state
When, specifically for:
Determine that the electronic equipment is currently under illuminating state the direction relative to earth magnetism;
Processor determines described first in the direction based on the electronic equipment and the arrangement information of the first road
In road during the wagon flow direction of the close side of the electronic equipment first, specifically for:
According to the direction and the arrangement information of first road, determine the electronic equipment described first
First side of road, wherein, first road includes both sides, and the corresponding wagon flow in both sides of first road is in opposite direction;
According to first side, the wagon flow direction of first side is determined.
Optionally, the processor determines institute in the arrangement information according to the direction and first road
Electronic equipment is stated at the first side of first road, specifically for:
According to the direction and the arrangement information of first road, the electronic equipment and described first is calculated
The angle of road;
When the angle belongs to the first preset range, determine the electronic equipment described the first of first road
Side.
Obtained by sensors such as the compass of electronic equipment in one embodiment of the application and be currently at illuminating state
The direction of the lower electronic equipment;And first road in geographical position residing for the electronic equipment is obtained based on geographical position
Arrangement information, i.e. cartographic information just can determine first road in the geographical position for East and West direction or north-south;Finally
The arrangement information of direction and the first road based on the electronic equipment, determines in the first road near the electronic equipment the
The wagon flow direction of side.
Another embodiment of the application, in public transport navigation, based on final destination and distance users (pass through
Electronic equipment in illuminating state carrys out characterized user) whether the wagon flow direction of nearest side determine user in mistake
The platform in direction.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that a series of process, method, article or equipment including key elements not only includes that
A little key elements, but also including other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element for being limited by sentence "including a ...", does not arrange
Except also there is other identical element in including the process of the key element, method, article or equipment.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the application.
Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case of without departing from spirit herein or scope.Therefore, the application
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope for causing.
Claims (10)
1. a kind of method in identification wagon flow direction, it is characterised in that include:
Obtain the direction that electronic equipment is currently at the electronic equipment under illuminating state;
Obtain the arrangement information of first road in geographical position residing for the electronic equipment;
The arrangement information of direction and the first road based on the terminal unit, determines in first road near institute
State the wagon flow direction of the side of electronic equipment first.
2. the method for recognizing wagon flow direction according to claim 1, it is characterised in that methods described also includes:
Determine whether to produce for carrying based on the wagon flow direction of the destination and first side that set on the electronic equipment
Show the information of subscriber station mistake road direction.
3. the method for recognizing wagon flow direction according to claim 1, it is characterised in that methods described also includes:
Setting destination;
Navigation information is generated based on the destination;The navigation information includes at least one node;
Monitor the change in location of the electronic equipment;
When the change in location of the electronic equipment is matched with the primary nodal point at least one node, identification wagon flow is performed
The step of direction.
4. the method for recognizing wagon flow direction according to claim 1, it is characterised in that the acquisition electronic equipment is in and lights
The direction of the electronic equipment includes under state:
Determine that the electronic equipment is currently under illuminating state the direction relative to earth magnetism;
The arrangement information of the direction based on the electronic equipment and the first road, determines and is leaned in first road
The wagon flow direction of the nearly side of the electronic equipment first includes:
According to the direction and the arrangement information of first road, determine the electronic equipment in first road
The first side, wherein, first road includes both sides, and the corresponding wagon flow in both sides of first road is in opposite direction;
According to first side, the wagon flow direction of first side is determined.
5. the method for recognizing wagon flow direction according to claim 4, it is characterised in that it is described according to the direction and
The arrangement information of first road, determines that the electronic equipment includes in the first side of first road:
According to the direction and the arrangement information of first road, the electronic equipment and first road are calculated
Angle;
When the angle belongs to the first preset range, determine the electronic equipment in first side of first road.
6. a kind of electronic equipment, it is characterised in that include:
Memorizer, for storage program;
Processor, for performing described program, described program is used for:
Obtain the direction that electronic equipment is currently at the electronic equipment under illuminating state;
Obtain the arrangement information of first road in geographical position residing for the electronic equipment;
The arrangement information of direction and the first road based on the electronic equipment, determines in first road near institute
State the wagon flow direction of the side of electronic equipment first;
Communication bus, is communicated for the memorizer with the processor.
7. electronic equipment according to claim 6, it is characterised in that the processor is additionally operable to:
Determine whether to produce for carrying based on the wagon flow direction of the destination and first side that set on the electronic equipment
Show the information of subscriber station mistake road direction.
8. electronic equipment according to claim 6, it is characterised in that the processor is additionally operable to:
Setting destination;
Navigation information is generated based on the destination;The navigation information includes at least one node;
Monitor the change in location of the electronic equipment;
When the change in location of the electronic equipment is matched with the primary nodal point at least one node, identification wagon flow is performed
The step of direction.
9. electronic equipment according to claim 6, it is characterised in that the processor is obtaining electronic equipment in lighting shape
Under state during the direction of the electronic equipment, specifically for:
Determine that the electronic equipment is currently under illuminating state the direction relative to earth magnetism;
Processor determines first road in the direction based on the electronic equipment and the arrangement information of the first road
In near the side of the electronic equipment first wagon flow direction when, specifically for:
According to the direction and the arrangement information of first road, determine the electronic equipment in first road
The first side, wherein, first road includes both sides, and the corresponding wagon flow in both sides of first road is in opposite direction;
According to first side, the wagon flow direction of first side is determined.
10. electronic equipment according to claim 9, it is characterised in that the processor according to the direction and
The arrangement information of first road, determines the electronic equipment at the first side of first road, specifically for:
According to the direction and the arrangement information of first road, the electronic equipment and first road are calculated
Angle;
When the angle belongs to the first preset range, determine the electronic equipment in first side of first road.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710166403.7A CN106683419B (en) | 2017-03-20 | 2017-03-20 | Method for identifying traffic flow direction and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710166403.7A CN106683419B (en) | 2017-03-20 | 2017-03-20 | Method for identifying traffic flow direction and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106683419A true CN106683419A (en) | 2017-05-17 |
CN106683419B CN106683419B (en) | 2020-03-20 |
Family
ID=58829231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710166403.7A Active CN106683419B (en) | 2017-03-20 | 2017-03-20 | Method for identifying traffic flow direction and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106683419B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109781131A (en) * | 2019-03-14 | 2019-05-21 | 百度在线网络技术(北京)有限公司 | Navigate abductive approach, device, navigator and readable storage medium storing program for executing |
CN115311871A (en) * | 2022-08-12 | 2022-11-08 | 深圳市能信安科技股份有限公司 | Vehicle driving direction determination method, device, system, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1755329A (en) * | 2004-09-29 | 2006-04-05 | 浙江工业大学 | Radio frequency card type electronic navigation device |
US20080114530A1 (en) * | 2006-10-27 | 2008-05-15 | Petrisor Gregory C | Thin client intelligent transportation system and method for use therein |
US20080188242A1 (en) * | 2007-02-05 | 2008-08-07 | Andrew Corporation | System and method for optimizing location estimate of mobile unit |
CN103900593A (en) * | 2012-12-26 | 2014-07-02 | 华为技术有限公司 | Transportation navigation method and device thereof |
CN103994772A (en) * | 2014-05-29 | 2014-08-20 | 东莞市泰斗微电子科技有限公司 | Bus station prompting method and system based on location-based service (LBS) |
CN104076953A (en) * | 2013-03-26 | 2014-10-01 | 联想(北京)有限公司 | Input device and information processing method |
CN104949671A (en) * | 2014-03-28 | 2015-09-30 | 联想(北京)有限公司 | Electronic equipment and information processing method |
CN105430325A (en) * | 2015-11-03 | 2016-03-23 | 苏交科集团股份有限公司 | Method and system for positioning traffic flow direction rapidly in road monitoring video image |
-
2017
- 2017-03-20 CN CN201710166403.7A patent/CN106683419B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1755329A (en) * | 2004-09-29 | 2006-04-05 | 浙江工业大学 | Radio frequency card type electronic navigation device |
US20080114530A1 (en) * | 2006-10-27 | 2008-05-15 | Petrisor Gregory C | Thin client intelligent transportation system and method for use therein |
US20080188242A1 (en) * | 2007-02-05 | 2008-08-07 | Andrew Corporation | System and method for optimizing location estimate of mobile unit |
CN103900593A (en) * | 2012-12-26 | 2014-07-02 | 华为技术有限公司 | Transportation navigation method and device thereof |
CN104076953A (en) * | 2013-03-26 | 2014-10-01 | 联想(北京)有限公司 | Input device and information processing method |
CN104949671A (en) * | 2014-03-28 | 2015-09-30 | 联想(北京)有限公司 | Electronic equipment and information processing method |
CN103994772A (en) * | 2014-05-29 | 2014-08-20 | 东莞市泰斗微电子科技有限公司 | Bus station prompting method and system based on location-based service (LBS) |
CN105430325A (en) * | 2015-11-03 | 2016-03-23 | 苏交科集团股份有限公司 | Method and system for positioning traffic flow direction rapidly in road monitoring video image |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109781131A (en) * | 2019-03-14 | 2019-05-21 | 百度在线网络技术(北京)有限公司 | Navigate abductive approach, device, navigator and readable storage medium storing program for executing |
CN115311871A (en) * | 2022-08-12 | 2022-11-08 | 深圳市能信安科技股份有限公司 | Vehicle driving direction determination method, device, system, equipment and storage medium |
CN115311871B (en) * | 2022-08-12 | 2023-09-05 | 深圳市能信安科技股份有限公司 | Method, device, system, equipment and storage medium for judging vehicle running direction |
Also Published As
Publication number | Publication date |
---|---|
CN106683419B (en) | 2020-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102467827B (en) | Traffic information providing system and terminal and use it to provide the method for transport information | |
CN102223602B (en) | Method, terminals and system for sharing position information | |
CN102226933B (en) | Parking route guidance method and device | |
CN103714311B (en) | City navigation system constituting method and navigation system based on positioning Quick Response Code | |
US20170032585A1 (en) | Rendering of a local assitance request | |
CN105225468A (en) | A kind of method and device determining position | |
CN103900592B (en) | The based reminding method of a kind of trip of driving and system | |
CN106971516A (en) | A kind of alert process circuit method and system for planning of safety-protection system | |
CN105865466A (en) | Intelligent navigation system and method thereof | |
CN103199898A (en) | Position identification and guide method based on bluetooth and two-dimension code | |
EP3190385A1 (en) | Route searching system, route searching method, and computer program | |
CN104424811A (en) | Prompting method for bus arrival, and mobile terminal | |
CN105575168A (en) | Parking space reservation method of parking lot | |
CN101587650A (en) | GPS bus transfering navigation method and system thereof | |
CN109556612A (en) | A kind of method for processing navigation information, device, server, terminal and storage medium | |
CN103942241A (en) | Real-time bus information query method, portable electronic device and server | |
CN105091896A (en) | Driving behavior prompting method, vehicle and electronic device | |
KR20150097782A (en) | Method and system for learning traffic events, and use of the system | |
CN101150856A (en) | Method for navigation device to locate mobile phone | |
CN102630076A (en) | Display method and system of target position direction pointing information based on electronic compass | |
CN106683419A (en) | Method for recognizing traffic flow direction and electronic equipment | |
CN104613975B (en) | Method and apparatus, server and the system of streetscape figure are shown and sent in navigation | |
CN106323268A (en) | Mobile terminal positioning and travelling navigation method and mobile terminal | |
CN105466418A (en) | A map positioning method and a device | |
CN201111630Y (en) | Vehicle mounted information controlling device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |