Nothing Special   »   [go: up one dir, main page]

CN107066374A - A kind of data processing method and mobile terminal - Google Patents

A kind of data processing method and mobile terminal Download PDF

Info

Publication number
CN107066374A
CN107066374A CN201710167233.4A CN201710167233A CN107066374A CN 107066374 A CN107066374 A CN 107066374A CN 201710167233 A CN201710167233 A CN 201710167233A CN 107066374 A CN107066374 A CN 107066374A
Authority
CN
China
Prior art keywords
log
fingerprintd
switch parameters
fingerprintservice
daily records
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
CN201710167233.4A
Other languages
Chinese (zh)
Other versions
CN107066374B (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 CN201710167233.4A priority Critical patent/CN107066374B/en
Publication of CN107066374A publication Critical patent/CN107066374A/en
Application granted granted Critical
Publication of CN107066374B publication Critical patent/CN107066374B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The embodiments of the invention provide a kind of data processing method, applied to the mobile terminal of android operating systems, the mobile terminal includes fingerprinting service FingerprintService and fingerprint communication process fingerprintd, and methods described includes:The FingerprintService obtains Log switch parameters, and the Log switch parameters are used for the on off state for changing Log daily records;The Log switch parameters are passed to fingerprintd by the FingerprintService by binder processes;The fingerprintd opens the Log daily records by the Log switch parameters.The embodiment of the present invention additionally provides a kind of mobile terminal.Can dynamic opening Log daily records, the related data of acquisition low probability system problem from Log daily records by the embodiment of the present invention.

Description

A kind of data processing method and mobile terminal
Technical field
The present invention relates to communication technical field, and in particular to a kind of data processing method and mobile terminal.
Background technology
With the fast development of information technology, mobile terminal (such as mobile phone, tablet personal computer) is referred to using increasingly popularizing Line identification technology is widely used on mobile terminals as the standard configuration technology of mobile terminal.Fingerprint is known on the market Other module has become the standard configuration of intelligent terminal, and fingerprint, which is used for unlocked by fingerprint, also turns into the basic function of fingerprint terminal, refers to Line identification can be used for unlocking screen, file/program encryption, mobile payment etc..
In the prior art, due to unlocked by fingerprint, the function such as fingerprint payment brings high convenience to our life, Fingerprint function drastically rises once release, customer volume and frequency of usage, and this is steady to fingerprint recognition module and system software It is qualitative to propose higher requirement.But all system problems can not all ensure to cover in the experimental test stage comprehensively, The low probability system failure needs, from obtaining in user feedback, therefore, to obtain scene, be the key that analysis is solved the problems, such as, thus, Need to obtain Log daily records, still, it is generally the case that acquiescence closes Log daily records, in this way, causing low probability system problem to feed back to Technical staff is more difficult.
The content of the invention
The embodiments of the invention provide a kind of data processing method and mobile terminal, can dynamic opening Log daily records, and then, Low probability system problem is fed back into technical staff.
First aspect of the embodiment of the present invention provides a kind of data processing method, the shifting applied to android operating systems Dynamic terminal, the mobile terminal includes fingerprinting service FingerprintService and fingerprint communication process fingerprintd, Specifically for:
The FingerprintService obtains Log switch parameters, and the Log switch parameters are used to change Log daily records On off state;
The FingerprintService is passed to the Log switch parameters by binder processes fingerprintd;
The fingerprintd opens the Log daily records by the Log switch parameters.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes fingerprinting service FingerprintService and fingerprint communication process fingerprintd, and it is provided with android operating systems, including:
The FingerprintService, for obtaining Log switch parameters, the Log switch parameters are used to change Log The on off state of daily record;
The FingerprintService also particularly useful for:
The Log switch parameters are passed to by the fingerprintd by binder processes;
The fingerprintd, for opening the Log daily records by the Log switch parameters.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including:
Processor and memory;Wherein, the processor is by calling the code in the memory or instructing to perform The some or all of step of method described by first aspect.
Implement the embodiment of the present invention, have the advantages that:
As can be seen that by the embodiment of the present invention, FingerprintService obtains Log switch parameters, Log switches Parameter is used for the on off state for changing Log daily records, and FingerprintService is passed Log switch parameters by binder processes Fingerprintd is passed, fingerprintd opens Log daily records by Log switch parameters, then closes situation in Log daily records Under, it can be achieved to open Log daily records, so that, facilitate user to inquire about low probability system problem in Log daily records, and be fed back to Technical staff.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of first embodiment schematic flow sheet of data processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of second embodiment schematic flow sheet of data processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of first embodiment structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of second embodiment structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of example structure schematic diagram of mobile phone provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that covering non-exclusive is included.For example contain the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but the step of alternatively also include not listing or list Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments In at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not be each meant Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal described by the embodiment of the present invention can include smart mobile phone (such as Android phone, iOS mobile phones, Windows Phone mobile phones etc.), tablet personal computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned is only citing, and non exhaustive, including but not limited to above-mentioned mobile whole End.
It should be noted that in the embodiment of the present invention, fingerprinting service FingerprintService can correspond to one Log days Will, fingerprint communication process fingerprintd can also correspond to a Log daily record.FingerprintService and Fingerprintd shares Log switch parameters, and Log switch parameters are used to open Log daily records.Log switch parameters can be set by advance Put, for example, when switch parameter is 1, Log parameters can be used for opening Log daily records (can disposably open FingerprintService Log daily records and fingerprintd Log daily records), when switch parameter is 0, Log parameters can be used for closing Log daily records (can one Secondary property closes FingerprintService Log daily records and fingerprintd Log daily records), certainly, switch parameter is not only It is limited to 1 and 0, can also be Y (YES) and N (NO), or, T (TRUE) and F (FALSE) etc., you can think switch parameter bag Value containing two states:Open shape state value and closed mode value.
Referring to Fig. 1, being a kind of first embodiment schematic flow sheet of data processing method provided in an embodiment of the present invention. Data processing method described in the present embodiment, comprises the following steps:
101st, FingerprintService obtains Log switch parameters, and the Log switch parameters are used to change Log daily records On off state.
Alternatively, when mobile terminal self-inspection finds failure and the failure is not most common failure, fingerprinting service FingerprintService can obtain Log switch parameters.If for example, user is occurred in that during using mobile terminal Low probability failure, then can automatically open up Log daily records, and the data related to the low probability failure recorded in its Log daily record are passed Pass high in the clouds (i.e. the server of mobile terminal manufacturer).
Alternatively, when mobile terminal breaks down, it can be joined by technical staff (for example, tester) input Log switches Number, for example, technical staff is when testing mobile terminal, now, if breaking down, can input Log switches Parameter, so that, Log daily records are opened, so that, the data related to failure are got from Log daily records.
Alternatively, before above-mentioned steps 101, it can comprise the following steps:
After terminal device and the mobile terminal are set up and be connected, unlocked by fingerprint application receives shell-command, described Dump service instructions in shell-command have added the Log switch parameters, perform the FingerprintService Obtain Log switch parameters.
Wherein, terminal device can be set up with mobile terminal by USB interface and is connected, can be to mobile terminal input shell lives Dump service instructions in order, the shell-command have added Log switch parameters, in this way, unlocked by fingerprint application can be received Shell-command, can be applied from unlocked by fingerprint by FingerprintService and obtain Log switch parameters, or, by unlocked by fingerprint FingerprintService is passed to using by Log switch parameters.For example, maintenance personal repairs to mobile terminal When, the Log daily records of mobile terminal can be opened by this way, so that, the data related to failure are got from Log daily records.
102nd, FingerprintService is passed to the Log switch parameters by binder processes fingerprintd。
Wherein, FingerprintService can be realized by binder processes transmits Log between fingerprintd Switch parameter, it is specific as follows:
Alternatively, above-mentioned steps 102, FingerprintService is passed the Log switch parameters by binder processes Fingerprintd is passed, can be implemented in accordance with the following steps:
The FingerprintService detects that the fingerprintd calls whether the binder processes are blocked, The binder processes carry the Log switch parameters;
When the fingerprintd calls the binder processes to block, the FingerprintService is restarted The fingerprintd, is transmitted the Log switch parameters by binder processes by the FingerprintService To the fingerprintd after restarting.
Wherein, can be by FingerprintService weights when whether fingerprintd calls binder processes to block Fingerprintd is opened, after fingerprintd is restarted, binder processes are passed through by FingerprintService again Log switch parameters are passed to the fingerprintd after restarting.
103rd, fingerprintd opens Log daily records by the Log switch parameters.
Wherein, after fingerprintd obtains Log switch parameters, Log daily records is opened according to the Log switch parameters, entered And, FingerprintService Log daily records and fingerprintd Log daily records can be opened, technical staff can be from Log days FingerprintService and fingerprintd operation conditions are checked in will.
Alternatively, in above-mentioned steps 103, fingerprintd opens Log daily records by the Log switch parameters, it may include Following steps:
The Log switch parameters are placed in fingerprint driving TAC shared header file by the fingerprintd, by described TAC reads the Log switch parameters from the shared header file, and opens the Log daily records with the Log switch parameters.
Wherein, the Log parameters after Log switch parameters, will can be stored in being total to for fingerprint driving TAC by fingerprintd Enjoy in header file, read Log switch parameters from shared header file by TAC, and Log daily records are opened with the Log switch parameters.
Alternatively, in above-mentioned steps 103, fingerprintd opens Log daily records by the Log switch parameters, it may include Following steps:
The fingerprintd notifies fingerprint to drive TAC Log according to the Log switch parameters to switch daily record.
Wherein, fingerprintd can send a notification message to fingerprint driving TAC, can after the notified message of TAC Log daily records are opened according to Log switch parameters.
As can be seen that by the embodiment of the present invention, FingerprintService obtains Log switch parameters, Log switches Parameter is used for the on off state for changing Log daily records, and FingerprintService is passed Log switch parameters by binder processes Fingerprintd is passed, fingerprintd opens Log daily records by Log switch parameters, then closes situation in Log daily records Under, it can be achieved to open Log daily records, so that, facilitate user to inquire about low probability system problem in Log daily records, and be fed back to Technical staff.The embodiment of the present invention can provide convenient to tester, maintenance personal and background maintenance personnel, in order to collect Low probability system problem, so that, these low probability system problems are solved, more preferable Consumer's Experience is provided the user.Certainly, this hair Bright embodiment is also possible that technical staff obtains other systems problem from Log daily records.
Consistent with the abovely, referring to Fig. 2, second for a kind of data processing method provided in an embodiment of the present invention implements Example schematic flow sheet.Data processing method described in the present embodiment, comprises the following steps:
201st, FingerprintService obtains Log switch parameters, and the Log switch parameters are used to change Log daily records On off state.
202nd, FingerprintService is passed to the Log switch parameters by binder processes fingerprintd。
203rd, fingerprintd opens Log daily records by the Log switch parameters.
Wherein, the specific descriptions of above-mentioned steps 201- steps 203 can refer to the correspondence of the data processing method described by Fig. 1 Step.
204th, it is described after the fingerprintd opens the Log daily records by the Log switch parameters Fingerprintd closes the Log daily records.
Wherein, can be by after fingerprintd opens Log daily records by the Log switch parameters Fingerprintd closes Log daily records.For example, be disconnected connection between terminal device and mobile terminal, then fingerprintd Log daily records can be closed automatically.In another example, mobile terminal have received the switch parameter for closing Log daily records, then close Log Daily record.
As can be seen that by the embodiment of the present invention, FingerprintService obtains Log switch parameters, Log switches Parameter is used for the on off state for changing Log daily records, and FingerprintService is passed Log switch parameters by binder processes Fingerprintd is passed, fingerprintd opens Log daily records by Log switch parameters, then closes situation in Log daily records Under, it can be achieved to open Log daily records, be extracted after the corresponding data of low probability system problem, can further close from Log daily records Close Log daily records.So as to, facilitate user to inquire about low probability system problem in Log daily records, and technical staff is fed back to, also Log daily records can be closed.The embodiment of the present invention can provide convenient to tester, maintenance personal and background maintenance personnel, with It is easy to collect low probability system problem, so that, these low probability system problems are solved, more preferable Consumer's Experience is provided the user.
Consistent with the abovely, device below for the above-mentioned data processing method of implementation, specific as follows:
Referring to Fig. 3, being a kind of first embodiment structural representation of mobile terminal provided in an embodiment of the present invention.This reality The mobile terminal described in example is applied, including:FingerprintService301, fingerprintd302 and unlocked by fingerprint should It is specific as follows with 303:
The FingerprintService301, for obtaining Log switch parameters, the Log switch parameters are used to change The on off state of Log daily records;
The FingerprintService301 also particularly useful for:
The Log switch parameters are passed to by the fingerprintd302 by binder processes;
The fingerprintd302, for opening the Log daily records by the Log switch parameters.
Alternatively, the FingerprintService301 is passed to the Log switch parameters by binder processes Fingerprintd302 specific implementation is:
The FingerprintService301 detects that the fingerprintd302 calls the binder processes to be No to block, the binder processes carry the Log switch parameters;
It is described when the fingerprintd302 calls the binder processes to block FingerprintService301 restarts the fingerprintd302, is passed through by the FingerprintService301 Binder processes pass to the Log switch parameters fingerprintd302 after restarting.
Alternatively, the fingerprintd302 opens the specific reality of the Log daily records by the Log switch parameters Now mode is:
The Log switch parameters are placed in fingerprint driving TAC shared header file by the fingerprintd302, by The TAC reads the Log switch parameters from the shared header file, and opens the Log daily records with the Log switch parameters.
Alternatively, unlocked by fingerprint applies 303, for after terminal device and the mobile terminal are set up and be connected, receiving Dump service instructions in shell-command, the shell-command have added the Log switch parameters, described FingerprintService301 obtains Log switch parameters.
Alternatively, the fingerprintd302 also particularly useful for:
After the fingerprintd302 opens the Log daily records by the Log switch parameters, close described Log daily records.
As can be seen that by the mobile terminal described by the embodiment of the present invention, FingerprintService obtains Log and opened Related parameter, the Log switch parameters are used for the on off state for changing Log daily records, and FingerprintService is entered by binder Log switch parameters are passed to fingerprintd by journey, and fingerprintd opens Log daily records by Log switch parameters, then In the case of Log daily records closing, it can be achieved to open Log daily records, so that, facilitate user to inquire about low probability system in Log daily records Problem, and it is fed back to technical staff.The embodiment of the present invention can be carried to tester, maintenance personal and background maintenance personnel Supplier just, in order to collect low probability system problem so that, solve these low probability system problems, provide the user preferably Consumer's Experience.
Consistent with the abovely, referring to Fig. 4, being a kind of second embodiment knot of mobile terminal provided in an embodiment of the present invention Structure schematic diagram.Mobile terminal described in the present embodiment, including:At least one input equipment 1000;At least one output is set Standby 2000;At least one processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, Processor 3000 and memory 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
Above-mentioned output equipment 2000 concretely display screen.
Wherein, unlocked by fingerprint application, Fingerprint Service and fingerprintd can be by mobile terminal Reason device or controller are called, and the processor or controller for example can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application-Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hardware component or Its any combination of person.It can realize or perform the various exemplary logic blocks with reference to described by the disclosure of invention, Module and circuit.The processor can also be the combination for realizing computing function, such as comprising one or more microprocessors group Close, combination of DSP and microprocessor etc..
Above-mentioned memory 4000 can be high-speed RAM memory, or nonvolatile storage (non-volatile Memory), such as magnetic disk storage.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Going out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, performs following operation:
The FingerprintService, for obtaining Log switch parameters, the Log switch parameters are used to change Log The on off state of daily record;
The FingerprintService also particularly useful for:
The Log switch parameters are passed to by the fingerprintd by binder processes;
The fingerprintd, for opening the Log daily records by the Log switch parameters.
Alternatively, the FingerprintService is passed to the Log switch parameters by binder processes Fingerprintd specific implementation is:
The FingerprintService detects that the fingerprintd calls whether the binder processes are blocked, The binder processes carry the Log switch parameters;
When the fingerprintd calls the binder processes to block, the FingerprintService is restarted The fingerprintd, is transmitted the Log switch parameters by binder processes by the FingerprintService To the fingerprintd after restarting.
Alternatively, the fingerprintd opens the side of implementing of the Log daily records by the Log switch parameters Formula is:
The Log switch parameters are placed in fingerprint driving TAC shared header file by the fingerprintd, by described TAC reads the Log switch parameters from the shared header file, and opens the Log daily records with the Log switch parameters.
Alternatively, unlocked by fingerprint, which is applied, is used for after terminal device and the mobile terminal are set up and be connected, and receives shell lives Dump service instructions in order, the shell-command have added the Log switch parameters, perform described FingerprintService obtains Log switch parameters.
Alternatively, the fingerprintd also particularly useful for:
After the fingerprintd opens the Log daily records by the Log switch parameters, the Log is closed Daily record.
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 510, memory 520, input block 530, display unit 540th, sensor 550, voicefrequency circuit 560, Wireless Fidelity (Wireless Fidelity, Wi-Fi) module 570, processor 580, And the grade part of power supply 590.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 is not constituted to mobile phone Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
RF circuits 510 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, handled to processor 580;In addition, being sent to base station by up data are designed.Generally, RF circuits 510 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 510 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 520 can be used for storage software program and module, and processor 580 is stored in memory 520 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 520 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..In addition, memory 520 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 530 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 530 may include that contact panel 531 and other inputs are set Standby 532.Contact panel 531, also referred to as touch-screen, collecting touch operation of the user on or near it, (such as user uses The operation of any suitable object such as finger, stylus or annex on contact panel 531 or near contact panel 531), and root Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 531 may include touch detecting apparatus and touch Two parts of controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 580, and the order sent of reception processing device 580 and can be performed.Furthermore, it is possible to using electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 531.Except contact panel 531, input Unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but is not limited to secondary or physical bond One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 540 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and mobile phone Menu.Display unit 540 may include display panel 541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 541.Further, contact panel 531 can cover display panel 541, when contact panel 531 is detected thereon or attached After near touch operation, processor 580 is sent to determine the type of touch event, with preprocessor 580 according to touch event Type corresponding visual output is provided on display panel 541.Although in Figure 5, contact panel 531 and display panel 541 It is input and the input function that mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch-control Panel 531 and the input that is integrated and realizing mobile phone of display panel 541 and output function.
Mobile phone may also include at least one sensor 550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 541, proximity transducer can close display panel 541 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) acceleration Size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be repeated here.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 561, sound is converted to by loudspeaker 561 by road 560 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 562, by voicefrequency circuit 560 receive after turn It is changed to voice data, then after voice data output processor 580 is handled, through RF circuits 510 to be sent to such as another mobile phone, Or export voice data to memory 520 so as to further processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 570 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5 is shown WiFi module 570, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 580 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform and be stored in software program and/or module in memory 520, and call and be stored in memory 520 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 580 can be wrapped Include one or more processing units;It is preferred that, processor 580 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 580.
Mobile phone also includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 580 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In previous embodiment, the structure realization that each step method flow can be based on the terminal.Wherein sensor 550 can be wrapped Containing proximity transducer and humidity sensor, contact panel 531 can be used as fingerprint recognition module.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, the program includes the part or all of step of any data processing method described in the above method embodiment when performing Suddenly.
Although combining each embodiment herein, invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking the accompanying drawing, disclosure and appended claims, it will be appreciated that and it is real Other changes of the existing open embodiment.In the claims, the word of " comprising " (comprising) one is not excluded for other compositions Part or step, "a" or "an" are not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Apply to combine and produce good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, in terms of the present invention can be using complete hardware embodiment, complete software embodiment or combination software and hardware The form of embodiment.Moreover, the present invention can be used in one or more calculating for wherein including computer usable program code The computer program that machine usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware Part, it would however also be possible to employ other distribution forms, such as passes through the wired or wireless telecommunication systems of Internet or other.
The present invention be with reference to the method for the embodiment of the present invention, device (equipment) and computer program product flow chart with/ Or block diagram is described.It should be understood that can by each flow in computer program instructions implementation process figure and/or block diagram and/ Or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided To the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce one Individual machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing The device for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although with reference to specific features and embodiment, invention has been described, it is clear that, do not departing from this hair In the case of bright spirit and scope, various modifications and combinations can be carried out to it.Correspondingly, the specification and drawings are only institute The exemplary illustration of the invention that attached claim is defined, and be considered as covered in the scope of the invention any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art can to the present invention carry out it is various change and modification without Depart from the spirit and scope of the present invention.So, if the present invention these modifications and variations belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (11)

