CN105468942B - The method and device that implanted lesions located in deep brain system program is prevented to be cracked - Google Patents
The method and device that implanted lesions located in deep brain system program is prevented to be cracked Download PDFInfo
- Publication number
- CN105468942B CN105468942B CN201511028138.3A CN201511028138A CN105468942B CN 105468942 B CN105468942 B CN 105468942B CN 201511028138 A CN201511028138 A CN 201511028138A CN 105468942 B CN105468942 B CN 105468942B
- Authority
- CN
- China
- Prior art keywords
- reset
- program
- resets
- preset
- system power
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 210000004556 brain Anatomy 0.000 title claims abstract description 65
- 230000003902 lesion Effects 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000012795 verification Methods 0.000 claims description 16
- 230000000638 stimulation Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 238000003860 storage Methods 0.000 description 6
- 238000005336 cracking Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 210000005036 nerve Anatomy 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000002513 implantation Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 210000000056 organ Anatomy 0.000 description 2
- 238000005424 photoluminescence Methods 0.000 description 2
- 230000002547 anomalous effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 208000035475 disorder Diseases 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000000338 in vitro Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 201000000585 muscular atrophy Diseases 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000004936 stimulating effect Effects 0.000 description 1
- 230000001225 therapeutic effect Effects 0.000 description 1
- 238000002560 therapeutic procedure Methods 0.000 description 1
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/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/14—Protecting executable software against software analysis or reverse engineering, e.g. by obfuscation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61N—ELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
- A61N1/00—Electrotherapy; Circuits therefor
- A61N1/18—Applying electric currents by contact electrodes
- A61N1/32—Applying electric currents by contact electrodes alternating or intermittent currents
- A61N1/36—Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
- A61N1/3605—Implantable neurostimulators for stimulating central or peripheral nerve system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3438—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Neurology (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Neurosurgery (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Technology Law (AREA)
- Computer Security & Cryptography (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of method and device that implanted lesions located in deep brain system program is prevented to be cracked, the method includes:When detecting that electrification reset interrupts, system power-on reset number is obtained;System power-on reset number and preset number of resets threshold value are compared, when reset number is more than preset number of resets threshold value on the system, perform preset endless loop program.It can be determined whether according to system power-on reset number for illegal reverse engineered, program is transferred to the operation of endless loop program when being determined as illegal reverse engineered, makes illegal reverse engineered that can not continue to execute, protects the equity of developer.
Description
Technical field
The present invention relates to implanted lesions located in deep brain systems technology fields more particularly to one kind to prevent implanted brain deep
The method and device that electric stimulation program is cracked.
Background technology
Electrical stimulating therapy is nerve, muscle and the other target organ controlled using low-frequency current stimulation urban district nerve, to reach
To the method for preventing muscular atrophy, promoting nerve regneration, relieving pain, improve organ and body function.With microelectric technique,
The development of the technologies such as the communication technology, material technology and biology, electro photoluminescence gradually develop to plant via traditional percutaneous stimulation
Enter the formula electro photoluminescence stage.Compared with percutaneous stimulation, implantation type electric stimulation is with stimulation accurate positioning, therapeutic effect is good, stimulation is electric
Flow the advantages that small, feeling of pain is light.
Lesions located in deep brain device (Deep Brain Stimulation, DBS) is a kind of programmable type implanting pulse electricity
Stimulator is received from the parameter transmitted in vitro, and performs preset program according to parameter, and stimulation related target is controlled with reaching medicine
The purpose for the treatment of.Since program is previously stored in the memory of lesions located in deep brain device, some illegal businessmans can be by reversed
The mode of cracking obtains program, seeks private interests.
Invention content
In view of this, the embodiment of the present invention provides a kind of side that implanted lesions located in deep brain system program is prevented to be cracked
Method and device are easily reversed the technical issues of cracking to solve lesions located in deep brain system program.
In a first aspect, prevent what implanted lesions located in deep brain system program was cracked an embodiment of the present invention provides a kind of
Method, including:
When detecting that electrification reset interrupts, system power-on reset number is obtained;
System power-on reset number and preset number of resets threshold value are compared, on the system reset number
During more than preset number of resets threshold value, preset endless loop program is performed.
Further, it after system power-on reset number is obtained, further includes:
When reset number is not more than preset number of resets threshold value on the system, update system power-on reset
Number, and preserve updated system power-on reset number.
Further, the acquisition system power-on reset number, including:
Read the electrification reset number for powering on and being stored in counter register;
The update system power-on reset number, and updated system power-on reset number is preserved, including:
Reading is powered on to the data stored in counter register and adds one, and be stored in and power in counter register.
Further, detection electrification reset is stated to interrupt, including:
Judge whether reset interrupt is that electrification reset interrupts by reading reseting mark.
Further, it after system power-on reset number and preset number of resets threshold value being compared, performs preset
Before endless loop program, further include:
Judge whether authority software passes through verification;
It is described to perform preset endless loop program, including:
When authority software passes through verification, normal operation system program;
When authority software is not verified, preset endless loop program is performed.
Second aspect, the embodiment of the present invention, which additionally provides one kind, prevents implanted lesions located in deep brain system program to be cracked
Device, including:
Number of resets acquisition module, for when detecting that electrification reset interrupts, obtaining system power-on reset number;
Comparison module, for system power-on reset number and preset number of resets threshold value to be compared, in the system
When electrification reset number of uniting is more than preset number of resets threshold value, preset endless loop program is performed.
Further, described device further includes:
Number of resets update module is not more than preset number of resets threshold value for reset number on the system
When, system power-on reset number is updated, and preserve updated system power-on reset number.
Further, the number of resets acquisition module includes:
Data-reading unit powers on the electrification reset number stored in counter register for reading;
Correspondingly, the number of resets update module, is used for:
Reading is powered on to the data stored in counter register and adds one, and be stored in and power in counter register.
Further, the number of resets acquisition module, is used for:
Judge whether reset interrupt is that electrification reset interrupts by reading reseting mark.
Further, the system also includes:
Judgment module is verified, for judging whether authority software passes through verification;
The comparison module, is used for:
When authority software passes through verification, normal operation described program;
When authority software is not verified, bootstrap performs preset endless loop program.
The method and device provided in an embodiment of the present invention that implanted lesions located in deep brain system program is prevented to be cracked is led to
It crosses when implanted lesions located in deep brain system power-on reset interrupts, by system power-on reset number and preset number of resets threshold
Value, it is determined whether for illegal reverse engineered, program is transferred to the operation of endless loop program when being determined as illegal reverse engineered, is made non-
Method reverse engineered can not continue to execute, and protect the equity of developer.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 be the embodiment of the present invention one provide prevent the method that implanted lesions located in deep brain system program is cracked
Flow diagram;
Fig. 2 is the method provided by Embodiment 2 of the present invention that implanted lesions located in deep brain system program is prevented to be cracked
Flow diagram;
Fig. 3 be the embodiment of the present invention three provide prevent the method that implanted lesions located in deep brain system program is cracked
Flow diagram;
Fig. 4 be the present invention implement four offer prevent the method that implanted lesions located in deep brain system program is cracked
Flow diagram;
Fig. 5 be the embodiment of the present invention five provide prevent the device that implanted lesions located in deep brain system program is cracked
Structure diagram.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than full content are illustrated only in description, attached drawing.
Embodiment one
Fig. 1 is the method that implanted lesions located in deep brain system program is prevented to be cracked that the embodiment of the present invention one provides
Flow chart, the present embodiment are applicable to the situation that implanted lesions located in deep brain system program is prevented to be cracked, and this method can be with
It is performed by the device that implanted lesions located in deep brain system program is prevented to be cracked, which can be by software/hardware mode reality
It is existing, and be integrated in implanted lesions located in deep brain system.
The method specifically comprises the following steps:
Step 110, when detecting that electrification reset interrupts, system power-on reset number is obtained.
Implanted lesions located in deep brain system can generally be sold after manufacture by dealer, and hospital is after point of purchase
Lesions located in deep brain system is implanted in human body by modes such as operations.Since implanted lesions located in deep brain system belongs to doctor
Equipment is treated, in the process, each implanted lesions located in deep brain system all can be by stringent management and control, Bu Huiliu
Enter into illegal businessman's hand.And once lesions located in deep brain system is taken out from patient, lesions located in deep brain system is not just in pipe
Within the scope of control, illegal businessman can be got lesions located in deep brain system using this loophole and reversely be studied.To brain depth
When portion's electric stimulation is reversely studied, need to destroy encapsulating, then by semiconductor testing apparatus, microscope and micro- positioning
Device, taken in special laboratory a few houres even several weeks could complete.Lesions located in deep brain system is disassembled, with
Obtain program related information.It after completing to disassemble, needs to reset lesions located in deep brain system again, when being resetted, brain is deep
CPU in portion's electric stimulation can generate electrification reset interruption.Detect electrification reset interrupt when, read storage on reply by cable
Precedence number.
Step 120, system power-on reset number and preset number of resets threshold value are compared, it is electric on the system
When number of resets is more than preset number of resets threshold value, preset endless loop program is performed.
In general, it is that system is restored to initial setting up state that system power-on reset, which is used for, in lesions located in deep brain system
When system is implanted to patient's body, generally without electrification reset implanted lesions located in deep brain system.Implanted lesions located in deep brain
For system when patient's body works normally, system power-on reset number is less than or equal to a setting value;If system electrification is answered
Precedence number is more than the setting value, then illustrates that lesions located in deep brain system is possible to take out from the patient, illegal trade company
After disassembling implanted lesions located in deep brain system, reset is re-powered, for cracking the program of current system.In the present embodiment
In, number of resets threshold value is preset, number of resets threshold value is by empirically determined, illustratively, can set number of resets threshold value
Be set to 1, and system power-on reset number and preset number of resets threshold value be compared, and determined according to result of the comparison be
It is no to need to control the program of implanted lesions located in deep brain system operation.
If system power-on reset number is more than the setting value, need to control currently running program, prevent
Only illegal manufacturer's cracking programs.Specifically, corresponding endless loop program code is prestored in a program, in normal work,
Endless loop program code is not jumped to.When system power-on reset number is more than the setting value, this section of endless loop journey is jumped to
Sequence code, and this section of code is performed, make lesions located in deep brain system that can not export corresponding signal, illegal manufacturer can not be according to brain
The result of deep brain stimulation system program operation cracks the realization of lesions located in deep brain system program, realizes and protects developer
Equity purpose.
The method provided in this embodiment that implanted lesions located in deep brain system program is prevented to be cracked, by implanted
When lesions located in deep brain system power-on reset interrupts, system power-on reset number and preset number of resets threshold value are compared
Compared with.It is more than preset number of resets threshold value constantly in system power-on reset number, is judged as illegal reverse engineered, and program is turned
Enter the operation of endless loop program, make illegal reverse engineered that can not continue to execute, protect the equity of developer.
In a preferred embodiment of the present embodiment, by system power-on reset number and preset number of resets threshold
After value is compared, further include:When reset number is not more than preset number of resets threshold value on the system, update system
System electrification reset number, and preserve updated system power-on reset number.It can realize and electrification reset number is updated.
Embodiment two
Fig. 2 is the method that implanted lesions located in deep brain system program is prevented to be cracked that second embodiment of the invention provides
Flow diagram.The present embodiment is optimized based on above-described embodiment, in the present embodiment, will be in the acquisition system
Reset number, is specifically optimized for:Read the electrification reset number for powering on and being stored in counter register.
Correspondingly, the method for the present embodiment specifically includes:
Step 210, when detecting that electrification reset interrupts, the electrification reset for powering on and being stored in counter register is read
Number.
In the present embodiment, it sets one in the CPU of implanted lesions located in deep brain system and powers on counting
PowerOnCounter registers, for recording the electrification reset interruption times of implanted lesions located in deep brain system.Described
PowerOnCounter registers will not lose preserved data after a loss of power.It, will when program is written in manufacture
Data initialization in PowerOnCounter registers is 0, and the data in the register are encrypted, and prevents from being acquired
With distort.
When detecting that electrification reset interrupts, the record stored in PowerOnCounter registers is read, and pass through solution
It is close, obtain the system power-on reset number stored in PowerOnCounter registers.Due to PowerOnCounter registers
The system power-on reset number of middle storage, according to the system power-on reset number stored in PowerOnCounter registers
Determine system power-on reset number.
Step 220, system power-on reset number and preset number of resets threshold value are compared, it is electric on the system
When number of resets is more than preset number of resets threshold value, preset endless loop program is performed.
The present embodiment obtains system power-on reset number by described, is specifically optimized for:Reading is powered in counter register and is deposited
The electrification reset number of storage.Can the electrification reset number of system accurately be determined, and can have by the register of setting
Effect prevents system power-on reset number to be tampered, the equity of more efficiently protective development person.
In a preferred embodiment of the present embodiment, by system power-on reset number and preset number of resets threshold
After value is compared, further include:When reset number is not more than preset number of resets threshold value on the system, it will read
It powers on the data stored in counter register and adds one, and be stored in and power in counter register.It realizes to powering in counter register
The electrification reset number stored is updated.It can make to power on the data stored in counter register and practical electrification reset
Number is consistent.
Embodiment three
Fig. 3 is the method that implanted lesions located in deep brain system program is prevented to be cracked that third embodiment of the invention provides
Flow diagram.The present embodiment is optimized based on above-described embodiment, in the present embodiment, is detecting electrification reset
Before during interruption, increase following steps:Judge whether reset interrupt is that electrification reset interrupts by reading reseting mark.
Correspondingly, the method for the present embodiment specifically includes:
Step 310, judge whether reset interrupt is that electrification reset interrupts by reading reseting mark.
Implanted lesions located in deep brain system when in use, may generate interruption due to many reasons.By its property and
Processing method is broadly divided into following five class:
1. mechanical disorder is interrupted.
2. program interrupt.Caused by the anomalous event of current program in itself, following three kinds can be divided into:First, procedural mistake
Accidentally, such as the address boundary of instruction or operand is wrong, and illegal operation code and divisor are zero etc.;Second is that generate special operation knot
Fruit, such as fixed point are overflowed;Third, certain predetermined events to be tracked occurs in program, tracking operation is mainly used for program tune
Examination.
3. input/output unit interrupts.
4. outer interrupt.From console interrupt switch, timer, clock or other equipment, the processing of this kind of interruption is simpler
It is single, it is real-time.
5. call management program.User program is user's journey using special instruction " calling management program " hair interrupt requests
Contact bridge between sequence and operating system.
Reseting mark position is set convenient for distinguishing the reset that different reasons cause.Illustratively, in the implanted brain deep
Reset state register is equipped in the cpu chip of electric stimulation, can be recorded by different reseting mark positions last multiple
The type of position, such as:Electrification reset, pin reset, watchdog reset, illegal instruction resets, illegal address resets and under-voltage multiple
Position etc. by the way that reseting mark position is compared with preset reset correspondence, can effectively determine reset source, and then really
Whether fixed reset is that electrification reset interrupts.
Step 320, when detecting that electrification reset interrupts, system power-on reset number is obtained.
Step 330, system power-on reset number and preset number of resets threshold value are compared, it is electric on the system
When number of resets is more than preset number of resets threshold value, preset endless loop program is performed.
The present embodiment is by before when detecting that electrification reset interrupts, increasing following steps:By reading reseting mark
Judge whether reset interrupt is that electrification reset interrupts.Reset interrupt source can be determined according to identifier is resetted, and determine therefrom that and be
It is no to be interrupted for electrification reset, when the non-electrification reset of system interrupts, system can normal operation, avoid interrupting due to other so that
System is unable to operate normally.
Example IV
Fig. 4 is the method that implanted lesions located in deep brain system program is prevented to be cracked that fourth embodiment of the invention provides
Flow diagram.The present embodiment is optimized based on above-described embodiment, in the present embodiment, by system power-on reset
After number is compared with preset number of resets threshold value, before performing preset endless loop program, increase following steps:Judge
Whether authority software passes through verification;And preset endless loop program is performed by described, specifically it is optimized for:In authority software by testing
During card, normal operation system program;When authority software is not verified, preset endless loop program is performed.
Correspondingly, the method for the present embodiment specifically includes:
Step 410, when detecting that electrification reset interrupts, system power-on reset number is obtained.
Step 420, system power-on reset number and preset number of resets threshold value are compared, it is electric on the system
When number of resets is more than preset number of resets threshold value, judge whether authority software passes through verification.
When implanted lesions located in deep brain system is debugged or is repaired, it is also desirable to implanted lesions located in deep brain
System carries out electrification reset, if also performing endless loop program after electrification reset, can not realize debugging or repair implantation
Formula lesions located in deep brain system.In the present embodiment, implanted lesions located in deep brain system is made upper by using authority software
When electric number of resets is more than preset number of resets threshold value, normal operation program is remained able to.Authority software can be used for pair
System software mandate, the system software after mandate under any circumstance can normal operation.Authority software includes electronics and is permitted
It can demonstrate,prove, which will authorize the binding of system hardware feature after the hardware characteristics of system are obtained, with certain mechanism.
Before being authorized, authority software is verified by electronic license.Illustratively, it is the hardware in electronic license is special
Sign is matched with the hardware characteristics of current system, if successful match, is verified.
Step 430, when authority software passes through verification, normal operation described program.
If authority software can by verification, prove current implanted lesions located in deep brain system be in debugging or
In repairing, system normal operation program.
Step 440, when authority software is not verified, preset endless loop program is performed.
The present embodiment is pre- by after system power-on reset number and preset number of resets threshold value are compared, performing
If endless loop program before, increase following steps:Judge whether authority software passes through verification;It is and the execution is preset dead
Cyclic program is specifically optimized for:When authority software passes through verification, normal operation system program;In authority software not by testing
During card, preset endless loop program is performed.It can be authenticated when being debugged or being repaired by authority software so that be
System can continue to work.
Embodiment five
Be in Fig. 5 the embodiment of the present invention five provide prevent the device that implanted lesions located in deep brain system program is cracked
Structure diagram, as shown in figure 5, described device includes:
Number of resets acquisition module 510, for when detecting that electrification reset interrupts, obtaining system power-on reset number;
Comparison module 520, for system power-on reset number and preset number of resets threshold value to be compared, described
When system power-on reset number is more than preset number of resets threshold value, preset endless loop program is performed.
The device provided in an embodiment of the present invention that implanted lesions located in deep brain system program is prevented to be cracked, by planting
When entering formula lesions located in deep brain system power-on reset and interrupting, by system power-on reset number and preset number of resets threshold value, really
Whether fixed is illegal reverse engineered, and program is transferred to the operation of endless loop program when being determined as illegal reverse engineered, is made illegal anti-
It can not be continued to execute to cracking, protect the equity of developer.
On the basis of the various embodiments described above, described device further includes:
Number of resets update module 530 is not more than preset number of resets threshold for reset number on the system
During value, system power-on reset number is updated, and preserve updated system power-on reset number.
On the basis of the various embodiments described above, the number of resets acquisition module 510 includes:
Data-reading unit powers on the electrification reset number stored in counter register for reading;
Correspondingly, the number of resets update module 530, is used for:
Reading is powered on to the data stored in counter register and adds one, and be stored in and power in counter register.
On the basis of the various embodiments described above, the number of resets acquisition module 510 is used for:
Judge whether reset interrupt is that electrification reset interrupts by reading reseting mark.
On the basis of the various embodiments described above, the system also includes:
Judgment module 540 is verified, for judging whether authority software passes through verification;
The comparison module 520, is used for:
When authority software passes through verification, normal operation described program;
When authority software is not verified, bootstrap performs preset endless loop program.
The device that the embodiment of the present invention was provided prevent implanted lesions located in deep brain system program to be cracked can be used for
Perform any embodiment offer of the present invention prevents the method that implanted lesions located in deep brain system program is cracked, and has corresponding
Function module, realize identical advantageous effect.
Obviously, it will be understood by those skilled in the art that each module or each step of the above-mentioned present invention can be by as above
The terminal device is implemented.Optionally, the embodiment of the present invention can be realized with the program that computer installation can perform, so as to
It can be stored in storage device and be executed by a processor, the program can be stored in a kind of computer-readable deposit
In storage media, storage medium mentioned above can be read-only memory, disk or CD etc.;Or they are fabricated to respectively
Multiple modules in them or step are fabricated to single integrated circuit module to realize by each integrated circuit modules.This
Sample, the present invention is not limited to the combinations of any specific hardware and software.
The foregoing is merely the preferred embodiment of the present invention, are not intended to restrict the invention, for those skilled in the art
For, the present invention can have various modifications and changes.All any modifications made within spirit and principles of the present invention are equal
Replace, improve etc., it should all be included in the protection scope of the present invention.
Claims (10)
- A kind of 1. method that implanted lesions located in deep brain system program is prevented to be cracked, which is characterized in that including:When detecting that electrification reset interrupts, system power-on reset number is obtained;System power-on reset number and preset number of resets threshold value are compared, reset number is more than on the system During preset number of resets threshold value, preset endless loop program is performed.
- 2. according to the method described in claim 1, it is characterized in that, after system power-on reset number is obtained, further include:When reset number is not more than preset number of resets threshold value on the system, system power-on reset number is updated, and Preserve updated system power-on reset number.
- 3. according to the method described in claim 2, it is characterized in that, it is described acquisition system power-on reset number, including:Read the electrification reset number for powering on and being stored in counter register;The update system power-on reset number, and updated system power-on reset number is preserved, including:Reading is powered on to the data stored in counter register and adds one, and be stored in and power in counter register.
- 4. according to the method described in claim 1, it is characterized in that, detect electrification reset interrupt when before, including:Judge whether reset interrupt is that electrification reset interrupts by reading reseting mark.
- 5. according to the method described in claim 1, it is characterized in that, by system power-on reset number and preset number of resets After threshold value is compared, before performing preset endless loop program, further include:Judge whether authority software passes through verification;It is described to perform preset endless loop program, including:When authority software passes through verification, normal operation system program;When authority software is not verified, preset endless loop program is performed.
- 6. a kind of device that implanted lesions located in deep brain system program is prevented to be cracked, which is characterized in that including:Number of resets acquisition module, for when detecting that electrification reset interrupts, obtaining system power-on reset number;Comparison module, for system power-on reset number and preset number of resets threshold value to be compared, on the system When reset number is more than preset number of resets threshold value, preset endless loop program is performed.
- 7. device according to claim 6, which is characterized in that described device further includes:Number of resets update module, when being not more than preset number of resets threshold value for reset number on the system, more New system electrification reset number, and preserve updated system power-on reset number.
- 8. device according to claim 7, which is characterized in that the number of resets acquisition module includes:Data-reading unit powers on the electrification reset number stored in counter register for reading;Correspondingly, the number of resets update module, is used for:Reading is powered on to the data stored in counter register and adds one, and be stored in and power in counter register.
- 9. device according to claim 6, which is characterized in that the number of resets acquisition module is used for:Judge whether reset interrupt is that electrification reset interrupts by reading reseting mark.
- 10. device according to claim 6, which is characterized in that the system also includes:Judgment module is verified, for judging whether authority software passes through verification;The comparison module, is used for:When authority software passes through verification, normal operation described program;When authority software is not verified, bootstrap performs preset endless loop program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511028138.3A CN105468942B (en) | 2015-12-31 | 2015-12-31 | The method and device that implanted lesions located in deep brain system program is prevented to be cracked |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511028138.3A CN105468942B (en) | 2015-12-31 | 2015-12-31 | The method and device that implanted lesions located in deep brain system program is prevented to be cracked |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105468942A CN105468942A (en) | 2016-04-06 |
CN105468942B true CN105468942B (en) | 2018-06-26 |
Family
ID=55606632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511028138.3A Active CN105468942B (en) | 2015-12-31 | 2015-12-31 | The method and device that implanted lesions located in deep brain system program is prevented to be cracked |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105468942B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025700A (en) * | 2006-02-21 | 2007-08-29 | 中兴通讯股份有限公司 | Abnormal reset system protection method and reset protection system |
CN104142726A (en) * | 2013-05-09 | 2014-11-12 | 中国科学院微电子研究所 | Chip and chip reset protection method |
CN104461755A (en) * | 2014-12-19 | 2015-03-25 | 天津七一二通信广播有限公司 | Circuit for resetting watchdog finitely and implementation method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2818766A1 (en) * | 2000-12-21 | 2002-06-28 | Bull Cp8 | METHOD FOR SECURING THE EXECUTION OF AN IMPLANTED PROGRAM IN AN ELECTRONIC MODULE WITH MICROPROCESSOR, AS WELL AS THE ELECTRONIC MODULE AND THE MICROCIRCUIT CARD THEREOF |
-
2015
- 2015-12-31 CN CN201511028138.3A patent/CN105468942B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025700A (en) * | 2006-02-21 | 2007-08-29 | 中兴通讯股份有限公司 | Abnormal reset system protection method and reset protection system |
CN104142726A (en) * | 2013-05-09 | 2014-11-12 | 中国科学院微电子研究所 | Chip and chip reset protection method |
CN104461755A (en) * | 2014-12-19 | 2015-03-25 | 天津七一二通信广播有限公司 | Circuit for resetting watchdog finitely and implementation method |
Also Published As
Publication number | Publication date |
---|---|
CN105468942A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220226663A1 (en) | Controller and flexible coils for inducing an effect of a chemical or biochemical agent to a mammalian subject | |
CA3089920C (en) | A medical device configured to communicate with a remote computer system | |
Rios et al. | Security evaluation of the implantable cardiac device ecosystem architecture and implementation interdependencies | |
CN106127056A (en) | A kind of method for designing of domestic BMC chip trusted firmware | |
US20060200682A1 (en) | Apparatus and method for protecting diagnostic ports of secure devices | |
CN1853162A (en) | BIOS protection device | |
JP2008009981A (en) | Method and device for realizing protection of starting computer | |
WO2016161704A1 (en) | Usage control method and system for medical detection device and medical detection device | |
CN106156618A (en) | A kind of safety chip, mobile terminal and the method realizing mobile terminal system safety | |
CN103049293B (en) | A kind of startup method of embedded credible system | |
CN106250760A (en) | A kind of U Boot based on TPM2.0 chip credible startup method | |
CN108351936A (en) | The program of detection virtual machine or emulator is evaded | |
Giese et al. | Amazon echo dot or the reverberating secrets of IoT devices | |
CN105468942B (en) | The method and device that implanted lesions located in deep brain system program is prevented to be cracked | |
CN108630311A (en) | A kind of interference method and system of user health | |
Kim et al. | Reliability and security of implantable and wearable medical devices | |
Schellekens | Design and analysis of trusted computing platforms | |
WO2018077150A1 (en) | Use control method and device for medical equipment | |
CN201917913U (en) | Encryption integrated circuit (IC) module | |
CN110020562A (en) | The full encryption method of hard disk and device based on UEFI | |
Barnes | Cybersecurity and medical devices | |
RU2789614C1 (en) | Device for protection of uefi bios from unauthorized changes | |
Weiser | Enclave Security and Address-based Side Channels | |
Bresch | Approaches, Strategies, and Implementations of Memory Safety Defenses in Critical and Constrained Embedded Systems | |
WO2021076904A1 (en) | System for blood glucose meter coupled with mobile electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Building C16, Bionano Park, No. 218 Xinghu Street, Industrial Park, Suzhou City, Jiangsu Province, 215028 Patentee after: Jingyu Medical Technology (Suzhou) Co.,Ltd. Address before: Building C16, Bionano Park, No. 218 Xinghu Street, Industrial Park, Suzhou City, Jiangsu Province, 215028 Patentee before: SCENERAY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |