CN105847503B - A kind of cell phone mainboard and daughter board device connection status detection - Google Patents
A kind of cell phone mainboard and daughter board device connection status detection Download PDFInfo
- Publication number
- CN105847503B CN105847503B CN201610459178.1A CN201610459178A CN105847503B CN 105847503 B CN105847503 B CN 105847503B CN 201610459178 A CN201610459178 A CN 201610459178A CN 105847503 B CN105847503 B CN 105847503B
- Authority
- CN
- China
- Prior art keywords
- mainboard
- daughter board
- comparator
- input
- resistor
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 25
- 230000002093 peripheral effect Effects 0.000 claims abstract description 28
- 230000005540 biological transmission Effects 0.000 claims description 14
- 230000000052 comparative effect Effects 0.000 claims description 7
- 230000005611 electricity Effects 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 230000001413 cellular effect Effects 0.000 claims description 3
- 238000005266 casting Methods 0.000 claims 1
- 239000002699 waste material Substances 0.000 description 3
- 201000004569 Blindness Diseases 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
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)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of cell phone mainboards and daughter board device connection status detection, wherein the device includes: mainboard, daughter board pull-up resistor, level generator and comparator;The first input end of comparator is connect with daughter board pull-up resistor, and the second input terminal is connect with level generator, receives the level value of pull-up resistor input and the level value of level generator input respectively;Comparator compares the level value of pull-up resistor input and the level value of level generator input, obtains comparison result;The output end of comparator is connect with mainboard, transmits comparison result to mainboard, mainboard determines the connection status between mainboard and daughter board according to the result.In the present invention, when mainboard judges mainboard and daughter board is in connection status, mainboard can just access peripheral device interface or device on daughter board, improve efficiency.
Description
Technical field
The present invention relates to field of terminal technology, fill in particular to a kind of cell phone mainboard and the detection of daughter board connection status
It sets.
Background technique
Mobile phone generally has mainboard and daughter board, and the processor and other chips of mobile phone are integrated on mainboard, is entire hand
The core of machine is provided with the devices such as peripheral device interface and sensor on daughter board.
When mobile phone factory, need on daughter board peripheral device interface and the devices such as sensor detect, at this moment lead
Plate just needs to access the devices such as peripheral device interface or the sensor on daughter board, at this time mainboard by searching for or poll mode
The interface or device to be accessed are found, if at this moment mainboard and daughter board connect not yet, mainboard is devoted a tremendous amount of time
It is that can not find the interface or device to be accessed.
Since mainboard can not judge whether mainboard and daughter board have connected in the prior art, the lookup of such blindness will be accessed
Daughter board on interface or device, waste the plenty of time, efficiency is very low.
Summary of the invention
In view of this, the present invention provides a kind of cell phone mainboard and daughter board device connection status detection, it is existing for solving
Cell phone mainboard blindly searches the peripheral device interface or device on the daughter board to be accessed in technology, wastes plenty of time, efficiency
Very low problem.
In a first aspect, the embodiment of the invention provides a kind of cell phone mainboards and daughter board device connection status detection, comprising:
Mainboard, daughter board pull-up resistor, level generator and comparator;
The first input end of the comparator is connect with the daughter board pull-up resistor, the second input terminal of the comparator with
The level generator connection, what the level value and the level generator for receiving the daughter board pull-up resistor input respectively inputted
Level value;
The level value of the comparator daughter board pull-up resistor input and the level of level generator input
Value, obtains comparison result;
The output end of the comparator is connect with the mainboard, transmits the comparison result to the mainboard, the mainboard
The connection status between the mainboard and daughter board is determined according to the comparison result.
With reference to first aspect, the embodiment of the invention provides the first possible implementation of above-mentioned first aspect,
In, the level value of the comparator daughter board pull-up resistor input and the level value of level generator input obtain
To comparison result, comprising:
The level value of the comparator daughter board pull-up resistor input and the level of level generator input
Size relation between value;
If the level value of the daughter board pull-up resistor input is greater than the level value of level generator input, described
Comparator generates high level signal as comparative result;
If the level value of the daughter board pull-up resistor input is less than or equal to the level value of level generator input,
Then the comparator generates low level signal as comparative result.
With reference to first aspect, the embodiment of the invention provides second of possible implementation of above-mentioned first aspect,
In, the mainboard includes judging device;
The judgement device is connect with the output end of the comparator, receives the comparison result of the comparator transmission, and
The connection status between the mainboard and the daughter board is determined according to the comparison result.
The possible implementation of second with reference to first aspect, the embodiment of the invention provides the of above-mentioned first aspect
Three kinds of possible implementations, wherein the judgement device receives the comparison result of the comparator transmission, if the comparison
It as a result is high level signal, it is determined that the connection status between the mainboard and the daughter board is to have connected;
If the comparison result is low level signal, it is determined that the connection status between the mainboard and the daughter board is
It is not connected.
The third possible implementation with reference to first aspect, the embodiment of the invention provides the of above-mentioned first aspect
Four kinds of possible implementations, wherein when the judgement device determines that the connection status between the mainboard and the daughter board is
When having connected, the operation of peripheral device interface or device on the daughter board is searched in the mainboard starting.
The 4th kind of possible implementation with reference to first aspect, the embodiment of the invention provides the of above-mentioned first aspect
Five kinds of possible implementations, wherein the mainboard further includes suggestion device;
The suggestion device is connect with the judgement device, the judging result of the judgement device transmission is received, if institute
It states judging result and indicates that the mainboard and the daughter board are not connected, then the suggestion device exports prompt information, the prompt letter
Breath is not connected for prompting the mainboard and the daughter board.
The 5th kind of possible implementation with reference to first aspect, the embodiment of the invention provides the of above-mentioned first aspect
Six kinds of possible implementations, wherein when the mainboard inquires the exception of peripheral device interface or device on the daughter board
When information, the mainboard also transmits the exception information to the suggestion device, and the suggestion device is according to the exception information
Export corresponding abnormal prompt information.
The 5th kind of possible implementation with reference to first aspect, the embodiment of the invention provides the of above-mentioned first aspect
Seven kinds of possible implementations, wherein the suggestion device is indicator light;
The indicator light is connect with the judgement device, the judging result of the judgement device transmission is received, if described
Judging result indicates that the mainboard and the daughter board are not connected, then the indicator light is lighted.
The 5th kind of possible implementation with reference to first aspect, the embodiment of the invention provides the of above-mentioned first aspect
Eight kinds of possible implementations, wherein the suggestion device is text-to-speech TTS broadcast device;
The TTS broadcast device is connect with the judgement device, the judging result of the judgement device transmission is received, if institute
It states judging result and indicates that the mainboard and the daughter board are not connected, then the TTS broadcast device broadcasts speech prompt information.
With reference to first aspect, the embodiment of the invention provides the 9th kind of possible implementations of first aspect, wherein institute
The daughter board pull-up resistor other end and cellular phone power supplies are stated by key connection.
Cell phone mainboard provided by the invention and daughter board device connection status detection, including mainboard, daughter board pull-up resistor, level
Generator and comparator, wherein the first input end of comparator is connect with daughter board pull-up resistor, and the second input terminal and level generate
Device connection receives the level value of daughter board pull-up resistor and level generator input, and more above-mentioned first input end and the respectively
The level value of two input terminals, obtains comparison result, and the comparison result is transferred to mainboard by the output end of comparator, mainboard according to
The comparison result determines the connection status between mainboard and daughter board, in this way when mainboard judges that mainboard and daughter board are in connection status
When, mainboard can just access peripheral device interface or device on daughter board, improve efficiency.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of cell phone mainboard provided in an embodiment of the present invention and the structural representation of daughter board device connection status detection
Figure;
Fig. 2 shows the knots of the mainboard in cell phone mainboard provided in an embodiment of the present invention and daughter board device connection status detection
Structure schematic diagram.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Usually
The component for the embodiment of the present invention being described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
In view of mainboard can not judge whether mainboard and daughter board have connected in the prior art, when mainboard needs to access son
When the devices such as peripheral device interface or sensor on plate, mainboard will peripheral equipment on the lookup daughter board to be accessed of blindness
The devices such as interface or sensor, waste the plenty of time, and efficiency is very low.Based on this, the embodiment of the invention provides a kind of mobile phone masters
Plate and daughter board device connection status detection.It is described below by embodiment.
Embodiment
The embodiment of the invention provides a kind of cell phone mainboards and daughter board device connection status detection.There are two electricity on mobile phone
Road plate, one is cell phone mainboard, and the processor and other chips of mobile phone are integrated on the mainboard of mobile phone, is the core of whole mobile phone
The heart, one be mobile phone daughter board, the devices such as peripheral device interface and sensor are mainly provided on daughter board, under normal circumstances,
Cell phone mainboard and daughter board are in connection status, and at this moment cell phone mainboard is the peripheral device interface on accessible mobile phone daughter board
Or the devices such as sensor, but if mobile phone when leaving the factory, there are failures, it may be assumed that cell phone mainboard and daughter board are in not connected
State when mobile phone factory, the periphery on daughter board is set then mainboard is the above-mentioned device that can not be accessed on daughter board
The devices such as standby interface and sensor are detected, and at this moment mainboard just needs to access peripheral device interface and sensor etc. on daughter board
At this moment device can be detected first using connection status of the device provided in an embodiment of the present invention to cell phone mainboard and daughter board,
When detecting that cell phone mainboard and daughter board are in connection status, mainboard visits again peripheral device interface or sensor on daughter board
Equal devices.
As shown in Figure 1, cell phone mainboard provided in an embodiment of the present invention and daughter board device connection status detection, comprising: mainboard
110, daughter board pull-up resistor 120, level generator 130 and comparator 140.
The first input end of comparator 140 is connect with daughter board pull-up resistor 120, the second input terminal and electricity of comparator 140
It grows up to be a useful person all one's life 130 connections, receives the level value that daughter board pull-up resistor 120 inputs and the level that level generator 130 inputs respectively
Value;
The level value that comparator 140 compares the level value of the input of daughter board pull-up resistor 120 and level generator 130 inputs,
Obtain comparison result;
The output end of comparator 140 is connect with mainboard 110, transmits above-mentioned comparison result to mainboard 110,110 basis of mainboard
Above-mentioned comparison result determines the connection status between mainboard 110 and daughter board.
Wherein, level generator 130 is the device that predetermined level value can be generated, and level generator can be set
130 generate the level value of arbitrary value, in embodiments of the present invention, it is preferred that the level value for generating level generator 130 is arranged
It is less than the numerical value of the level value of daughter board pull-up resistor 120 for one, daughter board pull-up resistor can be compared by comparator 140 in this way
120 and level generator 130 input level value, the connection status of cell phone mainboard 110 Yu daughter board is judged, when mainboard 110 and son
When plate is in connection status, daughter board pull-up resistor 120 can be and defeated by first input end to 140 input level value of comparator
The level value entered is greater than level generator 130 and passes through the level value that the second input terminal is inputted to comparator 140, can thus sentence
Disconnected mainboard 110 and daughter board out are in connection status, if mainboard 110 and daughter board are in not-connected status, daughter board pull-up resistor 120
The electricity that first input end is inputted to comparator 140 will not be passed through to 140 input level value of comparator, i.e. daughter board pull-up resistor 120
Level values are zero, and such comparator 140 may determine that the level value that daughter board pull-up resistor 120 inputs is less than level generator 130
The level value of input, and then it can be concluded that mainboard 110 and daughter board 120 are in not-connected status.
Wherein, above-mentioned daughter board pull-up resistor 120 is a pull-up resistor present on daughter board, the daughter board pull-up resistor 120
With cellular phone power supplies by being keyed, it is multiplexed the daughter board pull-up resistor 120 in the embodiment of the present invention, by the daughter board pull-up resistor 120
The other end is connected with the first input end of comparator 140, to 140 input level value of comparator, by comparing daughter board pull-up resistor
The level value that the level values and level generator 130 of 120 inputs input, to the connection status of cell phone mainboard 110 and daughter board into
Row detection.
In the embodiment of the present invention, the first input end and daughter board pull-up resistor 120 of comparator 140 are connected, and are received on daughter board
The level value that pull-up resistor 120 is transmitted, the second input terminal and level generator 130 connection of comparator 140, receives level generator
130 level values generated, comparator 140 compare the level value of first input end and the input of the second input terminal, obtain comparison result,
And cell phone mainboard 110 will be transferred to comparison result, and after cell phone mainboard 110 receives the comparison result of the transmission of comparator 140, electricity
Grow up to be a useful person all one's life 130 generations be less than daughter board pull-up resistor 120 input level value level value, such mainboard 110 will root
It determines still to be not connected with shape in connection status between cell phone mainboard 110 and daughter board according to the comparison result that comparator 140 transmits
State.
Comparator 140 is there are two input terminal, and wherein one end is non-inverting input terminal, and the other end is inverting input terminal, and above-mentioned the
One input terminal can be non-inverting input terminal, and the second input terminal is inverting input terminal or above-mentioned first input end can be reverse phase
Input terminal, the second input terminal are non-inverting input terminal, and the embodiment of the present invention does not limit above-mentioned first input end and the second input terminal
Specially non-inverting input terminal or inverting input terminal.
Cell phone mainboard provided in an embodiment of the present invention and daughter board device connection status detection, are compared sub by comparator 140
The size for the level value that plate pull-up resistor 120 and level generator 130 input, obtains comparison result, and comparison result is transmitted
To mainboard 110, the connection status between mainboard 110 and daughter board is judged according to the comparison result by mainboard 110, when mainboard 110 is sentenced
It is disconnected go out mainboard and daughter board when be in connection status, mainboard 110 can just access peripheral device interface or device on daughter board, raising
Efficiency.
Wherein, as one embodiment, the level value of the more above-mentioned daughter board pull-up resistor 120 of comparator 140 input and upper
The level value for stating the input of level generator 130, obtains comparison result, includes the following steps:
The level that the level value and level generator 130 of the more above-mentioned daughter board pull-up resistor 120 of comparator 140 input input
Size relation between value;
If the level value that above-mentioned daughter board pull-up resistor 120 inputs is greater than the level value of above-mentioned level generator 130 input,
Then comparator 140 generates high level signal as comparative result;
If the level value that above-mentioned daughter board pull-up resistor 120 inputs is less than or equal to the level that level generator 130 inputs
Value, then comparator 140 generates low level signal as comparative result.
After the first input end of comparator 140 receives the level value of the input of daughter board pull-up resistor 120, the second input terminal
After receiving the level value that above-mentioned level generator 130 inputs, above-mentioned first input end and above-mentioned second input terminal can be inputted
Level value be compared, due to level generator 130 generate level value be less than daughter board pull-up resistor 120 input level
Value, therefore, when cell phone mainboard 110 is in connection status with daughter board, daughter board pull-up resistor 120 just has level value output,
And the level value exported is greater than the level value that level generator 130 generates, if cell phone mainboard 110 and daughter board are in not connected
State, the level value that daughter board pull-up resistor 120 exports is zero, and the level value at this moment exported is less than the generation of level generator 130
Level value, since the level value that level generator 130 generates may be zero, when cell phone mainboard and daughter board are in
When not-connected status, the level value that daughter board pull-up resistor 120 exports may also be equal to the level value that level generator 130 generates.
If the level value that the first input end of comparator 140 inputs is greater than the level value of the second input terminal input, comparator 140
Output end can export high level signal as comparative result, if the level value that the first input end of comparator 140 inputs is small
In or equal to the second input terminal input level value, then the output end of comparator 140 can export low level signal be used as than
Compared with as a result, and the comparison result is transferred to cell phone mainboard 110.
In order to which so that mainboard 110 is transmitted according to above-mentioned comparator 140 high level signal or low level signal judge
Connection status between mainboard 110 and daughter board, as shown in Fig. 2, mainboard 110 can also include determining device in the embodiment of the present invention
Part 111;
Judge that device 111 and the output end of comparator 140 are connect, the comparison result that reception comparator 140 transmits, and according to
Above-mentioned comparison result determines the connection status between above-mentioned mainboard and daughter board.
The level value of the more above-mentioned first input end of the meeting of comparator 140 and the input of the second input terminal, i.e. daughter board pull-up resistor
120 and level generator 130 input level value, comparator 140 can obtain a comparison result, and comparison result is transferred to
The judgement device 111 of mainboard 110 judges that device 111 connects wherein above-mentioned comparison result is high level signal or low level signal
After the judging result for receiving the transmission of comparator 140, it can determine to be between above-mentioned mainboard and daughter board according to above-mentioned comparison result
Connection status or not-connected status.
Wherein, after above-mentioned judgement device 111 receives the comparison result that comparator 140 transmits, if above-mentioned comparison result
For high level signal, it is determined that the connection status between mainboard and daughter board is to have connected;
If above-mentioned comparison result is low level signal, it is determined that the connection status between mainboard and daughter board is not connected.
When above-mentioned judgement device 111 receive comparator 140 transmission comparison result, above-mentioned comparison result can be sentenced
It is disconnected, if above-mentioned comparison result is high level signal, illustrate that the level value of the first input end of above-mentioned comparator 140 is higher than the
The level value of two input terminals, i.e. daughter board pull-up resistor 120 have level value, and therefore, mainboard 110 and daughter board are in connection shape
State illustrates the level value of first input end input of comparator 140 lower than upper if above-mentioned comparison result is low level signal
The level value of the second input terminal input is stated, i.e. daughter board pull-up resistor 120 is no level input, therefore, mainboard 110 and daughter board
In not connected state.
If mainboard 110 and daughter board are in not-connected status, even if mainboard 110 takes a substantial amount of time and can not
Find peripheral device interface on daughter board or device, thus when judge device 111 determine cell phone mainboard 110 and daughter board it
Between connection status be when having connected, the operation of peripheral device interface or device on daughter board is searched in above-mentioned mainboard starting.
Mainboard 110 can send search request to daughter board, which includes the peripheral device interface or device to be searched
The mark of part can search and the mark after daughter board receives the search request that above-mentioned mainboard 110 is sent according to the search request
Perhaps device, can be to mainboard after daughter board is found above-mentioned peripheral device interface or device for corresponding peripheral device interface
110 send a response message, which includes the peripheral device interface of above-mentioned lookup or the address code of device, works as master
After plate 110 receives the response message of daughter board transmission, perhaps device establishes connection access or detection with the peripheral device interface
The peripheral device interface or device.
In order to facilitate staff to learn the connection status between mainboard and daughter board, as shown in Fig. 2, the present invention is implemented
Mainboard 110 in example is additionally provided with suggestion device 112;
Above-mentioned suggestion device 112 is connect with device 111 is judged, receives the judging result for judging that device 111 transmits, if on
It states judging result instruction mainboard and daughter board is not connected, then suggestion device 112 exports prompt information, and the prompt information is for prompting
It states mainboard and daughter board is not connected.
The level value of the more above-mentioned first input end of the meeting of comparator 140 and the input of the second input terminal, that is, compare daughter board
The level value that pull-up resistor 120 and level generator 130 input, obtains comparison result, and comparison result is transferred to mainboard 110
On judgement device 111, by judging that device 111 judges cell phone mainboard according to above-mentioned comparison result and whether daughter board is in connection shape
State, and the judging result is transferred to suggestion device 112, if above-mentioned judging result is that mainboard and daughter board are in not connected shape
State, then suggestion device 112 can export prompt information according to above-mentioned judging result, and the prompt information is for prompting mainboard and daughter board not
Connection.
When the judgement device 111 on cell phone mainboard 110 judges cell phone mainboard and daughter board is in connection status, mobile phone master
Plate 110 will start the operation for searching peripheral device interface or device on daughter board.
When mainboard 110 inquires the exception information of peripheral device interface or device on daughter board, on mainboard 110 also transmits
Exception information is stated to suggestion device 112, suggestion device 112 exports corresponding abnormal prompt information according to above-mentioned exception information.
Wherein, above-mentioned exception information can be connecting line disconnection or the chip pin on peripheral device interface or device
The abnormal conditions such as not connected.
Wherein, above-mentioned suggestion device 112 can be indicator light;
The indicator light is connect with device 111 is judged, the judging result for judging that device 111 transmits is received, if above-mentioned judgement
As a result instruction mainboard and daughter board are not connected, then indicator light is bright.
Comparator 140 compares the level value of first input end and the input of the second input terminal, that is, compares daughter board pull-up resistor 120
The level value inputted with level generator 130, and compare the size of the level value, comparison result is obtained, which is passed
It is defeated by the judgement device 111 of mainboard 110, by judging that device 111 judges whether mainboard is in daughter board according to above-mentioned comparison result
Connection status, and the judging result is transferred to indicator light, when above-mentioned indicator light receives the judgement knot for judging that device 111 transmits
After fruit, if above-mentioned judging result is that mainboard and daughter board are in not-connected status, indicator light can be bright, to inform staff
Mainboard and daughter board are in not-connected status.
Wherein, above-mentioned suggestion device 112 can also be TTS (Text to Speech, text-to-speech) broadcast device;
Above-mentioned TTS broadcast device is connect with device 111 is judged, the judging result for judging that device 111 transmits is received, if this is sentenced
Disconnected result instruction mainboard and daughter board are not connected, then TTS broadcast device broadcasts speech prompt information.
Comparator 140 compares the level value of first input end and the input of the second input terminal, that is, compares daughter board pull-up resistor 120
The level value inputted with level generator 130, and compare the size of the level value, comparison result is obtained, which is passed
It is defeated by the judgement device 111 of mainboard, by judging that device 111 judges mainboard is connect with whether daughter board is according to above-mentioned comparison result
State, and the judging result is transferred to TTS broadcast device, when TTS broadcast device receives the judgement that above-mentioned judgement device 111 transmits
As a result after, if the judging result is that mainboard and daughter board are in not-connected status, TTS broadcast device can broadcast speech prompt information,
The speech prompt information can be the voice broadcast information pre-set.
Cell phone mainboard provided in an embodiment of the present invention and daughter board device connection status detection, including mainboard, daughter board pull-up electricity
Resistance, level generator and comparator, wherein the first input end of comparator is connect with daughter board pull-up resistor, the second input terminal and
Level generator connection receives the level value of daughter board pull-up resistor and level generator input respectively, and more above-mentioned first defeated
The level value for entering end and the second input terminal, obtains comparison result, the comparison result is transferred to mainboard by the output end of comparator,
Mainboard determines the connection status between mainboard and daughter board according to the comparison result, in this way when mainboard judges that mainboard is in daughter board
When connection status, mainboard can just access peripheral device interface or device on daughter board, improve efficiency.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (9)
1. a kind of cell phone mainboard and daughter board device connection status detection characterized by comprising mainboard, daughter board pull-up resistor, electricity
It grows up to be a useful person all one's life and comparator;
The first input end of the comparator is connect with the daughter board pull-up resistor, the second input terminal of the comparator with it is described
Level generator connection, level value and the level generator input for receiving the daughter board pull-up resistor input respectively are preset
Level value;
The level value and the level generator of the comparator daughter board pull-up resistor input input preset level
Size relation between value;
If the level value of the daughter board pull-up resistor input, which is greater than the level generator, inputs preset level value, described
Comparator generates high level signal as comparative result;
If the level value of the daughter board pull-up resistor input is less than or equal to the level generator and inputs preset level value,
Then the comparator generates low level signal as comparative result;
The output end of the comparator is connect with the mainboard, transmits the comparison result to the mainboard, the mainboard according to
The comparison result determines the connection status between the mainboard and daughter board.
2. detection device according to claim 1, which is characterized in that the mainboard includes judging device;
The judgement device is connect with the output end of the comparator, receives the comparison result of comparator transmission, and according to
The comparison result determines the connection status between the mainboard and the daughter board.
3. detection device according to claim 2, which is characterized in that the judgement device receives the comparator transmission
Comparison result, if the comparison result is high level signal, it is determined that the connection status between the mainboard and the daughter board
To have connected;
If the comparison result is low level signal, it is determined that the connection status between the mainboard and the daughter board is not connect
It connects.
4. detection device according to claim 3, which is characterized in that when the judgement device determine the mainboard with it is described
Connection status between daughter board is the peripheral device interface or device when having connected, on the mainboard starting lookup daughter board
Operation.
5. detection device according to claim 4, which is characterized in that the mainboard further includes suggestion device;
The suggestion device is connect with the judgement device, the judging result of the judgement device transmission is received, if described sentence
Disconnected result indicates that the mainboard and the daughter board are not connected, then the suggestion device exports prompt information, and the prompt information is used
It is not connected in the prompt mainboard and the daughter board.
6. detection device according to claim 5, which is characterized in that when the mainboard inquires the periphery on the daughter board
When the exception information of equipment interface or device, the mainboard also transmits the exception information to the suggestion device, the prompt
Device exports corresponding abnormal prompt information according to the exception information.
7. detection device according to claim 5, which is characterized in that the suggestion device is indicator light;
The indicator light is connect with the judgement device, the judging result of the judgement device transmission is received, if the judgement
As a result indicate that the mainboard and the daughter board are not connected, then the indicator light is lighted.
8. detection device according to claim 5, which is characterized in that the suggestion device is text-to-speech TTS casting
Device;
The TTS broadcast device is connect with the judgement device, the judging result of the judgement device transmission is received, if described sentence
Disconnected result indicates that the mainboard and the daughter board are not connected, then the TTS broadcast device broadcasts speech prompt information.
9. detection device according to claim 1, which is characterized in that the daughter board pull-up resistor other end and cellular phone power supplies
By key connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610459178.1A CN105847503B (en) | 2016-06-22 | 2016-06-22 | A kind of cell phone mainboard and daughter board device connection status detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610459178.1A CN105847503B (en) | 2016-06-22 | 2016-06-22 | A kind of cell phone mainboard and daughter board device connection status detection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105847503A CN105847503A (en) | 2016-08-10 |
CN105847503B true CN105847503B (en) | 2019-10-01 |
Family
ID=56576352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610459178.1A Active CN105847503B (en) | 2016-06-22 | 2016-06-22 | A kind of cell phone mainboard and daughter board device connection status detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847503B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110095683A (en) * | 2019-04-12 | 2019-08-06 | 华勤通讯技术有限公司 | A kind of equipment detection method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111816A (en) * | 2005-02-01 | 2008-01-23 | 惠普开发有限公司 | Systems and methods for controlling use of power in a computer system |
CN104063296A (en) * | 2014-06-30 | 2014-09-24 | 华为技术有限公司 | Veneer in-place state detection method and device |
CN104218936A (en) * | 2014-08-18 | 2014-12-17 | 山东超越数控电子有限公司 | Laptop screen opening and closing detection method based on capacitive recognition principle |
CN104821813A (en) * | 2015-05-21 | 2015-08-05 | 广东安居宝数码科技股份有限公司 | Key input device and method based on piezoelectric effect |
CN105182154A (en) * | 2015-08-25 | 2015-12-23 | 广东欧珀移动通信有限公司 | Universal serial bus interface detection circuit and method |
-
2016
- 2016-06-22 CN CN201610459178.1A patent/CN105847503B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101111816A (en) * | 2005-02-01 | 2008-01-23 | 惠普开发有限公司 | Systems and methods for controlling use of power in a computer system |
CN104063296A (en) * | 2014-06-30 | 2014-09-24 | 华为技术有限公司 | Veneer in-place state detection method and device |
CN104218936A (en) * | 2014-08-18 | 2014-12-17 | 山东超越数控电子有限公司 | Laptop screen opening and closing detection method based on capacitive recognition principle |
CN104821813A (en) * | 2015-05-21 | 2015-08-05 | 广东安居宝数码科技股份有限公司 | Key input device and method based on piezoelectric effect |
CN105182154A (en) * | 2015-08-25 | 2015-12-23 | 广东欧珀移动通信有限公司 | Universal serial bus interface detection circuit and method |
Also Published As
Publication number | Publication date |
---|---|
CN105847503A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101754048B (en) | Method and device for processing fault of television | |
US20130254571A1 (en) | Power management method and apparatus for network access module | |
CN106254686A (en) | A kind of mobile terminal and anti-theft protection method thereof | |
CN205538070U (en) | Electronic equipment and detecting system entries thereof | |
CN105071484B (en) | A kind of charging method and device of the terminal with data exchanging function | |
CN106253977A (en) | The method of adjustment of LOS alarm decision threshold and optical module | |
CN106330467A (en) | Ethernet power supply method, power supply device and power supply equipment | |
CN107547210A (en) | A kind of non-standard power supply unit, power receiving equipment and system | |
CN113725951A (en) | Charging management method and device, terminal device and storage medium | |
CN105847503B (en) | A kind of cell phone mainboard and daughter board device connection status detection | |
CN105048018B (en) | The charging method and device of a kind of terminal with data exchanging function | |
CN104683601A (en) | Detection method and detection device of working condition of telephone set | |
US9859813B2 (en) | Power converter and method for setting the operation and the start-up of a power converter | |
CN111352787B (en) | GPU topology connection detection method, device, equipment and storage medium | |
CN210838007U (en) | Battery equalization circuit and power supply device | |
CN106597085B (en) | Power consumption testing method, device and system | |
CN106655339B (en) | A kind of charging management method of mobile terminal, device and mobile terminal | |
CN103123463B (en) | A kind of method and device of control system state | |
KR960002065A (en) | Portable Information Processing System Leveraging Wireless Selective Call Receivers | |
CN107643494A (en) | A kind of memory supply network is for electric battery check device and method | |
CN112860501A (en) | Detection method, detection device, storage medium and mobile terminal | |
CN114520524A (en) | Power supply device, power supply method, and power supply system | |
CN112748375B (en) | Electricity core line preface detecting system | |
CN105974443A (en) | Installation test method, server and system for GPS terminal | |
CN111144733A (en) | Platform identification method and device, metering automation terminal and readable storage medium |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231124 Address after: Building 1, Zhongke Zhigu Industrial Park, Longjiang Avenue, Jiaomei Town, Zhangzhou Taiwanese Investment Zone, Zhangzhou City, Fujian Province, 363000 Patentee after: Zhangzhou zhongkezhigu Technology Co.,Ltd. Address before: 563000 room 206, second floor, Xinpu Economic Development Zone Office, Zunyi City, Guizhou Province Patentee before: GUIZHOU WANZHEN TIME COMMUNICATIONS TECHNOLOGY Co.,Ltd. |