1. a kind of data processing method, it is characterised in that applied to the mobile terminal of android operating systems, described mobile whole End includes fingerprinting service FingerprintService and fingerprint communication process fingerprintd, specifically for:
The FingerprintService obtains Log switch parameters, and the Log switch parameters are used to change opening for Log daily records Off status;
The Log switch parameters are passed to fingerprintd by the FingerprintService by binder processes;
The fingerprintd opens the Log daily records by the Log switch parameters.
2. according to the method described in claim 1, it is characterised in that the FingerprintService passes through binder processes The Log switch parameters are passed into fingerprintd, including:
The FingerprintService detects that the fingerprintd calls whether the binder processes are blocked, described Binder processes carry the Log switch parameters;
When the fingerprintd calls the binder processes to block, the FingerprintService is restarted described Fingerprintd, weight is passed to by the FingerprintService by binder processes by the Log switch parameters The fingerprintd after opening.
3. according to the method described in claim 1, it is characterised in that the fingerprintd passes through the Log switch parameters The Log daily records are opened, including:
The Log switch parameters are placed in fingerprint driving TAC shared header file by the fingerprintd, by the TAC The Log switch parameters are read from the shared header file, and the Log daily records are opened with the Log switch parameters.
4. the method according to any one of claims 1 to 3, it is characterised in that methods described also includes:
After terminal device and the mobile terminal are set up and be connected, unlocked by fingerprint application receives shell-command, the shell lives Dump service instructions in order have added the Log switch parameters, perform the FingerprintService and obtain Log Switch parameter.
5. method according to claim 4, it is characterised in that methods described also includes:
After the fingerprintd opens the Log daily records by the Log switch parameters, the fingerprintd Close the Log daily records.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes fingerprinting service FingerprintService and referred to Line communication process fingerprintd, and it is provided with android operating systems, including:
The FingerprintService, for obtaining Log switch parameters, the Log switch parameters are used to change Log daily records On off state;
The FingerprintService also particularly useful for:
The Log switch parameters are passed to by the fingerprintd by binder processes;
The fingerprintd, for opening the Log daily records by the Log switch parameters.
7. mobile terminal according to claim 6, it is characterised in that the FingerprintService passes through binder The specific implementation that the Log switch parameters pass to fingerprintd is by process:
The FingerprintService detects that the fingerprintd calls whether the binder processes are blocked, described Binder processes carry the Log switch parameters, described when the fingerprintd calls the binder processes to block FingerprintService restarts the fingerprintd, and binder processes are passed through by the FingerprintService The Log switch parameters are passed to the fingerprintd after restarting.
8. mobile terminal according to claim 6, it is characterised in that the fingerprintd is switched by the Log The specific implementation that parameter opens the Log daily records is:
The Log switch parameters are placed in fingerprint driving TAC shared header file by the fingerprintd, by the TAC The Log switch parameters are read from the shared header file, and the Log daily records are opened with the Log switch parameters.
9. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the mobile terminal also includes:
Unlocked by fingerprint application, it is described for after terminal device and the mobile terminal are set up and be connected, receiving shell-command Dump service instructions in shell-command have added the Log switch parameters, are obtained by the FingerprintService Take the Log switch parameters.
10. mobile terminal according to claim 9, it is characterised in that the fingerprintd also particularly useful for:
After the fingerprintd opens the Log daily records by the Log switch parameters, the Log daily records are closed.
11. a kind of mobile terminal, it is characterised in that including:
Processor and memory;Wherein, the processor is by calling the code in the memory or instructing to perform such as power Profit requires the method described in 1 to 5 any one.
CN201710167233.4A 2017-03-20 2017-03-20 Data processing method and mobile terminal Expired - Fee Related CN107066374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710167233.4A CN107066374B (en) 2017-03-20 2017-03-20 Data processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710167233.4A CN107066374B (en) 2017-03-20 2017-03-20 Data processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107066374A true CN107066374A (en) 2017-08-18
CN107066374B CN107066374B (en) 2020-07-10

Family

ID=59620226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710167233.4A Expired - Fee Related CN107066374B (en) 2017-03-20 2017-03-20 Data processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107066374B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073491A (en) * 2017-12-28 2018-05-25 努比亚技术有限公司 Mobile terminal restarts localization method, mobile terminal and computer readable storage medium
CN109582532A (en) * 2018-10-25 2019-04-05 平安科技(深圳)有限公司 Electronic device, log method of controlling switch and computer readable storage medium
CN113254293A (en) * 2021-05-28 2021-08-13 广州绿怡信息科技有限公司 Fingerprint function detection method and device
CN114077519A (en) * 2020-08-21 2022-02-22 荣耀终端有限公司 System service recovery method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070286464A1 (en) * 2006-06-08 2007-12-13 Jayanetti J K D Ruwan System and method for capturing a fingerprint using an electronic sensor
CN102479084A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and device for obtaining log by Android terminal
CN103377095A (en) * 2012-04-24 2013-10-30 华为技术有限公司 Running log storage method and device
CN104794054A (en) * 2015-04-22 2015-07-22 惠州Tcl移动通信有限公司 Log information real-time obtaining and uploading method and system and mobile terminal
CN105183622A (en) * 2015-08-25 2015-12-23 青岛海信移动通信技术股份有限公司 Log processing method and device based on Android system
CN105204979A (en) * 2015-07-28 2015-12-30 维沃移动通信有限公司 Recording method of Android logs and mobile terminal
CN105975387A (en) * 2015-12-09 2016-09-28 乐视移动智能信息技术(北京)有限公司 Method and device for capturing terminal debugging information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070286464A1 (en) * 2006-06-08 2007-12-13 Jayanetti J K D Ruwan System and method for capturing a fingerprint using an electronic sensor
CN102479084A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and device for obtaining log by Android terminal
CN103377095A (en) * 2012-04-24 2013-10-30 华为技术有限公司 Running log storage method and device
CN104794054A (en) * 2015-04-22 2015-07-22 惠州Tcl移动通信有限公司 Log information real-time obtaining and uploading method and system and mobile terminal
CN105204979A (en) * 2015-07-28 2015-12-30 维沃移动通信有限公司 Recording method of Android logs and mobile terminal
CN105183622A (en) * 2015-08-25 2015-12-23 青岛海信移动通信技术股份有限公司 Log processing method and device based on Android system
CN105975387A (en) * 2015-12-09 2016-09-28 乐视移动智能信息技术(北京)有限公司 Method and device for capturing terminal debugging information

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073491A (en) * 2017-12-28 2018-05-25 努比亚技术有限公司 Mobile terminal restarts localization method, mobile terminal and computer readable storage medium
CN108073491B (en) * 2017-12-28 2022-04-19 努比亚技术有限公司 Mobile terminal restart positioning method, mobile terminal and computer readable storage medium
CN109582532A (en) * 2018-10-25 2019-04-05 平安科技(深圳)有限公司 Electronic device, log method of controlling switch and computer readable storage medium
CN109582532B (en) * 2018-10-25 2022-07-22 平安科技(深圳)有限公司 Electronic device, log switch control method, and computer-readable storage medium
CN114077519A (en) * 2020-08-21 2022-02-22 荣耀终端有限公司 System service recovery method and device and electronic equipment
CN113254293A (en) * 2021-05-28 2021-08-13 广州绿怡信息科技有限公司 Fingerprint function detection method and device

Also Published As

Publication number Publication date
CN107066374B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN105912915B (en) A kind of unlocked by fingerprint method and terminal
CN106022075B (en) A kind of unlocked by fingerprint method and terminal
CN106203035A (en) A kind of data access control method and mobile terminal
CN106331372B (en) Data transmission method and mobile terminal
CN106446841B (en) A kind of fingerprint template matching order update method and terminal
CN106951850B (en) A kind of method and mobile terminal controlling fingerprint recognition mould group
CN105430600B (en) A kind of data transmission method and the terminal of data transmission
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN104699501B (en) A kind of method and device for running application program
CN106454805A (en) Data migration method and mobile terminal
CN107590375A (en) Unlocking method and related product
CN107066374A (en) A kind of data processing method and mobile terminal
CN106951761A (en) A kind of unlocked by fingerprint method and device
CN104423822A (en) Automated test script recording method and device
CN107025434A (en) A kind of fingerprint register method and mobile terminal
CN106022074B (en) A kind of unlocked by fingerprint method and terminal
CN105653220A (en) Screen data display method and device in remote control
CN107623896A (en) Connect method, apparatus, mobile terminal and the storage medium of on-vehicle Bluetooth
CN106407771A (en) Message management method and device
CN107423598B (en) A kind of solution lock control method and mobile terminal
CN105807908B (en) A kind of method and apparatus of switching working mode
CN107066860B (en) A kind of fingerprint identification method and mobile terminal
CN106648460B (en) Step counting data filtering method and intelligent terminal
CN107066090A (en) The method and mobile terminal of a kind of control fingerprint recognition module

Legal Events

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

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200710

CF01 Termination of patent right due to non-payment of annual fee