CN106102159A - A kind of operation execution method and terminal - Google Patents

A kind of operation execution method and terminal Download PDF

Info

Publication number
CN106102159A
CN106102159A CN201610348292.7A CN201610348292A CN106102159A CN 106102159 A CN106102159 A CN 106102159A CN 201610348292 A CN201610348292 A CN 201610348292A CN 106102159 A CN106102159 A CN 106102159A
Authority
CN
China
Prior art keywords
terminal
vehicle
location
sensed parameter
turn
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610348292.7A
Other languages
Chinese (zh)
Inventor
敖武阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610348292.7A priority Critical patent/CN106102159A/en
Publication of CN106102159A publication Critical patent/CN106102159A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/166Anti-collision systems for active traffic, e.g. moving vehicles, pedestrians, bikes

Abstract

The embodiment of the invention discloses a kind of operation execution method, can detect terminal present position state, thus improve the accuracy of the operation of execution, the method includes: the sensed parameter of detection terminal, described sensed parameter includes the parameter relevant with change in location;According to sensed parameter, determining terminal location state, described location status represents holder terminal in the position of vehicle or terminal place car vehicle location;According to location status, perform corresponding operation.The embodiment of the present invention is also disclosed a kind of terminal simultaneously.

Description

A kind of operation execution method and terminal
Technical field
The present invention relates to the location technology of the communications field, particularly relate to a kind of operation execution method and terminal.
Background technology
With expanding economy, car becomes the first-selection that people independently go on a journey.Just because of the increasing of vehicle, traffic accident frequency Numerous generation.Therefore, this is accomplished by a set of effective security mechanism of vehicle upper administration.
In prior art, the implementation method of security mechanism is generally divided into two parts, specific as follows: user is utilizing vehicle Before and after itself carrying, the image of camera capture road target, then carries out image processing and analyzing, provides actual conditions information. But being based only on the camera of vehicle, the accuracy of the method depends on light (particularly night), weather, camera position Etc. factor, there is certain limitation.
Content of the invention
For solving above-mentioned technical problem, embodiment of the present invention expectation provides one operation execution method and terminal, Neng Goujian Survey terminal location state, thus improve the accuracy of the operation of execution.
The technical scheme is that and be achieved in that:
First aspect, provides a kind of terminal, and described terminal includes:
Detector unit, for detecting the sensed parameter of terminal;
Determining unit, for according to described sensed parameter, determines described terminal location state;
Performance element, for according to described location status, performs corresponding operation.
Optionally, described determining unit specifically for:
When detecting that described terminal enters vehicle, detect described terminal and enter the direction of vehicle;
When described terminal drives direction entrance vehicle from described master, detect the position at vehicle for the described end;
When described end is at vehicle first row, determine that the holder of described terminal is human pilot.
Optionally, described performance element specifically for:
When the holder of described terminal is human pilot, and receive other-end calling when, drop calls, and to described its He sends information at terminal.
Optionally, described location status includes transport condition and track, and described determining unit includes:
According to the sensed parameter of described terminal, determine total advancing angle and the aggregate level displacement of described terminal;
According to described total advancing angle, determining the transport condition of vehicle residing for described terminal, described transport condition includes becoming Road, left steering, right turn, turn around to turn to and a kind of state in curve driving;Including lane change, left steering, right turn, turn around turn To with a kind of state in curve driving;
According to described aggregate level displacement, determine the track of vehicle residing for described terminal.
Optionally, described performance element specifically for:
When vehicle residing for described terminal is in lane change, left steering, right turn, turns around to turn to and any one shape in curve driving State, and it is not detected by when turning to sound of described vehicle, generate prompting message, to point out human pilot to open steering indicating light.
Second aspect, provides one operation execution method, and described method includes:
The sensed parameter of detection terminal, described sensed parameter includes the parameter relevant with change in location;
According to described sensed parameter, determining the location state residing for described terminal, described location status represents eventually End holder is in the position of vehicle or terminal place car vehicle location;
According to described location status, perform corresponding operation.
Optionally, described according to described sensed parameter, determine that described terminal location state includes:
When detecting that described terminal enters vehicle, detect described terminal and enter the direction of vehicle;
When described terminal drives direction entrance vehicle from described master, detect the position at vehicle for the described end;
When described end is at vehicle first row, determine that the holder of described terminal is human pilot.
Optionally, described according to described location status, perform corresponding operation and include:
When the holder of described terminal is human pilot, and receive other-end calling when, drop calls, and to described its He sends information at terminal.
Optionally, described location status includes transport condition and track, described according to described sensed parameter, determines described end End location state includes:
According to the sensed parameter of described terminal, determine total advancing angle and the aggregate level displacement of described terminal;
According to described total advancing angle, determining the transport condition of vehicle residing for described terminal, described transport condition includes becoming Road, left steering, right turn, turn around to turn to and a kind of state in curve driving;
According to described aggregate level displacement, determine the track of vehicle residing for described terminal.
Optionally, described according to described location status, perform corresponding operation and include:
When vehicle residing for described terminal is in lane change, left steering, right turn, turns around to turn to and any one shape in curve driving State, and it is not detected by when turning to sound of described vehicle, generate prompting message, to point out human pilot to open steering indicating light.
The embodiment of the present invention provides one operation execution method and terminal, first detects the sensed parameter of terminal, described sensing Parameter includes the parameter relevant with change in location;Further according to described sensed parameter, determine described terminal location state, institute Rheme configuration state represents holder terminal in the position of vehicle or terminal place car vehicle location;Afterwards, according to described Location status, performs corresponding operation.So, terminal is not necessarily to extras, only by the detection sensed parameter of self Determine terminal concrete location state, thus the holder or residing vehicle for terminal performs to grasp more accurately Make.
Brief description
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention;
The structural representation of a kind of terminal that Fig. 2 provides for the embodiment of the present invention;
Fig. 3-a is the route schematic diagram of vehicle lane change;
Fig. 3-b is the route schematic diagram that vehicle is turned right, turned left and turn around;
Fig. 3-c is the route schematic diagram that curve passing through travels;
The schematic diagram of the aggregate level displacement that Fig. 4 provides for the embodiment of the present invention;
Fig. 5-a is the schematic diagram of the Wave crest and wave trough turning to;
Fig. 5-b is the schematic diagram of the Wave crest and wave trough of lane change;
The schematic diagram of lane change, curve driving and the relation turning to that Fig. 6 provides for the embodiment of the present invention;
The schematic diagram in the track after the turning to of the crossroad that Fig. 7 provides for the embodiment of the present invention;
The structural representation of a kind of terminal that Fig. 8 provides for the embodiment of the present invention;
A kind of flow chart 1 operating execution method that Fig. 9 provides for the embodiment of the present invention;
A kind of flow chart 2 operating execution method that Figure 10 provides for the embodiment of the present invention;
A kind of flow chart 3 operating execution method that Figure 11 provides for the embodiment of the present invention.
Detailed description of the invention
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 Describe wholely.
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use For represent the suffix of such as " module ", " parts " or " unit " of element only for the explanation of the beneficially present invention, itself Not specific meaning.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable The mobile terminal of formula multimedia player (PMP), guider etc. and such as numeral TV's, desktop computer etc. is fixing Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for mobile mesh Element outside, construction according to the embodiment of the present invention can also apply to the terminal of fixed attribute.
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include that the 150th, the 120th, audio/video (A/V) input block sense unit the 140th, output unit Memory the 160th, controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but should manage Solve be, it is not required that implement all assemblies illustrating.Can alternatively implement more or less of assembly.Will be explained below The element of mobile terminal is described.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He Microphone 122, camera 121 is to the static images being obtained by image capture apparatus in Video Capture pattern or image capture mode Or the view data of video is processed.Picture frame after process may be displayed on display unit 151.Process through camera 121 After picture frame can be stored in memory 160 (or other storage mediums) or via wireless communication unit 110 carry out send out Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Record pattern, speech recognition mode etc. operational mode receives sound (voice data) via microphone, and can be by so Acoustic processing be voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can It is sent to the form output of mobile communication base station via mobile communication module 112.Microphone 122 can implement making an uproar of each attribute Sound eliminates (or suppression) algorithm and at the noise receiving and producing during transmission audio signal or does to eliminate (or suppression) Disturb.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 open or close shape State), the position of mobile terminal 100, user is for the presence or absence of the contact (that is, touch input) of mobile terminal 100, mobile terminal Orientation, the acceleration or deceleration of mobile terminal 100 of 100 move and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense This sliding-type phone opens or cuts out.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include that proximity transducer 141 will combine below This is described by touch-screen.
Output unit 150 can include display unit the 151st, dio Output Modules the 152nd, alarm unit 153 etc..
Display unit 151 may be displayed on the information processing in mobile terminal 100.For example, when mobile terminal 100 is in electricity During words call mode, display unit 151 can show and call or other (for example, text messaging, multimedia files that communicate Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another with formed touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these displays may be constructed such that transparence with allow user from outside watch, this is properly termed as transparent Display, typical transparent display can for example, transparent organic light emitting diode (TOLED) display etc..According to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display devices), for example, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection and touches Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, logging mode, When under the isotype such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or at memory 160 The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide and move The related audio frequency output (for example, call signal receives sound, message sink sound etc.) of the specific function that terminal 100 performs. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Memory 160 can store the process being performed by controller 180 and the software program controlling operation etc., or can Temporarily to store oneself through exporting the data (for example, telephone directory, message, still image, video etc.) that or will export.And And, memory 160 can store with regard to when touch be applied to touch-screen when the vibration of various modes of output and audio signal Data.
Memory 160 can include the storage medium of at least one attribute, and described storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memory with by network The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 performs and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can include for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that with control Device 180 separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language Implementing, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in the mobile terminal of each attribute of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to the mobile terminal of any attribute, and is not limited to slide type mobile terminal.
Embodiment one
The embodiment of the present invention provides a kind of terminal 10, the embodiment introduces the virtual bench of terminal 10, as in figure 2 it is shown, Described terminal 10 includes:
Detector unit 101, for detecting the sensed parameter of terminal 10, described sensed parameter includes relevant with change in location Parameter.
Determining unit 102, for according to described sensed parameter, determines described terminal 10 location state, institute's rheme Configuration state represents holder terminal in the position of vehicle or terminal place car vehicle location.
Performance element 103, for according to described location status, performs corresponding operation.
So, terminal is not necessarily to extras, determines the concrete institute of terminal only by detecting the sensed parameter of self The location status at place, thus the holder or residing vehicle for terminal performs to operate more accurately.The embodiment of the present invention Detecting for two kinds of varying environments, the first situation is for detecting the position of user place vehicle;The second situation is used for Detection vehicle travels location.Accordingly, the parameter that two kinds of situations detect is different, and the detector unit being used is not yet Identical.For the first situation:
Determining unit 102 is used for: when detecting that described terminal enters vehicle, and detection terminal enters the direction of vehicle;When Terminal, when described master drives direction entrance vehicle, detects the position at vehicle for the described end;When end is at vehicle first row When, determine that the holder of terminal is human pilot.
Concrete, when in sensed parameter, expression terminal drives, towards main, first jiao that direction rotates in the first preset time period Degree parameter is more than the first parameter preset, determines that the holder of terminal drives direction from described master and enters vehicle;When table in sensed parameter Show that the first angle parameter that terminal rotates towards the passenger side direction in the first preset time period is more than the first parameter preset, determine institute The holder stating terminal enters vehicle from described the passenger side direction.
Further, when the electromagnetic wave parameter being used for sensing the moment electromagnetic wave that vehicle motor produces in sensed parameter is big In or be equal to the second parameter preset when, determine that the holder of terminal is sitting in vehicle first row;When sensed parameter being used for sense car When the electromagnetic wave parameter of the moment electromagnetic wave that engine produces is less than the second parameter preset, determine that the holder of terminal is sitting in car Heel row;If terminal is not sensed by moment electromagnetic wave, then sense roughness parameter;When the difference of vibration peak is more than the 3rd parameter preset When, determine that the holder of terminal is sitting in vehicle heel row;When the difference of vibration peak is less than or equal to three parameter presets, determine eventually The holder of end is sitting in vehicle first row.
Performance element 103 is specifically for being human pilot as the holder of described terminal, and when receiving other-end calling, Drop calls, and send information to described other-end.
The first situation above-mentioned can specifically include following several process:
The first step: whether detection holder terminal enters vehicle.System core part is intended to confirm that terminal is held in real time Person's behavior, relies on pattern recognition analysis (include walking, enter vehicle), when sensor starts continuous acquisition data, determines row For start and end time, carry out effective feature extraction based on machine learning.A series of behaviors are divided into following step Suddenly, move towards vehicle, open door, lean to one side, enter and sit down.By experience gained, holder terminal enters the Duration Ratio of vehicle Shorter, the sampled data window of Activity recognition is sized to 5 seconds by system.
Second step: detection user enters the left side or the right of vehicle.With in China's Mainland within the border, driver is sitting in entrance car Being as a example by the left side when holder terminal is in the face of car door, opening door entrance of leaning to one side and sit down, if driver, terminal is held The behavior of the person of having is that a left side turn 90 degrees, if passenger, the behavior of holder terminal is that the right side turn 90 degrees.So utilize gyroscope The data of sensor, it may be determined that holder terminal is the left side or the right entering vehicle.Here, a left side turn 90 degrees is first pre- Setting parameter, it is the second parameter that the right side turn 90 degrees;
3rd step: detection user enters front row or the heel row of vehicle.Magnetic field when this stage is to make use of transmitter to start The change of sensor and vehicle judge through the change of convex road surface brief acceleration sensor.When the engine starts, Compared to heel row, have an instantaneous vibration in front-seat intelligent terminal magnetic field sensor value, if magnetic field variations can be by Detect, at front row when user there is a high likelihood that.If the method detection is missed, vehicle is utilized to add through convex road surface Velocity sensor has raising and lowering clearly to analyze on gravity direction, and empirically the passenger in heel row may feel that more Significantly vibration.Vehicle front wheels and rear wheels, through convex road surface, has two-time vibration, is that wheel clashes into convex road surface respectively, Behind extreme higher position, then colliding surface.In front-seat position, two continuous print vibration crest differences are very little, but in heel row, this difference Different but very big, this phenomenon may determine that holder terminal in first row or back court position.
For the second situation:
Described location status includes transport condition and track, and determining unit 102, for the sensed parameter according to terminal, determines Total advancing angle of terminal and aggregate level displacement;According to total advancing angle, determine the transport condition of vehicle residing for terminal, described row State of sailing at least include lane change as shown in Fig. 3-a, left steering as shown in Fig. 3-b, right turn as shown in Fig. 3-b, turn around to turn to as Shown in Fig. 3-b with curve driving as shown in Fig. 3-c;According to aggregate level displacement, determine the track of vehicle residing for terminal.
Performance element 103 is specifically for being in lane change, left steering, right turn when vehicle residing for described terminal, turning around to turn to It with any one state in curve driving, and is not detected by when turning to sound of vehicle, generate prompting message, to point out human pilot to open Open steering indicating light.So, utilize terminal to detect, it is not necessary to extras, improve traffic safety, more hommization.
Further, described sensed parameter includes sampling the instantaneous offsets angular acceleration of the terminal obtaining, described determining unit 102 are additionally operable to:
According to described instantaneous offsets angular acceleration, determine total advancing angle of described terminal, described total advancing angle θAlwaysFor:
Wherein, described YiIt is the i-th sampling period Mo instantaneous offsets angular acceleration, described TsFor the sampling period;Described 1st time Sampling is that instantaneous offsets angular acceleration starts corresponding sampling number during change, described N be instantaneous offsets angular acceleration no longer Sampling number corresponding during change;
According to described advance angle changing, determine the horizontal displacement of described terminal, the horizontal displacement W of described terminalAlwaysFor:
Wherein, vnAverage speed in the expression sampling period.
So, the present embodiment has only used terminal, reduces financial cost, and it is different from based on traditional camera inspection Survey, normally can work at night, improve the degree of accuracy of detection.
Above-mentioned the second situation can specifically include following several process:
The first step: intelligent terminal sensor detects.
Concrete, in order to ensure the uniformity analyzed, need to be directed at intelligent terminal coordinate system with terrestrial coordinate system;It After, when vehicle turns in driving, its angular speed is the value of gyro sensor z-axis, by the Wave crest and wave trough of angular velocity Detection may determine that vehicle be turn or lane change, further, in order to distinguish accurately lane change, turn to, curve driving, need survey Amount horizontal displacement.
Measurement horizontal displacement method is: obtain the gyroscope of terminal and accelerometer readings calculates horizontal displacement, nTsTable Show n-th sampling period of sensor, θnRepresent vehicle advance angle changing in n-th sampling period, VnRepresent n-th sampling Average speed in cycle.Within n-th sampling period, n is positive integer, and the horizontal displacement of vehicle is represented by: Wn= vnTssin(θn);
θnIt is represented by: θn≈θn-1+YnTs
Wherein, YnFor sampling period Mo instantaneous offsets angular acceleration.
So, the size of aggregate level displacement is:Before Zong Enter angle to be expressed as:
As shown in Figure 4, as a example by 4 sampling periods, W is determined4, wherein, the average speed of the 1st to the 4th sampling period Degree, respectively V1、V2、V3、V4
Second step: vehicle travels scenario analysis
The present embodiment medium wave peak valley detection algorithm employs four important parameters δs、δh、Tu、Tdelay。δsRepresent and advance Angle change crest or the beginning and end point of trough, the i.e. minimum of a value of crest, trough;δhRepresent advancing angle change crest or The maximum of trough;TuRepresent the duration of deviation angle acceleration crest or trough;TdelayRepresent and arrive advancing angle change degree The duration of next crest or trough occurs.This four parameters need to choose most suitable value in reality test.
2nd, vehicle travels the classification of situation.(as shown in Fig. 5-a, turn to only one of which ripple by the number adding up Wave crest and wave trough Paddy, as shown in Fig. 5-b one crest of one trough of lane change) can distinguish and turn to or lane change;If turning to, can be according to front Enter angle change and distinguish left and right turn (θAlwaysApproximate ± 90 °) or turn around (θAlwaysApproximate ± 180 °);By calculated level position Whether shifting can be distinguished is a curve road.
As shown in Figure 6, lane change, curve driving and the relation turning to, lane change, curve driving and be diverted through horizontal displacement; Lane change and be diverted through Wave crest and wave trough detection distinguish.
3rd step: detection steering indicating light signal.
True Driving Scene gathers and turns to sound, add the noise around some (such as opening music);Use matched filtering Device eliminates ambient noise.Using matched filtering device to solve two problems, one is noise reduction, and two is to reduce prolonging of detection voice signal Late, in order to prepare the follow-up voice signal of detection;Judge turning to or during lane change, if open and turn to sound.As Really matched filtering device output range value more than set critical value, i.e. detect and turn to sound, situation now should be lane change, Turn to or turn around, turning to sound without detecting on the contrary, then timely to driver's warm tip.
4th step: track location navigation.
Concrete, navigation system can be true according to global positioning system (Global Positioning System, GPS) Determining vehicle whether at the parting of the ways, once vehicle reaches intersection, just starts crossing lane change detection algorithm.Intersection lane change Detection.This algorithm estimates the interval R of turning radiusi(horizontal displacement i.e. turning to).As it is shown in fig. 7, at two-way crossroad Mouth has four possible lane change sights, the interval R of the radius precalculating track 1 according to user1, the interval R of radius in track 22、 The interval R of the radius in track 33, the interval R of radius in track 44Comparing with aggregate level displacement, determination can vehicle finally travel at which On individual track.
Embodiment two
The embodiment of the present invention provides a kind of terminal 30, as shown in Figure 8, the embodiment introduces the entity apparatus of terminal 30, Described terminal 30 includes:
Sensor 201, for detecting the sensed parameter of terminal 20, described sensed parameter includes the ginseng relevant with change in location Number.
Processor 202, for according to described sensed parameter, determines described terminal 20 location state, described position State representation holder terminal is in the position of vehicle or terminal place car vehicle location;According to described location status, hold The corresponding operation of row.
So, terminal is not necessarily to extras, determines the concrete institute of terminal only by detecting the sensed parameter of self The location status at place, thus the holder or residing vehicle for terminal performs to operate more accurately.The embodiment of the present invention Detecting for two kinds of varying environments, the first situation is for detecting the position of user place vehicle;The second situation is used for Detection vehicle travels location.Accordingly, the parameter that two kinds of situations detect is different, and the detector unit being used is not yet Identical.For the first situation:
Processor 202 is used for: when detecting that described terminal enters vehicle, and detection terminal enters the direction of vehicle;Work as end End, when described master drives direction entrance vehicle, detects the position at vehicle for the described end;When end is at vehicle first row, Determine that the holder of terminal is human pilot.
Concrete, processor is additionally operable to: when sensed parameter represents terminal in the first preset time period towards the main side of driving It is more than the first parameter preset to the first angle parameter rotating, determine that the holder of terminal drives direction from described master and enters vehicle; The first angle parameter rotating towards the passenger side direction in the first preset time period when expression terminal in sensed parameter is more than first Parameter preset, determines that the holder of described terminal enters vehicle from described the passenger side direction.
Further, processor is additionally operable to: when in sensed parameter for sense vehicle motor produce moment electromagnetic wave Electromagnetic wave parameter more than or equal to the second parameter preset when, determine that the holder of terminal is sitting in vehicle first row;When sensing ginseng When the electromagnetic wave parameter for sensing the moment electromagnetic wave that vehicle motor produces is less than the second parameter preset in number, determine terminal Holder be sitting in vehicle heel row;If terminal is not sensed by moment electromagnetic wave, then sense roughness parameter;When the difference of vibration peak is big When three parameter presets, determine that the holder of terminal is sitting in vehicle heel row;When the difference of vibration peak is pre-less than or equal to the 3rd During setting parameter, determine that the holder of terminal is sitting in vehicle first row.
Processor 202 is additionally operable to: when the holder of described terminal is human pilot, and when receiving other-end calling, hangs Disconnected calling, and send information to described other-end.
For the second situation:
Described location status includes transport condition and track, processor 202 specifically for: according to the sensed parameter of terminal, Determine total advancing angle and the aggregate level displacement of terminal;According to total advancing angle, determine the transport condition of vehicle residing for terminal, institute State transport condition at least include lane change as shown in Fig. 3-a, left steering as shown in Fig. 3-b, right turn as shown in Fig. 3-b, turn around turn To as shown in Fig. 3-b and curve driving as shown in Fig. 3-c;According to aggregate level displacement, determine the track of vehicle residing for terminal.
Processor 202 is additionally operable to: when vehicle residing for described terminal is in lane change, left steering, right turn, turns around to turn to and bent Any one state in line traveling, and it is not detected by when turning to sound of vehicle, generate prompting message, turn to point out human pilot to open To lamp.So, utilize terminal to detect, it is not necessary to extras, improve traffic safety, more hommization.
Further, described sensed parameter includes sampling the instantaneous offsets angular acceleration of the terminal obtaining, described processor 202 It is additionally operable to:
According to described instantaneous offsets angular acceleration, determine total advancing angle of described terminal, described total advancing angle θAlwaysFor:
Wherein, described YiIt is the i-th sampling period Mo instantaneous offsets angular acceleration, described TsFor the sampling period;Described 1st time Sampling is that instantaneous offsets angular acceleration starts corresponding sampling number during change, described N be instantaneous offsets angular acceleration no longer Sampling number corresponding during change;
According to described advance angle changing, determine the horizontal displacement of described terminal, the horizontal displacement W of described terminalAlwaysFor:
Wherein, vnAverage speed in the expression sampling period.
So, the present embodiment has only used terminal, reduces financial cost, and it is different from based on traditional camera inspection Survey, normally can work at night, improve the degree of accuracy of detection.
Embodiment three
The embodiment of the present invention provides one operation execution method, is applied to terminal, as it is shown in figure 9, the method includes:
Step 301, the sensed parameter of detection terminal.
Here, sensed parameter is included in the relevant parameter of change in location.
The embodiment of the present invention detects for two kinds of varying environments, and the first situation is for detecting user place vehicle Position;The second situation is used for detecting vehicle and travels location.Accordingly, the parameter that two kinds of situations detect is different.
Step 302, according to sensed parameter, determine terminal location state.
Here, location status represents holder terminal in the position of vehicle or terminal place car vehicle location.
For the first situation, when detecting that described terminal enters vehicle, detection terminal enters the direction of vehicle;Work as end End, when described master drives direction entrance vehicle, detects the position at vehicle for the described end;When end is at vehicle first row, Determine that the holder of terminal is human pilot.
Step 303, according to location status, perform corresponding operation.
For the first situation, when the holder of described terminal is human pilot, and when receiving other-end calling, hang up Calling, and send information to described other-end.
For the second situation, when vehicle residing for described terminal is in lane change, left steering, right turn, turns around to turn to and bent Any one state in line traveling, and it is not detected by when turning to sound of vehicle, generate prompting message, turn to point out human pilot to open To lamp.
So, terminal is not necessarily to extras, determines the concrete institute of terminal only by detecting the sensed parameter of self The location status at place, thus the holder or residing vehicle for terminal performs to operate more accurately.
Embodiment four embodiment of the present invention provides one operation execution method, and the method is applied to smart mobile phone, such as Figure 10 Shown in, the method may include that
Whether step 401, detection smart mobile phone enter vehicle.
Step 402, when detect smart mobile phone enter vehicle when, detection smart mobile phone enter vehicle direction.
Concrete, when in sensed parameter, expression institute smart mobile phone drives what direction rotated towards main in the first preset time period First angle parameter is more than the first parameter preset, determines that the holder of smart mobile phone enters vehicle from main direction of driving;When sensing ginseng Number representing, the first angle parameter that institute's smart mobile phone rotates towards the passenger side direction in the first preset time period is pre-more than first Setting parameter, determines that the holder of described institute smart mobile phone enters vehicle from the passenger side direction.This preset time period is empirical value.
Step 403, when smart mobile phone from main drive direction enter vehicle when, detection end is in the position of vehicle.
In China, main direction of driving is right side;In other countries, the such as U.S., main direction of driving is left side.
Step 404, when smart mobile phone from main drive direction enter vehicle when, detection smart mobile phone is in the position of vehicle.
Concrete, when the electromagnetic wave parameter being used for sensing the moment electromagnetic wave that vehicle motor produces in sensed parameter is more than Or when being equal to the second parameter preset, determine that the holder of institute's smart mobile phone is sitting in vehicle first row;When sensed parameter being used for feel When answering the electromagnetic wave parameter of the moment electromagnetic wave that vehicle motor produces less than the second parameter preset, determine holding of institute's smart mobile phone The person of having is sitting in vehicle heel row;If institute's smart mobile phone is not sensed by moment electromagnetic wave, then sense roughness parameter;Difference when vibration peak During more than three parameter presets, determine that the holder of institute's smart mobile phone is sitting in vehicle heel row;When vibration peak difference less than or etc. When three parameter presets, determine that the holder of institute's smart mobile phone is sitting in vehicle first row.Here, first and second and three ginseng is preset Number is all empirical value.
Step 405, when smart mobile phone be in first row and from main drive direction enter vehicle when, determine holding of smart mobile phone Person is human pilot.
Step 406, receive other smart mobile phones calling.
Step 407, drop calls, send information to other smart mobile phones.
This information informs other smart mobile phones, and the holder of this smart mobile phone drives.
Embodiment five
The embodiment of the present invention provides one operation execution method, and the method is applied to smart mobile phone, as shown in figure 11, and the party Method may include that
Step 501, the sensed parameter of detection smart mobile phone.
Here, sensed parameter is the instantaneous offsets angular acceleration of the terminal being obtained by gyroscope and accelerometer sampling.
Step 502, the sensed parameter according to smart mobile phone, determine total advancing angle and the aggregate level displacement of smart mobile phone.
According to described instantaneous offsets angular acceleration, determine total advancing angle of smart mobile phone, described total advancing angle θAlwaysFor:
Wherein, described YiIt is the i-th sampling period Mo instantaneous offsets angular acceleration, described TsFor the sampling period;Described 1st time Sampling is that instantaneous offsets angular acceleration starts corresponding sampling number during change, described N be instantaneous offsets angular acceleration no longer Sampling number corresponding during change.Here, θAlwaysFor the advancing angle in each sampling period, therefore, i-th advancing angle is just etc. It is multiplied by the sampling period in the i-th sampling period Mo instantaneous offsets angular acceleration, be YiTs
According to above-mentioned advance angle changing, determine the horizontal displacement of smart mobile phone, the horizontal displacement W of smart mobile phoneAlwaysFor:
Wherein, vnAverage speed in the expression sampling period.
Step 503, according to total advancing angle, determine the transport condition of vehicle residing for smart mobile phone.
When transport condition includes lane change, left steering, right turn, turns around to turn to and a kind of state in curve driving.
The present embodiment medium wave peak valley detection algorithm employs four important parameters δs、δh、Tu、Tdelay。δsRepresent and advance Angle change crest or the beginning and end point of trough, the i.e. minimum of a value of crest, trough;δhRepresent advancing angle change crest or The maximum of trough;TuRepresent the duration of deviation angle acceleration crest or trough;TdelayRepresent and arrive advancing angle change degree The duration of next crest or trough occurs.This four parameters need to choose most suitable value in reality test.
(as shown in Fig. 5-a, turn to only one of which trough, lane change one as shown in Fig. 5-b by the number adding up Wave crest and wave trough One crest of individual trough) can distinguish and turn to or lane change;If turning to, can change according to advancing angle and distinguishing left/right rotation To (θAlwaysApproximate ± 90 °) or turn around (θAlwaysApproximate ± 180 °);Whether can be distinguished by calculated level displacement is one Bar curve road.
As shown in Figure 6, lane change, curve driving and the relation turning to, lane change, curve driving and be diverted through horizontal displacement; Lane change and be diverted through Wave crest and wave trough detection distinguish.
Step 504, according to aggregate level displacement, determine the track of vehicle residing for smart mobile phone.
Concrete, smart mobile phone determines car according to (global positioning system, Global Positioning System) GPS At the parting of the ways whether, once vehicle reaches intersection, just starts crossing lane change detection algorithm.Intersection lane change inspection Survey.This algorithm estimates the interval R of turning radiusi(horizontal displacement i.e. turning to).As it is shown in fig. 7, in two-way intersection Have four possible lane change sights, the interval R of the radius precalculating track 1 according to user1, the interval R of radius in track 22, car The interval R of the radius in road 33, the interval R of radius in track 44Comparing with aggregate level displacement, determination can vehicle finally travel at which On track.
It step 505, is in lane change, left steering, right turn, turns around that it is arbitrary with in curve driving to turn to when vehicle residing for terminal The state of kind, detect whether vehicle turns to sound.
Step 506, when being not detected by when turning to sound of vehicle, generate prompting message, turn to point out human pilot to open Lamp.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the shape of hardware embodiment, software implementation or the embodiment in terms of combining software and hardware Formula.And, the present invention can use can be with storage at one or more computer wherein including computer usable program code The form of the upper computer program implemented of medium (including but not limited to magnetic disc store and optical memory etc.).
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram describe.It should be understood that can often first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruct the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction being performed by the processor of computer or other programmable data processing device is produced in fact The device of the function specified in present one flow process of flow chart or multiple stage flow process and/or one square frame of block diagram or multiple stage square frame.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple stage flow process and/or one square frame of block diagram or The function specified in multiple stage square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices producing computer implemented process, thus at computer or The instruction performing on other programmable devices provides for realizing at one flow process of flow chart or multiple stage flow process and/or block diagram one The step of the function specified in platform square frame or multiple stage square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit protection scope of the present invention.

Claims (10)

1. a terminal, it is characterised in that described terminal includes:
Detector unit, for detecting the sensed parameter of terminal, described sensed parameter includes the parameter relevant with change in location;
Determining unit, for according to described sensed parameter, determines described terminal location state, and described location status represents Holder terminal is in the position of vehicle or terminal place car vehicle location;
Performance element, for according to described location status, performs corresponding operation.
2. terminal according to claim 1, it is characterised in that described determining unit specifically for:
When detecting that described terminal enters vehicle, detect described terminal and enter the direction of vehicle;
When described terminal drives direction entrance vehicle from described master, detect the position at vehicle for the described end;
When described end is at vehicle first row, determine that the holder of described terminal is human pilot.
3. terminal according to claim 2, it is characterised in that described performance element specifically for:
When the holder of described terminal is human pilot, and when receiving other-end calling, drop calls, and to other ends described End sends information.
4. terminal according to claim 1, it is characterised in that described location status includes transport condition and track, described Determining unit is used for:
According to the sensed parameter of described terminal, determine total advancing angle and the aggregate level displacement of described terminal;
According to described total advancing angle, determining the transport condition of vehicle residing for described terminal, described transport condition at least includes becoming Road, left steering, right turn, turn around to turn to the one with curve driving;
According to described aggregate level displacement, determine the track of vehicle residing for described terminal.
5. terminal according to claim 4, it is characterised in that described performance element specifically for:
When vehicle residing for described terminal is in lane change, left steering, right turn, turns around to turn to and any one state in curve driving, And it is not detected by when turning to sound of described vehicle, generate prompting message, to point out human pilot to open steering indicating light.
6. an operation execution method, it is characterised in that described method includes:
The sensed parameter of detection terminal, described sensed parameter includes the parameter relevant with change in location;
According to described sensed parameter, determining described terminal location state, described location status represents that holder terminal exists The position of vehicle or terminal place car vehicle location;
According to described location status, perform corresponding operation.
7. method according to claim 6, it is characterised in that described according to described sensed parameter, determines described terminal institute The location status at place includes:
When detecting that described terminal enters vehicle, detect described terminal and enter the direction of vehicle;
When described terminal drives direction entrance vehicle from described master, detect the position at vehicle for the described end;
When described end is at vehicle first row, determine that the holder of described terminal is human pilot.
8. method according to claim 7, it is characterised in that described according to described location status, performs corresponding operation Including:
When the holder of described terminal is human pilot, and when receiving other-end calling, drop calls, and to other ends described End sends information.
9. method according to claim 6, it is characterised in that described location status includes transport condition and track, described According to described sensed parameter, determine that described terminal location state includes:
According to the sensed parameter of described terminal, determine total advancing angle and the aggregate level displacement of described terminal;
According to described total advancing angle, determining the transport condition of vehicle residing for described terminal, described transport condition includes lane change, a left side Turn to, right turn, turn around to turn to the one with curve driving;
According to described aggregate level displacement, determine the track of vehicle residing for described terminal.
10. method according to claim 9, it is characterised in that described according to described location status, performs corresponding operation Including:
When vehicle residing for described terminal is in lane change, left steering, right turn, turns around to turn to and any one state in curve driving, And it is not detected by when turning to sound of described vehicle, generate prompting message, to point out human pilot to open steering indicating light.
CN201610348292.7A 2016-05-24 2016-05-24 A kind of operation execution method and terminal Pending CN106102159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610348292.7A CN106102159A (en) 2016-05-24 2016-05-24 A kind of operation execution method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610348292.7A CN106102159A (en) 2016-05-24 2016-05-24 A kind of operation execution method and terminal

Publications (1)

Publication Number Publication Date
CN106102159A true CN106102159A (en) 2016-11-09

Family

ID=57229275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610348292.7A Pending CN106102159A (en) 2016-05-24 2016-05-24 A kind of operation execution method and terminal

Country Status (1)

Country Link
CN (1) CN106102159A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345870A (en) * 2018-09-07 2019-02-15 北京邮电大学 The method for early warning and device for preventing vehicle collision
CN110967035A (en) * 2020-02-28 2020-04-07 杭州云动智能汽车技术有限公司 Method for improving matching degree of vehicle-mounted V2X lane
CN113366507A (en) * 2018-12-21 2021-09-07 伟摩有限责任公司 Training a classifier to detect open vehicle doors

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448340A (en) * 2007-11-26 2009-06-03 联想(北京)有限公司 Mobile terminal state detection method and system and mobile terminal
CN102957800A (en) * 2012-11-12 2013-03-06 北京小米科技有限责任公司 Method and device for standby state of mobile terminal
CN104154921A (en) * 2014-07-25 2014-11-19 惠州Tcl移动通信有限公司 Method for automatically distinguishing navigation users and mobile terminal of method
CN104276232A (en) * 2014-09-24 2015-01-14 小米科技有限责任公司 Vehicle steering prompt method and vehicle steering prompt device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448340A (en) * 2007-11-26 2009-06-03 联想(北京)有限公司 Mobile terminal state detection method and system and mobile terminal
CN102957800A (en) * 2012-11-12 2013-03-06 北京小米科技有限责任公司 Method and device for standby state of mobile terminal
CN104154921A (en) * 2014-07-25 2014-11-19 惠州Tcl移动通信有限公司 Method for automatically distinguishing navigation users and mobile terminal of method
CN104276232A (en) * 2014-09-24 2015-01-14 小米科技有限责任公司 Vehicle steering prompt method and vehicle steering prompt device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345870A (en) * 2018-09-07 2019-02-15 北京邮电大学 The method for early warning and device for preventing vehicle collision
CN109345870B (en) * 2018-09-07 2020-11-17 北京邮电大学 Early warning method and device for preventing vehicle collision
CN113366507A (en) * 2018-12-21 2021-09-07 伟摩有限责任公司 Training a classifier to detect open vehicle doors
CN110967035A (en) * 2020-02-28 2020-04-07 杭州云动智能汽车技术有限公司 Method for improving matching degree of vehicle-mounted V2X lane
CN110967035B (en) * 2020-02-28 2020-09-04 杭州云动智能汽车技术有限公司 Method for improving matching degree of vehicle-mounted V2X lane

Similar Documents

Publication Publication Date Title
US11290820B2 (en) Voice instructions during navigation
CN104742903B (en) Realize the method and device of cruise
CN103415833B (en) The outer visual object of the screen that comes to the surface
KR101604843B1 (en) Mobile terminal and operation control method thereof
EP3109785A1 (en) Portable apparatus and method for changing screen of the same
CN107436153A (en) The system and method that content is provided based on Real-time Traffic Information in automatic driving vehicle
KR20110062460A (en) Mobile terminal capable of receiving gesture input and control method thereof
CN106055218A (en) Display apparatus and method for controlling the same
WO2013184473A2 (en) Context-aware voice guidance
CN106527694A (en) Method for opening safety driving mode of terminal and terminal
CN105339760B (en) Transport information guiding system, transport information bootstrap technique and recording medium
CN106228158A (en) The method and apparatus of picture detection
CN106657595A (en) Method for display information on navigation interface, and mobile terminal
CN110022409A (en) A kind of terminal control method and mobile terminal
CN104616519B (en) Detect method and device, method for path navigation and the system of red light stand-by period
CN106102159A (en) A kind of operation execution method and terminal
CN107727103A (en) Air navigation aid, terminal and computer-readable medium
WO2023071768A1 (en) Station-arrival reminding method and apparatus, and terminal, storage medium and program product
US9761205B2 (en) Map display device and map display method
CN106547900A (en) A kind of map rendering intent and terminal
CN101241014A (en) Personal navigation apparatus and correlation method
US8606505B2 (en) Travel guidance system, travel guidance device, travel guidance method, and computer program
CN106323296A (en) Method and apparatus for recognizing travel model
CN106558186A (en) Electronic installation and its safety warning system and method
KR20130066336A (en) Mobile terminal and operation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109