CN106648791A - Data loading method and device - Google Patents
Data loading method and device Download PDFInfo
- Publication number
- CN106648791A CN106648791A CN201611243171.2A CN201611243171A CN106648791A CN 106648791 A CN106648791 A CN 106648791A CN 201611243171 A CN201611243171 A CN 201611243171A CN 106648791 A CN106648791 A CN 106648791A
- Authority
- CN
- China
- Prior art keywords
- configuration code
- processing module
- module
- main control
- programmable processing
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a data loading method and device, which are applied to a digital test tool and belong to the technical field of sample detection equipment. The method comprises the following steps: a master control module acquires a configuration code which is transmitted by a programmable processing module, loads the configuration code and an initial configuration program, and generates a loading command to the programmable processing module; the master control module acquires an encryption configuration code which is transmitted by the programmable processing module, and decrypts the encryption configuration code according to a preset rule; the master control module transmits the decrypted encryption configuration code to the programmable processing module, so that the programmable processing module loads the decrypted encryption configuration code to operate a sensitive configuration data program. The master control module decrypts the encryption configuration code and loads and operates the encryption configuration code, so that security when sensitive configuration data are stored and loaded can be effectively improved; therefore, the applicability of the digital test tool in actual use can be effectively improved.
Description
Technical field
The present invention relates to exemplar testing equipment technical field, in particular to a kind of data load method and device.
Background technology
With China's rapid development of economy, the continuous improvement of manufacturing technology level, cubing is in each processing and manufacturing row
It is widely used in industry.
Cubing can be detected by the surveyors' staff of itself to each parts manufactured, with by testing result
Reading judge manufacture each parts it is whether qualified.In prior art, the detection method of current cubing is most
It is by manually being detected to each parts using cubing, and each parts are detected whether into qualified record.The party
Although method is obtained in that the data of each parts detection, and data are recorded.At present in cubing technology, detection data is entered
Row record passes through manually to record mostly, or is simply stored by storage device.Artificial is manually recorded, although energy
Effectively by under data record, but because the error of personnel is likely to result in Missing data, so as to have a strong impact on the accurate of data
Property, and then also have impact on the applicability of cubing.Additionally, detection data is stored by storage device, although data can be prevented
Lose, but storage facilities may be by assault, so as to the detection data for causing product falls into lawless person or rival's hand
In, and then also have impact on the applicability of cubing.
Therefore, how effectively to improve cubing applicability in actual use is current industry a great problem.
The content of the invention
In view of this, it is an object of the invention to provide a kind of data load method and device, it can effectively be improved
Digitlization cubing applicability in actual use.
What embodiments of the invention were realized in:
In a first aspect, embodiments providing a kind of data load method, it is applied to digitize cubing, the numeral
Changing cubing includes:Main control module, programmable processing module, load blocks and memory module, the programmable processing module difference
Couple with the main control module and the memory module, the load blocks are coupled with the programmable processing module, the side
Method includes:The main control module obtains and loads the configuration code that the programmable processing module sends, to run initial configuration
Program, and loading instruction is generated to the programmable processing module.The main control module obtains the programmable processing module and sends out
The encryption configuration code for sending, and decrypt the encryption configuration code according to preset rules.Described in the main control module will be decrypted
Encryption configuration code is sent to the programmable processing module, so that the encryption of the programmable processing module loading decryption
Configuration code, to run sensitive configuration data program.
Second aspect, embodiments provides a kind of data load method, is applied to digitize cubing, the numeral
Changing cubing includes:Main control module, programmable processing module, load blocks and memory module, the programmable processing module difference
Couple with the main control module and the memory module, the load blocks are coupled with the programmable processing module, the side
Method includes:The programmable processing module is based on and limits access state disconnection and the coupling of the load blocks, deposits described in acquisition
Configuration code in storage module, and the configuration code is sent to the main control module.The programmable processing module according to
The loading instruction that the main control module sends obtains the encryption configuration code in the memory module, and by the encryption configuration generation
Code is sent to the main control module.The programmable processing module is coupled based on access state with load blocks, obtains the master
The encryption configuration code of the decryption that control module sends, and according to the sensitive configuration number of encryption configuration code operation of decryption
According to program.
The third aspect, embodiments provides a kind of data load method, is applied to digitize cubing, the numeral
Changing cubing includes:Main control module, programmable processing module, load blocks and memory module, the programmable processing module difference
Couple with the main control module and the memory module, the load blocks are coupled with the programmable processing module, the side
Method includes:The programmable processing module is based on and limits access state disconnection and the coupling of the load blocks, deposits described in acquisition
Configuration code in storage module, and the configuration code is sent to the main control module.The main control module is obtained and loaded
The configuration code that the programmable processing module sends, to run initial configuration program, and generates loading instruction to described
Programmable processing module.The programmable processing module is deposited according to the loading instruction that the main control module sends is obtained
Encryption configuration code in storage module, and the encryption configuration code is sent to the main control module.The main control module is obtained
The encryption configuration code that the programmable processing module sends is taken, and the encryption configuration generation is decrypted according to preset rules
Code.The main control module sends the encryption configuration code decrypted to the programmable processing module, so that described compile
The encryption configuration code of journey processing module loading decryption, to run sensitive configuration data program.
Fourth aspect, embodiments provides a kind of data loading device, and the data loading device includes:Loading
Module, for main control module the configuration code that simultaneously loading programmable processing module sends is obtained, to run initial configuration program, and
Loading instruction is generated to the programmable processing module.Deciphering module, for the main control module the programmable process is obtained
The encryption configuration code that module sends, and decrypt the encryption configuration code according to preset rules.Sending module, for the master
Control module sends the encryption configuration code decrypted to the programmable processing module, so that the programmable processing module
The encryption configuration code of loading decryption, to run sensitive configuration data program.
5th aspect, embodiments provides a kind of data loading device, and the data loading device includes:First
Transport module, for may be programmed processing module based on the coupling for limiting access state disconnection and load blocks, obtains memory module
In configuration code, and the configuration code is sent to main control module.Second transport module, for the programmable process mould
Root tuber obtains the encryption configuration code in the memory module according to the loading instruction that the main control module sends, and by the encryption
Configuration code is sent to the main control module.Operation module, for the programmable processing module based on access state and load
Module is coupled, and obtains the encryption configuration code of the decryption that the main control module sends, and is matched somebody with somebody according to the encryption of decryption
Put the sensitive configuration data program of code operation.
The beneficial effect of the embodiment of the present invention is:
During digitlization cubing initial launch, main control module can obtain the configuration code that programmable processing module sends.It is main
Control module just can carry out the operation of initial configuration program by loading the configuration code.So as to main control module can be according to initially matching somebody with somebody
Program Generating loading instruction is put to programmable processing module.Main control module can also receive programmable processing module and be referred to according to loading
The encryption configuration code for making and sending.Main control module can be decrypted encryption configuration code according to preset rules.Master control mould
After block is by encryption configuration code decryption, the encryption configuration code can be retransmited to programmable processing module, so that this can be compiled
After the encryption configuration code of journey processing module loading decryption, sensitive configuration data program can be run.Decrypted by main control module
The encryption configuration code, reload operation the encryption configuration code, therefore can effectively improve sensitive configuration data storage and
Security during loading.Therefore, it is possible to effectively improve digitlization cubing applicability in actual use.
Other features and advantages of the present invention will illustrate in subsequent specification, also, partly become from specification
It is clear that or being understood by implementing the embodiment of the present invention.The purpose of the present invention and other advantages can be by being write
Specifically noted structure is realizing and obtain in specification, claims and accompanying drawing.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be being obtained according to these accompanying drawings
Obtain other accompanying drawings.By shown in accompanying drawing, the above and other purpose of the present invention, feature and advantage will become apparent from.In whole
Identical reference indicates identical part in accompanying drawing.Not deliberately by actual size equal proportion scaling drafting accompanying drawing, emphasis
It is the purport for illustrating the present invention.
Fig. 1 shows a kind of structured flowchart of digitlization cubing system provided in an embodiment of the present invention;
Fig. 2 shows a kind of first pass figure of data load method provided in an embodiment of the present invention;
Fig. 3 shows the son of step S200 in a kind of first pass figure of data load method provided in an embodiment of the present invention
Flow chart;
Fig. 4 shows a kind of second flow chart of data load method provided in an embodiment of the present invention;
Fig. 5 shows the son of step S201 in a kind of second flow chart of data load method provided in an embodiment of the present invention
Flow chart;
Fig. 6 shows a kind of first structure block diagram of data loading device provided in an embodiment of the present invention;
Fig. 7 shows a kind of the second structured flowchart of data loading device provided in an embodiment of the present invention;
Fig. 8 shows a kind of the 3rd structured flowchart of data loading device provided in an embodiment of the present invention;
Fig. 9 shows a kind of the 4th structured flowchart of data loading device provided in an embodiment of the present invention.
Icon:10- digitizes cubing;11- main control modules;12- may be programmed processing module;13- load blocks;14- is stored
Module;100- data loading devices;110- load-on modules;120- deciphering modules;121- acquiring units;122- decryption units;
130- sending modules;The transport modules of 140- first;The transport modules of 150- second;151- driver elements;152- processing units;153-
Transmitting element;160- runs module.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention, rather than the embodiment of whole.Present invention enforcement generally described and illustrated in accompanying drawing herein
The component of example can be arranged and designed with a variety of configurations.
Therefore, the detailed description of embodiments of the invention below to providing in the accompanying drawings is not intended to limit claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiment in the present invention, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belongs to the model of present invention protection
Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further defined and is explained in subsequent accompanying drawing.Term " first ", " the
Two " etc. it is only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 is referred to, a kind of digitlization cubing 10 is embodiments provided, the digitlization cubing 10 includes:Master control
Module 11, programmable processing module 12, load blocks 13 and memory module 14.
Main control module 11 is the IC chip with signal transacting and operational capability.Main control module 11 can with can compile
The coupling of journey processing module 12, obtains the initial configuration code that programmable processing module 12 sends.By loading the initial code,
To run initial configuration program, for example:Interface display Logo or basic parameter of man-machine interaction liquid crystal display in digitlization cubing 10
Initialization operation.Additionally, main control module 11 also has decryption capabilities, main control module 11 can obtain programmable processing module 12
The encryption configuration code for sending, and will be retransmited after the encryption configuration code decryption to programmable according to the preset rules of itself storage
Processing module 12.
Programmable processing module 12 is editable IC chip, and it has certain signal handling capacity.Counting
When word cubing 10 is in initial power-on state, may be programmed processing module 12 and disconnected and load blocks 13 based on access state is limited
Coupling, in order to avoid data are stolen.Programmable processing module 12 passes through to couple with main control module 11 and memory module 13 respectively, from
The dynamic configuration code obtained in memory module 13, and the configuration code is sent to main control module 11.Programmable processing module 12
After the instruction that main control module 11 sends is obtained, the encryption configuration code in storage module 13 can be obtained according to the instruction, concurrently
Deliver to main control module 11 to be decrypted.And after cubing 10 is digitized in power-up state, processing module 12 is may be programmed based on limit
The coupling of access state processed and load blocks 13, to ensure to digitize the normal operation of cubing 10.Now, may be programmed processing module
12 can also obtain the encryption configuration code after main control module 11 is decrypted, and load the encryption configuration code to run sensitive configuration number
According to program.
Load blocks 13 are Functional integrated circuit chip, when the normally operation of cubing 10 is digitized, the energy of load blocks 13
It is enough to form data interaction with programmable processing module 12, so as to load blocks 13 can receive the transmission of programmable processing module 12
The detection data that the basic parameter or digitlization cubing 10 of digitlization cubing 10 is obtained in detection, and cubing 10 will be digitized
The detection data that basic parameter or digitlization cubing 10 are obtained in detection is sent to the terminal device of outside.Additionally, load mould
Block 13 can also receive the basic parameter of the digitlization cubing 10 that the terminal device of outside sends, and by the base of the digitlization cubing 10
This parameter is retransmited to programmable processing module 12, to realize the base of change digitlization cubing 10 by may be programmed processing module 12
This parameter.
Memory module 14 is flash memory (Flash, Flash Memory), and its size can be 8 to 16MB.Store up in storage module
The configuration code of digitlization cubing 10 initial configuration program operation has been deposited, and digitlization cubing 10 runs sensitive configuration data journey
The encryption configuration code of sequence.Storage module 14 by with programmable processing module 12, storage module 14 can be in programmable process
Corresponding code is sent to programmable processing module 12 under the driving of module 12.
Fig. 2 is referred to, Fig. 2 shows the flow chart of data load method, and the method is applied to the inspection of the digitlization shown in Fig. 1
Tool, and with main control module as executive agent.In the present embodiment, main control module is initially matched somebody with somebody by loading configuration code first with running
Program is put, then encryption configuration code is decrypted, to realize the operation of sensitive configuration data program.
Specifically, main control module enters line code loading and the method flow of decryption and includes:Step S100, step S200 and step
Rapid S300.
Step S100:The main control module obtains and loads the configuration code that the programmable processing module sends, to transport
Row initial configuration program, and loading instruction is generated to the programmable processing module.
When digitlization cubing is in initial power-on state, i.e., when digitlization cubing is just switched on power supply, main control module can be obtained
Take the configuration code that programmable processing module sends.Main control module is initially matched somebody with somebody by the way that configuration code is loaded so as to run
Put program.The initial configuration program is run by main control module, so as to man-machine interaction liquid crystal display in realizing to digitizing cubing
The initialization operation of interface display Logo or basic parameter.As main control module runs the initial configuration program, cubing is digitized
It is also at power-up state.Main control module can generate loading and instruct and send to programmable process according to the initial configuration program
Module.
Step S200:The main control module obtains the encryption configuration code that the programmable processing module sends, and according to
Preset rules decrypt the encryption configuration code.
Main control module is sent after loading instruction, and main control module can obtain programmable processing module and be sent out according to loading instruction
The encryption configuration code for sending.The security of data in ensure digitlization cubing, main control module is obtained at the encryption configuration code
In encrypted state.The preset rules for decrypting the encryption configuration code are stored in main control module, so as to main control module being capable of basis
Preset rules and by obtain the encryption configuration code be decrypted.
Step S300:The main control module sends the encryption configuration code decrypted to the programmable process mould
Block, so that the encryption configuration code of the programmable processing module loading decryption, to run sensitive configuration data program.
By after encryption configuration code decryption, main control module can be carried out main control module by using outside data storage
The caching of data, so as to reserve the storage area of oneself to come, realizes the control function to digitizing cubing.At the same time,
Main control module can send the encryption configuration code of the decryption to programmable processing module, so that programmable processing module can
By the encryption configuration code for loading the decryption, to run sensitive configuration data program.Wherein, the sensitive configuration data journey
Sequence includes:Time tag and digitlization when detecting before the detection data, the digitlization cubing that detect before digitlization cubing
The master data of cubing oneself.
Fig. 3 is referred to, Fig. 3 shows that main control module decrypts the flow chart of encryption configuration code.In the present embodiment, the method
It is executive agent that flow process is main control module, and main control module is according to the preset rules packet deciphering encryption configuration code.
Specifically, main control module includes according to the method flow of the preset rules packet deciphering encryption configuration code:Step
S210 and step S220.
Step S210:The main control module obtains the encryption configuration code that the programmable processing module sends, its
In, the encryption configuration code be by the encryption configuration code division into multigroup independent encryption configuration code.
Main control module can obtain first the encryption configuration code that programmable processing module sends.Wherein, main control module
The encryption configuration code of acquisition be the encryption configuration code division into multigroup independent encryption configuration code.By by encryption configuration
The segmentation of code, and per group of independent encryption configuration code is encrypted can effectively improve security.
Step S220:The main control module, will be every in the encryption configuration code according to packet deciphering according to preset rules
The group independent encryption configuration code is decrypted successively, and according to pre-set code assembling rule, by the described independent of multigroup decryption
Encryption configuration code is assembled into the encryption configuration code of decryption.
The preset rules that are decrypted of main control module memory storage.Main control module is obtained according to multigroup independent encryption configuration code
The order for taking, is decrypted according to preset rules to per group of independent encryption configuration code, so as to main control module can be to all
Independent encryption configuration code complete decryption.After decrypted, if according to the order of multigroup independent encryption configuration Code obtaining, now
Multigroup independent encryption configuration code can not constitute encryption configuration code, i.e., encryption configuration code now cannot run.
In the present embodiment, pre-set code assembling rule is also stored in main control module, main control module is according to the pre-set code assembling rule
The order of multigroup independent encryption configuration code can be adjusted.Specifically, main control module can according to the pre-set code assembling rule
Per group of independent encryption configuration code is placed on into corresponding position, so that multigroup independent encryption configuration code is correctly assembled
For the encryption configuration code of the decryption.
Fig. 4 is referred to, Fig. 4 is also shown for the flow chart of data load method, and the method is applied to the digitlization shown in Fig. 1
Cubing, and with programmable processing module as executive agent.In the present embodiment, in may be programmed processing module by obtaining storage module
Configuration code and encryption configuration code send to main control module, and load main control module send decryption encryption configuration code,
To run sensitive configuration data program.
Specifically, programmable processing module is entered the method flow of acquisition and the loading of line code and is included:Step S101, step
S201 and step S301.
Step S101:The programmable processing module is based on and limits access state disconnection and the coupling of the load blocks,
The configuration code in the memory module is obtained, and the configuration code is sent to the main control module.
When cubing is digitized in initial power-on state, i.e., when digitlization cubing just switches on power, now, may be programmed
Processing module is also original state, and it is in restriction access state.Accessed based on the restriction of itself so as to may be programmed processing module
State can disconnect the coupling with load blocks, to prevent code loading procedure in, data are stolen.Programmable processing module base
In the restriction access state of itself, the configuration code in memory module can be automatically obtained first.After configuration code is got,
Programmable processing module can send configuration code to main control module.So that main control module loads the configuration code and carries out just
The operation of beginning configurator.
Step S201:The programmable processing module obtains the storage according to the loading instruction that the main control module sends
Encryption configuration code in module, and the encryption configuration code is sent to the main control module.
Programmable processing module sends configuration code to main control module, as main control module loading configuration code is carried out
Carry out the operation of initial configuration program.Programmable processing module can get the loading instruction of main control module transmission.It is programmable
Processing module just can be obtained the corresponding encryption in storage module and be matched somebody with somebody by the parsing loading instruction according to the loading instruction
Put code.Furthermore, programmable processing module is getting encryption configuration code, and the encryption configuration code is at encrypting shape
State, programmable processing module can not load the encryption configuration code of the encrypted state, so as to programmable processing module adds this
Close configuration code sends to main control module and is decrypted.
Step S301:The programmable processing module is coupled based on access state with load blocks, obtains the master control mould
The encryption configuration code of the decryption that block sends, and according to the sensitive configuration data journey of encryption configuration code operation of decryption
Sequence.
If programmable processing module sends the encryption configuration code to main control module after being decrypted, and digitizes cubing
Fully powered up state is also at, that is, digitizes the loading that cubing has been completed initial configuration.To ensure digitlization cubing
The restriction access state of oneself is adjusted to access state by normal operation, programmable processing module, and based on the access shape of itself
State is formed with load blocks and coupled.In this access state when, programmable processing module then can receive main control module transmission
The encryption configuration code of decryption.Because the encryption configuration code is in decrypted state, programmable processing module then can be by adding
The encryption configuration code of the decryption is carried, to run sensitive configuration data program.Programmable processing module is by the sensitive configuration of operation
Data program can form data interaction with load blocks.So as to detection data, the numeral that will can detect before digitlization cubing
The master data for changing time tag when detecting before cubing and digitlization cubing oneself is sent to load blocks.Can compile
Journey processing module can also obtain the master data of the digitlization cubing of load blocks transmission, and according to the master data, will be existing
Master data change to identical with the master data of the digitlization cubing that load blocks send.
Fig. 5 is referred to, Fig. 5 shows that programmable processing module obtains and send the flow chart of encryption configuration code.This reality
In applying example, the method flow process may be programmed processing module and obtain storage according to loading instruction with programmable processing module as executive agent
Encryption configuration code in storing module, and memory module is hidden, then encryption configuration code is sent to main control module.
Specifically, programmable processing module is obtained and sends the method flow of encryption configuration code and includes:Step S2011,
Step S2012 and step S2013.
Step S2011:The programmable processing module is deposited according to the loading order-driven that the main control module sends
Storage module.
After the loading instruction of main control module transmission is got, programmable processing module can be parsed programmable processing module
The loading instruction, and according to the loading order-driven memory module.It should be noted that the programmable mould that processes refers to according to the loading
Order drives memory module, so that the memory module can send the encryption configuration code of specific storage to programmable process mould
Block.If without the programmable mould that processes according to the driving of the loading instruction to memory module, memory module can not be by specific storage
Encryption configuration code is sent to programmable processing module.
Step S2012:The programmable processing module obtains the encryption configuration code in the memory module, and raw
Instruct to the memory module into hiding, so that the memory module is in hidden state.
Programmable processing module is got after the encryption configuration code in memory module, is the safety for ensureing digitlization cubing
Property, to prevent storage module in data be stolen.Now, programmable processing module can be according to acquisition encryption configuration code
State, and generate and hide instruction.Programmable processing module sends the hiding instruction to storage module, so that the memory module exists
Hide under the driving of instruction and be in hidden state.
Step S2013:The programmable processing module sends the encryption configuration code to the main control module.
After programmable processing module is generated hides instruction to memory module, programmable processing module can determine that and now deposit
Storage module is in hidden state, so as to programmable processing module just can send encryption configuration code to main control module.
If additionally, digitlization cubing power-off when, due to being had the regular hour to delay by the state for being energized to power-off.At this
In time dilation, programmable processing module can determine that will be in off-position, and according to off-position, the decryption that will be loaded
Encryption configuration code lose, with ensure digitize cubing data safety.
The interaction of the data load method that the embodiment of the present invention is provided is as follows:
Programmable processing module is based on the restriction access state of itself, and the configuration in memory module can be automatically obtained first
Code.After configuration code is got, programmable processing module can send configuration code to main control module.Main control module leads to
Cross and loaded configuration code, so as to run initial configuration program.As main control module runs the initial configuration program, master control
Module can generate loading and instruct and send to programmable processing module according to the initial configuration program.Programmable processing module
By parsing the loading instruction, just the corresponding encryption configuration code in storage module can be obtained according to the loading instruction.
Furthermore, programmable processing module is getting encryption configuration code, and the encryption configuration code is at encrypted state, may be programmed
Processing module can not load the encryption configuration code of the encrypted state, so as to may be programmed processing module by the encryption configuration code
Send to main control module and be decrypted.The preset rules for decrypting the encryption configuration code are stored in main control module, so as to master control
Module can be decrypted the encryption configuration code for obtaining according to preset rules.Main control module being capable of adding the decryption
Close configuration code is sent to programmable processing module, so that programmable processing module can pass through the encryption for loading the decryption
Configuration code, to run sensitive configuration data program.
Fig. 6 is referred to, a kind of data loading device 100 is embodiments provided, the data loading device 100 is wrapped
Include:Load-on module 110, deciphering module 120 and sending module 130.
Load-on module 110 is used for the main control module and obtains and load the configuration generation that the programmable processing module sends
Code, to run initial configuration program, and generates loading instruction to the programmable processing module.
Deciphering module 120 is used for the main control module and obtains the encryption configuration code that the programmable processing module sends,
And decrypt the encryption configuration code according to preset rules.
Sending module 130 is used for the main control module and the encryption configuration code decrypted is sent to the programmable place
Reason module, so that the encryption configuration code of the programmable processing module loading decryption, to run sensitive configuration data journey
Sequence.
Fig. 7 is referred to, the deciphering module 120 in the data loading device 100 includes:Acquiring unit 121 and decryption unit
122。
Acquiring unit 121 is used for the main control module and obtains the encryption configuration generation that the programmable processing module sends
Code, wherein, the encryption configuration code be by the encryption configuration code division into multigroup independent encryption configuration code.
Decryption unit 122 is used for the main control module according to preset rules, according to packet deciphering by the encryption configuration generation
Per group of independent encryption configuration code is decrypted successively in code, and according to pre-set code assembling rule, by the institute of multigroup decryption
State the encryption configuration code that independent encryption configuration code is assembled into decryption.
Fig. 8 is referred to, a kind of data loading device 100 is embodiments provided, the data loading device 100 is also wrapped
Include:First transport module 140, the second transport module 150 and operation module 160.
First transport module 140 is used for the programmable processing module and is disconnected and the load mould based on access state is limited
The coupling of block, obtains the configuration code in the memory module, and the configuration code is sent to the main control module.
Second transport module 150 is used for the programmable processing module and is obtained according to the loading instruction that the main control module sends
The encryption configuration code in the memory module is taken, and the encryption configuration code is sent to the main control module.
Operation module 160 is coupled based on access state for the programmable processing module with load blocks, obtains described
The encryption configuration code of the decryption that main control module sends, and according to the sensitive configuration of encryption configuration code operation of decryption
Data program.
Fig. 9 is referred to, the second transport module 150 in the data loading device 100 includes:Driver element 151, process are single
Unit 152 and transmitting element 153.
Driver element 151 is used for the loading order-driven institute that the programmable processing module sends according to the main control module
State memory module.
Processing unit 152 is used for the encryption configuration generation that the programmable processing module is obtained in the memory module
Code, and hiding instruction is generated to the memory module, so that the memory module is in hidden state.
Transmitting element 153 sends the encryption configuration code to the master control mould for the programmable processing module
Block.
It should be noted that being convenience and the letter of description because those skilled in the art can be understood that
Clean, the specific work process of the system, device and unit of foregoing description may be referred to corresponding in preceding method embodiment
Journey, will not be described here.
In sum, a kind of data load method and device are embodiments provided, is applied to digitize cubing, number
During word cubing initial launch, main control module can obtain the configuration code that programmable processing module sends.Main control module passes through
Loading the configuration code just can carry out the operation of initial configuration program.So as to main control module can be according to initial configuration Program Generating
Loading instruction is to programmable processing module.Main control module can also receive what programmable processing module sent according to loading instruction
Encryption configuration code.Main control module can be decrypted encryption configuration code according to preset rules.Main control module matches somebody with somebody encryption
After putting code decryption, the encryption configuration code can be retransmited to programmable processing module, so that the programmable processing module
After the encryption configuration code of loading decryption, sensitive configuration data program can be run.The encryption configuration is decrypted by main control module
Code, reloads and runs the encryption configuration code, therefore can effectively improve peace of the sensitive configuration data in storage and loading
Quan Xing.Therefore, it is possible to effectively improve digitlization cubing applicability in actual use.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of data load method, it is characterised in that be applied to digitize cubing, the digitlization cubing includes:Master control mould
Block, programmable processing module, load blocks and memory module, the programmable processing module respectively with the main control module and institute
Memory module coupling is stated, the load blocks are coupled with the programmable processing module, and methods described includes:
The main control module obtains and loads the configuration code that the programmable processing module sends, to run initial configuration journey
Sequence, and loading instruction is generated to the programmable processing module;
The main control module obtains the encryption configuration code that the programmable processing module sends, and decrypts institute according to preset rules
State encryption configuration code;
The main control module sends the encryption configuration code decrypted to the programmable processing module, so that described compile
The encryption configuration code of journey processing module loading decryption, to run sensitive configuration data program.
2. data load method according to claim 1, it is characterised in that the main control module obtains the programmable place
The encryption configuration code that reason module sends, and according to the step of the preset rules decryption encryption configuration code, including:
The main control module obtains the encryption configuration code that the programmable processing module sends, wherein, the encryption is matched somebody with somebody
Put code be by the encryption configuration code division into multigroup independent encryption configuration code;
The main control module according to preset rules, according to packet deciphering by per group of independent encryption in the encryption configuration code
Configuration code is decrypted successively, and according to pre-set code assembling rule, by the described independent encryption configuration code-group of multigroup decryption
Fill the encryption configuration code for decryption.
3. a kind of data load method, it is characterised in that be applied to digitize cubing, the digitlization cubing includes:Master control mould
Block, programmable processing module, load blocks and memory module, the programmable processing module respectively with the main control module and institute
Memory module coupling is stated, the load blocks are coupled with the programmable processing module, and methods described includes:
The programmable processing module obtains the storage mould based on the coupling for limiting access state disconnection and the load blocks
Configuration code in block, and the configuration code is sent to the main control module;
The programmable processing module obtains the encryption in the memory module according to the loading instruction that the main control module sends
Configuration code, and the encryption configuration code is sent to the main control module;
The programmable processing module is coupled based on access state with load blocks, obtains the decryption that the main control module sends
The encryption configuration code, and according to the sensitive configuration data program of encryption configuration code operation of decryption.
4. data load method according to claim 3, it is characterised in that the programmable processing module is according to the master
The loading instruction that control module sends obtains the encryption configuration code in the memory module, and the encryption configuration code is sent
The step of to the main control module, including:
Programmable processing module memory module according to the loading order-driven that the main control module sends;
The programmable processing module obtains the encryption configuration code in the memory module, and generates hiding instruction to institute
Memory module is stated, so that the memory module is in hidden state;
The programmable processing module sends the encryption configuration code to the main control module.
5. data load method according to claim 3, it is characterised in that methods described also includes:
The programmable processing module loses the encryption configuration code of the decryption of loading according to off-position.
6. a kind of data load method, it is characterised in that be applied to digitize cubing, the digitlization cubing includes:Master control mould
Block, programmable processing module, load blocks and memory module, the programmable processing module respectively with the main control module and institute
Memory module coupling is stated, the load blocks are coupled with the programmable processing module, and methods described includes:
The programmable processing module obtains the storage mould based on the coupling for limiting access state disconnection and the load blocks
Configuration code in block, and the configuration code is sent to the main control module;
The main control module obtains and loads the configuration code that the programmable processing module sends, to run initial configuration
Program, and loading instruction is generated to the programmable processing module;
The programmable processing module is obtained in the memory module according to the loading instruction that the main control module sends
Encryption configuration code, and the encryption configuration code is sent to the main control module;
The main control module obtains the encryption configuration code that the programmable processing module sends, and according to preset rules solution
The close encryption configuration code;
The main control module sends the encryption configuration code decrypted to the programmable processing module, so that described compile
The encryption configuration code of journey processing module loading decryption, to run sensitive configuration data program.
7. a kind of data loading device, it is characterised in that the data loading device includes:
Load-on module, for main control module the configuration code that simultaneously loading programmable processing module sends is obtained, and is initially matched somebody with somebody with running
Program is put, and generates loading instruction to the programmable processing module;
Deciphering module, for the encryption configuration code that the main control module obtains the programmable processing module transmission, and according to
Preset rules decrypt the encryption configuration code;
Sending module, sends the encryption configuration code decrypted to the programmable process mould for the main control module
Block, so that the encryption configuration code of the programmable processing module loading decryption, to run sensitive configuration data program.
8. data loading device according to claim 7, it is characterised in that the deciphering module includes:
Acquiring unit, for the main control module encryption configuration code that the programmable processing module sends is obtained, its
In, the encryption configuration code be by the encryption configuration code division into multigroup independent encryption configuration code;
Decryption unit, for the main control module according to preset rules, will be every in the encryption configuration code according to packet deciphering
The group independent encryption configuration code is decrypted successively, and according to pre-set code assembling rule, by the described independent of multigroup decryption
Encryption configuration code is assembled into the encryption configuration code of decryption.
9. a kind of data loading device, it is characterised in that the data loading device includes:
First transport module, for may be programmed processing module based on the coupling for limiting access state disconnection and load blocks, obtains
Configuration code in memory module, and the configuration code is sent to main control module;
Second transport module, for the programmable processing module according to the loading instruction that the main control module sends is obtained
Encryption configuration code in memory module, and the encryption configuration code is sent to the main control module;
Operation module, is coupled based on access state for the programmable processing module with load blocks, obtains the master control mould
The encryption configuration code of the decryption that block sends, and according to the sensitive configuration data journey of encryption configuration code operation of decryption
Sequence.
10. data loading device according to claim 9, it is characterised in that second transport module, including:
Driver element, stores for the programmable processing module according to the loading order-driven that the main control module sends
Module;
Processing unit, the encryption configuration code in the memory module is obtained for the programmable processing module, and raw
Instruct to the memory module into hiding, so that the memory module is in hidden state;
Transmitting element, sends the encryption configuration code to the main control module for the programmable processing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611243171.2A CN106648791B (en) | 2016-12-29 | 2016-12-29 | Data load method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611243171.2A CN106648791B (en) | 2016-12-29 | 2016-12-29 | Data load method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648791A true CN106648791A (en) | 2017-05-10 |
CN106648791B CN106648791B (en) | 2019-11-05 |
Family
ID=58835822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611243171.2A Active CN106648791B (en) | 2016-12-29 | 2016-12-29 | Data load method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648791B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1444799A (en) * | 2000-07-28 | 2003-09-24 | 爱特梅尔股份有限公司 | Secure programmable logic device |
CN101232506A (en) * | 2008-01-24 | 2008-07-30 | 中国科学院计算技术研究所 | System and method for collocating safe field programmable gate array network |
CN102313604A (en) * | 2011-07-12 | 2012-01-11 | 华南师范大学 | Adaptive photon correlator on basis of CPLD (Complex Programmable Logic Device) and FPGA (Field Programmable Gate Array) |
CN103544451A (en) * | 2013-10-29 | 2014-01-29 | 威海麦科电气技术有限公司 | Programmable logic controller (PLC) encryption method and system based on step-by-step maintaining |
CN103593603A (en) * | 2012-08-17 | 2014-02-19 | 美国博通公司 | Protecting secure software in a multi-security-CPU system |
US20140344961A1 (en) * | 2008-09-30 | 2014-11-20 | Intel Corporation | Apparatus and method to harden computer system |
CN104657670A (en) * | 2013-11-19 | 2015-05-27 | 北京天地超云科技有限公司 | Data encryption based safety use method of configuration file |
US20150186682A1 (en) * | 2004-04-08 | 2015-07-02 | Texas Instruments Incorporated | Less-secure processors, integrated circuits, wireless communications apparatus, methods and processes of making |
-
2016
- 2016-12-29 CN CN201611243171.2A patent/CN106648791B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1444799A (en) * | 2000-07-28 | 2003-09-24 | 爱特梅尔股份有限公司 | Secure programmable logic device |
US20150186682A1 (en) * | 2004-04-08 | 2015-07-02 | Texas Instruments Incorporated | Less-secure processors, integrated circuits, wireless communications apparatus, methods and processes of making |
CN101232506A (en) * | 2008-01-24 | 2008-07-30 | 中国科学院计算技术研究所 | System and method for collocating safe field programmable gate array network |
US20140344961A1 (en) * | 2008-09-30 | 2014-11-20 | Intel Corporation | Apparatus and method to harden computer system |
CN102313604A (en) * | 2011-07-12 | 2012-01-11 | 华南师范大学 | Adaptive photon correlator on basis of CPLD (Complex Programmable Logic Device) and FPGA (Field Programmable Gate Array) |
CN103593603A (en) * | 2012-08-17 | 2014-02-19 | 美国博通公司 | Protecting secure software in a multi-security-CPU system |
CN103544451A (en) * | 2013-10-29 | 2014-01-29 | 威海麦科电气技术有限公司 | Programmable logic controller (PLC) encryption method and system based on step-by-step maintaining |
CN104657670A (en) * | 2013-11-19 | 2015-05-27 | 北京天地超云科技有限公司 | Data encryption based safety use method of configuration file |
Also Published As
Publication number | Publication date |
---|---|
CN106648791B (en) | 2019-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104202161B (en) | A kind of SoC crypto chips | |
CN105701410B (en) | The method, apparatus and system of information in a kind of acquisition source code | |
US20080201592A1 (en) | Hibernating a processing apparatus for processing secure data | |
CN110162981A (en) | Data processing method and device | |
CN103500586B (en) | Detect the method and apparatus of flash memory device capacity | |
CN109902452A (en) | FPGA authority checking method, apparatus and processing equipment | |
CN107766738A (en) | A kind of binding method of smart machine, device and system, communication system | |
CN209248517U (en) | A kind of storage control device and digit chip | |
CN107678938A (en) | The adjustment method and equipment of a kind of application program | |
CN107248226A (en) | A kind of locking means and relevant device of shared charger baby | |
CN101702220A (en) | Condom quality information real-time feedback and recognition system and method thereof | |
CN109753391A (en) | The systems, devices and methods of the functional test of one or more structures of processor | |
CN106201352B (en) | The secrecy system and decryption method of non-volatile FPGA on piece data streaming file | |
CN105184196A (en) | Electronic system information security protection system and method | |
CN109271789A (en) | Malicious process detection method, device, electronic equipment and storage medium | |
US10382417B2 (en) | Secure protocol for chip authentication | |
CN102402470A (en) | Method and device for automatically correcting error of program of flash memory and repairing program of flash memory | |
CN107943661A (en) | A kind of data storage management system | |
US9510200B2 (en) | Electronic device and a computer program product | |
CN106713596A (en) | Video playing method, device and mobile terminal | |
US20160314320A1 (en) | Circuit and method for detecting tampering or preventing forgery of semiconductor chip | |
CN106648791A (en) | Data loading method and device | |
CN100474322C (en) | Protective system of program of complicated programmable logic module and method thereof | |
CN106326781A (en) | Method and device for protecting chip testing mode | |
CN201489524U (en) | Code integrity check circuit |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |