CN108418951A - Electronic device, date storage method and Related product - Google Patents

Electronic device, date storage method and Related product Download PDF

Info

Publication number
CN108418951A
CN108418951A CN201810101065.3A CN201810101065A CN108418951A CN 108418951 A CN108418951 A CN 108418951A CN 201810101065 A CN201810101065 A CN 201810101065A CN 108418951 A CN108418951 A CN 108418951A
Authority
CN
China
Prior art keywords
electronic device
sensor
probability
data
memory
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
CN201810101065.3A
Other languages
Chinese (zh)
Other versions
CN108418951B (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 CN201810101065.3A priority Critical patent/CN108418951B/en
Publication of CN108418951A publication Critical patent/CN108418951A/en
Application granted granted Critical
Publication of CN108418951B publication Critical patent/CN108418951B/en
Expired - Fee Related 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
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to technical field of mobile terminals, a kind of electronic device, date storage method and Related product are disclosed.Wherein, which includes first sensor, second sensor, processor and memory, wherein first sensor, in the case where electronic device is held, monitoring physiologic information;Second sensor, the acceleration information for obtaining electronic device;Processor, for determining probability that electronic device falls according to physiologic information and acceleration information;Memory, in the case where the probability fallen is higher than probability threshold value, target data to be stored in target storage space.It can be seen that implementing the embodiment of the present application, the data in electronic device can be protected, the significant data in electronic device is avoided to lose or damage due to falling.

Description

Electronic device, date storage method and Related product
Technical field
This application involves a kind of technical field of mobile terminals more particularly to electronic device, date storage method and related productions Product.
Background technology
With the development of mobile terminal technology, mobile terminal plays increasingly important role in people's lives. In life, it is more and more convenient the activity such as to be paid, handled official business using mobile terminal.
However, during user's hand-held mobile terminal operates, mobile terminal easily falls, to cause The damage of screen, camera or button etc..In addition to this, for mobile terminal after damage, the data in mobile terminal may also It can lose or damage.Thus, the data in mobile terminal how are protected in the case where falling, and are become one and urgently to be resolved hurrily are asked Topic.
Invention content
The embodiment of the present application provides a kind of electronic device, date storage method and Related product, electronics can be protected to fill Data in setting avoid the significant data in electronic device from losing or damage due to falling.
In a first aspect, the embodiment of the present application provides a kind of electronic device, the electronic device includes first sensor, Two sensors, processor and memory, wherein
The first sensor, in the case where the electronic device is held, monitoring physiologic information;
The second sensor, the acceleration information for obtaining the electronic device;
The processor, for determining that the electronic device occurs according to the physiologic information and the acceleration information The probability fallen;
The memory, in the case where the probability fallen is higher than probability threshold value, target data to be protected It is stored in target storage space.
Second aspect, the embodiment of the present application provide a kind of date storage method, are applied to include first sensor, second The electronic device of sensor, processor and memory, the method includes:
In the case where the electronic device is held, the first sensor monitoring physiologic information is controlled;
Control the acceleration information that the second sensor obtains the electronic device;
The probability that the electronic device falls is determined according to the physiologic information and the acceleration information;
In the case where the probability fallen is higher than probability threshold value, controls the memory and preserve target data In target storage space.
The third aspect, the embodiment of the present application provide a kind of data storage device, are applied to include first sensor, second The electronic device of sensor, processor and memory, the data storage device include monitoring unit, acquiring unit, determination Unit and storage unit, wherein
The monitoring unit, in the case where the electronic device is held, controlling the first sensor monitoring Physiologic information;
The acquiring unit obtains the acceleration information of the electronic device for controlling the second sensor;
The determination unit, for determining that the electronic device is sent out according to the physiologic information and the acceleration information The raw probability fallen;
The storage unit, in the case where the probability fallen is higher than probability threshold value, being deposited described in control Target data is stored in target storage space by reservoir.
Fourth aspect, the embodiment of the present application provide a kind of electronic device, 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 second aspect either method.
5th 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 second aspect either method.
6th 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 second aspect either method.The computer program product It can be a software installation packet.
In the embodiment of the present application, electronic device includes first sensor, second sensor, processor and memory, In, first sensor, in the case where electronic device is held, monitoring physiologic information;Second sensor, for obtaining electricity The acceleration information of sub-device;Processor, for determining that electronic device falls according to physiologic information and acceleration information Probability;Memory, in the case where the probability fallen being higher than probability threshold value, target data being stored in target and is deposited It stores up in space.It can be seen that implementing the embodiment of the present application, the probability that can fall in electronic device is higher, More important data are stored in not easily damaged target storage space, if electronic device is damaged due to falling later, Data in target storage space can be read out more conveniently so that user subsequently uses, to protect in electronic device Data, avoid the significant data in electronic device from losing or damage due to falling.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of structural schematic diagram of electronic device disclosed in the embodiment of the present application;
Fig. 2 is a kind of schematic diagram of a scenario of user's gripping mobile phone disclosed in the embodiment of the present application;
Fig. 3 is the structural schematic diagram of another electronic device disclosed in the embodiment of the present application;
Fig. 4 shows for the interaction of a kind of electronic device and heart rate sensor and blood pressure sensor disclosed in the embodiment of the present application It is intended to;
Fig. 5 is the structural schematic diagram of another electronic device disclosed in the embodiment of the present application;
Fig. 6 is a kind of flow diagram of date storage method disclosed in the embodiment of the present application;
Fig. 7 is a kind of structure function block diagram of data storage device disclosed in the embodiment of the present application;
Fig. 8 is the structural schematic diagram of another electronic device disclosed in the embodiment of the present application;
Fig. 9 A are the structural schematic diagram of another electronic device disclosed in the embodiment of the present application;
Fig. 9 B are a kind of structural schematic diagram of gravity sensor disclosed in the embodiment of the present application.
Specific implementation mode
In order to keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to the application make into It is described in detail to one step, it is clear that described embodiment is only the application some embodiments, rather than whole implementation Example.Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, 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, meaning Figure, which is to cover, non-exclusive includes.Such as contain process, method, system, product or the equipment of series of steps or unit The step of being not limited to list or unit, but further include the steps that optionally not listing or unit, or optionally also Include for other intrinsic steps of these processes, method 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 device 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 device.
The embodiment of the present application provides a kind of electronic device, date storage method and Related product, can be in electronic device In the case of the probability that falls is higher, more important data are stored in not easily damaged target storage space, it If electronic device is damaged due to falling afterwards, the data in target storage space can more conveniently read out for user It is follow-up to use, to protect the data in electronic device, the significant data in electronic device is avoided to lose or damage due to falling It is bad.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of structural schematic diagram of electronic device 100 disclosed in the embodiment of the present application, electronic device 100 include first sensor 110, second sensor 120, processor 130 and memory 140, wherein first sensor 110, Second sensor 120, processor 130 and memory 140 can be connected by bus, so as to communicate.
In the embodiment of the present application, first sensor 110, in the case where electronic device 100 is held, monitoring physiology Information;
Second sensor 120, the acceleration information for obtaining electronic device 100;
Processor 130, for determining that electronic device 100 falls general according to physiologic information and acceleration information Rate;
Memory 140, in the case where the above-mentioned probability fallen is higher than probability threshold value, target data to be preserved In target storage space.
In the embodiment of the present application, first sensor 110 can monitor and use in the case where electronic device 100 is held by a user The physiologic information at family, the physiologic information may include that user's palmic rate, pressure value etc. can be true by these physiologic informations User is determined when using electronic device 100, and whether mood is stablized.For example, if electronic device 100 is mobile phone, figure is please referred to 2, Fig. 2 hold the schematic diagram of a scenario of mobile phone for a kind of user disclosed in the embodiment of the present application.As shown in Fig. 2, first sensor 110 It is configurable on the surface of mobile phone, to which, when making a phone call using mobile phone, first sensor 110 passes through the skin with user in user Contact, to acquire the physiologic information of user, which includes the palmic rate and pressure value of user;Mobile phone passes through monitoring The palmic rate and pressure value of user, it can be determined that whether user is excited, may if the mood of user is more exciting Due to losing one's temper and by electronic device falling.
In the embodiment of the present application, second sensor 120 can be that gravity sensor, acceleration transducer and gyroscope etc. can To obtain the sensor of the acceleration information of electronic device 100, which kind of sensor, the embodiment of the present application is specifically used not to limit It is fixed.
In the embodiment of the present application, processor 130 can be according to the physiologic information and electronic device 100 of the user got Acceleration information determine the probability that electronic device falls;Wherein, acceleration information can reflect electronic device relative to The motion conditions on static ground, such as, if it is aggressively shaken by user;The case where electronic device 100 is aggressively shaken by user Under, the probability fallen is higher.
In the embodiment of the present application, target storage space corresponds to special physical memory cell, the physical memory cell Physical hardness is larger, thus is not easy to damage in the case where falling, and the physical memory cell can have general number According to coffret, thus in the case where electronic device 100 damages, which can individually take out, and easily It is read out and uses using various data transmission interfaces and operating system platform.
Thus, memory 140, will be in electronic device 100 in the case where the probability that electronic device 100 falls is larger Target data be stored among target storage space, to protect the data safety of target data, and facilitate user follow-up Read and use target data.
It should be noted that above-mentioned physical memory cell can be the hardware configuration for including in memory 140, or it is independent In the hardware configuration of memory 140, memory 140, which can control, stores data in the hardware configuration.Which kind of side specifically used Formula, the embodiment of the present application do not limit.
In the embodiment of the present application, target data is stored to before target storage space in memory 140, processor 130 Data in electronic device 100 can be screened, to filter out target data.
As an alternative embodiment, processor 130 can obtain the frequency of use of data in electronic device 100, The data of frequency of use overfrequency threshold value are determined as target data.
Further, processor 130 is determining that probability that electronic device 100 falls is higher than the feelings of predetermined probabilities threshold value Under condition, the time interval that current time drops to electronic device 100 between the moment of ground can also be predicted, according between the time Every and data preserve and determine the data volume of target data to the memory rate of target storage space;Wherein, between the above-mentioned time Every longer, and/or, above-mentioned memory rate is higher, then target data amount can be bigger.
As another optional embodiment, the data that user can be in advance by desired reservation are selected as target data, To which in the case where that may fall, target data is directly stored in target storage space by memory 140.
Referring to Fig. 3, Fig. 3 is the structural schematic diagram of another electronic device 100 disclosed in the embodiment of the present application.Such as Fig. 3 Shown, first sensor 110 includes heart rate sensor 111 and blood pressure sensor 112.Wherein, in terms of monitoring physiologic information, First sensor 110 is specifically used for monitoring the palmic rate of user by heart rate sensor 111, and passes through blood pressure sensor The pressure value of 112 monitoring users.
In this embodiment, determining what electronic device 100 fell according to physiologic information and acceleration information In terms of probability, processor 130 is specifically used for:The degree that has intense feelings of user is determined according to palmic rate and pressure value;According to feelings Thread severity and acceleration information determine the probability that electronic device falls;Wherein, the degree that has intense feelings is higher, occurs The probability fallen is higher;Acceleration information is bigger, and the probability fallen is higher.
In this embodiment, the degree that has intense feelings of user is higher, and electronics dress may be more dropped due to losing one's temper It sets;And the acceleration of electronic device is larger, then illustrates that user is being aggressively shaken electronic device or electronic device was falling Cheng Zhong;Thus, processor 130 considers the acceleration information of have intense feelings degree and the electronic device of user, to accurate Ground assessment obtains the probability that electronic device falls.
It should be noted that heart rate sensor 111 and blood pressure sensor 112 can be separately positioned with electronic device 100 Self-contained unit;For example, user wears Intelligent garment, and heart rate sensor 111 and blood pressure are provided in Intelligent garment Sensor 112, electronic device 100 with heart rate sensor 111 and blood pressure sensor 112 by carrying out data interaction, to obtain Take the palmic rate and pressure value of the user that the sensor gets.
Referring to Fig. 4, Fig. 4 senses for a kind of electronic device disclosed in the embodiment of the present application with heart rate sensor and blood pressure The interaction schematic diagram of device.As shown in figure 4, electronic device 100 monitor user hold electronic device in the case of, to above-mentioned biography Sensor sends control instruction, and the palmic rate and pressure value of acquisition user are waken up and started to control the sensor;Later The physiologic information data got are sent to electronic device 100 by sensor.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another electronic device 100 disclosed in the embodiment of the present application.Such as Fig. 5 Shown, electronic device 100 further includes loud speaker 150, and loud speaker 150 can also be connect with bus, to, first sensor 110, Second sensor 120, processor 130, memory 140 and loud speaker 150 can be in communication with each other.
In the embodiment of the present application, processor 130 is additionally operable to select background music according to the degree that has intense feelings of user, and Generate the prompt message for including the background music;Loud speaker 150, for there is a situation where the probability fallen be higher than probability threshold value Under, above-mentioned prompt message is exported, to prompt user that electronic device 100 is avoided to fall.Wherein, above-mentioned background music can releive Music, to help user's relieving mood.
It can be seen that using Fig. 1, Fig. 3 or shown in fig. 5 electronic device, it can be in the probability that electronic device falls In the case of higher, more important data are stored in not easily damaged target storage space, if later electronic device by It damages in falling, the data in target storage space can be read out more conveniently so that user subsequently uses, to The data in electronic device are protected, the significant data in electronic device is avoided to lose or damage due to falling.
Referring to Fig. 6, Fig. 6 is a kind of flow diagram of date storage method disclosed in the embodiment of the present application.The data Storage method can be applied to the electronic device with first sensor, second sensor, processor and memory, this method It may comprise steps of:
601, in the case where electronic device is held, control first sensor monitors physiologic information.
In the embodiment of the present application, first sensor may include heart rate sensor and blood pressure sensor.Wherein, it is monitoring In terms of physiologic information, first sensor is specifically used for monitoring the palmic rate of user by heart rate sensor, and passes through blood pressure The pressure value of Sensor monitoring user.
Pass through these physiologic informations, it may be determined that whether user when using electronic device, stablize by mood.For example, If electronic device is mobile phone, in user when being made a phone call using mobile phone, first sensor by the skin contact with user, to The physiologic information of user is acquired, which includes the palmic rate and pressure value of user;The heart that mobile phone passes through monitoring user Frequency hopping rate and pressure value, it can be determined that whether user is excited, may be due to mood if the mood of user is more exciting It is out of control and by electronic device falling.
602, control second sensor obtains the acceleration information of electronic device.
In the embodiment of the present application, second sensor can be that gravity sensor, acceleration transducer and gyroscope etc. can be with The sensor of the acceleration information of electronic device is obtained, which kind of sensor, the embodiment of the present application is specifically used not to limit.
In the embodiment of the present application, electronic device can be according to the physiologic information of the user got and adding for electronic device Velocity information determines the probability that electronic device falls;Wherein, acceleration information can reflect electronic device relative to static The motion conditions on ground, such as, if it is aggressively shaken by user;In the case where electronic device is aggressively shaken by user, hair The raw probability fallen is higher.
603, probability that electronic device falls is determined according to physiologic information and acceleration information.
Specifically, the degree that has intense feelings of user is determined according to palmic rate and pressure value;According to the degree of having intense feelings with And acceleration information determines the probability that electronic device falls;Wherein, the degree that has intense feelings is higher, and the probability fallen is got over It is high;Acceleration information is bigger, and the probability fallen is higher.
In this embodiment, the degree that has intense feelings of user is higher, and electronics dress may be more dropped due to losing one's temper It sets;And the acceleration of electronic device is larger, then illustrates that user is being aggressively shaken electronic device or electronic device was falling Cheng Zhong;Thus, electronic device considers the acceleration information of have intense feelings degree and the electronic device of user, to accurately Assessment obtains the probability that electronic device falls.
604, in the case where the probability fallen is higher than probability threshold value, target data is stored in mesh by control memory It marks in memory space.
As an alternative embodiment, electronic device can obtain the frequency of use of data in the present apparatus, will use The data of frequency overfrequency threshold value are determined as target data.
Further, electronic device is determining that there is a situation where the probability fallen to be higher than predetermined probabilities threshold value for electronic device Under, can also predict the time interval that current time to electronic device dropped between the moment of ground, according to the time interval with And data preserve the data volume that target data is determined to the memory rate of target storage space;Wherein, above-mentioned time interval is got over It is long, and/or, above-mentioned memory rate is higher, then target data amount can be bigger.
In the embodiment of the present application, target storage space corresponds to special physical memory cell, the physical memory cell Physical hardness is larger, thus is not easy to damage in the case where falling, and the physical memory cell can have general number According to coffret, thus in the case where electronic device damages, which can individually take out, and easily utilize Various data transmission interfaces and operating system platform are read out and use.
It can be seen that using method described in Fig. 6, the higher situation of probability that can fall in electronic device Under, more important data are stored in not easily damaged target storage space, if electronic device is damaged due to falling later Bad, the data in target storage space can be read out more conveniently so that user subsequently uses, to protect electronics to fill Data in setting avoid the significant data in electronic device from losing or damage due to falling.
Referring to Fig. 7, Fig. 7 is a kind of structure function block diagram of data storage device disclosed in the embodiment of the present application.The number According to the electronic device that storage device can be applied to have first sensor, second sensor, processor and memory, the number Include monitoring unit 701, acquiring unit 702, determination unit 703 and storage unit 704 according to storage device 700, wherein
Monitoring unit 701, in the case where electronic device is held, control first sensor to monitor physiologic information;
Acquiring unit 702 obtains the acceleration information of electronic device for controlling second sensor;
Determination unit 703, for determining probability that electronic device falls according to physiologic information and acceleration information;
Storage unit 704, in the case where the probability fallen is higher than probability threshold value, control memory to be by target Data are stored in target storage space.
It is understood that data storage device, in order to realize above-mentioned function, it comprises executing, each function is corresponding Hardware configuration and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with the embodiments described herein Each exemplary unit and algorithm steps of description, the application can be come real with the combining form of hardware or hardware and computer software It is existing.Some functions is executed in a manner of hardware or computer software driving hardware actually, depends on the specific of technical solution Using and design constraint.Professional technician can to it is each specifically realized using distinct methods it is described Function, but this realization is it is not considered that exceed scope of the present application.
The embodiment of the present application can carry out data storage device according to the above method example division of functional unit, example Such as, each function can be corresponded to and divide each functional unit, two or more functions can also be integrated at one It manages in unit.The form that hardware had both may be used in above-mentioned integrated unit is realized, the form of SFU software functional unit can also be used It realizes.It should be noted that being schematical to the division of unit in the embodiment of the present application, only a kind of logic function is drawn Point, formula that in actual implementation, there may be another division manner.
As an alternative embodiment, determination unit 703 can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application-Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hardware component or Its arbitrary combination of person;And monitoring unit 701 may include that heart rate sensor and blood pressure sensor, acquiring unit 702 can be gravity Sensor, acceleration transducer or gyroscope;Storage unit 704 can be flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:Random Access Memory, referred to as:RAM), disk or CD etc..
It can be seen that using device described in Fig. 7, the higher situation of probability that can fall in electronic device Under, more important data are stored in not easily damaged target storage space, if electronic device is damaged due to falling later Bad, the data in target storage space can be read out more conveniently so that user subsequently uses, to protect electronics to fill Data in setting avoid the significant data in electronic device from losing or damage due to falling.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of another electronic device 800 disclosed in the embodiment of the present application.Electronics fills It includes that processor 801, memory 802, communication interface 803 and one or more programs, the electronic device 800 also wrap to set 800 Including first sensor and second sensor, wherein said one or multiple programs are stored in above-mentioned memory 802, and And be configured to be executed by above-mentioned processor 801, above procedure includes the instruction for executing following steps:
In the case where the electronic device is held, the first sensor monitoring physiologic information is controlled;
Control the acceleration information that the second sensor obtains the electronic device;
The probability that the electronic device falls is determined according to the physiologic information and the acceleration information;
In the case where the probability fallen is higher than probability threshold value, controls the memory and preserve target data In target storage space.
As an alternative embodiment, first sensor includes heart rate sensor and blood pressure sensor;It is controlling In terms of first sensor monitors physiologic information, above procedure includes the instruction for being specifically used for executing following steps:Control described One Sensor monitoring palmic rate and pressure value;
Probability side that the electronic device falls is being determined according to the physiologic information and the acceleration information Face, above procedure include the instruction for being specifically used for executing following steps:
The degree that has intense feelings of user is determined according to the palmic rate and the pressure value;
Degree is had intense feelings according to described and the acceleration information determines probability that the electronic device falls; Wherein, the degree that has intense feelings is higher, and the probability fallen is higher;The acceleration information is bigger, the generation The probability fallen is higher.
As an alternative embodiment, above procedure further includes the instruction for executing following steps:
Before controlling the memory and the target data is stored in the target storage space, from the electronics The target data is filtered out in the data of device.
As an alternative embodiment, filtering out the target data side in the data from the electronic device Face, above procedure include the instruction for being specifically used for executing following steps:
Obtain the frequency of use of data in the electronic device;
The data of the frequency of use overfrequency threshold value are determined as the target data.
As an alternative embodiment, the electronic device further includes loud speaker;Above procedure further includes for holding The instruction of row following steps:
Background music is selected according to the degree that has intense feelings;
In the case where the probability fallen is higher than the probability threshold value, it includes institute to control the loud speaker output The prompt message of background music is stated to prompt the user that the electronic device is avoided to fall.
It can be seen that using electronic device described in Fig. 8, the higher feelings of probability that can fall in electronic device Under condition, more important data are stored in not easily damaged target storage space, if later electronic device due to falling and It damages, the data in target storage space can be read out more conveniently so that user subsequently uses, to protect electronics Data in device avoid the significant data in electronic device from losing or damage due to falling.
Fig. 9 A are please referred to, Fig. 9 A are the structural schematic diagram of another electronic device 900 disclosed in the embodiment of the present application.Such as figure Shown in 9A, for convenience of description, illustrates only and do not disclose, ask with the relevant part of the embodiment of the present application, particular technique details With reference to the embodiment of the present application method part.The electronic device can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer etc. it is arbitrary eventually End equipment, by taking electronic device is mobile phone as an example:
Fig. 9 A show the block diagram with the part-structure of the relevant mobile phone of electronic device provided by the embodiments of the present application.Ginseng Fig. 9 A are examined, mobile phone includes:The portions such as memory 902, input unit 903, display unit 904, sensor 905 and processor 908 Part.It will be understood by those skilled in the art that handset structure shown in Fig. 9 A does not constitute the restriction to mobile phone, may include ratio More or fewer components are illustrated, certain components or different components arrangement are either combined.
Each component parts of mobile phone is specifically introduced with reference to Fig. 9 A:
Memory 902 can be used for storing software program and module, and processor 908 is stored in memory 902 by operation Software program and module, to execute various function application and the data processing of mobile phone.Memory 902 can include mainly Storing program area and storage data field, wherein storing program area can storage program area, the application journey needed at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 902 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.In the embodiment of the present application, memory 902 can be used in the case where the probability fallen is higher than probability threshold value, by mesh Mark data are stored in target storage space.
Input unit 903 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 903 may include touch panel 9031.Touch panel 9031, Also referred to as touch screen, collect user on it or neighbouring touch operation (for example user is suitble to using finger, stylus etc. are any The operation on touch panel 9031 or near touch panel 9031 of object or attachment), and according to preset formula Drive corresponding attachment device.Optionally, touch panel 9031 may include both touch detecting apparatus and touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, transmit a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing Device 908, and order that processor sets 908 are sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, red The multiple types such as outside line and surface acoustic wave realize touch panel 9031.
Display unit 904 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 904 may include display panel 9041, optionally, liquid crystal display (Liquid Crystal may be used Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 9041.Further, touch panel 9031 can cover display panel 9041, when touch panel 9031 detects on it Or after neighbouring touch operation, processor sets 908 are sent to determine the type of touch event, are followed by subsequent processing device set 908 Corresponding visual output is provided on display panel 9041 according to the type of touch event.Although in fig.9, touch panel 9031 It is to realize input and the input function of mobile phone as two independent components with display panel 9041, but in some embodiments In, can be integrated by touch panel 9031 and display panel 9041 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 905, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 9041, proximity sensor can close display panel when mobile phone is moved in one's ear 9041 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.This Apply in embodiment, sensor 905 includes gravity sensor 9051, and gravity sensor 9051 can be used for obtaining adding for electronic device Velocity information.In addition to this, sensor 905 can also include heart rate sensor 9052 and blood pressure sensor 9053, wherein the heart Rate sensor 9052 is used to obtain the palmic rate of user, and blood pressure sensor 9053 is used to obtain the pressure value of user.
Specifically, gravity sensor 9051 is used to detect direction and the size of acceleration, is equivalent to the movement of detection mobile phone State, is mainly the variation of sense accelerations, for example shakes, falls, the various mobile variations such as up and down, later will plus Speed data is converted into electric signal, after then being analyzed by the calculating of microprocessor, it will be able to complete the good function of programming. On smart mobile phone, gravity sensor 9051 can not only work independently, and can also be cooperateed with together with geomagnetic sensor, gyroscope Work provides more accurate and comprehensive action induction ability.
Please refer to Fig. 9 B, Fig. 9 B are a kind of structural schematic diagram of gravity sensor 9051 disclosed in the embodiment of the present application.Such as Shown in Fig. 9 B, substrate is made with silica in gravity sensor 9051, and the first capacitance C1 and second is mainly provided on substrate Capacitance C2, since the capacitance size and distance between plates of plane-parallel capacitor are inversely proportional, by detecting capacitance variations, you can calculate To the acceleration magnitude in acceleration induction direction;Meanwhile spring (spring) and shake are provided on the direction of acceleration induction Kinoplaszm amount (seismic mass) to make the pole plate of capacitor form displacement when there are acceleration, and is accelerating Degree makes the pole plate of capacitor set back when removing.It is understood that there are cabling (wiring) and pads (bondpad) capacitor is connected, so that the signal of capacitance variation can be transferred to other devices to carry out data processing.
Processor 908 is the control centre of mobile phone, and processor 908 is each using various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in memory 902, and calls and is stored in storage Data in device 902 execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, it handles Device 908 may include one or more processing units;Preferably, processor 908 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 908.The application is real It applies in example, processor 908 can determine the probability that electronic device falls according to physiologic information and acceleration information.
Although being not shown, mobile phone can also include radio circuit, Wireless Fidelity (Wireless Fidelity, WiFi) Module, bluetooth module etc., details are not described herein.
In aforementioned embodiment shown in fig. 6, each step method flow can be realized based on the structure of the mobile phone.
In aforementioned embodiment shown in Fig. 7, each unit function can be realized based on the structure of the mobile phone.
It can be seen that using mobile phone described in Fig. 9 A, the higher situation of probability that can fall in electronic device Under, more important data are stored in not easily damaged target storage space, if electronic device is damaged due to falling later Bad, the data in target storage space can be read out more conveniently so that user subsequently uses, to protect electronics to fill Data in setting avoid the significant data in electronic device from losing or damage due to falling.
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 application is not limited by the described action sequence because According to the application, 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, involved action and module not necessarily the application 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, said units 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 above-mentioned 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 application 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 above-mentioned 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, the technical solution of the application 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 above method of the application Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), 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 (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as: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 application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (13)

1. a kind of electronic device, which is characterized in that the electronic device include first sensor, second sensor, processor with And memory, wherein
The first sensor, in the case where the electronic device is held, monitoring physiologic information;
The second sensor, the acceleration information for obtaining the electronic device;
The processor, for determining that the electronic device falls according to the physiologic information and the acceleration information Probability;
The memory, in the case where the probability fallen is higher than probability threshold value, target data to be stored in In target storage space.
2. electronic device according to claim 1, which is characterized in that the first sensor include heart rate sensor and Blood pressure sensor;
In terms of the monitoring physiologic information, the first sensor is specifically used for monitoring palmic rate and pressure value;
In the probability side for determining that according to the physiologic information and the acceleration information, the electronic device falls Face, the processor, is specifically used for:
The degree that has intense feelings of user is determined according to the palmic rate and the pressure value;
Degree is had intense feelings according to described and the acceleration information determines probability that the electronic device falls;Its In, the degree that has intense feelings is higher, and the probability fallen is higher;The acceleration information is bigger, described to fall The probability fallen is higher.
3. electronic device according to claim 2, which is characterized in that
The processor is additionally operable to before the target data is stored in the target storage space by the memory, The target data is filtered out from the data of the electronic device.
4. electronic device according to claim 3, which is characterized in that screened from the data of the electronic device described In terms of going out the target data, the processor is specifically used for:
Obtain the frequency of use of data in the electronic device;
The data of the frequency of use overfrequency threshold value are determined as the target data.
5. the electronic device according to any one of claim 2~4, which is characterized in that the electronic device further includes Loud speaker;
The processor is additionally operable to the degree selection background music that has intense feelings according to;
The loud speaker, in the case where the probability fallen is higher than the probability threshold value, output to be comprising described The prompt message of background music is to prompt the user that the electronic device is avoided to fall.
6. a kind of date storage method, which is characterized in that be applied to include first sensor, second sensor, processor and The electronic device of memory, the method includes:
In the case where the electronic device is held, the first sensor monitoring physiologic information is controlled;
Control the acceleration information that the second sensor obtains the electronic device;
The probability that the electronic device falls is determined according to the physiologic information and the acceleration information;
In the case where the probability fallen is higher than probability threshold value, controls the memory and target data is stored in mesh It marks in memory space.
7. according to the method described in claim 6, it is characterized in that, the first sensor includes heart rate sensor and blood pressure Sensor;
The control first sensor monitors physiologic information, including:
Control the first sensor monitoring palmic rate and pressure value;
The probability for determining that the electronic device falls according to the physiologic information and the acceleration information, packet It includes:
The degree that has intense feelings of user is determined according to the palmic rate and the pressure value;
Degree is had intense feelings according to described and the acceleration information determines probability that the electronic device falls;Its In, the degree that has intense feelings is higher, and the probability fallen is higher;The acceleration information is bigger, described to fall The probability fallen is higher.
8. the method according to the description of claim 7 is characterized in that the method further includes:
Before controlling the memory and the target data is stored in the target storage space, from the electronic device Data in filter out the target data.
9. according to the method described in claim 8, it is characterized in that, it is described filtered out from the data of the electronic device it is described Target data, including:
Obtain the frequency of use of data in the electronic device;
The data of the frequency of use overfrequency threshold value are determined as the target data.
10. the method according to any one of claim 7~9, which is characterized in that the electronic device further includes raising one's voice Device;
The method further includes:
Background music is selected according to the degree that has intense feelings;
In the case where the probability fallen is higher than the probability threshold value, it includes the back of the body to control the loud speaker output The prompt message of scape music is to prompt the user that the electronic device is avoided to fall.
11. a kind of data storage device, which is characterized in that be applied to include first sensor, second sensor, processor and The electronic device of memory, the data storage device include monitoring unit, acquiring unit, determination unit and storage unit, Wherein,
The monitoring unit monitors physiology in the case where the electronic device is held, controlling the first sensor Information;
The acquiring unit obtains the acceleration information of the electronic device for controlling the second sensor;
The determination unit, for determining that the electronic device falls according to the physiologic information and the acceleration information The probability fallen;
The storage unit, in the case where the probability fallen is higher than probability threshold value, controlling the memory Target data is stored in target storage space.
12. a kind of electronic device, 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 It includes for executing the instruction such as the step in claim 6-10 any one of them methods.
13. 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 such as claim 6-10 any one of them methods.
CN201810101065.3A 2018-01-30 2018-01-30 Electronic device, data storage method and related product Expired - Fee Related CN108418951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810101065.3A CN108418951B (en) 2018-01-30 2018-01-30 Electronic device, data storage method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810101065.3A CN108418951B (en) 2018-01-30 2018-01-30 Electronic device, data storage method and related product

Publications (2)

Publication Number Publication Date
CN108418951A true CN108418951A (en) 2018-08-17
CN108418951B CN108418951B (en) 2021-04-09

Family

ID=63127546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810101065.3A Expired - Fee Related CN108418951B (en) 2018-01-30 2018-01-30 Electronic device, data storage method and related product

Country Status (1)

Country Link
CN (1) CN108418951B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040459A (en) * 2018-08-27 2018-12-18 维沃移动通信有限公司 A kind of control method and terminal device of terminal device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685324A (en) * 2012-04-23 2012-09-19 华为终端有限公司 Automatic data backup method and device
CN103428901A (en) * 2012-05-15 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and data protection method thereof
US20140155761A1 (en) * 2012-12-04 2014-06-05 Chien-Yuan Yang Physiological detection device
CN105245701A (en) * 2015-09-25 2016-01-13 上海斐讯数据通信技术有限公司 Data protection system and data protection method for mobile terminal
CN105893185A (en) * 2016-03-31 2016-08-24 广东欧珀移动通信有限公司 Data backup method and device
CN106037749A (en) * 2016-05-18 2016-10-26 武汉大学 Old people falling monitoring method based on smart mobile phone and wearable device
CN106465459A (en) * 2014-10-15 2017-02-22 华为技术有限公司 Method for detecting fall-off of wearable device, and wearable device
CN106999108A (en) * 2014-12-10 2017-08-01 皇家飞利浦有限公司 System and method for falling detection

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685324A (en) * 2012-04-23 2012-09-19 华为终端有限公司 Automatic data backup method and device
CN103428901A (en) * 2012-05-15 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and data protection method thereof
US20140155761A1 (en) * 2012-12-04 2014-06-05 Chien-Yuan Yang Physiological detection device
CN106465459A (en) * 2014-10-15 2017-02-22 华为技术有限公司 Method for detecting fall-off of wearable device, and wearable device
CN106999108A (en) * 2014-12-10 2017-08-01 皇家飞利浦有限公司 System and method for falling detection
CN105245701A (en) * 2015-09-25 2016-01-13 上海斐讯数据通信技术有限公司 Data protection system and data protection method for mobile terminal
CN105893185A (en) * 2016-03-31 2016-08-24 广东欧珀移动通信有限公司 Data backup method and device
CN106037749A (en) * 2016-05-18 2016-10-26 武汉大学 Old people falling monitoring method based on smart mobile phone and wearable device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040459A (en) * 2018-08-27 2018-12-18 维沃移动通信有限公司 A kind of control method and terminal device of terminal device

Also Published As

Publication number Publication date
CN108418951B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
EP3096210B1 (en) Method and apparatus for processing input using touch screen
CN107731146A (en) Brightness adjusting method and related product
CN107257949A (en) Processing method of touch and the electronic equipment for supporting this method
CN106462198A (en) Electronic device, method of providing interface of the same, and accessory for the same
CN108376017A (en) Method for controlling display and electronic equipment
CN110365853B (en) Prompting method and electronic equipment
CN106060254A (en) Incoming call answering method for mobile terminal and mobile terminal
CN107111335A (en) For the operation that controls electronic installation method and use its electronic installation
CN107767839A (en) Brightness adjusting method and related product
CN106463897A (en) Apparatus and method for preventing malfunction in an electronic device
CN111078521A (en) Abnormal event analysis method, device, equipment, system and storage medium
CN108289151A (en) A kind of operating method and mobile terminal of application program
CN109803429A (en) RRM measurement control method, mobile communication terminal and the network side equipment of adjacent cell
CN110267145A (en) A kind of state display method and terminal device
CN108307055B (en) Electronic device, the guard method fallen and Related product
CN108536349A (en) A kind of icon management method and mobile terminal
CN108196781A (en) The display methods and mobile terminal at interface
CN108390985A (en) Electronic device, display screen detection method and related product
CN108418951A (en) Electronic device, date storage method and Related product
CN112612552A (en) Application program resource loading method and device, electronic equipment and readable storage medium
CN108196663A (en) A kind of face identification method, mobile terminal
CN108038359A (en) Unlocking method and related product
CN108200290A (en) Electronic device falls damage bad determinations method and Related product
CN108680181B (en) Wireless earphone, step counting method based on earphone detection and related product
CN104516803B (en) A kind of electronic equipment information monitoring method, system and electronic equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: No.18, Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210409