CN109151809B - Mobile terminal detection method and mobile terminal - Google Patents

Mobile terminal detection method and mobile terminal Download PDF

Info

Publication number
CN109151809B
CN109151809B CN201810766345.6A CN201810766345A CN109151809B CN 109151809 B CN109151809 B CN 109151809B CN 201810766345 A CN201810766345 A CN 201810766345A CN 109151809 B CN109151809 B CN 109151809B
Authority
CN
China
Prior art keywords
mobile terminal
parameters
factory
prompt information
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810766345.6A
Other languages
Chinese (zh)
Other versions
CN109151809A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810766345.6A priority Critical patent/CN109151809B/en
Publication of CN109151809A publication Critical patent/CN109151809A/en
Application granted granted Critical
Publication of CN109151809B publication Critical patent/CN109151809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a mobile terminal detection method and a mobile terminal, wherein the method comprises the following steps: detecting mobile terminal parameters and a hardware identification code of the mobile terminal; acquiring the factory-leaving parameters of the mobile terminal from a server side according to the hardware identification code; and matching the mobile terminal parameters with the delivery parameters of the mobile terminal, and outputting prompt information according to the matching result. Whether the mobile terminal is a new phone can be judged through the prompt message without the need of judging whether the mobile terminal is the new phone through a professional identification method, so that unnecessary loss to the user is avoided, and the use experience of the user is improved.

Description

