CN104967746A - Method and system for changing the state of mobile phone by using directional sensing - Google Patents

Method and system for changing the state of mobile phone by using directional sensing Download PDF

Info

Publication number
CN104967746A
CN104967746A CN201510402299.8A CN201510402299A CN104967746A CN 104967746 A CN104967746 A CN 104967746A CN 201510402299 A CN201510402299 A CN 201510402299A CN 104967746 A CN104967746 A CN 104967746A
Authority
CN
China
Prior art keywords
mobile phone
state
angle
module
acceleration
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
CN201510402299.8A
Other languages
Chinese (zh)
Inventor
毕言顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510402299.8A priority Critical patent/CN104967746A/en
Publication of CN104967746A publication Critical patent/CN104967746A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention belongs to the mobile phone control field, and relates to a method and system for changing the state of a mobile phone by using directional sensing, in particular, a method and system for controlling the mobile phone in the running state of a vehicle. The method for changing the state of the mobile phone by using directional sensing includes the following steps that: the angle and/or acceleration of the mobile phone are obtained; the mode of the mobile phone is judged as a vehicle-mounted mode when the angle is located in a specific range or acceleration at a specific direction is stabilized at a constant value after constantly changing; and the state of the mobile phone is changed. With the method and system of the invention adopted, on the one hand, the time of a user can be saved, and manual switching to an automatic hands-free call answering function can be avoided, and on the other hand, the user can focus on driving in a driving state, and therefore, losses such as car accidents caused by manual call answering can be avoided.

Description

