CN105915686A - Device detection method and device of mobile terminal - Google Patents

Device detection method and device of mobile terminal Download PDF

Info

Publication number
CN105915686A
CN105915686A CN201610443212.6A CN201610443212A CN105915686A CN 105915686 A CN105915686 A CN 105915686A CN 201610443212 A CN201610443212 A CN 201610443212A CN 105915686 A CN105915686 A CN 105915686A
Authority
CN
China
Prior art keywords
mobile terminal
device information
bootstrap
judge
information
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.)
Pending
Application number
CN201610443212.6A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610443212.6A priority Critical patent/CN105915686A/en
Publication of CN105915686A publication Critical patent/CN105915686A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a device detection method and device of a mobile terminal. According to the method and the device, self detection carried out on a device by the mobile terminal is realized, and the hidden fault danger resulting from the fact that the device of the mobile terminal is replaced by a non-manufacturer original device is avoided. The device detection method of the mobile terminal comprises following steps of loading a boot program when the mobile terminal is started, wherein the initial device information of the mobile terminal is preset in the boot program; obtaining the current device information of the mobile terminal by the boot program; judging whether the obtained current device information is consistent with the initial device information or not; and judging that the device detection result of the mobile terminal is abnormal if the obtained current device information is inconsistent with the initial device information.

Description

