CN106453832B - A kind of report method falling data, device and mobile terminal - Google Patents
A kind of report method falling data, device and mobile terminal Download PDFInfo
- Publication number
- CN106453832B CN106453832B CN201610807972.0A CN201610807972A CN106453832B CN 106453832 B CN106453832 B CN 106453832B CN 201610807972 A CN201610807972 A CN 201610807972A CN 106453832 B CN106453832 B CN 106453832B
- Authority
- CN
- China
- Prior art keywords
- data
- falling
- mobile terminal
- module
- output
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of report method for falling data, device and mobile terminal, comprising: obtains that mobile terminal is collected to fall data;The data of falling are stored according to preset data storage method;When detecting that the mobile terminal is received to triggering command that data are handled is fallen, the corresponding data way of output is determined;It is uniformly reported according to the data way of output to falling data, so as to carry out respective handling to data are fallen.The present invention is stored by that will fall data, when mobile terminal receives the triggering command of processing, will be fallen data and is uniformly reported, compared with the existing technology, improves and fall the flexibility that data report, reduce the power consumption of mobile terminal.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of report methods for falling data, device and movement
Terminal.
Background technique
With the high speed development of mobile terminal, the function of mobile terminal is also stronger and stronger, takes the mobile phone as an example, existing mobile phone
Cooperate the sensor on mobile phone, many functions, such as whether falling using the gravity sensor induction mobile phone on mobile phone can be completed
Fall, or carry out step counting statistics etc..
In actual application, the sensor on mobile phone generally uses in real-time report processing or timing to data are fallen
The means of processing are reported, although the method efficiency of real-time report processing is relatively high, the power consumption of the mobile phone greatly consumed, and in timing
Although the processing method of report can reduce the power consumption of mobile phone in certain degree, practicability and flexibility are lower, therefore,
How timely and effectively to report and fall data, and the method for saving the power consumption of mobile phone is left to be desired.
Summary of the invention
The purpose of the present invention is to provide a kind of report method for falling data, device and mobile terminals, it is intended to which promotion is fallen
The flexibility that data report is fallen, the power consumption of mobile terminal is reduced.
In order to solve the above technical problems, the embodiment of the present invention the following technical schemes are provided:
A kind of report method falling data, comprising:
Obtain that mobile terminal is collected falls data;
The data of falling are stored according to preset data storage method;
When detecting that the mobile terminal is received to triggering command that data are handled is fallen, corresponding number is determined
According to the way of output;
It is uniformly reported according to the data way of output to falling data, so as to carry out corresponding position to data are fallen
Reason.
In order to solve the above technical problems, the embodiment of the present invention also the following technical schemes are provided:
A kind of reporting device falling data, comprising:
Data acquisition module, for obtaining, mobile terminal is collected to fall data;
Memory module, for storing the data of falling according to preset data storage method;
Determining module, for when detecting that the mobile terminal receives to the triggering command falling data and being handled
When, determine the corresponding data way of output;
Reporting module, for uniformly being reported according to the data way of output to falling data, so as to number is fallen
According to progress respective handling.
In order to solve the above technical problems, the embodiment of the present invention also the following technical schemes are provided:
A kind of mobile terminal, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the embodiment of the present invention and mentions
Any report method for falling data supplied.
Compared with the existing technology, a kind of report method falling data, device and mobile terminal provided in this embodiment lead to
Data will be fallen by, which crossing, stores, and when mobile terminal receives the triggering command of processing, will fall data and is uniformly reported,
It improves and falls the flexibility that data report, reduce the power consumption of mobile terminal.
Detailed description of the invention
With reference to the accompanying drawing, by the way that detailed description of specific embodiments of the present invention, technical solution of the present invention will be made
And other beneficial effects are apparent.
Fig. 1 is the schematic diagram of a scenario of the report method provided in an embodiment of the present invention for falling data.
Fig. 2 is the flow diagram of the report method provided in an embodiment of the present invention for falling data.
Fig. 3 is gravity sensor induction acceleration direction schematic diagram provided in an embodiment of the present invention.
Fig. 4 is another flow diagram of the report method provided in an embodiment of the present invention for falling data.
Fig. 5 is the module diagram of the reporting device provided in an embodiment of the present invention for falling data.
Fig. 6 is another module diagram of the reporting device provided in an embodiment of the present invention for falling data.
Fig. 7 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to execute in the arithmetic system as.It is as described herein
Different components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and side
Method is preferably implemented in the form of software, can also be implemented on hardware certainly, within that scope of the present invention.
Wherein, which specifically can integrate calculates in mobile terminal, such as mobile phone, notebook
Machine, tablet computer, palm PC (PDA, Personal Digital Assistant) etc..Refering to fig. 1, which is of the invention real
Apply the schematic diagram of a scenario for falling the report method of data provided by example.The scene, including at least one user, at least one
Mobile terminal 10 and server 20.
Wherein, the mobile terminal 10 and and server 20 between can be carried out by wireless network between it is logical
Letter.
Mobile terminal 10, what acquisition mobile terminal 10 generated when falling falls data, will according to queuing data storage mode
What is generated repeatedly falls data and is stored, and when detecting to receive the triggering command of the transmission of server 20, determines number of queues
After the way of output, server 20 is uniformly reported to according to fall data of the queuing data way of output to storage.
Server 20 sends triggering command to mobile terminal 10, and receive the transmission of mobile terminal 10 falls data, and to institute
It states and falls data and handled.
Mobile terminal stores the data of falling of generation it can be seen from above-mentioned scene, when receiving triggering command
When, then the data of falling uniformly are reported into server, the data of falling that avoiding frequently will acquire report and cause to move
The excessive situation of power consumption of terminal, and server does not need the frequent data of falling for receiving mobile terminal yet and is handled, and mitigates
The load of server.
Concrete analysis explanation is carried out below.
A kind of report method falling data, comprising: obtain that mobile terminal is collected falls data;According to preset number
The data of falling are stored according to storage mode;It is handled when detecting the mobile terminal to receive to falling data
Triggering command when, determine the corresponding data way of output;According to the data way of output to falling on data unify
Report, so as to carry out respective handling to data are fallen.
Referring to Fig. 2, Fig. 2 is the flow diagram of the report method provided in an embodiment of the present invention for falling data.
Specifically, which comprises
In step s101, obtain that mobile terminal is collected falls data.
Wherein, the data of falling refer to mobile terminal data as accessed by gravity sensor when falling, and such as move
The acceleration direction of dynamic terminal and size etc..
It is understood that the gravity sensor (Gravity Sensor, G-sensor) is for detecting acceleration
Direction and size, are equivalent to the motion state of detection mobile phone, and the function of gravity sensor, which understands, gets up fairly simple, mainly feel
Know the variation of acceleration, for example, shake, fall, the various mobile variations such as up and down can be converted into electricity by gravity sensor
Signal, after then being analyzed by the calculating of microprocessor, it will be able to complete the good function of programming.
Referring to Fig. 3, Fig. 3 is gravity sensor induction acceleration direction schematic diagram, including X-axis, Y-axis and Z axis
The acceleration direction in three directions, the gravity acceleration value specifically refer to the acceleration value of Z-direction straight down, acceleration
The unit of value is M/S2。
For example, obtaining mobile phone during mobile phone falls by the gravity sensor on mobile phone and falling generated number
According to, such as acceleration information, acceleration direction, certain assessment can be carried out to the event of falling by these data.
In step s 102, data will be fallen according to preset data storage method to store.
Wherein, the preset data storage method may include queuing data storage mode and stack data storage method
Deng.
It is understood that the queuing data storage mode is i.e. by the way of first in first out to falling at data
Reason, and stack data storage method is handled by the way of first-in last-out to falling data.
For example, the data of falling that mobile phone will acquire in the form of first in first out are written in data buffer, so that subsequent set
In the data of falling are handled, will directly fall compared with data report the method for processing with existing, will fall data into
Row storage, greatly reduces and falls the frequency that data report, reduce the power consumption of mobile terminal.
In step s 103, when detecting that mobile terminal is received to triggering command that data are handled is fallen, really
The fixed corresponding data way of output.
In a kind of possible embodiment, the server sends triggering command to mobile terminal, and mobile terminal receives
To after triggering command, the corresponding data way of output is determined according to data storage method, if data storage method is first in first out
Queuing data storage mode, it is determined that the data way of output be the queuing data way of output, in alternatively possible embodiment party
In formula, user can apply upper button by clicking mobile terminal, generate triggering command.
For example, mobile phone can receive the triggering command of server transmission, it can also be by user by clicking answering on mobile phone
Send button generates triggering command, determines the data way of outputs for queuing data output according to queuing data storage mode
Mode.
In step S104, uniformly reported according to the data way of output to falling data so as to fall data into
Row respective handling.
Wherein, the mobile terminal carries out the data of falling stored in data buffer with the determining data way of output
After reading, the data of falling of reading are uniformly sent in server, frequent transmission data is avoided, reduces mobile terminal
Power consumption, and server do not need yet frequently receive mobile terminal send fall data, alleviate the load of server.
It can be seen from the above, a kind of report method for falling data provided in this embodiment, is deposited by that will fall data
Storage, when mobile terminal receives the triggering command of processing, will fall data and is uniformly reported, compared with the existing technology, mentioned
It has risen and has fallen the flexibility that data report, reduced the power consumption of mobile terminal.
Citing, is described in further detail by the method according to described in above-described embodiment below.
Referring to Fig. 4, Fig. 4 is another flow diagram of the report method provided in an embodiment of the present invention for falling data.
Specifically, which comprises
In step s 201, obtain that mobile terminal is collected falls data.
Wherein, the data of falling refer to mobile terminal data as accessed by gravity sensor when falling, and such as move
The acceleration direction of dynamic terminal and size etc..
In step S202, determine that preset data storage method is queuing data storage mode.
Wherein, the queuing data storage mode is at the data of first in first out (First In First Out, FIFO)
Reason mode is handled, and the instruction being introduced into first is completed and retires from office, and and then just executes Article 2 instruction.
In step S203, data will be fallen according to queuing data storage mode and be stored in data buffer.
In a kind of possible implementation method, mobile terminal will fall data and be stored in data buffer storage in the form of first in first out
In device, the storage mode of the first in first out has the characteristics that convenient, efficient.
For example, mobile phone acquires mobile phone generated number in falling process during falling, through gravity sensor
According to, such as acceleration value, acceleration direction, data buffer is written into collected data of falling by way of first in first out
In, fall by way of data are stored by described, avoids and fall the case where data frequently report.
In step S204, judge whether the memory space of data buffer is more than preset threshold.
It is stored in data buffer it is understood that falling data, when storing certain quantity, may cause number
According to the memory space inadequate of buffer.
Wherein, if the memory space for judging data buffer is more than preset threshold, S208 is thened follow the steps, if judging
The memory space of data buffer is no more than preset threshold, thens follow the steps S205.
For example, the memory space of the data buffer in mobile phone is 20Mb, when the actual storage data in data buffer
When reaching 18MB, if may cause the loss for falling data without timely reporting processing, such as falling for actual storage
It is more than preset threshold 18MB when data are 19MB, the memory space of data buffer is more than preset threshold, and number is fallen in storage
It is handled according to reporting.
In step S205, the current time of mobile terminal is obtained.
In step S206, judge whether the current time reaches preset time.
It is understood that server is periodically acquired and summarizes to the data of falling of each mobile terminal, it can be according to clothes
It is engaged in the device processing time, preset time is set, when the time reaching preset time, the data of falling of mobile terminal are reported into service
Device, so that server handles mobile terminal.
Wherein, if judging whether current time reaches preset time, S208 is thened follow the steps, if judging current time
Not up to preset time thens follow the steps S207.
For example, server once falls data statistics to the progress of each mobile phone daily, can be arranged on mobile phone at this time pre-
If the time is that 11:45 will fall data and report in server when the time reaches 11:45 on mobile phone, so that server carries out
Processing.
In step S207, when detecting that mobile terminal is received to triggering command that data are handled is fallen, really
Fixed number is the queuing data way of output according to the way of output.
It is understood that in order to promote the flexibility falling data and reporting, can need in server to falling data
When being handled, triggering command is sent to mobile terminal, can also carry out reporting processing by the data that will fall of user's active.
In step S208, is obtained from the data buffer according to the queuing data way of output and falls data,
And fall data to described and uniformly reported, so as to carry out respective handling to data are fallen.
Wherein, after receiving triggering command, mobile terminal will fall reading data in the way of first in first out and come out,
And report to the data of falling read out in server together, so that server carries out respective handling to data are fallen.
In step S209, the data of falling in data buffer are subjected to delete processing.
Wherein, when mobile terminal by it is described fall data and be sent to server after, fall what is saved in data buffer
Data deletion is fallen, to guarantee the workability of memory space.
For example, the data buffer on mobile phone store 19MB fall data, reported by the data of falling of this 19MB
It to server, will be formatted in data buffer, to guarantee that data buffer space uses enough.
It can be seen from the above, a kind of report method for falling data provided in this embodiment, by the way that data will be fallen with advanced
The form first gone out is stored, and when the memory space inadequate of the data buffer of mobile terminal, is reached when calling time on default
Or when mobile terminal receives the triggering command of processing, data will be fallen and uniformly reported, compared with the existing technology, mentioned
It has risen and has fallen the flexibility that data report, reduced the power consumption of mobile terminal.
In certain possible embodiment, the report method for falling data can be applied in step-recording method,
During user carries out step counting, the gravity sensor on mobile phone obtains step counting data, when the step counting data are that user walks
Because center of gravity moves up and down, acceleration value accessed by gravity sensor and acceleration direction, mobile phone deposit the step counting data
Storage is stored in the form of first in first out into data buffer, and when user needs to check data, server obtains looking into for user
It sees operation, sends in triggering command to mobile phone, after mobile phone receives triggering command, the step counting data that will be stored in data buffer
It is sent to server, so that server carries out step counting Data-Statistics, this step-recording method according to step counting data, mobile phone is not needed frequently
Step counting data are sent to server, and when needing to check, step counting data are sent to server, greatly reduce mobile phone
Power consumption, improve the cruise-ability of mobile phone.
For convenient for the better implementation report method provided in an embodiment of the present invention for falling data, the embodiment of the present invention is also mentioned
For a kind of device based on the above-mentioned report method for falling data.The wherein meaning of noun and the above-mentioned report method for falling data
In it is identical, specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 5, Fig. 5 is the module diagram of the reporting device provided in an embodiment of the present invention for falling data.Specifically
For, the reporting device 300 for falling data, comprising: data acquisition module 31, memory module 32, determining module 33 and
Reporting module 34.
The data acquisition module 31, for obtaining, mobile terminal is collected to fall data.
Wherein, the data of falling refer to mobile terminal data as accessed by gravity sensor when falling, and such as move
The acceleration direction of dynamic terminal and size etc.,.
The memory module 32, for storing the data of falling according to preset data storage method.
The determining module 33, for when detecting that mobile terminal receives to the triggering command falling data and being handled
When, determine the corresponding data way of output.
The reporting module 34, for uniformly being reported according to the data way of output to falling data, so that right
Fall data and carries out respective handling.
Fig. 6 can be referred to together, and Fig. 6 is that another module of the reporting device provided in an embodiment of the present invention for falling data is illustrated
Figure, the reporting device for falling data can also include:
Judgment module 35 is stored, for judging whether the memory space of data buffer is more than preset threshold.
The reporting module 34 is also used to when the memory space for judging the data buffer is more than preset threshold,
It executes and is uniformly reported to falling data.
Time-obtaining module 36, for obtaining the current time of mobile terminal.
Time judgment module 37, for judging whether the current time reaches preset time.
The reporting module 34 is also used to when judging that the current time reaches preset time, is executed to falling number
According to uniformly being reported.
Removing module 38 is connected to the reporting module 34, for deleting the data of falling in data buffer
Processing.
Wherein, in order to guarantee the memory space in data buffer can practicability, after executing the reporting module, institute
Processing will be formatted by stating removing module 38 in data buffer, data therein of falling are carried out delete processing.
In certain possible embodiment, the memory module 32, for according to preset data storage method by institute
It states and falls data and stored.
Wherein, the memory module 32 may include: determining submodule 321 and sub-module stored 322.
Specifically, the determining submodule 321, for determining that preset data storage method is queuing data storage side
Formula.The sub-module stored 322, for the data of falling to be stored in data buffer according to queuing data storage mode
In.
The determining module 33 is also used to refer to when detecting mobile terminal to receive to falling the triggering that data are handled
When enabling, determine that the data way of output is the queuing data way of output.
The reporting module 34 is also used to obtain from the data buffer according to the queuing data way of output and fall
It falls data, and falls data to described and uniformly reported.
It can be seen from the above, a kind of reporting device for falling data provided in this embodiment, by the way that data will be fallen with advanced
The form first gone out is stored, and when the memory space inadequate of the data buffer of mobile terminal, is reached when calling time on default
Or when mobile terminal receives the triggering command of processing, data will be fallen and uniformly reported, compared with the existing technology, mentioned
It has risen and has fallen the flexibility that data report, reduced the power consumption of mobile terminal.
Referring to Fig. 7, Fig. 7 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.Described in the present embodiment
Mobile terminal, comprising: at least one input equipment 1000;At least one output equipment 2000;At least one processor 3000,
Such as central processing unit (CPU, Central Processing Unit);It is above-mentioned input equipment 1000, defeated with memory 4000
Equipment 2000, processor 3000 and memory 4000 are connected by bus 5000 out.
Wherein, above-mentioned input equipment 1000 concretely touch panel, physical button or mouse etc..
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high speed RAM memory, can also be non-labile memory (non-volatile
), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store a set of program code, above-mentioned input equipment 1000, defeated
Equipment 2000 and processor 3000 are used to call the program code stored in memory 4000 out, perform the following operations:
Code is executed by processor 3000, obtains that mobile terminal is collected falls data.
Code is executed by processor 3000, stores the data of falling according to preset data storage method.
Code is executed by processor 3000, when detecting that mobile terminal receives the triggering to falling data and being handled
When instruction, the corresponding data way of output is determined.
Code is executed by processor 3000, is uniformly reported according to the data way of output to falling data, with
Make to fall data carry out respective handling.
In some embodiments, code can also be performed by processor 3000, it is described to be stored according to preset data
Mode stores the data of falling, comprising: determines that preset data storage method is queuing data storage mode;By pressing
The data of falling are stored in data buffer according to queuing data storage mode;It determines the corresponding data way of output, wraps
It includes: determining that the data way of output is the queuing data way of output;Unification is carried out to data are fallen according to the data way of output
It reports, comprising: obtained from the data buffer according to the queuing data way of output and fall data, and fall number to described
According to uniformly being reported.
In some embodiments, code can also be performed by processor 3000, it is described to detect that mobile terminal connects
It receives to before when falling triggering command that data are handled, further includes: judge whether the memory space of data buffer surpasses
Cross preset threshold;If judging, the memory space of the data buffer is more than preset threshold, and execution is carried out to data are fallen
Uniformly report.
In some embodiments, code can also be performed by processor 3000, it is described to detect that mobile terminal connects
It receives to before when falling triggering command that data are handled, further includes: obtain the current time of mobile terminal;Described in judgement
Whether current time reaches preset time;If judging, the current time reaches preset time, execute to fall data into
Row uniformly reports.
In some embodiments, code can also be performed by processor 3000, it is described according to the data output side
Formula is to falling after data are uniformly reported, further includes: will fall data in data buffer and carry out delete processing.
Since the mobile terminal can execute any report method for falling data provided by inventive embodiments, because
This, may be implemented beneficial effect achieved by any report method for falling data provided by inventive embodiments, be detailed in
The embodiment of front, details are not described herein.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
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 detailed description above with respect to the report method for falling data, details are not described herein again.
The report method for falling data, device and mobile terminal provided in an embodiment of the present invention are for example tablet computer, hand
Machine etc., the mobile terminal fall the reporting device of data and fall the report methods of data and belong to same design, described
Either offer method, tool in the report method embodiment for falling data can be run by falling on the reporting device of data
Process of body realizing is detailed in the report method embodiment for falling data, and details are not described herein again.
It should be noted that it is of the present invention fall the report method of data for, this field common test personnel can
It is that can pass through computer program to understand all or part of the process for the report method for realizing that the embodiment of the present invention falls data
It is completed to control relevant hardware, the computer program can be stored in a computer-readable storage medium, such as store
It is executed in the memory of terminal, and by least one processor in the terminal, in the process of implementation may include falling as described
Fall the process of the embodiment of the report method of data.Wherein, the storage medium can be magnetic disk, CD, read-only memory
(ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For falling the reporting device of data described in the embodiment of the present invention, each functional module be can integrate at one
It handles in chip, is also possible to modules and physically exists alone, a mould can also be integrated in two or more modules
In block.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.
It, can also be with if the integrated module is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of report method for falling data, device and mobile terminal is provided for the embodiments of the invention above to carry out
It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments
Illustrate to be merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to this
The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered
It is interpreted as limitation of the present invention.
Claims (9)
1. a kind of report method for falling data characterized by comprising
Obtain that mobile terminal is collected falls data;
Determine that preset data storage method is queuing data storage mode;
The data of falling are stored in data buffer according to queuing data storage mode;
When detecting that the mobile terminal is received to triggering command that data are handled is fallen, the data way of output is determined
For the queuing data way of output;
Obtained from the data buffer according to the queuing data way of output and fall data, and to it is described fall data into
Row uniformly reports, so as to carry out respective handling to data are fallen.
2. falling the report method of data as described in claim 1, which is characterized in that described to detect that mobile terminal receives
To before when falling triggering command that data are handled, further includes:
Whether the memory space for judging data buffer is more than preset threshold;
If judging, the memory space of the data buffer is more than preset threshold, is executed to falling on data unify
Report.
3. falling the report method of data as described in claim 1, which is characterized in that described to detect that mobile terminal receives
To before when falling triggering command that data are handled, further includes:
Obtain the current time of mobile terminal;
Judge whether the current time reaches preset time;
If judging, the current time reaches preset time, executes and is uniformly reported to falling data.
4. the report method as described in any one of claims 1 to 3 for falling data, which is characterized in that described according to the number
According to the way of output to falling after data are uniformly reported, further includes: delete the data of falling in data buffer
Processing.
5. a kind of reporting device for falling data characterized by comprising
Data acquisition module, for obtaining, mobile terminal is collected to fall data;
Memory module, for storing the data of falling according to preset data storage method;
The memory module, comprising: submodule is determined, for determining that preset data storage method is queuing data storage side
Formula;
Sub-module stored, for the data of falling to be stored in data buffer according to queuing data storage mode;
Determining module, for when detecting that the mobile terminal is received to triggering command that data are handled is fallen, really
The fixed corresponding data way of output;
The determining module is also used to when detecting that mobile terminal is received to triggering command that data are handled is fallen,
Determine that the data way of output is the queuing data way of output;
Reporting module, for uniformly being reported according to the data way of output to falling data so as to fall data into
Row respective handling;
The reporting module is also used to obtain from the data buffer according to the queuing data way of output and falls number
According to, and fall data to described and uniformly reported.
6. falling the reporting device of data as claimed in claim 5, which is characterized in that described device further include:
Judgment module is stored, for judging whether the memory space of data buffer is more than preset threshold;
The reporting module is also used to the execution pair when the memory space for judging the data buffer is more than preset threshold
Fall data uniformly to be reported;
Time-obtaining module, for obtaining the current time of mobile terminal;
Time judgment module, for judging whether the current time reaches preset time;
The reporting module is also used to when judging that the current time reaches preset time, and execution is carried out to data are fallen
Uniformly report.
7. such as the described in any item reporting devices for falling data of claim 5 to 6, which is characterized in that described device further include:
Removing module is connected to the reporting module, for the data of falling in data buffer to be carried out delete processing.
8. a kind of mobile terminal characterized by comprising
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes such as claim 1 to right
It is required that 4 described in any item methods.
9. a kind of storage medium, is stored with computer program, which is characterized in that when the computer program is executed by processor
Realize the method as described in claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610807972.0A CN106453832B (en) | 2016-09-06 | 2016-09-06 | A kind of report method falling data, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610807972.0A CN106453832B (en) | 2016-09-06 | 2016-09-06 | A kind of report method falling data, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453832A CN106453832A (en) | 2017-02-22 |
CN106453832B true CN106453832B (en) | 2019-06-25 |
Family
ID=58164221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610807972.0A Active CN106453832B (en) | 2016-09-06 | 2016-09-06 | A kind of report method falling data, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453832B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108307045A (en) * | 2018-01-09 | 2018-07-20 | 广东欧珀移动通信有限公司 | Electronic equipment and Related product |
CN108307383B (en) | 2018-01-18 | 2020-10-09 | Oppo广东移动通信有限公司 | Data reporting method and related product |
CN108377295B (en) * | 2018-01-31 | 2020-10-09 | Oppo广东移动通信有限公司 | Electronic device, fall data storage method and related product |
CN108882347B (en) * | 2018-04-26 | 2020-09-22 | Oppo广东移动通信有限公司 | Fall data processing method and related device |
CN108810246B (en) * | 2018-04-26 | 2020-06-09 | Oppo广东移动通信有限公司 | Drop data reporting method and related device |
CN113473378A (en) | 2020-03-31 | 2021-10-01 | 宇龙计算机通信科技(深圳)有限公司 | Movement track reporting method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102439956A (en) * | 2011-09-27 | 2012-05-02 | 华为终端有限公司 | Method, device and terminal for adjusting vibration frequency of vibration element in terminal |
CN103955365A (en) * | 2014-04-17 | 2014-07-30 | 小米科技有限责任公司 | Method and device for controlling terminal when terminal falls off |
CN104834583A (en) * | 2015-05-22 | 2015-08-12 | 广东欧珀移动通信有限公司 | Mobile terminal falling processing method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9342108B2 (en) * | 2011-09-16 | 2016-05-17 | Apple Inc. | Protecting an electronic device |
-
2016
- 2016-09-06 CN CN201610807972.0A patent/CN106453832B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102439956A (en) * | 2011-09-27 | 2012-05-02 | 华为终端有限公司 | Method, device and terminal for adjusting vibration frequency of vibration element in terminal |
CN103955365A (en) * | 2014-04-17 | 2014-07-30 | 小米科技有限责任公司 | Method and device for controlling terminal when terminal falls off |
CN104834583A (en) * | 2015-05-22 | 2015-08-12 | 广东欧珀移动通信有限公司 | Mobile terminal falling processing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106453832A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453832B (en) | A kind of report method falling data, device and mobile terminal | |
CN108512695B (en) | Method and device for monitoring application blockage | |
CN107800651B (en) | Application program closing method and device, storage medium and electronic equipment | |
CN112257135B (en) | Model loading method and device based on multithreading, storage medium and terminal | |
EP3333733B1 (en) | Method and device for use in parallel execution of terminal database | |
CN106708554B (en) | Program operating method and device | |
JP2016502702A (en) | Method and apparatus for processing task events | |
CN106331254B (en) | A kind of protection processing method and processing device that mobile terminal falls | |
US10452402B2 (en) | Operation instruction response control method and terminal for human-machine interface | |
CN104123276A (en) | Method, device and system for intercepting popup windows in browser | |
JP2014529146A (en) | Method and apparatus for controlling a central processing unit | |
CN107734618B (en) | Application program closing method and device, storage medium and electronic equipment | |
CN109803360A (en) | WiFi dormancy control method, device, electronic equipment and storage medium | |
CN115237618A (en) | Request processing method and device, computer equipment and readable storage medium | |
CN102622336A (en) | System and method for Excel plug-in data batch extraction and based on Internet | |
CN111104180A (en) | Application program optimization method and device, storage medium and electronic equipment | |
CN110166696A (en) | Image pickup method, device, terminal device and computer readable storage medium | |
CN117407133A (en) | Task processing method and device and computer readable storage medium | |
CN110275639B (en) | Touch data processing method and device, terminal and storage medium | |
CN108269223B (en) | Webpage graph drawing method and terminal | |
CN113918757A (en) | Application recommendation method and device, electronic equipment and storage medium | |
CN114840570A (en) | Data processing method and device, electronic equipment and storage medium | |
CN112367428A (en) | Electric quantity display method and system, storage medium and mobile terminal | |
CN114090275A (en) | Data processing method and device and electronic equipment | |
CN106412248B (en) | A kind of terminal falls processing method, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |