CN105045713A - Data processing method and mobile terminal - Google Patents

Data processing method and mobile terminal Download PDF

Info

Publication number
CN105045713A
CN105045713A CN201510415584.3A CN201510415584A CN105045713A CN 105045713 A CN105045713 A CN 105045713A CN 201510415584 A CN201510415584 A CN 201510415584A CN 105045713 A CN105045713 A CN 105045713A
Authority
CN
China
Prior art keywords
exercise data
programming interface
application programming
data
mobile terminal
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
CN201510415584.3A
Other languages
Chinese (zh)
Other versions
CN105045713B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510415584.3A priority Critical patent/CN105045713B/en
Publication of CN105045713A publication Critical patent/CN105045713A/en
Application granted granted Critical
Publication of CN105045713B publication Critical patent/CN105045713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a data processing method and a mobile terminal. The method comprises: executing hijacking operation on an application programming interface in an operating system run by the mobile terminal, wherein the application programming interface is an interface for outputting motion data corresponding to the mobile terminal in the operating system; and obtaining demand parameter information of a test scene, and based on the demand parameter information, controlling the hijacked application programming interface to output original virtual motion data. With the adoption of the method, the test scene with relatively large motion data volume can be quickly constructed, the test efficiency of an original screening policy in a to-be-tested application is improved, and the original screening policy is convenient to regulate.

Description

Data processing method and mobile terminal
Technical field
The present invention relates to the application testing technology in mobile terminal, particularly relate to a kind of data processing method and mobile terminal.
Background technology
Mobile terminal is (as smart mobile phone, intelligent watch, panel computer etc.) when being applied to the moving scene of user, as shown in Figure 1, application in mobile terminal is (as micro-letter, the social activity such as QQ application) mobile terminal operating system can be read (as the Android system of Google, the iOS system of apple) data-interface (the application programming interface API of operating system can be considered as, that the sensing data that passometer in mobile terminal exports based on the sensor in mobile terminal carries out analyzing and exports the interface of exercise data) exercise data (exercise data as characterizing consumer motion step number) that exports, can exercise data be read and the exercise data of user be carried out showing or sharing (exercise data to be reported server, movable information is obtained after being analyzed by server, as motion total step number, the application be sent in mobile terminal shows, or the application be sent in other mobile terminals is shared),
If the exercise data that the data-interface (being also provide the interface obtaining exercise data in operating system) of mobile terminal operating system exports by the application of mobile terminal is all as the data of characterizing consumer motion state, there is the error (error that the problem as operating system self causes in the exercise data so exported due to data-interface, or the error that the electrical noise in mobile terminal causes) and output abnormality data, if abnormal data is also sent to server and mistake is appearred in the movable information of the user causing server analysis to go out by application, such as, current application is 100 from the motion step number that data-interface reads, so because impact next time of error may be 80 or 1000 (because motion step number reduces from the motion step number that data-interface reads, or do not meet the increase of actual conditions),
Therefore, being applied in mobile terminal needs before reporting exercise data to screen exercise data, screens the exercise data passed through and just can be reported to server and carry out analyzing and processing (or sharing); When the screening strategy that the application screening exercise data in testing mobile terminal uses, in each test scene, tester needs to hold the set step number of motion of mobile terminals (corresponding priori exercise data), and make the application in mobile terminal screen the exercise data read from data-interface and export, difference based on the exercise data exported and priori exercise data adjusts screening strategy, until the exercise data of application output and the difference of priori exercise data are in the error range allowed;
In practical application, when determining the screening strategy that mobile terminal application uses, often need to construct multiple test scene, the exercise data of each test scene is different, when the exercise data amount of a test scene is larger time (as with the motion step number of Wan Buji), frequently holding the mobile terminal exercise data amount reaching corresponding of carrying out moving by tester is unpractical to construct test scene, if only use the less test scene of exercise data amount to determine the screening strategy of exercise data, the application that can affect again in mobile terminal exports the precision of exercise data,
In sum, the test scene that rapid build exercise data amount is larger for how, adjust with the screening strategy used the application in mobile terminal, to screen out abnormal exercise data, correlation technique there is no effective solution.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method and mobile terminal, can the larger test scene of rapid build exercise data amount, improves the efficiency of the original screening strategy in test application to be tested, is convenient to adjust original screening strategy.
The technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide a kind of data processing method, described method comprises:
Perform the application programming interface in the operating system of running of mobile terminal and kidnap operation, described application programming interface is the interface that described operating system exports that exercise data exports the exercise data of corresponding described mobile terminal;
Obtain the demand parameter information of test scene, the application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data.
In such scheme, the described application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data, comprising:
Parse the data volume of the type of test scene demand exercise data and the exercise data of required type described in described demand parameter information representation;
The application programming interface controlling to kidnap exports the exercise data of corresponding types, and the data volume of the exercise data of the corresponding types exported, consistent with the data volume of the exercise data of the corresponding types that described demand parameter information indicates.
In such scheme, described method also comprises:
Based on the original screening strategy of correspondence application to be tested, Screening Treatment is carried out to the original virtual exercise data obtained from described application programming interface, obtain the destination virtual exercise data after Screening Treatment.
In such scheme, described method comprises:
Obtain object filtering strategy, described object filtering strategy is the difference of the second movable information that the first movable information of characterizing based on described destination virtual exercise data and described original virtual exercise data characterize, and carries out adjustment obtain described original screening strategy
Based on described object filtering strategy, Screening Treatment is carried out to the exercise data obtained from the described application programming interface being in the state of not being held as a hostage, obtain the target travel data after Screening Treatment.
In such scheme, the described original screening strategy based on application to be tested, carries out Screening Treatment to the original virtual exercise data obtained from described application programming interface, obtains the destination virtual exercise data after Screening Treatment, comprising:
The jth group original virtual exercise data that the i-th group of original virtual exercise data relatively obtained from i-th time from described application programming interface and jth time obtain from described application programming interface, wherein, 1≤i≤j≤N, i and j is integer, and N is the maximal value of the grouping of original virtual exercise data;
When described jth group original virtual exercise data exceeds undulating quantity threshold value compared to the undulating quantity of described i-th group of original virtual exercise data, from original virtual exercise data, screen out described jth group original virtual exercise data, obtain described destination virtual exercise data.
In such scheme, described execution detected application programming interface kidnaps operation, comprising:
When loading described operating system, specific process in described operating system being replaced, to make the process after described replacement, abduction operation being performed to detected application programming interface;
Or, running the mode being arranged at particular plug-in in described operating system when loading described operating system, detected application programming interface being performed and kidnaps operation.
The embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal comprises:
Kidnap unit, perform kidnap operation for the application programming interface in the operating system to described running of mobile terminal, described application programming interface is the interface that described operating system exports that exercise data exports the exercise data of corresponding described mobile terminal;
First acquiring unit, for obtaining the demand parameter information of test scene;
Output unit, exports original virtual exercise data for the application programming interface controlling to kidnap based on described demand parameter information.
In such scheme, described output unit comprises:
Parsing module, for parsing the data volume of the type of test scene demand exercise data and the exercise data of required type described in described demand parameter information representation;
Output module, exports the exercise data of corresponding types for controlling kidnapped application programming interface, and the data volume of the exercise data of the corresponding types exported, consistent with the data volume of the exercise data of the corresponding types that described demand parameter information indicates.
In such scheme, described mobile terminal also comprises:
First screening unit, for the original screening strategy based on correspondence application to be tested, carries out Screening Treatment to the original virtual exercise data obtained from described application programming interface, obtains the destination virtual exercise data after Screening Treatment.
In such scheme, described mobile terminal also comprises:
Second acquisition unit, for obtaining object filtering strategy, described object filtering strategy is the difference of the second movable information that the first movable information of characterizing based on described destination virtual exercise data and described original virtual exercise data characterize, and carries out adjustment obtain described original screening strategy
Second screening unit, for carrying out Screening Treatment based on described object filtering strategy to the exercise data obtained from the described application programming interface being in the state of not being held as a hostage, obtains the target travel data after Screening Treatment.
In such scheme, described first screening unit comprises:
Comparison module, for comparing the jth group original virtual exercise data that i-th group of original virtual exercise data obtaining from i-th time from described application programming interface and jth time obtain from described application programming interface, wherein, 1≤i≤j≤N, i and j is integer, and N is the maximal value of the grouping of original virtual exercise data;
Screen out module, for when described jth group original virtual exercise data exceeds undulating quantity threshold value compared to the undulating quantity of described i-th group of original virtual exercise data, from original virtual exercise data, screen out described jth group original virtual exercise data, obtain described destination virtual exercise data.
In such scheme, described abduction unit also for when loading described operating system, is replaced specific process in described operating system, performs abduction operation to make the process after described replacement to detected application programming interface;
Or described abduction unit, also for running the mode being arranged at particular plug-in in described operating system when loading described operating system, performing detected application programming interface and kidnapping operation.
In the embodiment of the present invention, by presenting the abduction of result to the application exporting exercise data, the fantasy sport data of any type can be exported fast based on the demand of test scene, test tester is not needed to hold motion of mobile terminals to form various different test scene, obviously improve the efficiency that the original screening strategy treated in Test Application carries out testing, be convenient to carry out rapid adjustment to original screening strategy.
Accompanying drawing explanation
Fig. 1 is the process scene schematic diagram of exercise data;
Fig. 2 is the realization flow figure mono-of data processing method in the embodiment of the present invention;
Fig. 3 is the structural topology schematic diagram of data in mobile terminal process in the embodiment of the present invention;
Fig. 4 is the schematic diagram one of the data stream in the embodiment of the present invention in data handling procedure;
Fig. 5 is the schematic diagram two of the data stream in the embodiment of the present invention in data handling procedure;
Fig. 6 is the realization flow figure bis-of data processing method in the embodiment of the present invention;
Fig. 7 is the realization flow figure tri-of data processing method in the embodiment of the present invention;
Fig. 8 is the realization flow figure tetra-of data processing method in the embodiment of the present invention;
Fig. 9 is the realization flow figure five of data processing method in the embodiment of the present invention;
Figure 10 is an application scenarios schematic diagram of application to be tested in the embodiment of the present invention;
Figure 11 is the illustrative view of functional configuration of mobile terminal in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Embodiment one
The present embodiment records a kind of data processing method, can be applied in mobile terminal, mobile terminal can be smart mobile phone, panel computer, intelligent watch and Intelligent bracelet etc. on product form, mobile terminal is arranged to be supported to run intelligent operating system, as the iOS system of apple and the Android system of Google;
As shown in Figure 2, the data processing method that the present embodiment is recorded comprises the following steps:
Step S101, the operating system detecting running of mobile terminal exports the application programming interface (API, ApplicationProgrammingInterface) of exercise data.
The detection of application programs DLL (dynamic link library), can be realized by the behavior of calling detecting application programs DLL (dynamic link library); Application (as micro-letter, QQ etc.) in mobile terminal is supported to obtain exercise data (as the step number of user movement, the position of user movement) from above-mentioned application programming interface, when detect the application in mobile terminal call behavior time, the detection of the application programming interface to the application call in mobile terminal can be realized simultaneously.
Application programming interface is the interface that the operating system of motion of mobile terminals exports that exercise data exports the exercise data of corresponding described mobile terminal, sensor can be set in mobile terminal (as gyroscope, GPS (Global Position System) GPS module) hold motion of mobile terminals (as walked to gather user, run) time sensing data, processor (as coprocessor) in mobile terminal periodically exports the exercise data of resolving sensing data and obtaining by application programming interface, exercise data characterizes the motion being used for characterizing consumer, as the step number of user movement, the position of user movement.
Take exercise data as the data of motion step number, operating system for Android system be example, there is the query interface (API) that step moves identification and the calculating of mobile step number from edition 4 .4 (API19), by the value of read sensor event (SensorEvent) object TYPE_STEP_COUNTER, the exercise data characterizing mobile step number can be obtained.
Step S102, performs detected application programming interface and kidnaps operation.
For iOS operating system, running the mode being arranged at particular plug-in in described operating system when loading described operating system, detected application programming interface being performed and kidnaps operation; Such as, can by cracking the mode of iOS operating system highest weight limit, CydiaSubstrate plug-in unit is set in iOS operating system, CydiaSubstrate plug-in unit can when iOS os starting by Hook Function as MSHookeMessage function replaces the message of Objective-C, and replaced the C/C++ function of iOS system by MSHookFunction, to reach the object of kidnapping application programming interface.
For Android operation system, when loading Android operation system, specific process in Android operation system being replaced, to make the process after described replacement, abduction operation being performed to detected application programming interface; Such as, the instrument XPosed of dynamic abduction project can be adopted, by replacing zygote process, zygote process is for performing the program in following path in Android operation system :/system/bin/app_proces, make app_process can load XposedBridge.jar in start-up course, thus complete the abduction to the application programming interface exporting exercise data in Android operation system.
Step S103, obtains the demand parameter information of test scene, and the application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data.
Pre-set corresponding demand parameter in the particular plug-in that demand parameter information can be kidnapped in above-mentioned realization or specific process, export original virtual exercise data with the application programming interface controlling to be held as a hostage; Original virtual exercise data refers to that exercise data that application programming interface exports can not the current motion of exact representation mobile terminal, essentially by kidnapping application programming interface, controlling the access limit of application programming interface, thus application programming interface can be made to export the exercise data distorted arbitrarily; As shown in Figure 3, when the application programming interface exporting exercise data in the operating system of motion of mobile terminals is not held as a hostage, if mobile terminal moves, sensor (as gyroscope, GPS module) in mobile terminal can export sensing data, export exercise data by the specific application programming interface in operating system after being resolved by coprocessor, this exercise data can the movable information of exact representation mobile phone users; If the application programming interface exporting exercise data in running of mobile terminal operating system is held as a hostage, even if mobile terminal does not move, also controlling application program DLL (dynamic link library) can export original virtual exercise data based on the demand parameter information (as motion step number, movement position) of test scene, original virtual exercise data can not the real movable information of characterizing consumer;
Composition graphs 4, if mobile terminal moves, sensor (as gyroscope, GPS module) in mobile terminal can export sensing data, export exercise data by the specific application programming interface in operating system after being resolved by coprocessor, this exercise data can the movable information of exact representation mobile phone users;
Composition graphs 5, if the application programming interface exporting exercise data in running of mobile terminal operating system is held as a hostage, even if mobile terminal does not move, also controlling application program DLL (dynamic link library) can export original virtual exercise data based on the demand parameter information (as motion step number, movement position) of test scene, original virtual exercise data can not the real movable information of characterizing consumer.
When the application programming interface exporting exercise data in the operating system of running of mobile terminal is in abduction state, the application to be tested run in mobile terminal is (as micro-letter, QQ etc.) original virtual data can be obtained from the application programming interface of being held as a hostage, certainly, for not knowing that the exercise data that application programming interface exports is virtual application to be tested, namely application to be tested thinks that the original virtual exercise data of current acquisition is that user holds the exercise data triggering application programming interface output when mobile terminal moves, by " deception ", application to be measured is thought that this original virtual exercise data can the movable information of mobile phone users, the step number of the motion of such as mobile phone users, and the information such as the change of the position of mobile phone users (path of also namely moving),
Like this, needing structure test scene (as with the test scene of the motion step number of Wan Buji), tester is without the need to holding mobile terminal, corresponding exercise data is exported to trigger application programming interface, only need the demand parameter of the test scene that needs are set, just controlling application program DLL (dynamic link library) can export the original virtual exercise data satisfying the demands parameter, compared with correlation technique, obviously save the time of tectonic movement data.
Embodiment two
The present embodiment is described the process exporting original virtual exercise data in above-described embodiment, and as shown in Figure 6, the application programming interface controlling to kidnap based on demand parameter information exports original virtual exercise data, can be realized by following steps:
Step S201, parses the data volume of the type of test scene demand exercise data and the exercise data of required type described in described demand parameter information representation.
The type of described exercise data comprises: proper motion data and abnormal motion data; Wherein, the undulating quantity of proper motion data does not exceed fluctuation threshold value, and the undulating quantity of described abnormal motion data exceeds fluctuation threshold value; For the motion step number of exercise data characterizing consumer, the data volume of exercise data can characterize with motion total step number, or characterizes by the quantity of the original virtual exercise data grouping exported; Above-mentioned undulating quantity refers to the difference of two adjacent groups (as the 1st group and the 2nd group) or close two groups (as the 1st group and the 3rd group) original virtual exercise datas;
Be described for exercise data characterizing motility step number, be located in the original virtual exercise data of output, 1st group of original virtual exercise data is 2, the step number being characterized in user movement in the 1st sampling period is 2, if the 2nd group of original virtual exercise data is 20, the step number being characterized in user movement in the 1st sampling period is 20, that is out the maximal value 5 (that is user do more physical exercises in an employing cycle 5 steps) of user movement, because the 2nd group of original virtual exercise data is 20, compared with the undulating quantity 18 of the 1st group of original virtual exercise data 2 beyond undulating quantity threshold value 5, therefore, 2nd group of original virtual exercise data is one group of abnormal motion data, in like manner, if the 3rd group of original virtual exercise data is 3, the step number being characterized in user movement in the 3rd sampling period is 3, undulating quantity is 1 (because the 2nd group of original virtual exercise data is abnormal motion data compared with the 1st group of original virtual exercise data, therefore by the 3rd group of original virtual exercise data and 1 group of original virtual exercise data compare and obtain undulating quantity, because the 3rd group of original virtual exercise data does not exceed undulating quantity threshold value compared with the undulating quantity of the 1st group of original virtual exercise data, therefore the 3rd group of original virtual exercise data is proper motion data.
Step S202, the application programming interface controlling to kidnap exports the exercise data of corresponding types.
The type of the type demand parameter instruction of the fantasy sport data exported is consistent, and, the data volume of the exercise data of the corresponding types of output is consistent with the data volume of the exercise data of the corresponding types that demand parameter information indicates.
In practical application, the original virtual exercise data that the application programming interface controlling to kidnap exports can be all normal original virtual exercise data, or, comprise normal original virtual exercise data and abnormal original virtual exercise data; Such as, the demand parameter of test scene can be: exercise data type: proper motion data; Abnormal motion data; Proper motion data volume, 1000 steps, abnormal motion data volume, 200 steps; Certainly, the demand parameter of test scene also can be: exercise data type: proper motion data; Abnormal motion data; Proper motion data volume, 1000 groups; Abnormal motion data volume, 200 groups.
Can find out, the demand parameter based on test scene can construct arbitrary original virtual exercise data, thus the original screening strategy can treated in Test Application is tested fast, promotes testing efficiency.
Embodiment three
As described in the previous embodiment, when the application programming interface of the output exercise data in the operating system (as Android operation system, iOS operating system) of motion of mobile terminals is in abduction state, the virtual the original motion data that can export based on the demand parameter of test, wherein, Screening Treatment is carried out in the application to be tested that the original virtual exercise data exported is used for running of mobile terminal, and exports destination virtual exercise data.
As shown in Figure 7, the data processing method that the present embodiment is recorded comprises the following steps:
Step S301, the operating system detecting running of mobile terminal exports the application programming interface of exercise data.
The detection of application programs DLL (dynamic link library), can be realized by the behavior of calling detecting application programs DLL (dynamic link library); Application (as micro-letter, QQ etc.) in mobile terminal is supported to obtain exercise data (as the step number of user movement, the position of user movement) from above-mentioned application programming interface, when detect the application in mobile terminal call behavior time, the detection of the application programming interface to the application call in mobile terminal can be realized simultaneously.
Application programming interface is the interface that the operating system of motion of mobile terminals exports that exercise data exports the exercise data of corresponding described mobile terminal, sensor can be set in mobile terminal (as gyroscope, GPS (Global Position System) GPS module) hold motion of mobile terminals (as walked to gather user, run) time sensing data, processor (as coprocessor) in mobile terminal periodically exports the exercise data of resolving sensing data and obtaining by application programming interface, exercise data characterizes the motion being used for characterizing consumer, as the step number of user movement, the position of user movement.
Take exercise data as the data of motion step number, operating system for Android system be example, there is the query interface that step moves identification and the calculating of mobile step number from edition 4 .4 (API19), by the value of read sensor event object TYPE_STEP_COUNTER, the exercise data characterizing mobile step number can be obtained.
Step S302, performs detected application programming interface and kidnaps operation.
For iOS operating system, running the mode being arranged at particular plug-in in described operating system when loading described operating system, detected application programming interface being performed and kidnaps operation; Such as, can by cracking the mode of iOS operating system highest weight limit, CydiaSubstrate plug-in unit is set in iOS operating system, CydiaSubstrate plug-in unit can when iOS os starting by Hook Function as MSHookeMessage function replaces the message of Objective-C, and replaced the C/C++ function of iOS system by MSHookFunction, to reach the object of kidnapping application programming interface.
For Android operation system, when loading Android operation system, specific process in Android operation system being replaced, to make the process after described replacement, abduction operation being performed to detected application programming interface; Such as, the instrument XPosed of dynamic abduction project can be adopted, by replacing zygote process, zygote process is for performing the program in following path in Android operation system :/system/bin/app_proces, make app_process can load XposedBridge.jar in start-up course, thus complete the abduction to the application programming interface exporting exercise data in Android operation system.
Step S303, obtains the demand parameter information of test scene, and the application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data.
Pre-set corresponding demand parameter in the particular plug-in that demand parameter information can be kidnapped in above-mentioned realization or specific process, export original virtual exercise data with the application programming interface controlling to be held as a hostage; Original virtual exercise data refers to that exercise data that application programming interface exports can not the current motion of exact representation mobile terminal, essentially by kidnapping application programming interface, controlling the access limit of application programming interface, thus application programming interface can be made to export the exercise data distorted arbitrarily; As shown in Figure 3, when the application programming interface exporting exercise data in the operating system of motion of mobile terminals is not held as a hostage, if mobile terminal moves, sensor (as gyroscope, GPS module) in mobile terminal can export sensing data, export exercise data by the specific application programming interface in operating system after being resolved by coprocessor, this exercise data can the movable information of exact representation mobile phone users; If the application programming interface exporting exercise data in running of mobile terminal operating system is held as a hostage, even if mobile terminal does not move, also controlling application program DLL (dynamic link library) can export original virtual exercise data based on the demand parameter information (as motion step number, movement position) of test scene, original virtual exercise data can not the real movable information of characterizing consumer;
Composition graphs 4, if mobile terminal moves, sensor (as gyroscope, GPS module) in mobile terminal can export sensing data, export exercise data by the specific application programming interface in operating system after being resolved by coprocessor, this exercise data can the movable information of exact representation mobile phone users;
Composition graphs 5, if the application programming interface exporting exercise data in running of mobile terminal operating system is held as a hostage, even if mobile terminal does not move, also controlling application program DLL (dynamic link library) can export original virtual exercise data based on the demand parameter information (as motion step number, movement position) of test scene, original virtual exercise data can not the real movable information of characterizing consumer.
When the application programming interface exporting exercise data in the operating system of running of mobile terminal is in abduction state, the application to be tested run in mobile terminal is (as micro-letter, QQ etc.) original virtual data can be obtained from the application programming interface of being held as a hostage, certainly, for not knowing that the exercise data that application programming interface exports is virtual application to be tested, namely application to be tested thinks that the original virtual exercise data of current acquisition is that user holds the exercise data triggering application programming interface output when mobile terminal moves, by " deception ", application to be measured is thought that this original virtual exercise data can the movable information of mobile phone users, the step number of the motion of such as mobile phone users, and the information such as the change of the position of mobile phone users (path of also namely moving),
Like this, needing structure test scene (as with the test scene of the motion step number of Wan Buji), tester is without the need to holding mobile terminal, corresponding exercise data is exported to trigger application programming interface, only need the demand parameter of the test scene that needs are set, just controlling application program DLL (dynamic link library) can export the original virtual exercise data satisfying the demands parameter, compared with correlation technique, obviously save the time of tectonic movement data.
Step S304, based on the original screening strategy of correspondence application to be tested, carries out Screening Treatment to the original virtual exercise data obtained from described application programming interface, obtains the destination virtual exercise data after Screening Treatment.
Screening Treatment is carried out to the original virtual exercise data obtained from described application programming interface, object is to screen out the exercise data that there is error in original virtual exercise data, follow-uply the destination virtual exercise data obtained after carrying out Screening Treatment can be reported to server, such as, to be tested when being applied as micro-letter, micro-letter can after utilizing the screening strategy in micro-letter to carry out Screening Treatment to the original virtual exercise data obtained from application programming interface, the destination virtual exercise data obtained is uploaded to micro-telecommunications services device, analyzing and processing is carried out by micro-telecommunications services device, certainly, micro-letter is after utilizing the screening strategy in micro-letter to carry out Screening Treatment to the original virtual exercise data obtained from application programming interface, also analyzing and processing (arithmetic capability depending on mobile terminal determines) can be carried out by mobile terminal in this locality.
Embodiment four
As described in the previous embodiment, the operating system of motion of mobile terminals is (as Android operation system, iOS operating system) in the application programming interface of output exercise data when being in abduction state, the virtual the original motion data that can export based on the demand parameter of test, wherein, Screening Treatment is carried out in the application to be tested that the original virtual exercise data exported is used for running of mobile terminal, and export destination virtual exercise data, destination virtual exercise data is used for carrying out analyzing and processing for server, to adjust the original screening strategy in application to be tested, determine the object filtering strategy that application to be tested uses when formally reaching the standard grade.
As shown in Figure 8, the data processing method that the present embodiment is recorded comprises the following steps:
Step S401, the operating system detecting running of mobile terminal exports the application programming interface of exercise data.
The detection of application programs DLL (dynamic link library), can be realized by the behavior of calling detecting application programs DLL (dynamic link library); Application (as micro-letter, QQ etc.) in mobile terminal is supported to obtain exercise data (as the step number of user movement, the position of user movement) from above-mentioned application programming interface, when detect the application in mobile terminal call behavior time, the detection of the application programming interface to the application call in mobile terminal can be realized simultaneously.
Application programming interface is the interface that the operating system of motion of mobile terminals exports that exercise data exports the exercise data of corresponding described mobile terminal, sensor can be set in mobile terminal (as gyroscope, GPS (Global Position System) GPS module) hold motion of mobile terminals (as walked to gather user, run) time sensing data, processor (as coprocessor) in mobile terminal periodically exports the exercise data of resolving sensing data and obtaining by application programming interface, exercise data characterizes the motion being used for characterizing consumer, as the step number of user movement, the position of user movement.
Take exercise data as the data of motion step number, operating system for Android system be example, there is the query interface that step moves identification and the calculating of mobile step number from edition 4 .4 (API19), by the value of read sensor event object TYPE_STEP_COUNTER, the exercise data characterizing mobile step number can be obtained.
Step S402, performs detected application programming interface and kidnaps operation.
For iOS operating system, running the mode being arranged at particular plug-in in described operating system when loading described operating system, detected application programming interface being performed and kidnaps operation; Such as, can by cracking the mode of iOS operating system highest weight limit, CydiaSubstrate plug-in unit is set in iOS operating system, CydiaSubstrate plug-in unit can when iOS os starting by Hook Function as MSHookeMessage function replaces the message of Objective-C, and replaced the C/C++ function of iOS system by MSHookFunction, to reach the object of kidnapping application programming interface.
For Android operation system, when loading Android operation system, specific process in Android operation system being replaced, to make the process after described replacement, abduction operation being performed to detected application programming interface; Such as, the instrument XPosed of dynamic abduction project can be adopted, by replacing zygote process, zygote process is for performing the program in following path in Android operation system :/system/bin/app_proces, make app_process can load XposedBridge.jar in start-up course, thus complete the abduction to the application programming interface exporting exercise data in Android operation system.
Step S403, obtains the demand parameter information of test scene, and the application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data.
Pre-set corresponding demand parameter in the particular plug-in that demand parameter information can be kidnapped in above-mentioned realization or specific process, export original virtual exercise data with the application programming interface controlling to be held as a hostage; Original virtual exercise data refers to that exercise data that application programming interface exports can not the current motion of exact representation mobile terminal, essentially by kidnapping application programming interface, controlling the access limit of application programming interface, thus application programming interface can be made to export the exercise data distorted arbitrarily; As shown in Figure 3, when the application programming interface exporting exercise data in the operating system of motion of mobile terminals is not held as a hostage, if mobile terminal moves, sensor (as gyroscope, GPS module) in mobile terminal can export sensing data, export exercise data by the specific application programming interface in operating system after being resolved by coprocessor, this exercise data can the movable information of exact representation mobile phone users; If the application programming interface exporting exercise data in running of mobile terminal operating system is held as a hostage, even if mobile terminal does not move, also controlling application program DLL (dynamic link library) can export original virtual exercise data based on the demand parameter information (as motion step number, movement position) of test scene, original virtual exercise data can not the real movable information of characterizing consumer;
Composition graphs 4, if mobile terminal moves, sensor (as gyroscope, GPS module) in mobile terminal can export sensing data, export exercise data by the specific application programming interface in operating system after being resolved by coprocessor, this exercise data can the movable information of exact representation mobile phone users;
Composition graphs 5, if the application programming interface exporting exercise data in running of mobile terminal operating system is held as a hostage, even if mobile terminal does not move, also controlling application program DLL (dynamic link library) can export original virtual exercise data based on the demand parameter information (as motion step number, movement position) of test scene, original virtual exercise data can not the real movable information of characterizing consumer.
When the application programming interface exporting exercise data in the operating system of running of mobile terminal is in abduction state, the application to be tested run in mobile terminal is (as micro-letter, QQ etc.) original virtual data can be obtained from the application programming interface of being held as a hostage, certainly, for not knowing that the exercise data that application programming interface exports is virtual application to be tested, namely application to be tested thinks that the original virtual exercise data of current acquisition is that user holds the exercise data triggering application programming interface output when mobile terminal moves, by " deception ", application to be measured is thought that this original virtual exercise data can the movable information of mobile phone users, the step number of the motion of such as mobile phone users, and the information such as the change of the position of mobile phone users (path of also namely moving),
Like this, needing structure test scene (as with the test scene of the motion step number of Wan Buji), tester is without the need to holding mobile terminal, corresponding exercise data is exported to trigger application programming interface, only need the demand parameter of the test scene that needs are set, just controlling application program DLL (dynamic link library) can export the original virtual exercise data satisfying the demands parameter, compared with correlation technique, obviously save the time of tectonic movement data.
Step S404, based on the original screening strategy of correspondence application to be tested, carries out Screening Treatment to the original virtual exercise data obtained from described application programming interface, obtains the destination virtual exercise data after Screening Treatment.
Screening Treatment is carried out to the original virtual exercise data obtained from described application programming interface, object is to screen out the exercise data that there is error in original virtual exercise data, follow-uply the destination virtual exercise data obtained after carrying out Screening Treatment can be reported to server, such as, to be tested when being applied as micro-letter, micro-letter can after utilizing the screening strategy in micro-letter to carry out Screening Treatment to the original virtual exercise data obtained from application programming interface, the destination virtual exercise data obtained is uploaded to micro-telecommunications services device, analyzing and processing is carried out by micro-telecommunications services device, certainly, micro-letter is after utilizing the screening strategy in micro-letter to carry out Screening Treatment to the original virtual exercise data obtained from application programming interface, also can by mobile terminal in this locality conscientious analyzing and processing (arithmetic capability depending on mobile terminal determines).
Step S405, obtains object filtering strategy.
The difference of object filtering strategy the first movable information that to be server characterize based on described destination virtual exercise data and the second movable information that described original virtual exercise data characterizes, carry out adjustment to described original screening strategy to obtain, original object screening strategy comprises a series of conditions of screening original virtual exercise data, destination virtual exercise data is obtained for screening out abnormal motion data in original virtual exercise data, such as undulating quantity filtercondition, when getting one group of original virtual exercise data from application programming interface, if when the undulating quantity of one group of proper motion data (being namely judged to be the original virtual exercise data of proper motion data based on original screening strategy) that this group original virtual exercise data obtained is more adjacent or adjacent is less than undulating quantity threshold value, then retain one group of original virtual exercise data of current acquisition, otherwise, screen out this group original virtual exercise data of current acquisition,
When server receives the target travel data that application to be tested reports, determine total step number (corresponding first movable information that destination virtual exercise data characterizing consumer moves, step number for exercise data characterizing motility), by the total step number that destination virtual exercise data characterizing consumer moves, with the total step number that original virtual exercise data characterizing consumer moves (corresponding second movable information, step number for exercise data characterizing motility), difference based on step number determines whether the original screening strategy needing to adjust in application to be tested, if difference exceeds threshold value, then can adjust original screening strategy obtain object filtering strategy and be issued to application to be tested, subordinate said process, until the difference of the first movable information obtained and the second movable information is less than threshold value, the object filtering strategy now used in application to be tested meets the precision screening out abnormal motion data in screening original virtual exercise data and meets accuracy requirement, does not need to continue adjustment.
Step S406, based target screening strategy carries out Screening Treatment to the exercise data obtained from the described application programming interface being in the state of not being held as a hostage, and obtains the target travel data after Screening Treatment.
The precision using object filtering strategy to screen out abnormal motion data from original virtual exercise data due to application to be tested meets accuracy requirement, thus, when application to be tested gets from application programming interface the exercise data characterized for real movable information, the precision screening out abnormal motion data from the exercise data obtained must meet accuracy requirement, this just can make different mobile terminal export exercise data all when error due to the built-in application programming interface of platform, can screen out the exercise data (namely abnormal motion data) of the error existed and obtain target travel data, ensure that later use target travel data carry out processing the accuracy carrying out sharing or presenting as obtained movable information.
Embodiment five
The present embodiment is to the original screening strategy based on application to be tested, and the specific implementation of the original virtual exercise data obtained from application programming interface being carried out to Screening Treatment is described, and as shown in Figure 9, comprises the following steps:
Step S501, compares from i-th time from the jth group original virtual exercise data that i-th group of original virtual exercise data of application programming interface acquisition and jth time obtain from application programming interface.
Wherein, 1≤i≤j≤N, i and j is integer, N is the maximal value of the grouping of original virtual exercise data, acquisition moment of i-th group of original virtual exercise data is early than the acquisition moment of jth group original virtual exercise data, the acquisition moment of i-th group of original virtual exercise data can be two groups of adjacent original virtual exercise datas early than the acquisition moment of jth group original virtual exercise data, also the original virtual exercise data that adjacent moment obtains from application programming interface is, now, the value of j is i+1; Acquisition moment of i-th group of original virtual exercise data can be two groups of original virtual exercise datas at interval early than acquisition moment of jth group original virtual exercise data, also the original virtual exercise data that the interval moment obtains from application programming interface is, now, the value of j to be i+k, k be greater than 1 integer.
Step S502, whether described jth group original virtual exercise data exceeds undulating quantity threshold value compared to the undulating quantity of described i-th group of original virtual exercise data, if, characterizing jth group original virtual exercise data is abnormal motion data, then perform step S503, otherwise characterizing jth group original virtual exercise data is proper motion data, renewal j+1 is j, and performs step S504.
Step S503, from original virtual exercise data, screen out described jth group original virtual exercise data, renewal j+1 is j, and performs step S504.
Step S504, judges whether j value is N, if so, then performs step S505, otherwise, return step S501.
Step S505, generates destination virtual exercise data, namely screens out the exercise data after abnormal motion data as destination virtual exercise data using through above-mentioned.
Embodiment six
The scene that the present embodiment combines in actual use is described the technical scheme that above-described embodiment is recorded, the present embodiment is applied as micro-letter with to be tested, and the motion step number (can also characterize in practical application) that mobile terminal is intelligent watch, exercise data characterizes intelligent watch user is described for example.
Micro-letter needs to realize following functions, as shown in Figure 10, obtain the exercise data that when user wears intelligent watch, in intelligent watch, application programming interface (API for the operating system of intelligent watch motion) exports, to determine the motion step number of user, motion step number can be determined the motion step number of user based on exercise data by intelligent watch self, or, by intelligent watch, exercise data is uploaded onto the server, determine the motion step number of user by server and be issued to intelligent watch, communication link between intelligent watch and server can use cellular communication mode as 2G/3G/4G, micro-letter shows the motion step number of user in the display interface of intelligent watch, and, the motion step number of user can be sent to server (micro-telecommunications services device), the mobile terminal good friend that the motion step number of user is forwarded to user held by micro-telecommunications services device is (as palm PC, mobile phone etc.), realize the sharing function of the movable information of user,
Because micro-letter is that the particular application program interface provided from the operating system of intelligent watch motion obtains exercise data, due to the difference of different operating system, all there is certain error in the exercise data that the application programming interface of different operating system exports, can be understood as the application programming interface of different operating system when exporting exercise data (being also proper motion data) of movable information of characterizing consumer, also inevitably output abnormal motion data (and there is obvious errors, do not meet the exercise data for the actual conditions of moving); Given this problem, built-in screening strategy in micro-letter, micro-letter is when getting exercise data from application programming interface, the abnormal motion data that can screen out in the exercise data in getting based on screening strategy obtain target travel data, and based target exercise data can determine the movable information of user exactly;
In order to make screening strategy in micro-letter accurate, before needing micro-letter of built-in screening strategy to reach the standard grade, the screening strategy built-in to micro-letter adjusts, in the present embodiment, the screening strategy before adjustment is become original screening strategy, the screening strategy finally adjusting the satisfied reality screening accuracy requirement obtained is become object filtering strategy, when adjusting original screening strategy, by kidnapping the application programming interface exporting exercise data, export the original virtual exercise data (including abnormal motion data) meeting the demand parameter of test scene, more micro-letter screens to original virtual exercise data namely motion step number that the selection result (also destination virtual exercise data) that obtains characterizes, the difference of the motion step number (not comprising the motion step number of abnormal motion data characterization) characterized with original virtual exercise data, original screening strategy is adjusted, such as, when difference is greater than threshold value, show the standard needing the screening conditions improved in screening strategy, until, screening strategy after micro-letter utilizes adjustment is to the motion step number of the user that the destination virtual exercise data obtained after the original virtual exercise data screening obtained characterizes, the difference of the motion step number of the user characterized with original virtual exercise data (not comprising abnormal fantasy sport data) is lower than threshold value, and the precision that the screening strategy characterized after adjustment screens out abnormal motion data meets the demands,
Follow-up, after when the screening strategy after built-in adjustment, also namely micro-letter of object filtering strategy is reached the standard grade, abnormal motion data can be accurately screened out in the exercise data of application programs DLL (dynamic link library) output, thus obtain target travel data, thus guarantee the precision of the movable information of the user utilizing target travel data to determine.
Embodiment seven
The present embodiment records a kind of computer-readable medium, can be ROM (such as, ROM (read-only memory), FLASH memory, transfer device etc.), magnetic storage medium (such as, tape, disc driver etc.), the program storage of optical storage medium (such as, CD-ROM, DVD-ROM, paper card, paper tape etc.) and other well-known types; Computer executable instructions is stored in described computer-readable medium, when executed, cause at least one processor to perform and comprise following operation: perform the application programming interface in the operating system of running of mobile terminal and kidnap operation, described application programming interface is the interface that described operating system exports that exercise data exports the exercise data of corresponding described mobile terminal; Obtain the demand parameter information of test scene, the application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data.
Embodiment eight
The present embodiment records a kind of mobile terminal, corresponding with the mobile terminal that above-described embodiment is recorded, and as shown in figure 11, the mobile terminal that the present embodiment is recorded comprises:
Kidnapping unit 100, kidnapping operation for performing the application programming interface in the operating system of running of mobile terminal, described application programming interface is the interface that described operating system exports that exercise data exports the exercise data of corresponding described mobile terminal;
First acquiring unit 110, is connected, for obtaining the demand parameter information of test scene with abduction unit 100;
Output unit 120, is connected with the first acquiring unit 110, exports original virtual exercise data for the application programming interface controlling to kidnap based on described demand parameter information.
As an example, described output unit 120 comprises:
Parsing module 1201, for parsing the data volume of the type of test scene demand exercise data and the exercise data of required type described in described demand parameter information representation;
Output module 1202, be connected with parsing module 1201, the exercise data of corresponding types is exported for controlling kidnapped application programming interface, and the data volume of the exercise data of the corresponding types exported, consistent with the data volume of the exercise data of the corresponding types that described demand parameter information indicates.
As an example, described testing mobile terminal also comprises:
First screening unit 130, be connected with output unit 120, for the original screening strategy based on correspondence application to be tested, Screening Treatment is carried out to the original virtual exercise data obtained from described application programming interface, obtain the destination virtual exercise data after Screening Treatment.
As an example, described testing mobile terminal also comprises:
Second acquisition unit 140, for obtaining object filtering strategy, described object filtering strategy is the difference of the second movable information that the first movable information of characterizing based on described destination virtual exercise data and described original virtual exercise data characterize, and carries out adjustment obtain described original screening strategy
Second screening unit 150, for carrying out Screening Treatment based on described object filtering strategy to the exercise data obtained from the described application programming interface being in the state of not being held as a hostage, obtains the target travel data after Screening Treatment.
As an example, described first screening unit 130 comprises:
Comparison module 1301, for comparing the jth group original virtual exercise data that i-th group of original virtual exercise data obtaining from i-th time from described application programming interface and jth time obtain from described application programming interface, wherein, 1≤i≤j≤N, i and j is integer, and N is the maximal value of the grouping of original virtual exercise data;
Screen out module 1302, be connected with comparison module 1301, for when described jth group original virtual exercise data exceeds undulating quantity threshold value compared to the undulating quantity of described i-th group of original virtual exercise data, from original virtual exercise data, screen out described jth group original virtual exercise data, obtain described destination virtual exercise data.
As an example, described abduction unit 100 also for when loading described operating system, is replaced specific process in described operating system, performs abduction operation to make the process after described replacement to detected application programming interface;
Or described abduction unit 100, also for running the mode being arranged at particular plug-in in described operating system when loading described operating system, performing detected application programming interface and kidnapping operation.
In practical application, above-mentioned each unit can be realized by microprocessor in mobile terminal (MCU), special IC (ASIC) or logic programmable gate array (FPGA).
In sum, the embodiment of the present invention has following beneficial effect:
By presenting the abduction of result to the application exporting exercise data, the fantasy sport data of any type can be exported fast based on the demand of test scene, test tester is not needed to hold motion of mobile terminals to form various different test scene, obviously improve the efficiency that the original screening strategy treated in Test Application carries out testing, be convenient to carry out rapid adjustment to original screening strategy, improve the testing efficiency of tester;
Subsequent movement terminal also can be object filtering strategy based on the screening strategy after adjustment, Screening Treatment is carried out to screen out abnormal motion data (also namely there is the exercise data of error) to the exercise data of the characterizing consumer real motion information obtained from application programming interface, promotes the precision that application to be tested exports exercise data.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, random access memory (RAM, RandomAccessMemory), ROM (read-only memory) (ROM, Read-OnlyMemory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that correlation technique contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, RAM, ROM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (12)

1. a data processing method, is characterized in that, described method comprises:
Perform the application programming interface in the operating system of running of mobile terminal and kidnap operation, described application programming interface is the interface that described operating system exports that exercise data exports the exercise data of corresponding described mobile terminal;
Obtain the demand parameter information of test scene, the application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data.
2. the method for claim 1, is characterized in that, the described application programming interface controlling to kidnap based on described demand parameter information exports original virtual exercise data, comprising:
Parse the data volume of the type of test scene demand exercise data and the exercise data of required type described in described demand parameter information representation;
The application programming interface controlling to kidnap exports the exercise data of corresponding types, and the data volume of the exercise data of the corresponding types exported, consistent with the data volume of the exercise data of the corresponding types that described demand parameter information indicates.
3. the method for claim 1, is characterized in that, described method also comprises:
Based on the original screening strategy of correspondence application to be tested, Screening Treatment is carried out to the original virtual exercise data obtained from described application programming interface, obtain the destination virtual exercise data after Screening Treatment.
4. method as claimed in claim 3, it is characterized in that, described method comprises:
Obtain object filtering strategy, described object filtering strategy is the difference of the second movable information that the first movable information of characterizing based on described destination virtual exercise data and described original virtual exercise data characterize, and carries out adjustment obtain described original screening strategy
Based on described object filtering strategy, Screening Treatment is carried out to the exercise data obtained from the described application programming interface being in the state of not being held as a hostage, obtain the target travel data after Screening Treatment.
5. the method for claim 1, it is characterized in that, the described original screening strategy based on application to be tested, carries out Screening Treatment to the original virtual exercise data obtained from described application programming interface, obtain the destination virtual exercise data after Screening Treatment, comprising:
The jth group original virtual exercise data that the i-th group of original virtual exercise data relatively obtained from i-th time from described application programming interface and jth time obtain from described application programming interface, wherein, 1≤i≤j≤N, i and j is integer, and N is the maximal value of the grouping of original virtual exercise data;
When described jth group original virtual exercise data exceeds undulating quantity threshold value compared to the undulating quantity of described i-th group of original virtual exercise data, from original virtual exercise data, screen out described jth group original virtual exercise data, obtain described destination virtual exercise data.
6. the method for claim 1, is characterized in that, described execution detected application programming interface kidnaps operation, comprising:
When loading described operating system, specific process in described operating system being replaced, to make the process after described replacement, abduction operation being performed to detected application programming interface;
Or, running the mode being arranged at particular plug-in in described operating system when loading described operating system, detected application programming interface being performed and kidnaps operation.
7. a mobile terminal, is characterized in that, described mobile terminal comprises:
Kidnap unit, perform kidnap operation for the application programming interface in the operating system to described running of mobile terminal, described application programming interface is the interface that described operating system exports that exercise data exports the exercise data of corresponding described mobile terminal;
First acquiring unit, for obtaining the demand parameter information of test scene;
Output unit, exports original virtual exercise data for the application programming interface controlling to kidnap based on described demand parameter information.
8. mobile terminal as claimed in claim 7, it is characterized in that, described output unit comprises:
Parsing module, for parsing the data volume of the type of test scene demand exercise data and the exercise data of required type described in described demand parameter information representation;
Output module, exports the exercise data of corresponding types for controlling kidnapped application programming interface, and the data volume of the exercise data of the corresponding types exported, consistent with the data volume of the exercise data of the corresponding types that described demand parameter information indicates.
9. mobile terminal as claimed in claim 7, it is characterized in that, described mobile terminal also comprises:
First screening unit, for the original screening strategy based on correspondence application to be tested, carries out Screening Treatment to the original virtual exercise data obtained from described application programming interface, obtains the destination virtual exercise data after Screening Treatment.
10. mobile terminal as claimed in claim 7, it is characterized in that, described mobile terminal also comprises:
Second acquisition unit, for obtaining object filtering strategy, described object filtering strategy is the difference of the second movable information that the first movable information of characterizing based on described destination virtual exercise data and described original virtual exercise data characterize, and carries out adjustment obtain described original screening strategy
Second screening unit, for carrying out Screening Treatment based on described object filtering strategy to the exercise data obtained from the described application programming interface being in the state of not being held as a hostage, obtains the target travel data after Screening Treatment.
11. mobile terminals as claimed in claim 9, is characterized in that, described first screening unit comprises:
Comparison module, for comparing the jth group original virtual exercise data that i-th group of original virtual exercise data obtaining from i-th time from described application programming interface and jth time obtain from described application programming interface, wherein, 1≤i≤j≤N, i and j is integer, and N is the maximal value of the grouping of original virtual exercise data;
Screen out module, for when described jth group original virtual exercise data exceeds undulating quantity threshold value compared to the undulating quantity of described i-th group of original virtual exercise data, from original virtual exercise data, screen out described jth group original virtual exercise data, obtain described destination virtual exercise data.
12. mobile terminals as described in any one of claim 7 to 11, is characterized in that,
Described abduction unit also for when loading described operating system, is replaced specific process in described operating system, performs abduction operation to make the process after described replacement to detected application programming interface;
Or described abduction unit, also for running the mode being arranged at particular plug-in in described operating system when loading described operating system, performing detected application programming interface and kidnapping operation.
CN201510415584.3A 2015-07-14 2015-07-14 Data processing method and mobile terminal Active CN105045713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510415584.3A CN105045713B (en) 2015-07-14 2015-07-14 Data processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510415584.3A CN105045713B (en) 2015-07-14 2015-07-14 Data processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105045713A true CN105045713A (en) 2015-11-11
CN105045713B CN105045713B (en) 2018-02-13

Family

ID=54452276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510415584.3A Active CN105045713B (en) 2015-07-14 2015-07-14 Data processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105045713B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs
CN106095609A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 Walking data check, modification method and system
CN106227664A (en) * 2016-07-22 2016-12-14 华为技术有限公司 A kind of method and device testing application program
CN106482742A (en) * 2016-09-13 2017-03-08 广东欧珀移动通信有限公司 The acquisition methods of meter step data and device
CN106686049A (en) * 2016-08-09 2017-05-17 腾讯科技(深圳)有限公司 Position virtualization method and position virtualization device
CN107463359A (en) * 2016-06-02 2017-12-12 深圳市慧动创想科技有限公司 A kind of convenient method in iOS ipa bag code implants
CN108491275A (en) * 2018-03-13 2018-09-04 广东欧珀移动通信有限公司 program optimization method, device, terminal and storage medium
WO2018215825A1 (en) * 2017-05-22 2018-11-29 International Business Machines Corporation Adaptive adjustment using sensor data and distributed data
CN109146558A (en) * 2018-07-31 2019-01-04 宜人恒业科技发展(北京)有限公司 A kind of method and apparatus identifying spurious motion step number
CN110046100A (en) * 2019-04-15 2019-07-23 上海掌门科技有限公司 A kind of method, electronic equipment and the medium of grouping test
CN110109938A (en) * 2017-12-20 2019-08-09 北京国双科技有限公司 A kind of data screening method and device
WO2020232899A1 (en) * 2019-05-23 2020-11-26 平安科技(深圳)有限公司 Troubleshooting method for data analysis system, and related device
CN112445692A (en) * 2019-08-27 2021-03-05 腾讯科技(深圳)有限公司 Case testing method and terminal
CN114025079A (en) * 2021-09-29 2022-02-08 大连中科创达软件有限公司 Method, device and system for processing image quality optimization parameters
US11782756B2 (en) 2018-04-20 2023-10-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for scheduling processor core, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034725A (en) * 2012-12-19 2013-04-10 中国科学院深圳先进技术研究院 Data acquisition, analysis and pre-warning system and method thereof
CN103458007A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 IM data export method, client terminal and system
US20150193753A1 (en) * 2014-01-03 2015-07-09 Flytech Technology Co., Ltd Service data record system, data record method and electronic equipment using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034725A (en) * 2012-12-19 2013-04-10 中国科学院深圳先进技术研究院 Data acquisition, analysis and pre-warning system and method thereof
CN103458007A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 IM data export method, client terminal and system
US20150193753A1 (en) * 2014-01-03 2015-07-09 Flytech Technology Co., Ltd Service data record system, data record method and electronic equipment using the same

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs
CN106095609A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 Walking data check, modification method and system
CN107463359A (en) * 2016-06-02 2017-12-12 深圳市慧动创想科技有限公司 A kind of convenient method in iOS ipa bag code implants
CN106227664B (en) * 2016-07-22 2019-04-12 华为技术有限公司 A kind of method and device of test application program
CN106227664A (en) * 2016-07-22 2016-12-14 华为技术有限公司 A kind of method and device testing application program
CN106686049B (en) * 2016-08-09 2019-06-14 腾讯科技(深圳)有限公司 Position virtual method and position virtual bench
CN106686049A (en) * 2016-08-09 2017-05-17 腾讯科技(深圳)有限公司 Position virtualization method and position virtualization device
CN106482742B (en) * 2016-09-13 2019-05-28 Oppo广东移动通信有限公司 The acquisition methods and device of step counting data
CN106482742A (en) * 2016-09-13 2017-03-08 广东欧珀移动通信有限公司 The acquisition methods of meter step data and device
WO2018215825A1 (en) * 2017-05-22 2018-11-29 International Business Machines Corporation Adaptive adjustment using sensor data and distributed data
US11228613B2 (en) 2017-05-22 2022-01-18 International Business Machines Corporation Adaptive adjustment using sensor data and distributed data
CN110109938A (en) * 2017-12-20 2019-08-09 北京国双科技有限公司 A kind of data screening method and device
CN108491275B (en) * 2018-03-13 2022-12-13 Oppo广东移动通信有限公司 Program optimization method, device, terminal and storage medium
CN108491275A (en) * 2018-03-13 2018-09-04 广东欧珀移动通信有限公司 program optimization method, device, terminal and storage medium
US11782756B2 (en) 2018-04-20 2023-10-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for scheduling processor core, and storage medium
CN109146558A (en) * 2018-07-31 2019-01-04 宜人恒业科技发展(北京)有限公司 A kind of method and apparatus identifying spurious motion step number
CN110046100A (en) * 2019-04-15 2019-07-23 上海掌门科技有限公司 A kind of method, electronic equipment and the medium of grouping test
WO2020232899A1 (en) * 2019-05-23 2020-11-26 平安科技(深圳)有限公司 Troubleshooting method for data analysis system, and related device
CN112445692A (en) * 2019-08-27 2021-03-05 腾讯科技(深圳)有限公司 Case testing method and terminal
CN112445692B (en) * 2019-08-27 2024-01-26 腾讯科技(深圳)有限公司 Case testing method and terminal
CN114025079A (en) * 2021-09-29 2022-02-08 大连中科创达软件有限公司 Method, device and system for processing image quality optimization parameters
CN114025079B (en) * 2021-09-29 2024-02-13 大连中科创达软件有限公司 Image quality optimization parameter processing method, device and system

Also Published As

Publication number Publication date
CN105045713B (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN105045713A (en) Data processing method and mobile terminal
CN108563548B (en) Abnormality detection method and apparatus
CN108573355B (en) Method and device for replacing operation after model updating and business server
CN107038108B (en) Software testing method and device
CN110601900A (en) Network fault early warning method and device
CN106598850B (en) A kind of location of mistake method based on program failure clustering
CN106326120B (en) Regression testing method and device for application software and electronic equipment
CN105653946A (en) Android malicious behavior detection system based on combined event behavior triggering and detection method of Android malicious behavior detection system
CN110650531B (en) Base station coordinate calibration method, system, storage medium and equipment
US20180225195A1 (en) Selective application testing
WO2018017133A1 (en) Autonomously adaptive performance monitoring
CN104244317A (en) Method and device for determining indoor telephone traffic states and indoor telephone traffic amount
CN105183658A (en) Software code testing method and device
CN108845927B (en) Test case screening method and device
CN112988587A (en) Program detection method and device
CN112346962A (en) Comparison data testing method and device applied to comparison testing system
CN116246787B (en) Risk prediction method and device for non-recurrent death
CN109658082B (en) Method and equipment for identifying abnormal charging
CN109597700B (en) Disk life prediction method and related device
CN115238837B (en) Data processing method and device, electronic equipment and storage medium
CN108763039B (en) Service fault simulation method, device and equipment
CN116320273A (en) Video data processing method and device
CN107562266B (en) Capacitive screen calibration method and device and terminal equipment
US20180060280A1 (en) Nonparametric method for measuring clustered level of time rank in binary data
US7889067B2 (en) Alarm information processing device and alarm information processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant