CN106453832A - Drop data reporting method and device as well as mobile terminal - Google Patents
Drop data reporting method and device as well as mobile terminal Download PDFInfo
- Publication number
- CN106453832A CN106453832A CN201610807972.0A CN201610807972A CN106453832A CN 106453832 A CN106453832 A CN 106453832A CN 201610807972 A CN201610807972 A CN 201610807972A CN 106453832 A CN106453832 A CN 106453832A
- Authority
- CN
- China
- Prior art keywords
- data
- falling
- mobile terminal
- report
- module
- 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
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 invention provides a drop data reporting method and device as well as a mobile terminal. The drop data reporting method comprises the steps of: acquiring drop data collected by the mobile terminal; storing the drop data according to a preset data storage manner; determining a corresponding data output mode when a condition that the mobile terminal receives a trigger instruction for processing the drop data is detected; and uniformly reporting the drop data according to the data output mode to enable the drop data to be correspondingly processed. In the method, the drop data are stored, and are uniformly reported when the mobile terminal receives the trigger instruction for processing, so that compared with the prior art, the reporting flexibility of the drop data is improved, and the power consumption of the mobile terminal is reduced.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly, to a kind of report method falling data, device and movement
Terminal.
Background technology
With the high speed development of mobile terminal, the function of mobile terminal is also stronger and stronger, taking mobile phone as a example, existing mobile phone
Sensor on cooperation mobile phone, can complete a lot of functions, such as sensed whether falling of mobile phone using the gravity sensor on mobile phone
Fall, or carry out meter step statistics etc..
In actual application, the sensor on mobile phone typically adopts in real-time report process or timing to falling data
The means that report is processed, although the method efficiency comparison that real-time report is processed is high, the power consumption of the mobile phone greatly consuming, and in timing
Although the processing method of report can reduce the power consumption of mobile phone in certain degree, practicality and flexibility are relatively low, therefore,
How timely and effectively to report and fall data, and save the method for the power consumption of mobile phone and be left to be desired.
Content of the invention
It is an object of the invention to provide a kind of report method falling data, device and mobile terminal are it is intended to lifting is fallen
The flexibility that the data that falls reports, reduces the power consumption of mobile terminal.
For solving above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
A kind of report method falling data, including:
What acquisition mobile terminal collected falls data;
According to default data storage method, described data of falling is stored;
When detecting that described mobile terminal receives to falling triggering command that data is processed, determine and count accordingly
According to the way of output;
Carry out unifying to report to falling data according to described data output mode, so that carrying out corresponding position to falling data
Reason.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of reporting device falling data, including:
Data acquisition module, falls data for obtain that mobile terminal collects;
Memory module, for being stored described data of falling according to default data storage method;
Determining module, for when detecting that described mobile terminal receives to falling the triggering command that data is processed
When, determine corresponding data output mode;
Reporting module, for carrying out unifying to report to falling data according to described data output mode, so as to falling number
According to carrying out respective handling.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of mobile terminal, including:
Be stored with the memory of executable program code;
The processor coupling with described memory;
Described processor calls the described executable program code of storage in described memory, and the execution embodiment of the present invention carries
For any one fall the report method of data.
With respect to prior art, a kind of report method falling data, device and mobile terminal that the present embodiment provides, lead to
Cross and will fall data and be stored, when mobile terminal receives the triggering command of process, data will be fallen and carry out unifying to report,
Improve and fall the flexibility that data reports, reduce the power consumption of mobile terminal.
Brief description
Below in conjunction with the accompanying drawings, by the specific embodiment detailed description to the present invention, technical scheme will be made
And other beneficial effects are apparent.
Fig. 1 is the schematic diagram of a scenario of the report method falling data provided in an embodiment of the present invention.
Fig. 2 is the schematic flow sheet of the report method falling data provided in an embodiment of the present invention.
Fig. 3 is gravity sensor induction acceleration direction schematic diagram provided in an embodiment of the present invention.
Fig. 4 is another schematic flow sheet of the report method falling data provided in an embodiment of the present invention.
Fig. 5 is the module diagram of the reporting device falling data provided in an embodiment of the present invention.
Fig. 6 is another module diagram of the reporting device falling data provided in an embodiment of the present invention.
Fig. 7 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Refer to schema, wherein identical element numbers represent identical assembly, and the principle of the present invention is to be implemented in one
To illustrate in suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should be by
It is considered as limiting the present invention other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object being to execute in this arithmetic system as.As herein described
It is the objective for implementation in this arithmetic system that different assemblies, module, engine and service can be regarded as.And device as herein described and side
Method is preferably implemented in the way of software, certainly also can be implemented on hardware, all within the scope of the present invention.
Wherein, the reporting device that this falls data specifically can be integrated in mobile terminal, and such as mobile phone, notebook calculate
Machine, panel computer, palm PC (PDA, Personal Digital Assistant) etc..Refering to Fig. 1, this figure is that the present invention is real
Apply the schematic diagram of a scenario of the report method falling data that example is provided.Described scene, including at least one user, at least one
Mobile terminal 10 and server 20.
Wherein, described mobile terminal 10 and and server 20 between can be carried out each other by wireless network logical
Letter.
Mobile terminal 10, what collection mobile terminal 10 produced when falling falls data, will according to queuing data storage mode
The data of repeatedly falling producing is stored, and when detecting the triggering command receiving server 20 transmission, determines number of queues
After the way of output, according to the described queuing data way of output, the data of falling of storage is carried out unifying to report to server 20.
Server 20, sends triggering command to mobile terminal 10, receive mobile terminal 10 transmission falls data, and to institute
State and fall data and processed.
Can be seen that mobile terminal by above-mentioned scene to be stored the data of falling producing, when receiving triggering command
When, then fall described data unification and report to server, it is to avoid frequently the data of falling obtaining is reported and causes to move
The excessive situation of power consumption of terminal, and server processed also without the data of falling frequently receiving mobile terminal, mitigates
The load of server.
Hereinafter carry out making a concrete analysis of explanation.
A kind of report method falling data, including:What acquisition mobile terminal collected falls data;According to default number
According to storage mode, described data of falling is stored;Process when detecting described mobile terminal to receive to falling data
Triggering command when, determine corresponding data output mode;According to described data output mode to falling on data unifies
Report, so that carry out respective handling to falling data.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the report method falling data provided in an embodiment of the present invention.
Specifically, methods described includes:
In step S101, what acquisition mobile terminal collected falls data.
Wherein, described data of falling refers to data when falling accessed by gravity sensor for the mobile terminal, such as moves
The acceleration direction of dynamic terminal and size etc..
It is understood that described gravity sensor (Gravity Sensor, G-sensor) is used for detecting acceleration
Direction and size, are equivalent to the motion state of detection mobile phone, and the function of gravity sensor understands gets up fairly simple, mainly feels
Know the change of acceleration, the various mobile changes such as such as rock, fall, rising, declining and electricity can be converted into by gravity sensor
Signal, then it becomes possible to complete the good function of programming after the calculating analysis of microprocessor.
Refer 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, described gravity acceleration value specifically refers to Z-direction accekeration straight down, acceleration
The unit of value is M/S2.
Such as, during mobile phone falls, mobile phone is obtained by the gravity sensor on mobile phone and falls produced number
According to, such as acceleration information, acceleration direction etc., by these data, certain assessment can be carried out to the event of falling.
In step s 102, data will be fallen according to default data storage method to be stored.
Wherein, described default data storage method can include queuing data storage mode and stack data storage method
Deng.
It is understood that described queuing data storage mode i.e. by the way of first in first out to falling at data
Reason, and stack data storage method is processed to falling data by the way of first-in last-out.
Such as, mobile phone is fallen obtain in data write data buffer in the form of first in first out, so that subsequent set
In described data of falling is processed, directly will fall compared with data reports the method for process with existing, data will be fallen and enter
Row storage, greatly reduces and falls the frequency that data reports, and reduces the power consumption of mobile terminal.
In step s 103, when detecting that mobile terminal receives to falling triggering command that data is processed, really
Fixed corresponding data output mode.
In a kind of possible embodiment, described server sends triggering command to mobile terminal, and mobile terminal receives
To after triggering command, corresponding data output mode is determined according to data storage method, such as data storage method is first in first out
Queuing data storage mode it is determined that data output mode be the queuing data way of output, in alternatively possible embodiment party
In formula, user can produce triggering command by clicking on the button in mobile terminal application.
Such as, mobile phone can be with the triggering command of the reception server transmission it is also possible to be passed through to click on answering on mobile phone by user
With send button produce triggering command, according to queuing data storage mode determine data output mode for queuing data export
Mode.
In step S104, carry out unifying to report to falling data according to data output mode, so that entering to falling data
Row respective handling.
Wherein, the data output mode falling data to determine of storage in data buffer is carried out by described mobile terminal
After reading, by falling of reading, data is unified to be sent to server, it is to avoid frequently send data, reduces mobile terminal
Power consumption, and server also without frequently receive mobile terminal transmission the load falling data, alleviating server.
From the foregoing, a kind of report method falling data that the present embodiment provides, deposited by data will be fallen
Storage, when mobile terminal receives the triggering command of process, will fall data and carry out unifying to report, with respect to prior art, carry
Rise and fallen the flexibility that data reports, reduced the power consumption of mobile terminal.
Citing is described in further detail by method according to described by above-described embodiment below.
Refer to Fig. 4, Fig. 4 is another schematic flow sheet of the report method falling data provided in an embodiment of the present invention.
Specifically, methods described includes:
In step s 201, what acquisition mobile terminal collected falls data.
Wherein, described data of falling refers to data when falling accessed by gravity sensor for the mobile terminal, such as moves
The acceleration direction of dynamic terminal and size etc..
In step S202, determine that default data storage method is queuing data storage mode.
Wherein, described queuing data storage mode is at the data of first in first out (First In First Out, FIFO)
Reason mode is processed, and the instruction being introduced into first completes and retires from office, and then just execution Article 2 instruction.
In step S203, data storage will be fallen in data buffer according to queuing data storage mode.
In a kind of possible implementation, mobile terminal is stored in data buffer storage by falling data in the form of first in first out
In device, the storage mode of described first in first out has convenience, efficient feature.
Such as, mobile phone, during falling, gathers mobile phone produced number in falling process by gravity sensor
According to, such as accekeration, acceleration direction etc., the data of falling collecting is write data buffer by the form of first in first out
In, by falling, by described, the form that data is stored, it is to avoid fall the situation that data frequently reports.
In step S204, judge whether the memory space of data buffer exceedes predetermined threshold value.
It is understood that falling data storage in data buffer, when storing certain quantity, may lead to count
Memory space inadequate according to buffer.
Wherein, if judging, the memory space of data buffer exceedes predetermined threshold value, execution step S208, if judging
The memory space of data buffer is less than predetermined threshold value, then execution step S205.
Such as, the memory space of the data buffer in mobile phone is 20Mb, when the actual storage data in data buffer
When reaching 18MB, if if timely not reported process, may lead to fall the loss of data, as falling of actual storage
When data is 19MB, exceed predetermined threshold value 18MB, the memory space of data buffer exceedes predetermined threshold value, fall number by store
According to reporting process.
In step S205, obtain the current time of mobile terminal.
In step S206, judge whether described current time reaches Preset Time.
It is understood that server periodically is acquired collecting to the data of falling of each mobile terminal, can be according to clothes
Business device process time, arranges Preset Time, when the time reaching Preset Time, the data of falling of mobile terminal is reported to service
Device, so that server is processed to mobile terminal.
Wherein, if judging whether current time reaches Preset Time, execution step S208, if judging current time
Not up to Preset Time, then execution step S207.
Such as, server is once fallen data statistics to each mobile phone daily, now can arrange pre- on mobile phone
If the time is 11:45, when on mobile phone, the time reaches 11:When 45, data will be fallen and report in server, so that server is carried out
Process.
In step S207, when detecting that mobile terminal receives to falling triggering command that data is processed, really
Fixed number is the queuing data way of output according to the way of output.
It is understood that falling, in order to be lifted, the flexibility that data reports, can need to falling data in server
When being processed, send triggering command to mobile terminal it is also possible to carry out reporting process by the data of falling of user's active.
In step S208, obtain from described data buffer according to the described queuing data way of output and fall data,
And described data of falling is carried out unifying to report, so that carrying out respective handling to falling data.
Wherein, after receiving triggering command, mobile terminal will fall digital independent out according to the mode of first in first out,
And report in server the data of falling reading out together, so that server carries out respective handling to falling data.
In step S209, the data of falling in data buffer is carried out delete processing.
Wherein, when mobile terminal by described fall data is activation to server after, by data buffer preserve fall
The data that falls is deleted, to ensure the workability of memory space.
Such as, what the data buffer on mobile phone stored 19MB falls data, and the data of falling of this 19MB is reported
To server, will format in data buffer, to ensure that data buffer space uses enough.
From the foregoing, a kind of report method falling data that the present embodiment provides, by data will be fallen with advanced
The form first going out is stored, and when the memory space inadequate of the data buffer of mobile terminal, reaches when calling time on default
Or when mobile terminal receives the triggering command of process, data will be fallen and carry out unifying to report, with respect to prior art, carry
Rise and fallen the flexibility that data reports, reduced the power consumption of mobile terminal.
In certain possible embodiment, the described report method falling data can be applied in step-recording method,
During user carries out meter step, the gravity sensor on mobile phone obtains meter step data, when described meter step data is walked for user
Because center of gravity moves up and down, the accekeration accessed by gravity sensor and acceleration direction, described meter step data is deposited by mobile phone
During storage is stored to data buffer in the form of the first in first out, when user needs to check data, server obtains looking into of user
See operation, send triggering command to mobile phone, after mobile phone receives triggering command, by the meter storing in data buffer step data
Send to server, so that server carries out meter step Data-Statistics, this step-recording method according to meter step data, mobile phone does not need frequently
Step data of counting send to server, and when needing to check, will count step data sends to server, greatly reduces mobile phone
Power consumption, improve the cruise-ability of mobile phone.
Implement the report method falling data provided in an embodiment of the present invention for ease of more preferable, the embodiment of the present invention also carries
For a kind of device based on the above-mentioned report method falling data.The wherein implication of noun and the above-mentioned report method falling data
In identical, implement details and may be referred to the explanation in embodiment of the method.
Refer to Fig. 5, Fig. 5 is the module diagram of the reporting device falling data provided in an embodiment of the present invention.Specifically
For, the described reporting device 300 falling data, including:Data acquisition module 31, memory module 32, determining module 33 and
Reporting module 34.
Described data acquisition module 31, falls data for obtain that mobile terminal collects.
Wherein, described data of falling refers to data when falling accessed by gravity sensor for the mobile terminal, such as moves
The acceleration direction of dynamic terminal and size etc.,.
Described memory module 32, for being stored described data of falling according to default data storage method.
Described determining module 33, for when detecting that mobile terminal receives to falling the triggering command that data is processed
When, determine corresponding data output mode.
Described reporting module 34, for carrying out unifying to report to falling data according to described data output mode, so that right
Fall data and carry out respective handling.
Can be in the lump with reference to Fig. 6, Fig. 6 is that another module of the reporting device falling data provided in an embodiment of the present invention is illustrated
Figure, the described reporting device falling data can also include:
Storage judge module 35, whether the memory space for judging data buffer exceedes predetermined threshold value.
Described reporting module 34, is additionally operable to when the memory space judging described data buffer exceedes predetermined threshold value,
Execution carries out unifying to report to falling data.
Time-obtaining module 36, for obtaining the current time of mobile terminal.
Time judgment module 37, for judging whether described current time reaches Preset Time.
Described reporting module 34, is additionally operable to when judging that described current time reaches Preset Time, and execution is to falling number
According to carrying out unifying to report.
Removing module 38, is connected to described reporting module 34, for being deleted the data of falling in data buffer
Process.
Wherein, in order to ensure memory space in data buffer can practicality, after executing described reporting module, institute
State removing module 38 and will format process in data buffer, data of falling therein is carried out delete processing.
In certain possible embodiment, described memory module 32, for according to default data storage method by institute
State and fall data and stored.
Wherein, described memory module 32 can include:Determination sub-module 321 and sub-module stored 322.
Specifically, described determination sub-module 321, for determining default data storage method for queuing data storage side
Formula.Described sub-module stored 322, for according to queuing data storage mode by described data storage of falling in data buffer
In.
Described determining module 33, is additionally operable to refer to when detecting mobile terminal to receive to falling the triggering that data processed
When making, determine that data output mode is the queuing data way of output.
Described reporting module 34, is additionally operable to obtain from described data buffer according to the described queuing data way of output and falls
Fall data, and described data of falling is carried out unifying to report.
From the foregoing, a kind of reporting device falling data that the present embodiment provides, by data will be fallen with advanced
The form first going out is stored, and when the memory space inadequate of the data buffer of mobile terminal, reaches when calling time on default
Or when mobile terminal receives the triggering command of process, data will be fallen and carry out unifying to report, with respect to prior art, carry
Rise and fallen the flexibility that data reports, reduced the power consumption of mobile terminal.
Refer 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, including: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);With memory 4000, above-mentioned input equipment 1000, defeated
Go out equipment 2000, processor 3000 and memory 4000 to connect by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse etc..
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high-speed RAM memory, alternatively non-labile memory (non-volatile
Memory), such as magnetic disc store.Above-mentioned memory 4000 is used for storing batch processing code, above-mentioned input equipment 1000, defeated
Go out equipment 2000 and processor 3000 is used for calling the program code of storage in memory 4000, execution is following to be operated:
Code is executed by processor 3000, what acquisition mobile terminal collected falls data.
Code is executed by processor 3000, according to default data storage method, described data of falling is stored.
Code is executed by processor 3000, when detecting that mobile terminal receives to falling the triggering that data is processed
During instruction, determine corresponding data output mode.
Code is executed by processor 3000, carries out unifying to report to falling data according to described data output mode, with
Make to carry out respective handling to falling data.
In some embodiments, code be can also carry out by processor 3000, described according to default data storage
Described data of falling is stored by mode, including:Determine that default data storage method is queuing data storage mode;By pressing
According to queuing data storage mode by described data storage of falling in data buffer;Determine corresponding data output mode, bag
Include:Determine that data output mode is the queuing data way of output;Unify to falling data according to described data output mode
Report, including:Obtain from described data buffer according to the described queuing data way of output and fall data, and fall number to described
According to carrying out unifying to report.
In some embodiments, code be can also carry out by processor 3000, described when detecting that mobile terminal connects
Before receiving to falling during triggering command that data processed, also include:Judge whether the memory space of data buffer surpasses
Cross predetermined threshold value;If judging, the memory space of described data buffer exceedes predetermined threshold value, executes and carries out to falling data
Unification reports.
In some embodiments, code be can also carry out by processor 3000, described when detecting that mobile terminal connects
Before receiving to falling during triggering command that data processed, also include:Obtain the current time of mobile terminal;Judge described
Whether current time reaches Preset Time;If judging, described current time reaches Preset Time, executes to enter to falling data
Row unification reports.
In some embodiments, code be can also carry out by processor 3000, described according to described data output side
Formula, to falling after data carries out unifying to report, also includes:Data of falling in data buffer is carried out delete processing.
Any one inventive embodiments can be executed being provided by this mobile terminal falls the report method of data, because
This, it is possible to achieve inventive embodiments provided any one fall beneficial effect achieved by the report method of data, refer to
Embodiment above, will not be described here.
When being embodied as, above unit can be realized as independent entity it is also possible to be combined, and makees
To realize for same or several entities, being embodied as of above unit can be found in embodiment of the method above, and here is not
Repeat again.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the detailed description above with respect to the report method falling data, here is omitted.
The report method falling data provided in an embodiment of the present invention, device and mobile terminal, such as panel computer, hand
Machine etc., described mobile terminal, falls the reporting device of data and falls the report method of data and belong to same design, described
Fall the either method providing in the report method embodiment that data is fallen described in can running on the reporting device of data, its tool
Process of realizing body falls the report method embodiment of data described in referring to, and here is omitted.
It should be noted that for the report method falling data of the present invention, this area common test personnel can
To understand all or part of flow process realizing the report method that the embodiment of the present invention falls data, can be by computer program
Hardware to control correlation to complete, and described computer program can be stored in a computer read/write memory medium, such as stores
In the memory of terminal, and by least one computing device in this terminal, may include in the process of implementation and fall as described
The flow process of the embodiment of the report method of the data that falls.Wherein, described storage medium can be magnetic disc, CD, read-only storage
(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, its each functional module can be integrated in one
In process chip or modules are individually physically present it is also possible to two or more modules are integrated in a mould
In block.Above-mentioned integrated module both can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If described integrated module realized using in the form of software function module and as independent production marketing or use when it is also possible to
It is stored in a computer read/write memory medium, described storage medium is such as read-only storage, disk or CD etc..
A kind of report method falling data, device and the mobile terminal that above the embodiment of the present invention are provided are carried out
It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, above example
Illustrate that being only intended to help understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this
The thought of invention, all will change in specific embodiments and applications, and in sum, this specification content should not
It is interpreted as limitation of the present invention.
Claims (10)
1. a kind of report method falling data is it is characterised in that include:
What acquisition mobile terminal collected falls data;
According to default data storage method, described data of falling is stored;
When detecting that described mobile terminal receives to falling triggering command that data is processed, determine that corresponding data is defeated
Go out mode;
Carry out unifying to report to falling data according to described data output mode, so that carrying out respective handling to falling data.
2. fall the report method of data as claimed in claim 1 it is characterised in that described according to default data storage side
Described data of falling is stored by formula, including:
Determine that default data storage method is queuing data storage mode;
According to queuing data storage mode by described data storage of falling in data buffer;
Determine corresponding data output mode, including:Determine that data output mode is the queuing data way of output;
Carry out unifying to report to falling data according to described data output mode, including:According to the described queuing data way of output
Obtain from described data buffer and fall data, and described data of falling is carried out unifying to report.
3. fall the report method of data as claimed in claim 2 it is characterised in that described ought detect that mobile terminal receives
To before to falling during triggering command that data processed, also include:
Judge whether the memory space of data buffer exceedes predetermined threshold value;
If judging, the memory space of described data buffer exceedes predetermined threshold value, executes to falling on data unifies
Report.
4. fall the report method of data as claimed in claim 1 it is characterised in that described ought detect that mobile terminal receives
To before to falling during triggering command that data processed, also include:
Obtain the current time of mobile terminal;
Judge whether described current time reaches Preset Time;
If judging, described current time reaches Preset Time, executes and carries out unifying to report to falling data.
5. any one as described in Claims 1-4 fall data report method it is characterised in that described according to described number
According to the way of output to falling after data carries out unifying to report, also include:Data of falling in data buffer is deleted
Process.
6. a kind of reporting device falling data is it is characterised in that include:
Data acquisition module, falls data for obtain that mobile terminal collects;
Memory module, for being stored described data of falling according to default data storage method;
Determining module, for when detecting that described mobile terminal receives to falling triggering command that data is processed, really
Fixed corresponding data output mode;
Reporting module, for carrying out unifying to report to falling data according to described data output mode, so that enter to falling data
Row respective handling.
7. fall the reporting device of data as claimed in claim 6 it is characterised in that described memory module, including:
Determination sub-module, for determining that default data storage method is queuing data storage mode;
Sub-module stored, for according to queuing data storage mode by described data storage of falling in data buffer;
Described determining module, is additionally operable to when detecting that mobile terminal receives to falling triggering command that data is processed,
Determine that data output mode is the queuing data way of output;
Described reporting module, is additionally operable to obtain from described data buffer according to the described queuing data way of output and falls number
According to, and described data of falling is carried out unifying to report.
8. fall the reporting device of data as claimed in claim 7 it is characterised in that described device also includes:
Storage judge module, whether the memory space for judging data buffer exceedes predetermined threshold value;
Described reporting module, is additionally operable to when the memory space judging described data buffer exceedes predetermined threshold value, and execution is right
Fall data to carry out unifying to report;
Time-obtaining module, for obtaining the current time of mobile terminal;
Time judgment module, for judging whether described current time reaches Preset Time;
Described reporting module, is additionally operable to when judging that described current time reaches Preset Time, and execution is carried out to falling data
Unification reports.
9. the reporting device falling data as described in any one of claim 6 to 8 is it is characterised in that described device also includes:
Removing module, is connected to described reporting module, for the data of falling in data buffer is carried out delete processing.
10. a kind of mobile terminal is it is characterised in that include:
Be stored with the memory of executable program code;
The processor coupling with described memory;
Described processor calls the described executable program code of storage in described memory, and execution such as claim 1 is to right
Require the method described in 5 any one.
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 true CN106453832A (en) | 2017-02-22 |
CN106453832B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108307045A (en) * | 2018-01-09 | 2018-07-20 | 广东欧珀移动通信有限公司 | Electronic equipment and Related product |
CN108377295A (en) * | 2018-01-31 | 2018-08-07 | 广东欧珀移动通信有限公司 | Electronic device falls date storage method and Related product |
CN108810246A (en) * | 2018-04-26 | 2018-11-13 | Oppo广东移动通信有限公司 | Fall data reporting method and relevant apparatus |
CN108882347A (en) * | 2018-04-26 | 2018-11-23 | Oppo广东移动通信有限公司 | Fall data processing method and relevant apparatus |
CN113473378A (en) * | 2020-03-31 | 2021-10-01 | 宇龙计算机通信科技(深圳)有限公司 | Movement track reporting method and device, storage medium and electronic equipment |
US11234102B2 (en) | 2018-01-18 | 2022-01-25 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for reporting data and related products |
Citations (4)
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 |
US20160154439A1 (en) * | 2011-09-16 | 2016-06-02 | Apple Inc. | Protecting an electronic device |
-
2016
- 2016-09-06 CN CN201610807972.0A patent/CN106453832B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160154439A1 (en) * | 2011-09-16 | 2016-06-02 | Apple Inc. | Protecting an electronic device |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108307045A (en) * | 2018-01-09 | 2018-07-20 | 广东欧珀移动通信有限公司 | Electronic equipment and Related product |
US11234102B2 (en) | 2018-01-18 | 2022-01-25 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for reporting data and related products |
CN108377295A (en) * | 2018-01-31 | 2018-08-07 | 广东欧珀移动通信有限公司 | Electronic device falls date storage method and Related product |
CN108810246A (en) * | 2018-04-26 | 2018-11-13 | Oppo广东移动通信有限公司 | Fall data reporting method and relevant apparatus |
CN108882347A (en) * | 2018-04-26 | 2018-11-23 | Oppo广东移动通信有限公司 | Fall data processing method and relevant apparatus |
CN108882347B (en) * | 2018-04-26 | 2020-09-22 | Oppo广东移动通信有限公司 | Fall data processing method and related device |
CN113473378A (en) * | 2020-03-31 | 2021-10-01 | 宇龙计算机通信科技(深圳)有限公司 | Movement track reporting method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106453832B (en) | 2019-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453832A (en) | Drop data reporting method and device as well as mobile terminal | |
CN104699598B (en) | Automated testing method, device, equipment and system | |
WO2019128540A1 (en) | Resource management method, mobile terminal and computer readable storage medium | |
CN103221899B (en) | Tactile input device, microprocessor system and the method for control tactile input device | |
CN104636240B (en) | A kind of acquisition methods and terminal of information report | |
CN107223232A (en) | Electronic equipment and detection method | |
CN104363988B (en) | A kind of management method and device of multi-core processor | |
CN106227437A (en) | A kind of unlocked by fingerprint method and terminal | |
CN105912918A (en) | Fingerprint unlocking method and terminal | |
US20150128095A1 (en) | Method, device and computer system for performing operations on objects in an object list | |
CN102970244A (en) | Network message processing method of multi-CPU (Central Processing Unit) inter-core load balance | |
CN104698824A (en) | Intelligent wearable device capable of calculating steps with low power consumption | |
CN106020844A (en) | Method and device for determining kernel running configurations in processor | |
CN109800204A (en) | Data distributing method and Related product | |
CN115016866A (en) | Data processing method during application starting, electronic equipment and storage medium | |
CN112152874A (en) | System and method for acquiring and analyzing application monitoring data in distributed system | |
CN105471938A (en) | Server load management method and server load management device | |
CN112543195B (en) | Information security assessment method and device for intelligent networked automobile and electronic equipment | |
CN103955422B (en) | Method for analyzing I/O (Input/Output) performance interference of coexisting application in virtualized environment and system thereof | |
CN110275639A (en) | Touch data processing method, device, terminal and storage medium | |
CN109344025A (en) | Cpu performance is from monitoring method and server | |
CN108762526A (en) | A kind of acceleration sensor triggering judgment method in smart machine and device | |
CN109240531A (en) | Sampling compensation method, device, mobile terminal and the storage medium of touch data | |
CN103281219A (en) | Method and device for listening into ISOIEC7816-3 interface data interaction | |
CN113031812A (en) | Touch event reporting method and device, terminal and storage medium |
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 |