The device inspection method of a kind of mobile terminal and device
Technical field
The present invention relates to electronic technology field, particularly relate to device inspection method and the dress of a kind of mobile terminal Put.
Background technology
User, during using mobile terminal, there will be the device of key unavoidably (such as display screen, storage Device, processor etc.) situation about damaging.But user when maintenance it is difficult to ensure that whether the device changed is The original-pack device of producer, rather than mobile terminal may be caused damage by the original-pack device of producer, cause the user Economic loss.
In prior art, the various devices being applied to mobile terminal are probably derived from different vendor, different vendor Same type device there is similar parameter, therefore with the hardware platform of mobile terminal, there is certain compatibility Property, therefore after being replaced by the original-pack device of non-producer, mobile terminal can also run, but may be mobile whole The qualitative problem that there may be of shifting of end, thus cause deadlock, loss of data or the fault such as frequently restart.
Summary of the invention
It is an object of the invention to provide device inspection method and the device of a kind of mobile terminal, mobile whole to realize Hold the oneself's detection to device, it is to avoid changing the original-pack device of non-producer, to make described mobile terminal there is fault hidden Suffer from.
It is an object of the invention to be achieved through the following technical solutions:
The embodiment of the present invention provides the device inspection method of a kind of mobile terminal, including:
When described mobile terminal-opening, bootload program, preset described mobile whole in described bootstrap The initial device information of end;
The current device information of described mobile terminal is obtained by described bootstrap;
Judge that the described current device information obtained is the most consistent with described initial device information, if it is not, judge The units test results abnormity of described mobile terminal.
The embodiment of the present invention has the beneficial effect that: by when described mobile terminal-opening bootload program, Described current device information is collected, believes with preset described initial device information and described current device The comparative result of breath, it is judged that whether the device of described mobile terminal meets the feature of the original-pack device of producer, thus Realize mobile terminal oneself's detection to device, it is to avoid change the original-pack device of non-producer and make described mobile terminal deposit At potential faults.
The embodiment of the present invention also provides for the device testing apparatus of a kind of mobile terminal, including:
Loading unit, for when described mobile terminal-opening, bootload program, in described bootstrap The initial device information of preset described mobile terminal;
Information acquisition unit, is believed for being obtained the current device of described mobile terminal by described bootstrap Breath;
Processing unit, for judging the described current device information that obtains and described initial device information whether one Cause, if it is not, judge the units test results abnormity of described mobile terminal.
The embodiment of the present invention has the beneficial effect that: by when described mobile terminal-opening bootload program, Described current device information is collected, believes with preset described initial device information and described current device The comparative result of breath, it is judged that whether the device of described mobile terminal meets the feature of the original-pack device of producer, thus Realize mobile terminal oneself's detection to device, it is to avoid change the original-pack device of non-producer and make described mobile terminal deposit In hidden danger.
Accompanying drawing explanation
The flow chart of the device inspection method of a kind of mobile terminal that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the device inspection method of the more specific mobile terminal that Fig. 2 provides for the embodiment of the present invention;
The structure chart of the device testing apparatus of a kind of mobile terminal that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with Figure of description, the embodiment of the present invention is realized process to be described in detail.Should be noted that , the most same or similar label represents same or similar element or has same or like merit The element of energy.The embodiment described below with reference to accompanying drawing is exemplary, is only used for explaining the present invention, And be not considered as limiting the invention.
Seeing Fig. 1, the embodiment of the present invention provides the device inspection method of a kind of mobile terminal, including:
101, when mobile terminal-opening, bootload program, in bootstrap at the beginning of preset mobile terminal Beginning device information;
102, the current device information of mobile terminal is obtained by bootstrap;
103, judge that the current device information obtained is the most consistent with initial device information, if it is not, judge to move The units test results abnormity of dynamic terminal.
In the present embodiment, by when described mobile terminal-opening bootload program, to described current device Information is collected, with preset described initial device information and the comparative result of described current device information, Judge whether the device of described mobile terminal meets the feature of the original-pack device of producer, thus realize mobile terminal pair Oneself's detection of device, it is to avoid change the original-pack device of non-producer and make described mobile terminal there is hidden danger.
Simultaneously need to it is considered that, owing to bootstrap exists the probability being tampered, the guiding journey being tampered Sequence can bring potential safety hazard to mobile terminal, bootstrap even can be made to lose efficacy the detection of device, therefore have The necessary detection considering bootstrap carries out safety.Preferably, after step 101 bootload program, Also including bootstrap is authenticated, if authenticating successfully, then running bootstrap;If failed authentication, then Interrupt bootstrap and shut down.
By bootstrap is authenticated, it is ensured that the safety of bootstrap, if bootstrap is tampered Or destroyed, then be out of use follow-up step, reduces potential safety hazard.
In step 103, can sentence the current device information obtained is the most consistent with initial device information Disconnected, on the premise of the authentication success of bootstrap, if it is determined that the current device information obtained and tickler Part information is consistent, then can be determined that the units test result of mobile terminal is normal so that mobile terminal is transported Row operating system.
Certainly, it is judged that before the current device information of acquisition is the most consistent with initial device information, it is also possible to bag Include:
Judge that the current device information running bootstrap acquisition mobile terminal is the most successful, the most then judge The current device information obtained is the most consistent with initial device information;If it is not, then point out the current of user's acquisition Device information and initial device information are inconsistent.
Based on being necessary to allow users to know whether the device of mobile terminal meets the original-pack device feature of producer Considering, it is also possible to after the units test results abnormity judging mobile terminal, prompting user's testing result is abnormal. Such as can list the details that device is abnormal, it is also possible to combine auditory tone cues, do not repeat them here.
Structure based on current mobile terminal, device can include but not limited to display screen, memorizer, mainboard With processor etc..Accordingly, initial device information and current device information at least include type of device, device The production firm of part, device model and the firmware version of device.
In order to be better understood upon the present invention, it is described as follows in conjunction with Fig. 2:
201, start.It should be noted that start herein is only to make mobile terminal power up but and off-duty Operating system.In step 201 can be with bootload program, in order to bootstrap is authenticated.Such as, Clean boot program can be enabled and by clean boot program, bootstrap is authenticated.
202, bootstrap authentication is the most successful, the most then perform 204;If it is not, then perform 203.And Bootstrap authentication is unsuccessful generally means that bootstrap is corruption or tampering with, and may there is safety hidden Suffer from.
203, interrupt bootstrap and shut down.In the case of bootstrap authentication is unsuccessful, it is necessary to right The bootstrap that there is potential safety hazard carries out interrupting and make mobile terminal to shut down.Information or password quilt can be reduced Steal.
204, bootstrap is run.
205, obtain current device information the most successful, the most then perform 207;If it is not, then perform 206. Step 205 can be obtained current device information by bootstrap, certainly permissible when obtaining current device information Selectively obtain one or more or whole device information.In the structure of mobile terminal, device can wrap at present Include but be not limited to display screen, memorizer, mainboard and processor etc..And corresponding initial device information and working as Front device information at least includes type of device, the production firm of device, device model and the firmware version of device Deng.
206, prompting user.When obtaining current device information failure, can be can aobvious at mobile terminal Show the current device information that screen display obtains, and do not obtain successful device.
207, current device information is the most consistent with initial device information, the most then perform 208;If it is not, Then perform 206.Can compare with initial device information after obtaining the success of current device information, and work as When front device information and initial device information are inconsistent, user can be pointed out by step 206, such as, move The current device information of the device that the display screen display of terminal is abnormal and initial device information, the most all right The auditory tone cues user when exception being detected.
208, operating system is run.In the case of said process is the most N/R, mobile terminal can be made just Often run operating system.
It should be noted that consider that the interests of user are set out, even if said process obtains current device information Failed or front device information and initial device information are inconsistent, and the running of mobile terminal of user also should be allowed to grasp Make system, but user's produced problem can be pointed out.I.e. step 206 can also be transported after prompting the user Row operating system.
The present embodiment has the beneficial effect that: by when described mobile terminal-opening bootload program, to institute State current device information to be collected, with preset described initial device information and described current device information Comparative result, it is judged that whether the device of described mobile terminal meets the feature of the original-pack device of producer, thus realizes Mobile terminal oneself's detection to device, it is to avoid changing the original-pack device of non-producer, to make described mobile terminal exist hidden Suffer from.
Seeing Fig. 3, the embodiment of the present invention also provides for the device testing apparatus of a kind of mobile terminal, including:
Loading unit 301, is used for when mobile terminal-opening, bootload program, preset in bootstrap The initial device information of mobile terminal;
Information acquisition unit 302, for obtaining the current device information of mobile terminal by bootstrap;
Processing unit 303, for judging that the described current device information obtained and described initial device information are No unanimously, if it is not, judge the units test results abnormity of described mobile terminal.
Preferably, also include authenticating unit 304, for before bootload program, enable clean boot Module;And,
After bootload program, clean boot module bootstrap is authenticated, if authenticating into Merit, then run bootstrap;If failed authentication, then interrupt bootstrap and shut down.
Preferably, processing unit 303, processing unit, the current device information being additionally operable to judge to obtain is with just When beginning device information is consistent, then judge that the units test result of mobile terminal is normal, and be used for judging to move After the units test results abnormity of terminal, prompting user's testing result is abnormal;
Information acquisition unit 302, is additionally operable to judge that running bootstrap obtains the current device letter of mobile terminal Breath is the most successful, the most then judge that the current device information obtained is the most consistent with initial device information;If No, then prompting user obtains current device information and initial device information are inconsistent.
It should be noted that the above-mentioned each unit shown in Fig. 3 arranges the most in order, diagram is merely to right Unit illustrates.
The embodiment of the present invention has the beneficial effect that: by when described mobile terminal-opening bootload program, Described current device information is collected, believes with preset described initial device information and described current device The comparative result of breath, it is judged that whether the device of described mobile terminal meets the feature of the original-pack device of producer, thus Realize mobile terminal oneself's detection to device, it is to avoid change the original-pack device of non-producer and make described mobile terminal deposit In hidden danger.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the device inspection method of a mobile terminal, it is characterised in that including:
When described mobile terminal-opening, bootload program, preset described mobile whole in described bootstrap The initial device information of end;
The current device information of described mobile terminal is obtained by described bootstrap;
Judge that the described current device information obtained is the most consistent with described initial device information, if it is not, judge The units test results abnormity of described mobile terminal.
2. the method for claim 1, it is characterised in that also include described bootstrap is carried out Authentication, if authenticating successfully, then runs described bootstrap;If failed authentication, then interrupt described bootstrap And shut down.
3. the method for claim 1, it is characterised in that also include judge obtain described currently Device information is consistent with described initial device information, then just judging the units test result of described mobile terminal Often.
4. method as claimed in claim 3, it is characterised in that judge the described current device letter obtained Cease the most consistent with described initial device information before, also include:
Judge that the current device information of the described operation described bootstrap described mobile terminal of acquisition is the most successful, The most then judge that the described current device information obtained is the most consistent with described initial device information;If it is not, Described current device information and described initial device information that then prompting user obtains are inconsistent.
5. the method for claim 1, it is characterised in that the device of the described mobile terminal of described judgement After part testing result is abnormal, also include pointing out user's testing result abnormal.
6. the method for claim 1, it is characterised in that described device at least include display screen, Memorizer, mainboard and processor.
7. the method for claim 1, it is characterised in that described initial device information and described work as Front device information at least includes type of device, the production firm of device, device model and the firmware version of device.
8. the device testing apparatus of a mobile terminal, it is characterised in that including:
Loading unit, for when described mobile terminal-opening, bootload program, in described bootstrap The initial device information of preset described mobile terminal;
Information acquisition unit, is believed for being obtained the current device of described mobile terminal by described bootstrap Breath;
Processing unit, for judging the described current device information that obtains and described initial device information whether one Cause, if it is not, judge the units test results abnormity of described mobile terminal.
9. device as claimed in claim 8, it is characterised in that also include authenticating unit, for institute Stating bootstrap to authenticate, if authenticating successfully, then running described bootstrap;If failed authentication, then in Disconnected described bootstrap is also shut down.
10. device as claimed in claim 8, it is characterised in that described processing unit, is additionally operable to judge When the described current device information of acquisition is consistent with described initial device information, then judge described mobile terminal Units test result is normal, and after the units test results abnormity of the described mobile terminal of described judgement, Prompting user's testing result is abnormal;
Described information acquisition unit, is additionally operable to judge that the described bootstrap of described operation obtains described mobile terminal The whether success of current device information, the most then judge the described current device information that obtains and described initially Device information is the most consistent;If it is not, the described current device information that then prompting user obtains and described tickler Part information is inconsistent.
CN201610443212.6A 2016-06-16 2016-06-16 Device detection method and device of mobile terminal Pending CN105915686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610443212.6A CN105915686A (en) 2016-06-16 2016-06-16 Device detection method and device of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610443212.6A CN105915686A (en) 2016-06-16 2016-06-16 Device detection method and device of mobile terminal

Publications (1)

Publication Number Publication Date
CN105915686A true CN105915686A (en) 2016-08-31

Family

ID=56758108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610443212.6A Pending CN105915686A (en) 2016-06-16 2016-06-16 Device detection method and device of mobile terminal

Country Status (1)

Country Link
CN (1) CN105915686A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657551A (en) * 2016-12-05 2017-05-10 惠州Tcl移动通信有限公司 Method and system for preventing mobile terminal from being unlocked
CN107295142A (en) * 2017-07-25 2017-10-24 北京小米移动软件有限公司 terminal processing method, device and server
CN113595764A (en) * 2021-06-30 2021-11-02 宁波三星医疗电气股份有限公司 Method for detecting abnormal reloading of carrier module on terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129284A1 (en) * 2001-03-12 2002-09-12 Takashi Kobayashi Information processing system having fortified password function and method thereof
CN102761613A (en) * 2012-06-29 2012-10-31 惠州Tcl移动通信有限公司 Mobile terminal and device information obtaining method and system thereof as well as server
CN103729597A (en) * 2014-01-16 2014-04-16 宇龙计算机通信科技(深圳)有限公司 System starting verifying method and device and terminal
CN104820469A (en) * 2015-04-28 2015-08-05 广东欧珀移动通信有限公司 Electronic equipment and enclosure identification method
CN204993517U (en) * 2015-10-13 2016-01-20 孙公 Cell -phone with function is verified to screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129284A1 (en) * 2001-03-12 2002-09-12 Takashi Kobayashi Information processing system having fortified password function and method thereof
CN102761613A (en) * 2012-06-29 2012-10-31 惠州Tcl移动通信有限公司 Mobile terminal and device information obtaining method and system thereof as well as server
CN103729597A (en) * 2014-01-16 2014-04-16 宇龙计算机通信科技(深圳)有限公司 System starting verifying method and device and terminal
CN104820469A (en) * 2015-04-28 2015-08-05 广东欧珀移动通信有限公司 Electronic equipment and enclosure identification method
CN204993517U (en) * 2015-10-13 2016-01-20 孙公 Cell -phone with function is verified to screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657551A (en) * 2016-12-05 2017-05-10 惠州Tcl移动通信有限公司 Method and system for preventing mobile terminal from being unlocked
CN107295142A (en) * 2017-07-25 2017-10-24 北京小米移动软件有限公司 terminal processing method, device and server
CN113595764A (en) * 2021-06-30 2021-11-02 宁波三星医疗电气股份有限公司 Method for detecting abnormal reloading of carrier module on terminal
CN113595764B (en) * 2021-06-30 2024-01-30 宁波三星医疗电气股份有限公司 Method for detecting carrier module replacement abnormality on terminal

Similar Documents

Publication Publication Date Title
US10635809B2 (en) Authenticating application legitimacy
CN106406291B (en) Diagnosis method of automobile faults and device
CN103377094B (en) Method for monitoring abnormality and device
CN103729597B (en) System starts method of calibration, system starts calibration equipment and terminal
CN106484453B (en) Method and device for realizing system upgrading
CN110929264B (en) Vulnerability detection method and device, electronic equipment and readable storage medium
CN102262574A (en) Boot protecting method and device of operating system
CN104751054B (en) The recognition methods of rogue program and device, mobile terminal
CN105915686A (en) Device detection method and device of mobile terminal
CN112054822B (en) Bluetooth test method and device, electronic equipment and storage medium
CN104217137A (en) Method and device for identifying whether intelligent terminal system is changed
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN109815697B (en) Method and device for processing false alarm behavior
CN107168699A (en) application program repairing method and terminal device
CN106789973B (en) Page security detection method and terminal equipment
CN110149625A (en) Phone number verification method and system
CN107179972A (en) For the method for calculation machine, microcontroller, test equipment and test system
CN109918912A (en) A kind of Ile repair method and relevant device for computer virus
CN103309769B (en) Os starting guard method and device
CN105159810B (en) The method and device that the BIOS of computer system is tested
CN112307647A (en) Charging pile communication interruption testing method and device, storage medium and processor
CN103198250A (en) Method for auditing applications of intelligent television
CN108959931B (en) Vulnerability detection method and device, information interaction method and equipment
CN112612721B (en) Method, system, equipment and storage medium for testing terminal fingerprint identification function
CN112650557B (en) Command execution method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160831