CN108377295A - Electronic device falls date storage method and Related product - Google Patents

Electronic device falls date storage method and Related product Download PDF

Info

Publication number
CN108377295A
CN108377295A CN201810094117.9A CN201810094117A CN108377295A CN 108377295 A CN108377295 A CN 108377295A CN 201810094117 A CN201810094117 A CN 201810094117A CN 108377295 A CN108377295 A CN 108377295A
Authority
CN
China
Prior art keywords
electronic device
data
falling
memory
encrypted 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
CN201810094117.9A
Other languages
Chinese (zh)
Other versions
CN108377295B (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 CN201810094117.9A priority Critical patent/CN108377295B/en
Publication of CN108377295A publication Critical patent/CN108377295A/en
Application granted granted Critical
Publication of CN108377295B publication Critical patent/CN108377295B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • 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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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

Abstract

The embodiment of the present application discloses a kind of electronic device, falls date storage method and Related product, which includes sensor, processor and encrypted memory, and whether sensor is for detection electronic installation in falling state;Processor be used for when sensor detect electronic device be in fall state when, acquisition electronic device, which is in when falling state, falls data;And it is stored in encrypted memory for data will to be fallen, wherein the data that encrypted memory stores in forbidding to encrypted memory after selling are modified.Implement the embodiment of the present application, the safety for falling data of storage can be improved.

Description

Electronic device falls date storage method and Related product
Technical field
This application involves fields of communication technology, and in particular to a kind of electronic device falls date storage method and correlation Product.
Background technology
The shortcomings that gradual with electronic devices such as mobile phones is popularized, and mobile phone is easy to be broken is also more and more prominent.Currently, can With the damaged condition based on the data analysis mobile phone in mobile phone falling process.However, there are quilts for the data in mobile phone falling process The risk distorted.
Invention content
A kind of electronic device of the embodiment of the present application offer falls date storage method and Related product, can improve and deposit The safety for falling data of storage.
For the embodiment of the present application in a first aspect, providing a kind of electronic device, the electronic device includes sensor, processor And encrypted memory,
The sensor falls state for detecting the electronic device and whether being in;
The processor, for when the sensor detect the electronic device be in fall state when, described in acquisition Electronic device, which is in when falling state, falls data;And for the data of falling to be stored in the encrypted memory, Wherein, the data that the encrypted memory stores in forbidding to the encrypted memory after selling are modified.
The embodiment of the present application second aspect provides one kind and falling date storage method, is applied to electronic device, including:
It detects the electronic device and whether is in and fall state;
When detect the electronic device be in fall state when, acquire the electronic device and be in falling when falling state Fall data;
By the encrypted memory fallen data and be stored in the electronic device, wherein the encrypted memory is being sent out The data to being stored in the encrypted memory are forbidden to modify after selling.
The embodiment of the present application third aspect provides one kind and falling data storage device, is applied to electronic device, including:
Detection unit falls state for detecting the electronic device and whether being in;
Collecting unit, for when the detection unit detect the electronic device be in fall state when, described in acquisition Electronic device, which is in when falling state, falls data;
Storage unit, for by the encrypted memory fallen data and be stored in the electronic device, wherein it is described plus The data that close memory stores in forbidding to the encrypted memory after selling are modified.
The embodiment of the present application fourth aspect, provides 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.
The 5th aspect of the embodiment of the present application, provides 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.
The 6th aspect of the embodiment of the present application, provides 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 sensor, processor and encrypted memory, and sensor is for detecting electricity Whether sub-device, which is in, is fallen state;Processor be used for when sensor detect electronic device be in fall state when, acquisition electricity Sub-device, which is in when falling state, falls data;Processor is additionally operable to that the encryption storage that data are stored in electronic device will be fallen Device, wherein the data that encrypted memory stores in forbidding to encrypted memory after selling are modified.Due to falling data It is stored in encrypted memory, the data that encrypted memory stores in forbidding to encrypted memory after selling are modified, The user of electronic device can not modify to the data in encrypted memory.Falling for the interior storage of encrypted memory can be improved Fall the safety of data.Further, it can not be changed due to falling data, it is ensured that fall the authenticity of data, it can be with Based on the assignment value for falling data and accurately estimating electronic device.Improve the accuracy of the assignment value estimation of electronic device.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of structural schematic diagram of electronic device disclosed in the embodiment of the present application;
Fig. 2 is the structural schematic diagram of another electronic device disclosed in the embodiment of the present application;
Fig. 3 is a kind of flow diagram falling date storage method disclosed in the embodiment of the present application;
Fig. 4 is another flow diagram for falling date storage method disclosed in the embodiment of the present application;
Fig. 5 is another flow diagram for falling date storage method disclosed in the embodiment of the present application;
Fig. 6 is a kind of structural schematic diagram falling data storage device disclosed in the embodiment of the present application;
Fig. 7 is the structural schematic diagram of another electronic device disclosed in the embodiment 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 it contains process, system, product or the equipment of series of steps or unit and does not limit In the step of having listed or unit, but further include the steps that optionally do not list or unit, or further include optionally for Other intrinsic steps of these processes, 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 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.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is a kind of structural schematic diagram of electronic device disclosed in the embodiment of the present application.As shown in Figure 1, The electronic device 100 includes sensor 11, processor 12 and encrypted memory 13, wherein:
Sensor 11 falls state for whether detection electronic installation 100 to be in.
Processor 12, for when sensor 11 detect electronic device 100 be in fall state when, acquire electronic device 100 in fall state when fall data.
Processor 12 is additionally operable to that the encrypted memory 13 that data are stored in electronic device 100 will be fallen, wherein encryption is deposited The data that reservoir 13 stores in forbidding to encrypted memory 13 after selling are modified.
In the embodiment of the present application, sensor 11 includes at least acceleration transducer, and sensor 11 can also include infrared biography Sensor, gravity sensor, gyro sensor, magnetometric sensor, direction sensor, light sensing sensor, pressure sensor, It is one or more in temperature sensor, proximity sensor.Wherein, acceleration transducer can with detection electronic installation 100 whether In falling state.Specifically, acceleration transducer detection electronic installation 100 whether in falling state be specially:Acceleration The acceleration magnitude of sensor detection electronic installation 100, when the acceleration for detecting electronic device 100 is acceleration of gravity (example Such as, g=9.8m/s2), and when electronic device 100 acceleration be acceleration of gravity duration meet or exceed it is default When duration, it is determined that electronic device 100, which is in, falls state.For example, preset duration could be provided as 0.1 second or 0.2 Second.It should be noted that the size of preset duration can fall speed and determine according to the initial of electronic device 100.It is general and Speech, the initial of electronic device 100 fall that speed is bigger, and preset duration is smaller.
It may include falling speed, falling acceleration, falling height, fall direction, fall for electronic device 100 to fall data Scene before falling, when falling electronic device 100 whether in bright screen state, fall when electronic device 100 in virtual key be It is no by touch-control, fall when electronic device 100 in physical button whether be pressed.
For example, processor 12 can acquire falling speed and falling for electronic device 100 by acceleration transducer Acceleration.What processor 12 can be acquired according to acceleration transducer falls speed and falls acceleration calculation electronic device 100 Fall duration.Processor 12 can fall direction by direction sensor acquisition electronic device 100.Processor 12 can lead to Cross the falling height of infrared sensor acquisition electronic device 100.
Scene before falling may include falling whether preceding electronic device 100 is in mobile status, falls preceding electronic device Environmental light brightness residing for 100.Wherein, electronic device 100 is before processor 12 can be fallen by gyro sensor detection It is no to be in mobile status.Processor 12 can detect the environment bright fallen residing for preceding electronic device by light sensing sensor Degree.
Processor 12 can detect when whether electronic device 100 when falling is in bright screen state, falls in electronic device 100 Virtual key whether by touch-control, fall when electronic device 100 in physical button whether be pressed.
Wherein, encrypted memory 13 be electronic device 100 be arranged in process of production dedicated for storage electronics 100 memory for falling data.The password of encrypted memory 13 is that the production firm of electronic device 100 is pre-set, electricity The user of sub-device 100 can not obtain the password of encrypted memory 13, the password of encrypted memory 13 only by production firm and The after-sale service website cooperated with production firm obtains.Production firm and the after-sale service website cooperated with production firm can obtain Take the mapping table of the identification number and the password of corresponding encrypted memory 13 of electronic device 100.For example, if electronics Device 100 is mobile phone, and the identification number of electronic device 100 is:International Mobile Equipment Identity code (International Mobile Equipment Identity, IMEI).
Data in the falling process each time of electronic device 100 may be stored in encrypted memory 13.
Wherein, the data that encrypted memory 13 stores in forbidding to encrypted memory 13 after selling are modified.
In the embodiment of the present application, encrypted memory 13 after selling allows that data are written into encrypted memory.Specifically , when sensor 11 detect electronic device 100 be in fall state when, processor 12 will be at collected electronic device 100 Data of falling when falling state are stored in encrypted memory 13.Fall when sensor 11 detects that electronic device 100 is not at When falling state, processor 12 in normal direction encrypted memory 13 without being written data.
Encrypted memory 13 forbids the data to being stored in encrypted memory 13 to modify after selling.For example, working as When processor 12 receives data write instruction input by user or data modification instruction, the refusal of processor 12 executes.Encryption Memory 13 only sensor 11 detect electronic device 100 be in fall state when, allow processor 12 by electronic device 100 It is stored in encrypted memory 13 in collected data of falling when falling state.In the embodiment of the present application, due to falling data It is stored in encrypted memory 13, the data that encrypted memory 13 stores in forbidding to encrypted memory 13 after selling carry out Modification, the user of electronic device 100 can not modify to the data in encrypted memory 13.Encrypted memory can be improved The safety for falling data stored in 13.
Optionally, processor 12 are additionally operable to receive and fall data read command, fall data read command and be used for from encryption Data are fallen in the reading of memory 13.
It is communicated to connect specifically, the computer of after-sale service website can be established with electronic device 100, after-sale service website Computer to electronic device 100 transmission fall data read command, this fall in data read command carry access password, place Whether reason device 12 can be matched with authentication-access password with pre-set password, if matching, allows the meter of after-sale service website Calculation machine falls data from the reading of encrypted memory 13.Encrypted memory 13 can fall data with all of storage electronics 100. The computer of after-sale service website according to stored in encrypted memory 13 fall data to the assignment value of electronic device 100 into Row estimation, obtains the assignment value of electronic device 100.Since the data of falling in encrypted memory 13 can not be changed, encryption The authenticity for falling data in memory 13 is protected, therefore after-sale service website can accurately estimate electronic device 100 Assignment value.The accuracy of the assignment value estimation of electronic device can be improved.
Optionally, after-sale service website can also fall falling for data analysis electronic device 100 according to electronic device 100 It falls reason, fall scene, recommend the suggestion of dropproof strategy for user.For example, if electronic device 100 is falling it every time Before, virtual key shows that electronic device 100 is easy to drop during using virtual key all in by touch-control state, can The display location of virtual key is moved with recommended user, is moved to the region that user's finger facilitates contact.
Optionally, encrypted memory 13 is nonvolatile memory;
Wherein, nonvolatile memory is shatter-resistant memory.
Data in nonvolatile memory still can be kept after 100 power down of electronic device.Shatter-resistant memory can be with Prevent encrypted memory 13 from being broken after electronic device 100 falls.Can improve stored in encrypted memory 13 fall number According to reliability.Encrypted memory 13 is specifically as follows by the way of shatter-resistant processing:The surface of encrypted memory 13 is arranged Elastomeric protective material, to reduce the impact force that encrypted memory 13 is subject to after falling.
Optionally, encrypted memory 13 can be waterproof memory.
Encrypted memory 13 will not be damaged after electronic device 100 is fallen in water.
Optionally, as shown in Fig. 2, electronic device 100 further includes communication module 14, wherein:
Communication module 14 is synchronized to server for that will fall data.
Wherein, the data of falling of acquisition can be synchronized to server by electronic device 100 after falling each time. Server is used to back up the data of falling of the electronic device 100, in order to prevent the loss of the data in the electronic device 100.Clothes Business device can establish network connection with electronic device 100, for example, wireless network (for example, mobile data network, WiFi network etc.) is even It connects.Communication module 14 can be wireless communication module.
The user of electronic device 100 can not change the data in server.After-sale service website to electronic device 100 into , can be with the data of falling of the electronic device 100 stored in reference server when row value assessment, and electronic device can be compared In 100 encrypted memory 13 fall data in server the electronic device 100 whether fall data identical.If phase Together, then value assessment can be carried out to the electronic device 100.It is commented if it is not the same, can not then carry out value to the electronic device 100 Estimate.Using the embodiment of the present application, the user of the electronic device 100 can be further prevented to falling in encrypted memory 13 Data are modified.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram falling date storage method disclosed in the embodiment of the present application, it should Fall date storage method applied to the electronic device 100 in Fig. 1 to Fig. 2, as shown in figure 3, this falls date storage method packet Include following steps.
301, whether electronic device detection electronic installation, which is in, is fallen state.
In the embodiment of the present application, electronic device may include sensor, such as acceleration transducer.Electronic device detection electricity Whether sub-device is specifically as follows in the mode for falling state:Electronic device is by acceleration transducer detection electronic installation It is no to be specially in falling state:The acceleration magnitude of acceleration transducer detection electronic installation, when detecting electronic device Acceleration is acceleration of gravity (for example, g=9.8m/s2), and when the acceleration of electronic device is continuing for acceleration of gravity When duration meets or exceeds preset duration, it is determined that electronic device, which is in, falls state.For example, preset duration can be arranged It is 0.1 second or 0.2 second.It should be noted that the size of preset duration can fall speed according to the initial of electronic device 100 To determine.In general, the initial of electronic device 100 falls that speed is bigger, and preset duration is smaller.
Wherein, the sensor in electronic device can also include infrared sensor, gravity sensor, gyro sensor, One kind in magnetometric sensor, direction sensor, light sensing sensor, pressure sensor, temperature sensor, proximity sensor Or it is a variety of.
302, when detect electronic device be in fall state when, electronic device acquisition electronic device is in when falling state Fall data.
Wherein, fall data may include electronic device fall speed, fall acceleration, falling height, fall direction, Scene before falling, when falling electronic device whether in bright screen state, fall when electronic device in virtual key whether by Whether touch-control, physical button when falling in electronic device are pressed.
For example, electronic device can acquire falling for electronic device by acceleration transducer and speed and fall acceleration Degree.What electronic device can be acquired according to acceleration transducer falls speed and falls when falling of acceleration calculation electronic device It is long.Electronic device can fall direction by direction sensor acquisition electronic device.Electronic device can pass through infrared sensing Device acquires the falling height of electronic device.
Scene before falling may include falling whether preceding electronic device is in mobile status, falls residing for preceding electronic device Environmental light brightness.Wherein, whether electronic device can be detected by gyro sensor falls preceding electronic device in movement State.Electronic device can detect the environmental light brightness fallen residing for preceding electronic device by light sensing sensor.
Optionally, falling data includes:At least one of fall speed, fall acceleration, falling height.
303, electronic device is stored in the encrypted memory of electronic device by data are fallen, wherein encrypted memory is being sent out Forbid modifying to the data stored in encrypted memory after selling.
Wherein, encrypted memory is one piece of storage region that electronic device is arranged in process of production, dedicated for storage Electronic device falls data.The password of encrypted memory is that the production firm of electronic device is pre-set, electronic device User can not obtain the password of encrypted memory, what the password of encrypted memory was only cooperated by production firm and with production firm After-sale service website obtains.Production firm and the after-sale service website cooperated with production firm can obtain the mark of electronic device Number with the mapping table of the password of corresponding encrypted memory.For example, if electronic device is mobile phone, electronic device Identification number is:International Mobile Equipment Identity code (International Mobile Equipment Identity, IMEI).Electricity Data in the falling process each time of sub-device may be stored in encrypted memory.
Wherein, the data that encrypted memory stores in forbidding to encrypted memory after selling are modified.
In the embodiment of the present application, encrypted memory after selling allows that data are written into encrypted memory.Specifically , when sensor detect electronic device be in fall state when, electronic device can by collected electronic device be in falls Data of falling when falling state are stored in encrypted memory.When sensor detect electronic device be not at fall state when, electricity Sub-device in normal direction encrypted memory without being written data.
Encrypted memory forbids modifying to the data stored in encrypted memory after selling.For example, working as electronics When device receives data write instruction input by user or data modification instruction, electronic device refusal executes.Encryption storage Device only sensor detect electronic device be not at fall state when, allow electronic device by electronic device be in falls state When collected data of falling be stored in encrypted memory.
Optionally, encrypted memory is nonvolatile memory;
Wherein, nonvolatile memory is shatter-resistant memory.
Data in nonvolatile memory still can be kept after electronic device power down.Shatter-resistant memory can prevent Nonvolatile memory is broken after electronic device falls.Can improve stored in encrypted memory fall the reliable of data Property.Encrypted memory is specifically as follows by the way of shatter-resistant processing:Elastomeric protective material is arranged in the surface of encrypted memory, To reduce the impact force that encrypted memory receives after falling.
Optionally, encrypted memory can be waterproof memory.
Encrypted memory will not be damaged after electronic device is fallen in water.
Method shown in implementing Fig. 3 is stored in encrypted memory due to falling data, and encrypted memory is after selling Forbid modifying to the data stored in encrypted memory, the user of electronic device can not be to the data in encrypted memory It modifies.The safety for falling data stored in encrypted memory can be improved.
Referring to Fig. 4, Fig. 4 is another flow diagram for falling date storage method disclosed in the embodiment of the present application, Fig. 4 advanced optimizes to obtain on the basis of Fig. 3.This falls date storage method applied to the electronics dress in Fig. 1 to Fig. 2 100 are set, is included the following steps as shown in figure 4, this falls date storage method.
401, whether electronic device detection electronic installation, which is in, is fallen state.
402, when detect electronic device be in fall state when, electronic device acquisition electronic device is in when falling state Fall data.
403, electronic device is stored in the encrypted memory of electronic device by data are fallen, wherein encrypted memory is being sent out Forbid modifying to the data stored in encrypted memory after selling.
Step 401 to step 403 in Fig. 4 may refer to step 301 shown in Fig. 3 to the detailed description of step 303, this Place repeats no more.
404, electronic device will fall data and be synchronized to server.
In the embodiment of the present application, after executing step 402, step 404 can also be performed.
Wherein, the data of falling of acquisition can be synchronized to server by electronic device after falling each time.Service Device is used to back up the data of falling of the electronic device, in order to prevent the loss of the data in the electronic device.Server and electronics Device can establish network connection, for example, wireless network (for example, mobile data network, WiFi network etc.) connects.
The user of electronic device can not change the data in server.After-sale service website is worth electronic device , can be with the data of falling of the electronic device stored in reference server when assessment, and the encryption that can compare electronic device is deposited In reservoir fall data in server the electronic device whether fall data identical.It, can be to the electronics if identical Device carries out value assessment.If it is not the same, then value assessment can not be carried out to the electronic device.Using the embodiment of the present application, The user of the electronic device can be further prevented to modify the data of falling in encrypted memory.
Implement method shown in Fig. 4, is stored in encrypted memory due to falling data, encrypted memory is after selling Forbid modifying to the data stored in encrypted memory, the user of electronic device can not be to the data in encrypted memory It modifies.The safety for falling data stored in encrypted memory can be improved.Data will be fallen and be synchronized to server, it can To further prevent the user of the electronic device to modify the data of falling in encrypted memory.
Referring to Fig. 5, Fig. 5 is another flow diagram for falling date storage method disclosed in the embodiment of the present application, Fig. 5 advanced optimizes to obtain on the basis of Fig. 3.This falls date storage method applied to the electronics dress in Fig. 1 to Fig. 2 100 are set, is included the following steps as shown in figure 5, this falls date storage method.
501, whether electronic device detection electronic installation, which is in, is fallen state.
502, when detect electronic device be in fall state when, electronic device acquisition electronic device is in when falling state Fall data.
503, electronic device is stored in the encrypted memory of electronic device by data are fallen, wherein encrypted memory is being sent out Forbid modifying to the data stored in encrypted memory after selling.
Step 501 to step 503 in Fig. 5 may refer to step 301 shown in Fig. 3 to the detailed description of step 303, this Place repeats no more.
504, data read command is fallen in electronic device reception, falls data read command for being read from encrypted memory Fall data.
In the embodiment of the present application, after executing step 503, step 504 can also be performed.Falling data read command can To be initiated by the computer of after-sale service website, lead to specifically, the computer of after-sale service website can be established with electronic device The computer of letter connection, after-sale service website falls data read command to electronic device transmission, this falls data read command Middle carrying accesses password, and whether processor can be matched with authentication-access password with pre-set password, if matching, allows to sell The computer of services sites falls data from encrypted memory reading afterwards.Encrypted memory can be fallen with all of storage electronics Fall data.The computer of after-sale service website is according to the assignment value for falling data to electronic device stored in encrypted memory It is estimated, obtains the assignment value of electronic device.Since the data of falling in encrypted memory can not be changed, encryption storage The authenticity for falling data in device is protected, therefore after-sale service website can accurately estimate the transfer price of electronic device Value.The accuracy of the assignment value estimation of electronic device can be improved.
Optionally, after-sale service website can also according to electronic device fall data analysis electronic device fall original Cause falls scene, recommends the suggestion of dropproof strategy for user.For example, if electronic device every time before falling, is virtually pressed Key shows that electronic device is easy to drop during using virtual key all in by touch-control state, can be incited somebody to action with recommended user The display location of virtual key is moved, and the region that user's finger facilitates contact is moved to.
Implement method shown in fig. 5, is stored in encrypted memory due to falling data, encrypted memory is after selling Forbid modifying to the data stored in encrypted memory, the user of electronic device can not be to the data in encrypted memory It modifies.The safety for falling data stored in encrypted memory can be improved.Fall data in encrypted memory Authenticity is protected, therefore after-sale service website can accurately estimate the assignment value of electronic device.Electronics dress can be improved The accuracy for the assignment value estimation set.
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 device 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, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure 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 device 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.
Referring to Fig. 6, Fig. 6 is a kind of structural schematic diagram falling data storage device disclosed in the embodiment of the present application, such as Shown in Fig. 6, it includes detection unit 601, collecting unit 602 and storage unit 603 that this, which falls data storage device 600, this falls Data storage device 600 is applied to Fig. 1 to electronic device shown in Fig. 2, wherein:
Detection unit 601 falls state for whether detection electronic installation to be in.
Collecting unit 602, for when detection unit detect electronic device be in fall state when, acquire electronic device at Fall data when falling state.
Storage unit 603 is stored in the encrypted memory of electronic device for that will fall data, wherein encrypted memory The data stored in forbidding to encrypted memory after selling are modified.
Implement it is shown in fig. 6 fall data storage device, be stored in encrypted memory, electronic device due to falling data User can not obtain the password of encrypted memory, can not modify to the data in encrypted memory, can improve plus The safety for falling data stored in close memory.
Wherein, the specific embodiment shown in fig. 6 for falling data storage device may refer to Fig. 3 to method shown in fig. 5 Embodiment, overlaps will not be repeated.
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of another electronic device disclosed in the embodiment of the present application, such as Fig. 7 institutes Show, which includes processor 701, memory 702, communication interface 703 and one or more programs, processor 701, memory 702, communication interface 703 can be connected by communication bus 704.Wherein, said one or multiple programs are deposited Storage is configured to be executed by above-mentioned processor 701 in above-mentioned memory 702, and above procedure includes for executing following step Rapid instruction;
Whether detection electronic installation, which is in, is fallen state;
When detect electronic device be in fall state when, acquisition electronic device, which is in when falling state, falls data;
Data will be fallen it is stored in the encrypted memory of electronic device, wherein encrypted memory is forbidden pair after selling The data stored in encrypted memory are modified.
Optionally, acquire electronic device be in fall state when fall data after, program further includes for executing The instruction operated below:
Data will be fallen and be synchronized to server.
Optionally, program further includes instructions for performing the following operations:
Data read command is fallen in reception, falls data read command for falling data from encrypted memory reading.
In the embodiment of the present application, it is stored in encrypted memory due to falling data, the user of electronic device can not obtain The password of encrypted memory is taken, can not be modified to the data in encrypted memory, storage in encrypted memory can be improved The safety for falling data.
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 includes sensor, processor and encrypted memory,
The sensor falls state for detecting the electronic device and whether being in;
The processor, for when the sensor detect the electronic device be in fall state when, acquire the electronics Device, which is in when falling state, falls data;And for the data of falling to be stored in the encrypted memory, wherein The data that the encrypted memory stores in forbidding to the encrypted memory after selling are modified.
2. electronic device according to claim 1, which is characterized in that the encrypted memory is nonvolatile memory;
Wherein, the nonvolatile memory is shatter-resistant memory.
3. electronic device according to claim 1 or claim 2, which is characterized in that the electronic device further includes communication module, In:
The communication module, for the data of falling to be synchronized to server.
4. according to any one of claims 1 to 3 electronic device, which is characterized in that the data of falling include:Fall speed At least one of spend, fall acceleration, falling height.
5. according to any one of Claims 1 to 4 electronic device, which is characterized in that
The processor is additionally operable to receive and falls data read command, and the data read command that falls is used for from the encryption Memory falls data described in reading.
6. one kind falling date storage method, it is applied to electronic device, which is characterized in that including:
It detects the electronic device and whether is in and fall state;
When detect the electronic device be in fall state when, acquire the electronic device and be in when falling state and fall number According to;
By the encrypted memory fallen data and be stored in the electronic device, wherein the encrypted memory is selling it The data to being stored in the encrypted memory are forbidden to modify afterwards.
7. method according to claim 6, which is characterized in that the encrypted memory is in nonvolatile memory;
Wherein, the nonvolatile memory is shatter-resistant memory.
8. according to claim 6 or 7 the method, which is characterized in that acquire the electronic device and be in falling when falling state It falls after data, the method further includes:
The data of falling are synchronized to server.
9. according to any one of claim 6~8 the method, which is characterized in that the data of falling include:Fall speed, fall Fall at least one of acceleration, falling height.
10. according to any one of claim 6~9 the method, which is characterized in that the method further includes:
Data read command is fallen in reception, and the data read command that falls is for falling described in being read from the encrypted memory Data.
11. one kind falling data storage device, it is applied to electronic device, which is characterized in that including:
Detection unit falls state for detecting the electronic device and whether being in;
Collecting unit, for when the detection unit detect the electronic device be in fall state when, acquire the electronics Device, which is in when falling state, falls data;
Storage unit, for by the encrypted memory fallen data and be stored in the electronic device, wherein the encryption is deposited The data that reservoir stores in forbidding to the encrypted memory after selling are modified.
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 method.
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 method.
CN201810094117.9A 2018-01-31 2018-01-31 Electronic device, fall data storage method and related product Expired - Fee Related CN108377295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810094117.9A CN108377295B (en) 2018-01-31 2018-01-31 Electronic device, fall data storage method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810094117.9A CN108377295B (en) 2018-01-31 2018-01-31 Electronic device, fall data storage method and related product

Publications (2)

Publication Number Publication Date
CN108377295A true CN108377295A (en) 2018-08-07
CN108377295B CN108377295B (en) 2020-10-09

Family

ID=63017095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810094117.9A Expired - Fee Related CN108377295B (en) 2018-01-31 2018-01-31 Electronic device, fall data storage method and related product

Country Status (1)

Country Link
CN (1) CN108377295B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427092A (en) * 2013-08-22 2015-03-18 中兴通讯股份有限公司 Automatic shutdown method and device for mobile terminal and mobile terminal
CN104834583A (en) * 2015-05-22 2015-08-12 广东欧珀移动通信有限公司 Mobile terminal falling processing method and system
CN105242854A (en) * 2015-10-22 2016-01-13 广东欧珀移动通信有限公司 Method, apparatus and mobile terminal capable of realizing user interaction in collisions
CN105635473A (en) * 2016-01-10 2016-06-01 上海与德通讯技术有限公司 Mobile terminal and falling protection method of mobile terminal
JP2017010979A (en) * 2015-06-17 2017-01-12 シャープ株式会社 Electronic apparatus
CN106453832A (en) * 2016-09-06 2017-02-22 广东欧珀移动通信有限公司 Drop data reporting method and device as well as mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427092A (en) * 2013-08-22 2015-03-18 中兴通讯股份有限公司 Automatic shutdown method and device for mobile terminal and mobile terminal
CN104834583A (en) * 2015-05-22 2015-08-12 广东欧珀移动通信有限公司 Mobile terminal falling processing method and system
JP2017010979A (en) * 2015-06-17 2017-01-12 シャープ株式会社 Electronic apparatus
CN105242854A (en) * 2015-10-22 2016-01-13 广东欧珀移动通信有限公司 Method, apparatus and mobile terminal capable of realizing user interaction in collisions
CN105635473A (en) * 2016-01-10 2016-06-01 上海与德通讯技术有限公司 Mobile terminal and falling protection method of mobile terminal
CN106453832A (en) * 2016-09-06 2017-02-22 广东欧珀移动通信有限公司 Drop data reporting method and device as well as mobile terminal

Also Published As

Publication number Publication date
CN108377295B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN109583320A (en) Fingerprint identification method and relevant apparatus
CN105549868A (en) Mobile terminal operation processing method and apparatus and mobile terminal
CN105574388A (en) Touch screen terminal based unlocking method and apparatus and touch screen terminal
CN107729836A (en) Face identification method and Related product
CN106228054A (en) Auth method and device
CN105279402A (en) Placing angle-based unlocking method and mobile terminal
CN109376700B (en) Fingerprint identification method and related product
CN108073380A (en) Electronic device, display control method and related product
CN107507349A (en) Apparatus control method and Related product
CN107959759A (en) Electronic equipment, display control method and related product
CN104641341B (en) A kind of handheld device and the method for realizing input zone position adjustment on a handheld device
CN104615245A (en) Method for starting application through terminal
CN108108078A (en) Electronic equipment, display control method and Related product
CN105677081B (en) A kind of touch control method and terminal device
CN108170214A (en) Electronic device, display control method and related product
CN109241899B (en) Fingerprint identification method and related device
CN107402787A (en) Iris recognition pattern open method and Related product
CN107451536A (en) Bio-identification pattern open method and Related product
CN108038359A (en) Unlocking method and related product
CN109284060A (en) Display control method and relevant apparatus
CN109145570A (en) Solve lock control method and relevant apparatus
CN108184015A (en) Irregular shaped region display methods and Related product
CN108307063A (en) Fall reminding method and relevant apparatus
CN105403221B (en) The generation method and mobile terminal of a kind of navigation way
CN105549822B (en) A kind of icon moving method and mobile terminal

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

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201009

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