CN109522761A - Mobile terminal product tears machine testing and protection open - Google Patents

Mobile terminal product tears machine testing and protection open Download PDF

Info

Publication number
CN109522761A
CN109522761A CN201810595429.8A CN201810595429A CN109522761A CN 109522761 A CN109522761 A CN 109522761A CN 201810595429 A CN201810595429 A CN 201810595429A CN 109522761 A CN109522761 A CN 109522761A
Authority
CN
China
Prior art keywords
terminal
gpio
open
shell
elastic slice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810595429.8A
Other languages
Chinese (zh)
Inventor
姜武爽
杨永祥
张浩杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN109522761A publication Critical patent/CN109522761A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/86Secure or tamper-resistant housings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/86Secure or tamper-resistant housings
    • G06F21/87Secure or tamper-resistant housings by means of encapsulation, e.g. for integrated circuits

Abstract

It is a kind of to tear machine testing method open for terminal, wherein, at least two GPIO of processor respectively on mainboard elastic slice and/or foam contact, the elastic slice and/or foam are grounded with contact structure, the structural member connection is on the shell, which comprises the current potential that the terminal detects the GPIO is raised;It is raised in response to the current potential of at least two GPIO, the terminal determines that the shell is separated with the mainboard, and record tears machine event open in the terminal.

Description

Mobile terminal product tears machine testing and protection open
Technical field
The present embodiments relate to the communications field more particularly to mobile terminal tear machine state-detection open and hardware system is protected Shield.
Background technique
Mobile terminal product (including but unlimited and plate and mobile phone products, laptop, intelligent wearable device, data Card etc.) maintenance and after sale during it is easy to appear the problem of machine is brought is torn open because improper, be easy to appear electrification disassemble a machine part burning It ruins or the improper machine of tearing open of user causes maintenance after problem to be not easy the problem of judging and causing customer complaint
The technical solution of the prior art one:
After the completion of complete machine installation, in A, B shell component (A shell component: refers to structure semi-finished product of the complete machine close to the one side LCD Component;B shell component: refer to structure semi-finished product module of the complete machine close to battery cover one side) increase a frangible label on joint close and comes It solves, judges whether user carried out tearing machine open by the state of frangible label after sale.
The prior art one has the disadvantage that
It can not solve to tear the judgement of machine state before frangible label is pasted open;
Because frangible label is readily available on the market, user can stick frangible label progress maintenance after voluntarily tearing machine open again;
Can not effectively solve the problems, such as to tear open in machine maintenance process to plug: battery connector can be used after assembling OK because of complete machine Steel disc is locked, and LCD generally takes ZIF connector, and producing line engineer, which tears open, often first tears LCD connector open in machine maintenance process, Pond is powered off again, and is easy to appear device burnout problems.
The technical solution of the prior art two
It carries out tearing machine state-detection and protection open by increasing by one group of magnet and HALL sensor.
The shortcomings that prior art two:
At high cost, magnet+HALL sensor cost is very high;
Magnetic interference, because, generally there are compass or leather sheath folding detection HALL senor, increasing by one group of magnet on mainboard It is easy to influence the compass and original HALL sensor on mainboard with HALL sensor.
Summary of the invention
On the one hand, machine testing method is torn open for terminal the embodiment of the invention provides a kind of, wherein processor is at least Two GPIO respectively on mainboard elastic slice and/or foam contact, the elastic slice and/or foam are grounded with contact structure, The structural member connection is on the shell, which comprises the current potential that the terminal detects the GPIO is raised;And in response to The current potential of at least two GPIO is raised, and the terminal determines that the shell is separated with the mainboard, is recorded in the terminal Tear machine event open.In the present embodiment, not needing to increase additional hardware cost can be effectively detected whether terminal tears open Machine event.
According to a kind of possible embodiment, the method further includes: in response to the current potential quilt of described two GPIO It draws high, the terminal cuts off backlight electric power.In the present embodiment, it can be burnt to avoid device caused by hot plugging.
According to a kind of possible embodiment, the method further includes: in response to the current potential quilt of described two GPIO It draws high, the terminal executes system closedown.In the present embodiment, user data can be saved in time.
According to a kind of possible embodiment, the machine logout of tearing open is in the system log of the terminal.In this reality It applies in mode, can be convenient and check whether terminal is abnormal and tear machine event open.
According to a kind of possible embodiment, the structural member includes LCD backboard or center metalwork.In present embodiment In, it can use the existing device of terminal, it is at low cost.
According to a kind of possible embodiment, the backlight electric power is controlled by a logic gate, and the logic gate includes one A NMOS tube or triode, two diodes and backlight control GPIO.In the present embodiment, structure is simple, at low cost.
On the other hand, the embodiment of the invention provides a kind of terminals, comprising: processor, the processor include two GPIO;Mainboard, including elastic slice and/or foam, described two GPIO are contacted with the elastic slice and/or foam respectively;Structural member, institute Elastic slice and/or foam are stated with the contact structure to be grounded;And shell, the structural member connection is on the housing;Wherein, It is raised in response to the current potential of described two GPIO, the terminal determines that the shell is separated with the mainboard, remembers in the terminal Machine event is torn in record open.
It is noted that the embodiment of the present invention can reach different technical effects in any combination.
Through the above scheme, whether the embodiment of the present invention, which can effectively detect terminal at low cost and be abnormal, tears machine thing open Part, and protect device and user data.
Detailed description of the invention
Fig. 1 is according to a kind of schematic diagram for the terminal device that possible embodiment provides of the present invention.
Fig. 2 shows be the terminal device that a kind of possible embodiment provides according to the present invention part-structure frame Figure.
Fig. 3 shows a kind of grounding elastic slice and structure of the terminal device that possible embodiment provides according to the present invention Stack schematic diagram.
Fig. 4 shows that a kind of ground connection for the terminal device that possible embodiment provides closes shell section according to the present invention Figure.
Fig. 5 shows a kind of rear dress option A for the terminal device that possible embodiment provides according to the present invention, B shell Component detection circuit diagram.
Fig. 6 shows that a kind of A for the terminal device that possible embodiment provides, B shell tear machine state open according to the present invention The status diagram of lower detection elastic slice.
Fig. 7 shows that a kind of A for the terminal device that possible embodiment provides, B shell close shelly-shaped state according to the present invention The status diagram of lower detection elastic slice.
Fig. 8 show the terminal device that a kind of possible embodiment provides according to the present invention based on detection elastic slice shape State hardware controls backlight circuit schematic diagram.
Fig. 9 shows a kind of GPIO detection control stream of terminal device that possible embodiment provides according to the present invention Cheng Tu.
Figure 10 shows a kind of rear dress option A for the terminal device that possible embodiment provides according to the present invention, B shell Component detection circuit diagram.
Figure 11 shows and chooses on a kind of B shell component for the terminal device that possible embodiment provides according to the present invention 2 detection conducting foams are used for A, and B shell closes shell detection schematic diagram.
Figure 12 shows that a kind of A for the terminal device that possible embodiment provides, B shell tear machine state open according to the present invention The status diagram of lower detection conducting foam.
Figure 13 shows that a kind of A for the terminal device that possible embodiment provides, B shell close shelly-shaped state according to the present invention Lower detection conducting foam and front housing are grounded schematic diagram.
Figure 14 shows a kind of the conductive based on detection of the terminal device that possible embodiment provides according to the present invention Foam State hardware controls backlight circuit schematic diagram.
Specific embodiment
Fig. 1 is according to a kind of schematic diagram for the terminal device that possible embodiment provides of the present invention.
The present embodiments relate to terminal device 100 may include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, TV, can wear Wear equipment, AR, VR equipment etc..
By terminal device 100 be mobile phone for, Fig. 2 shows be mobile phone 100 relevant to the embodiment of the present invention part The block diagram of structure.With reference to Fig. 2, mobile phone 100 includes, RF (Radio Frequency, radio frequency) circuit 110, memory 120, other Input equipment 130, display screen 140, sensor 150, voicefrequency circuit 160, I/O subsystem 170, processor 180 and power supply 190 equal components.It, can be with it will be understood by those skilled in the art that handset structure shown in Figure 2 does not constitute the restriction to mobile phone Certain components or different component cloth are perhaps split including than illustrating more or fewer components, perhaps combining certain components It sets.Skilled person is understood that display screen 140 belongs to user interface (UI, User Interface), and mobile phone 100 It may include than illustrating more or less user interface.
It is specifically introduced below with reference to each component parts of the Fig. 2 to mobile phone 100:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 180;In addition, the data for designing uplink are sent to base station.In general, RF circuit packet Include but be not limited to antenna, at least one amplifier, transceiver, coupler, LNA (Low Noise Amplifier, low noise Amplifier), duplexer etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The nothing Any communication standard or agreement, including but not limited to GSM (Global System of Mobile can be used in line communication Communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet without Line service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), electronics Mail, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing the various function application and data processing of mobile phone 100.Memory 120 can be main Including storing program area and storage data area, wherein storing program area can answer needed for storage program area, at least one function With program (such as sound-playing function, image playing function etc.) etc.;Storage data area, which can be stored, uses institute according to mobile phone 100 Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 120 may include high-speed random access memory, It can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-states are deposited Memory device.
Other input equipments 130 can be used for receiving the number or character information of input, and generate the user with mobile phone 100 Setting and the related key signals input of function control.Specifically, other input equipments 130 may include but be not limited to secondary or physical bond (light mouse is that do not show can for disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick, light mouse Depending on the touch sensitive surface exported, or the extension of touch sensitive surface formed by touch screen) etc. one of or it is a variety of. Other input equipments 130 are connected with other input device controls devices 171 of I/O subsystem 170, in other equipment input control Signal interaction is carried out with processor 180 under the control of device 171.
Display screen 140 can be used for showing information input by user or be supplied to user information and mobile phone 100 it is each Kind menu can also receive user's input.Specific display screen 140 may include display panel 141 and touch panel 142.Its Middle display panel 141 can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. forms configure display panel 141.Touch panel 142, also referred to as For touch screen, touch-sensitive screen etc., collecting the on it or neighbouring contact of user or Touchless manipulation, (for example user uses hand The operation of any suitable object or attachment such as finger, stylus on touch panel 142 or near touch panel 142, can also be with Including somatosensory operation;The operation includes the action types such as single-point control operation, multiparty control operation.), and according to preset Formula drives corresponding attachment device.Optionally, touch panel 142 may include two portions of touch detecting apparatus and touch controller Point.Wherein, touch orientation, the posture of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and being converted into processor can The information of processing, then give processor 180, and order that processor 180 is sent can be received and executed.Furthermore, it is possible to adopt Touch panel 142 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves, it can also be using the following hair Any technology of exhibition realizes touch panel 142.Further, touch panel 142 can cover display panel 141, and user can root (the display content includes but is not limited to soft keyboard, virtual mouse, virtual key, icon to the content shown according to display panel 141 Etc.), it is operated on the touch panel 142 covered on display panel 141 or nearby, touch panel 142 detects After touch operation on or near it, processor 180 is sent to by I/O subsystem 170 with determine the type of touch event with It determines that user inputs, is followed by subsequent processing device 180 and is above mentioned by I/O subsystem 170 in display panel 141 according to the type of touch event For corresponding visual output.Although touch panel 142 and display panel 141 are come in fact as two independent components in Fig. 2 The input and input function of existing mobile phone 100, but in some embodiments it is possible to touch panel 142 and display panel 141 are collected At and that realizes mobile phone 100 output and input function.
Mobile phone 100 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when mobile phone 100 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in all directions Axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as Horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor that mobile phone 100 can also configure, herein not It repeats again.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and mobile phone 100.Audio Signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Signal output;On the other hand, the voice signal of collection is converted to signal by microphone 162, is converted after being received by voicefrequency circuit 160 For audio data, then audio data exported to RF circuit 108 to be sent to such as another mobile phone, or audio data is exported To memory 120 to be further processed.
I/O subsystem 170 is used to control the external equipments of input and output, may include other equipment input controller 171, Sensor controller 172, display controller 173.Optionally, other one or more input control apparatus controllers 171 from its His input equipment 130 receives signal and/or sends signal to other input equipments 130, other input equipments 130 may include Physical button (push button, rocker buttons etc.), dial, slide switch, control stick, click idler wheel, (light mouse is not aobvious to light mouse Show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch screen).It is worth explanation It is that other input control apparatus controllers 171 can be connect with any one or multiple above equipments.The I/O subsystem 170 In display controller 173 from display screen 140 receive signal and/or to display screen 140 send signal.Display screen 140 detects To after user's input, user's input that display controller 173 will test is converted to and is shown in user circle on display screen 140 In face of the interaction of elephant, i.e. realization human-computer interaction.Sensor controller 172 can be received from one or more sensor 150 to be believed Number and/or to one or more sensor 150 send signal.
Processor 180 is the control centre of mobile phone 100, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of mobile phone 100, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing units;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile phone 100 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system Etc. functions.
Although being not shown, mobile phone 100 can also include camera, bluetooth module etc., and details are not described herein.
Fig. 3 is to be shown according to the grounding elastic slice and build stack of a kind of terminal device that possible embodiment provides of the present invention It is intended to.Fig. 4 shows that a kind of ground connection for the terminal device that possible embodiment provides closes shell sectional view according to the present invention.Such as Shown in Fig. 3 and Fig. 4, mobile terminal product (including but not limited to plate and mobile phone products, laptop, intelligent wearable device, Data card etc.), general structure stack assembly scheme is as follows:
LCD, front casing structure part etc. form A shell component;Mainboard, battery, the rest parts such as battery cover assemble B shell component.
Plate or mobile phone products LCD backboard all design substantially for steel disc, for guarantee complete machine ESD, EMC and RF performance, generally Mainboard and LCD backboard steel disc and center can be grounded using elastic slice.
The embodiment of the present invention one:
Elastic slice is grounded implementation:
Step 1: using 2 GPIO (General Purpose Input Output) Lai Jinhang A, B shell foldings on mainboard State detection circuit implementation:
It chooses upper 2 GPIO of CPU and is used for A, the detection of B shell folding condition;
Can generally exist on mainboard and relatively be chiefly used in mainboard and structure or elastic slice that LCD metalwork is grounded, wherein 2 can be chosen It is a to be used to detect.
In possible embodiment, more than two GPIO can also can also be used only with a GPIO for detecting For detecting.
Fig. 5 shows a kind of rear dress option A for the terminal device that possible embodiment provides according to the present invention, B shell Component detection circuit diagram.As shown in figure 5, circuit theory is as follows:
It chooses the elastic slice that 2 are originally used for ground connection to be used to detect, be connected with CPU GPIO, elastic slice position can be in mainboard Longitudinal direction two sides up and down, such as detection elastic slice 1 above mainboard, detect elastic slice 2 below mainboard;
A, B shell close under shelly-shaped state, and detection elastic slice 1,2 and LCD backboard steel disc or center metal pieces into contact are grounded at this time, GPIO1,2, it is pulled low;
When A, B shell are dismantled or are unassembled, detection elastic slice 1,2 can not be in LCD backboard steel disc or center metal pieces into contact Vacant state, therefore GPIO1,2 are drawn high by IOVCC (Input output Voltage circuit);
A, B shell close under shelly-shaped state, pass through grounding elastic slice or conductive bubble between LCD backboard steel disc or center metalwork and mainboard Cotton 1,2 ... N and mainboard GND is grounded.
Decision logic truth table is as follows:
State Close shelly-shaped state Tear machine state open
GPIO1 0 1
GPIO2 0 1
Table 1 closes shell and tears machine state bare machine truth table open
Step 2: LCD backboard steel disc/center metalwork and mainboard carry out A by detection elastic slice state, B shell opens and closes shape State detection structure implementation:
Fig. 6 shows that a kind of A for the terminal device that possible embodiment provides, B shell tear machine state open according to the present invention The status diagram of lower detection elastic slice.Fig. 7 shows a kind of terminal device that possible embodiment provides according to the present invention A, B shell close under shelly-shaped state detect elastic slice status diagram.As shown in Figure 6 and Figure 7, structure realizes that figure is as follows:
Mainboard (on B shell) respectively chooses an elastic slice close to mainboard upper and lower ends:
1. testing principle
1) A, B shell close under shelly-shaped state, pass through grounding elastic slice 1,2 ... N and master between LCD backboard steel disc or center metalwork and mainboard Plate GND ground connection;
2) after A, B shell close under shelly-shaped state, detection elastic slice 1,2 and LCD backboard steel disc or center metal pieces into contact are grounded at this time, GPIO1,2, it is pulled low;
3) when A, B shell are dismantled or are unassembled, detection elastic slice 1,2 can not LCD backboard steel disc or center metal pieces into contact, therefore GPIO1,2 are drawn high by IOVCC.
Step 3: single elastic slice oxidation or deformation cause the solution of elastic slice imperfect earth:
Causing elastic slice imperfect earth to prevent single elastic slice oxidation or deformation, spy carries out state-detection using 2 elastic slices, as long as Having and is greater than an elastic slice ground connection, system detection is grounded to GPIO or two GPIO, and it is judged as that system is in and closes shelly-shaped state, Judge that truth table is as follows:
State Close shelly-shaped state Close shelly-shaped state Close shelly-shaped state Tear machine state open
GPIO1 0 0 1 1
GPIO2 0 1 0 1
Table 2 closes shelly-shaped state and tears machine state truth table open
Step 4: controlling backlight circuit based on detection elastic slice ground state, realize that cutting backlight is electric when tearing machine open on hardware Source:
Fig. 8 shows a kind of the hard based on detection elastic slice state of the terminal device that possible embodiment provides according to the present invention Part controls backlight circuit schematic diagram.As shown in figure 8, based on detection elastic slice ground state, it, can in the case where closing shelly-shaped state and tearing machine state open By increasing a NMOS tube (or triode) and 2 diodes and backlight control GPIO3 on existing backlight control circuit It forms a logic gate and carrys out control switch, realization cuts off backlight electric power when tearing machine open, while can also notify cpu system, cpu system Shutdown protection system.
Step 5: controlling backlight circuit truth table based on detection elastic slice State hardware:
It, can be by increasing NMOS tube and 2 on existing backlight control circuit in the case where closing shelly-shaped state and tearing machine state open A diode and backlight control GPIO3 form a logic gate and carry out control switch, and realization cuts off backlight electric power when tearing machine open, while It can notify cpu system, cpu system shutdown protection system.
Table 3 is based on detection elastic slice State hardware and controls backlight circuit truth table
Step 6: detection elastic slice state to notify cpu system, complete machine abnormal monitoring may be implemented shut down in time to protect be System:
Fig. 9 shows a kind of GPIO detection control stream of terminal device that possible embodiment provides according to the present invention Cheng Tu.As shown in figure 9, GPIO1, GPIO2 can be drawn high when tearing machine state open, cpu system, which detects, at this time tears machine anomalous event open, Log is recorded, and starts shutdown process and closes system, to protect system.Realize that complete machine tears the real time monitoring of machine state open extremely.
In a kind of possible embodiment, terminal detect the voltage of at least one GPIO by the low event got higher, then The voltage of two GPIO is detected, when being all high, confirmly detects and tears machine anomalous event open.
Step 7: realizing that user tears machine monitoring open, reduce because user's malice tears machine bring FFR or anomalous event open:
After product is sold in the market, when user voluntarily maliciously tears machine open, GPIO1, GPIO2 can be drawn high, at this time cpu system It detects and tears machine anomalous event open, record log and modify and tear machine state flag bit open, and start shutdown process and close system.Repair net Point can tear machine state flag bit open by detection to judge whether user carried out tearing machine open, reduce because user's malice tears machine bring open FFR or anomalous event.
Step 8: producing line battery, in A, B shell component packaging efficiency is promoted:
After increasing foregoing circuit and control logic, producing line battery can be promoted in the efficiency of B shell component group installation and dismantling machine, group Directly battery FPC connector can be fastened to above motherboard connector when dress, can at least reduce 10s working hour.
Step 9: reducing producing line because device burning fault caused by machine is torn in electrification open:
When system detection is to when tearing machine open, automatically cutting off backlight electric power, therefore caused by can greatly reducing and tearing machine open because of electrification Device burnout problems.
Step 10: the machine flag bit of tearing open empties and processing scheme:
It can be set and empty flag bit by producing software tool, it could normal boot-strap.
Table 4 is torn machine flag bit open and is emptied and processing scheme
Step 11: the cost and protecting effect with prior art compare:
Because natively there is many elastic slices or foam for ground connection on mainboard, selection is wherein for 2 for earthing detection Can, elastic slice cost does not increase, it is only necessary to increase by 3 resistance, 2 diodes, 1 NMOS tube can be realized this scheme, and magnetic Iron and HALL scheme are also required to increase this circuit, therefore this programme cost is more excellent.
Each scheme contrast table of table 5
The embodiment of the present invention two:
Foam is grounded implementation:
Conducting foam is grounded implementation:
Step 1: A is carried out on mainboard using 2 GPIO, B shell folding condition detection circuit implementation:
It chooses upper 2 GPIO of CPU and is used for A, the detection of B shell folding condition
Can generally exist on mainboard and relatively be chiefly used in mainboard and structure or conducting foam that LCD metalwork is grounded, choose wherein 2 It is a to be used to detect,
Figure 10 shows a kind of rear dress option A for the terminal device that possible embodiment provides according to the present invention, B shell Component detection circuit diagram.As shown in Figure 10, circuit theory is as follows:
1) it chooses the conducting foam that 2 are originally used for ground connection to be used to detect, be connected with CPU GPIO, conducting foam position is suggested Conducting foam 2 is detected under mainboard above mainboard in the two sides up and down of the longitudinal direction of mainboard, such as detection conducting foam 1 Side;
2) after A, B shell close under shelly-shaped state, detection conducting foam 1,2 and LCD backboard steel disc or center metal pieces into contact connect at this time Ground, GPIO1,2, it is pulled low;
3) when A, B shell are dismantled or are unassembled, detection conducting foam 1,2 can not LCD backboard steel disc or center metal pieces into contact, be in Vacant state, therefore GPIO1,2 are drawn high by IOVCC;
4) A, B shell close under shelly-shaped state, pass through ground connection conducting foam or conduction between LCD backboard steel disc or center metalwork and mainboard Foam 1,2 ... N and mainboard GND is grounded.
5) decision logic truth table is as follows:
State Close shelly-shaped state Tear machine state open
GPIO1 0 1
GPIO2 0 1
Table 6 closes shell and tears machine state bare machine truth table open
Step 2: LCD backboard steel disc/center metalwork and mainboard carry out A by detection conducting foam state, B shell is opened Conjunction state detection structure implementation:
Figure 11 shows and chooses on a kind of B shell component for the terminal device that possible embodiment provides according to the present invention 2 detection conducting foams are used for A, and B shell closes shell detection schematic diagram.Figure 12 shows a kind of possible embodiment party according to the present invention The A for the terminal device that formula provides, B shell tear the status diagram that conducting foam is detected under machine state open.Figure 13 is shown according to this A kind of A of terminal device that possible embodiment provides is invented, B shell closes detection conducting foam under shelly-shaped state and shows with front housing ground connection It is intended to.As figs 11-13, structure realizes that figure is as follows:
Mainboard (on B shell) respectively chooses a conducting foam close to mainboard upper and lower ends.
Testing principle:
A, B shell close under shelly-shaped state, by being grounded conducting foam 1 between LCD backboard steel disc or center metalwork and mainboard, 2 ... N and mainboard GND are grounded;
After A, B shell close under shelly-shaped state, detection conducting foam 1,2 and LCD backboard steel disc or center metal pieces into contact connect at this time Ground, GPIO1,2, it is pulled low;
When A, B shell are dismantled or are unassembled, detection conducting foam 1,2 can not LCD backboard steel disc or center metal pieces into contact, because This GPIO1,2 are drawn high by IOVCC.
Step 3: single conducting foam oxidation or deformation cause the solution of conducting foam imperfect earth:
Cause conducting foam imperfect earth to prevent single conducting foam oxidation or deformation, spy is carried out using 2 conducting foams State-detection, as long as there is greater than one conducting foam ground connection, system detection is grounded to GPIO or two GPIO, is judged as System, which is in, closes shelly-shaped state, judges that truth table is as follows.
State Close shelly-shaped state Close shelly-shaped state Close shelly-shaped state Tear machine state open
GPIO1 0 0 1 1
GPIO2 0 1 0 1
Table 7 closes shelly-shaped state and tears machine state truth table open
Step 4: controlling backlight circuit based on detection conducting foam ground state, realize that cutting is carried on the back when tearing machine open on hardware Photoelectric source:
Figure 14 shows a kind of the conductive based on detection of the terminal device that possible embodiment provides according to the present invention Foam State hardware controls backlight circuit schematic diagram.As shown in figure 14, based on detection conducting foam ground state, shelly-shaped state is being closed With tear open under machine state, can pass through and increase NMOS tube and 2 diodes and backlight control on existing backlight control circuit GPIO3 forms a logic gate and carrys out control switch, and realization cuts off backlight electric power when tearing machine open, while can also notify cpu system, Cpu system shutdown protection system.
Step 5: controlling backlight circuit truth table based on detection conducting foam State hardware:
It, can be by increasing NMOS tube and 2 on existing backlight control circuit in the case where closing shelly-shaped state and tearing machine state open A diode and backlight control GPIO3 form a logic gate and carry out control switch, and realization cuts off backlight electric power when tearing machine open, while It can notify cpu system, cpu system shutdown protection system.
Table 8 is based on detection conducting foam State hardware and controls backlight circuit truth table
Step 6: detecting conducting foam state to notify cpu system, complete machine abnormal monitoring may be implemented and shut down in time to protect Protecting system:
As shown in figure 9, GPIO1, GPIO2 can be drawn high when tearing machine state open, cpu system, which detects, at this time tears machine exception thing open Part records log, and starts shutdown process and close system, to protect system, realizes that complete machine tears the real-time prison of machine state open extremely Control.
Step 7: realizing that user tears machine monitoring open, reduce because user's malice tears machine bring product failure feedback proportional FFR open (Fault Feedback Ratio) or anomalous event:
After product is sold in the market, when user voluntarily maliciously tears machine open, GPIO1, GPIO2 can be drawn high, at this time cpu system It detects and tears machine anomalous event open, record log and modify and tear machine state flag bit open, and start shutdown process and close system.Repair net Point can tear machine state flag bit open by detection to judge whether user carried out tearing machine open, reduce because user's malice tears machine bring open FFR or anomalous event.
Step 8: producing line battery, in A, B shell component packaging efficiency is promoted:
After increasing foregoing circuit and control logic on existing backlight control circuit, producing line battery is assembled in B shell component It can be promoted with the efficiency for machine of tearing open, when assembling can directly fasten to battery FPC connector above motherboard connector, can be down to Reduce 10s working hour less.
Step 9: reducing producing line because device burning fault caused by machine is torn in electrification open:
When system detection is to when tearing machine open, automatically cutting off backlight electric power, therefore caused by can greatly reducing and tearing machine open because of electrification Device burnout problems.
Step 10: the machine flag bit of tearing open empties and processing scheme:
In a kind of possible embodiment, flag bit can be emptied by producing software tool, it could normal boot-strap
Table 9 is torn machine flag bit open and is emptied and processing scheme
Step 11: the cost and protecting effect with prior art compare:
Because natively there is many conducting foams for ground connection on mainboard, selection is wherein used for earthing detection for 2, Conducting foam cost does not increase, it is only necessary to increase by 3 resistance, 2 diodes, 1 NMOS tube can be realized this scheme, and magnetic Iron and HALL scheme are also required to increase this circuit, therefore this programme cost is more excellent, without increase working hour.
Each scheme contrast table of table 10
This programme can be at mobile terminal product (including but not limited to tablet computer, mobile phone, smartwatch, data card etc.) Upper importing is simultaneously applied, and following income can be brought:
1. being realized with a low cost complete machine tears machine condition monitoring open;
2. LCD backlight circuit when tearing machine open come protection exception by hardware circuit or fall;
3. complete machine abnormal monitoring may be implemented to be shut down in time to protect system;
4. realizing that user tears machine monitoring open, reduce because user's malice tears machine bring FFR or anomalous event open;
5. promoting producing line packaging efficiency, battery component can be first fastened on mainboard by producing line, A, and B shell component need not be carried on a shoulder pole when assembling Heart LCD plugs problem;
6. reducing producing line because device burning fault caused by machine is torn in electrification open.
Dress stacking scheme is the current most common build stack scheme, this solution party after filling stacking scheme and mainboard before mainboard Case includes but is not limited to both stacking forms, any using the similar detection scheme derivative of scheme thus.
CPU: being referring to for application processor or central processing unit, including be not limited to CPU, AP, SOC, EC, MCU, FPGA Equal processors.
Elastic slice: elastic slice described herein is to refer to, including be not limited to elastic slice, conducting foam, metalwork, the structures such as screw Implementation.
Dress stacking scheme is the current most common build stack scheme, this solution party after filling stacking scheme and mainboard before mainboard Case includes but fills both stacking forms of stacking scheme after filling stacking scheme and mainboard before unlimited and mainboard.
This programme using the elastic slice and foam of complete machine ground connection originally it is achieved that do not increase cost additionally, elastic slice or bubble Cotton is soft contact, and contact reliability is good.It can be set and be just considered to tear machine state open when two points disconnect, fool proof effect can be played Fruit.Interrupt mode can be used to realize, do not need CPU poll, do not occupy cpu resource additionally.GPIO only has 2 kinds of states, and 1. is low Level closes shelly-shaped state, and 2. high level tear machine state open, and decision logic is simple, and software realization is easy and high-efficient, and will not go out Show NC suspended state and causes to judge incorrectly.
The embodiments of the present invention can be arbitrarily combined, to realize different technical effects.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with It is realized with hardware realization or firmware realization or their combination mode.It when implemented in software, can be by above-mentioned function Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.Meter Calculation machine readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of a place transmission computer program.Storage medium can be any usable medium that computer can access.With For this but be not limited to: computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc storages, disk Storage medium or other magnetic storage apparatus or can be used in carry or store have instruction or data structure form expectation Program code and can be by any other medium of computer access.Furthermore.Any connection appropriate can become computer Readable medium.For example, if software is using coaxial cable, optical fiber cable, twisted pair, Digital Subscriber Line (DSL) or such as The wireless technology of infrared ray, radio and microwave etc is transmitted from website, server or other remote sources, then coaxial electrical The wireless technology of cable, optical fiber cable, twisted pair, DSL or such as infrared ray, wireless and microwave etc includes in affiliated medium In fixing.As used in the present invention, disk (Disk) and dish (disc) are logical including compression optical disc (CD), laser disc, optical disc, number With optical disc (DVD), floppy disk and Blu-ray Disc, the usually magnetic replicate data of which disk, and dish is then with laser come optical duplication Data.Combination above should also be as including within the protection scope of computer-readable medium.
In short, being not intended to limit protection of the invention the foregoing is merely the embodiment of technical solution of the present invention Range.All exposure according to the present invention, any modification, equivalent replacement, improvement and so on should be included in protection of the invention Within the scope of.

Claims (10)

1. a kind of tear machine testing method open for terminal, wherein at least two GPIO of processor respectively with the elastic slice on mainboard And/or foam contact, the elastic slice and/or foam are grounded with contact structure, the structural member connection is on the shell, described Method includes:
The current potential that the terminal detects the GPIO is raised;
It being raised in response to the current potential of at least two GPIO, the terminal determines that the shell is separated with the mainboard, Record tears machine event open in terminal.
2. the method as described in claim 1 further comprises: being raised in response to the current potential of described two GPIO, the end End cutting backlight electric power.
3. the method as described in aforementioned any claim, further comprises: it is raised in response to the current potential of described two GPIO, The terminal executes system closedown.
4. the method as described in aforementioned any claim, wherein the structural member includes LCD backboard or center metalwork.
5. a kind of terminal, comprising:
Processor, the processor include two GPIO;
Mainboard, including elastic slice and/or foam, described two GPIO are contacted with the elastic slice and/or foam respectively;
Structural member, the elastic slice and/or foam are grounded with the contact structure;And
Shell, the structural member connection is on the housing;
Wherein, it being raised in response to the current potential of described two GPIO, the terminal determines that the shell is separated with the mainboard, Record tears machine event open in terminal.
6. terminal as claimed in claim 5, wherein the terminal is raised in response to the current potential of described two GPIO, described Terminal cuts off backlight electric power.
7. terminal as claimed in claim 6, wherein the backlight electric power is controlled by a logic gate, and the logic gate includes One NMOS tube or triode, two diodes and backlight control GPIO.
8. the terminal as described in aforementioned any claim, further comprises: it is raised in response to the current potential of described two GPIO, The terminal executes system closedown.
9. the terminal as described in aforementioned any claim, wherein the machine logout of tearing open is in the system log of the terminal In.
10. the terminal as described in aforementioned any claim, wherein the structural member includes LCD backboard or center metalwork.
CN201810595429.8A 2017-09-18 2018-06-11 Mobile terminal product tears machine testing and protection open Pending CN109522761A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710842821 2017-09-18
CN2017108428213 2017-09-18
CN2018100113652 2018-01-05
CN201810011365 2018-01-05

Publications (1)

Publication Number Publication Date
CN109522761A true CN109522761A (en) 2019-03-26

Family

ID=65769795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810595429.8A Pending CN109522761A (en) 2017-09-18 2018-06-11 Mobile terminal product tears machine testing and protection open

Country Status (1)

Country Link
CN (1) CN109522761A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112684866A (en) * 2021-01-06 2021-04-20 素泰智能科技(上海)有限公司 Hardware and structure for improving protection performance of expansion port
CN113178130A (en) * 2021-03-24 2021-07-27 重庆惠科金渝光电科技有限公司 Display device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2386562Y (en) * 1999-04-27 2000-07-05 英业达股份有限公司 Portable electronic device capable of testing battery cover state and taking protection measure
CN103989295A (en) * 2014-06-13 2014-08-20 中科融通物联科技无锡有限公司 Electronic waist strap system oriented to management and control of community correction personnel and abnormal detection method thereof
CN205005099U (en) * 2015-08-14 2016-01-27 上海与德通讯技术有限公司 Electronic device
CN106156665A (en) * 2016-08-01 2016-11-23 长沙锐博特科技有限公司 A kind of cover protecting device and method
CN106603791A (en) * 2017-01-20 2017-04-26 努比亚技术有限公司 Terminal device disassembly detection device and detection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2386562Y (en) * 1999-04-27 2000-07-05 英业达股份有限公司 Portable electronic device capable of testing battery cover state and taking protection measure
CN103989295A (en) * 2014-06-13 2014-08-20 中科融通物联科技无锡有限公司 Electronic waist strap system oriented to management and control of community correction personnel and abnormal detection method thereof
CN205005099U (en) * 2015-08-14 2016-01-27 上海与德通讯技术有限公司 Electronic device
CN106156665A (en) * 2016-08-01 2016-11-23 长沙锐博特科技有限公司 A kind of cover protecting device and method
CN106603791A (en) * 2017-01-20 2017-04-26 努比亚技术有限公司 Terminal device disassembly detection device and detection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112684866A (en) * 2021-01-06 2021-04-20 素泰智能科技(上海)有限公司 Hardware and structure for improving protection performance of expansion port
CN112684866B (en) * 2021-01-06 2023-05-12 素泰智能科技(上海)有限公司 Hardware and structure for improving protection performance of expansion port
CN113178130A (en) * 2021-03-24 2021-07-27 重庆惠科金渝光电科技有限公司 Display device

Similar Documents

Publication Publication Date Title
CN106453511B (en) A kind of data back up method and equipment
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN107870790A (en) PUSH message processing method and Related product based on game application
CN106375478B (en) A kind of synchronous method of mobile terminal data, apparatus and system
CN106303733A (en) The method and apparatus playing live special-effect information
CN108334256A (en) A kind of message control method and mobile terminal
CN110212877A (en) A kind of circuit control method, electronic equipment and radio circuit
CN108628521A (en) A kind of screen operating method and mobile terminal
CN108572767A (en) A kind of method in determining external object orientation, mobile terminal
CN110058850A (en) A kind of development approach of application, device and storage medium
CN108616682A (en) A kind of camera head protecting method and terminal
CN109117041A (en) A kind of message treatment method and mobile terminal
CN109600297A (en) A kind of mark sweep-out method and terminal device
CN108829553A (en) Universal serial bus c-type interface detection circuit, detection method and electronic equipment
CN108767919A (en) A kind of charging unit, terminal device and charging method
CN103455751B (en) Password hint generation method, device and terminal equipment
CN106484260B (en) A kind of applied program processing method of mobile terminal, device and mobile terminal
CN109522761A (en) Mobile terminal product tears machine testing and protection open
CN104731782B (en) A kind of method and mobile terminal of information processing
CN106909854A (en) Picture management method, device and mobile terminal
CN107608725A (en) A kind of information processing method and terminal
CN110012152A (en) A kind of interface display method and terminal device
CN109976844A (en) A kind of message display method and mobile terminal
CN110162234A (en) A kind of application control method and terminal device

Legal Events

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

Application publication date: 20190326