Mobile terminal detection method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a mobile terminal detection method and a mobile terminal.
Background
At present, when a mobile terminal is started for the first time, a starting-up guide interface appears on the mobile terminal, a user is guided to set the mobile terminal, relevant mobile terminal characteristics are prompted, and the user confirms that the mobile terminal is in a new machine state and a factory state through the interface.
However, there are some problems in the market today, one being: some mobile terminals have the problem that the users can be sold again after the 'switch-back and problem machines' are restored to leave the factory. The other situation is as follows: some flashing behaviors exist in the market, and after system partitions and system parameters of the mobile terminal are adjusted, counterfeit starting-up guidance is set finally.
In the above situation, the user cannot judge whether the mobile terminal is a new mobile terminal due to re-booting and re-entering the booting guide interface, thereby incurring loss.
Disclosure of Invention
The embodiment of the invention provides a mobile terminal detection method and a mobile terminal, and aims to solve the problem that whether the mobile terminal is a new mobile terminal cannot be judged in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a mobile terminal detection method, where the method includes: detecting mobile terminal parameters and a hardware identification code of the mobile terminal; acquiring the factory-leaving parameters of the mobile terminal from a server side according to the hardware identification code; matching the mobile terminal parameters with the factory parameters of the mobile terminal, and outputting prompt information according to a matching result, wherein the prompt information is used for prompting a user whether the mobile terminal is a new mobile; the mobile terminal parameters comprise at least one of a software version number, a hash value of the disk block and a pre-installed application program list.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the detection module is used for detecting mobile terminal parameters and hardware identification codes of the mobile terminal; the acquisition module is used for acquiring the factory leaving parameters of the mobile terminal from the server side according to the hardware identification code; the output module is used for matching the mobile terminal parameters with the factory parameters of the mobile terminal and outputting prompt information according to a matching result, wherein the prompt information is used for prompting a user whether the mobile terminal is a new mobile; the mobile terminal parameters comprise at least one of a software version number, a hash value of the disk block and a pre-installed application program list.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the mobile terminal detection method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the mobile terminal detection method are implemented.
In the embodiment of the invention, the mobile terminal parameters and the hardware identification code of the mobile terminal are detected, the mobile terminal delivery parameters of the mobile terminal are obtained from the server side according to the hardware identification code, the mobile terminal parameters are matched with the mobile terminal delivery parameters, the prompt information is output according to the matching result, a user does not need to identify whether the mobile terminal is a new machine or not through a professional identification method, and whether the mobile terminal is the new machine or not can be identified through the prompt information, so that unnecessary loss to the user is avoided, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a mobile terminal detection method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a mobile terminal detection method according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a mobile terminal detection method according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a mobile terminal according to a sixth 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.
Example one
Referring to fig. 1, a flowchart illustrating steps of a mobile terminal detection method according to a first embodiment of the present invention is shown.
The mobile terminal detection method provided by the embodiment of the invention comprises the following steps:
step 101: mobile terminal parameters and a hardware identification code of the mobile terminal are detected.
The mobile terminal parameters include, but are not limited to, at least one of: software version number, hash value of disk block, and pre-installed application list.
The hardware identification code refers to a series of serial numbers formed by carrying out a series of encryption and hashing on the hardware serial numbers, and the hardware identification code cannot be tampered.
Step 102: and acquiring the factory parameters of the mobile terminal from the server side according to the hardware identification code.
And acquiring the factory parameters of the mobile terminal consistent with the hardware identification code of the mobile terminal from the server side according to the hardware identification code.
Step 103: and matching the mobile terminal parameters with the factory parameters of the mobile terminal, and outputting prompt information according to the matching result.
The prompt information is used for prompting the user whether the mobile terminal is a new mobile terminal.
And when the mobile terminal parameters are matched with the mobile terminal delivery parameters, the mobile terminal is indicated as a non-new machine, and when the mobile terminal parameters are matched with the mobile terminal delivery parameters, the mobile terminal is indicated as a new machine.
And outputting prompt information according to the matching result, wherein when the parameters of the mobile terminal are matched with the factory parameters of the mobile terminal, the output prompt information can be that the mobile phone is not used, and when the parameters of the mobile terminal are not matched with the factory parameters of the mobile terminal, the output prompt information can be that the mobile phone is used.
In the embodiment of the invention, the mobile terminal parameters and the hardware identification code of the mobile terminal are detected, the mobile terminal delivery parameters of the mobile terminal are obtained from the server side according to the hardware identification code, the mobile terminal parameters are matched with the mobile terminal delivery parameters, the prompt information is output according to the matching result, a user does not need to identify whether the mobile terminal is a new machine or not through a professional identification method, and whether the mobile terminal is the new machine or not can be identified through the prompt information, so that unnecessary loss to the user is avoided, and the use experience of the user is improved.
Example two
Referring to fig. 2, a flowchart illustrating a mobile terminal detection method according to a second embodiment of the present invention is shown.
The mobile terminal detection method provided by the embodiment of the invention comprises the following steps:
when any one of the conditions of accessing the SIM card, downloading the detection application program for the first time and entering a related detection page is detected, outputting a prompt box to prompt a user whether to detect the mobile terminal, and if so, executing the subsequent steps.
Step 201: mobile terminal parameters and a hardware identification code of the mobile terminal are detected.
The mobile terminal parameters include, but are not limited to, at least one of: software version number, hash value of disk block, and pre-installed application list.
The hardware identification code refers to a series of serial numbers formed by carrying out a series of encryption and hashing on the hardware serial numbers, and the hardware identification code cannot be tampered.
Step 202: and acquiring the factory parameters of the mobile terminal from the server side according to the hardware identification code.
Step 203: and matching the software version number with the factory software version number.
And when the mobile terminal parameters of the mobile terminal comprise a software version number and the mobile terminal delivery parameters comprise a delivery software version number, matching the software version number with the delivery software version number, if the software version number is matched with the delivery software version number, indicating that the mobile terminal is a new machine, and if the software version number is not matched with the delivery software version number, indicating that the mobile terminal is a non-new machine.
One preferred way is: when the Mobile terminal parameter of the Mobile terminal includes an International Mobile Equipment Identity (IMEI), and when the Mobile terminal factory parameter is a factory IMEI, matching the IMEI with the factory IMEI, if matching, indicating that the Mobile terminal is a new machine, and if not matching, indicating that the Mobile terminal is a non-new machine.
Step 204: and if so, outputting first prompt information for indicating that the mobile terminal is a new machine.
A person skilled in the art may set the output mode according to an actual situation, may prompt the user that the local computer is a new computer by popping up a prompt box, and may also display prompt information such as "new computer detection is normal" in a display interface by displaying a software version number and a factory version number, which is not limited in this embodiment of the present invention. .
Step 205: and if not, outputting second prompt information for indicating that the mobile terminal is a non-new machine, and displaying a system upgrading interface.
And if the software version number is not matched with the factory version number, displaying the software version number and the factory version number, and displaying prompt information of 'non-new machine detection' on a display interface. And displaying an option button for entering the system upgrading interface or not in the display interface, and when the option clicked by the user is to enter the system upgrading interface, skipping from the current display interface to the system upgrading interface according to the clicking operation of the user. Another mode may be that, when the software version number does not match the factory software version number, the current display interface is directly and automatically jumped to the system upgrading interface, and the user may select whether to upgrade the system.
Through the steps, when the mobile terminal is detected to be a non-new machine, a method for restoring the factory state is provided for the user, and the operation is simple.
When the mobile terminal parameters include the hash value of the disk block, the factory parameters of the mobile terminal include: another preferred mode of the factory hash value of the disk block is as follows: matching the hash value of the disk block with the factory hash value of the disk block; if the mobile terminal is matched with the new mobile terminal, outputting first prompt information indicating that the mobile terminal is a new mobile terminal by the user; and if not, outputting second prompt information indicating that the mobile terminal is a non-new machine by the user, and displaying a system upgrading interface.
And comparing whether the hash values of the disk blocks are matched or not, if so, indicating that the mobile terminal is a new machine, and if not, indicating that the mobile terminal is refreshed, namely, the mobile terminal is a non-new machine.
In the embodiment of the invention, the mobile terminal parameters and the hardware identification code of the mobile terminal are detected, the mobile terminal delivery parameters of the mobile terminal are obtained from the server side according to the hardware identification code, the mobile terminal parameters are matched with the mobile terminal delivery parameters, the prompt information is output according to the matching result, a user does not need to identify whether the mobile terminal is a new machine or not through a professional identification method, and whether the mobile terminal is the new machine or not can be identified through the prompt information, so that unnecessary loss to the user is avoided, and the use experience of the user is improved. In addition, when the mobile terminal is judged to be a non-new mobile terminal, a system upgrading method is provided for a user, and the use of the user is facilitated.
EXAMPLE III
Referring to fig. 3, a flowchart illustrating a mobile terminal detection method according to a third embodiment of the present invention is shown.
The mobile terminal detection method provided by the embodiment of the invention comprises the following steps:
when any one of the conditions of accessing the SIM card, downloading the detection application program for the first time and entering a related detection page is detected, outputting a prompt box to prompt a user whether to detect the mobile terminal, and if so, executing the subsequent steps.
Step 301: mobile terminal parameters and a hardware identification code of the mobile terminal are detected.
Step 302: and acquiring the factory parameters of the mobile terminal from the server side according to the hardware identification code.
Steps 301 and 302 and step 302 are similar to the description of step 201 and step 202 in the second embodiment, and are not repeated here.
Step 303: matching the first pre-installed application program list with the second pre-installed application program list; if so, go to step 304, and if not, go to step 305.
And when the mobile terminal parameters comprise a first pre-installed application program list and the mobile terminal delivery parameters comprise a second pre-installed application program list, wherein the first pre-installed application program list is each application program installed in the mobile terminal when the mobile terminal is used for the first time, the name and the installation time of each application program and the like. The second pre-installed application program list is factory application programs installed in the mobile terminal when the mobile terminal is in factory shipment, and names and installation time of the application programs.
And matching the first pre-installed application program list with the second pre-installed application program list, if the first pre-installed application program list is consistent with the second pre-installed application program list, indicating that the mobile terminal is a new machine, and if the first pre-installed application program list is inconsistent with the second pre-installed application program list, indicating that the mobile terminal is a non-new machine.
Step 304: and if so, outputting first prompt information for indicating that the mobile terminal is a new machine.
Step 305: and if not, outputting second prompt information for indicating that the mobile terminal is a non-new machine, and determining the target application program added or uninstalled by the mobile terminal.
If not, when the second prompt information is output and the prompt is a non-new machine, the first pre-installed application program list and the second pre-installed application program list are determined to be compared, and the target application program added or uninstalled by the first pre-installed application program list is determined according to the second pre-installed application program list. For example: the first pre-installed application list contains A, B, C, while the second pre-installed application list contains only a and B. The added target application is determined to be C.
Step 306: when there is an added target application, the addition time of each added target application is displayed.
Step 307: and when the uninstalled target application program exists, displaying the uninstalling time of each uninstalled target application program.
When the added or uninstalled target application program exists, when the target application program is the added application program, the adding time of the added application program is displayed, and when the target application program is the uninstalled application program, the uninstalling time of the target application program is displayed.
In addition to the first pre-installed application program list and the second pre-installed application program list, the embodiment of the invention can also obtain the total startup times and the factory startup times, the total running time and the factory running time, and display the total startup times and the factory startup times, the total running time and the factory running time in the display interface, and a user can determine whether the information is real or not according to the information, and if not, the mobile terminal is a non-new mobile terminal.
In addition, the mobile terminal parameters may also be a first boot trigger time, a first application installation time, a first USB connection time, a first mobile terminal activation time, and the like, and whether the mobile terminal is a new device is determined according to the parameters.
Step 308: and displaying a factory setting restoration interface.
Step 309: and receiving the selection operation of the user on the factory resetting interface.
The method can automatically jump from the current interface to the factory reset interface, can also display an option of whether the jump value is reset in the factory reset interface for the user to select, and jumps from the current display interface to the factory reset interface when the user selects to jump to the factory reset interface.
When the factory setting restoration interface is automatically jumped to, an option whether factory setting restoration is needed is output for selection of a user, and the condition that factory restoration is mistakenly carried out due to detection errors is avoided.
Step 310: and restoring factory settings of the mobile terminal according to the selection operation.
And when the target application program is the added application program, unloading the target application program when the factory setting is restored, and when the target application program is the unloaded application program, downloading the target application program when the factory setting is restored so as to keep the state consistent with the factory state of the mobile terminal.
In the embodiment of the invention, the mobile terminal parameters and the hardware identification code of the mobile terminal are detected, the mobile terminal delivery parameters of the mobile terminal are obtained from the server side according to the hardware identification code, the mobile terminal parameters are matched with the mobile terminal delivery parameters, the prompt information is output according to the matching result, a user does not need to identify whether the mobile terminal is a new machine or not through a professional identification method, and whether the mobile terminal is the new machine or not can be identified through the prompt information, so that unnecessary loss to the user is avoided, and the use experience of the user is improved. In addition, when the mobile terminal is judged to be a non-new mobile terminal, a method for restoring factory settings is provided for a user, and the use of the user is facilitated.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a detection module 401, configured to detect a mobile terminal parameter and a hardware identifier of the mobile terminal; an obtaining module 402, configured to obtain a factory parameter of the mobile terminal from a server side according to the hardware identifier; an output module 403, configured to match the hardware parameter with the factory hardware parameter, and output a prompt message according to a matching result, where the prompt message is used to prompt a user whether the mobile terminal is a new device.
The detection module detects mobile terminal parameters and a hardware identification code of the mobile terminal, wherein the mobile terminal parameters include but are not limited to at least one of the following: software version number, hash value of disk block, and pre-installed application list. The acquisition module acquires the factory-leaving parameters of the mobile terminal consistent with the hardware identification code of the mobile terminal from the server side according to the hardware identification code. When the mobile terminal parameters are not matched with the factory parameters of the mobile terminal, the output module outputs prompt information that the mobile terminal is a non-new machine, and when the mobile terminal parameters are matched with the factory parameters of the mobile terminal, the output module outputs prompt information that the mobile terminal is a new machine.
In the embodiment of the invention, the mobile terminal parameters and the hardware identification code of the mobile terminal are detected, the mobile terminal factory parameters of the mobile terminal are obtained from the server side according to the hardware identification code, the mobile terminal parameters are matched with the mobile terminal factory parameters, the prompt information is output according to the matching result, a user does not need to identify whether the mobile terminal is a new machine or not through a professional identification method, and whether the mobile terminal is the new machine or not can be identified through the prompt information, so that unnecessary loss to the user is avoided, and the use experience of the user is improved.
EXAMPLE five
Referring to fig. 5, a block diagram of a mobile terminal according to a fifth embodiment of the present invention is shown.
The mobile terminal provided by the embodiment of the invention comprises: a detection module 501, configured to detect a mobile terminal parameter and a hardware identifier of the mobile terminal; an obtaining module 502, configured to obtain a factory parameter of the mobile terminal from a server side according to the hardware identifier; an output module 503, configured to match the mobile terminal parameter with the factory parameter of the mobile terminal, and output a prompt message according to a matching result, where the prompt message is used to prompt a user whether the mobile terminal is a new device.
Preferably, the mobile terminal parameters include a software version number, and the mobile terminal factory parameters include: the output module 503 includes: a first matching sub-module 5031, configured to match the software version number with the factory software version number; a first output sub-module 5032, configured to output, if the matching is detected, first prompt information indicating that the mobile terminal is a new terminal; a second output sub-module 5033, configured to output, if the mobile terminal is not a new mobile terminal, a second prompt message indicating that the mobile terminal is a non-new mobile terminal, and display a system upgrade interface.
Preferably, the mobile terminal parameter includes a hash value of the disk block, and the mobile terminal factory parameter includes: the output module 503 includes: a second matching sub-module 5034, configured to match the hash value of the disk block with the factory hash value of the disk block; a third output sub-module 5035, configured to output, if the matching is detected, first prompt information indicating that the mobile terminal is a new mobile terminal; a fourth output sub-module 5036, configured to output, if the second prompt information indicates that the mobile terminal is a non-new mobile terminal, and display a system upgrade interface.
Preferably, the mobile terminal parameters include a first pre-installed application program list, and the mobile terminal factory parameters include a second pre-installed application program list; the output module 503 includes: a third matching sub-module 5037, configured to match the first pre-installed application list with the second pre-installed application list; a fifth output sub-module 5038, configured to output, if the matching is detected, first prompt information indicating that the mobile terminal is a new terminal; a sixth output sub-module 5039, configured to output, if the current application program is not matched, second prompt information indicating that the mobile terminal is a non-new device, and determine a target application program added or uninstalled by the mobile terminal; a first display sub-module 50310 configured to display, when there is the added target application, an addition time of each of the added target applications; a second display sub-module 50311, configured to display an uninstalling time of each of the uninstalled target applications when there is the uninstalled target application.
Preferably, the mobile terminal further includes: a display module 504, configured to display a factory reset interface after the second display sub-module 50311 displays the uninstalled target application uninstalling time when the uninstalled target application exists; a receiving module 505, configured to receive a selection operation of the factory reset interface by a user; a setting module 506, configured to restore factory settings of the mobile terminal according to the selection operation.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
In the embodiment of the invention, the mobile terminal parameters and the hardware identification code of the mobile terminal are detected, the mobile terminal delivery parameters of the mobile terminal are obtained from the server side according to the hardware identification code, the mobile terminal parameters are matched with the mobile terminal delivery parameters, the prompt information is output according to the matching result, a user does not need to identify whether the mobile terminal is a new machine or not through a professional identification method, and whether the mobile terminal is the new machine or not can be identified through the prompt information, so that unnecessary loss to the user is avoided, and the use experience of the user is improved. In addition, when the mobile terminal is judged to be a non-new mobile terminal, a method for upgrading the system or restoring factory settings is provided for the user, and the use of the user is facilitated.
EXAMPLE six
Referring to fig. 6, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 610 for detecting mobile terminal parameters and a hardware identification code of the mobile terminal; acquiring the factory-leaving parameters of the mobile terminal from a server side according to the hardware identification code; and matching the mobile terminal parameters with the factory parameters of the mobile terminal, and outputting prompt information according to a matching result, wherein the prompt information is used for prompting a user whether the mobile terminal is a new mobile terminal.
In the embodiment of the invention, the mobile terminal parameters and the hardware identification code of the mobile terminal are detected, the mobile terminal delivery parameters of the mobile terminal are obtained from the server side according to the hardware identification code, the mobile terminal parameters are matched with the mobile terminal delivery parameters, the prompt information is output according to the matching result, a user does not need to identify whether the mobile terminal is a new machine or not through a professional identification method, and whether the mobile terminal is the new machine or not can be identified through the prompt information, so that unnecessary loss to the user is avoided, and the use experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 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), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of 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, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 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 609 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 processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 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 the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above-mentioned mobile terminal detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the above-mentioned mobile terminal detection method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A mobile terminal detection method, characterized in that the method comprises:
detecting mobile terminal parameters and a hardware identification code of the mobile terminal;
acquiring the factory-leaving parameters of the mobile terminal from a server side according to the hardware identification code;
matching the mobile terminal parameters with the factory parameters of the mobile terminal, if the parameters are matched, outputting first prompt information for indicating that the mobile terminal is a new machine, if the parameters are not matched, outputting second prompt information for indicating that the mobile terminal is a non-new machine, and displaying a system upgrading interface or restoring a factory setting interface according to the parameters of the mobile terminal and the factory parameters of the mobile terminal;
the mobile terminal parameters comprise at least one of a software version number, a hash value of the disk block and a pre-installed application program list.
2. The method of claim 1, wherein the mobile terminal parameters include a software version number, and wherein the mobile terminal factory parameters include: the step of matching the mobile terminal parameters with the factory-leaving parameters of the mobile terminal and outputting prompt information according to the matching result comprises the following steps:
matching the software version number with the factory software version number;
if the mobile terminal is matched with the new mobile terminal, outputting first prompt information for indicating that the mobile terminal is a new mobile terminal;
and if not, outputting second prompt information for indicating that the mobile terminal is a non-new machine, and displaying a system upgrading interface.
3. The method of claim 1, wherein the mobile terminal parameter comprises a hash value of a disk block, and wherein the mobile terminal factory parameter comprises: the step of matching the mobile terminal parameters with the factory-leaving parameters of the mobile terminal and outputting prompt information according to the matching result comprises the following steps:
matching the hash value of the disk block with the factory hash value of the disk block;
if the mobile terminal is matched with the new mobile terminal, outputting first prompt information indicating that the mobile terminal is a new mobile terminal by a user;
and if not, outputting second prompt information indicating that the mobile terminal is a non-new machine by the user, and displaying a system upgrading interface.
4. The method of claim 1, wherein the mobile terminal parameters comprise a first pre-installed application list, and wherein the mobile terminal factory parameters comprise a second pre-installed application list; the step of matching the mobile terminal parameters with the factory parameters of the mobile terminal and outputting prompt information according to the matching result comprises the following steps:
matching the first pre-installed application program list with the second pre-installed application program list;
if the mobile terminal is matched with the new mobile terminal, outputting first prompt information for indicating that the mobile terminal is a new mobile terminal;
if not, outputting second prompt information for indicating that the mobile terminal is a non-new machine, and determining a target application program added or uninstalled by the mobile terminal;
when the added target application program exists, displaying the adding time of each added target application program;
and when the uninstalled target application program exists, displaying the uninstalling time of each uninstalled target application program.
5. The method of claim 4, wherein after the step of displaying an uninstall time of the uninstalled target application when the uninstalled target application exists, the method further comprises:
displaying a factory setting restoration interface;
receiving the selection operation of the user on the factory resetting interface;
and restoring factory settings of the mobile terminal according to the selection operation.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the detection module is used for detecting mobile terminal parameters and hardware identification codes of the mobile terminal;
the acquisition module is used for acquiring the factory leaving parameters of the mobile terminal from the server side according to the hardware identification code;
the output module is used for matching the mobile terminal parameters with the factory parameters of the mobile terminal, outputting first prompt information for indicating that the mobile terminal is a new machine if the mobile terminal parameters are matched with the factory parameters of the mobile terminal, outputting second prompt information for indicating that the mobile terminal is a non-new machine if the mobile terminal parameters are not matched with the factory parameters of the mobile terminal, and displaying a system upgrading interface or restoring a factory setting interface according to the mobile terminal parameters and the factory parameters of the mobile terminal;
the mobile terminal parameters comprise at least one of a software version number, a hash value of the disk block and a pre-installed application program list.
7. The mobile terminal of claim 6, wherein the mobile terminal parameters include a software version number, and wherein the mobile terminal factory parameters include: the software version number of leaving factory, the said output module includes:
the first matching sub-module is used for matching the software version number with the factory software version number;
the first output submodule is used for outputting first prompt information for indicating that the mobile terminal is a new mobile terminal if the mobile terminal is matched with the mobile terminal;
and the second output submodule is used for outputting second prompt information for indicating that the mobile terminal is a non-new machine if the mobile terminal is not matched with the mobile terminal, and displaying a system upgrading interface.
8. The mobile terminal of claim 6, wherein the mobile terminal parameter comprises a hash value of a disk block, and wherein the mobile terminal factory parameter comprises: the factory hash value of the disk block, the output module includes:
the second matching submodule is used for matching the hash value of the disk block with the factory hash value of the disk block;
the third output submodule is used for outputting first prompt information indicating that the mobile terminal is a new mobile terminal by a user if the mobile terminal is matched with the new mobile terminal;
and the fourth output submodule is used for outputting second prompt information indicating that the mobile terminal is a non-new machine by the user and displaying a system upgrading interface if the mobile terminal is not matched with the new machine.
9. The mobile terminal of claim 6, wherein the mobile terminal parameters comprise a first pre-installed application list, and wherein the mobile terminal factory parameters comprise a second pre-installed application list; the output module includes:
the third matching submodule is used for matching the first pre-installed application program list with the second pre-installed application program list;
the fifth output submodule is used for outputting first prompt information for indicating that the mobile terminal is a new mobile terminal if the mobile terminal is matched with the mobile terminal;
a sixth output submodule, configured to output second prompt information indicating that the mobile terminal is a non-new device if the mobile terminal is not matched with the target application, and determine a target application added or uninstalled by the mobile terminal;
a first display sub-module, configured to display, when there is the added target application program, an addition time of each added target application program;
and the second display submodule is used for displaying the uninstalling time of each uninstalled target application program when the uninstalled target application program exists.
10. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
the display module is used for displaying a factory resetting interface after the uninstalling time of the uninstalled target application program is displayed when the uninstalled target application program exists in the second display sub-module;
the receiving module is used for receiving the selection operation of the user on the factory resetting interface;
and the setting module is used for restoring factory settings of the mobile terminal according to the selection operation.
11. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the mobile terminal detection method according to any one of claims 1 to 5.
CN201810766345.6A 2018-07-12 2018-07-12 Mobile terminal detection method and mobile terminal Active CN109151809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810766345.6A CN109151809B (en) 2018-07-12 2018-07-12 Mobile terminal detection method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810766345.6A CN109151809B (en) 2018-07-12 2018-07-12 Mobile terminal detection method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109151809A CN109151809A (en) 2019-01-04
CN109151809B true CN109151809B (en) 2021-12-03

