CN107066374B - Data processing method and mobile terminal - Google Patents

Data processing method and mobile terminal Download PDF

Info

Publication number
CN107066374B
CN107066374B CN201710167233.4A CN201710167233A CN107066374B CN 107066374 B CN107066374 B CN 107066374B CN 201710167233 A CN201710167233 A CN 201710167233A CN 107066374 B CN107066374 B CN 107066374B
Authority
CN
China
Prior art keywords
switch
mobile terminal
log
finger
parameters
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.)
Expired - Fee Related
Application number
CN201710167233.4A
Other languages
Chinese (zh)
Other versions
CN107066374A (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

Images

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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a data processing method which is applied to a mobile terminal of an android operating system, wherein the mobile terminal comprises a fingerprint service and a fingerprint communication process finger print, the method comprises the steps that the fingerprint service acquires L g switch parameters, the L g switch parameters are used for changing the switch state of L g logs, the finger service transmits L g switch parameters to the finger print through a binder process, and the finger print opens 387 g logs through L g switch parameters.

Description

Data processing method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a data processing method and a mobile terminal.
Background
With the rapid development of information technology, mobile terminals (such as mobile phones, tablet computers, and the like) are becoming more and more popular, and fingerprint identification technology has been widely used as a standard matching technology of mobile terminals. Fingerprint identification module has become intelligent terminal's standard configuration on the market, and the fingerprint is used for the fingerprint unblock also to become the basic function at fingerprint terminal, and fingerprint identification can be used for screen unblock, file/procedure encryption, mobile payment etc..
In the prior art, functions such as fingerprint unlocking and fingerprint payment bring extremely high convenience to our life, once the fingerprint function is released, the user quantity and the use frequency rapidly rise, and higher requirements are provided for the stability of a fingerprint identification module and system software.
Disclosure of Invention
The embodiment of the invention provides a data processing method and a mobile terminal, which can dynamically open L og logs and further feed back low-probability system problems to technical personnel.
A first aspect of the embodiments of the present invention provides a data processing method, which is applied to a mobile terminal of an android operating system, where the mobile terminal includes a fingerprint service and a fingerprint communication process fingerprint, and is specifically configured to:
the FingerprintService acquires L og switching parameters, and the L og switching parameters are used for changing the switching state of L og logs;
the FingerprintService transmits the L og switch parameter to fingerprintd through a binder process;
the finger print opens the L og log through the L og switch parameter.
A second aspect of the embodiments of the present invention provides a mobile terminal, where the mobile terminal includes a fingerprint service fingerservice and a fingerprint communication process fingerprintd, and is installed with an android operating system, and the mobile terminal includes:
the fingerprint service is used for acquiring L og switching parameters, and the L og switching parameters are used for changing the switching state of L og logs;
the FingerprintService is further specifically configured to:
passing the L og switch parameter to the finger print through a binder process;
the finger printd is used for opening the L og log through the L og switch parameter.
A third aspect of the embodiments of the present invention provides a mobile terminal, including:
a processor and a memory; wherein the processor performs some or all of the steps of the method described in the first aspect by calling code or instructions in the memory.
The embodiment of the invention has the following beneficial effects:
it can be seen that, through the embodiment of the present invention, FingerprintService obtains L og switch parameters, where L og switch parameters are used to change the switch state of L og logs, FingerprintService transfers L og switch parameters to fingerprintd through a binder process, and fingerprintd opens L og logs through L og switch parameters, so that when L og logs are closed, L og logs can be opened, so that a user can conveniently query low-probability system problems from L og logs and feed back the low-probability system problems to technicians.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data processing method according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of a data processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an embodiment of a mobile phone according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The mobile terminal described in the embodiment of the present invention may include a smart Phone (such as an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a mobile internet device (MID, mobile internet Devices), or a wearable device, which are merely examples, but not exhaustive, and include but are not limited to the mobile terminal.
It should be noted that, in the embodiment of the present invention, the fingerprint service fingerpintservice may correspond to one L g log, the fingerprint communication process fingerprintd may also correspond to one L g log, fingerprintd shares L g switch parameters, L g switch parameters are used to open L g log, L g switch parameters may be preset, for example, when the switch parameter is 1, L g parameters may be used to open L g log (7377 g log of fingerpintservice and L g log of fingerprintd may be opened at one time), when the switch parameter is 0, L g parameters may be used to close L g log (L g log of FingerprintService and L g log of fingerprintd may be closed at one time), of course, the switch parameters are not limited to 1 and 0, but may be y, n, s, and n, or the on state (t state) and the switch state may be considered as (t status values including (yes), (t) and (t state).
Fig. 1 is a schematic flow chart of a data processing method according to a first embodiment of the present invention. The data processing method described in this embodiment includes the following steps:
101. the FingerprintService obtains L og switching parameters, which L og switching parameters are used to change the switching state of the L og log.
For example, if a low-probability fault occurs during the process of using the mobile terminal by a user, a L og log can be automatically opened, and data related to the low-probability fault recorded in the L og log of the log is transmitted to the cloud (namely, a server of a manufacturer of the mobile terminal).
Alternatively, when the mobile terminal fails, L og switch parameters may be input by a technician (e.g., a tester), for example, when the technician tests the mobile terminal, at this time, if the mobile terminal fails, L og switch parameters may be input, so that L og logs are opened, and data related to the failure is acquired from L og logs.
Optionally, before the step 101, the following steps may be included:
after the terminal equipment is connected with the mobile terminal, the fingerprint unlocking application receives a shell command, a dump service instruction in the shell command is added to the L og switch parameters, and the FingerprintService is executed to acquire L og switch parameters.
The terminal equipment can be connected with the mobile terminal through the USB interface, a shell command can be input into the mobile terminal, a dump service instruction in the shell command is added with L og switch parameters, so that the fingerprint unlocking application can receive the shell command, L og switch parameters can be obtained from the fingerprint unlocking application by fingerprint unlocking service, or L og switch parameters are transmitted to the fingerprint unlocking application, for example, L og logs of the mobile terminal can be opened by a maintenance worker when the maintenance worker maintains the mobile terminal, and data related to faults are obtained from the L og logs.
102. The FingerprintService passes the L og switch parameter to fingerprintd through the binder process.
The FingerprintService can realize the transfer of L og switch parameters with fingerprintd through the binder process, and the details are as follows:
optionally, in step 102, the FingerprintService passes the L og switch parameter to the fingerprintd through the binder process, which may be implemented as follows:
the FingerprintService detects whether the binder process called by the fingerprintd is blocked or not, and the binder process carries the L og switch parameter;
and when the finger printd calls the binder process to be blocked, the finger printd is restarted by the finger printservice, and the finger printd transmits the L og switch parameter to the restarted finger printd through the binder process by the finger printservice.
When the finer process calls whether the binder process is blocked or not, the finer service can restart the finer print by the FingerprintService, and after the finer print is restarted, L og switching parameters are transmitted to the restarted finer print by the FingerprintService through the binder process again.
103. finger print opens L og log via the L og switch parameter.
After the finger printd obtains L og switch parameters, L og logs are opened according to the L og switch parameters, furthermore, L og logs of FingerprintService and L og logs of finger printd can be opened, and technicians can view the operating conditions of FingerprintService and finger printd from L og logs.
Optionally, in step 103, the finger printd opens L og log through the L og switch parameter, which may include the following steps:
the finger print puts the L og switch parameters in a shared header file of a fingerprint driving TAC, the TAC reads the L og switch parameters from the shared header file, and the L og log is opened by the L og switch parameters.
After the finger print has L og switch parameters, the L og parameters can be stored in the shared header file of the fingerprint drive TAC, the TAC reads L og switch parameters from the shared header file, and the L og switch parameters are used to open L og logs.
Optionally, in step 103, the finger printd opens L og log through the L og switch parameter, which may include the following steps:
and the finger print informs the fingerprint drive TAC of the L og switch log according to the L og switch parameter.
Wherein finger printd can send a notification message to the fingerprint drive TAC, and after the TAC receives the notification message, can open L og log according to L og switch parameters.
It can be seen that, through the embodiment of the present invention, FingerprintService acquires L g switch parameters, the L g switch parameters are used to change the switch state of L g log, FingerprintService transmits L g switch parameters to fingerprintd through a binder process, and fingerprintd opens L g log through L g switch parameters, so that L g log can be opened under the condition that L g log is closed, thereby facilitating a user to inquire low-probability system problems from L g log and feed them back to a technician.
In accordance with the above, please refer to fig. 2, which is a flowchart illustrating a data processing method according to a second embodiment of the present invention. The data processing method described in this embodiment includes the following steps:
201. the FingerprintService obtains L og switching parameters, which L og switching parameters are used to change the switching state of the L og log.
202. The FingerprintService passes the L og switch parameter to fingerprintd through the binder process.
203. finger print opens L og log via the L og switch parameter.
The above steps 201 to 203 may refer to corresponding steps of the data processing method described in fig. 1.
204. After the fingerprintd opens the L og log through the L og switch parameter, the fingerprintd closes the L og log.
After the finger print opens L og log through the L og switch parameter, L og log can be closed by the finger print, for example, if the terminal device and the mobile terminal are disconnected, the finger print can automatically close L og log, and for example, if the mobile terminal receives the switch parameter for closing L og log, the L og log is closed.
It can be seen that, through the embodiment of the present invention, FingerprintService acquires L g switch parameters, the L g switch parameters are used for changing the switch state of L g log, FingerprintService transmits L g switch parameters to fingerprintd through a binder process, and fingerprintd opens L g log through L g switch parameters, so that when L g log is closed, L g log can be opened, and L g log can be further closed after data corresponding to low-probability system problems are extracted from L g log, so that a user can conveniently inquire the low-probability system problems from L g log and feed back the low-probability system problems to technical personnel, and can also close L g log.
In accordance with the above, the following is a device for implementing the data processing method, specifically as follows:
please refer to fig. 3, which is a schematic structural diagram of a mobile terminal according to a first embodiment of the present invention. The mobile terminal described in this embodiment includes: the fingerprint service301, fingerprint printd302 and fingerprint unlocking application 303 are as follows:
the FingerprintService301 is configured to obtain L og switching parameters, and the L og switching parameters are configured to change the switching state of L og logs;
the FingerprintService301 is further specifically configured to:
passing the L og switch parameter to the finger print 302 through a binder process;
the finger printd302 is used for opening the L og log through the L og switch parameter.
Optionally, the specific implementation manner that the FingerprintService301 transfers the L og switch parameter to the fingerprinted 302 through the binder process is as follows:
the FingerprintService301 detects whether the binder process called by the fingerprintd302 is blocked or not, and the binder process carries the L og switch parameter;
when the finger printd302 calls the binder process to be stuck, the FingerprintService301 restarts the finger printd302, and the FingerprintService301 transmits the L og switch parameter to the restarted finger printd302 through the binder process.
Optionally, a specific implementation manner that the finger printd302 opens the L og log through the L og switch parameter is as follows:
the finger print 302 puts the L og switch parameters in a shared header file of a fingerprint drive TAC, the TAC reads the L og switch parameters from the shared header file, and opens the L og log according to the L og switch parameters.
Optionally, the fingerprint unlocking application 303 is configured to receive a shell command after a terminal device establishes a connection with the mobile terminal, where a dump service instruction in the shell command is added to the L og switch parameter, and the FingerprintService301 obtains a L og switch parameter.
Optionally, the finger printd302 is further specifically configured to:
after the fingerprintd302 opens the L og log with the L og switch parameter, the L og log is closed.
It can be seen that, with the mobile terminal described in the embodiment of the present invention, FingerprintService obtains L g switch parameters, where L g switch parameters are used to change the switch state of L g log, FingerprintService transfers L g switch parameters to fingerprintd through a binder process, and fingerprintd opens L g log through L g switch parameters, so that under the condition that L g log is closed, L g log can be opened, so that a user can conveniently query low-probability system problems from L g log and feed the low-probability system problems back to a technician.
In accordance with the above, please refer to fig. 4, which is a schematic structural diagram of a mobile terminal according to a second embodiment of the present invention. The mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, e.g., a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 being connected by a bus 5000.
The input device 1000 may be a touch panel, a physical button, or a mouse.
The output device 2000 may be a display screen.
The Fingerprint unlocking Application, Fingerprint Service, and Fingerprint printd may be invoked by a Processor or controller of the mobile terminal, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), other programmable logic devices (programmable Gate Array), transistor logic devices, hardware components, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The memory 4000 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 4000 is used for storing a set of program codes, and the input device 1000, the output device 2000 and the processor 3000 are used for calling the program codes stored in the memory 4000 to execute the following operations:
the fingerprint service is used for acquiring L og switching parameters, and the L og switching parameters are used for changing the switching state of L og logs;
the FingerprintService is further specifically configured to:
passing the L og switch parameter to the finger print through a binder process;
the finger printd is used for opening the L og log through the L og switch parameter.
Optionally, the specific implementation manner that the FingerprintService transmits the L og switch parameter to the fingerprintd through the binder process is as follows:
the FingerprintService detects whether the binder process called by the fingerprintd is blocked or not, and the binder process carries the L og switch parameter;
and when the finger printd calls the binder process to be blocked, the finger printd is restarted by the finger printservice, and the finger printd transmits the L og switch parameter to the restarted finger printd through the binder process by the finger printservice.
Optionally, a specific implementation manner of the finger printd opening the L og log through the L og switch parameter is as follows:
the finger print puts the L og switch parameters in a shared header file of a fingerprint driving TAC, the TAC reads the L og switch parameters from the shared header file, and the L og log is opened by the L og switch parameters.
Optionally, the fingerprint unlocking application is configured to receive a shell command after a terminal device establishes a connection with the mobile terminal, where a dump service instruction in the shell command is added to the L og switch parameter, and execute the FingerprintService to obtain L og switch parameters.
Optionally, the finger printd is further specifically configured to:
closing the L og log after the fingerprintd opens the L og log with the L og switch parameter.
Fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, Wireless Fidelity (Wi-Fi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
the RF circuit 510 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink information of a base station and processing the received downlink information, and for transmitting data designed for uplink to the base station, the RF circuit 510 may include, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (L w noise amplifier, &lttttransmission = L "&ttt/t &gttna), a duplexer, etc. furthermore, the RF circuit 510 may communicate with a network and other devices through wireless communication, which may use any communication standard or protocol, including, but not limited to, a global system for Mobile communication (GSM), a General Packet radio Service (General Packet radio Service, GPRS), a Code Division Multiple Access (Code Division Multiple Access, Wideband CDMA), a Code Division Multiple Access (CDMA), a Short Service Access (SMS Service, L), a long Term Evolution (SMS) message, L, a Service, a Short Service (Service), a WCDMA, a Mobile communication system, a Mobile communication, a wireless.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of a liquid crystal display (L required crystal display, &ttttranslation = L "&tttl &ttt/t &gttcd), an Organic light Emitting Diode (Organic L sight-Emitting Diode, O L ED), and the like, and further, the touch panel 531 may cover the display panel 541, and when a touch operation is detected on or near the touch panel 531, the touch panel 531 may be transferred to the processor 580 to determine the type of touch event, and then the processor 580 may provide a corresponding visual output on the display panel 541 according to the type of touch event.
The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flows of the steps may be implemented based on the structure of the terminal. The sensor 550 may include a proximity sensor and a humidity sensor, and the touch panel 531 may be used as a fingerprint recognition module.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program includes, when executed, some or all of the steps of any one of the data processing methods described in the above method embodiments.
While the invention has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the invention has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the invention. Accordingly, the specification and figures are merely exemplary of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A data processing method is characterized in that the method is applied to a mobile terminal of an android operating system, the mobile terminal comprises a fingerprint service and a fingerprint communication process fingerprint, and the method specifically comprises the following steps:
when a fault is found by self-checking of the mobile terminal and the fault is an unusual low-probability fault, acquiring L og switching parameters by the fingerprint service, wherein the L og switching parameters are used for changing the switching state of a L og log;
the FingerprintService transmits the L og switch parameter to fingerprintd through a binder process;
the finger printd opens the L og log through the L og switch parameter;
after the L og log is opened by the finger print through the L og switch parameter, when the connection between the terminal equipment and the mobile terminal is disconnected, the L og log is closed by the finger print.
2. The method as claimed in claim 1, wherein the FingerprintService passes the L og switch parameter to fingerprintd by a binder process, comprising:
the FingerprintService detects whether the binder process called by the fingerprintd is blocked or not, and the binder process carries the L og switch parameter;
and when the finger printd calls the binder process to be blocked, the finger printd is restarted by the finger printservice, and the finger printd transmits the L og switch parameter to the restarted finger printd through the binder process by the finger printservice.
3. The method of claim 1, wherein the finger printd opens the L og log with the L og switch parameter, comprising:
the finger print puts the L og switch parameters in a shared header file of a fingerprint driving TAC, the TAC reads the L og switch parameters from the shared header file, and the L og log is opened by the L og switch parameters.
4. The method according to any one of claims 1 to 3, further comprising:
after the terminal equipment is connected with the mobile terminal, the fingerprint unlocking application receives a shell command, a dump service instruction in the shell command is added to the L og switch parameters, and the FingerprintService is executed to acquire L og switch parameters.
5. A mobile terminal, wherein the mobile terminal includes a fingerprinting service and a fingerprinting communication process finger print, and is installed with an android operating system, comprising:
the fingerprint service is used for acquiring L og switching parameters when a fault is found by self-detection of the mobile terminal and the fault is an unusual low-probability fault, wherein the L og switching parameters are used for changing the switching state of L og logs;
the FingerprintService is further specifically configured to:
passing the L og switch parameter to the finger print through a binder process;
the finger printd is used for opening the L og log through the L og switch parameter;
the fingerprintd is also specifically used for:
after the L og log is opened by the finger print through the L og switch parameter, when the connection between the terminal equipment and the mobile terminal is disconnected, the L og log is closed by the finger print.
6. The mobile terminal of claim 5, wherein the FingerprintService passes the L og switch parameter to the fingerprintd by a binder process in a specific manner:
the FingerprintService detects whether the finer process called by the fingerprintd is blocked or not, the binder process carries the L og switch parameter, when the finer process called by the fingerprintd is blocked, the FingerprintService restarts the fingerprintd, and the FingerprintService transmits the L og switch parameter to the restarted fingerprintd through the binder process.
7. The mobile terminal of claim 5, wherein the specific way that the finger printd opens the L og log through the L og switch parameter is as follows:
the finger print puts the L og switch parameters in a shared header file of a fingerprint driving TAC, the TAC reads the L og switch parameters from the shared header file, and the L og log is opened by the L og switch parameters.
8. The mobile terminal according to any of claims 5 to 7, wherein the mobile terminal further comprises:
and the fingerprint unlocking application is used for receiving a shell command after a terminal device is connected with the mobile terminal, wherein a dump service instruction in the shell command is added to the L og switch parameters, and the FingerprintService acquires the L og switch parameters.
9. A mobile terminal, comprising:
a processor and a memory; wherein the processor performs the method of any one of claims 1 to 4 by calling code or instructions in the memory.
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 CN107066374A (en) 2017-08-18
CN107066374B true 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)

Families Citing this family (4)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479084A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and device for acquiring 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

Family Cites Families (1)

* 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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479084A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and device for acquiring 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

Also Published As

Publication number Publication date
CN107066374A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
CN105912915B (en) A kind of unlocked by fingerprint method and terminal
CN106203290B (en) A kind of fingerprint image acquisition method and terminal
CN106778175B (en) Interface locking method and device and terminal equipment
CN105912918B (en) A kind of unlocked by fingerprint method and terminal
CN105975833B (en) A kind of unlocked by fingerprint method and terminal
WO2018161743A1 (en) Fingerprint recognition method and related product
CN105912916B (en) A kind of unlocked by fingerprint method and terminal
CN106951850B (en) A kind of method and mobile terminal controlling fingerprint recognition mould group
CN107066374B (en) Data processing method and mobile terminal
CN106022075B (en) A kind of unlocked by fingerprint method and terminal
CN106445596B (en) Method and device for managing setting items
CN107016337B (en) A kind of fingerprint identification method and mobile terminal
US11164022B2 (en) Method for fingerprint enrollment, terminal, and non-transitory computer readable storage medium
CN105912919B (en) A kind of unlocked by fingerprint method and terminal
CN106874725A (en) A kind of unlocked by fingerprint method and mobile terminal
CN111078523B (en) Log acquisition method and device, storage medium and electronic equipment
CN109544172B (en) Display method and terminal equipment
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
CN106022058A (en) Fingerprint unlocking method and terminal
CN107423598B (en) A kind of solution lock control method and mobile terminal
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN112415367A (en) Drive chip abnormality detection method and device, electronic equipment and readable storage medium
CN109639370B (en) Near field communication antenna detection method and device, mobile terminal and storage medium
CN112199246B (en) Terminal test method and device, storage medium and mobile terminal
CN112131901A (en) Method and device for automatically mixing and identifying face and two-dimensional code and intelligent identification equipment

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