A kind of utilization orientation induction changes the method and system of state of mobile phone
Technical field
The present invention relates to mobile phone control field, under vehicle running state, espespecially control the method and system of mobile phone.
Background technology
The mode of more existing auto-pickup mobile phones (panel computer etc. comprising mobile phone and can converse) at present:
A kind of system and method realizing cell phone incoming call auto-pickup based on range sensor of the disclosure of the invention of Chinese Patent Application No. 201210256623.6, comprising: A, CPU receive incoming call information by communication module; Distance between the corresponding detection of handset of B, range sensor and user's face, and this distance is sent to microprocessor; C, microprocessor call effectively answers distance in memory, by the distance between above-mentioned mobile phone and face with effectively answer distance and compare, if the distance between mobile phone and face is less than effectively answer distance, then enter step D; D, microprocessor correspondence produces receiving talking signal, sends to CPU, and CPU, according to the calling of this receiving talking signal connecting incoming call, converses.Compared with prior art, the invention solves current intelligent touch-screen mobile phone when sending a telegram here, because Answer Key slip is not in place or false touch Answer Key causes connecing unheard problem.
Chinese Patent Application No. 201320592197.3 provides a kind of call terminal being realized telephone receiving by sound transducer, described call terminal top is provided with the first microphone, first receiver and first sound sound sensor, second microphone is provided with bottom described call terminal, second receiver and rising tone sound sensor, described call terminal also comprises call processing module, described call processing module is according to detecting that the voltage swing that first sound sound sensor and rising tone sound sensor export judges volume, and the direction of the hand-held call terminal of user is judged according to volume, and then control receiver and the microphone of closing respective direction, without the need to considering the direction of call terminal when user receives calls, upper and lower both sides all can receive calls, on the other hand, decrease the probability that user rotates mobile phone, prevent phone surprisingly to slip out of the hand situation.
Above-mentioned automatic answering method technology starting point is and realizes auto-pickup, but all inconvenient or be not suitable under vehicle-mounted pattern.As realized the system and method for cell phone incoming call auto-pickup based on range sensor, when driving, have telephone access, driver needs mobile phone to take up, and be put into ear side to go to answer, or use the method for waving to answer to answer, cannot automatic hand-free be set to.Do very inconvenient like this, and violate traffic rules, likely can cause traffic accident, under not being suitable for vehicle-mounted state.A kind of call terminal being realized telephone receiving by sound transducer, when driving, user is likely in broadcasting music or when opening vehicle window, noise can be larger, the precision that instruction answered by mobile phone can be affected, likely can miss or misoperation.
Summary of the invention
The present invention is not suitable for the problem of vehicle-mounted state in order to solve above-mentioned technology, provide a kind of utilization orientation to respond to the method and system changing state of mobile phone, conveniently under vehicle running state, realize auto-pickup and switch other state of mobile phone.
In order to realize the above goal of the invention of the present invention, the present invention is achieved by the following technical solutions:
A kind of utilization orientation induction changes the method for state of mobile phone, obtain angle and/or the acceleration of mobile phone, when described angle be positioned at particular range and/or specific direction acceleration continue change after be stable at certain value time, judge that described mobile phone is as vehicle-mounted pattern, changes described state of mobile phone.
In technique scheme, adopt the direction inductor information of Real-time Obtaining mobile phone, mainly comprise the information such as orientation angles, acceleration, carry out the position angle of mobile phone and the identification of acceleration.Based on above-mentioned information, judge that mobile phone is in vehicle-mounted state, now can switch the state of mobile phone, comprise auto-pickup etc.The technical program can save the time of user on the one hand, avoids manual switchover to automatic hand-free pickup feature; Attentively drive under person's driving states easy to use on the other hand, avoid the loss because the problem such as manually to receive calls causes a traffic accident etc.In addition, the problem that other states switching mobile phone can avoid manual operation to bring too.
Further preferably, judge that the step that described angle is positioned at particular range is specially:
S11 generates preset angle angle value, is specially and described mobile phone is placed in ad-hoc location first, calculate the angle value at described ad-hoc location, generates preset angle angle value and be stored in described mobile phone according to described angle value;
S12 obtains actual measurement angle value;
The more described preset angle angle value of S13 and actual measurement angle value, if both are in setting range, then judge that angle is positioned at particular range.
This preferred version adds the setting procedure to preset angle angle value.Utilize this step can carry out angle value sampling to the mobile phone being placed on ad-hoc location (in the mobile phone seat in such as vehicle) first, preset angle angle value is generated to this sampled result process.When next time, mobile phone was placed on same position, then can detect current actual measurement angle value, then compare with preset angle angle value, the angle that can determine mobile phone is positioned at particular range.Now namely can switch the state of mobile phone, comprise auto-pickup etc.
Further preferably, judge that the step being stable at certain value after the acceleration of described specific direction continues change is specially:
S21 obtains the accekeration of described mobile phone, when described mobile phone have specific direction acceleration continue change after be stable at certain value time, then judge described specific direction acceleration continue change after be stable at certain value.
The judgement being stable at certain value after continuing to change to the acceleration of specific direction in this preferred version can be carried out separately, also can with judge that step that angle is positioned at particular range is combined and carry out; And can before angle be positioned at the step of particular range in judgement, also can after this step or synchronously.
Further preferably, described state of mobile phone comprises phone auto-pickup state, activates alarm clock state, contextual model state, GPS on off state, WIFI on off state, any one or multiple combination among Mobile data flow switch state.
In this preferred version, the various states of mobile phone all can be set by the user, can under vehicle-mounted state switch telephone auto-pickup, select whether activate alarm clock, change contextual model, switch GPS, switch WIFI, switch Mobile data flow etc.
Further preferably, calculate the deflection being specially this position adopting the transducer be arranged on described mobile phone to obtain at the angle value of described ad-hoc location, the concrete numerical value of inclination angle and the anglec of rotation, by the data of this concrete numerical computations x, y, z three axle, thus calculates angle value.
Present invention also offers the system that utilization orientation induction changes state of mobile phone, comprising angle acquisition module and/or acceleration acquisition module, for obtaining angle and/or the acceleration of described mobile phone;
Direction deciding module, for judging that described angle is stable at certain value after being positioned at the lasting change of acceleration of particular range and/or specific direction;
And vehicle-mounted state handover module, the judged result according to described direction deciding module changes described state of mobile phone.
Described direction deciding module further comprises memory module, stores preset angle angle value;
Comparison module, compares preset angle angle value and actual measurement angle value;
And determination module, according to comparative result, judge when described preset angle angle value and actual measurement angle value are in setting range then to send instruction to described vehicle-mounted state handover module or enter next step, otherwise do not send instruction.
Described memory module stores the setting-up time that acceleration is stable at certain value;
The acceleration that comparison module comprises more described mobile phone is stable at certain value and exceedes described setting-up time;
And determination module, according to comparative result, after described mobile phone has the lasting change of acceleration of specific direction, be stable at certain value then send instruction to described vehicle-mounted state handover module or enter next step judgement, otherwise do not send instruction.
Described vehicle-mounted state handover module specifically comprises phone auto-pickup state and switches, activates alarm clock state switching, the switching of contextual model state, GPS on off state switches, WIFI on off state switches, any one or multiple combination among Mobile data flow switch state switches
Utilization orientation induction of the present invention changes the system of state of mobile phone, an angle preset module can be comprised further, when described angle preset module starts, call described angle acquisition module and obtain current angle value, and generate preset angle angle value according to described angle value and be stored in described memory module.
In the present invention's design, switched three parts formed by angle information contrast, acceleration direction determining, state of mobile phone.Wherein front two parts can individualism, also can exist, and sequencing is interchangeable or synchronous simultaneously.
One, angle information contrast
When first time uses this function, need the angle of putting for mobile phone to carry out one and preset.Mobile phone is positioned on the mobile phone fixed mount that will use, deflection can be obtained by magnetic field sensor, the concrete numerical value of inclination angle and the anglec of rotation, the environmental magnetic field data of x, y, z three axle are obtained by algorithm, thus calculate angle value and record, to do the reference value of follow-up use.During follow-up use, only need be positioned on fixed mount by mobile phone, magnetic field sensor can automatically gather and be recorded to angle information, and delivers to the predetermined angle that processor and Installed System Memory store up and contrast, if measured value and predicted value are in error range, then judge angle information coupling.Subsequent operation can be carried out.If result of determination is not mated, then terminate this judgement.
Two, acceleration direction determining
Need there is judgements for the acceleration direction of mobile phone, mobile phone contain acceleration transducer, also can obtain the position effective value of X, Y, Z tri-axles.Under normal condition, kept flat by mobile phone on the table, X-axis is defaulted as 0, Y-axis acquiescence 0, Z axis acquiescence 9.81.Such as be inclined upwardly by mobile phone, X-axis is 0, and Y-axis Z axis is just, when mobile phone continues there is forward a displacement, X-axis and Y-axis can keep existing numerical value, and what Z axis can continue has an acceleration forward, namely Z axis on the occasion of becoming large.
Certainly, if when mobile phone is placed with other positions, the accekeration of X, Y, Z tri-axles has other version.According to the accekeration of X, Y, Z tri-axles, the traffic direction of mobile phone can being determined, also just represent the travel direction of vehicle, if the result obtained is for moving forward, then exporting result of determination.If result of determination does not meet vehicle-mounted progression, then terminate this judgement.
Three, answering method switches
When angle information contrast and/or acceleration direction determining, simultaneously eligible, processor will activate state of mobile phone and switch.Such as answering method is switched to auto-pickup.In time having phone incoming call, then can the automatic hand-free effect of answering.
The present invention at least has one of following beneficial effect
1. the invention enables the states such as mobile phone auto-pickup to switch applicable vehicle-mounted
2. present invention achieves the time saving user, liberate the both hands of user.
3. solid yardage of the present invention is just attentively driven under user's driving states, avoids the loss because the problem such as manually to receive calls causes a traffic accident etc.
4. existing intelligent mobile phone is substantially all containing realizing the hardware such as acceleration transducer involved in the present invention, angular transducer, does not increase hardware cost, and can popularization and application very easily.
5, simplicity of design of the present invention, prove that stability is high through prototype experiment, execution efficiency is high.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail:
Fig. 1 is the system first embodiment schematic diagram that utilization orientation induction changes state of mobile phone;
Fig. 2 is the method first embodiment schematic flow sheet that utilization orientation induction changes state of mobile phone;
Fig. 3 is the system second embodiment schematic diagram that utilization orientation induction changes state of mobile phone;
Fig. 4 is the view of mobile phone in vehicle during ad-hoc location in x, y, z triaxial coordinate.
Fig. 5 is the method second embodiment schematic flow sheet that utilization orientation induction changes state of mobile phone;
Fig. 6 is system the 3rd embodiment schematic diagram that utilization orientation induction changes state of mobile phone;
Fig. 7 is method the 3rd embodiment schematic flow sheet that utilization orientation induction changes state of mobile phone;
Fig. 8 is system the 4th embodiment schematic diagram that utilization orientation induction changes state of mobile phone;
Fig. 9 is method the 4th embodiment schematic flow sheet that utilization orientation induction changes state of mobile phone;
In figure:
1 angle acquisition module 2 direction deciding module 21 memory module
The vehicle-mounted state handover module of 22 comparison module 23 determination module 3
4 angle preset module 5 acceleration acquisition module 100 mobile phones
Embodiment
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, below explanation and accompanying drawing are exemplary for the present invention, and should not be understood to limit the present invention.Following description describe numerous detail to understand the present invention to facilitate.But in some instances, details that is that know or routine is also undeclared, to meet the succinct requirement of specification.
Usual people are in driving or when taking private vehicle, for avoiding can't hear telephone bell, often mobile phone (is comprised mobile phone and can insert the subscriber identification cards such as SIM card and to go forward side by side the communication apparatus such as panel computer of words of working, below for convenience of description, in some describe for mobile phone) take out and be placed in car from pocket or bag.Producing motion because vehicle travels, for avoiding mobile phone landing at the volley, being therefore usually provided with the mobile phone seat being used for fixing mobile phone or mobile phone fixing frame in vehicle.If mobile phone is placed on mobile phone seat or fixed mount, answers under normal circumstances and need to take off mobile phone, even if there is the earphone that can control to answer, also need to touch earphone with hand.And operate to mobile phone or to earphone in driving procedure, be unfavorable for traffic safety.Therefore, in vehicle, the convenience of answering cell phone and fail safe just more need to pay close attention to.In addition, mobile phone is placed in vehicle, relevant, and user may expect that alarm clock is in not state of activation and, to avoid the impact on driving, automatically opens GPS and data traffic to facilitate navigation etc.There is these demands based on user, and all above-mentioned state all once arranged when user can not get on the bus in reality at every turn, and the present invention is to herein is provided solution easily.
Mobile phone in the present invention comprises processor, containing single core processor or polycaryon processor.Processor also can be described as one or more microprocessor, CPU (CPU) etc.More specifically, processor can be complicated instruction set and calculates (CISC) microprocessor, Jing Ke Cao Neng (RISC) microprocessor, very long instruction word (VLIW) microprocessor, realizes the processor of other instruction set, or realizes the processor of instruction set combination.Processor also can be one or more application specific processor, such as application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA), digital signal processor (DSP), network processing unit, graphic process unit, network processing unit, communication processor, cipher processor, coprocessor, flush bonding processor or can the logical block of any other type of processing instruction.Processor is for the instruction of the operation that performs the present invention and discuss and step.
Mobile phone in the present invention comprises memory, one or more volatile storage devices can be comprised, as the memory device of random access memory (RAM), dynamic ram (DRAM), synchronous dram (SDRAM), static RAM (SRAM) (SRAM) or other types.Memory can store the information comprising the command sequence performed by processor or any other equipment.Such as, the executable code of several operation systems, device driver, firmware (such as, input and output fundamental system or BIOS) and/or application program and/or data can be loaded in memory and be performed by processor.
The operating system of the mobile phone in the present invention can be the operating system of any type, Windows, Windows Phone of such as Microsoft, Apple IOS, the Android of Google, and Linux, Unix operating system or other in real time or embedded OS such as VxWorks etc.
In the present invention, utilization orientation induction changes the method for state of mobile phone, comprise the angle and/or acceleration that obtain mobile phone, when described angle be positioned at particular range and/or acceleration specific direction acceleration continue change after be stable at certain value time, judge that described mobile phone is as vehicle-mounted pattern, changes described state of mobile phone.
According to angle or acceleration, the inventive method can judge that mobile phone is vehicle-mounted pattern separately, also can the two judgement that combines.If judge separately, the response time is faster, but judges that precision can decline to some extent.Such as independent when judging according to angle, if the lucky placed angle of mobile phone is identical but not in vehicle, there is erroneous judgement may.Concrete judgement system and method for the present invention is see following embodiment:
First embodiment
If Fig. 1 is the system first embodiment schematic diagram that utilization orientation induction changes state of mobile phone: comprise angle acquisition module 1, for obtaining the angle of mobile phone.Direction deciding module 2, for judging that angle is positioned at particular range.And vehicle-mounted state handover module 3, the judged result according to direction deciding module 2 changes state of mobile phone.
In the present invention, angle acquisition module 1, direction deciding module 2 and vehicle-mounted state handover module 3 adopt software simulating, and according to different operating system, adopt different language to realize, concrete programmed method is well-known process.Angle acquisition module 1 can as the instruction of the x, y, z three shaft angle degree of acquisition mobile phone 100.The angle that angle acquisition module 1 obtains can come from the transducer can measuring mobile phone 100 angle in space had in mobile phone 100, such as magnetic field sensor.Magnetic field sensor can obtain deflection, the concrete numerical value of inclination angle and the anglec of rotation, is obtained the environmental magnetic field data of x, y, z three axle, thus calculate angle value by algorithm (this algorithm is this area algorithms most in use).Direction deciding module 2 compares the above-mentioned angle value calculated and the preset angle angle value be pre-stored in mobile phone 100 memory, if error is (namely angle is positioned at particular range) in setting range, judges that mobile phone 100 is as vehicle-mounted state; The error range such as set is within the value of +/-3, x, y, z is in the +/-3 of preset value, namely judges that mobile phone is placed on the ad-hoc location in vehicle.Now vehicle-mounted state handover module 3 changes state of mobile phone.
Judgement principle in the present embodiment is: user during holding mobile telephone 100, often gets used to being placed on fixed position or being placed on a fixed mount be installed in car on private vehicle.And mobile phone 100 is when being placed on ad-hoc location or fixed mount, have specific angle (angle in x, y, z three-dimensional system of coordinate) in space, and error is positioned at certain limit.As long as give tacit consent to mobile phone 100 in the present embodiment to be in this special angle, then think that this mobile phone 100 is positioned on private vehicle, be in vehicle-mounted pattern.
Fig. 2 is the method first embodiment schematic flow sheet that utilization orientation induction changes state of mobile phone: the angle obtaining mobile phone, when angle is positioned at particular range, judges that mobile phone is as vehicle-mounted pattern, and change state of mobile phone.
State of mobile phone includes but not limited to phone auto-pickup state, activates alarm clock state, contextual model state, GPS on off state, WIFI on off state, any one or multiple combination among Mobile data flow switch state.Such as, user can pre-set mobile phone when vehicle-mounted mode state, and phone auto-pickup is opened, and alarm clock does not activate, and contextual model is vibrations, GPS unlatching, and WIFI closes, and Mobile data flow is opened.Once judge that mobile phone is as vehicle-mounted pattern, then complete above-mentioned configuration automatically.Obviously, as long as allow the state changed in operating system, all can be configured, be not limited to the above-mentioned several states listed.On the one hand as the producer of mobile phone, which concrete state of free setting can change in vehicle-mounted pattern, freely select in the scope that the vehicle-mounted pattern of mobile phone that user can use at oneself on the other hand allows, how to configure.
Change state of mobile phone in following examples identical with the present embodiment, repeat no more.
Second embodiment
As shown in Figure 3, the present embodiment, compared with the first embodiment, except comprising angle acquisition module 1, direction deciding module 2 and vehicle-mounted state handover module 3, comprises an angle preset module 4 further; Direction deciding module 2 further comprises memory module 21, comparison module 22 and determination module 23 simultaneously.
Angle preset module 4 passes through software simulating equally.As Fig. 4, be the view of mobile phone in vehicle during ad-hoc location in x, y, z triaxial coordinate.When being placed on the ad-hoc location in vehicle first when mobile phone, angle preset module 4 starts, and calls angle acquisition module 1 and obtains current angle value, and generates preset angle angle value (such as: x is the position that 0, y and z is in 6 according to angle value.) and be stored in memory module 21.Angle acquisition module 1 obtains actual measurement angle value.This actual measurement angle value also can be interim be stored in memory module 21.Comparison module 22, compares preset angle angle value and actual measurement angle value.When the next ad-hoc location be placed in vehicle of mobile phone, preset angle angle value is in setting range with actual measurement angle value.The error range such as set is within the value of +/-3, x, y, z is in the +/-3 of preset value, namely judges that mobile phone is placed on the ad-hoc location in vehicle.Determination module 23 is according to comparative result, judge when preset angle angle value and actual measurement angle value are in setting range then to send instruction (now judging to enter vehicle-mounted pattern) to vehicle-mounted state handover module 3 or enter next step, otherwise do not send instruction.
The memory space that memory module 21 can apply the memory of mobile phone 100 own realizes.
In the present embodiment, other parts of system of utilization orientation induction change state of mobile phone are identical with the first embodiment.
The corresponding utilization orientation induction of the present embodiment changes the method for state of mobile phone as shown in Figure 5, is specially:
S11 generates preset angle angle value, is specially and mobile phone is placed in ad-hoc location first, calculate the angle value at ad-hoc location, generates preset angle angle value and be stored in mobile phone according to angle value;
S12 obtains actual measurement angle value;
S13 compares preset angle angle value and actual measurement angle value, if both are in setting range, then judges that angle is positioned at particular range.
When judging that angle is positioned at particular range, judging that mobile phone is as vehicle-mounted pattern, and changing state of mobile phone; Or enter next step to judge.When judging angle not at particular range, then do not change state of mobile phone; Or do not enter next step to judge.
The present embodiment is compared the first embodiment and is added setting procedure to preset angle angle value.Utilize this step can carry out angle value sampling to the mobile phone being placed on ad-hoc location (in the mobile phone seat in such as vehicle) first, preset angle angle value is generated to this sampled result process.The present embodiment scheme shows as user and opens this preset function in user operation, and be then placed on by mobile phone 100 in the mobile phone seat in vehicle, now mobile phone 100 gathers current angle value automatically, and generates preset angle angle value.When next time, mobile phone 100 was placed on same position, then can detect current actual measurement angle value, then compare with preset angle angle value, the angle that can determine mobile phone is positioned at particular range.Now namely can switch the state of mobile phone, comprise auto-pickup etc.
3rd embodiment
If Fig. 6 is system the 3rd embodiment schematic diagram that utilization orientation induction changes state of mobile phone: comprise acceleration acquisition module 5, for obtaining the acceleration of mobile phone.Direction deciding module 2, for judging that mobile phone is stable at certain value after the acceleration of specific direction continues change.Here specific direction can be a direction, and direction that also can be two or more, is determined on a case-by-case basis.And vehicle-mounted state handover module 3, the judged result according to direction deciding module 2 changes state of mobile phone.
In the present invention, acceleration acquisition module 5, direction deciding module 2 and vehicle-mounted state handover module 3 adopt software simulating, and according to different operating system, adopt different language to realize, concrete programmed method is well-known process.The acceleration that acceleration acquisition module 1 obtains can derive from the acceleration transducer arranged in mobile phone 100.Acceleration transducer also can obtain X, the accelerated speed effective value of Y, Z tri-axles.X herein, Y, Z tri-axle be relative coordinate system, be different from the x in Fig. 4, y, z three-axis reference.Because acceleration transducer is arranged on interior of mobile phone, then the X of acceleration transducer, Y, Z tri-axles are directly related with the pose of mobile phone.Under normal condition, kept flat by mobile phone on the table, X-axis value is defaulted as 0, Y-axis acquiescence 0, Z axis acquiescence 9.81 (i.e. gravity acceleration value).When mobile phone 100 is positioned at Fig. 4 position, be inclined upwardly by mobile phone 100, X-axis is 0, X-axis Z axis is just, when mobile phone continues there is forward a displacement, X-axis and Y-axis can keep existing numerical value, what Z axis can continue has an acceleration forward, namely Z axis on the occasion of becoming large.By this kind of method, according to these three values, the traffic direction of mobile phone 100 can be determined, also just represent the travel direction of vehicle.The value that Z axis collects on the occasion of, namely represent mobile phone be in the state moved forward, speed increase while, the numerical value collected also can increase.Until normal vehicle operation, when speed reaches at the uniform velocity stable state, collection value also can be in a stable state, by judging the time (as 5s) that the stable state that collection value meets given travel speed maintains, determines whether to be in vehicle-mounted state.Direction deciding module 2 judges whether the time that the stable state that collection value meets given travel speed maintains exceedes setting-up time (such as 5 seconds).If exceeded, judge that mobile phone 100 is as the transport condition under vehicle-mounted state.Now vehicle-mounted state handover module 3 changes state of mobile phone.
Judgement principle in the present embodiment is: after vehicle take-offs, and the mobile phone be placed in vehicle certainly leads to certain acceleration, and this acceleration meeting certain time, until normal vehicle operation, speed reaches at the uniform velocity stable state.As long as give tacit consent to mobile phone 100 in the present embodiment first produce certain acceleration, speed reaches stable state certain hour afterwards, then think that this mobile phone 100 is positioned on private vehicle, be in vehicle-mounted pattern, and be transport condition.If independent acceleration and not setting speed reach the duration of stable state, then easily produce erroneous judgement picking up under the various non-vehicle-mounted motion states such as mobile phone or mobile phone fall.
Fig. 7 is method the 3rd embodiment schematic flow sheet that utilization orientation induction changes state of mobile phone: the accekeration obtaining mobile phone, when mobile phone have specific direction acceleration continue change after be stable at certain value time, judge that mobile phone is as vehicle-mounted pattern, and change state of mobile phone; Or enter next step to judge.When judging that the lasting change of the acceleration of specific direction maybe can not be stable at certain value, then do not change state of mobile phone; Or do not enter next step to judge.
4th embodiment
Present embodiments provide the execution mode simultaneously judging mobile phone angle and acceleration.If Fig. 8 is system the 4th embodiment schematic diagram that utilization orientation induction changes state of mobile phone: comprise angle acquisition module 1 for obtaining the angle of mobile phone 100; Acceleration acquisition module 5, for obtaining the acceleration of mobile phone 100; Direction deciding module 2, for judging that angle is stable at certain value after being positioned at the lasting change of acceleration of particular range and specific direction; Vehicle-mounted state handover module 3, changes the state of mobile phone 100 according to the judged result of direction deciding module.
Simultaneously direction deciding module 2 further comprises memory module 21 and stores the setting-up time that preset angle angle value and acceleration are stable at certain value; Comparison module 22 comparison module comprises and compares preset angle angle value and actual measurement angle value, and compares specific direction acceleration and be stable at certain value and whether exceed setting-up time; And determination module 23, be in setting range when preset angle angle value and actual measurement angle value and judge that mobile phone 100 is stable at certain value after having that the acceleration of specific direction is lasting and changing.If angle and acceleration are all eligible, then send instruction to vehicle-mounted state handover module, otherwise do not send instruction.
As Fig. 8, this system also comprises angle preset module 4, and when being placed on the ad-hoc location in vehicle first when mobile phone 100, angle preset module 4 starts, call angle acquisition module 1 and obtain current angle value, and generate preset angle angle value according to angle value and be stored in memory module 21.
In the present embodiment, the realization of each concrete module and manner of execution particular content above-described embodiment 1-3 describe in detail, repeat no more here.
Fig. 9 is method the 4th embodiment schematic flow sheet that utilization orientation induction changes state of mobile phone: first generate preset angle angle value, be specially and mobile phone is placed in ad-hoc location first, calculate the angle value at ad-hoc location, generate preset angle angle value according to angle value and be stored in the memory of mobile phone.During use, when mobile phone 100 uses, obtain actual measurement angle value and obtain accekeration.The first, compare preset angle angle value and actual measurement angle value, if both are in setting range, then judge that angle is positioned at particular range.The second, the setting-up time that acquisition acceleration and the acceleration be pre-stored in mobile phone 100 memory are stable at certain value is compared, judges that the acceleration of the specific direction of mobile phone is stable at certain value after continuing change.Then change state of mobile phone when judging that above-mentioned the first and second two conditions are; When wherein any one condition is no, does not then change state of mobile phone, end process.
In the present embodiment, generate preset angle angle value, obtain actual measurement angle value and obtain the concrete modes such as accekeration and described in detail in above-described embodiment 1-3, repeat no more here.
The present embodiment principle is: mobile phone 100 is placed on the position on fixed mount in advance, obtains mobile phone 100 inclination angle of putting and record by magnetic field sensor.When mobile phone is placed on fixed mount next time, contrast, within comparing result is in error result, then mobile phone 100 is vehicle-mounted state.Vehicle can produce an acceleration when being in travel condition, by acceleration transducer perception, reach threshold values be then judged to be vehicle-mounted state under running status.When two results are all set up, mobile phone 100 switching state.
To sum up: 1) contrasted by angle information and be confirmed whether to be in default angle, judge whether to be in ad-hoc location.
2) vehicle-mounted state whether is in by acceleration value and direction determining.
3) carry out double acknowledge and whether be in by angle information contrast, acceleration direction determining and need to carry out state change.
The present invention is based on direction sensor, utilizes multiple transducer such as acceleration transducer and magnetic field sensor, can carry out sensor fusion, and can be undertaken detecting and judge whether to be in vehicle-mounted state by putting position and transport condition.First be convenient for people to use, do not need manual switchover, liberation both hands; Secondly, safer, can guarantee that user does not need to take sb's mind off sth to answer or operating handset when driving.