Family

ID=64800437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810766345.6A Active CN109151809B (en) 2018-07-12 2018-07-12 Mobile terminal detection method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109151809B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552951B (en) * 2020-04-30 2024-02-13 北京达佳互联信息技术有限公司 Method and server for identifying electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101657036A (en) * 2008-08-20 2010-02-24 中国移动通信集团公司 Method for updating correspondence of terminal identification and user identification, equipment and system thereof
CN102902926A (en) * 2012-10-11 2013-01-30 长春理工大学 Website file anti-tampering method based on distributed file synchronization technology
CN103377058A (en) * 2012-04-23 2013-10-30 华为终端有限公司 Method and device for conducting factory reset for terminal device
CN105528229A (en) * 2015-12-16 2016-04-27 广东欧珀移动通信有限公司 Method and device for improving first starting speed of mobile terminal
CN105700895A (en) * 2016-03-16 2016-06-22 腾讯科技(深圳)有限公司 Adaptation method for terminal system, terminal and system server
CN105912937A (en) * 2016-04-28 2016-08-31 宇龙计算机通信科技(深圳)有限公司 Root detection processing method and device, and terminal
CN106126377A (en) * 2016-07-04 2016-11-16 广东欧珀移动通信有限公司 The method and device of system start-up
CN106201787A (en) * 2016-07-25 2016-12-07 乐视控股(北京)有限公司 Terminal control method and device
CN107346392A (en) * 2017-06-27 2017-11-14 努比亚技术有限公司 Terminal system change recognition methods, device and readable storage medium storing program for executing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101657036A (en) * 2008-08-20 2010-02-24 中国移动通信集团公司 Method for updating correspondence of terminal identification and user identification, equipment and system thereof
CN103377058A (en) * 2012-04-23 2013-10-30 华为终端有限公司 Method and device for conducting factory reset for terminal device
CN102902926A (en) * 2012-10-11 2013-01-30 长春理工大学 Website file anti-tampering method based on distributed file synchronization technology
CN105528229A (en) * 2015-12-16 2016-04-27 广东欧珀移动通信有限公司 Method and device for improving first starting speed of mobile terminal
CN105700895A (en) * 2016-03-16 2016-06-22 腾讯科技(深圳)有限公司 Adaptation method for terminal system, terminal and system server
CN105912937A (en) * 2016-04-28 2016-08-31 宇龙计算机通信科技(深圳)有限公司 Root detection processing method and device, and terminal
CN106126377A (en) * 2016-07-04 2016-11-16 广东欧珀移动通信有限公司 The method and device of system start-up
CN106201787A (en) * 2016-07-25 2016-12-07 乐视控股(北京)有限公司 Terminal control method and device
CN107346392A (en) * 2017-06-27 2017-11-14 努比亚技术有限公司 Terminal system change recognition methods, device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN109151809A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN108845853B (en) Application program starting method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN109521684B (en) Household equipment control method and terminal equipment
CN107967153B (en) Application program management method and mobile terminal
CN109885323B (en) Application program upgrading method, mobile terminal and readable storage medium
CN110096203B (en) Screenshot method and mobile terminal
CN108009031B (en) Application program control method and mobile terminal
CN107835495B (en) Message prompting method and device and mobile terminal
CN110825474B (en) Interface display method and device and electronic equipment
CN109284146B (en) Light application starting method and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal
CN111427644B (en) Target behavior identification method and electronic equipment
CN110929238B (en) Information processing method and device
CN109857673B (en) Control identification method and device
CN109151809B (en) Mobile terminal detection method and mobile terminal
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN107979688B (en) application program management method and mobile terminal
CN111026454A (en) Function starting method and terminal equipment
CN111130995A (en) Image control method, electronic device, and storage medium
CN111078312A (en) MBN loading method and electronic equipment
CN109783379B (en) Script execution exception determining method and device
CN111381753B (en) Multimedia file playing method and electronic equipment
CN110266885B (en) Binding method of terminal and terminal

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
GR01 Patent grant
GR01 Patent grant