CN108777738A - Fall method of adjustment and Related product - Google Patents

Fall method of adjustment and Related product Download PDF

Info

Publication number
CN108777738A
CN108777738A CN201810398459.XA CN201810398459A CN108777738A CN 108777738 A CN108777738 A CN 108777738A CN 201810398459 A CN201810398459 A CN 201810398459A CN 108777738 A CN108777738 A CN 108777738A
Authority
CN
China
Prior art keywords
range
falling
electronic device
acceleration transducer
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810398459.XA
Other languages
Chinese (zh)
Other versions
CN108777738B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810398459.XA priority Critical patent/CN108777738B/en
Publication of CN108777738A publication Critical patent/CN108777738A/en
Application granted granted Critical
Publication of CN108777738B publication Critical patent/CN108777738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The embodiment of the present application discloses one kind and falling method of adjustment and Related product, is applied to electronic equipment, the electronic equipment includes acceleration transducer, and method therein includes:Electronic device is first it is detected that electronic device is in when falling state, obtain the presupposed information of electronic device, presupposed information includes falling duration or scene information, scene information includes the application program of the current horizontal/vertical screen state and front stage operation of electronic device, finally, the range of acceleration transducer is adjusted according to presupposed information.Be conducive to improve accuracy when electronic device fall adjustment and intelligent.

Description

Fall method of adjustment and Related product
Technical field
This application involves technical field of electronic equipment, and in particular to one kind falling method of adjustment and Related product.
Background technology
It is universal with the rapid development of intelligent terminal (such as smart mobile phone) technology, and increasingly, become user Indispensable electronic product in daily life.In actual use, it will usually occur intelligent terminal fall from the hand of user, The case where falling from desktop, intelligent terminal can be collided after falling with collision object, and then intelligent terminal is caused to damage.Mobile phone exists In real falling process, the accuracy for the acceleration information that acceleration transducer reports is most important to falling testing result.
Invention content
The embodiment of the present application provides one kind and falling method of adjustment and Related product, falling adjustment side to propose one kind Method, to realize the intelligent and accuracy for falling adjustment.
In a first aspect, the embodiment of the present application, which provides one kind, falling method of adjustment, it is applied to electronic equipment, the electronic equipment Including acceleration transducer, the method includes:
Detect that mobile terminal in when falling state, obtains the presupposed information of the electronic device, the presupposed information Including falling duration or scene information, the scene information includes the current horizontal/vertical screen state of the electronic device and foreground fortune Capable application program;
The range of the acceleration transducer is adjusted according to the presupposed information.
Second aspect, the embodiment of the present application provides one kind and falling adjusting apparatus, including is applied to electronic equipment, the electronics Equipment includes acceleration transducer, and the adjusting apparatus of falling includes detection unit and adjustment unit, wherein
The detection unit, for detect mobile terminal be in fall state when, obtain the default of the electronic device Information, the presupposed information include falling duration or scene information, and the scene information includes that the electronic device is current The application program of horizontal/vertical screen state and front stage operation;
The adjustment unit, the range for adjusting the acceleration transducer according to the presupposed information.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure includes the instruction for executing the step in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above computer is readable Computer program of the storage medium storage for electronic data interchange, wherein above computer program makes computer execute such as Step some or all of described in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above computer program product Non-transient computer readable storage medium including storing computer program, above computer program are operable to make calculating Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that in the embodiment of the present application, electronic device is first it is detected that electronic device is obtained in when falling state The presupposed information of electronic device, presupposed information include falling duration or scene information, and scene information includes that electronic device is current Horizontal/vertical screen state and front stage operation application program, finally, according to presupposed information adjust acceleration transducer range.Due to Electronics dress flexibly can fall state according to different, obtain different drop informations, and then dynamically adjust range ability, Avoid and falling, acceleration value no to scale, and cause testing result error big, be conducive to improve electronic device into Accuracy when row falls adjustment and intelligent.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application Figure is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for this field For those of ordinary skill, without creative efforts, other drawings may also be obtained based on these drawings.
Figure 1A is a kind of schematic diagram of the program running space of smart mobile phone;
Figure 1B is a kind of system architecture diagram of Android system;
Fig. 2 is a kind of flow diagram falling method of adjustment provided by the embodiments of the present application;
Fig. 3 is the flow diagram that another kind provided by the embodiments of the present application falls method of adjustment;
Fig. 4 is the flow diagram that another kind provided by the embodiments of the present application falls method of adjustment;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram falling adjusting apparatus provided by the embodiments of the present application.
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Term " first ", " second " in the description and claims of this application and above-mentioned attached drawing etc. are for distinguishing Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application may include various handheld devices with wireless communication function, Mobile unit, wearable device, computing device or other processing equipments and various forms for being connected to radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.
As shown in Figure 1A, the electronic devices such as smart mobile phone are typically provided with program running space at present, and program operation is empty Between include user's space and operating system space, wherein user's space operation there are one or multiple application programs, this or more A application program is the third party application of electronic device installation, falls detection algorithm and just operates in user's space, operation system System space motion has the operating system of electronic device.The electronic device can specifically run Android android system, Apple Inc. Mobile operating system iOS of exploitation etc. does not do unique restriction herein.As shown in Figure 1B, have with electronic device operation For android system, corresponding user's space includes the application layer (Applications) in the android system, operation System space may include application framework layer (Application Framework) in the android system, system fortune Row library layer (including Android Runtime when the layer Libraries and Android operations of system operation library), Linux inner core (Linux Kernel).Wherein, include all kinds of application programs with user's direct interaction in application layer, or write by Java language The service routine for running on backstage.For example, the program for the common basic function realized on smart mobile phone, such as short message service (Short Messaging Service, SMS) short message, dialing, Photo Browser, calendar, game, map, WWW The programs such as (World Wide Web, Web) browser and the other applications of developer's exploitation.Application framework Layer provides a series of class libraries needed for exploitation Android application programs, can be used in reusing component, can also be realized by inheriting Personalized extension.System operation library layer is the support of application framework, and clothes are provided for the various components in android system Business.System operation library layer is constituted when being run by system class libraries and Android.Include core library and Dalvik when Android is run Virtual machine two parts.Linux inner core is for realizing hardware device drivers, process and memory management, network protocol stack, power supply pipe Reason, the Core Features such as wireless communication.
Wherein, there are various sensors in Android platform, can be developed including game class using sensor Using the application of many novelties inside.Sensor provide aspect interactive mode, user need not contact or by Key operation, but by the state of detection electronic installation itself, and obtain corresponding parameter value and can realize expected effect.
Us can be helped to identify the posture and motion state of electronic device using acceleration transducer in Android, Acceleration transducer can effectively track the motion state of electronic device, also, its use scope pole on the electronic device It extensively, acceleration transducer is fitted on almost all of Android electronic devices.Currently, acceleration transducer application Have become the important component of electronic device, for example, object gravity sensing effect relatively common in game class application, The acceleration transducer in mobile device is exactly used to realize.Using the feature development mobile application of acceleration transducer, The selection of skill and main trend is commonly developed as Android mobile applications development field.
Electronic device may include various handheld device, mobile unit, wearable device (example with wireless communication function Such as smartwatch, Intelligent bracelet, pedometer), computing device or other processing equipments for being connected to radio modem, with And various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic device.
A kind of flow diagram falling method of adjustment is provided referring to Fig. 2, Fig. 2 is the embodiment of the present application, is applied to Electronic equipment, the electronic equipment include acceleration transducer, and the method for adjustment of falling in the embodiment of the present application includes following step Suddenly:
S201, electronic equipment detect that mobile terminal in when falling state, obtains the presupposed information of the electronic device, The presupposed information includes falling duration or scene information, and the scene information includes the current horizontal/vertical screen of the electronic device The application program of state and front stage operation.
Wherein, presupposed information can include but is not limited to fall duration, scene information, fall acceleration, falling height, fall It falls direction and falls angle etc., do not do unique restriction herein.
S202, the electronic equipment adjust the range of the acceleration transducer according to the presupposed information.
Wherein, the range of acceleration transducer can include but is not limited to 16g, 8g, 4g etc., not do unique restriction herein.
As can be seen that in the embodiment of the present application, electronic device is first it is detected that electronic device is obtained in when falling state The presupposed information of electronic device, presupposed information include falling duration or scene information, and scene information includes that electronic device is current Horizontal/vertical screen state and front stage operation application program, finally, according to presupposed information adjust acceleration transducer range.Due to Electronics dress flexibly can fall state according to different, obtain different drop informations, and then dynamically adjust range ability, Avoid and falling, acceleration value no to scale, and cause testing result error big, be conducive to improve electronic device into Accuracy when row falls adjustment and intelligent.
In a possible example, the presupposed information includes falling duration;The electronic device is according to described default Information adjusts the range of the acceleration transducer, including:The electronic device obtains the preset acceleration transducer First range set, the first range set include the correspondence fallen between duration and range;When according to described falling It grows and inquires the first range set, fall the target range of duration adaptation described in determination;Institute is adjusted according to the target range State the range of acceleration transducer.
Wherein, fall duration to detect to obtain according to the drop-out time of electronic device by acceleration transducer, can be 5ms, 10ms etc., does not limit uniquely herein.
Wherein, it can be one-to-one, one-to-many and multi-to-multi etc. to fall the correspondence between duration and range, herein not Do unique restriction.
For example, when electronic device falls, detection for the first time does not collide in 5ms, and basis is fallen at this time The correspondence fallen between duration and range obtains, and current range is 4g, is persistently detected, is not touched in rear 5ms It hitting, is obtained according to the correspondence fallen between duration and range, current range is 8g, reciprocal with this, as shown in table 1, table 1 For a kind of embodiment mode in correspondence, but it is not unique expression way,
Table 1
Drop-out time Fall range
3ms 4g
5ms 4g
10ms 8g
15ms 16g
Different by the time in the period, corresponding range is also different, gradually incremental range, in the previous second that collides, The range of acceleration transducer can be most suitable range.
As it can be seen that in this example, electronic device in range set by falling the correspondence between duration and range, it is accurate The true target range being adapted to, flexibly according to the different ranges for falling duration and obtaining different ranges, and then selecting It can accurately be fitted to and currently fall scene, avoid when fall range, acceleration is more than range, and then is caused Wrong report or erroneous judgement the case where, be conducive to improve the accuracy and specific aim when electronic device fall adjustment.
In a possible example, what the electronic device a length of when falling detected in real time in falling process Fall duration.
Wherein, detection as detects at times in real time, and such as first is detected the period as 0-2.5ms, the second detection period For 2.6ms-5ms, third detection period be 6ms-7.5ms, the 4th detection period is 7.6ms-10ms etc., can be according to difference Interval is divided, and does not do unique restriction herein.
For example, shown in the above-mentioned detection period, first detection period is 0-2.5ms and corresponding fall range and be 4g, second detection period are 2.6ms-5ms and corresponding fall that range is 8g, to detect the period be 6ms-7.5ms and right to third Should fall range be 8g, the 4th detection period be 7.6ms-10ms and it is corresponding to fall range be 16g, detect that Current electronic fills It sets and falls, and do not collide in 6s, at this point, the range of acceleration is 8g, it is lasting to detect, it is touched in the 8s previous seconds It hits, acceleration range is 16g in acceleration transducer at this time.
As it can be seen that in this example, since the segmentation detection that electronic device can continue is fallen, and corresponded to according to each period Fall range, adjusted into Mobile state, and then improve the accuracy for falling detection and real-time.
In a possible example, the electronic device a length of when falling is touched according to falling initial time and fall That hits time determination actually falls duration.
Wherein, falling initial time can be by acceleration transducer in preset period of time, and acquisition N groups are fallen acceleration and obtained Arrive, if it is all gravity acceleration g that N groups, which fall acceleration, judge that present period is the initial time fallen, and N can be 1, 2, the natural numbers such as 3,4 do not do unique restriction herein.
Wherein, the drop impact time can detect by acceleration transducer during lasting detection and fall acceleration Degree is more than acceleration of gravity, and N groups data later are more than falling for acceleration of gravity also above acceleration of gravity by first group The acceleration corresponding time is the drop impact time.
For example, when detecting that electronic device falls, acceleration transducer detect in the afternoon 14 when 30 divide At 00 second, it is all acceleration of gravity that collected 6 groups, which are fallen acceleration, and is detected at 14: 10 30: and fall acceleration For 12g, then a length of 10s when falling, it is 16g to obtain the corresponding ranges that fall of 10S by the range set of acceleration transducer, therefore The range that falls of acceleration transducer is adjusted to 16g.
As it can be seen that in this example, electronic device actually falls duration according to detection, can reach and fall previous second energy It is disposably quickly fitted to acceleration range according to duration is actually fallen, thereby reduces detection power consumption, is conducive to electronics dress Set the accuracy for carrying out falling detection and high efficiency.
In a possible example, the presupposed information includes scene information, and the scene information includes the electronics The application program of device current horizontal/vertical screen state and front stage operation;The electronic device is according to described in presupposed information adjustment The range of acceleration transducer, including:The electronic device obtains the second range set of the preset acceleration transducer, The second range set includes the correspondence between scene information and range;Described second is inquired according to the scene information Range set determines the target range of the scene information adaptation;The acceleration transducer is adjusted according to the target range Range.
Wherein, scene information can be but be not limited to transverse screen game state, vertical screen read state, transverse screen video state etc., Unique restriction is not done herein.
Wherein, the correspondence between scene information and range can be one-to-one, one-to-many and multi-to-multi etc., herein not It is unique to limit.
For example, current party A-subscriber is just sitting on chair, and the horizontal electronic device of holding of both hands sees video, at this time the hand of party A-subscriber from The distance on ground is 80cm, detects that electronic device falls at this time, gets in scene of sitting quietly and fall pair of range It should be related to as shown in table 2,
Table 2
Table 1 is a kind of scene in scene information, is not unique scene information, is learnt by table 2, and current falls range For 8g, i.e., current acceleration range is adjusted to 8g.
As it can be seen that in this example, since electronic device can accurately analyze current scene needs according to scene information Acceleration range, actual scene information are actually based on user's use habit, when determining that user uses mobile phone under current scene Common height, to estimate out under the scene in requisition for acceleration range, and then reach dynamic adjustment acceleration range Purpose, be conducive to improve accuracy when electronic device fall adjustment and flexibility.
It is consistent with above-mentioned embodiment shown in Fig. 2, fall referring to Fig. 3, Fig. 3 is one kind provided by the embodiments of the present application The flow diagram of method of adjustment is applied to electronic equipment, and the electronic equipment includes acceleration transducer, as shown in figure 3, this Method of adjustment of falling in application embodiment includes the following steps:
S301, electronic equipment detect that mobile terminal is in when falling state, obtain the electronic device according to having fallen What time beginning and drop impact time determined actually falls duration.
S302, the electronic equipment obtain the first range set of the preset acceleration transducer.
S303, the electronic equipment are inquired the first range set according to the duration that actually falls, are fallen described in determination Fall the target range of duration adaptation.
S304, the electronic equipment adjust the range of the acceleration transducer according to the target range.
As can be seen that in the embodiment of the present application, electronic device is first it is detected that electronic device is obtained in when falling state The presupposed information of electronic device, presupposed information include falling duration or scene information, and scene information includes that electronic device is current Horizontal/vertical screen state and front stage operation application program, finally, according to presupposed information adjust acceleration transducer range.Due to Electronics dress flexibly can fall state according to different, obtain different drop informations, and then dynamically adjust range ability, Avoid and falling, acceleration value no to scale, and cause testing result error big, be conducive to improve electronic device into Accuracy when row falls adjustment and intelligent.
In addition, electronic device in range set by falling the correspondence between duration and range, be accurately obtained The target range of adaptation, flexibly according to it is different fall range that duration obtains different ranges, and then selects can be accurate Be fitted to and currently fall scene, avoid when fall range, acceleration is more than range, caused by wrong report or The case where erroneous judgement, is conducive to improve the accuracy and specific aim when electronic device fall adjustment.
Further, since the segmentation detection that electronic device can continue is fallen, and according to corresponding magnitude of each period Journey adjusts into Mobile state, and then improves the accuracy for falling detection and real-time.
It is consistent with above-mentioned embodiment shown in Fig. 2, fall referring to Fig. 4, Fig. 4 is another kind provided by the embodiments of the present application The flow diagram of method of adjustment is fallen, as shown in figure 4, the method for adjustment of falling in the embodiment of the present application includes the following steps:
S401, electronic equipment detect that mobile terminal in when falling state, obtains the scene information of the electronic device.
S402, the electronic equipment obtain the second range set of the preset acceleration transducer.
S403, the electronic equipment inquire the second range set according to the scene information, determine the scene letter Cease the target range of adaptation.
S404, the electronic equipment adjust the range of the acceleration transducer according to the target range.
As can be seen that in the embodiment of the present application, electronic device is first it is detected that electronic device is obtained in when falling state The presupposed information of electronic device, presupposed information include falling duration or scene information, and scene information includes that electronic device is current Horizontal/vertical screen state and front stage operation application program, finally, according to presupposed information adjust acceleration transducer range.Due to Electronics dress flexibly can fall state according to different, obtain different drop informations, and then dynamically adjust range ability, Avoid and falling, acceleration value no to scale, and cause testing result error big, be conducive to improve electronic device into Accuracy when row falls adjustment and intelligent.
Further, since electronic device can accurately analyze the amount of acceleration of current scene needs according to scene information Journey, actual scene information are actually based on user's use habit, determine common height when user is using mobile phone under current scene Degree, to estimate out under the scene in requisition for acceleration range, and then achieve the purpose that dynamic adjust acceleration range, have Conducive to raising electronic device fall accuracy when adjustment and flexibility.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that , for electronic equipment in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or software mould Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, and depend on the specific application and design constraint item of technical solution Part.Professional technician specifically can realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out electronic equipment according to the above method example division of functional unit, for example, can Each functional unit is divided with each function of correspondence, two or more functions can also be integrated in a processing unit In.The form that hardware had both may be used in above-mentioned integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs It is noted that be schematical, only a kind of division of logic function to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application The structural schematic diagram of a kind of electronic equipment, as shown, the electronic equipment includes processor, memory, communication interface and one A or multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing Device executes, and above procedure includes the instruction for executing following steps;
Detect that mobile terminal in when falling state, obtains the presupposed information of the electronic device, the presupposed information Including falling duration or scene information, the scene information includes the current horizontal/vertical screen state of the electronic device and foreground fortune Capable application program;
The range of the acceleration transducer is adjusted according to the presupposed information.
As can be seen that in the embodiment of the present application, electronic device is first it is detected that electronic device is obtained in when falling state The presupposed information of electronic device, presupposed information include falling duration or scene information, and scene information includes that electronic device is current Horizontal/vertical screen state and front stage operation application program, finally, according to presupposed information adjust acceleration transducer range.Due to Electronics dress flexibly can fall state according to different, obtain different drop informations, and then dynamically adjust range ability, Avoid and falling, acceleration value no to scale, and cause testing result error big, be conducive to improve electronic device into Accuracy when row falls adjustment and intelligent.
In a possible example, the presupposed information includes falling duration;Described according to the presupposed information tune In terms of the range of the whole acceleration transducer, the instruction in described program is specifically used for executing following operation:
The first range set of the preset acceleration transducer is obtained, the first range set includes falling duration Correspondence between range;
The first range set is inquired according to the duration that falls, falls the target range of duration adaptation described in determination;
The range of the acceleration transducer is adjusted according to the target range.
In a possible example, what the electronic device a length of when falling detected in real time in falling process Fall duration.
In a possible example, the electronic device a length of when falling is touched according to falling initial time and fall That hits time determination actually falls duration.
In a possible example, the presupposed information includes scene information, and the scene information includes the electronics The application program of device current horizontal/vertical screen state and front stage operation;The acceleration is adjusted according to the presupposed information described In terms of the range of sensor, the instruction in described program is specifically used for executing following operation:
The second range set of the preset acceleration transducer is obtained, the second range set includes scene information Correspondence between range;
The second range set is inquired according to the scene information, determines the target range of the scene information adaptation;
The range of the acceleration transducer is adjusted according to the target range.
Fig. 6 is that the functional unit for falling adjusting apparatus 600 involved in the embodiment of the present application forms block diagram.This falls tune Engagement positions 600 are applied to electronic equipment, and the electronic equipment includes acceleration transducer, and it includes inspection that this, which falls adjusting apparatus 600, Survey unit 601 and adjustment unit 602, wherein
The detection unit 601, for detect mobile terminal be in fall state when, obtain the pre- of the electronic device If information, the presupposed information includes falling duration or scene information, and the scene information includes that the electronic device is current Horizontal/vertical screen state and front stage operation application program;
The adjustment unit 602, the range for adjusting the acceleration transducer according to the presupposed information.
As can be seen that in the embodiment of the present application, electronic device is first it is detected that electronic device is obtained in when falling state The presupposed information of electronic device, presupposed information include falling duration or scene information, and scene information includes that electronic device is current Horizontal/vertical screen state and front stage operation application program, finally, according to presupposed information adjust acceleration transducer range.Due to Electronics dress flexibly can fall state according to different, obtain different drop informations, and then dynamically adjust range ability, Avoid and falling, acceleration value no to scale, and cause testing result error big, be conducive to improve electronic device into Accuracy when row falls adjustment and intelligent.
In a possible example, the presupposed information includes falling duration;Described according to the presupposed information tune In terms of the range of the whole acceleration transducer, the adjusting apparatus 600 of falling further includes:
Acquiring unit 603, the first range set for obtaining the preset acceleration transducer, first range Set includes the correspondence fallen between duration and range;
Query unit 604 inquires the first range set for falling duration according to, falls duration described in determination The target range of adaptation;
The adjustment unit 602 is additionally operable to adjust the range of the acceleration transducer according to the target range.
In a possible example, what the electronic device a length of when falling detected in real time in falling process Fall duration.
In a possible example, the electronic device a length of when falling is touched according to falling initial time and fall That hits time determination actually falls duration.
In a possible example, the presupposed information includes scene information, and the scene information includes the electronics The application program of device current horizontal/vertical screen state and front stage operation;The acceleration is adjusted according to the presupposed information described In terms of the range of sensor, the acquiring unit 603 is additionally operable to obtain the second range collection of the preset acceleration transducer It closes, the second range set includes the correspondence between scene information and range;
The query unit 604 is additionally operable to inquire the second range set according to the scene information, determines the field The target range of scape information adaptation;
The adjustment unit 602 is additionally operable to adjust the range of the acceleration transducer according to the target range.
The embodiment of the present application also provides a kind of computer storage media, wherein computer storage media storage is for electricity The computer program that subdata exchanges, the computer program make computer execute any as described in above method embodiment Some or all of method step, above computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and above computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either method described in method embodiment step.The computer program product can be a software installation Packet, above computer includes mobile terminal.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer-readable access to memory.Based on this understanding, technical scheme of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes:USB flash disk, read-only memory (read-only memory, ROM), random access memory The various media that can store program code such as (random access memory, RAM), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory May include:Flash disk, read-only memory (read-only memory, ROM), random access device (random access Memory, RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change place, in conclusion the content of the present specification should not be construed as limiting the invention.

Claims (12)

1. one kind falling method of adjustment, which is characterized in that be applied to electronic equipment, the electronic equipment includes acceleration sensing Device, the method includes:
Detect that mobile terminal in when falling state, obtains the presupposed information of the electronic device, the presupposed information includes Fall duration or scene information, the scene information includes the current horizontal/vertical screen state of the electronic device and front stage operation Application program;
The range of the acceleration transducer is adjusted according to the presupposed information.
2. the method according to claim 1, which is characterized in that the presupposed information includes falling duration;The basis The presupposed information adjusts the range of the acceleration transducer, including:
The first range set of the preset acceleration transducer is obtained, the first range set includes falling duration and amount Correspondence between journey;
The first range set is inquired according to the duration that falls, falls the target range of duration adaptation described in determination;
The range of the acceleration transducer is adjusted according to the target range.
3. the method according to claim 2, which is characterized in that the electronic device a length of when falling was falling What is detected in real time in journey falls duration.
4. the method according to claim 2, which is characterized in that the electronic device a length of when falling is according to falling What initial time and drop impact time determined actually falls duration.
5. the method according to claim 1, which is characterized in that the presupposed information includes scene information, the scene Information includes the application program of the current horizontal/vertical screen state and front stage operation of the electronic device;It is described according to the presupposed information The range of the acceleration transducer is adjusted, including:
The second range set of the preset acceleration transducer is obtained, the second range set includes scene information and amount Correspondence between journey;
The second range set is inquired according to the scene information, determines the target range of the scene information adaptation;
The range of the acceleration transducer is adjusted according to the target range.
6. one kind falling adjusting apparatus, which is characterized in that be applied to electronic equipment, the electronic equipment includes acceleration sensing Device, the adjusting apparatus of falling includes detection unit and adjustment unit, wherein
The detection unit, for detect mobile terminal be in fall state when, obtain the presupposed information of the electronic device, The presupposed information includes falling duration or scene information, and the scene information includes the current horizontal/vertical screen of the electronic device The application program of state and front stage operation;
The adjustment unit, the range for adjusting the acceleration transducer according to the presupposed information.
7. falling adjusting apparatus according to the claim 6, which is characterized in that the presupposed information includes when falling It is long;In terms of the range for adjusting the acceleration transducer according to the presupposed information, the adjustment unit is specifically used for:
The first range set of the preset acceleration transducer is obtained, the first range set includes falling duration and amount Correspondence between journey;
The first range set is inquired according to the duration that falls, falls the target range of duration adaptation described in determination;
The range of the acceleration transducer is adjusted according to the target range.
8. falling adjusting apparatus according to the claim 7, which is characterized in that the electronics dress a length of when falling It sets and detects drop-out time in real time.
9. falling adjusting apparatus according to the claim 7, which is characterized in that the electronics dress a length of when falling It sets and actually falls duration according to fall that initial time and drop impact time determines.
10. falling adjusting apparatus according to the claim 6, which is characterized in that the presupposed information includes scene letter Breath, the scene information includes the application program of the current horizontal/vertical screen state and front stage operation of the electronic device;At described In terms of the range for adjusting the acceleration transducer according to the presupposed information, the adjustment unit is specifically used for:
The second range set of the preset acceleration transducer is obtained, the second range set includes scene information and amount Correspondence between journey;
The second range set is inquired according to the scene information, falls the target range of duration adaptation described in determination;
The range of the acceleration transducer is adjusted according to the target range.
11. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in method as described in any one in claim 1-5.
12. a kind of computer readable storage medium, which is characterized in that computer program of the storage for electronic data interchange, In, the computer program makes computer execute method as described in any one in claim 1-5.
CN201810398459.XA 2018-04-27 2018-04-27 Fall adjustment method and related product Active CN108777738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810398459.XA CN108777738B (en) 2018-04-27 2018-04-27 Fall adjustment method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810398459.XA CN108777738B (en) 2018-04-27 2018-04-27 Fall adjustment method and related product

Publications (2)

Publication Number Publication Date
CN108777738A true CN108777738A (en) 2018-11-09
CN108777738B CN108777738B (en) 2020-06-16

Family

ID=64026742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810398459.XA Active CN108777738B (en) 2018-04-27 2018-04-27 Fall adjustment method and related product

Country Status (1)

Country Link
CN (1) CN108777738B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209335A (en) * 2019-05-08 2019-09-06 珠海格力电器股份有限公司 The control method and device of intelligent terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009192417A (en) * 2008-02-15 2009-08-27 Panasonic Corp Fall detector and mobile device with the same
CN102654401A (en) * 2012-03-31 2012-09-05 江苏省东方世纪网络信息有限公司 Adaptive measurement range control method of gyroscopic sensor
CN102844643A (en) * 2010-04-19 2012-12-26 高通股份有限公司 Dynamic sensor range selection
CN103472262A (en) * 2013-09-09 2013-12-25 中国兵器工业集团第二一四研究所苏州研发中心 Parameter calibration method of range-adjustable-type MEMS accelerometer
CN107238410A (en) * 2017-06-19 2017-10-10 上海斐讯数据通信技术有限公司 A kind of wearable device and intelligence sample method
CN107289915A (en) * 2017-06-15 2017-10-24 杭州士兰微电子股份有限公司 Measurement apparatus and measuring method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009192417A (en) * 2008-02-15 2009-08-27 Panasonic Corp Fall detector and mobile device with the same
CN102844643A (en) * 2010-04-19 2012-12-26 高通股份有限公司 Dynamic sensor range selection
CN102654401A (en) * 2012-03-31 2012-09-05 江苏省东方世纪网络信息有限公司 Adaptive measurement range control method of gyroscopic sensor
CN103472262A (en) * 2013-09-09 2013-12-25 中国兵器工业集团第二一四研究所苏州研发中心 Parameter calibration method of range-adjustable-type MEMS accelerometer
CN107289915A (en) * 2017-06-15 2017-10-24 杭州士兰微电子股份有限公司 Measurement apparatus and measuring method
CN107238410A (en) * 2017-06-19 2017-10-10 上海斐讯数据通信技术有限公司 A kind of wearable device and intelligence sample method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LOVE就是不明白: "《70kg的物体坠落2米的冲击力是多少》", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/1178917486108927899.HTML》 *
无: "《题目》", 《HTTPS://WWW.ZYBANG.COM/QUESTION/90137BCD01411ACC064FFD9127E8B987.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209335A (en) * 2019-05-08 2019-09-06 珠海格力电器股份有限公司 The control method and device of intelligent terminal

Also Published As

Publication number Publication date
CN108777738B (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN104679969B (en) Prevent the method and device of customer churn
CN106412249B (en) The detection method and device of drop information
CN102662474A (en) Terminal and method and device for controlling terminal
CN107038455A (en) A kind of image processing method and device
CN105242780B (en) A kind of interaction control method and device
CN108121803A (en) A kind of method and server of definite page layout
CN109361985A (en) TWS earphone wears detection method, system and electronic equipment and storage medium
CN108733797A (en) Document handling method and relevant apparatus
CN108307051A (en) Electronic device, collision data processing method and related product
CN108759892A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN109061611A (en) Proximity sensor calibration method and relevant apparatus
CN109738719A (en) Electro-static Driven Comb ESD detection method and Related product
CN110162653A (en) A kind of picture and text sort recommendations method and terminal device
CN108377293A (en) Electronic device falls control method and Related product
CN106502833A (en) Data back up method and device
CN108014492A (en) virtual reality interactive processing method and electronic device
CN110401773A (en) The control method and relevant apparatus of screen state
CN105677081B (en) A kind of touch control method and terminal device
CN108777738A (en) Fall method of adjustment and Related product
CN108600542A (en) Gyro calibiatio i method and device
CN108307065A (en) Fall reminding method and relevant device
CN108989546A (en) The proximity test method and Related product of electronic device
CN110275639B (en) Touch data processing method and device, terminal and storage medium
CN107003758A (en) ghost point processing method and user equipment
CN108184015A (en) Irregular shaped region display methods and Related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant