CN107958169A - Anti-dismantling processing method, device and terminal - Google Patents
Anti-dismantling processing method, device and terminal Download PDFInfo
- Publication number
- CN107958169A CN107958169A CN201610908981.9A CN201610908981A CN107958169A CN 107958169 A CN107958169 A CN 107958169A CN 201610908981 A CN201610908981 A CN 201610908981A CN 107958169 A CN107958169 A CN 107958169A
- Authority
- CN
- China
- Prior art keywords
- terminal
- rear cover
- signal
- disassembled
- screw hole
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/86—Secure or tamper-resistant housings
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of Anti-dismantling processing method, device and terminal, this method includes:Obtain and be used for the signal whether instruction terminal was disassembled;Judge whether signal changes;In the case where the judgment result is yes, determine that terminal was disassembled.By the invention it is possible to solve the problems, such as to determine whether terminal is disassembled inaccuracy by false proof paster in correlation technique.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of Anti-dismantling processing method, device and terminal.
Background technology
Intelligent terminal (for example, smart mobile phone) is increasingly popularized, and human hand one is almost at present, with the increasing of intelligent terminal
More, corresponding maintenance also increases as.Within the shelf-life, producer all forbids user's realizing self disassembling, in order to ensure not by with
Family is dismantled, and producer often increases false proof sealing label paper at the screw of the terminal back side, these false proof pasters are disposable, as long as with
Family is removed, then damage is irreversible.But it is this based on the mode of paster there is also situation about being imitated, for anti-
Whether pseudo- paster is torn to pieces, and there are certain dispute.
The content of the invention
An embodiment of the present invention provides a kind of Anti-dismantling processing method, device and terminal, at least to solve in correlation technique
The problem of whether terminal is disassembled in the presence of inaccuracy is determined by false proof paster.
According to one embodiment of present invention, there is provided a kind of Anti-dismantling processing method, including:Acquisition is used for instruction terminal
The signal whether being disassembled;Judge whether the signal changes;In the case where the judgment result is yes, the end is determined
End was disassembled.
Alternatively, it is described to include at least one of for the signal whether instruction terminal was disassembled:With the terminal
The level signal of input and output I/O port that is connected of the corresponding touch switch of rear cover;Screw hole corresponding with the rear cover of the terminal
The level signal of connected I/O port;Pressure signal between the rear cover of the terminal and the terminal;The rear cover region of the terminal
The flux signal in domain.
Alternatively, the signal whether being disassembled for instruction terminal is the input and output IO being connected with touch switch
In the case of the level signal of mouth, the signal whether being disassembled for instruction terminal that obtains includes:Detect the touch-control
The state of switch;In the case of detecting that the touch switch is closure state, acquisition is connected defeated with the touch switch
Enter to export the first level signal of I/O port;In the case of detecting that the touch switch is in an open state, obtain and touched with described
The second electrical level signal of the connected input and output I/O port of control switch;Wherein, it is described to touch when the rear cover of the terminal is in an open state
Control switch is in an open state.
Alternatively, the signal whether being disassembled for instruction terminal is screw corresponding with the rear cover of the terminal
In the case of the level signal for the I/O port that hole is connected, the signal whether being disassembled for instruction terminal that obtains includes:Inspection
Whether survey in the screw hole has screw;In the case of detecting and having screw in the screw hole, obtain and the terminal
The three level signal for the I/O port that the corresponding screw hole of rear cover is connected;There is no the situation of screw in the screw hole when detecting
Under, the 4th level signal of the I/O port that acquisition screw hole corresponding with the rear cover of the terminal is connected;Wherein, the rear cover of terminal is stated
When being in an open state, there is no screw in the screw hole.
Alternatively, the signal whether being disassembled for instruction terminal for the terminal rear cover and the terminal it
Between pressure signal in the case of, described obtain is used for the signal that whether was disassembled of instruction terminal and includes:Pass through pressure sensing
The terminal when rear cover that device obtains the terminal is closure state and the first pressure signal between the rear cover of the terminal;
Between the terminal and the rear cover of the terminal is obtained when the rear cover of the terminal is in an open state by pressure sensor
Two pressure signals.
Alternatively, the signal whether being disassembled for instruction terminal is the magnetic flux near the rear cover of the terminal
In the case of signal, the signal whether being disassembled for instruction terminal that obtains includes:Institute is obtained by Hall sensor
First flux signal of the rear cover area of the terminal when rear cover for stating terminal is closure state;Obtained by Hall sensor
The second magnetic flux letter of the rear cover area of terminal when taking the rear cover of the terminal to be in an open state.
Alternatively, after the definite terminal was disassembled, further include:Obtain the signal changed time point
With the changed number of the signal;The time point that the terminal is disassembled is determined according to the time point, and according to institute
State number and determine the number that the terminal is disassembled.
Alternatively, after the signal changed time point and the changed number of the signal is obtained, also
Including:Store the time point and the number;And/or show the time point and the number.
According to another embodiment of the invention, there is provided a kind of Anti-dismantling processing unit, including:First acquisition module,
For obtaining the signal for being used for instruction terminal and whether being disassembled;Judgment module, for judging whether the signal changes;
First determining module, in the case where the judgment result is yes, determining that the terminal was disassembled.
Alternatively, it is described to include at least one of for the signal whether instruction terminal was disassembled:With the terminal
The level signal of input and output I/O port that is connected of the corresponding touch switch of rear cover;Screw hole corresponding with the rear cover of the terminal
The level signal of connected I/O port;Pressure signal between the rear cover of the terminal and the terminal;The rear cover region of the terminal
The flux signal in domain.
Alternatively, the signal whether being disassembled for instruction terminal is the input and output IO being connected with touch switch
Mouthful level signal in the case of, first acquisition module, is additionally operable to detect the state of the touch switch;When detecting
In the case of touch switch is stated as closure state, the first level letter for the input and output I/O port being connected with the touch switch is obtained
Number;And in the case of detecting that the touch switch is in an open state, it is defeated to obtain the input being connected with the touch switch
Go out the second electrical level signal of I/O port;Wherein, when the rear cover of the terminal is in an open state, the touch switch is in an open state.
Alternatively, the signal whether being disassembled for instruction terminal is screw corresponding with the rear cover of the terminal
In the case of the level signal for the I/O port that hole is connected, whether first acquisition module, being additionally operable to detect in the screw hole has
Screw;In the case of detecting and having screw in the screw hole, obtain screw hole corresponding with the rear cover of the terminal and be connected
I/O port three level signal;And in the case of it detect and there is no screw in the screw hole, obtain and the terminal
The 4th level signal of I/O port that is connected of the corresponding screw hole of rear cover;Wherein, it is described when stating the rear cover of terminal and being in an open state
There is no screw in screw hole.
Alternatively, the signal whether being disassembled for instruction terminal for the terminal rear cover and the terminal it
Between pressure signal in the case of, first acquisition module, is additionally operable to obtain the rear cover of the terminal by pressure sensor
For closure state when the terminal and the terminal rear cover between first pressure signal;And obtained by pressure sensor
Second pressure signal when taking the rear cover of the terminal to be in an open state between the terminal and the rear cover of the terminal.
Alternatively, the signal whether being disassembled for instruction terminal is the magnetic flux near the rear cover of the terminal
In the case of signal, first acquisition module, the rear cover for being additionally operable to obtain the terminal by Hall sensor is closed form
First flux signal of the rear cover area of terminal during state;The rear cover that the terminal is obtained by Hall sensor is to beat
The second magnetic flux letter of the rear cover area of terminal during open state.
Alternatively, above device further includes:Second acquisition module, for obtain the signal changed time point and
The changed number of signal;Second determining module, for according to the time point determine that the terminal is disassembled when
Between point, and the number that the terminal is disassembled is determined according to the number.
Alternatively, above device further includes:Memory module, for storing the time point and the number;Display module,
For showing the time point and the number.
According to still another embodiment of the invention, there is provided a kind of terminal, including:First baseband processor, the first power supply
Module, the first radio-frequency module and the first liquid crystal display LCD modules, it is characterised in that further include:Touch switch, the first micro-control
Unit MCU processed;Wherein, when the rear cover of the terminal is disassembled, the touch switch is in an open state, with the touch switch phase
The level of input and output I/O port even is second electrical level signal;When the rear cover of the terminal is not disassembled, the touch switch is
Closure state, the level for the input and output I/O port being connected with the touch switch is the first level signal;First MCU, is used
In the level signal for the I/O port that record is connected with touch switch, and it is sent to first baseband processor;First base band
Processor, for determining whether the terminal was disassembled according to the level signal.
According to still another embodiment of the invention, there is provided a kind of terminal, including:Second baseband processor, second source
Module, the second radio-frequency module and the second liquid crystal display LCD modules, it is characterised in that further include:Second micro-control unit MCU,
Wherein, the screw hole on the printed wiring board pcb board in the terminal is connected with the MCU, and the rear cover of the terminal is disassembled
When, there is no screw in the screw hole, the level signal of the I/O port that screw hole corresponding with the rear cover of the terminal is connected is the
Four level signals, when the rear cover of the terminal is not disassembled, have screw in the screw hole, corresponding with the rear cover of the terminal
The level signal for the IO mouths that screw hole is connected is three level signal;2nd MCU, after record and the terminal
The level signal for the I/O port that corresponding screw hole is connected is covered, and is sent to second baseband processor;At second base band
Device is managed, for determining whether the terminal was disassembled according to the level signal.
According to still another embodiment of the invention, there is provided a kind of terminal, including:3rd baseband processor, the 3rd power supply
Module, the 3rd radio-frequency module and the 3rd liquid crystal display LCD modules, it is characterised in that further include:Pressure sensor, the 3rd is micro-
Control unit MCU;Wherein, the pressure sensor, for detecting the letter of the pressure between the terminal and the rear cover of the terminal
Number;3rd MCU, for recording the pressure signal, and is sent to the 3rd baseband processor;At 3rd base band
Device is managed, for determining whether the terminal was disassembled according to the pressure signal.
According to still another embodiment of the invention, there is provided a kind of terminal, including the 4th baseband processor, the 4th power supply mould
Block, the 4th radio-frequency module and the 4th liquid crystal display LCD modules, it is characterised in that further include:Hall sensor, the 4th micro-control
Unit MCU processed;Wherein, the Hall sensor, the flux signal near rear cover for detecting the terminal;Described 4th
MCU, for recording the flux signal, and is sent to the 4th baseband processor;4th baseband processor, is used for
Determine whether the terminal was disassembled according to the flux signal.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is arranged to storage and uses
In the program code for performing following steps:Obtain and be used for the signal whether instruction terminal was disassembled;Whether judge the signal
Change;In the case where the judgment result is yes, determine that the terminal was disassembled.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is described to be used to indicate end
The signal whether being disassembled is held to include at least one of:The input that touch switch corresponding with the rear cover of the terminal is connected
Export the level signal of I/O port;The level signal for the I/O port that screw hole corresponding with the rear cover of the terminal is connected;The terminal
Rear cover and the terminal between pressure signal;The flux signal of the rear cover area of the terminal.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is described to be used to indicate end
It is described to obtain in the case of holding the level signal that the signal whether being disassembled is the input and output I/O port being connected with touch switch
Taking the signal whether being disassembled in instruction terminal includes:Detect the state of the touch switch;When detecting the touch-control
In the case of switching as closure state, the first level signal of the input and output I/O port being connected with the touch switch is obtained;When
In the case of detecting that the touch switch is in an open state, the of the input and output I/O port being connected with the touch switch is obtained
Two level signals;Wherein, when the rear cover of the terminal is in an open state, the touch switch is in an open state.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is described to be used to indicate end
Hold the situation for the level signal that the signal whether being disassembled is the I/O port that screw hole corresponding with the rear cover of the terminal is connected
Under, the signal whether being disassembled for instruction terminal that obtains includes:Whether detect in the screw hole has screw;Work as inspection
Measure in the case of having screw in the screw hole, obtain the of the I/O port that corresponding with the rear cover of terminal screw hole is connected
Three level signal;In the case of detecting and there is no screw in the screw hole, spiral shell corresponding with the rear cover of the terminal is obtained
4th level signal of the I/O port that wire hole is connected;Wherein, when stating the rear cover of terminal and being in an open state, there is no spiral shell in the screw hole
Silk.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is described to be used to indicate end
In the case of holding pressure signal of the signal whether being disassembled between the rear cover of the terminal and the terminal, the acquisition
The signal whether being disassembled for instruction terminal includes:The rear cover that the terminal is obtained by pressure sensor is closure state
When the terminal and the terminal rear cover between first pressure signal;After the terminal being obtained by pressure sensor
Second pressure signal when lid is in an open state between the terminal and the rear cover of the terminal.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is described to be used to indicate end
In the case of the signal whether being disassembled is held as the flux signal near the rear cover of the terminal, described obtain is used to indicate
The signal whether terminal was disassembled includes:Described in being obtained when the rear cover of the terminal is closure state by Hall sensor
First flux signal of the rear cover area of terminal;The rear cover that the terminal is obtained by Hall sensor is in an open state when institute
State the second magnetic flux letter of the rear cover area of terminal.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In the definite terminal
After being disassembled, further include:Obtain the signal changed time point and the changed number of the signal;Root
The time point that the terminal is disassembled is determined according to the time point, and time that the terminal is disassembled is determined according to the number
Number.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Obtaining the signal
After changed time point and the changed number of the signal, further include:Store the time point and the number;
And/or show the time point and the number.
By the present invention, obtain and be used for the signal whether instruction terminal was disassembled;Judge whether signal changes;
In the case that judging result is is, determine that terminal was disassembled.Due to whether being disassembled for instruction terminal according to acquisition
Signal determine whether terminal was disassembled, without using false proof paster so that user without passing through naked-eye observation anti-fake card again
Whether paper is removed whether definite terminal was disassembled, therefore, can be with without the problem of whether false proof paster is imitated considered
Solve the problems, such as to determine whether terminal is disassembled inaccuracy by false proof paster in correlation technique.
Brief description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the mobile terminal of Anti-dismantling processing method of the embodiment of the present invention;
Fig. 2 is the flow chart of Anti-dismantling processing method according to embodiments of the present invention;
Fig. 3 is the connection diagram of the Anti-dismantling processing method according to embodiments of the present invention based on touch switch;
Fig. 4 is the connection signal of the Anti-dismantling processing method according to embodiments of the present invention based on screw hole level change
Figure;
Fig. 5 is the connection diagram of the Anti-dismantling processing method of pressure sensor according to embodiments of the present invention;
Fig. 6 is the connection diagram of the Anti-dismantling processing method of Hall sensor according to embodiments of the present invention;
Fig. 7 is the flow of the method according to embodiments of the present invention that mobile phone electronic formula anti-fake card is realized based on touch switch
Figure;
Fig. 8 is the change according to embodiments of the present invention based on screw hole level to realize the side of mobile phone electronic formula anti-fake card
The flow chart of method;
Fig. 9 is that according to embodiments of the present invention measured based on pressure sensor pressure value is changed to realize that mobile phone electronic formula is prevented
The flow chart of the method for puppet patch;
Figure 10 is according to embodiments of the present invention to measure magnetic flux change based on Hall sensor and realize mobile phone electronic formula
The flow chart of the method for anti-fake card;
Figure 11 is the structure diagram of Anti-dismantling processing unit according to embodiments of the present invention;
Figure 12 is the preferred structure block diagram one of Anti-dismantling processing unit according to embodiments of the present invention;
Figure 13 is the preferred structure block diagram two of Anti-dismantling processing unit according to embodiments of the present invention;
Figure 14 is the terminal structure figure according to embodiments of the present invention that mobile phone electronic formula anti-fake card is realized based on touch switch;
Figure 15 is the change according to embodiments of the present invention based on screw hole level to realize mobile phone electronic formula anti-fake card
Terminal structure figure;
Figure 16 is that according to embodiments of the present invention measured based on pressure sensor pressure value is changed to realize mobile phone electronic formula
The terminal structure figure of anti-fake card;
Figure 17 is according to embodiments of the present invention to measure magnetic flux change based on Hall sensor and realize mobile phone electronic formula
The terminal structure figure of anti-fake card.
Embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application 1 is provided can be in mobile terminal, terminal or similar fortune
Calculate and performed in device.Exemplified by running on mobile terminals, Fig. 1 is a kind of shifting of Anti-dismantling processing method of the embodiment of the present invention
The hardware block diagram of dynamic terminal.As shown in Figure 1, mobile terminal 10 can include one or more (one is only shown in figure) places
(processor 102 can include but is not limited to the processing dress of Micro-processor MCV or programmable logic device FPGA etc. to reason device 102
Put), the memory 104 for storing data and the transmitting device 106 for communication function.Those of ordinary skill in the art
It is appreciated that the structure shown in Fig. 1 is only to illustrate, it does not cause to limit to the structure of above-mentioned electronic device.It is for example, mobile whole
End 10 may also include more either less components than shown in Fig. 1 or have the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, such as the tamper in the embodiment of the present invention
Unload the corresponding programmed instruction/module of processing method, processor 102 by operation be stored in software program in memory 104 with
And module, so as to perform various functions application and data processing, that is, realize above-mentioned method.Memory 104 may include at a high speed
Random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-
Volatile solid-state.In some instances, memory 104 can further comprise remotely located relative to processor 102
Memory, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network includes but not limited to
Internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include
The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation
Device (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to it is mutual
Networking is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, it is used
In wirelessly being communicated with internet.
A kind of Anti-dismantling processing method for running on above-mentioned mobile terminal or the network architecture is provided in the present embodiment, is schemed
2 be the flow chart of Anti-dismantling processing method according to embodiments of the present invention, as shown in Fig. 2, the flow includes the following steps:
Step S202, obtains and is used for the signal whether instruction terminal was disassembled, wherein, whether it is split for instruction terminal
The signal unloaded includes at least one of:The input and output I/O port that touch switch corresponding with the rear cover of the terminal is connected
Level signal;The level signal for the I/O port that screw hole corresponding with the rear cover of terminal is connected;Between the rear cover and terminal of terminal
Pressure signal;The flux signal of the rear cover area of terminal.;
Step S204, judges whether signal changes;
Step S206, in the case where the judgment result is yes, determines that terminal was disassembled.
By above-mentioned steps, due to whether determining terminal for the signal whether instruction terminal was disassembled according to acquisition
It was disassembled, without using false proof paster so that user by the way that whether the false proof paster of naked-eye observation is removed without determining eventually again
Whether end was disassembled, and without the problem of whether false proof paster is imitated considered, therefore, can solve to pass through in correlation technique
False proof paster determines the problem of whether terminal is disassembled inaccuracy.
Alternatively, the signal whether being disassembled for instruction terminal is the input and output I/O port being connected with touch switch
In the case of level signal, obtaining the signal whether being disassembled for instruction terminal includes:Detect the state of touch switch;When
In the case of detecting that touch switch is closure state, the first level letter for the input and output I/O port being connected with touch switch is obtained
Number;In the case of detecting that touch switch is in an open state, the second of the input and output I/O port being connected with touch switch is obtained
Level signal;Wherein, when the rear cover of terminal is in an open state, touch switch is in an open state.
For example, for the electricity that the signal whether instruction terminal was disassembled is the input and output I/O port being connected with touch switch
In the case of ordinary mail number, in hardware realization, terminal (for example, mobile phone) can include baseband processor, power module, radio frequency mould
Block and liquid crystal display (Liquid Crystal Display, referred to as LCD) module, touch switch and microprocessor
(Microcontroller Unit, referred to as MCU).Touch switch is welded on the printed circuit board (PCB) (Printed of terminal
Circuit Board, referred to as PCB) on, by being contacted with cell phone rear cover, when terminal rear cover covers, the state of switch is to close
Closed state, corresponding level is 0 low level;When terminal rear cover is opened, at this moment touch switch and rear cover separation, switch can flick,
The state that the state switched at this time is out, corresponding level is 1 high level.During work, it will recording level state with
And the time point of level change process, while the number of level change can be counted.The change of level and number are stored in depositing for MCU
Inside reservoir.The major function of MCU is that trigger switch level change is acquired, and the statistics of level change number, and
It is connected by respective communication interface with baseband processor, easy to reading of the baseband processor to MCU internal datas.Trigger switch,
The mode that MCU is connected with baseband processor is as shown in Figure 3.
In another example the signal whether being disassembled for instruction terminal is the input and output I/O port being connected with touch switch
In the case of level signal, in software realization, mainly including client, on off state detection module, on off state change system
Count module etc..On off state detection module is mainly that the level of trigger switch is detected, that is, whether terminal rear cover is beaten
Open and be detected;On off state change statistical module is mainly that the number of level change is counted, that is, terminal rear cover
The number being opened is counted;Client, reading of the main baseband processor to MCU internal datas, including trigger switch are opened
At the time of closing, and the number of opening and closing, that is, the terminal rear cover time point being opened and the number being opened.
Alternatively, it is connected for the signal whether instruction terminal was disassembled for screw hole corresponding with the rear cover of terminal
In the case of the level signal of I/O port, obtaining the signal whether being disassembled for instruction terminal includes:It is in detection screw hole
It is no to have screw;In the case of detecting and having screw in screw hole, the IO that screw hole corresponding with the rear cover of terminal is connected is obtained
The three level signal of mouth;In the case of detecting and there is no screw in screw hole, screw corresponding with the rear cover of terminal is obtained
4th level signal of the I/O port that hole is connected;Wherein, when stating the rear cover of terminal and being in an open state, there is no screw in screw hole.
For example, it is the IO that screw hole corresponding with the rear cover of terminal is connected for the signal whether instruction terminal was disassembled
Mouthful level signal in the case of, in hardware realization, terminal can include baseband processor, power module, radio-frequency module and
LCD modules, MCU, while the screw hole on terminal inner PCB has carried out unique design, the I/O port phase of this screw hole and MCU
Even, at the same screw hole top and bottom all be insulation, terminal body be ground, when have screw when, this screw hole with phase
Even, i.e. the corresponding I/O port level of MCU is 0 low level, due to the I/O port pull-up processing being connected with screw hole, so when screw is split
Except when, the corresponding I/O port level of MCU is 1 high level.By the I/O port level change of MCU, screw presence or absence, i.e. area are distinguished
Divide the situation of terminal rear cover dismounting.During work, MCU will recording level state and level change process time
Point, while the number of level change can be counted, the change of level and number are stored in inside the memory of MCU.MCU simultaneously passes through phase
Communication interface is answered to be connected with baseband processor, easy to reading of the baseband processor to MCU internal datas.Screw hole, MCU and base band
The mode of processor connection is as shown in Figure 4.
In another example be connected for the signal whether instruction terminal was disassembled for screw hole corresponding with the rear cover of terminal
In the case of the level signal of I/O port, in software realization, mainly including client, screw hole level state detection module, spiral shell
Wire hole level state change statistical module etc..Screw hole level state detection module is mainly that the level of screw hole is examined
Survey, that is, whether terminal rear cover is opened and be detected;Screw hole level state change statistical module is mainly to level change
Number counted, that is, the number that terminal rear cover is opened is counted;Client, main baseband processor is to MCU
The reading of internal data, including at the time of screw hole level change, and the number of change, that is, terminal rear cover are opened
Time point and the number being opened.
Alternatively, it is the pressure signal between the rear cover of terminal and terminal for the signal whether instruction terminal was disassembled
In the case of, obtaining the signal whether being disassembled for instruction terminal includes:The rear cover of terminal is obtained by pressure sensor
For closure state when terminal and terminal rear cover between first pressure signal;The rear cover of terminal is obtained by pressure sensor
Second pressure signal when being in an open state between terminal and the rear cover of terminal.
For example, it is the pressure signal between the rear cover of terminal and terminal for the signal whether instruction terminal was disassembled
In the case of, in hardware realization, terminal can include baseband processor, power module, radio-frequency module and LCD modules etc., different
Part is to add a pressure sensor and a MCU.Pressure sensor, MCU and baseband processor connection mode such as Fig. 5
It is shown.When terminal rear cover is removed, pressure sensor collects a pressure value, when terminal rear cover is when in terminal, i.e., eventually
End is not disassembled, and pressure sensor collects another pressure value.Carried out eventually by the time of the change of pressure value and number
Counted at the time of end rear cover is disassembled with number.During work, MCU will record the change of pressure sensor pressure value
The time point of change, while the number of pressure value change can be counted, the number storage of the change moment of pressure value and pressure value change
Inside the memory of MCU.MCU is simultaneously connected by respective communication interface with baseband processor, easy to baseband processor in MCU
The reading of portion's data.
In another example it is the pressure signal between the rear cover of terminal and terminal for the signal whether instruction terminal was disassembled
In the case of, in software realization, mainly become including client, pressure sensor state detection module, pressure sensor state
Change statistical module etc..Pressure sensor state detection module is mainly detected pressure sensor pressure value, that is, eventually
Whether end rear cover, which is opened, is detected;Pressure sensor state change statistical module mainly changes pressure sensor pressure value
Number counted, that is, the number that terminal rear cover is opened is counted;Client, main baseband processor is to MCU
The reading of internal data, including at the time of the change of pressure sensor pressure value, and the number of change, that is, terminal rear cover quilt
The time point of opening and the number being opened.
Alternatively, the signal whether being disassembled for instruction terminal for the flux signal near the rear cover of terminal feelings
Under condition, obtaining the signal whether being disassembled for instruction terminal includes:The rear cover that terminal is obtained by Hall sensor is to close
First flux signal of the rear cover area of terminal during conjunction state;The rear cover that terminal is obtained by Hall sensor is open shape
The second magnetic flux letter of the rear cover area of terminal during state.
For example, all including baseband processor, power module, radio-frequency module and LCD modules etc., difference is to add
One Hall sensor and a MCU, at the same at terminal rear cover some specific location placed a certain size there is magnetic
The magnet of property.Hall sensor, MCU and baseband processor connection mode are as shown in Figure 6.During design, Hall is passed
Sensor and MCU are designed on circuit board terminal, while some position will increase in terminal rear cover separately as a small system
Add one block of corresponding magnet, according to the change of terminal magnetic flux come the situation of the dismounting of the rear cover of detection terminal.Setting, works as terminal
In the case that rear cover is not dismantled, the magnetic flux that Hall sensor detects is a, when terminal rear cover is disassembled, Hall sensor
The magnetic flux detected is b;During work, MCU will record the time point of the magnetic flux change of Hall sensor, together
When can count the number of Hall sensor magnetic flux change, the change moment of magnetic flux and the number of magnetic flux change are stored in
Inside the memory of MCU.MCU is simultaneously connected by respective communication interface with baseband processor, easy to baseband processor to MCU inside
The reading of data.
In another example in software realization, mainly including client, magnetic flux detection module, magnetic flux change statistical module
Deng.Magnetic flux detection module is mainly that the magnetic flux size of hall device annex is detected, i.e., according to the size of magnetic flux
To judge whether terminal rear cover is disassembled;Magnetic flux change statistical module is mainly that the number of magnetic flux change is counted,
Change frequency judges that the number that is, terminal rear cover is opened is counted according to the change of magnetic flux value a and b;Client, it is main
Reading of the baseband processor to MCU internal datas, including the time point of the value of the magnetic flux of Hall sensor measurement and measurement are wanted,
And the number of change, that is, the terminal rear cover time point being opened and the number being opened.
Alternatively, after definite terminal was disassembled, further include:Obtain signal changed time point and signal hair
The number for changing;The time point that terminal is disassembled is determined according to time point, and time that terminal is disassembled is determined according to number
Number.Alternatively, after signal changed time point and the changed number of signal is obtained, further include:Storage time
Point and number;And/or display time point and number.By above-mentioned steps, can with time that recorded electronic anti-fake card is triggered and
Triggering times, so as to more accurately realize antiforge function.
It should be noted that above-described embodiment can be applied on mobile phone, above-described embodiment is carried out by taking mobile phone as an example below
Describe in detail.
Fig. 7 is the flow of the method according to embodiments of the present invention that mobile phone electronic formula anti-fake card is realized based on touch switch
Figure, this method are mainly detected the whether split machine of mobile phone, level number by the opening and closing of touch switch, the i.e. change of low and high level
It is stored according to, level change moment, level change number inside the memory of MCU, baseband processor passes through to MCU storage insides
Device digital independent tear open the judgement of machine relevant information.Idiographic flow is as shown in fig. 7, the flow includes:
The high low state of I/O port level that step S702, MCU detection is connected with touch switch;
Step S704, temporarily records the level height detected, acquiescence level is low level;
Whether step S706, the level for judging to detect change, that is, whether from low level change to high level;
Step S708, the time point of recording level change and level high low state accordingly.
Step S710, the high low state of level and changed time point is written to inside the memory of MCU.
Change procedure counts the level of step S712, MCU to storage from low to high, counts time changed from low to high
Number.
Step S714, at the time of level change is changed, the corresponding state of level, the data such as number of change, according to when
Between sequential storage to the memory of MCU, the digital independent easy to baseband processor to its inside.
Step S716, the high low state that inquiry level is finally kept, easy to the judgement of mobile phone As-Is.
Step S718, if last level is high level, then it represents that mobile phone is split, and rear cover is not reinstalled;Such as
Fruit is low level, has been reinstalled again after representing dismounting.
Step S720, opens client, inputs corresponding authority, into producer's query pattern, wherein, client can lead to
Corresponding EO Engineering Order is crossed to replace.
Step S722, to digital independents such as the level state in MCU internal storages, transformation period, change frequencies.
Step S724, display are torn machine number open and are torn open the machine moment, and the mode of display can be text or waveform.
Fig. 8 is the change according to embodiments of the present invention based on screw hole level to realize the side of mobile phone electronic formula anti-fake card
The I/O port electricity of the flow chart of method, the presence or absence that this method is mainly tightened up a screw by screw hole, that is, the MCU that is connected with screw hole
The flat whether split machine of height state change detection mobile phone, the high low state of level, level change moment, level change number are stored in
Inside the memory of MCU, baseband processor tear open the judgement of machine relevant information by being read to MCU internal memory datas.
When not tearing machine open, screw is on screw hole, and the I/O port of MCU corresponds to 0 low level at this time;After this screw is removed, the I/O port of MCU
Corresponding 1 high level state.Idiographic flow is as shown in figure 8, the flow includes:
The high low state of I/O port level that step S802, MCU detection is connected with screw hole;
Step S804, temporarily records the level height detected, acquiescence level is low level;
Whether step S806, the level for judging to detect change, that is, whether from low level change to high level;
Step S808, the time point of recording level change and level high low state accordingly.
Step S810, the high low state of level and changed time point is written to inside the memory of MCU.
Change procedure counts the level 802 of step S812, MCU to storage from low to high, and statistics changes from low to high
Number.
Step S814, at the time of level change is changed, the corresponding state of level, the data such as number of change, according to when
Between sequential storage to the memory of MCU, the digital independent easy to baseband processor to its inside.
Step S816, the high low state that inquiry level is finally kept, easy to the judgement of mobile phone As-Is.
Step S818, if last level is high level, then it represents that mobile phone is split, and rear cover is not reinstalled;Such as
Fruit is low level, has been reinstalled again after representing dismounting.
Step S820, opens client, inputs corresponding authority, into producer's query pattern, wherein, client can lead to
Corresponding EO Engineering Order is crossed to replace.
Step S822, to digital independents such as the level state in MCU internal storages, transformation period, change frequencies.
Step S824, display are torn machine number open and are torn open the machine moment, and the mode of display can be text or waveform.
Fig. 9 is that according to embodiments of the present invention measured based on pressure sensor pressure value is changed to realize that mobile phone electronic formula is prevented
The flow chart of the method for puppet patch, during design, pressure sensor and cell phone rear cover contact, contact can then produce this method
Pressure value, pressure value are set to a;After cell phone rear cover is dismantled, i.e. pressure sensor and rear cover no longer contacts, and pressure value is b at this time.
At the time of pressure value changes, pressure value size and pressure value change to the number of b this process by a and be stored in the memory of MCU
In, baseband processor tear open the judgement of machine relevant information by being read to MCU internal memory datas.Idiographic flow such as Fig. 9
Shown, which includes:
Step S902, the pressure between cell phone rear cover and mobile phone is measured when cell phone rear cover is not dismantled by pressure sensor
Force value, if pressure value is a;
Step S904, passes through the pressure between pressure sensor measurement cell phone rear cover and mobile phone after cell phone rear cover dismounting
Value, if pressure value is b;
Whether step S906, detection pressure value change;
Step S908, if pressure value changes, at the time of record pressure value corresponds to for a and a and b and b is corresponded to
At the time of.If pressure value does not change, continue S303.
Step S910, the number that pressure value is changed into b this process from a are counted.
Step S912, at the time of pressure value is corresponded to for a and b, the number of a to b is stored to inside the memory of MCU..
Step S914, inquires about the size of last time pressure value.
Step S916, if pressure value is b, shows that mobile phone is disassembled, does not reinstall, no side, shows to dismantle, and reinstalls.
Step S918, opens client, inputs corresponding authority, into producer's query pattern, wherein, client can lead to
Corresponding EO Engineering Order is crossed to replace.
Step S920, to the magnitude of voltage size in MCU internal storages, corresponding time point, the time of change, change time
The digital independents such as number.
Step S922:Display is torn machine number open and is torn open the machine moment, and the mode of display can be text or waveform.
Figure 10 is according to embodiments of the present invention to measure magnetic flux change based on Hall sensor and realize mobile phone electronic formula
The flow chart of the method for anti-fake card, this method during design, Hall sensor and MCU are individually for one small be
System, is designed on circuit board of mobile phone, while will increase by one block of corresponding magnet in some position of cell phone rear cover, according to mobile phone magnetic
The situation of the dismounting for changing the rear cover to detect mobile phone of flux.Setting, in the case that cell phone rear cover is not dismantled, hall sensing
The magnetic flux that device detects is a, and when cell phone rear cover is disassembled, the magnetic flux that Hall sensor detects is b;In the mistake of work
Cheng Zhong, MCU will record the time point of the magnetic flux change of Hall sensor, while can count Hall sensor magnetic flux change
Number, the change moment of magnetic flux and the number of magnetic flux change are stored in inside the memory of MCU.MCU and by corresponding
Communication interface is connected with baseband processor, easy to reading of the baseband processor to MCU internal datas.Idiographic flow such as Figure 10 institutes
Show, which includes:
Step S1002, corresponding magnetic flux is measured when cell phone rear cover is not dismantled by Hall sensor, if magnetic flux is
a;
Step S1004, measures corresponding magnetic flux, if magnetic flux is b after cell phone rear cover dismounting by Hall sensor;
Whether step S1006, detection magnetic flux change;
Step S1008, if magnetic flux changes, at the time of recording flux amount corresponds to for a and a and b and b is corresponded to
At the time of.If magnetic flux does not change, continue S403.
Step S1010, the number that magnetic flux is changed into b this process from a are counted.
Step S1012, at the time of magnetic flux is corresponded to for a and b, the number of a to b is stored to inside the memory of MCU.
Step S1014, inquires about the size of last time magnetic flux.
Step S1016, if magnetic flux is b, shows that mobile phone is disassembled, does not reinstall, and otherwise, shows to dismantle, and reinstall.
Step S1018, opens client, inputs corresponding authority, into producer's query pattern, wherein, client can be with
Replaced by corresponding EO Engineering Order.
Step S1020, to the magnitude of voltage size in MCU internal storages, corresponding time point, the time of change, change
The digital independents such as number.
Step S1022, display are torn machine number open and are torn open the machine moment, and the mode of display can be text or waveform.
Above-described embodiment is the design method of electronic type anti-fake card, compared with traditional false proof paster, electronic type it is false proof
It is more powerful to paste function, the time of triggering, and the number of triggering can be recorded.Mainly triggered by external level, interrupt and touch
The change etc. of hair, pressure change, magnetic flux, single MCU will sample corresponding signal, and the data that will be collected
It is stored in inside the memory of single MCU, baseband processor can then be read out MCU, the data of reading are judged,
So as to querying triggering time and triggering times, i.e., the time and the number of dismounting that mobile phone is disassembled.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but very much
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, which is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate
Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
A kind of Anti-dismantling processing unit and terminal are additionally provided in the present embodiment, which is used for realization above-described embodiment
And preferred embodiment, carried out repeating no more for explanation.As used below, term " module " can be realized predetermined
The combination of the software and/or hardware of function.Although following embodiments described devices is preferably realized with software, firmly
Part, or the realization of the combination of software and hardware is also what may and be contemplated.
Figure 11 is the structure diagram of Anti-dismantling processing unit according to embodiments of the present invention, as shown in figure 11, the device bag
Include:
First acquisition module 112, for obtaining the signal for being used for instruction terminal and whether being disassembled, wherein, for indicating
The signal whether terminal was disassembled includes at least one of:Touch switch corresponding with the rear cover of the terminal is connected defeated
Enter to export the level signal of I/O port;The level signal for the I/O port that screw hole corresponding with the rear cover of terminal is connected;The rear cover of terminal
Pressure signal between terminal;Flux signal near the rear cover of terminal;
Judgment module 114, is connected to above-mentioned first acquisition module 112, for judging whether signal changes;
First determining module 116, is connected to above-mentioned judgment module 114, in the case where the judgment result is yes, determining
Terminal was disassembled.
Alternatively, the signal whether being disassembled for instruction terminal is the input and output I/O port being connected with touch switch
In the case of level signal, the first acquisition module 112, be additionally operable to detection touch switch state;When detecting that touch switch is
In the case of closure state, the first level signal of the input and output I/O port being connected with touch switch is obtained;And work as and detect
In the case that touch switch is in an open state, the second electrical level signal for the input and output I/O port being connected with touch switch is obtained;Its
In, when the rear cover of terminal is in an open state, touch switch is in an open state.
Alternatively, it is connected for the signal whether instruction terminal was disassembled for screw hole corresponding with the rear cover of terminal
In the case of the level signal of I/O port, the first acquisition module 112, is additionally operable to whether have screw in detection screw hole;When detecting
In the case of having screw in screw hole, the three level signal for the I/O port that screw hole corresponding with the rear cover of terminal is connected is obtained;
And in the case of it detect and there is no screw in screw hole, obtain the I/O port that screw hole corresponding with the rear cover of terminal is connected
4th level signal;Wherein, when stating the rear cover of terminal and being in an open state, there is no screw in screw hole.
Alternatively, it is the pressure signal between the rear cover of terminal and terminal for the signal whether instruction terminal was disassembled
In the case of, the first acquisition module 112, be additionally operable to by pressure sensor obtain terminal rear cover be closure state when terminal
First pressure signal between the rear cover of terminal;It is and whole when being in an open state by the rear cover of pressure sensor acquisition terminal
Second pressure signal between end and the rear cover of terminal.
Alternatively, the signal whether being disassembled for instruction terminal for the flux signal near the rear cover of terminal feelings
Under condition, the first acquisition module 112, be additionally operable to by Hall sensor obtain terminal rear cover be closure state when terminal after
First flux signal of cover area;The rear cover area of terminal when being in an open state by the rear cover of Hall sensor acquisition terminal
The second magnetic flux letter.
Figure 12 is the preferred structure block diagram one of Anti-dismantling processing unit according to embodiments of the present invention, as shown in figure 12, should
Device further includes in addition to including all modules shown in Figure 11:
Second acquisition module 122, for obtaining signal changed time point and the changed number of signal;
Second determining module 124, is connected to above-mentioned second acquisition module 122, for determining that terminal is split according to time point
The time point unloaded, and the number that terminal is disassembled is determined according to number.
Figure 13 is the preferred structure block diagram two of Anti-dismantling processing unit according to embodiments of the present invention, as shown in figure 13, should
In addition to all modules of the device shown in including Figure 11 and Figure 12, further include:
Memory module 132, for storage time point and number;
Display module 134, is connected to above-mentioned memory module 132, for showing time point and number.
A kind of terminal is additionally provided in the present embodiment, and Figure 14 is according to embodiments of the present invention based on touch switch realization
The terminal structure figure of mobile phone electronic formula anti-fake card, as shown in figure 14, which includes:First baseband processor 142, the first power supply
Module 144, the first radio-frequency module 146 and the first liquid crystal display LCD modules 148, further include:Touch switch 1410, first is micro-
Control unit MCU 1412;Wherein, when the rear cover of terminal is disassembled, touch switch is in an open state, and is connected with touch switch
The level of input and output I/O port is second electrical level signal;When the rear cover of terminal is not disassembled, touch switch is closure state, with touching
The level of the connected input and output I/O port of control switch is the first level signal;
First MCU 1412, for recording the level signal for the I/O port being connected with touch switch, and is sent to the first base band
Processor;
First baseband processor 142, for determining whether terminal was disassembled according to level signal.
A kind of terminal is additionally provided in the present embodiment, and Figure 15 is according to embodiments of the present invention based on screw hole level
Change to realize the terminal structure figure of mobile phone electronic formula anti-fake card, as shown in figure 15, which includes:Second baseband processor
152nd, second source module 154, the second radio-frequency module 156 and the second liquid crystal display LCD modules 158, further include:Second micro-control
Unit MCU 1510 processed, wherein, the screw hole on printed wiring board pcb board in terminal is connected with MCU, and the rear cover of terminal is split
When unloading, there is no screw in screw hole, the level signal for the I/O port that screw hole corresponding with the rear cover of terminal is connected is the 4th level
Signal, when the rear cover of terminal is not disassembled, there is screw in screw hole, the I/O port that screw hole corresponding with the rear cover of terminal is connected
Level signal is three level signal;
2nd MCU 1510, the level signal for the I/O port being connected for recording screw hole corresponding with the rear cover of terminal, and
It is sent to the second baseband processor;
Second baseband processor 152, for determining whether terminal was disassembled according to level signal.
A kind of terminal is additionally provided in the present embodiment, and Figure 16 is according to embodiments of the present invention based on pressure sensor pressure
Force measurement changes to realize the terminal structure figure of mobile phone electronic formula anti-fake card, and as shown in figure 16, which includes:3rd base band
Processor 162, the 3rd power module 164, the 3rd radio-frequency module 166 and the 3rd liquid crystal display LCD modules 168, further include:Pressure
Force snesor 1610, the 3rd micro-control unit MCU 1612;
Wherein, pressure sensor 1610, for the pressure signal between detection terminal and the rear cover of terminal;
3rd MCU 1612, for recording pressure signal, and is sent to the 3rd baseband processor;
3rd baseband processor 162, for determining whether terminal was disassembled according to pressure signal.
A kind of terminal is additionally provided in the present embodiment, and Figure 17 is according to embodiments of the present invention based on Hall sensor survey
Magnetic flux change is measured to realize the terminal structure figure of mobile phone electronic formula anti-fake card, as shown in figure 17, which includes:4th base band
Processor 172, the 4th power module 174, the 4th radio-frequency module 176 and the 4th liquid crystal display LCD modules 178, its feature exist
In further including:Hall sensor 1710, the 4th micro-control unit MCU 1712;
Wherein, Hall sensor 1710, for the flux signal near the rear cover of detection terminal;
4th MCU 1712, for recording flux amount signal, and is sent to the 4th baseband processor;
4th baseband processor 172, for determining whether terminal was disassembled according to flux signal.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
In the following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
The form of combination is located in different processors respectively.
Embodiment 3
The embodiment of the present invention additionally provides a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium
It can be configured to the program code that storage is used to perform following steps:
S1, obtains and is used for the signal whether instruction terminal was disassembled, wherein, whether it was disassembled for instruction terminal
Signal includes at least one of:The level letter for the input and output I/O port that touch switch corresponding with the rear cover of the terminal is connected
Number;The level signal for the I/O port that screw hole corresponding with the rear cover of terminal is connected;Pressure letter between the rear cover and terminal of terminal
Number;The flux signal of the rear cover area of terminal.;
S2, judges whether signal changes;
S3, in the case where the judgment result is yes, determines that terminal was disassembled.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:For instruction terminal
In the case that the signal whether being disassembled is the level signal for the input and output I/O port being connected with touch switch, obtains and be used to refer to
Show that the signal whether terminal was disassembled includes:
S1, detects the state of touch switch;
S2, in the case of detecting that touch switch is closure state, obtains the input and output IO being connected with touch switch
First level signal of mouth;
S3, in the case of detecting that touch switch is in an open state, obtains the input and output IO being connected with touch switch
The second electrical level signal of mouth;
Wherein, when the rear cover of terminal is in an open state, touch switch is in an open state.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:For instruction terminal
In the case of the level signal for the I/O port that the signal whether being disassembled is connected for screw hole corresponding with the rear cover of terminal, obtain
The signal whether being disassembled for instruction terminal includes:
Whether S1, detecting in screw hole has screw;
S2, in the case of detecting and having screw in screw hole, obtains what screw hole corresponding with the rear cover of terminal was connected
The three level signal of I/O port;
S3, in the case of detecting and not having screw in screw hole, obtains screw hole corresponding with the rear cover of terminal and is connected
I/O port the 4th level signal;
Wherein, when stating the rear cover of terminal and being in an open state, there is no screw in screw hole.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:For instruction terminal
In the case of pressure signal of the signal whether being disassembled between the rear cover and terminal of terminal, obtain is for instruction terminal
The no signal being disassembled includes:
S1, the terminal and the terminal when rear cover of the terminal is closure state are obtained by pressure sensor
First pressure signal between rear cover;
S2, by pressure sensor obtain when the rear cover of the terminal is in an open state the terminal with after the terminal
Second pressure signal between lid.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:For instruction terminal
The signal whether being disassembled for terminal rear cover near flux signal in the case of, obtain be used for instruction terminal whether by
The signal dismantled includes:
S1, the rear cover area of the terminal when rear cover of the terminal is closure state is obtained by Hall sensor
First flux signal;
S2, of the rear cover area of the terminal when rear cover of the terminal is in an open state is obtained by Hall sensor
Two magnetic flux are believed.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:In definite terminal quilt
After dismantling, further include:
S1, obtains signal changed time point and the changed number of signal;
S2, the time point that terminal is disassembled is determined according to time point, and determines the number that terminal is disassembled according to number.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Obtaining signal hair
After the time point for changing and the changed number of signal, further include:
S1, storage time point and number;And/or
S2, shows time point and number.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
CD etc. is various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor is performed according to stored program code in storage medium:Acquisition is used for
The signal whether instruction terminal was disassembled, wherein, the signal whether being disassembled for instruction terminal include it is following at least it
One:The level signal for the input and output I/O port that touch switch corresponding with the rear cover of the terminal is connected;With the rear cover pair of terminal
The level signal for the I/O port that the screw hole answered is connected;Pressure signal between the rear cover and terminal of terminal;The rear cover area of terminal
Flux signal;Judge whether signal changes;In the case where the judgment result is yes, determine that terminal was disassembled.
Alternatively, in the present embodiment, processor is performed according to stored program code in storage medium:For indicating
In the case that the signal whether terminal was disassembled is the level signal for the input and output I/O port being connected with touch switch, obtains and use
Include in the signal whether instruction terminal was disassembled:Detect the state of touch switch;When detecting that touch switch is closed form
In the case of state, the first level signal of the input and output I/O port being connected with touch switch is obtained;When detecting that touch switch is
In the case of open mode, the second electrical level signal for the input and output I/O port being connected with touch switch is obtained;Wherein, after terminal
When lid is in an open state, touch switch is in an open state.
Alternatively, in the present embodiment, processor is performed according to stored program code in storage medium:For indicating
In the case of the level signal for the I/O port that the signal whether terminal was disassembled is connected for screw hole corresponding with the rear cover of terminal,
Obtaining the signal whether being disassembled for instruction terminal includes:Whether there is screw in detection screw hole;When detecting screw hole
In have screw in the case of, obtain the three level signal of the I/O port that corresponding with the rear cover of terminal screw hole is connected;Work as detection
In the case of there is no screw into screw hole, the 4th level letter for the I/O port that screw hole corresponding with the rear cover of terminal is connected is obtained
Number;Wherein, when stating the rear cover of terminal and being in an open state, there is no screw in screw hole.
Alternatively, in the present embodiment, processor is performed according to stored program code in storage medium:For indicating
In the case of pressure signal of the signal whether terminal was disassembled between the rear cover and terminal of terminal, obtain and be used to indicate end
The signal whether being disassembled is held to include:Terminal and terminal when rear cover by pressure sensor acquisition terminal is closure state
Rear cover between first pressure signal;Terminal and terminal when the rear cover of terminal is in an open state are obtained by pressure sensor
Second pressure signal between rear cover.
Alternatively, in the present embodiment, processor is performed according to stored program code in storage medium:For indicating
In the case that the signal whether terminal was disassembled is the flux signal near the rear cover of terminal, obtain is for instruction terminal
The no signal being disassembled includes:The rear cover area of terminal when rear cover by Hall sensor acquisition terminal is closure state
The first flux signal;The second of the rear cover area of terminal when being in an open state by the rear cover of Hall sensor acquisition terminal
Magnetic flux is believed.
Alternatively, in the present embodiment, processor is performed according to stored program code in storage medium:Determining eventually
After end was disassembled, further include:Obtain signal changed time point and the changed number of signal;According to time point
Determine the time point that terminal is disassembled, and the number that terminal is disassembled is determined according to number.
Alternatively, in the present embodiment, processor is performed according to stored program code in storage medium:Believe obtaining
After number changed time point and the changed number of signal, further include:Storage time point and number;And/or display
Time point and number.
Alternatively, the specific example in the present embodiment may be referred to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein
The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.Combined in this way, the present invention is not restricted to any specific hardware and software.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this area
For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.
Claims (20)
- A kind of 1. Anti-dismantling processing method, it is characterised in that including:Obtain and be used for the signal whether instruction terminal was disassembled;Judge whether the signal changes;In the case where the judgment result is yes, determine that the terminal was disassembled.
- 2. the according to the method described in claim 1, it is characterized in that, signal bag whether being disassembled for instruction terminal Include at least one of:The level signal for the input and output I/O port that touch switch corresponding with the rear cover of the terminal is connected;The level signal for the I/O port that screw hole corresponding with the rear cover of the terminal is connected;Pressure signal between the rear cover of the terminal and the terminal;The flux signal of the rear cover area of the terminal.
- 3. according to the method described in claim 2, it is characterized in that, described be for the signal whether instruction terminal was disassembled In the case of the level signal for the input and output I/O port being connected with touch switch, whether the acquisition is disassembled for instruction terminal The signal crossed includes:Detect the state of the touch switch;In the case of detecting that the touch switch is closure state, the input and output IO being connected with the touch switch is obtained First level signal of mouth;In the case of detecting that the touch switch is in an open state, the input and output IO being connected with the touch switch is obtained The second electrical level signal of mouth;Wherein, when the rear cover of the terminal is in an open state, the touch switch is in an open state.
- 4. according to the method described in claim 2, it is characterized in that, described be for the signal whether instruction terminal was disassembled In the case of the level signal for the I/O port that screw hole corresponding with the rear cover of the terminal is connected, the acquisition is used for instruction terminal The signal whether being disassembled includes:Whether detect in the screw hole has screw;In the case of detecting and having screw in the screw hole, obtain what screw hole corresponding with the rear cover of the terminal was connected The three level signal of I/O port;In the case of detecting and there is no screw in the screw hole, obtain screw hole corresponding with the rear cover of the terminal and be connected I/O port the 4th level signal;Wherein, when the rear cover of the terminal is in an open state, there is no screw in the screw hole.
- 5. according to the method described in claim 2, it is characterized in that, described be for the signal whether instruction terminal was disassembled In the case of pressure signal between the rear cover of the terminal and the terminal, whether the acquisition is disassembled for instruction terminal The signal crossed includes:By pressure sensor obtain the terminal when rear cover of the terminal is closure state and the terminal rear cover it Between first pressure signal;Obtained by pressure sensor when the rear cover of the terminal is in an open state between the terminal and the rear cover of the terminal Second pressure signal.
- 6. according to the method described in claim 2, it is characterized in that, described be for the signal whether instruction terminal was disassembled In the case of flux signal near the rear cover of the terminal, described obtain is used for the signal whether instruction terminal was disassembled Including:The first magnetic of the rear cover area of the terminal when rear cover of the terminal is closure state is obtained by Hall sensor Flux signal;The second magnetic flux of the rear cover area of the terminal when rear cover of the terminal is in an open state is obtained by Hall sensor Amount letter.
- 7. according to the method described in claim 1, it is characterized in that, after the definite terminal was disassembled, further include:Obtain the signal changed time point and the changed number of the signal;The time point that the terminal is disassembled is determined according to the time point, and determines that the terminal is split according to the number The number unloaded.
- 8. the method according to the description of claim 7 is characterized in that obtaining the signal changed time point and described After the changed number of signal, further include:Store the time point and the number;And/or show the time point and the number.
- A kind of 9. Anti-dismantling processing unit, it is characterised in that including:First acquisition module, for obtaining the signal for being used for instruction terminal and whether being disassembled;Judgment module, for judging whether the signal changes;First determining module, in the case where the judgment result is yes, determining that the terminal was disassembled.
- 10. device according to claim 9, it is characterised in that the signal whether being disassembled for instruction terminal Including at least one of:The level signal for the input and output I/O port that touch switch corresponding with the rear cover of the terminal is connected;The level signal for the I/O port that screw hole corresponding with the rear cover of the terminal is connected;Pressure signal between the rear cover of the terminal and the terminal;The flux signal of the rear cover area of the terminal.
- 11. device according to claim 10, it is characterised in that the signal whether being disassembled for instruction terminal In the case of level signal for the input and output I/O port being connected with touch switch, first acquisition module, is additionally operable to detect The state of the touch switch;In the case of detecting that the touch switch is closure state, obtain and the touch switch First level signal of connected input and output I/O port;And in the case of detecting that the touch switch is in an open state, Obtain the second electrical level signal for the input and output I/O port being connected with the touch switch;Wherein, the rear cover of the terminal is opening During state, the touch switch is in an open state.
- 12. device according to claim 10, it is characterised in that the signal whether being disassembled for instruction terminal In the case of the level signal for the I/O port being connected for screw hole corresponding with the rear cover of the terminal, first acquisition module, It is additionally operable to detect in the screw hole whether have screw;In the case of detecting and having screw in the screw hole, obtain and institute State the three level signal for the I/O port that the corresponding screw hole of rear cover of terminal is connected;And work as and detect do not have in the screw hole In the case of screw, the 4th level signal of the I/O port that screw hole corresponding with the rear cover of the terminal is connected is obtained;Wherein, state When the rear cover of terminal is in an open state, there is no screw in the screw hole.
- 13. device according to claim 10, it is characterised in that the signal whether being disassembled for instruction terminal In the case of pressure signal between the rear cover of the terminal and the terminal, first acquisition module, is additionally operable to pass through The terminal when rear cover that pressure sensor obtains the terminal is closure state and first between the rear cover of the terminal Pressure signal;And the terminal and the terminal when rear cover of the terminal is in an open state are obtained by pressure sensor Second pressure signal between rear cover.
- 14. device according to claim 10, it is characterised in that the signal whether being disassembled for instruction terminal In the case of for the flux signal near the rear cover of the terminal, first acquisition module, is additionally operable to pass through hall sensing First flux signal of the rear cover area of the terminal when rear cover that device obtains the terminal is closure state;Pass through Hall The second magnetic flux letter of the rear cover area of the terminal when rear cover that sensor obtains the terminal is in an open state.
- 15. device according to claim 9, it is characterised in that further include:Second acquisition module, for obtaining the signal changed time point and the changed number of the signal;Second determining module, for determining time point that the terminal is disassembled according to the time point, and according to described time Number determines the number that the terminal is disassembled.
- 16. device according to claim 15, it is characterised in that further include:Memory module, for storing the time point and the number;Display module, for showing the time point and the number.
- 17. a kind of terminal, including:First baseband processor, the first power module, the first radio-frequency module and the first liquid crystal display LCD modules, it is characterised in that further include:Touch switch, the first micro-control unit MCU;Wherein, the rear cover of the terminal is split When unloading, the touch switch is in an open state, and the level for the input and output I/O port being connected with the touch switch is second electrical level Signal;When the rear cover of the terminal is not disassembled, the touch switch is closure state, the input being connected with the touch switch The level for exporting I/O port is the first level signal;First MCU, for recording the level signal for the I/O port being connected with touch switch, and is sent at first base band Manage device;First baseband processor, for determining whether the terminal was disassembled according to the level signal.
- 18. a kind of terminal, including:Second baseband processor, second source module, the second radio-frequency module and the second liquid crystal display LCD modules, it is characterised in that further include:Second micro-control unit MCU, wherein, the printed wiring board pcb board in the terminal On screw hole be connected with the MCU, when the rear cover of the terminal is disassembled, there is no screw in the screw hole, with the end The level signal for the I/O port that the corresponding screw hole of rear cover at end is connected is the 4th level signal, and the rear cover of the terminal is not disassembled When, there is screw in the screw hole, the level signal for the I/O port that screw hole corresponding with the rear cover of the terminal is connected is the 3rd Level signal;2nd MCU, the level signal for the I/O port being connected for recording screw hole corresponding with the rear cover of the terminal, concurrently Give second baseband processor;Second baseband processor, for determining whether the terminal was disassembled according to the level signal.
- 19. a kind of terminal, including:3rd baseband processor, the 3rd power module, the 3rd radio-frequency module and the 3rd liquid crystal display LCD modules, it is characterised in that further include:Pressure sensor, the 3rd micro-control unit MCU;Wherein, the pressure sensor, for detecting the pressure signal between the terminal and the rear cover of the terminal;3rd MCU, for recording the pressure signal, and is sent to the 3rd baseband processor;3rd baseband processor, for determining whether the terminal was disassembled according to the pressure signal.
- 20. a kind of terminal, including:4th baseband processor, the 4th power module, the 4th radio-frequency module and the 4th liquid crystal display LCD modules, it is characterised in that further include:Hall sensor, the 4th micro-control unit MCU;Wherein, the Hall sensor, the flux signal near rear cover for detecting the terminal;4th MCU, for recording the flux signal, and is sent to the 4th baseband processor;4th baseband processor, for determining whether the terminal was disassembled according to the flux signal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610908981.9A CN107958169A (en) | 2016-10-18 | 2016-10-18 | Anti-dismantling processing method, device and terminal |
PCT/CN2017/106712 WO2018072710A1 (en) | 2016-10-18 | 2017-10-18 | Tamper-resistant processing method, device, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610908981.9A CN107958169A (en) | 2016-10-18 | 2016-10-18 | Anti-dismantling processing method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107958169A true CN107958169A (en) | 2018-04-24 |
Family
ID=61954275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610908981.9A Pending CN107958169A (en) | 2016-10-18 | 2016-10-18 | Anti-dismantling processing method, device and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107958169A (en) |
WO (1) | WO2018072710A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109526179A (en) * | 2018-12-24 | 2019-03-26 | 出门问问信息科技有限公司 | Tear the detection device and detection method, electronic equipment of machine testing open for electronic equipment |
WO2020125693A1 (en) * | 2018-12-18 | 2020-06-25 | 东莞新能德科技有限公司 | Battery assembly, electronic device and battery testing system |
CN111750907A (en) * | 2019-03-27 | 2020-10-09 | 北京外号信息技术有限公司 | Anti-cracking method for electronic product and corresponding electronic product |
CN113407964A (en) * | 2021-06-17 | 2021-09-17 | 上海明略人工智能(集团)有限公司 | Method, system, device, electronic equipment and readable storage medium for information encryption |
CN114019233A (en) * | 2021-12-03 | 2022-02-08 | 苏州联控智能科技有限公司 | Electric energy monitoring device with machine-dismantling alarm function |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201966926U (en) * | 2010-12-29 | 2011-09-07 | 上海林果实业有限公司 | Anti-dismounting Internet bank token |
CN102737265A (en) * | 2011-04-13 | 2012-10-17 | 深圳市华奥通通信技术有限公司 | Asset management terminal |
CN104464017A (en) * | 2014-12-09 | 2015-03-25 | 中国包装科研测试中心 | Anti-dismounting device of logistics monitoring recorder |
CN104881622A (en) * | 2014-02-28 | 2015-09-02 | 三星电子株式会社 | Electronic Apparatus And Method For Checking Attached State Of Cover |
CN205158551U (en) * | 2015-10-28 | 2016-04-13 | 杭州富居数码科技有限公司 | Visual intercom with prevent tearing open alarming function |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201286095Y (en) * | 2008-09-02 | 2009-08-05 | 福建泉州市发达电子有限公司 | Digital interphone |
-
2016
- 2016-10-18 CN CN201610908981.9A patent/CN107958169A/en active Pending
-
2017
- 2017-10-18 WO PCT/CN2017/106712 patent/WO2018072710A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201966926U (en) * | 2010-12-29 | 2011-09-07 | 上海林果实业有限公司 | Anti-dismounting Internet bank token |
CN102737265A (en) * | 2011-04-13 | 2012-10-17 | 深圳市华奥通通信技术有限公司 | Asset management terminal |
CN104881622A (en) * | 2014-02-28 | 2015-09-02 | 三星电子株式会社 | Electronic Apparatus And Method For Checking Attached State Of Cover |
CN104464017A (en) * | 2014-12-09 | 2015-03-25 | 中国包装科研测试中心 | Anti-dismounting device of logistics monitoring recorder |
CN205158551U (en) * | 2015-10-28 | 2016-04-13 | 杭州富居数码科技有限公司 | Visual intercom with prevent tearing open alarming function |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020125693A1 (en) * | 2018-12-18 | 2020-06-25 | 东莞新能德科技有限公司 | Battery assembly, electronic device and battery testing system |
CN111342071A (en) * | 2018-12-18 | 2020-06-26 | 东莞新能德科技有限公司 | Battery pack, electronic device and battery detection system |
CN111342071B (en) * | 2018-12-18 | 2021-12-21 | 东莞新能德科技有限公司 | Battery pack, electronic device and battery detection system |
EP3896766A4 (en) * | 2018-12-18 | 2022-01-26 | Dongguan NVT Technology Limited | Battery assembly, electronic device and battery testing system |
CN109526179A (en) * | 2018-12-24 | 2019-03-26 | 出门问问信息科技有限公司 | Tear the detection device and detection method, electronic equipment of machine testing open for electronic equipment |
CN111750907A (en) * | 2019-03-27 | 2020-10-09 | 北京外号信息技术有限公司 | Anti-cracking method for electronic product and corresponding electronic product |
CN113407964A (en) * | 2021-06-17 | 2021-09-17 | 上海明略人工智能(集团)有限公司 | Method, system, device, electronic equipment and readable storage medium for information encryption |
CN113407964B (en) * | 2021-06-17 | 2024-02-13 | 上海明略人工智能(集团)有限公司 | Method, system, device, electronic equipment and readable storage medium for information encryption |
CN114019233A (en) * | 2021-12-03 | 2022-02-08 | 苏州联控智能科技有限公司 | Electric energy monitoring device with machine-dismantling alarm function |
Also Published As
Publication number | Publication date |
---|---|
WO2018072710A1 (en) | 2018-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107958169A (en) | Anti-dismantling processing method, device and terminal | |
CN104780140B (en) | A kind of configurable communication protocol identification and dissection process system | |
CN110177174A (en) | Display processing method, device, mobile terminal and storage medium | |
CN107656093A (en) | A kind of detection method and device of rotary encoder | |
CN107003363A (en) | Functional verification system for secondary cell managing device | |
CN107831985A (en) | A kind of method, mobile terminal and the storage medium of mobile terminal screen control | |
CN105528153A (en) | Screenshot method, screenshot device and electronic device | |
CN105224057B (en) | A kind of Dynamic Configuration and system of battery of mobile terminal ID | |
CN207895262U (en) | A kind of sorting machine gassing time self-checking device | |
CN101272134A (en) | Impedance matching circuit, impedance matching method and personal computer | |
CN106203600A (en) | A kind of smart card | |
CN105373319A (en) | Control method, control apparatus and electronic apparatus | |
CA2302126A1 (en) | System for programming field programmable devices | |
CN105511621A (en) | Handheld sensor, control device and electronic device | |
CN203479406U (en) | Intelligent temperature recorder | |
CN106066972B (en) | The control method and device of terminal | |
CN108171301A (en) | A kind of RFID chip with interactive switch input port and sensor sensing unit | |
CN108937898A (en) | A kind of heart rate detection method, device, storage medium and electronic equipment | |
CN209460197U (en) | Exterior string breaks perils detecting instrument in a kind of urheen | |
CN108806726B (en) | A kind of Intelligent magnetic sensitive device storage method and device | |
CN106603755A (en) | Mobile terminal and data processing method based on mobile terminal | |
CN105404425B (en) | Temperature-compensation method, device and mobile terminal for mobile terminal | |
CN105511768A (en) | Control method, control device and electronic device | |
CN105511611A (en) | Control method, control device and electronic device | |
CN107991917A (en) | For carrying out the method and data detection system of Data Detection by data detection system |
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 |
Application publication date: 20180424 |
|
RJ01 | Rejection of invention patent application after publication |