Claims (10)

1. the method for a utilization orientation induction change state of mobile phone, it is characterized in that, obtain angle and/or the acceleration of mobile phone, when described angle be positioned at particular range and/or specific direction acceleration continue change after be stable at certain value time, judge that described mobile phone is as vehicle-mounted pattern, and change described state of mobile phone.
2. utilization orientation according to claim 1 induction changes the method for state of mobile phone, it is characterized in that, judges that the step that described angle is positioned at particular range is specially:
S11 generates preset angle angle value, is specially and described mobile phone is placed in ad-hoc location first, calculate the angle value at described ad-hoc location, generates preset angle angle value and be stored in described mobile phone according to described angle value;
S12 obtains actual measurement angle value;
The more described preset angle angle value of S13 and actual measurement angle value, if both are in setting range, then judge that angle is positioned at particular range.
3. utilization orientation induction according to claim 1 and 2 changes the method for state of mobile phone, it is characterized in that, judges that the step being stable at certain value after the acceleration of described specific direction continues change is specially:
S21 obtains the accekeration of described mobile phone, when described mobile phone have specific direction acceleration continue change after be stable at certain value time, then judge described specific direction acceleration continue change after be stable at certain value.
4. utilization orientation induction according to claim 1 changes the method for state of mobile phone, it is characterized in that, described state of mobile phone comprises phone auto-pickup state, activates alarm clock state, contextual model state, GPS on off state, WIFI on off state, any one or multiple combination among Mobile data flow switch state.
5. utilization orientation induction according to claim 2 changes the method for state of mobile phone, it is characterized in that, calculate the deflection being specially this position adopting the transducer be arranged on described mobile phone to obtain at the angle value of described ad-hoc location, the concrete numerical value of inclination angle and the anglec of rotation, by the data of this concrete numerical computations x, y, z three axle, thus calculate angle value.
6. utilization orientation induction changes a system for state of mobile phone, it is characterized in that, comprises angle acquisition module and/or acceleration acquisition module, for obtaining angle and/or the acceleration of described mobile phone;
Direction deciding module, for judging that described angle is stable at certain value after being positioned at the lasting change of acceleration of particular range and/or specific direction;
And vehicle-mounted state handover module, the judged result according to described direction deciding module changes described state of mobile phone.
7. utilization orientation induction according to claim 6 changes the system of state of mobile phone, and it is characterized in that, described direction deciding module further comprises memory module, stores preset angle angle value;
Comparison module, compares preset angle angle value and actual measurement angle value;
And determination module, according to comparative result, judge when described preset angle angle value and actual measurement angle value are in setting range then to send instruction to described vehicle-mounted state handover module or enter next step, otherwise do not send instruction.
8. utilization orientation induction according to claim 7 changes the system of state of mobile phone, and it is characterized in that, described memory module stores the setting-up time that acceleration is stable at certain value;
The acceleration that comparison module comprises more described mobile phone is stable at certain value and exceedes described setting-up time;
And determination module, according to comparative result, after described mobile phone has the lasting change of acceleration of specific direction, be stable at certain value then send instruction to described vehicle-mounted state handover module or enter next step judgement, otherwise do not send instruction.
9. the utilization orientation induction according to claim 6 or 7 or 8 changes the system of state of mobile phone, it is characterized in that, described vehicle-mounted state handover module specifically comprises phone auto-pickup state and switches, activates alarm clock state switching, the switching of contextual model state, GPS on off state switches, WIFI on off state switches, any one or multiple combination among Mobile data flow switch state switches.
10. the utilization orientation induction according to claim 7 or 8 changes the system of state of mobile phone, it is characterized in that, also comprise an angle preset module, when described angle preset module starts, call described angle acquisition module and obtain current angle value, and generate preset angle angle value according to described angle value and be stored in described memory module.
CN201510402299.8A 2015-07-10 2015-07-10 Method and system for changing the state of mobile phone by using directional sensing Pending CN104967746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510402299.8A CN104967746A (en) 2015-07-10 2015-07-10 Method and system for changing the state of mobile phone by using directional sensing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510402299.8A CN104967746A (en) 2015-07-10 2015-07-10 Method and system for changing the state of mobile phone by using directional sensing

Publications (1)

Publication Number Publication Date
CN104967746A true CN104967746A (en) 2015-10-07

Family

ID=54221682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510402299.8A Pending CN104967746A (en) 2015-07-10 2015-07-10 Method and system for changing the state of mobile phone by using directional sensing

Country Status (1)

Country Link
CN (1) CN104967746A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107199969A (en) * 2017-05-04 2017-09-26 深圳市金立通信设备有限公司 A kind of monitoring method and terminal of vehicle mounted guidance state
CN109361821A (en) * 2018-11-30 2019-02-19 维沃移动通信有限公司 A kind of method and mobile terminal controlling alarm clock
CN114283570A (en) * 2020-09-25 2022-04-05 阿波罗智联(北京)科技有限公司 Method, apparatus, vehicle, electronic device, and medium for controlling vehicle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561154A (en) * 2007-11-09 2014-02-05 谷歌公司 Activating applications based on accelerometer data
US20150050923A1 (en) * 2013-08-15 2015-02-19 Apple Inc. Determining exit from a vehicle
CN104394274A (en) * 2014-11-25 2015-03-04 北京天宇朗通通信设备股份有限公司 Switching method of talking mode of terminal device and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561154A (en) * 2007-11-09 2014-02-05 谷歌公司 Activating applications based on accelerometer data
US20150050923A1 (en) * 2013-08-15 2015-02-19 Apple Inc. Determining exit from a vehicle
CN104394274A (en) * 2014-11-25 2015-03-04 北京天宇朗通通信设备股份有限公司 Switching method of talking mode of terminal device and terminal device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107199969A (en) * 2017-05-04 2017-09-26 深圳市金立通信设备有限公司 A kind of monitoring method and terminal of vehicle mounted guidance state
CN107199969B (en) * 2017-05-04 2020-01-14 深圳市金立通信设备有限公司 Vehicle-mounted navigation state monitoring method and terminal
CN109361821A (en) * 2018-11-30 2019-02-19 维沃移动通信有限公司 A kind of method and mobile terminal controlling alarm clock
CN114283570A (en) * 2020-09-25 2022-04-05 阿波罗智联(北京)科技有限公司 Method, apparatus, vehicle, electronic device, and medium for controlling vehicle

Similar Documents

Publication Publication Date Title
KR20170132240A (en) Communication message transmission method and device
CN107826109B (en) Lane keeping method and apparatus
CN107608855B (en) Reminding method and mobile terminal
CN109286727B (en) Operation control method and terminal equipment
CN105827790B (en) Mobile terminal and the method and storage medium for controlling its answer mode
CN107957843B (en) Control method and mobile terminal
CN111475072B (en) Payment information display method and electronic equipment
CN111899545B (en) Driving reminding method and device, storage medium and mobile terminal
CN110535204B (en) Wireless charging method and related equipment
CN109979045B (en) Information output method and terminal equipment
CN111107219B (en) Control method and electronic equipment
CN111126995A (en) Payment method and electronic equipment
CN105025156A (en) Communication method and electronic device thereof
CN105049587A (en) Mobile phone message safety reminding method and device during driving process of vehicle
CN104967746A (en) Method and system for changing the state of mobile phone by using directional sensing
CN107786714B (en) Sound control method, apparatus and system based on vehicle-mounted multimedia equipment
CN108362303B (en) Navigation method and mobile terminal
CN109005297B (en) Display method of navigation application and mobile terminal
CN108449787B (en) Connection control method and device and electronic equipment
CN107918517B (en) Screen rotation response method and device, mobile terminal and storage medium
JP2008131248A (en) Portable telephone terminal, control method, and program
CN106274908A (en) The control method of vehicle functions and device
CN109062533A (en) Sounding control method, device, electronic device and storage medium
CN108769364A (en) Call control method, device, mobile terminal and computer-readable medium
CN108650616A (en) A kind of call handling method and mobile terminal

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: 20151007