CN106685593A - Data reporting control method, data reporting control apparatus and terminal - Google Patents

Data reporting control method, data reporting control apparatus and terminal Download PDF

Info

Publication number
CN106685593A
CN106685593A CN201611225995.7A CN201611225995A CN106685593A CN 106685593 A CN106685593 A CN 106685593A CN 201611225995 A CN201611225995 A CN 201611225995A CN 106685593 A CN106685593 A CN 106685593A
Authority
CN
China
Prior art keywords
data
time interval
reported
loss
target
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
CN201611225995.7A
Other languages
Chinese (zh)
Other versions
CN106685593B (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 CN201611225995.7A priority Critical patent/CN106685593B/en
Publication of CN106685593A publication Critical patent/CN106685593A/en
Application granted granted Critical
Publication of CN106685593B publication Critical patent/CN106685593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate

Abstract

The embodiment of the invention discloses a data reporting control method, a data reporting control apparatus and a terminal, and relates to the technical field of terminals. The method includes the following steps: detecting whether data loss exits when a sensor reports the data; if data loss exits, obtaining a target time interval between lost target data and previous data; and if the target time interval is smaller than a set time interval of data filtering, reducing the frequency of data reporting of the sensor so that the time interval among the data reported by the sensor is greater than the sett time interval. According to the embodiment of the invention, the data is prevented from being lost when being reported by the sensor, and the accuracy of control over modules inside the terminal is improved.

Description

Control method, device and terminal that a kind of data are reported
Technical field
The present invention relates to field of terminal technology, more particularly to control method, device and the terminal that a kind of data are reported.
Background technology
With the development of communication technology, the use of various terminals is increasingly popularized, and terminal is had become in people's life Indispensable instrument.
Terminal of the prior art, mobile phone etc., generally using audio digital signal processor (Audio Digital Dignal Processor, ADSP) framework, ADSP frameworks refer to:Institute of the sensor carry on ADSP, in ADSP management terminals There is sensor, under this framework, all of sensor is interacted with ADSP, sensor can give the data is activation of acquisition ADSP.Then ADSP is interacted with upper system, and the data for receiving are reported into upper system, wherein, upper system can In to be configured in application processor (Application Processor, AP).
But, under ADSP frameworks, during sensor reported data, can there is the situation of loss of data, make sensing Device can not successful reported data, affect the accuracy of its internal each module of terminal control.
The content of the invention
In view of this, the embodiment of the present invention provides control method, device and the terminal that a kind of data are reported, existing to solve In technology during sensor reported data loss of data technical problem.
In a first aspect, the control method that a kind of data are reported is embodiments provided, including:
Whether there is loss of data during detection sensor reported data;
If there is loss of data, the target time interval between lost target data and a upper data is obtained;
If the target time interval is spaced less than the setting time of data filtering, the sensor reported data is reduced Frequency is so that the time interval between the sensor reported data is spaced more than the setting time.
Second aspect, the embodiment of the present invention additionally provides the control device that a kind of data are reported, including:
Data loss detection module, for whether there is loss of data during detection sensor reported data;
Target time interval acquisition module, if for there is loss of data, obtaining lost target data and a upper number Target time interval according between;
Frequency reduces module, if being spaced less than the setting time of data filtering for the target time interval, reduces institute The frequency of sensor reported data is stated so that the time interval between the sensor reported data is more than between the setting time Every.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal, including memorizer, processor and is stored in memorizer Computer program that is upper and can running on a processor, following steps are realized described in the computing device during computer program: Whether there is loss of data during detection sensor reported data;
If there is loss of data, the target time interval between lost target data and a upper data is obtained;
If the target time interval is spaced less than the setting time of data filtering, the sensor reported data is reduced Frequency is so that the time interval between the sensor reported data is spaced more than the setting time.
Technical scheme provided in an embodiment of the present invention, when there is loss during detecting sensor reported data, if Target time interval between lost target data and a upper data is spaced less than the setting time of data filtering, by drop The frequency of low sensor reported data to prevent sensor reported data during data loss, improve terminal control inside it The accuracy of each module.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, other of the invention Feature, objects and advantages will become more apparent upon:
Fig. 1 is the control method flow chart that a kind of data provided in an embodiment of the present invention are reported;
Fig. 2 is the control method flow chart that another data provided in an embodiment of the present invention are reported
Fig. 3 is the control method flow chart that another data provided in an embodiment of the present invention are reported
Fig. 4 is the control device structured flowchart that a kind of data provided in an embodiment of the present invention are reported;
Fig. 5 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples the present invention is described in further detail.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Fig. 1 is the control method flow chart that a kind of data provided in an embodiment of the present invention are reported, and methods described is by data Performing, described device is performed the control device of report by software and/or hardware, and described device is configured in the terminals such as mobile phone In, methods described is applied in the scene of sensor reported data.As shown in figure 1, the technical scheme that the present embodiment is provided is concrete It is as follows:
S110:Whether there is loss of data during detection sensor reported data.
Count off on a sensor is regularly reported data according to during, but due to driving during generation data not Stablize, or the impact of other factors causes the exception of data to report, so as to cause loss of data.
In the present embodiment, to entering in the following way with the presence or absence of loss of data during sensor reported data Row detection:Can detect in filter with the presence or absence of data, or can detect that whether other have in the module of filtering function There are data.Wherein, can also by other means, to inspection with the presence or absence of loss of data during detection sensor reported data The mode of survey is not restricted.
S120:If there is loss of data, the target time interval between lost target data and a upper data is obtained.
In the present embodiment, it is exemplary, it is described obtain between lost target data and a upper data target when Between be spaced, including:Obtain the very first time stamp of lost target data and the second timestamp of a upper data;Based on described The very first time stabs and second timestamp, determines the target time interval between lost target data and a upper data. Wherein, when the difference between very first time stamp and the second timestamp is the target between lost target data and a upper data Between be spaced.Optionally, target data the very first time stamp be target data produce time, the second timestamp of a upper data It is the time of upper data generation.Under normal conditions, from sensor immediately to ADSP reported datas after data are produced.And And the very first time stamp of target data can be time that target data is reported, or can also be other that determine as needed Time, the second timestamp of a corresponding upper data can also be the time that a upper data are reported, or can also be root According to it needs to be determined that other times.
In the present embodiment, the quantity of the data of loss can be one, or multiple.When the data bulk lost When being one, the upper data of lost target data are the data that the last time normally reports, that is, the data do not lost.When losing When the data of mistake are multiple, a upper data of lost target data are probably the data normally not reported, it is also possible to just The data for often reporting.
For example, the quantity of the data of loss is 1, and lost target data are 7 for 5, a 5 upper data, then 7 is just The data for often reporting.And for example, if the quantity of the data lost is two, the upper data for being respectively successively 5 and 6,6 are 7,7 It is the data for normally reporting;If the upper data that lost target data are 5,5 are 6, and 6 is also the data lost.If Lost target data are 6, then a 6 upper data (7) are the data for normally reporting.
S130:If the target time interval is spaced less than the setting time of data filtering, reduces the sensor and report The frequency of data is so that the time interval between sensor reported data is spaced more than the setting time.
In the present embodiment, setting time interval is the condition of data filtering.On a sensor during count off evidence, if The time interval of the data that the data that sensor this time is reported are reported with the last time is spaced more than the setting time of data filtering, then The data that this time is reported will not be filtered, i.e., the data that this time is reported will not lose.If in the data that this time is reported and last time The time interval of the data of report is spaced less than the setting time of data filtering, then the data that this time is reported can be filtered, i.e. this time The loss of data for reporting.Therefore, when the time interval between lost target data and a upper data is less than data filtering When setting time is spaced, show that the frequency of sensor reported data is higher, make the time interval between the data for reporting less, lead The loss of data is caused, accordingly, it would be desirable to reduce the frequency of sensor reported data so that between the time between sensor reported data Every being spaced more than setting time, the loss of data is prevented.
On the basis of above-described embodiment, when the time interval between lost target data and a upper data is less than number When being spaced according to the setting time for filtering, can also reduce driving the frequency of generation data, or processor reading can also be reduced The frequency of data, or can also be other modes.
The control method that a kind of data are reported is present embodiments provided, is existed during sensor reported data is detected During loss, if between setting time of the target time interval between lost target data and a upper data less than data filtering Every, by reduce sensor reported data frequency to prevent sensor reported data during data loss, improve terminal Control the accuracy of its internal each module.
Fig. 2 is the control method flow chart that another data provided in an embodiment of the present invention are reported, in above-described embodiment On the basis of, optionally, loss of data is whether there is during the detection sensor reported data, including:
Detect and whether there is in the filter for data filtering data;
If there are data in the filter, judge that the sensor has loss of data during reporting;
If there are no data in the filter, judge there is no loss of data during the sensor reported data.
Thus, by judging that sensor whether there is loss of data during reporting with the presence or absence of data in filter, The data of loss can be accurately identified.
Further, described method also includes:If the target time interval is spaced more than the setting time, abandon Reduce the frequency of the sensor reported data.
Thus, when target time interval is spaced more than setting time, by abandoning reducing the frequency of sensor reported data Rate, it is to avoid the frequency of adjustment sensor reported data causes other exceptions.
Based on above-mentioned optimization, as shown in Fig. 2 the technical scheme that the present embodiment is provided is specific as follows:
S210:Detect and whether there is in the filter for data filtering data.
If there are no data in filter, S220 is performed.If there are data in filter, S230 is performed.
S220:Judge there is no loss of data during the sensor reported data.
S230:Judge that the sensor has loss of data during reporting.
In the present embodiment, filter was used for filter data, and was provided with the setting time interval that filter crosses filter data. When the time interval between the data that sensor is reported and a upper data crosses the setting time interval of filter data less than filter When, filter is filtered data.If the time interval between the data that sensor is reported and a upper data is more than setting Time interval, filter is not filtered to data, and sensor is reported data.Therefore, when there are data in filter When, judge that sensor has loss of data during reporting.When there are no data in filter, judge that sensor reports process In there is no loss of data.
In the present embodiment, can be detected by ADSP with the presence or absence of data in filter for detecting, or also may be used To be detected by other processors.In the present embodiment, it is preferably by ADSP with the presence or absence of data for detecting in filter Detected.
S240:Obtain the target time interval between lost target data and a upper data.
S250:Judge whether the target time interval is spaced less than the setting time of data filtering.
If so, 260 are performed, if it is not, performing S270.
S260:The frequency of the sensor reported data is reduced so that the time interval between sensor reported data is more than The setting time interval.
S270:Abandon reducing the frequency of the sensor reported data.
In the present embodiment, when detecting loss of data, and between setting time of the target time interval more than data filtering Every when, abandon reduce sensor reported data frequency.Reason is, when target time interval is spaced more than setting time, The data that sensor is reported will not be filtered by filter, therefore, it is not the frequency of sensor reported data the reason for loss of data Rate is too high, but loss of data caused by other factors.
It should be noted that the embodiment of the present invention is exemplary S210-S270 one example of composition is performed in a kind of data The control method of report, but the present embodiment is only a kind of example of the present invention, in other embodiments of the invention, S210- S260 can constitute an example, perform the control method that a kind of data are reported.And the order in each step of the present embodiment Can adjust accordingly, have no effect on the control reported to data, and the loss of data can be avoided.
The control method that a kind of data are reported is present embodiments provided, is existed during sensor reported data is detected During loss, if between setting time of the target time interval between lost target data and a upper data less than data filtering Every, by reduce sensor reported data frequency to prevent sensor reported data during data loss, improve terminal Control the accuracy of its internal each module;By judging whether sensor is deposited during reporting with the presence or absence of data in filter In loss of data, loss data can be accurately identified;When target time interval is spaced more than setting time, by abandoning reducing The frequency of sensor reported data, it is to avoid the frequency of adjustment sensor reported data causes other exceptions.
Fig. 3 is the control method flow chart that another data provided in an embodiment of the present invention are reported, in above-described embodiment On the basis of, described method also includes:
Record the timestamp of data in the data and the filter in the filter;
Create for regularly reporting the data of record and the intervalometer of the timestamp;
When the timing of the intervalometer is reached, the data and the timestamp of record are reported, Wherein, the timing is spaced more than the setting time.
Thus, by data in recording filter and the timestamp of data, and by when the timing of the intervalometer for creating When time reaches, the timestamp of the data of record and data is reported, the data lost can be also carried out reporting, Do not affect the accuracy of data, and solve the problems, such as sensor report during data loss.
Accordingly, as shown in figure 3, the technical scheme of the present embodiment offer is specific as follows:
S310:Detect and whether there is in the filter for data filtering data.
If there are no data in filter, S320 is performed.If there are data in filter, S330 is performed.
S320:Judge there is no loss of data during the sensor reported data.
S330:Judge that the sensor has loss of data during reporting.
S340:Obtain the target time interval between lost target data and a upper data.
S350:Judge whether the target time interval is spaced less than the setting time of data filtering.
If so, 360 are performed, if it is not, performing S370.
S360:The frequency of the sensor reported data is reduced so that the time interval between sensor reported data is more than The setting time interval.
S370:Abandon reducing the frequency of the sensor reported data.
S380:Record the timestamp of data in the data and the filter in the filter.
In the present embodiment, the time of data can be performed by filter in data and filter in recording filter, Or can also be performed by ADSP, or by other computing devices, or can also be performed by other modules in terminal.This In embodiment, the timestamp of the data in filter is to drive the time for producing the data.
It should be noted that when the data in filter also include other information, can be with other letters of record data Breath.
S390:Create for regularly reporting the data of record and the intervalometer of the timestamp.
In the present embodiment, the intervalometer of establishment is used to regularly report the data of record and the timestamp of data.This reality In applying example, for intervalometer need to arrange timing, when timing is reached, by the data of record and the timestamp of data Reported.Wherein, in order to avoid the data of record are filtered by filter, the timing of setting is spaced more than setting time.
S391:When the timing of the intervalometer is reached, the data and the timestamp of record are carried out Report.
In the present embodiment, by data in recording filter and the timestamp of data, and by when the timing for creating When the timing of device is reached, the timestamp of the data of record and data is reported, the data of loss can be carried out Time delay is reported, and has no effect on the accuracy of data.
It should be noted that exemplary being placed on S380, S390 and S391 after S370 of the embodiment of the present invention is performed, but The present embodiment is only a kind of example of the present invention, in other embodiments of the invention, can also be by S380, S390 and S391 It is placed on before S340 and performs, and the execution sequence of other steps can also be adjusted accordingly in the present embodiment, be had no effect on The control that data are reported, and the loss of data can be avoided.
Present embodiments provide the control method that a kind of data are reported, by data in recording filter and data when Between stab, and by when create intervalometer timing reach when, the timestamp of the data of record and data is carried out Report, the data lost can be also carried out reporting, and not affect the accuracy of data, and solve number during sensor is reported According to loss problem.
Fig. 4 is the structured flowchart of the control device that a kind of data provided in an embodiment of the present invention are reported, and described device is used for Perform the control method that a kind of data are reported.As shown in figure 4, described device 400 includes:Data loss detection module 410, target Time interval acquisition module 420 and frequency reduce module 430.
Wherein, data loss detection module 410, for losing with the presence or absence of data during detection sensor reported data Lose;
Target time interval acquisition module 420, if for there is loss of data, obtaining lost target data with upper one Target time interval between data;
Frequency reduces module 430, if being spaced less than the setting time of data filtering for the target time interval, reduces The frequency of the sensor reported data is so that the time interval between sensor reported data is spaced more than the setting time.
Further, the data loss detection module 410, specifically for:
Detect and whether there is in the filter for data filtering data;
If there are data in the filter, judge that the sensor has loss of data during reporting;
If there are no data in the filter, judge there is no loss of data during the sensor reported data.
Further, described device also includes:
Logging modle 440, for recording the filter in data and the filter in data timestamp;
Timer creation module 450, for creating the data and the timestamp for regularly reporting record Intervalometer;
Reporting module 460, for when the timing of the intervalometer is reached, by data of record and described Timestamp is reported, wherein, the timing is spaced more than the setting time.
Further, the target time interval obtained between lost target data and a upper data, including:
Obtain the very first time stamp of lost target data and the second timestamp of a upper data;
Based on very first time stamp and second timestamp, determine between lost target data and a upper data Target time interval.
Further, described device also includes:Module 470 is abandoned, if setting more than described for the target time interval Fix time interval, abandon reducing the frequency of the sensor reported data.
Said apparatus perform the control method that data provided in an embodiment of the present invention are reported, with corresponding functional module and Beneficial effect.
The control device that a kind of data are reported is embodiments provided, during sensor reported data is detected When there is loss, if the target time interval between lost target data and a upper data is less than the setting of data filtering Between be spaced, by reduce sensor reported data frequency to prevent sensor reported data during data loss, improve The accuracy of terminal control its internal each module.
Embodiments provide a kind of terminal, in the terminal can integrated data provided in an embodiment of the present invention report Control device.Fig. 5 is a kind of structural representation of terminal provided in an embodiment of the present invention.As shown in figure 5, the terminal 500 can be with Including:Memorizer 501, central processing unit (Central Processing Unit, CPU) 502 is (also known as processor, hereinafter referred to as CPU), touch screen 512 and storage be on a memory and the computer program that can run on a processor.The touch screen 512, It is input into the processor for user operation to be converted into into the signal of telecommunication, and shows visual output signal;Processor 502 performs meter Following steps are realized during calculation machine program:Whether there is loss of data during detection sensor reported data;If there are data to lose Lose, obtain the target time interval between lost target data and a upper data;If the target time interval is less than number According to the setting time interval filtered, the frequency of the sensor reported data is reduced so that the time between sensor reported data Interval is more than setting time interval.
The terminal 500 also includes:Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, audio-frequency electric Road 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, other input/control devicess 510 And outside port 504, these parts are communicated by one or more communication bus or holding wire 507.
It should be understood that graphic terminal 500 is only an example of terminal, and terminal 500 can have than figure Shown in more or less parts, two or more parts can be combined, or can have different portions Part is configured.Various parts shown in figure can be including including one or more signal processing and/or special IC Hardware, software or hardware and software combination in realize.
The terminal for being integrated with the control device that data are reported that the present embodiment is provided is described in detail below, the end End is by taking mobile phone as an example.
Memorizer 501, the memorizer 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memorizer 501 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU502 and be deposited by Peripheral Interface 503, the Peripheral Interface 503 Reservoir 501.
I/O subsystems 509, the I/O subsystems 509 can be by the input/output peripheral on equipment, such as touch screen 512 With other input/control devicess 510, Peripheral Interface 503 is connected to.I/O subsystems 509 can include the He of display controller 5091 For controlling one or more input controllers 5092 of other input/control devicess 510.Wherein, one or more input controls Device processed 5092 receives the signal of telecommunication or sends the signal of telecommunication to other input/control devicess 510 from other input/control devicess 510, Other input/control devicess 510 can include physical button (pressing button, rocker buttons etc.), dial, slide switches, behaviour Vertical pole, click roller.What deserves to be explained is, input controller 5092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch screen 512, the touch screen 512 is the input interface and output interface between user terminal and user, can Depending on output display to user, visual output can include figure, text, icon, video etc..
Display controller 5091 in I/O subsystems 509 receives the signal of telecommunication or to touch screen 512 from touch screen 512 Electric signals.Contact on the detection touch screen of touch screen 512, display controller 5091 is converted to the contact for detecting and display The interaction of the user interface object on touch screen 512, that is, realize man-machine interaction, the user interface being displayed on touch screen 512 Object can be the icon of running game, be networked to icon of corresponding network etc..What deserves to be explained is, equipment can also include light Mus, light Mus are not show the visual touch sensitive surface for exporting, or the extension of the touch sensitive surface formed by touch screen.
RF circuits 505, are mainly used in setting up the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.For example receive and dispatch short message, Email etc..Specifically, RF circuits 505 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 505 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to into telecommunications Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 505 can be included for performing The known circuit of these functions, its include but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple agitators, digital signal processor, CODEC (COder-DECoder, coder) chipset, ID mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, is mainly used in receiving voice data from Peripheral Interface 503, and the voice data is converted to into telecommunications Number, and the signal of telecommunication is sent to into speaker 511.
Speaker 511, for the voice signal for receiving mobile phone from wireless network by RF circuits 505, is reduced to sound And play the sound to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem and Peripheral Interface is powered And power management.
The terminal that the present embodiment is provided is used to perform the control method that the data described in the various embodiments described above are reported, its technology Principle is similar with the technique effect for producing, and repeats no more here.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (11)

1. the control method that a kind of data are reported, it is characterised in that include:
Whether there is loss of data during detection sensor reported data;
If there is loss of data, the target time interval between lost target data and a upper data is obtained;
If the target time interval is spaced less than the setting time of data filtering, the frequency of the sensor reported data is reduced So that the time interval between the sensor reported data is spaced more than the setting time.
2. method according to claim 1, it is characterised in that whether there is during the detection sensor reported data Loss of data, including:
Detect and whether there is in the filter for data filtering data;
If there are data in the filter, judge that the sensor has loss of data during reporting;
If there are no data in the filter, judge there is no loss of data during the sensor reported data.
3. method according to claim 2, it is characterised in that also include:
Record the timestamp of data in the data and the filter in the filter;
Create for regularly reporting the data of record and the intervalometer of the timestamp;
When the timing of the intervalometer is reached, the data and the timestamp of record are reported, wherein, The timing is spaced more than the setting time.
4. method according to claim 1, it is characterised in that the acquisition lost target data and a upper data it Between target time interval, including:
Obtain the very first time stamp of lost target data and the second timestamp of a upper data;
Based on very first time stamp and second timestamp, determine between lost target data and a upper data Target time interval.
5. method according to claim 1, it is characterised in that also include:If the target time interval sets more than described Fix time interval, abandon reducing the frequency of the sensor reported data.
6. the control device that a kind of data are reported, it is characterised in that include:
Data loss detection module, for whether there is loss of data during detection sensor reported data;
Target time interval acquisition module, if for there is loss of data, obtain lost target data and a upper data it Between target time interval;
Frequency reduces module, if being spaced less than the setting time of data filtering for the target time interval, reduces the biography The frequency of sensor reported data is so that the time interval between the sensor reported data is spaced more than the setting time.
7. device according to claim 6, it is characterised in that the data loss detection module, specifically for:
Detect and whether there is in the filter for data filtering data;
If there are data in the filter, judge that the sensor has loss of data during reporting;
If there are no data in the filter, judge there is no loss of data during the sensor reported data.
8. device according to claim 7, it is characterised in that also include:
Logging modle, for recording the filter in data and the filter in data timestamp;
Timer creation module, for creating for regularly reporting the data of record and the intervalometer of the timestamp;
Reporting module, for when the timing of the intervalometer is reached, by the data and the timestamp of record Reported, wherein, the timing is spaced more than the setting time.
9. device according to claim 6, it is characterised in that the acquisition lost target data and a upper data it Between target time interval, including:
Obtain the very first time stamp of lost target data and the second timestamp of a upper data;
Based on very first time stamp and second timestamp, determine between lost target data and a upper data Target time interval.
10. device according to claim 6, it is characterised in that also include:Module is abandoned, if for the object time Abandon reducing the frequency of the sensor reported data more than setting time interval in interval.
A kind of 11. terminals, including memorizer, processor and storage are on a memory and the computer journey that can run on a processor Sequence, it is characterised in that realize following steps during computer program described in the computing device:Detection sensor reported data mistake Whether there is loss of data in journey;
If there is loss of data, the target time interval between lost target data and a upper data is obtained;
If the target time interval is spaced less than the setting time of data filtering, the frequency of the sensor reported data is reduced So that the time interval between the sensor reported data is spaced more than the setting time.
CN201611225995.7A 2016-12-27 2016-12-27 A kind of control method that data report, device and terminal Active CN106685593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611225995.7A CN106685593B (en) 2016-12-27 2016-12-27 A kind of control method that data report, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611225995.7A CN106685593B (en) 2016-12-27 2016-12-27 A kind of control method that data report, device and terminal

Publications (2)

Publication Number Publication Date
CN106685593A true CN106685593A (en) 2017-05-17
CN106685593B CN106685593B (en) 2019-09-27

Family

ID=58871848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611225995.7A Active CN106685593B (en) 2016-12-27 2016-12-27 A kind of control method that data report, device and terminal

Country Status (1)

Country Link
CN (1) CN106685593B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050013245A1 (en) * 2003-07-15 2005-01-20 Srinivas Sreemanthula Method and apparatus for accelerating throughput in a wireless or other telecommunication system
CN101184052A (en) * 2007-12-25 2008-05-21 北京广视通达网络技术有限公司 Congestion control method of implementing reliable UDP transmission
CN204013518U (en) * 2014-03-25 2014-12-10 大庆虎跃科技有限公司 A kind of ZigBee wireless communication module and there is the data transmission system of this module
CN104407960A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Method and device for monitoring data
CN104965815A (en) * 2015-07-08 2015-10-07 北京恒华伟业科技股份有限公司 Data processing method and device
CN105424093A (en) * 2015-12-07 2016-03-23 重庆多邦科技股份有限公司 Environmental monitoring data transmission method
CN105450441A (en) * 2015-11-05 2016-03-30 深圳市网心科技有限公司 TCP-protocol-based weak network acceleration method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050013245A1 (en) * 2003-07-15 2005-01-20 Srinivas Sreemanthula Method and apparatus for accelerating throughput in a wireless or other telecommunication system
CN101184052A (en) * 2007-12-25 2008-05-21 北京广视通达网络技术有限公司 Congestion control method of implementing reliable UDP transmission
CN204013518U (en) * 2014-03-25 2014-12-10 大庆虎跃科技有限公司 A kind of ZigBee wireless communication module and there is the data transmission system of this module
CN104407960A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Method and device for monitoring data
CN104965815A (en) * 2015-07-08 2015-10-07 北京恒华伟业科技股份有限公司 Data processing method and device
CN105450441A (en) * 2015-11-05 2016-03-30 深圳市网心科技有限公司 TCP-protocol-based weak network acceleration method and apparatus
CN105424093A (en) * 2015-12-07 2016-03-23 重庆多邦科技股份有限公司 Environmental monitoring data transmission method

Also Published As

Publication number Publication date
CN106685593B (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN106686557B (en) Broadcast processing method, device and terminal device
CN106657681B (en) A kind of control method, device and the mobile terminal of mobile terminal refresh rate
CN111698672A (en) Audio synchronization method of wireless earphone and wireless earphone
CN107944259A (en) Using the management-control method of startup, device and storage medium and mobile terminal
CN109460364A (en) Application program detection method, device, storage medium and mobile terminal
CN106648232A (en) Method, device and terminal for preventing false triggering of touch keys
CN109412704A (en) Electromagnetic interference control method and Related product
CN104881408A (en) Method, device and system for counting number of clicks on page and displaying result
CN106776259B (en) Mobile terminal frame rate detection method and device and mobile terminal
CN108762831A (en) Application program preloads method, apparatus, storage medium and terminal
CN106936827A (en) A kind of broadcast recipients' queue regulation method, device and terminal
CN109561643A (en) Electromagnetic interference control method and Related product
CN106851014A (en) Adjust method, device and the terminal of broadcast message queue
CN106919459A (en) A kind of management method of broadcast recipients, device and terminal
CN106851592A (en) A kind of method of adjustment of broadcast recipients, device and terminal
CN107577542A (en) Log information report method, device, storage medium and mobile terminal
CN106851593A (en) A kind of broadcast transmission method, device and terminal
CN108833033A (en) RF calibration determination method for parameter, device, storage medium and mobile terminal
CN106603870A (en) Control method and device of playing equipment, playing equipment and mobile terminal
CN106713572B (en) Data reporting control method, device and terminal
CN106851595B (en) Ordered broadcast processing method, device and terminal device
CN106933684A (en) A kind of control method of broadcast recipients, device and mobile terminal
CN106936994A (en) A kind of control method of broadcast recipients, device and mobile terminal
CN106685593A (en) Data reporting control method, data reporting control apparatus and terminal
CN109753262A (en) frame display processing method, device, terminal device and storage medium

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: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant