Summary of the invention
The embodiment of the present invention provide a kind of electronic equipment, functional module group, the mainboard of electronic equipment, detection method, to
When carrying out functional test to the electronic equipment that assembly is completed, the assembly problem of functional module group is identified, in time to avoid in function
When mould group occurs abnormal, tester checks one by one, to reduce the workload of tester.
A kind of electronic equipment provided in an embodiment of the present invention, including functional module group and mainboard with assembled relation;
The functional module group is provided with the first detection pin, the power supply pipe of the first detection pin and the functional module group
Foot connection;
The mainboard is provided with the second detection pin;
The electronic equipment is used to be determined according to the connected state of the first detection pin and the second detection pin
Whether the installation condition between the functional module group and the mainboard meets installation requirement.
Optionally, the electronic equipment is specifically used for reading the voltage status of the second detection pin;According to described
The voltage status of two detection pins and the relationship of preset value, determine whether is installation condition between the functional module group and the mainboard
Meet installation requirement.
Optionally, the first detection pin is N number of, the second detection pin be it is N number of, N is integer greater than 1;
The electronic equipment, when specifically for meeting preset value in the voltage status for determining that N number of second detects pin, really
Installation condition between the fixed functional module group and the mainboard meets installation requirement;In the voltage for determining M second detection pin
When state meets preset value, determine that the installation condition between the functional module group and the mainboard does not meet installation requirement, M be greater than
1 and be less than N integer;When determining that the voltage status of N number of second detection pin does not meet preset value, the function mould is determined
Group is not installed on the mainboard.
Optionally, the electronic equipment further includes display screen;
The display screen, for showing the connected state of the first detection pin and the second detection pin.
It include the functional module group and mainboard with assembled relation in the technical solution of above-mentioned electronic equipment, in electronic equipment,
By the first detection pin being arranged in functional module group and the second detection of setting pin on mainboard, electronic equipment can basis
The connected state of first detection pin and the second detection pin, determines whether the installation condition between functional module group and mainboard meets peace
Reload request.The electronic equipment during the test, can determine whether the installation condition between functional module group and mainboard meets installation
It is required that so that whether tester can first determine functional module group exception if it is determined that in electronic equipment when functional module group exception
Next step operation is carried out extremely to this caused by incorrect installation function mould group, and then according to judging result, to subtract
The test job amount of few tester, improves testing efficiency.
Correspondingly, the functional module group is installed in electronic equipment the embodiment of the invention also provides a kind of functional module group;
The functional module group is provided with the first detection pin, the power supply pipe of the first detection pin and the functional module group
Foot connection;
The first detection pin is used for when detecting the electronic equipment, passes through the first detection pin and the electricity
The connected state of the second detection pin on the mainboard of sub- equipment, determines the installation condition between the functional module group and the mainboard
Whether installation requirement is met.
In the technical solution of above-mentioned functional module group, by the way that the first detection pin is arranged in functional module group, so that electric
Sub- equipment determines the installation condition between functional module group and mainboard according to the connected state of the first detection pin and the second detection pin
Whether installation requirement is met.The electronic equipment during the test, can determine that the installation condition between functional module group and mainboard is
It is no to meet installation requirement, so that tester if it is determined that functional module group is abnormal in electronic equipment, can first determine the functional module group
Exception carries out next step behaviour to this according to judging result whether caused by incorrect installation function mould group extremely
Make, to reduce the test job amount of tester, improves testing efficiency.
Correspondingly, the mainboard is provided with the second detection the embodiment of the invention also provides the mainboard of a kind of electronic equipment
Pin;
The second detection pin, for passing through the second detection pin and function when detecting the electronic equipment
The connected state of first detection pin of mould group, determines whether the installation condition between the functional module group and the mainboard meets peace
Reload request.
In the technical solution of the mainboard of above-mentioned electronic equipment, by the way that the second detection pin, and then basis are arranged on mainboard
The connected state of first detection pin and the second detection pin, determines whether the installation condition between functional module group and mainboard meets peace
Reload request.The electronic equipment during the test, can determine whether the installation condition between functional module group and mainboard meets installation
It is required that so that tester if it is determined that functional module group is abnormal in electronic equipment, can first determine the functional module group it is abnormal whether by
Next step operation is carried out extremely to this caused by incorrect installation function mould group, and then according to judging result, to reduce
The test job amount of tester improves testing efficiency.
Correspondingly, being suitable for above-mentioned electronic equipment, the method packet the embodiment of the invention also provides a kind of detection method
It includes:
Obtain the voltage status of the second detection pin;
According to the relationship between the voltage status and preset value of the second detection pin, the functional module group and institute are determined
State whether the installation condition between mainboard meets installation requirement.
Optionally, the first detection pin is N number of, the second detection pin be it is N number of, N is integer greater than 1;
Relationship between the voltage status and preset value according to the second detection pin, determines the functional module group
Whether the installation condition between the mainboard meets installation requirement, comprising:
When determining that the voltage status of N number of second detection pin meets preset value, the functional module group and the master are determined
Installation condition between plate meets installation requirement;When determining that the voltage status of M second detection pin meets preset value, institute is determined
It states the installation condition between functional module group and the mainboard and does not meet installation requirement, M is the integer greater than 1 and less than N;Determining N
When the voltage status of a second detection pin does not meet preset value, determine that the functional module group is not installed on the mainboard.
In the technical solution of above-mentioned detection method, when the electronic equipment completed to assembly carries out functional test, test knot
If occurring certain functional module group exception in fruit, tester is not necessarily to check problem one by one for the software and hardware in the functional module group, and
Can first determine whether the abnormal problem is caused by incorrect installation function mould group, if so, can take with needle
To the solution of property, functional module group is reinstalled after such as dismantling electronic equipment or manually checks the installation shape of functional module group
Otherwise state, then removes investigation other problems.By this way, functional module group can tentatively be judged, and is tentatively sentenced according to this
Disconnected result carries out next step operation, to reduce the test job amount of tester, improves testing efficiency.
Correspondingly, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned detection according to the program of acquisition for calling the program instruction stored in the memory
Method.
Correspondingly, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, including computer
Readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes above-mentioned detection method.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
A kind of electronic equipment provided in an embodiment of the present invention, as shown in Figure 1, including that there is assembled relation in the electronic equipment
Functional module group and mainboard, i.e. functional module group be assembled on mainboard, function device can be connect by pin with mainboard.The electronics
Equipment can be mobile phone, tablet computer etc., and functional module group, which can be, is likely to occur leakage installation or mounting means on electronic equipment
Undesirable mould group, it is understood that for by manually installed mould group, which can be camera mould group, fingerprint mould
Group or other mould groups.
The first detection pin is provided in the structural schematic diagram of the functional module group as shown in Fig. 2 a, Fig. 2 b, in functional module group,
First detection pin be connected to the power pin of functional module group, shown in Fig. 2 b, can first detection pin and power pin it
Between resistance is set.
The second detection pin, mainboard and functional module group are provided in the structural schematic diagram of mainboard as shown in Figure 3, on mainboard
It is corresponding, and the second detection pin on mainboard is corresponding with the first detection pin of functional module group, specifically, the first detection pipe
Foot be it is N number of, the second detection pin be it is N number of, N is integer greater than 1, and the first detection pin and the second detection pin are an a pair
It answers.
In electronic equipment assembling process, if functional module group is correctly assembled on mainboard, it can be understood as functional module group
Second detection pin of the first detection pin and mainboard is connected one by one to form closed circuit, as there is 4 first in functional module group
Pin a, b, c, d are detected, has 4 second detections pin A, B, C, D on mainboard, is then correctly assembled on mainboard in functional module group
When, a is connect one by one with A, b and B, c and C, d and D, to form closed circuit.Power pin is connect with the power supply on mainboard, mainboard
On power supply be closed circuit power supply, illustratively, power pin can be iovdd pin, and the power supply on mainboard can be
The long power supply of one 1.8v, each second voltage value detected on pin are all larger than preset threshold, i.e. voltage value on A, B, C, D is equal
Greater than preset threshold.
In conjunction with foregoing description, the connected state of the first detection pin and the second detection pin, in detection electronic equipment
When determine whether the installation condition between functional module group and mainboard meets installation requirement, it can be understood as, carried out to electronic equipment
When test, electronic equipment can according to first detection pin with second detection pin connected state, with determine functional module group and
Whether the installation condition between mainboard meets installation requirement.
In a kind of achievable mode, electronic equipment can be used for reading the voltage status of the second detection pin, and according to
The voltage status of second detection pin and the relationship of preset value, determine whether the installation condition between functional module group and mainboard meets peace
Reload request.Second detection pin can be used for reading the voltage status of itself, and such as the second detection pin can be GPIO
(General Purpose Input Output, general I/O port) interface, sets read states for the GPIO interface,
For reading itself voltage status.
Specifically, electronic equipment determines each second inspection according to the voltage status of each second detection pin and the relationship of preset value
Test tube foot and each first detection pin connection status, and then determine the installation condition between functional module group and mainboard.Herein, voltage shape
State can be high level or low level, and electronic equipment determines the second detection pin and the when determining voltage status is high level
One detection pin is connected;Voltage status can also be that the voltage value is compared by voltage value, electronic equipment with preset threshold,
And determine that the second detection pin is connected with the first detection pin after determining that voltage value is greater than preset threshold.
In the embodiment of the present invention, first detection pin be it is N number of, second detection pin be it is N number of, electronic equipment be specifically used for
When determining that the voltage status of N number of second detection pin meets preset value, determine that the installation condition between functional module group and mainboard meets
Installation requirement;When determining that the voltage status of M second detection pin meets preset value, the peace between functional module group and mainboard is determined
Dress state does not meet installation requirement, and M is the integer greater than 1 and less than N;It is equal in the voltage status for determining N number of second detection pin
When not meeting preset value, determine that functional module group is not installed on mainboard.
Still illustrate by taking first detection pin a, b, c, d and second detection pin A, B, C, D connection as an example, there are three types of situation,
It is specific as follows:
Situation one: if it is determined that the voltage status of 4 second detection pins are when meeting preset value, it is determined that a and A, b and B,
C and C, d and D are correctly to connect, it can determine that the installation condition between functional module group and mainboard meets installation requirement;
Situation two: if it is determined that the voltage status of 2 second detections pin (A, B) meets preset value, 2 the second detection pins
The voltage status of (C, D) does not meet preset value, it is determined that and a is correctly to connect with A, b and B, and c and C, d and D are incorrect connection,
It can determine that functional module group is mounted on mainboard, but the installation condition of functional module group does not meet installation requirement;
Situation three: if it is determined that the voltage status of 4 second detection pins do not meet preset value, it is determined that a and A, b and B,
C and C, d and D are incorrect connection, it can determine that functional module group is not installed on mainboard, i.e., the functional module group is leakage installation
Into electronic equipment.
In addition, electronic equipment further includes display screen, the display screen is for showing the first detection pin and the second detection pin
Connected state.When tester tests the electronic equipment, electronic equipment shows the first detection pipe by display screen
The connected state of foot and the second detection pin, and then installation condition of the display function mould group on mainboard so that tester
Pass through the display information on the display screen, it can determine the installation condition of functional module group in current electronic device.
Based on the same inventive concept, the embodiment of the invention also provides a kind of functional module group, which is installed on electricity
The first detection pin is provided in sub- equipment, in functional module group, the first detection pin is connected to the power pin of functional module group.The
One detection pin is used for when detecting electronic equipment, passes through the second detection pipe on the mainboard of the first detection pin and electronic equipment
The connected state of foot, determines whether the installation condition between functional module group and mainboard meets installation requirement.
Based on the same inventive concept, the embodiment of the invention also provides the mainboard of a kind of electronic equipment, it is arranged in the mainboard
There is the second detection pin, the second detection pin is used for when detect electronic equipment, detects pin and functional module group by second
The connected state of first detection pin, determines whether the installation condition between functional module group and mainboard meets installation requirement.
Based on foregoing description, Fig. 4, which is illustratively shown, to be set the embodiment of the invention also provides a kind of based on above-mentioned electronics
Standby detection method, the detection method are applied in above-mentioned electronic equipment.
The flow chart of the detection method specifically:
Step 401, the voltage status of the second detection pin is obtained.
Step 402, according to the relationship between the voltage status and preset value of the second detection pin, functional module group and master are determined
Whether the installation condition between plate meets installation requirement.
Wherein, the first detection pin is N number of, the second detection pin be it is N number of, N is integer greater than 1, true in electronic equipment
When the voltage status of fixed N number of second detection pin meets preset value, determine that the installation condition between functional module group and mainboard meets peace
Reload request;When determining that the voltage status of M second detection pin meets preset value, the installation between functional module group and mainboard is determined
State does not meet installation requirement, and M is the integer greater than 1 and less than N;Determining the voltage status of N number of second detection pin not
When meeting preset value, determine that functional module group is not installed on mainboard.
In actual test, electronic equipment is in booting, it can the second detection pin that mainboard is arranged is read states, can be with
It is that GPIO interface is set for read states, GPIO interface reads each voltage status, and each voltage status is recorded in and is write in node, should
The memory node that node is interpreted as in electronic equipment is write, further, the test software reading on electronic equipment is write in node
Each voltage status, and be shown on the display interface of test software, so that whether tester's arbitration functions mould group correctly pacifies
On mainboard.
It should be noted that in above-described embodiment, correctly connection refers between the first detection pin and the second detection pin
It is that the connection status of the first detection pin and the second detection pin meets preset requirement, at this point, the first detection pin and the second inspection
It is connected state between test tube foot.Functional module group is properly attached to refer on mainboard and functional module group is mounted on mainboard and is pacified
Dress state meets installation requirement, at this point, being connected state between functional module group and mainboard, if that is, display function mould group is different in testing
Chang Shi can exclude exception caused by incorrect installation function mould group.
In above-described embodiment, when the electronic equipment completed to assembly carries out functional test, if there is certain in test result
Functional module group is abnormal, and tester is not necessarily to check problem one by one for the software and hardware in the functional module group, but can first determine
Whether the abnormal problem is targetedly to solve to arrange if so, can take and have caused by incorrect installation function mould group
It applies, functional module group is reinstalled after such as dismantling electronic equipment or manually checks the installation condition of functional module group, otherwise, then go
Check other problems.By this way, functional module group can tentatively be judged, and is carried out down according to the preliminary judging result
Single stepping improves testing efficiency to reduce the test job amount of tester.
Based on the same inventive concept, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned detection according to the program of acquisition for calling the program instruction stored in the memory
Method.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium,
Including computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer execution is above-mentioned
Detection method.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.