CN106095627B - A kind of detection method and mobile terminal of functional module group - Google Patents

A kind of detection method and mobile terminal of functional module group Download PDF

Info

Publication number
CN106095627B
CN106095627B CN201610374679.XA CN201610374679A CN106095627B CN 106095627 B CN106095627 B CN 106095627B CN 201610374679 A CN201610374679 A CN 201610374679A CN 106095627 B CN106095627 B CN 106095627B
Authority
CN
China
Prior art keywords
functional module
module group
mobile terminal
voltage
dovdd
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
CN201610374679.XA
Other languages
Chinese (zh)
Other versions
CN106095627A (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 CN201610374679.XA priority Critical patent/CN106095627B/en
Publication of CN106095627A publication Critical patent/CN106095627A/en
Application granted granted Critical
Publication of CN106095627B publication Critical patent/CN106095627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides the detection method and mobile terminal of a kind of functional module group, is related to the communications field, the damage functional module group caused by solving the problems, such as the judgement inaccuracy due to the functional module group that mobile terminal is arranged and accidentally powering on to functional module group.The detection method of functional module group of the present invention includes: that interface power supply DOVDD power supply after detecting mobile terminal-opening, in Xiang Suoshu mobile terminal applies DOVDD voltage;The state of the ID identification pin of the main control chip of the mobile terminal is obtained, wherein the state of the ID identification pin is different when different mould groups are arranged in the terminal after applying the DOVDD voltage;The state that pin is identified according to the ID, determines the information for the functional module group being arranged in the mobile terminal.Present invention is mainly used in mobile terminal.

Description

A kind of detection method and mobile terminal of functional module group
Technical field
The present embodiments relate to the communications fields, and more particularly, to the detection method and shifting of a kind of functional module group Dynamic terminal.
Background technique
In practical applications, for cost, the supply of material, performance etc. the considerations of, often requires that a mobile terminal can The functional module group for being able to achieve same function of two or more compatible models.Wherein, which can be rear camera Mould group, fingerprint recognition mould group, LCD (Liquid Crystal Display, liquid crystal display) display module, CTW (touch screen) mould Group etc..
By taking postposition camera module as an example, it is assumed that the functional module group of two kinds of signals is respectively functional module group 1 and functional module group 2.To distinguish two functional module groups, increase ID (Identification, a body in the main control chip of existing mobile terminal Part) identification pin.Wherein, the identification pin of functional module group 1 is set as NC (hanging), and the identification pin of functional module group 2 is set as Ground connection.
When main control chip detects that its ID identification pin is NC, can determine whether to be provided with functional module group 1 in mobile terminal.But Though being to work as to be not provided with any functional module group or be provided with functional module group 2 but the ID of functional module group 2 identification foot poor contact When, the state for the ID identification pin that main control chip detects is also NC.Main control chip will be mistaken for being provided with function mould at this time It organizes 1 and is powered on to functional module group 1.In this case, it will lead to the power-on error to functional module group, and cause to function mould The damage of group.
Summary of the invention
The embodiment of the present invention provides the detection method and mobile terminal of a kind of functional module group, to solve due to mobile terminal The problem of judging inaccuracy and accidentally power on caused damage functional module group to functional module group of the functional module group of setting.
In a first aspect, providing a kind of detection method of functional module group, the method is applied to mobile terminal, the method Include:
After detecting mobile terminal-opening, the interface power supply DOVDD power supply in Xiang Suoshu mobile terminal applies DOVDD electricity Pressure;
The state for obtaining the ID identification pin of the main control chip of the mobile terminal, wherein applying the DOVDD voltage Afterwards, when different mould groups are arranged in the terminal, the state of the ID identification pin is different;
The state that pin is identified according to the ID, determines the information for the functional module group being arranged in the mobile terminal.
Second aspect provides a kind of mobile terminal, comprising:
Power Management Unit, for interface power supply after detecting mobile terminal-opening, in Xiang Suoshu mobile terminal DOVDD power supply applies DOVDD voltage;
State acquiring unit, the state of the ID identification pin of the main control chip for obtaining the mobile terminal, wherein After applying the DOVDD voltage, when different mould groups are arranged in the terminal, the state of the ID identification pin is different;
Mould group determination unit determines the function being arranged in the mobile terminal for identifying the state of pin according to the ID The information of energy mould group.
In this way, in the embodiment of the present invention, due to after applying the DOVDD voltage, when setting is different in the terminal Mould group when mobile terminal ID identification pin state it is different, therefore, the state of pin can be identified according to the ID of main control chip Accurately judge which functional module group is provided in mobile terminal.Thus, it is avoided using the scheme of the embodiment of the present invention existing There is the damage caused by accidentally powering on due to the judgement inaccuracy for the functional module group that mobile terminal is arranged to functional module group in technology The problem of bad functional module group.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without any creative labor, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the flow chart of the detection method of the functional module group of first embodiment of the invention;
Fig. 2 is the flow chart of the detection method of the functional module group of second embodiment of the invention;
Fig. 3 is one of schematic diagram of mobile terminal of third embodiment of the invention;
Fig. 4 is the two of the schematic diagram of the mobile terminal of third embodiment of the invention;
Fig. 5 is the three of the schematic diagram of the mobile terminal of third embodiment of the invention;
Fig. 6 is the schematic diagram of the mobile terminal of fourth embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
First embodiment
As shown in Figure 1, the detection method of the functional module group of first embodiment of the invention, method is applied to mobile terminal, packet It includes:
Step 11, DOVDD power supply application DOVDD voltage after detecting mobile terminal-opening, into mobile terminal.
In a particular application, for cost, the supply of material, performance etc. the considerations of, often requires that a mobile terminal can The functional module group for being able to achieve same function of two or more compatible models.Wherein, which can be rear camera Mould group, fingerprint recognition mould group, LCD display module, CTW mould group etc..But as which kind of model be provided in the terminal Functional module group, before functional module group powers on, mobile terminal itself can not be known.Therefore, mobile terminal is firstly the need of right The functional module group being provided with is identified.
Under normal conditions, due to the interface voltage that DOVDD (interface power supply) voltage is functional module group, work as and detect shifting It needs first to provide DOVDD voltage for each functional module group after dynamic terminal booting, namely needs first to the DOVDD power supply in mobile terminal It powers on.
Therefore, in embodiments of the present invention, following setting can be done to be placed to the functional module group in mobile terminal first. Specifically, being set as the ID identification pin of the first functional module group to be separately connected DOVDD (interface power supply) power supply and mobile terminal Main control chip ID identify pin, the second functional module group ID identification pin be set as be grounded and connect mobile terminal master control The ID of chip identifies pin.In embodiments of the present invention, it in order to guarantee the communication between CPU and two functional module group, needs to ask DOVDD voltage required for first functional module group and the second functional module group is equal.Therefore, this requires the designers of mobile terminal Member accounts for this in selection function mould group.
It is provided with central processing unit (CPU, Central Processing Unit) and PMU (power supply pipe in the terminal Manage chip).Wherein, CPU is responsible for detecting the state of its ID identification pin, then identifies that the state of pin determines according to the ID of acquisition The functional module group of which kind of model is provided in mobile terminal.PMU is responsible for output multi-channel voltage, meets the voltage of different function mould group Demand.By taking postposition camera module as an example, it needs to provide the voltage of three kinds of forms: DOVDD (interface power supply) voltage, AVDD (simulation power supply) voltage, DVDD (digital power system) voltage.Wherein, the size of three kinds of voltages required for each functional module group is recorded In the functional description of each functional module group.
After mobile terminal-opening, if user needs the function of providing using some functional module group, user can be to its function It can be carried out triggering.For example, if user needs using rear camera, user may be selected to beat still by taking rear camera as an example Open camera.Before user selects to open rear camera, mobile terminal is not to the postposition camera shooting being arranged in mobile terminal Head functional module group powers on.
Due to the first functional module group ID identification pin and the second functional module group ID identification pin carried out it is above-mentioned Therefore setting in embodiments of the present invention, applies DOVDD voltage first with DOVDD power supply of the PMU piece into mobile terminal. When user selects to open rear camera, the DOVDD power supply first given in mobile terminal using PMU applies DOVDD voltage.Wherein, The size of the DOVDD voltage of application is the size of DOVDD voltage required for the first functional module group and the second functional module group.
Step 12, obtain mobile terminal main control chip ID identification pin state.
Wherein, since the connection type of different function mould group is different, after applying DOVDD voltage, when mobile whole ID identifies that the state of pin is different when different mould groups being arranged in end.
Step 13, the state that pin is identified according to ID, determine the information for the functional module group being arranged in mobile terminal.
Specifically, in this step, when the ID of main control chip identification pin is high level, determining in mobile terminal and being arranged There is the first functional module group;When the ID of main control chip identification pin is low level, determines and be provided with the second function in mobile terminal Mould group.
From the above, it can be seen that due to after applying DOVDD voltage, it is mobile when different mould groups are arranged in the terminal The state of the ID identification pin of terminal is different, therefore, can identify that the state of pin is accurately judged according to the ID of main control chip Which functional module group is provided in mobile terminal.Thus, using the scheme of the embodiment of the present invention avoid in the prior art due to Caused damage functional module group accidentally powers on functional module group to the judging inaccuracy of functional module group that mobile terminal is arranged Problem.
Second embodiment
In the embodiment of the present invention two, it is described so that functional module group is rear camera functional module group as an example.Other classes The functional module group of type detects identical with the principle of rear camera functional module group with the principle of power up.
As shown in Fig. 2, the detection method of the functional module group of second embodiment of the invention, method is applied to mobile terminal, packet It includes:
Step 21, to the first rear camera functional module group and the second rear camera function to be placed to mobile terminal The ID identification pin of mould group is configured.
Wherein, the ID identification pin of the first rear camera functional module group is separately connected the DOVDD power supply in mobile terminal Identify that pin, the ID identification pin of the second rear camera functional module group are set as being grounded with the ID of the main control chip of mobile terminal Pin is identified with the ID of the main control chip of connection mobile terminal.
Assuming that three kinds of voltage swings required for the first rear camera functional module group are as follows: DOVDD:1.8V;AVDD: 2.8V;DVDD:1.0V.Three kinds of voltage swings required for second rear camera functional module group are as follows: DOVDD:1.8V; AVDD:2.8V;DVDD:1.2V.
Step 22, setting are to the power supply order of rear camera functional module group.
In embodiments of the present invention, it is arranged to the first functional module group and the second functional module group provide DOVDD voltage, simulation supplies The sequence of piezoelectric voltage AVDD, digital power system voltage DVDD.The wherein highest priority of DOVDD voltage, and simulate supply voltage AVDD, digital power system voltage DVDD power supply order in embodiments of the present invention without limitation.But under normal conditions, for rear Set for camera function mould group, after having provided it DOVDD voltage, be first provide it AVDD voltage, then to its DVDD voltage is provided.
Step 23, when user triggers camera function, utilize DOVDD power supply of the PMU into mobile terminal to apply DOVDD Voltage.
Wherein, the size of the DOVDD voltage of application is 1.8V.
Step 24, the ID for obtaining main control chip identify the state of pin, and the shape of pin is identified according to the ID of main control chip State determines the functional module group being arranged in mobile terminal.
When the ID of main control chip identification pin is high level, determines and be provided with the first rear camera function in mobile terminal Energy mould group, executes step 25-26;When the ID of main control chip identification pin is low level, determines and be provided with the in mobile terminal Two rear camera functional module groups execute step 27-28;When ID identification pin is non-high level and non-low level, step is executed Rapid 29.
For example, it is assumed that the value of high level is 5V, low level value is 0V, then, when the value of ID identification pin is not 5V And not when being 0V, step 29 is executed.
Step 25, the first the simulation supply voltage, the first digital power system voltage for obtaining the first rear camera functional module group.
Step 26 provides the first simulation power supply to the first rear camera functional module group according to pre-set power supply order Voltage, the first digital power system voltage.
In this step, it is first provided to the first rear camera functional module group using the power management chip of mobile terminal First simulates supply voltage, again to the first rear camera functional module group the first digital power system voltage of offer.Or it is also available The power management chip of mobile terminal first provides the first digital power system voltage, again to first to the first rear camera functional module group Rear camera functional module group provides the first simulation supply voltage.
Specifically, powering on 1.0V using DVDD of the PMU to the first rear camera function mould, AVDD powers on 2.8V, and And run the initialization program of the first rear camera functional module group.
Step 27, the second the simulation supply voltage, the second digital power system voltage for obtaining the second rear camera functional module group.
Step 28 provides the second simulation power supply to the second rear camera functional module group according to pre-set power supply order Voltage, the second digital power system voltage.
In this step, it is first provided to the second rear camera functional module group using the power management chip of mobile terminal Second simulates supply voltage, again to the second rear camera functional module group the second digital power system voltage of offer.Or it is also available The power management chip of mobile terminal first provides the second digital power system voltage, again to second to the second rear camera functional module group Rear camera functional module group provides the second simulation supply voltage.
Specifically, powering on 1.2V to the DVDD to the second rear camera functional module group using PMU, AVDD is powered on 2.8V, and run the initialization program of the second rear camera functional module group.
Step 29 prompts the user with functional module group exception.
From the above, it can be seen that due to after applying DOVDD voltage, it is mobile when different mould groups are arranged in the terminal The state of the ID identification pin of terminal is different, therefore, can identify that the state of pin is accurately judged according to the ID of main control chip Which functional module group is provided in mobile terminal.Thus, using the scheme of the embodiment of the present invention avoid in the prior art due to Caused damage functional module group accidentally powers on functional module group to the judging inaccuracy of functional module group that mobile terminal is arranged Problem.
3rd embodiment
As shown in figure 3, the mobile terminal of third embodiment of the invention, comprising:
Power Management Unit 31, for interface power supply DOVDD after detecting mobile terminal-opening, into mobile terminal Power supply applies DOVDD voltage;State acquiring unit 32, the shape of the ID identification pin of the main control chip for obtaining mobile terminal State, wherein ID identifies that the state of pin is different when different mould groups are arranged in the terminal after applying DOVDD voltage; Mould group determination unit 33 determines the information for the functional module group being arranged in mobile terminal for identifying the state of pin according to ID.
Specifically, mould group determination unit 33 includes: that the first mould group determines subelement, draw for the ID identification when main control chip It when foot is high level, determines and is provided with the first functional module group in mobile terminal, the ID identification pin of the first functional module group connects respectively Connect the DOVDD power supply and ID identification pin in mobile terminal;Second mould group determines subelement, identifies for the ID when main control chip When pin is low level, determines and be provided with the second functional module group in mobile terminal, the ID identification pin difference of the second functional module group Ground connection and connection ID identify pin.
In order to complete the power supply to each functional module group, as shown in figure 4, information acquisition unit 34, sets in advance for obtaining That sets provides DOVDD voltage, simulation supply voltage AVDD, digital power system electricity to the first functional module group or the second functional module group respectively Press the sequence of DVDD.At this point, Power Management Unit 31 is also used to: according to the sequence of acquisition, providing first to the first functional module group Corresponding first AVDD and the first DVDD of functional module group;Alternatively, Power Management Unit 31 is also used to, according to the sequence of acquisition, to Second functional module group provides the second functional module group corresponding 2nd AVDD and the 2nd DVDD.
As shown in figure 5, the mobile terminal of third embodiment of the invention further include: prompt unit 35, for working as main control chip ID identification pin be non-high level and non-low level when, prompt the user with functional module group exception;Third level is different from high electricity It puts down also different from low level.In embodiments of the present invention, third level is different from high level and low level level.For example, Assuming that the value of high level be 5V, it is low level value be 0V, then, the third level can value be in addition to 5V and 0V value.
The mobile terminal of third embodiment of the invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
From the above, it can be seen that due to after applying DOVDD voltage, it is mobile when different mould groups are arranged in the terminal The state of the ID identification pin of terminal is different, therefore, can identify that the state of pin is accurately judged according to the ID of main control chip Which functional module group is provided in mobile terminal.Thus, using the scheme of the embodiment of the present invention avoid in the prior art due to Caused damage functional module group accidentally powers on functional module group to the judging inaccuracy of functional module group that mobile terminal is arranged Problem.
Fourth embodiment
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in fig. 6 includes: at least One processor 701, memory 702, at least one network interface 704 and other users interface 703.In mobile terminal 700 Various components are coupled by bus system 705.It is understood that bus system 705 is for realizing the company between these components Connect letter.Bus system 705 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But It is that various buses are all designated as bus system 705 in Fig. 6 for the sake of clear explanation.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 702 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701 are used for:
After detecting mobile terminal-opening, the interface power supply DOVDD power supply into mobile terminal applies DOVDD voltage;
The state for obtaining the ID identification pin of the main control chip of mobile terminal, wherein after applying DOVDD voltage, when moving The state of ID identification pin is different when different mould groups are arranged in dynamic terminal;
The state that pin is identified according to ID, determines the information for the functional module group being arranged in mobile terminal.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 702, processor 701 reads the information in memory 702, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, state acquiring unit be may be implemented in one or more specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place It manages in device, controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, the skill of this paper can be realized by executing the module (such as process, function etc.) of this paper function Art.Software code is storable in memory and is executed by processor.Memory can in the processor or outside the processor It realizes in portion.
Optionally, processor 701 is also used to: when the ID of main control chip identification pin is high level, determining mobile terminal In be provided with the first functional module group, the ID identification pin of the first functional module group be separately connected DOVDD power supply in mobile terminal and ID identifies pin;
When the ID of main control chip identification pin is low level, determines and be provided with the second functional module group in mobile terminal, the The ID identification pin of two functional module groups is grounded respectively and connection ID identifies pin.
Optionally, processor 701 is also used to: when the ID of main control chip identification pin is third level, being prompted the user with Functional module group is abnormal;Third level had both been different from high level also different from low level.
Optionally, processor 701 is also used to: acquisition is pre-set to be provided to the first functional module group or the second functional module group The sequence of DOVDD voltage, simulation supply voltage AVDD, digital power system voltage DVDD.
Optionally, processor 701 is also used to: according to the sequence of acquisition, providing the first functional module group to the first functional module group Corresponding first AVDD and the first DVDD;
According to the sequence of acquisition, provide the second functional module group corresponding 2nd AVDD and second to the second functional module group DVDD。
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
From the above, it can be seen that due to after applying DOVDD voltage, it is mobile when different mould groups are arranged in the terminal The state of the ID identification pin of terminal is different, therefore, can identify that the state of pin is accurately judged according to the ID of main control chip Which functional module group is provided in mobile terminal.Thus, using the scheme of the embodiment of the present invention avoid in the prior art due to Caused damage functional module group accidentally powers on functional module group to the judging inaccuracy of functional module group that mobile terminal is arranged Problem.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit, only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can integrate in a state acquiring unit, It can be each unit to physically exist alone, can also be integrated in one unit with two or more units.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store In a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing Having the part for the part or the technical solution that technology contributes can be embodied in the form of software products, the computer Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter Calculation machine, server or network equipment etc.) execute all or part of the steps of each embodiment method of the present invention.And it is above-mentioned Storage medium includes: the various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (6)

1. a kind of detection method of functional module group is applied to mobile terminal characterized by comprising
After detecting mobile terminal-opening, the interface power supply DOVDD power supply in Xiang Suoshu mobile terminal applies DOVDD voltage;
The state of the ID identification pin of the main control chip of the mobile terminal is obtained, wherein after applying the DOVDD voltage, when The state that ID identification pin when different mould groups is arranged in the terminal is different;
The state that pin is identified according to the ID, determines the information for the functional module group being arranged in the mobile terminal;
The state that pin is identified according to the ID, determines the information for the functional module group being arranged in the mobile terminal, also wraps It includes:
When the ID of main control chip identification pin is non-high level and non-low level, functional module group exception is prompted the user with;
In the state for identifying pin according to the ID, the step of the information for the functional module group being arranged in the mobile terminal is determined After rapid, the method also includes:
When determine be provided with the first functional module group in the mobile terminal when, obtain it is pre-set to first functional module group The sequence of DOVDD voltage, simulation supply voltage AVDD, digital power system voltage DVDD is provided;
When determine be provided with the second functional module group in the mobile terminal when, obtain it is pre-set to second functional module group The sequence of DOVDD voltage, AVDD voltage, DVDD voltage is provided.
2. the method according to claim 1, wherein the state for identifying pin according to the ID, determines institute State the information for the functional module group being arranged in mobile terminal, comprising:
When the ID of main control chip identification pin is high level, determines and be provided with the first function mould in the mobile terminal Group, the ID identification pin of first functional module group are separately connected DOVDD power supply and ID identification in the mobile terminal Pin;
When the ID of main control chip identification pin is low level, determines and be provided with the second function mould in the mobile terminal The ID identification pin of group, second functional module group is grounded and connects respectively the ID identification pin.
3. the method according to claim 1, wherein
When determine be provided with the first functional module group in the mobile terminal when, the method also includes:
The sequence of DOVDD voltage, AVDD voltage, DVDD voltage, Xiang Suoshu are provided to first functional module group according to acquisition First functional module group provides first functional module group corresponding first AVDD and the first DVDD;
When determine be provided with the second functional module group in the mobile terminal when, the method also includes:
The sequence of DOVDD voltage, AVDD voltage, DVDD voltage, Xiang Suoshu are provided to second functional module group according to acquisition Second functional module group provides second functional module group corresponding 2nd AVDD and the 2nd DVDD.
4. a kind of mobile terminal characterized by comprising
Power Management Unit, for interface power supply DOVDD electricity after detecting mobile terminal-opening, in Xiang Suoshu mobile terminal Source applies DOVDD voltage;
State acquiring unit, the state of the ID identification pin of the main control chip for obtaining the mobile terminal, wherein applying After the DOVDD voltage, when different mould groups are arranged in the terminal, the state of the ID identification pin is different;
Mould group determination unit determines the function mould being arranged in the mobile terminal for identifying the state of pin according to the ID The information of group;
Prompt unit, for prompting the user with when the ID of main control chip identification pin is non-high level and non-low level Functional module group is abnormal;
Information acquisition unit, for when determine be provided with the first functional module group in the mobile terminal when, obtain it is pre-set The sequence of DOVDD voltage, simulation supply voltage AVDD, digital power system voltage DVDD is provided to first functional module group;When true When being provided with the second functional module group in the fixed mobile terminal, obtain pre-set to second functional module group offer The sequence of DOVDD voltage, AVDD voltage, DVDD voltage.
5. mobile terminal according to claim 4, which is characterized in that the mould group determination unit includes:
First mould group determines subelement, for determining the movement when the ID of main control chip identification pin is high level The first functional module group is provided in terminal, the ID identification pin of first functional module group is separately connected in the mobile terminal DOVDD power supply and the ID identify pin;
Second mould group determines subelement, for determining the movement when the ID of main control chip identification pin is low level The second functional module group is provided in terminal, the ID identification pin of second functional module group is grounded and connects respectively the ID identification Pin.
6. mobile terminal according to claim 5, which is characterized in that
The Power Management Unit is also used to, when determine be provided with the first functional module group in the mobile terminal when, according to acquisition To first functional module group provide DOVDD voltage, AVDD voltage, DVDD voltage sequence, the first functional module group of Xiang Suoshu There is provided first functional module group corresponding first AVDD and the first DVDD;
The Power Management Unit is also used to, when determine be provided with the second functional module group in the mobile terminal when, according to acquisition To second functional module group provide DOVDD voltage, AVDD voltage, DVDD voltage sequence, the second functional module group of Xiang Suoshu There is provided second functional module group corresponding 2nd AVDD and the 2nd DVDD.
CN201610374679.XA 2016-05-30 2016-05-30 A kind of detection method and mobile terminal of functional module group Active CN106095627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610374679.XA CN106095627B (en) 2016-05-30 2016-05-30 A kind of detection method and mobile terminal of functional module group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610374679.XA CN106095627B (en) 2016-05-30 2016-05-30 A kind of detection method and mobile terminal of functional module group

Publications (2)

Publication Number Publication Date
CN106095627A CN106095627A (en) 2016-11-09
CN106095627B true CN106095627B (en) 2019-04-12

Family

ID=57229530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610374679.XA Active CN106095627B (en) 2016-05-30 2016-05-30 A kind of detection method and mobile terminal of functional module group

Country Status (1)

Country Link
CN (1) CN106095627B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114283717A (en) * 2021-12-02 2022-04-05 深圳同兴达科技股份有限公司 Method for avoiding power-on and power-off burn of display module
CN116049070B (en) * 2022-05-30 2023-11-10 荣耀终端有限公司 Camera module identification method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674365A (en) * 2009-10-13 2010-03-17 深圳华为通信技术有限公司 Module marking and identifying method, terminal and module thereof
CN101695088A (en) * 2009-10-19 2010-04-14 深圳华为通信技术有限公司 Module identification method and terminal
CN102169468A (en) * 2011-03-22 2011-08-31 惠州Tcl移动通信有限公司 Identification method for external module and electronic equipment using same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674365A (en) * 2009-10-13 2010-03-17 深圳华为通信技术有限公司 Module marking and identifying method, terminal and module thereof
CN101695088A (en) * 2009-10-19 2010-04-14 深圳华为通信技术有限公司 Module identification method and terminal
CN102169468A (en) * 2011-03-22 2011-08-31 惠州Tcl移动通信有限公司 Identification method for external module and electronic equipment using same

Also Published As

Publication number Publication date
CN106095627A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
TWI424176B (en) Systems and methods for testing integrated circuit devices
CN108519938B (en) Memory chip compatibility test method, system and test host
CN106844265B (en) A kind of control method and mobile terminal of general-purpose serial bus USB interface
US10007492B2 (en) System and method for automatically generating device drivers for run time environments
CN102708077B (en) State recognition method and state recognition apparatus
CN107479918B (en) Reconfigurable FPGA (field programmable Gate array) model for MCU (microprogrammed control Unit) burning
US8924626B2 (en) Phased NAND power-on reset
CN104134459A (en) Non-volatile memory (NVM) with variable verify operations
CN105718281B (en) A kind of touch screen firmware upgrade method and device
CN102623069B (en) Random excitation flash model verification method
CN114003538B (en) Identification method of intelligent network card and intelligent network card
CN108009062A (en) A kind of enterprise-level SSD system power failures function test method, apparatus and system
CN109388345B (en) Data reading method of memory, display device and computer readable storage medium
TW201508472A (en) System and method of performing firmware update test
CN115562738B (en) Port configuration method, component and hard disk expansion device
CN106095627B (en) A kind of detection method and mobile terminal of functional module group
US20240118762A1 (en) Touch system and method for selectively operating firmware
CN109117335A (en) A kind of hard disk simulation hot plug test method, device, terminal and storage medium
CN102915209B (en) Storage control chip, storage equipment and system data writing method
CN105824407B (en) Touch feedback method and mobile terminal
CN113608684B (en) Memory information acquisition method, device and system, electronic equipment and storage medium
CN107491316A (en) Extended method, device and the electronic equipment of baseboard management controller
CN104461603A (en) Information processing method and electronic equipment
CN103902301A (en) Method and device and processor reading BIOS
CN103956129A (en) Automatic identification system for electronic product display screen

Legal Events

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