CN106648460B - Step counting data filtering method and intelligent terminal - Google Patents

Step counting data filtering method and intelligent terminal Download PDF

Info

Publication number
CN106648460B
CN106648460B CN201610899729.6A CN201610899729A CN106648460B CN 106648460 B CN106648460 B CN 106648460B CN 201610899729 A CN201610899729 A CN 201610899729A CN 106648460 B CN106648460 B CN 106648460B
Authority
CN
China
Prior art keywords
step counting
counting data
intelligent terminal
invalid
application
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
Application number
CN201610899729.6A
Other languages
Chinese (zh)
Other versions
CN106648460A (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 CN201610899729.6A priority Critical patent/CN106648460B/en
Publication of CN106648460A publication Critical patent/CN106648460A/en
Application granted granted Critical
Publication of CN106648460B publication Critical patent/CN106648460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for the communications field, provides a kind of step counting data filtering method and intelligent terminal.The described method includes: the acceleration change value and variation duration of detection intelligent terminal;The intelligent terminal acceleration change value exceed preset acceleration change threshold value, and the variation duration exceed preset variation duration threshold value when, generation step counting data;Obtain the reporting policy of step counting data;The invalid step counting data in the step counting data generated are determined according to the reporting policy;The invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data.Enable to remaining effective step counting data more accurately corresponding with the actual mobile step number of user by the above method.

Description

Step counting data filtering method and intelligent terminal
Technical field
The embodiment of the present invention belongs to the communications field more particularly to a kind of step counting data filtering method and intelligent terminal.
Background technique
Current intelligent terminal (smart phone, wearable device etc.) is generally configured with step function.
In existing step-recording method, the acceleration change value of intelligent terminal is read by gravity sensor (G-sensor), If acceleration change value is more than the changing value of setting, and the time is more than the time value of setting, then determines that effective move occurs for user It is dynamic, and cumulative step counting data.But in a practical situation, if user's hand-held intelligent terminal is mobile, but leg is effective there is no occurring Movement, then according to existing step-recording method will generation error step counting data, it is accurate so as to cause the step counting data of generation Rate is lower.
Summary of the invention
The embodiment of the invention provides a kind of step counting data filtering method and intelligent terminals, it is intended to it is raw to solve existing method At the lower problem of step counting data accuracy.
The embodiment of the present invention is in a first aspect, provide a kind of step counting data filtering method, which comprises
Detect the acceleration change value and variation duration of intelligent terminal;
Exceed preset acceleration change threshold value in the acceleration change value of the intelligent terminal, and the variation duration is super Out when preset variation duration threshold value, step counting data are generated;
Obtain the reporting policy of step counting data;
The invalid step counting data in the step counting data generated are determined according to the reporting policy;
The invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data.
The second aspect of the embodiment of the present invention, provides a kind of intelligent terminal, and the intelligent terminal includes:
Acceleration change value detection unit, for detecting the acceleration change value and variation duration of intelligent terminal;
Step counting data generating unit exceeds preset acceleration change for the acceleration change value in the intelligent terminal Threshold value, and the variation duration exceed preset variation duration threshold value when, generation step counting data;
Reporting policy acquiring unit, for obtaining the reporting policy of step counting data;
Invalid step counting data determination unit, by being determined according to the reporting policy based on invalid in the step counting data generated Step data;
Effective step counting data determination unit, the invalid step counting data in step counting data for filtering the generation, with To effective step counting data.
The third aspect of the embodiment of the present invention, provides a kind of intelligent terminal, and the intelligent terminal includes:
Processor, for detecting the acceleration change value and variation duration of intelligent terminal;In adding for the intelligent terminal Velocity variations value exceed preset acceleration change threshold value, and the variation duration exceed preset variation duration threshold value when, give birth to At step counting data;Obtain the reporting policy of step counting data;It is invalid in the step counting data generated to be determined according to the reporting policy Step counting data;The invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data.
In embodiments of the present invention, due to determining life also according to the reporting policy of step counting data after generating step counting data At step counting data in invalid step counting data, and the invalid step counting data are filtered, therefore, so that remaining effective step counting data It can be more accurately corresponding with the actual mobile step number of user.
Detailed description of the invention
Fig. 1 is a kind of flow chart for step counting data filtering method that first embodiment of the invention provides;
Fig. 2 is the structure chart for the intelligent terminal that second embodiment of the invention provides;
Fig. 3 is a kind of block diagram of the part-structure for the relevant mobile phone of intelligent terminal that third embodiment of the invention provides;
Fig. 4 is a kind of schematic block diagram for intelligent terminal that fourth embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In the embodiment of the present invention, the acceleration change value and variation duration of intelligent terminal are detected, in the intelligent terminal Acceleration change value exceed preset acceleration change threshold value, and the variation duration is beyond preset variation duration threshold value When, step counting data are generated, the reporting policy of step counting data is obtained, are determined in the step counting data generated according to the reporting policy Invalid step counting data, filter the invalid step counting data in the step counting data of the generation, to obtain effective step counting data.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one:
Fig. 1 shows a kind of flow chart of step counting data filtering method of first embodiment of the invention offer, and details are as follows:
Step S11 detects the acceleration change value and variation duration of intelligent terminal.
Specifically, the acceleration of intelligent terminal in different time points is detected by gravity sensor, then more forward and backward adjacent The acceleration at two time points, to determine acceleration in the acceleration change value at the two time points.In addition, in intelligent terminal When acceleration changes, intelligent terminal also counts corresponding variation duration when acceleration changes.
Step S12 exceeds preset acceleration change threshold value, and the change in the acceleration change value of the intelligent terminal When changing duration beyond preset variation duration threshold value, step counting data are generated.
It should be pointed out that due under specific application scene, for example intelligent terminal incoming call motor vibrations or user open Open certain game of intelligent terminal, and these corresponding acceleration changes of specific application scene be it is excessive, therefore, can also generate Step counting data, the step counting data so as to cause generation include the step counting data of mistake.
It is possible to include wrong step counting data due to the step counting data of generation, in order to avoid misleading user, at this time The step counting data of generation will not be shown in intelligent terminal.
Step S13 obtains the reporting policy of step counting data.
Wherein, reporting policy includes: that real-time report and timing report both strategies.When reporting policy is real-time report When, as soon as every generation pedometer data, report the pedometer data of generation.
Step S14 determines the invalid step counting data in the step counting data generated according to the reporting policy.
Optionally, when the reporting policy of the step counting data is real-time report, the step S14 is specifically included:
The step counting data that A1, statistics generate report rate.
A2, judge the generation step counting data report rate whether be more than it is preset report rate-valve value, and in institute The rate that reports for stating the step counting data of generation is more than preset when reporting rate-valve value, and will report rate is more than preset to report speed The corresponding step counting data judging of rate threshold value is invalid step counting data.
Wherein, preset that rate-valve value is reported to may be configured as 3 times/second or 5 times/second, it is certainly, preset to report rate threshold Value may be set to be other numerical value, be not construed as limiting herein.Rate is reported to report rate threshold more than preset when step counting data It is abnormal to show that the step counting data generated exist for value, at this point, abnormal step counting data are recorded by background process, the exception Step counting data are invalid step counting data.
Optionally, it is to give the correct time in timing in the reporting policy of the step counting data, the step S14 is specifically included:
B1, detection are in the application on intelligent terminal foreground.
B2, in the application in intelligent terminal foreground to be specified in application, when specified application is in intelligent terminal foreground The step counting data judging of generation is invalid step counting data.Wherein, specifying application is usually the application of game class, alternatively, including trip The application for function of playing.The number of the specified application is greater than or equal to 1, and the application of new game class is installed in intelligent terminal When (alternatively, including the application of game function), which can also update simultaneously.
It, cannot be by judging step counting data since the reporting policy of step counting data is to give the correct time in timing in above-mentioned B1 and B2 Report rate to judge which step counting data for invalid step counting data, and invalid step counting data are it is usually because user starts What certain applications of intelligent terminal just generated, therefore, it is necessary to detect the application for being in intelligent terminal foreground, when application is in intelligence When terminal foreground, show that user is using the application, then judges whether user's application currently in use is specified application, thus So that judging result is more acurrate.
Optionally, above-mentioned A1, A2, B1, B2, may be used in combination, specific as follows: count the step counting data of generation reports speed Rate;Judge the step counting data of the generation report rate whether be more than it is preset report rate-valve value, and in the generation The rate that reports of step counting data is more than preset when reporting rate-valve value, and detection is in the application on intelligent terminal foreground;It is being in The application on intelligent terminal foreground is the specified step counting data judging generated when in application, specified application being in intelligent terminal foreground For invalid step counting data.By the above method, the accuracy of invalid step counting data judgement can be improved.
Further, the B2 is specifically included:
B21, in the application in intelligent terminal foreground to be specified in application, judging the specified function of the specified application is It is no to have turned on.Wherein, which refers mainly to the function of game class.
B22, when the specified function of the specified application has turned on, it is raw when the specified function of the specified application is opened At step counting data judging be invalid step counting data.
Since some applications include multiple functions, and the specified function Shi Caihui for only starting the application causes intelligent terminal Acceleration have greatly changed, therefore, in order to improve the accuracy of invalid step counting data judgement, need further to judge to refer to Whether the specified function of applying surely has turned on.
Step S15 filters the invalid step counting data in the step counting data of the generation, to obtain effective step counting data.
In the step, the step counting data for being determined as invalid step counting data, remaining meter are deleted from the step counting data of generation Step data is effective step counting data.
Optionally, if the reporting policy of the step counting data is that timing reports, after the step S15, comprising:
Report effective step counting data.Specifically, effective step counting data are reported into intelligent terminal, so that intelligent terminal Show received effective step counting data.
Optionally, it if the reporting policy of the step counting data is real-time report, i.e., is just reported after generating step counting data It then after the step s 15 reports effective step counting data to intelligent terminal and reports determining effective step counting data place Period, with the step counting data reported using the period described in effective step counting data modification effectively where step counting data, from And improve the accuracy of the step counting data reported.For example, when effective step counting data corresponding period is 10 points to 10 thirty When, it can only be using 10 points of effective step counting data modification to the step counting data reported between 10 thirty.
In first embodiment of the invention, the acceleration change value and variation duration of intelligent terminal are detected, in the intelligence The acceleration change value of terminal exceeds preset acceleration change threshold value, and the variation duration exceeds preset variation duration threshold When value, step counting data are generated, obtain the reporting policy of step counting data, are determined in the step counting data generated according to the reporting policy Invalid step counting data, the invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data.Due to After generating step counting data, the invalid step counting data in the step counting data generated are determined also according to the reporting policy of step counting data, And filter the invalid step counting data, therefore, enable remaining effective step counting data more accurately with the actual movement of user Step number is corresponding.
It should be understood that in embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention At any restriction.
Embodiment two:
Fig. 2 shows a kind of structure chart for intelligent terminal that second embodiment of the invention provides, which be can wrap The user equipment communicated through wireless access network RAN with one or more core nets is included, which can be mobile electricity Words (or being " honeycomb " phone), computer with mobile device etc., for example, user equipment can also be portable, pocket Formula, hand-held, built-in computer or vehicle-mounted mobile device, they exchange voice and/or data with wireless access network.Again For example, the mobile device may include smart phone, tablet computer, Jia Jiaoji, personal digital assistant PDA, point-of-sale terminal POS or Vehicle-mounted computer etc..For ease of description, only parts related to embodiments of the present invention are shown.
The intelligent terminal includes: acceleration change value detection unit 21, step counting data generating unit 22, reporting policy acquisition Unit 23, invalid step counting data determination unit 24, effective step counting data determination unit 25.Wherein:
Acceleration change value detection unit 21, for detecting the acceleration change value and variation duration of intelligent terminal.
Specifically, the acceleration of intelligent terminal in different time points is detected by gravity sensor, then more forward and backward adjacent The acceleration at two time points, to determine acceleration in the acceleration change value at the two time points.In addition, in intelligent terminal When acceleration changes, acceleration change value detection unit 21 also counts corresponding variation duration when acceleration changes.
Step counting data generating unit 22 becomes for the acceleration change value in the intelligent terminal beyond preset acceleration Change threshold value, and the variation duration exceed preset variation duration threshold value when, generation step counting data.
It is possible to include wrong step counting data due to the step counting data of generation, in order to avoid misleading user, at this time The step counting data of generation will not be shown in intelligent terminal.
Reporting policy acquiring unit 23, for obtaining the reporting policy of step counting data.
Wherein, reporting policy includes: that real-time report and timing report both strategies.
Invalid step counting data determination unit 24 is invalid in the step counting data generated for being determined according to the reporting policy Step counting data.
Optionally, when the reporting policy of the step counting data is real-time report, the invalid step counting data determination unit 24 specifically include:
Counting rate module is reported, reports rate for counting the step counting data generated.
First invalid step counting data judging module, for judge the generation step counting data report rate whether be more than It is preset to report rate-valve value, and the step counting data of the generation report rate be more than it is preset report rate-valve value when, Rate will be reported to report the corresponding step counting data judging of rate-valve value for invalid step counting data more than preset.
Wherein, preset that rate-valve value is reported to may be configured as 3 times/second or 5 times/second, it is certainly, preset to report rate threshold Value may be set to be other numerical value, be not construed as limiting herein.
It optionally, is to give the correct time in timing in the reporting policy of the step counting data, the invalid step counting data determination unit 24 specifically include:
Foreground application detection module, for detecting the application for being in intelligent terminal foreground.
Second invalid step counting data judging module, for being specified in the application in intelligent terminal foreground in application, will The step counting data judging generated when specified application is in intelligent terminal foreground is invalid step counting data.
Wherein, specifying application is usually the application of game class, alternatively, including the application of game function.The specified application Number be greater than or equal to 1, and the application (alternatively, including application of game function) of new game class is installed in intelligent terminal When, which can also update simultaneously.
Optionally, the intelligent terminal includes: to report counting rate module, for counting reporting for the step counting data generated Rate;Intelligent terminal foreground application detection module, for judging that the step counting data of the generation report whether rate is more than pre- If report rate-valve value, and the step counting data of the generation report rate be more than it is preset report rate-valve value when, inspection Survey the application for being in intelligent terminal foreground;Second invalid step counting data judging module, in answering in intelligent terminal foreground It is invalid step counting data with for the specified step counting data judging generated when in application, specified application being in intelligent terminal foreground. By the above method, the accuracy of invalid step counting data judgement can be improved.
Further, the described second invalid step counting data judging module specifically includes:
Whether specified function opens judgment module, for being specified in application, sentencing in the application in intelligent terminal foreground Whether the specified function of the specified application of breaking has turned on.Wherein, which refers mainly to the function of game class.
Step counting data processing module when specified function is opened, for when the specified function of the specified application has turned on, The step counting data judging generated when the specified function of the specified application is opened is invalid step counting data.
Effective step counting data determination unit 25, the invalid step counting data in step counting data for filtering the generation, with Obtain effective step counting data.
Optionally, the reporting policy of the step counting data is that timing reports, and the intelligent terminal includes:
Effective step counting data reporting unit, for reporting effective step counting data.It specifically, will be in effective step counting data Report is to intelligent terminal, so that intelligent terminal shows received effective step counting data.
Optionally, if the reporting policy of the step counting data is real-time report, the intelligent terminal includes: effective step counting number Accordingly and period reporting unit, where for reporting effective step counting data and reporting and determine effective step counting data Period, with the step counting data reported using the period where effective step counting data described in effective step counting data modification, thus Improve the accuracy of the step counting data reported.
In second embodiment of the invention, due to being determined also according to the reporting policy of step counting data after generating step counting data Invalid step counting data in the step counting data of generation, and the invalid step counting data are filtered, therefore, so that remaining effective step counting number According to can be more accurately corresponding with the actual mobile step number of user.
Embodiment three:
Fig. 3 shows the frame of the part-structure of mobile phone relevant to the intelligent terminal of third embodiment of the invention offer Figure.With reference to Fig. 3, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 310, memory 320, input unit 330, shows Show the components such as unit 340, sensor 350, voicefrequency circuit 360, wireless module 370, processor 380 and power supply 390.Ability Field technique personnel are appreciated that handset structure shown in Fig. 3 does not constitute the restriction to mobile phone, may include more than illustrating Or less component, perhaps combine certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 3 to mobile phone:
RF circuit 310 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 380;In addition, the data for designing uplink are sent to base station.In general, RF circuit packet Include but be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 310 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, short message service (Short Messaging Service, SMS) etc..
Memory 320 can be used for storing software program and module, and processor 380 is stored in memory 320 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 320 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 320 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 330 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 300 And the related key signals input of function control.Specifically, input unit 330 may include touch panel 331 and other inputs Equipment 332.Touch panel 331, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch panel 331 or near touch panel 331), and Corresponding attachment device is driven according to preset formula.Optionally, touch panel 331 may include touch detecting apparatus and touching Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 380, and order that processor 380 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 331.It is defeated in addition to touch panel 331 Entering unit 330 can also include other input equipments 332.Specifically, other input equipments 332 can include but is not limited to physics One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 340 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 340 may include display panel 341, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 341.Further, touch panel 331 can cover display panel 341, when touch panel 331 detect it is on it or attached After close touch operation, processor 380 is sent to determine the type of touch event, is followed by subsequent processing device 880 according to touch event Type corresponding visual output is provided on display panel 341.Although in Fig. 3, touch panel 331 and display panel 341 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 331 and display panel 341 are integrated and that realizes mobile phone output and input function.
Mobile phone 300 may also include at least one sensor 350, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 341, and proximity sensor can close display panel when mobile phone is moved in one's ear 341 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 360, loudspeaker 361, microphone 362 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 361, be converted to sound by loudspeaker 361 by road 360 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, is turned after being received by voicefrequency circuit 360 It is changed to audio data, then by after the processing of audio data output processor 380, such as another mobile phone is sent to through RF circuit 310, Or audio data is exported to memory 320 to be further processed.
Wireless module is based on short range wireless transmission technology, and mobile phone can help user to receive and dispatch electricity by wireless module 370 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 shows Go out wireless module 370, but it is understood that, and it is not belonging to must be configured into for mobile phone 300, it can according to need completely It omits within the scope of not changing the essence of the invention.
Processor 380 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 320, and call and be stored in memory 320 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 380 can wrap Include one or more processing units;Preferably, processor 380 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 380.
Mobile phone 300 further includes the power supply 390 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 380 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
Although being not shown, mobile phone 300 can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 380 included by the terminal is also with the following functions: a kind of step counting data mistake Filtering method, which comprises
Detect the acceleration change value and variation duration of intelligent terminal;
Exceed preset acceleration change threshold value in the acceleration change value of the intelligent terminal, and the variation duration is super Out when preset variation duration threshold value, step counting data are generated;
Obtain the reporting policy of step counting data;
The invalid step counting data in the step counting data generated are determined according to the reporting policy;
The invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data.
Further,
It is described that the meter generated is determined according to the reporting policy when the reporting policy of the step counting data is real-time report Invalid step counting data in step data, specifically include:
Count the step counting data generated reports rate;
Judge the step counting data of the generation report rate whether be more than it is preset report rate-valve value, and in the life At step counting data report rate be more than it is preset report rate-valve value when, will report rate is more than preset to report rate threshold Being worth corresponding step counting data judging is invalid step counting data.
Further,
It is to give the correct time in timing in the reporting policy of the step counting data, it is described that the meter generated is determined according to the reporting policy Invalid step counting data in step data, specifically include:
Detection is in the application on intelligent terminal foreground;
It is generated when in application, specified application being in intelligent terminal foreground in the application in intelligent terminal foreground to be specified Step counting data judging be invalid step counting data.
Further,
It is described in the application in intelligent terminal foreground to be specified in application, when specified application is in intelligent terminal foreground The step counting data judging of generation is invalid step counting data, is specifically included:
In the application in intelligent terminal foreground to be specified in application, whether to judge the specified function of the specified application It opens;
When the specified function of the specified application has turned on, generated when the specified function of the specified application is opened Step counting data judging is invalid step counting data.
Further,
The reporting policy of the step counting data is that timing reports, then the nothing in the step counting data of the filtering generation Step counting data are imitated, after obtaining effective step counting data, comprising:
Report effective step counting data.
Example IV:
Fig. 4 is a kind of schematic block diagram for intelligent terminal that fourth embodiment of the invention provides, the intelligence as shown in the figure Terminal may include: one or more processors 401 (one is only shown in figure);One or more input equipments 402 are (in figure only Show one), one or more output equipments 403 (one is only shown in figure), memory 404 and display 405.Above-mentioned processing Device 401, input equipment 402, output equipment 403, memory 404 and display 405 are connected by bus 406.Memory 402 is used In store instruction, processor 401 is used to execute the instruction of the storage of memory 404.Wherein:
The processor 401, for detecting the acceleration change value and variation duration of intelligent terminal;It is whole in the intelligence The acceleration change value at end exceeds preset acceleration change threshold value, and the variation duration exceeds preset variation duration threshold value When, generate step counting data;Obtain the reporting policy of step counting data;It is determined in the step counting data generated according to the reporting policy Invalid step counting data;The invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data.
It should be appreciated that in embodiments of the present invention, the processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone, data receiver interface etc..Output equipment 403 may include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
Display 405 can be used for showing information input by user or the information etc. for being supplied to user.Display 405 can wrap Display panel is included, optionally, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel.Further, the display 405 may also include touch panel, and the touch panel can cover display panel, when touch panel detects on it or nearby After touch operation, processor 401 is sent to determine the type of touch event, is followed by subsequent processing device 401 according to the class of touch event Type provides corresponding visual output on a display panel.
In the specific implementation, processor 401 described in the embodiment of the present invention, input equipment 402, output equipment 403, depositing Reservoir 404 and display 405 can be performed described in the embodiment of the Memory adjustments method of terminal provided in an embodiment of the present invention Implementation, implementation described in terminal described in embodiment two also can be performed, details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. a kind of step counting data filtering method, which is characterized in that the described method includes:
Detect the acceleration change value and variation duration of intelligent terminal;
Exceed preset acceleration change threshold value in the acceleration change value of the intelligent terminal, and the variation duration is beyond pre- If variation duration threshold value when, generate step counting data;
Obtain the reporting policy of step counting data;
The invalid step counting data in the step counting data generated are determined according to the reporting policy;
The invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data;
It is to give the correct time in timing in the reporting policy of the step counting data, it is described that the step counting number generated is determined according to the reporting policy Invalid step counting data in, specifically include:
Detection is in the application on intelligent terminal foreground;
It is the specified meter generated when in application, specified application being in intelligent terminal foreground in the application in intelligent terminal foreground Step data is determined as invalid step counting data.
2. the method according to claim 1, wherein the reporting policy in the step counting data is real-time report When, the invalid step counting data determined in the step counting data generated according to the reporting policy specifically include:
Count the step counting data generated reports rate;
Judge the step counting data of the generation report rate whether be more than it is preset report rate-valve value, and in the generation The rate that reports of step counting data is more than preset when reporting rate-valve value, and will report rate is more than preset to report rate-valve value pair The step counting data judging answered is invalid step counting data.
3. the method according to claim 1, wherein described answer in the application in intelligent terminal foreground to be specified Used time, the step counting data judging generated when specified application is in intelligent terminal foreground are invalid step counting data, are specifically included:
In the application in intelligent terminal foreground to be specified in application, judging whether the specified function of the specified application has been opened It opens;
When the specified function of the specified application has turned on, the step counting that is generated when the specified function of the specified application is opened Data judging is invalid step counting data.
4. the method according to claim 1, wherein the reporting policy of the step counting data is that timing reports, then Invalid step counting data in the step counting data of the filtering generation, after obtaining effective step counting data, comprising:
Report effective step counting data.
5. a kind of intelligent terminal, which is characterized in that the intelligent terminal includes:
Acceleration change value detection unit, for detecting the acceleration change value and variation duration of intelligent terminal;
Step counting data generating unit exceeds preset acceleration change threshold for the acceleration change value in the intelligent terminal Value, and the variation duration exceed preset variation duration threshold value when, generation step counting data;
Reporting policy acquiring unit, for obtaining the reporting policy of step counting data;
Invalid step counting data determination unit, for determining the invalid step counting number in the step counting data generated according to the reporting policy According to;
Effective step counting data determination unit, the invalid step counting data in step counting data for filtering the generation, to be had Imitate step counting data;
It is to give the correct time in timing in the reporting policy of the step counting data, the invalid step counting data determination unit specifically includes:
Foreground application detection module, for detecting the application for being in intelligent terminal foreground;
Second invalid step counting data judging module, for being specified in application, will specify in the application in intelligent terminal foreground It is invalid step counting data using the step counting data judging generated when being in intelligent terminal foreground.
6. intelligent terminal according to claim 5, which is characterized in that the step counting data reporting policy be in real time on It gives the correct time, the invalid step counting data determination unit specifically includes:
Counting rate module is reported, reports rate for counting the step counting data generated;
The first invalid step counting data judging module, for judging that the step counting data of the generation report whether rate is more than default Report rate-valve value, and the step counting data of the generation report rate be more than it is preset report rate-valve value when, will be upper Report rate reports the corresponding step counting data judging of rate-valve value for invalid step counting data more than preset.
7. intelligent terminal according to claim 5, which is characterized in that the second invalid step counting data judging module is specific Include:
Whether specified function opens judgment module, in intelligent terminal foreground application for specify in application, judging institute Whether the specified function of stating specified application has turned on;
Step counting data processing module when specified function is opened, for when the specified function of the specified application has turned on, by institute Stating the step counting data judging generated when the specified function unlatching of specified application is invalid step counting data.
8. intelligent terminal according to claim 5, which is characterized in that the reporting policy of the step counting data is in timing Report, the intelligent terminal include:
Effective step counting data reporting unit, for reporting effective step counting data.
9. a kind of intelligent terminal, which is characterized in that the intelligent terminal includes:
Processor, for detecting the acceleration change value and variation duration of intelligent terminal;In the acceleration of the intelligent terminal Changing value exceed preset acceleration change threshold value, and the variation duration exceed preset variation duration threshold value when, generation count Step data;Obtain the reporting policy of step counting data;The invalid step counting in the step counting data generated is determined according to the reporting policy Data;The invalid step counting data in the step counting data of the generation are filtered, to obtain effective step counting data in the step counting data Reporting policy be timing on give the correct time, it is described according to the reporting policy determine generate step counting data in invalid step counting number According to specifically including: detection is in the application on intelligent terminal foreground;In the application in intelligent terminal foreground to be specified in application, The step counting data judging generated when specified application is in intelligent terminal foreground is invalid step counting data.
CN201610899729.6A 2016-10-14 2016-10-14 Step counting data filtering method and intelligent terminal Active CN106648460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610899729.6A CN106648460B (en) 2016-10-14 2016-10-14 Step counting data filtering method and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610899729.6A CN106648460B (en) 2016-10-14 2016-10-14 Step counting data filtering method and intelligent terminal

Publications (2)

Publication Number Publication Date
CN106648460A CN106648460A (en) 2017-05-10
CN106648460B true CN106648460B (en) 2019-08-30

Family

ID=58856931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610899729.6A Active CN106648460B (en) 2016-10-14 2016-10-14 Step counting data filtering method and intelligent terminal

Country Status (1)

Country Link
CN (1) CN106648460B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515010A (en) * 2017-08-28 2017-12-26 五邑大学 The data processing method and pedometer device of a kind of pedometer
CN107733865B (en) * 2017-09-11 2020-11-13 咪咕互动娱乐有限公司 Hiding method and device of motion state, server and storage medium
CN108844550B (en) * 2018-09-19 2021-06-08 山东百盟信息技术有限公司 Mobile terminal intelligent step counting method and device based on cloud computing
CN113295182B (en) * 2021-05-20 2022-11-15 北京智慧图科技有限责任公司 Wi-Fi SLAM track restoration method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105890620A (en) * 2016-04-06 2016-08-24 广东欧珀移动通信有限公司 Step counting method and mobile terminal
CN105953814A (en) * 2016-06-21 2016-09-21 广东欧珀移动通信有限公司 Step counting method, step counting device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105890620A (en) * 2016-04-06 2016-08-24 广东欧珀移动通信有限公司 Step counting method and mobile terminal
CN105953814A (en) * 2016-06-21 2016-09-21 广东欧珀移动通信有限公司 Step counting method, step counting device and mobile terminal

Also Published As

Publication number Publication date
CN106648460A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN103400108B (en) Face identification method, device and mobile terminal
CN104735671B (en) A kind of method and apparatus of identification malicious call
CN106453511B (en) A kind of data back up method and equipment
CN106126562A (en) A kind of pop-up hold-up interception method and terminal
CN106453767A (en) Method and device for detecting failure after dropping
CN108112063A (en) Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN106991034A (en) A kind of method and apparatus and mobile terminal for monitoring interim card
CN106453840B (en) The method for adjusting performance and mobile terminal of mobile terminal
CN106506321A (en) One population message treatment method and terminal device
CN104424307B (en) A kind of intelligent terminal application program classification method, system and intelligent terminal
CN106951850A (en) The method and mobile terminal of a kind of control fingerprint recognition module
CN106445596A (en) Method and device for managing setting items
CN107526638A (en) Applied program processing method, device, mobile terminal and storage medium
CN106445336A (en) Fast acquisition method for electronic resource and mobile terminal
CN107715449A (en) A kind of account login method and relevant device
CN105120158B (en) The image pickup method and device of mobile terminal
CN107423598B (en) A kind of solution lock control method and mobile terminal
CN107526637A (en) Applied program processing method, device, mobile terminal and storage medium
CN107066090A (en) The method and mobile terminal of a kind of control fingerprint recognition module
CN107330867A (en) Image combining method, device, computer-readable recording medium and computer equipment
CN106817489A (en) The reminding method and mobile terminal of message
CN106502827A (en) A kind of data back up method and equipment
CN106791074B (en) Song information display methods, device and mobile terminal
CN109189538A (en) A kind of method and apparatus sending orientation red packet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

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

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

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

GR01 Patent grant
GR01 Patent grant