CN106133744A - Control device - Google Patents

Control device Download PDF

Info

Publication number
CN106133744A
CN106133744A CN201480077498.XA CN201480077498A CN106133744A CN 106133744 A CN106133744 A CN 106133744A CN 201480077498 A CN201480077498 A CN 201480077498A CN 106133744 A CN106133744 A CN 106133744A
Authority
CN
China
Prior art keywords
external data
storage medium
data
exterior storage
password
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
Application number
CN201480077498.XA
Other languages
Chinese (zh)
Other versions
CN106133744B (en
Inventor
川本直纪
菊地信夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of CN106133744A publication Critical patent/CN106133744A/en
Application granted granted Critical
Publication of CN106133744B publication Critical patent/CN106133744B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

Control device (10) to have: storage inside portion;And control process portion (24), it uses the program that stored of storage inside portion or parameter to carry out computing, carry out processing for the control of the control object connected, in this control device (10), have: password setting portion (17), if exterior storage medium is mounted to this control device (10), then password is set by this password setting portion (17);External data preserves region setting part (15), and outside data save area is set by it in storage inside portion, and the external data that this external data preservation external portion, region storage medium is stored preserves;External data preservation process portion (18), external data storage is preserved region to external data by it, save location and the password of external data is associated in password-external data corresponding informance;And external data removing portion (20), if external data is saved to external data and preserves region, the then external data in this external data removing portion (20) removes exterior storage medium.

Description

Control device
Technical field
The present invention relates to a kind of control device.
Background technology
In recent years, data are loaded the exterior storage mediums such as storage card and move and be connected with control equipment body and carry out Situation about using increases.Sometimes the data in exterior storage medium are copied to control equipment body storage inside portion and Use, or directly performed the data in exterior storage medium by control equipment.But, the most any situation, About the management of the data in exterior storage medium, the most easily lack management awareness.Therefore, persistently keep exterior storage medium The such situation of state inserting main body becomes many, therefore, to assure that the safety of the data in exterior storage medium.
Accordingly, as the merit data in exterior storage medium protected when exterior storage medium is illegally extracted Can, it is known that following function, i.e. if in certain period without accessing after exterior storage medium is connected, then by outside is stored Data conversion storage in medium, to the storage medium in equipment body, is deleted the data in exterior storage medium, thus is protected data (referring for example to patent documentation 1).
In patent documentation 1, it is inserted into information processor at the storage card storing cryptogam and file, exists In the case of cryptogam, whether information processor judges preserving to built-in hard disk.And, in certain period Not in the case of the access of storage card, the cryptogam in storage card and file are copied to hard disk by information processor, Delete the file (in addition to cryptogam) of storage card.It addition, in the password inputted feelings consistent with the password in storage card Under condition, deleted file is recovered to storage card by information processor, and deletes the file of hard disk.
Patent documentation 1: Japanese Unexamined Patent Publication 2011-43881 publication
Summary of the invention
But, in the technology described in patent documentation 1, need in storage card, prepare cryptogam in advance.It addition, by In password is taken care of in storage card, therefore in the case of storage card is illegally extracted, it is possible to password can be read out, base In this password, file write-back is leaked to the 3rd.Further, owing to being to insert in information processor and through one at storage card After fixing time, data being carried out unloading, therefore there are the following problems, i.e. if data are carrying out the period before unloading, deposits Card storage is illegally extracted, and data also can be revealed.
The present invention is exactly to propose in view of the foregoing, its object is to obtain a kind of control device, this control device Even if there occurs the state that the storage medium that can move persistently is installed on control device, the 3rd unlawfully can move In the case of dynamic storage medium is extracted, it is also possible to prevent leaking data.
To achieve these goals, control device involved in the present invention has: storage inside portion;And control processes Portion, it uses the program that stored of described storage inside portion or parameter to carry out computing, carries out the control for being connected right The control of elephant processes, and this control device is characterised by having: password setting portion, if exterior storage medium is mounted to this Control device, then password is set by this password setting portion;External data preserves region setting part, and it is in described storage inside Outside data save area is set by portion, and this external data preserves the outside that described exterior storage medium is stored by region Data preserve;External data preservation process portion, it, will by described external data storage to described external data preservation region Save location and the described password of described external data are associated in password-external data corresponding informance;And external data Removing portion, if described external data is saved to described external data and preserves region, then this external data removing portion removes institute State the described external data in exterior storage medium.
The effect of invention
According to the present invention, if being mounted with exterior storage medium, then password is set, by exterior storage medium External data storage preserves region to external data, and password is corresponding in password-external data with the save location of external data Information is associated, removes the external data in exterior storage medium, therefore there is following effect, i.e. be installed on control dress The exterior storage medium of the state put does not exists external data, even if in the feelings having extracted exterior storage medium from control device Under condition, data also will not leak to the third party.
Accompanying drawing explanation
Fig. 1 is the block diagram of the example schematically showing the functional structure controlling device involved by embodiment 1.
Fig. 2 is the figure of the example representing password-external data corresponding informance.
Fig. 3 is the block diagram of the example schematically showing the structure controlling device involved by embodiment 1.
Fig. 4 is to represent the process in the case of the control device involved by embodiment 1 is mounted with exterior storage medium The flow chart of one example of step.
Fig. 5 is to represent the process in the case of the control device involved by embodiment 1 is mounted with exterior storage medium The figure (its 1) of the concrete example of step.
Fig. 6 is to represent the process in the case of the control device involved by embodiment 1 is mounted with exterior storage medium The figure (its 2) of the concrete example of step.
Fig. 7 is to represent that the write-back along with external data involved by embodiment 1 processes, from control device is extracted The flow chart of the example extracting process of portion's storage medium.
Fig. 8 be represent involved by embodiment 1 along with from control device write-back external data write-back process, from Control the figure (its 1) that device extracts the concrete example extracting process of exterior storage medium.
Fig. 9 be represent involved by embodiment 1 along with from control device write-back external data write-back process, from Control the figure (its 2) that device extracts the concrete example extracting process of exterior storage medium.
Figure 10 is to represent the process in the case of the control device involved by embodiment 2 is mounted with exterior storage medium The flow chart of one example of step.
Figure 11 is the figure of the situation of the selection process representing the external data involved by embodiment 2.
Figure 12 is the block diagram schematically showing the functional structure controlling device involved by embodiment 3.
Figure 13 is to represent the process in the case of the control device involved by embodiment 3 is mounted with exterior storage medium The flow chart of one example of step.
Figure 14 is to represent the process in the case of the control device involved by embodiment 3 is mounted with exterior storage medium The figure (its 1) of the concrete example of step.
Figure 15 is to represent the process in the case of the control device involved by embodiment 3 is mounted with exterior storage medium The figure (its 2) of the concrete example of step.
Figure 16 is to be shown schematically in exterior storage medium the dividing method existed in the case of multiple external data Figure.
Figure 17 be represent involved by embodiment 3 along with external data write-back process, from control device extract The flow chart of the example extracting process of exterior storage medium.
Figure 18 is the stream of an example of the step of the execution process of the data after representing the segmentation involved by embodiment 3 Cheng Tu.
Figure 19 is the figure of the example representing the password-external data corresponding informance involved by embodiment 4.
Figure 20 be represent involved by embodiment 4 along with external data write-back process, from control device extract The flow chart of the example extracting process of exterior storage medium.
Figure 21 is the figure (its 1) schematically showing the example that the write-back involved by embodiment 4 processes.
Figure 22 is the figure (its 2) schematically showing the example that the write-back involved by embodiment 4 processes.
Figure 23 is the block diagram schematically showing the functional structure controlling device involved by embodiment 5.
Figure 24 is the figure of the example representing set information.
Figure 25 is to represent the example that action when installing exterior storage medium involved by embodiment 5 processes step Flow chart.
Figure 26 is the flow process unloading the example processing step representing the exterior storage medium involved by embodiment 5 Figure.
Figure 27 is the figure of the summary of the step of the write-back process schematically showing the data involved by embodiment 5.
Figure 28 is to represent the password-external data correspondence letter in the case of being managed for each exterior storage medium The figure of one example of breath.
Figure 29 be schematically show can be connected with the exterior storage medium of multiple kinds, controlling in device of departing from The figure of the relation of password-external data corresponding informance and set information.
Figure 30 is an example of the password-external data corresponding informance representing the content comprising set information Figure.
Figure 31 is the block diagram schematically showing the functional structure controlling device involved by embodiment 6.
Figure 32 is the figure of an example of the structure representing the set information involved by embodiment 6.
Figure 33 is the flow process of an example of the step of the execution process representing the external data involved by embodiment 6 Figure.
Figure 34 is an example of the state of the execution process schematically showing the external data involved by embodiment 6 Figure (its 1).
Figure 35 is an example of the state of the execution process schematically showing the external data involved by embodiment 6 Figure (its 2).
Figure 36 is an example of the step of the write-back process schematically showing the external data involved by embodiment 7 Figure (its 1).
Figure 37 is an example of the step of the write-back process schematically showing the external data involved by embodiment 7 Figure (its 2).
Figure 38 is to represent the process in the case of the control device involved by embodiment 8 is mounted with exterior storage medium The flow chart of one example of step.
Figure 39 is the figure schematically showing the situation processing external data involved by embodiment 8.
Figure 40 is the block diagram schematically showing the functional structure controlling device involved by embodiment 9.
Figure 41 is to represent that is mounted with process step in the case of exterior storage medium involved by embodiment 9 The flow chart of example.
Figure 42 is to schematically show the control dress being mounted with in the case of exterior storage medium involved by embodiment 9 The figure of the process state put.
Figure 43 is the block diagram schematically showing the functional structure controlling device involved by embodiment 10.
Figure 44 is the flow chart of the example representing the process step controlling device involved by embodiment 10.
Figure 45 is the figure of the situation of the encryption schematically showing the exterior storage medium involved by embodiment 10.
Detailed description of the invention
Below, referring to the drawings, the control device involved by embodiments of the present invention is described in detail.Additionally, this Invention is not limited to these embodiments.
Embodiment 1
Fig. 1 is the block diagram of the example schematically showing the functional structure controlling device involved by embodiment 1. Control device illustrated by following embodiment is to use data to carry out computing, carry out control object based on its operation result The device controlled, is Programmable Logic Controller or numerical control device etc..
Control device 10 have exterior storage medium interface 11, input unit 12, display part 13, external data storage unit 14, External data preserve region setting part 15, external data detection unit 16, password setting portion 17, external data preservation process portion 18, Password-external data corresponding informance storage part 19, external data removing portion 20, password detection unit 21, external data write-back portion 22, internal data process portion 23 and control process portion 24.
Exterior storage medium interface 11 be and be installed on control device 10 exterior storage medium between communicate connect Mouthful.Exterior storage medium is the storage medium that can dismount, it is possible to exemplify SD card, microSD card, CompactFlash (note Volume trade mark) etc. storage card, USB (Universal Serial Bus) memorizer etc..Use can be stored in exterior storage medium In the program performed by control device 10 or the parameter etc. used in the execution of program.Additionally, below, by outside Program stored by storage medium or parameter etc. are referred to as external data.
Input unit 12 is at user's interface to controlling when device 10 inputs information, it is possible to exemplify keyboard, button or Touch panel etc..Password described later etc. is set to controlling device 10 via input unit 12.
Display part 13 to control the relevant information of device 10 or with by controlling what controlling performed by device 10 was correlated with Information etc. show.Display part 13 is made up of liquid crystal indicator etc..
External data storage unit 14 preserves the parameter etc. used by the program controlled performed by device 10 or program.Separately Outward, outside data saving part 14 arranges external data for each exterior storage medium installed and preserve region.
If exterior storage medium is installed in control device 10, then external data preserves region setting part 15 at external number It is set according to storage unit 14 preserves region to the external data that can preserve external data.
External data detection unit 16 judges, outside not preserving whether preserving external data in exterior storage medium Do not carry out any process in the case of portion's data, in the case of preserving external data, external data is preserved to external data The execution instruction that the preservation in portion 14 processes is sent to password setting portion 17 and external data preservation process portion 18.
If password setting portion 17 receives from external data detection unit 16 and preserves external data to external data preservation The instruction in portion 14, then the setting carrying out password processes.Such as, will the picture of the setting that user's instruction carries out password be shown in aobvious Show portion 13, the password that user inputs via input unit 12 is preserved to password-external data corresponding informance.
If the setting of the password carried out by password setting portion 17 terminates, then outside is deposited by external data preservation process portion 18 External data in storage media copies to be preserved the external data set by region setting part 15 by external data and preserves region.Separately Outward, preserve behind region external data being copied to external data, to duplicated (as replicating target) external data and (as copy source) external data in exterior storage medium compares, and the most unanimously judges the two.At the two In the case of inconsistent, the most again the external data in exterior storage medium copied to external data and preserves region.It addition, In the case of the two is consistent, the place of retention of external data is write to password-external data corresponding informance, and and password Being associated, by normal replication, this situation of external data in exterior storage medium notifies to external data removing portion 20.
Password-external data corresponding informance is stored by password-external data corresponding informance storage part 19, and this is close Code-external data corresponding informance represents the corresponding relation between external data and the password that external data storage unit 14 is preserved. Fig. 2 is the figure of the example representing password-external data corresponding informance.Password-external data corresponding informance is to by password The outside of the external data that password set by configuration part 17 and associated ground are preserved by external data preservation process portion 18 Data save area (such as initial address and size) is associated and manages.
Expression is being received by the external data in exterior storage medium normally from external data preservation process portion 18 Preserving to the notice of external data storage unit 14, external data removing portion 20 removes the outside in exterior storage medium Data.For the removing of this external data, the removing of the most simple external data, but implement to initialize or write Random data, though with such as by the third party by exterior storage medium from controlling in the case of device 10 departs from, also cannot be right Data in exterior storage medium are recovered.
When empty exterior storage medium is installed in control device 10, by user indicate external data from External data storage unit 14 is in the case of the preservation of exterior storage medium, and password detection unit 21 shows password at display part 13 Whether input picture, register the password inputted via input unit 12 by user in password-external data corresponding informance Password judges.Specifically, whether the password inputted is present in password-external data corresponding informance sentences Fixed.In the case of the password inputted is not present in password-external data corresponding informance, do not carry out external data outside The preservation of portion's storage medium processes.It addition, the situation in the password inputted is present in password-external data corresponding informance Under, process this main idea to the preservation of exterior storage medium notify external data can be carried out to external data write-back portion 22.
Represent that can carry out external data processes to the preservation of exterior storage medium if received from password detection unit 21 Notice, then outside corresponding with the password inputted from password-external data corresponding informance of external data write-back portion 22 The save location of portion's data obtains external data, carries out being written back to this external data the process of exterior storage medium.It addition, outward Write back data portion 22 of portion is after copying to exterior storage medium by external data, to duplicated external data and external data (as copy source) external data in storage unit 14 compares, and the most unanimously judges the two.Differ at the two In the case of cause, the most again the external data in external data storage unit 14 is copied to exterior storage medium.It addition, two In the case of person is consistent, by normal replication, this situation of external data in external data storage unit 14 notifies to internal number According to process portion 23.
Internal data process portion 23 is carried out for outward based on the setting during external data write-back process made by user The process of the external data in portion's data saving part 14.Such as, external data in not setting external data storage unit 14 In the case of removing, though by external data write-back portion 22 by external data after outside storage media replication, the most not from outward Portion's data saving part 14 is removed the password corresponding with external data but is kept intact constant, at such as display part 13 to expression The information that can unload exterior storage medium shows.It addition, the external data in being set with external data storage unit 14 Removing in the case of, by external data write-back portion 22 by external data after outside storage media replication, remove external number According to the external data in storage unit 14 and corresponding password, at such as display part 13 to representing that can unload lower outer portion storage is situated between The information of matter shows.
The program that such as external data storage unit 14 is stored is read in control process portion 24, carries out for not shown control The control of object processes.
Fig. 3 is the block diagram of the example schematically showing the structure controlling device involved by embodiment 1.Above-mentioned Controlling device 10 to be made up of information processor, the structure of this information processor is, CPU (Central Processing Unit) 101, RAM (Random Access Memory) 102, hard disk or SSD (Solid State Drive) etc. are internal deposits Storage portion 103, the memory interface 104 of the interface become between exterior storage medium 50 and guidance panel 105 are via bus 106 connect.
Storage inside portion 103 has: external data preserves region 1031, and it stores non-volatilely and is performed by CPU 101 The external data such as program or parameter;And password-external data corresponding informance 1032.RAM 102 deposits from inside as storage The working storage of program that storage portion 103 reads, that performed by CPU 101 works.It addition, storage inside portion 103 is stored Parameter be read to RAM 102.
The external data storage unit 14 of Fig. 1 and the storage inside of password-external data corresponding informance storage part 19 and Fig. 3 Portion 103 is corresponding.It addition, the control process portion 24 of Fig. 1 and program or the RAM 102 and CPU of the Fig. 3 being read into parameter 101 is corresponding.Further, input unit 12 and the display part 13 of Fig. 1 are corresponding with the guidance panel 105 of Fig. 3.It addition, other of Fig. 1 Process portion is corresponding with the function performed by the processing routine arranged in the such as storage inside portion 103 of Fig. 3.
Below, the action that said structure controls device 10 illustrates.Fig. 4 is to represent to involved by embodiment 1 Control the flow chart that device is mounted with an example of process step in the case of exterior storage medium.
First, if the exterior storage medium such as storage card or USB storage mounted (connection) is in controlling device 10 (step Rapid S11), then external data preserves region setting part 15 and outside data save area is set (step S12).
Then, external data detection unit 16 judges (step S13) to whether there are data in exterior storage medium.Make For the result judged, do not exist in the situation (step S13 is the situation of No) of data in exterior storage medium, owing to not existing Wanting the data of unloading, therefore process terminates.It addition, there is the situation of data in exterior storage medium, (step S13 is Yes's Situation) under, password setting portion 17 carries out the password for data are written back to exterior storage medium from external data storage unit 14 Setting processes (step S14).Such as, be arranged at control device 10 display part 13 show password setting picture, user via Input unit 12 inputs password, or shows password setting picture, user at the engineering tools being connected with control device 10 Password is inputted via engineering tools.
If be have input password by user, then this password is preserved to password-external data correspondence letter by password setting portion 17 Breath (step S15).Then, the data in exterior storage medium are copied to protect in external data by external data preservation process portion 18 Deposit external data preservation region (step S16) that portion 14 sets.Then, external data preservation process portion 18 is to exterior storage medium In external data and external data preserve the external data the most consistent (the most inerrably being preserved) in region carry out right According to (step S17).
In the situation (step S17 is the situation of No) that 2 data are inconsistent, display part 13 or with control device 10 At the engineering tools connected, video data is abnormal (step S18), the processing returns to step S16.
It addition, in the situation (step S17 is the situation of Yes) of 2 data consistents, external data preservation process portion 18 profit With password-external data corresponding informance, duplicated external data and set password are associated (step S19).So After, external data removing portion 20 removes the external data (step S20) in exterior storage medium.Thus, it is connected to outside storage The unloading process of the external data in the case of medium terminates.
Fig. 5 and Fig. 6 is to represent in the case of the control device involved by embodiment 1 is mounted with exterior storage medium Process the figure of the concrete example of step.First, as shown in Fig. 5 (a), exterior storage medium 50 is installed in the storage controlling device 10 Device interface 104.Thus, storage inside portion 103 retains outside data save area 1031.
Then, as shown in Fig. 5 (b), the setting carrying out password processes.Here, user inputs close from guidance panel 105 Code, this password is saved to password-external data corresponding informance 1032.Then, the external data in exterior storage medium 50 301 are copied to external data as external data 351 preserves region 1031.
Then, as shown in Fig. 6 (a), carry out the external data 301 in exterior storage medium 50 and storage inside portion 103 Comparison between external data 351, in the case of the two is identical, the save location of external data 351 is associated with password Ground preserves to password-external data corresponding informance.Then, the external data 301 in exterior storage medium 50 is removed.
Then, as shown in Fig. 6 (b), even if exterior storage medium 50 is unlawfully extracted, also due to external data and password All it is not stored in exterior storage medium 50, therefore, it is possible to prevent these information leakage.
Below, to exterior storage medium from control device 10 unload and external data write-back process illustrate. Fig. 7 is to represent that the write-back along with external data involved by embodiment 1 processes, extract outside storage and be situated between from controlling device The flow chart of the example extracting process of matter.
It is assumed herein that be in the exterior storage medium without data and control the state that device 10 is connected.First, use Exterior storage medium is unloaded via input unit 12 to issue orders and carries out indicating (step S31) to controlling device 10 by family.Thus, such as Display part 13 shows and unloads the display picture issuing orders relevant.Then, user password (step is inputted via input unit 12 S32).The password detection unit 21 password to being inputted the most consistent with the password that password-external data corresponding informance is preserved enter Row judges (step S33).
(step S33 is the situation inconsistent with the password in password-external data corresponding informance at the password inputted The situation of No) under, this situation inconsistent for password is shown in display part 13 (step S34), returns step S32.It addition, institute In the password situation (step S33 is the situation of Yes) consistent with the password in password-external data corresponding informance of input, outward The external data that write back data portion of portion 22 is carried out the external data corresponding with the password inputted preserves in region is written back to The process (step S35) of exterior storage medium.
It addition, external data and external data storage unit 14 that external data write-back portion 22 is to being written back to exterior storage medium The external data that preserves in region of external data compare, the two is the most unanimously judged (step S36).At the two In inconsistent situation (step S36 is the situation of No), be there is this main idea abnormal in the data being written back to exterior storage medium It is shown in display part 13 (step S37), returns step S35.
On the other hand, in the two consistent situation (step S36 is the situation of Yes), copy to control to whether removing Data in the external data storage unit 14 of device 10 carry out judging (step S38).Data are written back to exterior storage medium, outward Portion's storage medium recovers the state to connection, becomes the state that can unload, and now, internal data process portion 23 will select picture Face is shown in display part 13 or engineering tools, judges the input results of selection picture based on user, wherein, This selection picture is for selecting whether removing the data copying to control in the external data storage unit 14 of device 10.
In the situation (step S38 is the situation of Yes) of the data in external data storage unit 14 to be removed, internal data Process portion 23 removes the external data of external data storage unit 14 and preserves the external data (step S39) in region, to password- External data corresponding informance is updated (step S40).Specifically, that removes in password-external data corresponding informance is relative The record answered.
Then or except unclear in the situation (step S38 is the situation of No) of the data in data saving part 14, Internal data process portion 23 can unload this situation of exterior storage medium and be shown in display part 13 (step S41), processes knot Bundle.
If additionally, in step S38 be unclear except data (step S38 is No) in data saving part 14, then In the case of being mounted with to have the exterior storage medium of identical external data, it is continuing with identical password.It addition, in peace Fill in the case of there is the exterior storage medium of different, the new external data of external data preserved from last time, for newly External data set new password.Accordingly it is also possible to make such as external data detection unit 16 have following function, i.e. When being mounted with exterior storage medium, whether outside data saving part 14 is preserved and the external data phase in exterior storage medium Same external data judges.
If it addition, be to remove the data (step S38 is Yes) in external data storage unit 14 in step S38, then existed In the case of being again mounted with to have the exterior storage medium of identical external data, again password is set.
Fig. 8 and Fig. 9 is to represent processing along with from the write-back controlling device write-back external data involved by embodiment 1 , from the figure of the concrete example extracting process controlling device and extracting exterior storage medium.First, as shown in Fig. 8 (a), at sky Exterior storage medium 50 is installed under the state controlling device 10, and send exterior storage medium 50 unloads instruction.
Then, as shown in Fig. 8 (b), it is desirable to user inputs password.To this, user carries out password via guidance panel 105 Input.Then, inputted password is carried out and comparison between the password that password-external data corresponding informance is comprised.
Then, as shown in Fig. 9 (a), in the case of password is consistent, the external data in storage inside portion 103 preserves region The external data 351 of 1031 is copied to exterior storage medium 50 as external data 301.Then, to outside holding area The external data 351 in territory 1031 and the external data 301 of exterior storage medium 50 compare.
Then, as shown in Fig. 9 (b), as the result of comparison, in the case of the two is consistent, exterior storage medium 50 is extensive Multiple to controlling the state (state of Fig. 5 (a)) that the state before device 10 is installed is identical, user unload.
In embodiment 1, if being mounted with exterior storage medium, then by the external number in write-back exterior storage medium According to time required password preserve the password-external data corresponding informance to external data storage unit 14, by exterior storage medium In external data preserve and preserve region to external data, delete the external data in exterior storage medium.Thus, though from In the case of control device 10 has extracted exterior storage medium, also due to do not preserve external data in exterior storage medium, because of This has data will not leak to this effect of the third party.Further, since do not preserve password in exterior storage medium, therefore yet Also there is this effect of leakage being prevented from password.
Further, only external data is written back to outside storage in the case of have input the password being associated with external data Medium.Thus, have and be capable of the protection of external data and do not use this effect of encryption of external data.
Embodiment 2
In embodiment 1, in the feelings that the external data in exterior storage medium is preserved to external data storage unit Under condition, it is premised on the idle capacity of outside data saving part is bigger than the size of the external data in exterior storage medium 's.In embodiment 2, to the idle capacity of outside data saving part than the external data in exterior storage medium size more Little situation illustrates.
The structure controlling device of embodiment 2 is the knot essentially identical with the control device shown in Fig. 1 of embodiment 1 Structure, but the external data detection unit 16 of the function in external data detection unit 16 and external data removing portion 20 and embodiment 1 and External data removing portion 20 is different.
External data detection unit 16 has following function, i.e. confirm the idle capacity of outside data saving part 14, It addition, confirm the size of the external data in exterior storage medium, the total size in external data compares external data In the case of the idle capacity of storage unit 14 is bigger, external data selected by the user is preserved to external data storage unit 14.Specifically, carry out being divided into be transferred to external data storage unit 14 external data (hereinafter referred to as unloading external data), Process with the external data (hereinafter referred to as remaining external data) residuing in exterior storage medium.Now, external data judges Selection picture is shown in display part 13 by portion 16, and this selection picture is for the external number preserved at outside data saving part 14 According to selecting.Alternatively, it is also possible to the total size in selected external data is held than the idle of external data storage unit 14 In the case of amount is bigger, it is indicated notice or the display that can not preserve to external data storage unit 14.It addition, be shown here as Go out situation about unloading external data and residual external data being divided by user but it also may in advance external data is arranged Precedence information, based on precedence information and the idle capacity of external data storage unit 14 to unloading external data and residual External data is stayed to select.
External data removing portion 20 also has following function, i.e. the size in outside data save area compares external data Total size less in the case of, due in addition to being designated as being transferred to the unloading external data of external data storage unit 14 It is not protected, therefore is carried out pointing out the most not by showing that exterior storage medium is unloaded by the third party by display part 13 Show.
Below, the action controlling device 10 involved by embodiment 2 is illustrated.Figure 10 is to represent to embodiment Control device involved by 2 is mounted with the flow chart of an example of the process step in the case of exterior storage medium.
First, in the same manner as step S11 of Fig. 4 of embodiment 1~S13, if exterior storage medium is installed in control Device 10 processed, then outside data save area is set by external data preservation region setting part 15 in storage inside portion, right Whether exterior storage medium exists external data carry out judging (step S51~S53).Number is there is not in exterior storage medium According to situation (step S53 is the situation of No) under, owing to there are not the data wanting unloading, therefore process terminates.
It addition, exist in exterior storage medium in the situation (step S53 is the situation of Yes) of data, external data is sentenced Determine portion 16 the biggest more than or equal to the total of the external data of exterior storage medium to set external data preservation region Little carrying out judges (step S54).In situation (step S54 that outside data save area is less than the total size of external data Situation for No) under, external data detection unit 16 carries out external data distribution setting and processes (step S55).External data is distributed Setting processes e.g. will can not protect this situation of whole external data to be shown in display part 13, by right due to off-capacity The unloading external data being transferred to external data storage unit 14 and the residual external data residuing in exterior storage medium are carried out point The distribution picture joined is shown in display part 13.User based on can unloading data capacity, distribute outside unloading via input unit 12 Portion's data and residual external data, its result is set as external data distribution and stores by external data detection unit 16.Additionally, Can also be after the distribution setting of this external data process, external data detection unit 16 will be not protected in addition to unloading external data This situation is shown in display part 13.
Figure 11 is the figure of the situation of the selection process representing the external data involved by embodiment 2.Here, such as Figure 11 Shown in (a), it is assumed that preserve 4 external datas 301~304 being installed in the exterior storage medium 50 when controlling device 10, Priority is according to the order of external data 301,302,303,304 and step-down.
As shown in Figure 11 (b), it is assumed that storage inside portion 103 has use region 1031A and clear area 1031B, at sky Not busy region 1031B can not preserve whole external data 301~304.
Thus, it is supposed that external data 301,302 high for priority is appointed as internally storage part 103 unloading by user Unloading external data, is appointed as residuing in the residual external data of exterior storage medium 50 by external data 303,304.Its knot Really, as shown in Figure 11 (b), external data 301,302 is stored in the clear area 1031B in storage inside portion 103, such as Figure 11 (c) Shown in, external data 303,304 residues in exterior storage medium 50.
Then the feelings of the total size of external data or it are more than or equal in step S54 peripheral data save area Under condition (step S54 is the situation of Yes), the setting (step S56) of password when password setting portion 17 carries out write back data, by close Code preserves to password-external data corresponding informance (step S57).Then, outside storage is situated between by external data preservation process portion 18 Unloading external data in matter copies to external data and preserves region (step S58).Then, external data preservation process portion 18 is right Unloading external data in exterior storage medium is the most consistent with the unloading external data in external data preservation region to be judged (step S59).In the two inconsistent situation (step S59 is the situation of No), data exception is shown in display part 13 (step Rapid S60), return step S58.It addition, in the two consistent situation (step S59 is the situation of Yes), by unloading external data Save location and password preserve explicitly to password-external data corresponding informance (step S61).
Then, internal data process portion 23 only removes the unloading external data (step S62) in exterior storage medium.And And, owing to being not protected in addition to appointed unloading external data, therefore internal data process portion 23 will point out and make After with, the message that exterior storage medium departs from being shown in display part 13 (step S63), process terminates.
Additionally, due to the exterior storage medium along with write back data process unloads illustrated by process and embodiment 1 Unloading process roughly the same, therefore the description thereof will be omitted.
In embodiment 2, the total size of the external data in exterior storage medium is than external data storage unit 14 Idle capacity bigger in the case of, external data selected by the user is preserved the external number to external data storage unit 14 According to preserving region, making data remanence in addition in exterior storage medium, display alarm notes the management of exterior storage medium Message.Therefore, it is possible to realize following effect on the basis of the effect of embodiment 1, i.e. the outside storage of call user's attention Medium persistently keeps being installed on this situation of state controlling device 10.
Embodiment 3
In embodiment 3, in the same manner as embodiment 2, the idle capacity of outside data saving part is stored than outside The situation that the size of the external data in medium is less illustrates.
Figure 12 is the block diagram schematically showing the functional structure controlling device involved by embodiment 3.Control device 10 also have data cutting part 25 and data combining 26 on the basis of the structure of embodiment 1.
Total size in the external data being judged in exterior storage medium by external data detection unit 16 compares external number According to the idle capacity of storage unit 14 bigger in the case of, external data is divided in exterior storage medium by data cutting part 25 Multiple.As the segmentation of external data, use and only insignificant random point is become with regard to data from the point of view of data after divided Cut or every the method such as segmentation of 1 row.It addition, for the segmentation of external data, so that after the segmentation of each external data Part preserves the mode in the external data preservation region to external data storage unit 14 and calculates the size of segmentation.
In the case of the external data after the segmentation in external data storage unit 14 is written back to exterior storage medium or This external data that person launches to working storage (RAM) when being performed external data (program) by control process portion 24 is with segmentation State be present in external data storage unit 14 and exterior storage medium in the case of, data combining 26 is respectively from external data Digital independent after segmentation to working storage, is combined and launches by storage unit 14 and exterior storage medium.Additionally, to The element that embodiment 1,2 is identical marks same label, and the description thereof will be omitted.
Below, the action controlling device 10 involved by embodiment 3 is illustrated.Figure 13 is to represent to embodiment Control device involved by 3 is mounted with the flow chart of an example of the process step in the case of exterior storage medium.
First, in the same manner as step S51 of Figure 10 of embodiment 2~S54, if exterior storage medium is installed in control Device 10 processed, then outside data save area is set by external data preservation region setting part 15 at outside data saving part 14 Fixed, judge whether exterior storage medium exists external data.The situation of data is there is not in exterior storage medium Under, owing to there are not the data wanting unloading, therefore process terminates, in the case of there are data in exterior storage medium, outside Whether data judging portion 16 is more than or equal to the external data of exterior storage medium to set external data preservation region Size is added up to carry out judging (step S71~S74).
Then, in the situation that outside data save area is less than the total size of the external data of exterior storage medium Under (step S74 is the situation of No), data cutting part 25 idle capacity based on external data storage unit 14, divides external data It is segmented into the unloading data to outside data saving part 14 unloading and residues in the residual data (step S75) of exterior storage medium. Additionally, at this time it is also possible to this situation of whole external data will can not be protected to be shown in display part 13 due to off-capacity.
Then or in step S74 peripheral data save area more than or equal to the external data of exterior storage medium Total size situation (step S74 is the situation of Yes) under, password setting portion 17 carry out for by data from external data protect Deposit portion 14 and be written back to password setting process (step S76) of exterior storage medium.Then, if be have input password by user, then This password is preserved to password-external data corresponding informance (step S77) by password setting portion 17.Then, at external data preservation External data will be split and preserve this situation and be shown in display part 13 (step S78) by reason portion 18.
Then, the unloading data in exterior storage medium are copied to protect in external data by external data preservation process portion 18 Deposit the external data set in portion 14 and preserve region (step S79).Then, outside storage is situated between by external data preservation process portion 18 The unloading data the most consistent (the most inerrably being preserved) that unloading data in matter preserve in region with external data are carried out Comparison (step S80).
In the situation (step S80 is the situation of No) that 2 data are inconsistent, display part 13 or with control device 10 At the engineering tools connected, video data is abnormal (step S81), the processing returns to step S79.
It addition, in the situation (step S80 is the situation of Yes) of 2 data consistents, external data preservation process portion 18 profit With password-external data corresponding informance, the unloading data and set password that copy to external data storage unit 14 are carried out Association (step S82).Then, external data removing portion 20 only removes the unloading data in exterior storage medium, and makes residual number Former state left behind (step S83) according to this.Thus, the unloading being connected to the external data in the case of exterior storage medium processes Terminate.
Figure 14 and Figure 15 is to represent in the case of the control device involved by embodiment 3 is mounted with exterior storage medium The figure of concrete example of process step.As shown in Figure 14 (a), if exterior storage medium 50 is mounted to control device 10, then Obtain total size and the idle capacity in storage inside portion 103 of the external data 301 that exterior storage medium 50 is preserved, right The two compares.
Then, as shown in Figure 14 (b), the idle capacity in storage inside portion 103 is bigger than the total of exterior storage medium 50 In the case of little, the external data 301 in exterior storage medium 50 is split.Here, external data 301 is divided It is segmented into three numbers according to 301A~301C.Be divided into each data 301A of three parts~301C to become himself without significance Data.Then, the setting carrying out password processes, and preserves password to password-external data corresponding informance 1032.
Then, as shown in Figure 15 (a), data 301A after segmentation in exterior storage medium 50~the part in 301C Data 301B by copied to as data 351B storage inside portion 103 external data preserve region 1031.Then, externally Data 301B in portion's storage medium 50 are the most consistent with data 351B in storage inside portion 103 to be compareed, if unanimously, Then remove data 301B in exterior storage medium 50.It addition, the save location of duplicated data 301B is by relevant to password Connection ground preserves to password-external data corresponding informance.
Then, as shown in Figure 15 (b), in the case of exterior storage medium 50 is unlawfully extracted, in outside, storage is situated between Matter 50 only exists data 301A, 301C.Obtain after external data 301 being split due to these data 301A, 301C Data, and be the data after data 301B that miss out a part, therefore become nonsensical.Therefore, it is possible to prevent outside The third party's illegally utilization etc. that external data 301 in storage medium 50 is unlawfully implemented to extract.
Additionally, Figure 14 and Figure 15 is the situation containing 1 external data 301 in exterior storage medium 50, but containing Also it is same in the case of having multiple external data.Figure 16 be shown schematically in exterior storage medium exist multiple outside The figure of the dividing method in the case of portion's data.
As shown in Figure 16 (a), storage inside portion 103 (external data storage unit 14) is in having use region 1031A and sky The state of not busy region 1031B, this use region 1031A has stored data or program, and this clear area 1031B is not made With.
If being mounted with exterior storage medium 50, then in the capacity of clear area 1031B and exterior storage medium 50 The total size of external data 301~303 compares.The total of the external data 301~303 in exterior storage medium 50 In the case of the size capacity than the clear area 1031B in storage inside portion 103 is bigger, as shown in Figure 16 (b), data split Each external data 301~303 is divided into data 301A~301C, 302A~302C, 303A~303C by portion 25.Here, show Go out 1 external data and be divided into the situation of 3 data.Though it addition, the most not shown, assume external data 301A, 301C, 302A, 302C, 303A, 303C are residual datas, it is assumed that external data 301B, 302B, 303B are unloading data.
Then, as shown in Figure 16 (c), in the data obtained after segmentation, only unloading data 301B, 302B, 303B are copied to The clear area 1031B (external data preservation region) in storage inside portion 103, residual data 301A, 301C, 302A, 302C, 303A, 303C are residued in exterior storage medium 50 by former state.Now, unloading data 301B that obtain after segmentation, 302B, 303B Add up to the size capacity less than or equal to clear area 1031B.Then, if duplicated unloading data 301B, 302B, 303B Consistent with unloading data 301B in exterior storage medium 50,302B, 303B, then delete unloading data from exterior storage medium 50 301B、302B、303B。
Below, to exterior storage medium from control device 10 unload and external data write-back process illustrate. Figure 17 is to represent that the write-back along with external data involved by embodiment 3 processes, extract outside storage from controlling device The flow chart of the example extracting process of medium.
First, in the same manner as step S31 of Fig. 7 of embodiment 1~S34, unload if performing exterior storage medium Order, then input password, sentence the password inputted is the most consistent with the password in password-external data corresponding informance Fixed (step S91~S94).
(step S93 is Yes to the situation consistent with the password in password-external data corresponding informance at the password inputted Situation) under, data combining 26 preserves region from the external data being associated with password of external data storage unit 14 and reads in Above-mentioned unloading data and residual data, it addition, read in corresponding residual data from exterior storage medium 50, are tied by unloading data Close and external data is recovered (step S95).It addition, the external data after recovering is written back to exterior storage medium 50 (step S96).Then, compare the external data generated is the most consistent with the external data being written back to exterior storage medium 50 (step S97).In the two inconsistent situation (step S97 is the situation of No), the outside of exterior storage medium will be written back to There is this main idea abnormal and be shown in display part 13 (step S98) in data, returns step S96.
On the other hand, in the two consistent situation (step S97 is the situation of Yes), copy to control to whether removing Unloading data in the external data storage unit 14 of device 10 carry out judging (step S99).In above process, external data Being written back to exterior storage medium 50, exterior storage medium 50 becomes the state that can unload.Now, internal data process portion 23 Selection picture is shown in display part 13 or engineering tools, based on user, this input results is judged, wherein, This selection picture is for selecting whether removing the unloading data copying to control in the external data storage unit 14 of device 10 Select.
In the situation (step S99 is the situation of Yes) of the unloading data in external data storage unit 14 to be removed, internal Data processing division 23 is removed the external data of external data storage unit 14 and is preserved the unloading data (step S100) in region, removes Corresponding record in password-external data corresponding informance, is updated (step S101).
Then (step S99 is the feelings of No to the situation of the unloading data in data saving part 14 or except unclear Condition) under, internal data process portion 23 can unload this situation of exterior storage medium and be shown in display part 13 (step S102), Process terminates.
Figure 18 is the stream of an example of the step of the execution process of the data after representing the segmentation involved by embodiment 3 Cheng Tu.First, if the execution order (step of the data being instructed in external data storage unit 14 (program or parameter etc.) S111), then control process portion 24 confirms data (program) the most divided (step corresponding with indicated order S112).In data (program) the most divided situation (step S112 is the situation of No), control process portion 24 is by data (journey Sequence) read to main storage (working storage) (step S113).Then, perform the data (step S117) read, process Terminate.
On the other hand, in data (program) the most divided situation (step S112 is the situation of Yes), data combining The residual data corresponding with indicated order is read to main storage (working storage) by 26 from exterior storage medium 50 (step S114), it addition, read the unloading data corresponding with indicated order to main memory from external data storage unit 14 Reservoir (working storage) (step S115).Then, the residual data read and unloading data are combined by data combining 26 And external data is recovered (step S116).Then, control process portion 24 performs to recover to main storage (working storage) External data (step S117), process terminates.
In embodiment 3, the external data in exterior storage medium 50 all can not preserved to external data guarantor In the case of depositing portion 14, whole external datas are split, using the partition data of a part as turning from each external data Deposit data and preserve to external data storage unit 14 external data preserve region, using the data in addition to unloading data as residual Residual according to and residue in exterior storage medium 50.Thus, even if in the case of having extracted exterior storage medium 50, also due to In exterior storage medium 50, do not contain complete data, therefore there is this effect of leakage being prevented from data.
Embodiment 4
In embodiment 4, in the case of illustrating that the external data being preserved outside data save area is updated Process.
The device 10 that controls involved by embodiment 4 has roughly the same with the control device shown in Fig. 1 of embodiment 1 Structure, but external data preservation process portion 18, external data write-back portion 22 and the function in internal data process portion 23 and reality The function in the external data preservation process portion 18, external data write-back portion 22 and the internal data process portion 23 that execute mode 1 is different. External data preservation process portion 18 has following function, i.e. updated external data via input unit 12 by user In the case of, the external data (hereinafter referred to as updating external data) after updating preserves to external data preservation region, will more The storage location of new external data stores with the password of original external data explicitly to the corresponding letter of password-external data Breath.
Figure 19 is the figure of the example representing the password-external data corresponding informance involved by embodiment 4.Such as this Shown in figure, password-external data corresponding informance has: the information such as the data name being identified external data;External data Initial address and size;The password set for external data;To updating the renewal data name that external data is identified The information such as title;And update initial address and the size of external data.Update renewal data name and the starting point of external data Location and size multiple are associated storing in the way of original external data derivative renewal external data.Separately Outward, the quantity of the renewal external data being associated with the combination of data name and password is unrestricted.
If external data is updated, then the address and size that update external data are chased after by external data preservation process portion 18 Remember the record corresponding with external data (password) to password-external data corresponding informance.Password-external data correspondence letter The renewal of breath both can be that the timing being updated in external data is carried out, it is also possible to is to be sent updating external data by user The timing of instruction carrying out registering is carried out, it is also possible to be to carry out in other timings.
Write-back, when by write back data to exterior storage medium, is processed setting screen and is shown in by external data write-back portion 22 Display part 13, the write-back carrying out external data based on its content processes, and wherein, this write-back processes setting screen and for setting is External data in outside data save area and which person updated in external data are carried out write-back.That is, external data write-back Portion 22 processes the setting content at setting screen based on write-back, perform only by the process of original external data write-back, only will more The process of new external data write-back or by original external data and the process that updates external data both sides' write-back.
Removing, after by write back data to exterior storage medium 50, is processed setting screen and shows by internal data process portion 23 In display part 13, carry out external data based on its content and preserve external data that region preserved or update the clear of external data Except processing, wherein, this removing process setting screen is preserved for the external data of outside data saving part 14 is preserved region External data and update external data removing whether be set.Namely be based in the setting that removing processes at setting screen Appearance, the removing performing external data and renewal external data processes or unclear former except external data and renewal external data The process that sample retains.
Figure 20 be represent involved by embodiment 4 along with external data write-back process, from control device extract The flow chart of the example extracting process of exterior storage medium.First, with step S31~the S34 of Fig. 7 of embodiment 1 Similarly, issue orders if performing unloading of exterior storage medium 50, then input password, to the password inputted whether with close Password in code-external data corresponding informance unanimously carries out judging (step S131~S134).
(step S133 is the situation consistent with the password in password-external data corresponding informance at the password inputted The situation of Yes) under, external data write-back portion 22 updates resume to the data in outside data saving part 14 and checks.That is, right Password-external data corresponding informance carries out with reference to and judges whether deposit in the external data corresponding with the password inputted Updating external data (step S135).
The situation (step S135 is the situation of Yes) updating external data is there is in the external data corresponding with password Under, carry out from external data and update write-back selection process (step S136) of selection write-back object among external data. It is to obtain the outside corresponding with the password inputted based on password-external data corresponding informance that write-back selection processes Data and renewal external data, process write-back setting screen and be shown in display part 13.User processes setting screen at this write-back Carrying out the selection of write-back, this selection content is specified information to store as write-back by external data write-back portion 22. As write-back, only select external data, only select more new data or selection external data and outside more new data double Side.
Then or there is not situation (step S135 updating external data in the external data corresponding with password Situation for No) under, external data write-back portion 22 is by the external data in external data storage unit 14 or updates external data It is written back to exterior storage medium 50 (step S137).Here, in the case of there is not renewal external data, only by external number According to write-back, in the case of there is renewal external data, information will be specified based on the write-back of storage in step S136 Data (external data and/or renewal external data) carry out write-back.
Then, in the same manner as step S36 of Fig. 7 of embodiment 1~S41, to the number being written back to exterior storage medium 50 Compare, in the case of consistent, according to from user according to the original data preserving region with external data are the most consistent Instruction, remove/unclear except external data in data saving part 14 and update external data, if becoming able to unload Exterior storage medium 50, then be shown in display part 13 by this main idea, and process terminates (step S138~S143).
Figure 21 and Figure 22 is the figure schematically showing the example that the write-back involved by embodiment 4 processes.First, As shown in Figure 21 (a), when being mounted with the exterior storage medium of sky, hold if user indicates from guidance panel 105 Unloading of row exterior storage medium 50 is issued orders, then require input password, and user carries out the input of password via guidance panel 105. From password-external data corresponding informance, confirm the record corresponding with password, enter in the case of there is renewal external data The process that write-back is specified by row.User is appointed as such as by renewal external data write-back via guidance panel 105 Not by original external data write-back.
Then, as shown in Figure 21 (b), specify based on write-back and renewal external data is copied to exterior storage medium 50.If copying to renewal external data and the renewal external data in external data preservation region 1031 of exterior storage medium 50 Unanimously, the most as shown in figure 22, inform the user exterior storage medium 50 and be in the state that can unload, by user from controlling device 10 unload exterior storage medium 50.
Additionally, in embodiment 4 along with data conversion storage process, connect exterior storage medium 50 time place Reason, due to identical with the process illustrated by embodiment 1, therefore the description thereof will be omitted.
In embodiment 4, in the case of the external data preserved at outside data saving part 14 has been carried out updating, This renewal external data is preserved, to returning in the case of carrying out write-back process explicitly with to the password of outside data setting Which write data to select.Thus, there is following effect, i.e. can select will to be written back to exterior storage medium by user The object of the process of 50 is set to original external data, renewal external data or both sides.
Embodiment 5
In embodiment 1~4, limit the most especially and be installed between exterior storage medium and the password controlling device Relation.Such as, certain exterior storage medium is being installed on control device, is making external data be transferred to external data storage unit After, even if this exterior storage medium is departed from, other exterior storage mediums is installed on control device, it is also possible to carry out at write-back Reason.In embodiment 5, illustrate can the kind of exterior storage medium or individuality that can carry out write-back process be specified Situation.
Figure 23 is the block diagram schematically showing the functional structure controlling device involved by embodiment 5.Control device 10 also have exterior storage medium information acquiring section 27, set information process portion 28 and on the basis of the structure of embodiment 1 Set information storage part 29.Additionally, explanation sets as the connection slot of the exterior storage medium 50 of control device 10 below Put SD card, USB storage, this situation of 3 kinds of CompactFlash (registered trade mark).
If be detected that be mounted with exterior storage medium 50, then exterior storage medium information acquiring section 27 controlling device 10 Obtain the intrinsic information relevant to exterior storage medium 50, i.e. classification information.Category information is stored at exterior storage medium The specific region set in 50, it is possible to obtain by reading in the information in this specific region.
Set information setting screen is shown in display part 13 by set information process portion 28, input is set to set information The content of picture stores as set information to set information storage part 29, and wherein, this set information setting screen is used for pin Kind to the exterior storage medium 50 being installed on control device 10, and to comprising the write-back mesh of the presence or absence of data protection, data In target appointment, write back data target information, storage inside portion, data dump etc. are set at interior set information.Set letter Breath storage part 29 stores the set information generated by set information process portion 28.
Figure 24 is the figure of the example representing set information.In this example, set information comprises exterior storage medium Whether classification information, data protection function, the appointment of write back data target, write back data target information, write-back perform after processing The removing of the external data in storage inside portion (external data storage unit 14).
The classification information of exterior storage medium illustrates that SD card, microSD card, CompactFlash (registered trade mark), USB deposit The classifications such as reservoir.Whether data protection function represents in the case of exterior storage medium 50 is installed on control device 10 by outside The data conversion storage that storage medium 50 is preserved is to external data storage unit 14.
Could specifying of the write-back of the appointment of write back data target data when write-back is processed.There is number In the case of appointment according to write-back target, not to except being deposited by the outside of the classification specified by ensuing write back data target information Exterior storage medium 50 write-back beyond storage media 50.It addition, in the case of the appointment that there is not write back data target, no matter For the exterior storage medium 50 of which classification, all carry out write-back process.
The classification of following exterior storage medium 50 is set by write back data target information, i.e. be able to carry out for The exterior storage medium 50 of the write-back of the external data that external data storage unit 14 is stored.In storage inside portion, data dump is used In to being to remove storage inside portion (the external data storage unit 14) external data that preserved or with former state after write-back processes Residual is specified.
Represent that write-back processes the most licensed-in License Info it addition, preserve in exterior storage medium 50.This license Information is to write to exterior storage medium 50 based on by the content set by set information process portion 28.Additionally, to reality Executing the identical element of mode 1 and mark same label, the description thereof will be omitted.
In the example of Figure 24, it is registered with in set information for SD card, USB storage, CompactFlash (registration Trade mark) various types of record.Situations below is shown, i.e. SD card, USB storage and CompactFlash (registered trade mark) are each Data dump in being set data protection function, the appointment of write back data target and storage inside portion, as write back data Target information, only have granted exterior storage medium of the same race.
Below, the action controlled said structure in device 10 illustrates.Figure 25 is to represent involved by embodiment 5 Action when installing exterior storage medium process the flow chart of an example of step.First, if exterior storage medium 50 Be installed in control device 10 (step S151), then exterior storage medium information acquiring section 27 obtains class from exterior storage medium 50 Other information (step S152).Then, exterior storage medium information acquiring section 27 is to the note corresponding with acquired classification information Whether record is present in set information carries out judging (step S153).
In the situation (step S153 is the situation of No) that there is not the record corresponding with classification information, at set information Reason portion 28 is set information setting and processes (step S154).Such as by setting screen being shown in display part 13, will input Content to setting screen preserves with classification information explicitly as 1 record of set information, thus sets Determining information setting to process, wherein, this setting screen is for the need of data protection, the finger that whether carries out write back data target Calmly, after by write back data to exterior storage medium 50, whether remove the external data etc. residued in control device 10 to set Fixed.Then, set information process portion 28 will be processed by setting set by information in the appointment to write back data target relevant Write-back License Info preserve to exterior storage medium 50 (step S155).
If it addition, being that classification information is present in set information (step S153 is Yes), then to setting in step S153 Determine whether the record corresponding with classification information in information is set with data protection function to carry out judging (step S156).? In the situation (step S156 is the situation of No) of non-setting data defencive function, do not carry out the external number in exterior storage medium 50 Processing according to the unloading controlling device 10, process terminates.
In the situation (step S156 is the situation of Yes) being set with data protection function, external data preserves region and sets Determine portion 15, in outside data saving part 14, outside data save area is set (step S157).Then, external data Detection unit 16 judges (step S158) to whether there is external data in exterior storage medium 50.At exterior storage medium Not existing in 50 in the situation (step S158 is the situation of No) of external data, process terminates.
It addition, at exterior storage medium 50 internal memory in the situation (step S158 is the situation of Yes) of external data, password Configuration part 17 is set (step S159) to password during write back data.Set password is preserved extremely by password setting portion 17 Password-external data corresponding informance (step S160).
Then, the external data in exterior storage medium 50 is copied to external data guarantor by external data preservation process portion 18 The external data depositing portion 14 preserves region (step S161), and exterior storage medium 50 and external data preserve the external number in region Judge (step S162) according to the most unanimously carrying out.Video data in the two inconsistent situation (step S162 is the situation of No) Abnormal (step S163), the processing returns to step S161.
In the two consistent situation (step S162 is the situation of Yes), external data preservation process portion 18 is to copying to External data and the password of external data storage unit 14 are associated, and preserve to password-external data corresponding informance (step S164).Then, removing the external data (step S165) in exterior storage medium 50, process terminates.
Additionally, in the above description, as the connection slot of exterior storage medium 50, with SD card, USB storage, Illustrated as a example by CompactFlash (registered trade mark) these 3 kinds, but be not limited to this, it is also possible to be other kinds of outside Storage medium 50, in addition it is possible to arrange any number of connection slot for various species.
Figure 26 is the flow process unloading the example processing step representing the exterior storage medium involved by embodiment 5 Figure.First, if be have selected the exterior storage medium 50 (connection slot) as write-back target by user via input unit 12 (step S171), then external data write-back portion 22 checks whether that connection has the exterior storage medium 50 (step as write-back target S172).In the situation (step S172 is the situation of No) being not connected with the exterior storage medium 50 as write-back target, would indicate that The error message being not connected with exterior storage medium 50 is shown in display part 13 (step S173), the processing returns to step S171.
Under connecting the situation (step S172 is the situation of Yes) having the exterior storage medium 50 as write-back target, by User inputs password (step S174) via input unit 12.The password detection unit 21 password to being inputted whether with password-outside The password that data corresponding informance is preserved unanimously carries out judging (step S175).
(step S175 is the situation inconsistent with the password in password-external data corresponding informance at the password inputted The situation of No) under, this situation inconsistent for password is shown in display part 13 (step S176), returns step S174.It addition, The situation (step S175 is the situation of Yes) that the password inputted is consistent with the password in password-external data corresponding informance Under, external data write-back portion 22 reads the write-back License Info (step S177) of exterior storage medium 50, returns external data Write and whether obtain license and carry out judging (step S178).(step S178 is the most licensed-in situation of write-back in external data The situation of No) under, it is indicated can not exterior storage medium 50 being carried out the display (step S179) of the write-back of external data, place Reason terminates.
On the other hand, in the licensed-in situation of write-back (step S178 is the situation of Yes) of external data, external number According to write-back portion 22, the external data corresponding with the password inputted in external data storage unit 14 is written back to outside store Medium 50 (step S180).Then, external data write-back portion 22 is to 2 in exterior storage medium 50 and external data storage unit 14 Individual external data the most unanimously carries out compareing (step S181), by number in inconsistent situation (step S181 is the situation of No) It is shown in display part 13 (step S182) according to this main idea abnormal, the processing returns to step S180.
It addition, in the two consistent situation (step S181 is the situation of Yes), set information is carried out reference, it is determined that Whether remove the external data (step S183) in external data storage unit 14.Number in external data storage unit 14 to be removed According to situation (step S183 is the situation of Yes) under, remove the external data (step S184) in external data storage unit 14, clearly Password (step S185) except the corresponding record of password-external data corresponding informance.
Then or in step S183 be unclear except the situation (step of external data in data saving part 14 S183 is the situation of No) under, exterior storage medium 50 becomes the state (step S186) that can unload, and process terminates.
Figure 27 is the figure of the summary of the step of the write-back process schematically showing the data involved by embodiment 5.As Shown in Figure 27 (a), it is in following state, i.e. the external data in the storage inside portion 103 controlling device 10 preserves region 1031 In preserve external data S1, in password-external data corresponding informance 1032, storage has corresponding with external data S1 close Code S1, in set information 1033, storage has the set information S1 corresponding with exterior storage medium 50.
In the execution that write-back processes, it is confirmed whether to be provided with exterior storage medium 50, then carries out inputted password Whether with consistent for the password S1 judgement being stored in password-external data corresponding informance, subsequently, it is determined that exterior storage medium 50 Write-back License Info S1 whether have granted the write-back of external data S1.
Then, in the case of the write-back License Info S1 of exterior storage medium 50 have granted the write-back of external data S1, As shown in Figure 27 (b), external data S1 that external data preserves region 1032 copies to exterior storage medium 50, carries out back Write.
Additionally, in the above description, set for each kind of exterior storage medium 50 but it also may no It is for kind, but is identified for each individuality and is set.In this case, for each individuality to setting Information and password-external data corresponding informance are managed.It addition, outside storage is situated between as each individuality The method that matter 50 is identified, it is possible to use the individual identification information etc. such as representing the respective information of product.
Figure 28 is to represent the password-external number in the case of being managed exterior storage medium for each individuality Figure according to an example of corresponding informance.As shown in this figure, become and add further on the basis of the set information of Figure 24 The structure of the most individual identification information of the intrinsic information relevant to exterior storage medium.
In the case of such as individual identification information is " SD card 1 ", classification information is " SD card ", has data protection merit Can, be also assigned with write back data target, register as write back data target information SD card, USB storage, CompactFlash (registered trade mark) these classifications, in storage inside portion, data dump is set to effectively.
It addition, in the case of such as individual identification information is " USB storage 1 ", classification information is " USB storage ", There is data protection function, not specified write back data target and write back data target information, data dump quilt in storage inside portion It is set as effectively.
Further, in the case of individuality identification information is " CompactFlash (registered trade mark) 1 ", classification information is " CompactFlash (registered trade mark) ", has a data protection function, write back data target, write back data target information and interior In portion's storage part, data dump does not all set.It addition, for individuality identification information " SD card 2 ", " USB storage 2 ", " CompactFlash (registered trade mark) 2 ", is not connected with control device 10, is in the state before setting, does not carries out any setting Fixed.
Figure 29 be schematically show can be connected with the exterior storage medium of multiple kinds, controlling in device of departing from The figure of the relation of password-external data corresponding informance and set information.As shown in Figure 29 (a), it is provided with in controlling device 10 Memory interface 104B and CompactFlash (registered trade mark) storage of SD card memory interface 104A, USB storage Device interface 104C.As exterior storage medium, there is SD card 51A, 51B, USB storage 52A, 52B, CompactFlash (note Volume trade mark) 53A, 53B etc..It addition, it is assumed herein that set information 1033 be not the kind for exterior storage medium but Arrange for each individuality.
Figure 29 (b) illustrates following state, i.e. connecting at the memory interface 104A controlling device 10 has SD card 51A, is depositing Memory interface 104B connects USB storage 52A, and connecting at memory interface 104C has CompactFlash (registered trade mark) 53A.It addition, be registered with in the set information 1033 in storage inside portion 103 SD card 51A, USB storage 52A and The respective record of CompactFlash (registered trade mark) 53A.SD card 51A and external data S1 of USB storage 52A, U1 unloading External data to storage inside portion 103 preserves region 1031, corresponding, at password-external data corresponding informance 1032 Password S1, U1 of middle storage SD card 51A and USB storage 52A.But, the external number of CompactFlash (registered trade mark) 53A The external data not being stored in storage inside portion 103 according to C1 preserves region 1031.It addition, preserve license letter in SD card 51A Breath S1.
It addition, show in the above description and set information managed independently with password-external data corresponding informance The situation of reason but it also may comprise set information in password-external data corresponding informance.Figure 30 is to represent to comprise setting letter The content of breath is at the figure of an example of interior password-external data corresponding informance.As shown in this figure, write back data target is made The set informations such as medium information are associated with the combination of external data and password and are preserved as record.
In embodiment 5, if exterior storage medium 50 is connected to control device 10, then to including no data guarantor Protective function, whether remove including the external data in external data storage unit 14 with or without after the appointment of write back data target, write-back Set information be set, process based on its content.Therefore there is following effect, i.e. can be situated between for outside storage Each kind or each individuality of matter 50 and could be set the write-back of external data, it is possible to prevent external data quilt Illegally take away.
Embodiment 6
In embodiment 6, illustrate to make the situation of the effect that exterior storage medium has key (key).
Figure 31 is the block diagram schematically showing the functional structure controlling device involved by embodiment 6.This control fills Putting 10 and also have exterior storage medium dismounting test section 30 on the basis of the control device of embodiment 5, the storage of this outside is situated between Exterior storage medium 50 is detected by matter dismounting test section 30 relative to the dismounting state controlling device 10.Exterior storage medium The dismounting test section 30 external data in exterior storage medium 50 performs what unloading came after outside data saving part 14 unloading During external data, whether the exterior storage medium 50 originally storing external data to be performed is installed on control device 10 and enters Row judges, notifies its result to control process portion 24.That is, the outside originally storing external data to be performed is being installed In the case of storage medium 50, control process portion 24 is able to carry out external data (data such as program or parameter), in storage originally There is situation that the exterior storage medium 50 of external data to be performed has disengaged from or is provided with and originally stores and to perform The different exterior storage medium 50 of the exterior storage medium 50 of external data in the case of, outside control process portion 24 can not perform Portion's data.
Figure 32 is the figure of an example of the structure representing the set information involved by embodiment 6.In set information Also it is attached with and indicates whether as the key that performs of duplicated external data, exterior storage medium 50 is carried out the project that utilizes. In the case of being set as utilizing as execution key, if not installing exterior storage medium 50, then can not perform script It is stored in the external data of exterior storage medium 50.On the other hand, it is being set as not as performing the situation that key carries out utilizing Under, it is possible to perform external data, and unrelated with or without installing exterior storage medium 50.Additionally, for other structures, due to reality Executing the structure illustrated by mode 5 identical, therefore the description thereof will be omitted.
Exterior storage medium dismounting test section 30 such as obtain the exterior storage medium 50 installed classification information or Individual identification information, it is determined that the classification that the external data to be performed with control process portion 24 is associated by set information Whether whether information or individual identification information have the classification information got or individual identification information, such that it is able to will be able to Enough perform external data to notify to control process portion 24.
Figure 33 is the flow process of an example of the step of the execution process representing the external data involved by embodiment 6 Figure.First, if selected for the external data (step S191) performed by control process portion 24, then exterior storage medium dismounting inspection Survey portion 30 uses set information to obtain the classification information of the exterior storage medium 50 originally preserving external data to be performed Or individual identification information (step S192).It addition, exterior storage medium dismounting test section 30 is at outside storage medium interface Whether 11 be provided with exterior storage medium 50 carries out judging (step S193).Situation (the step of exterior storage medium 50 is being installed Rapid S193 is the situation of Yes) under, obtain the classification information of this exterior storage medium 50 or individual identification information (step further Rapid S194).Then, exterior storage medium dismounts the test section 30 2 classification information to getting or individual identification information is No unanimously carrying out judges (step S195).
In the two consistent situation (step S195 is the situation of Yes), exterior storage medium dismounting test section 30 is by 2 Classification information or individual identification information this main idea consistent notify to control process portion 24.Thus, control process portion 24 performs Selected external data (step S197), process terminates.
On the other hand, in the two inconsistent situation (step S195 is the situation of No), exterior storage medium dismounting inspection 2 classification information or individual identification information this main idea inconsistent are notified to control process portion 24 by survey portion 30.Then, control Process portion 24 can not perform selected external data (step S197), and prompting is installed by exterior storage medium dismounting test section 30 The message of correct exterior storage medium 50 is shown in display part 13 (step S198), and process terminates.
If it addition, being that exterior storage medium 50 is not installed on exterior storage medium interface 11 (step in step S193 S193 is No), then exterior storage medium dismounting test section 30 will not installed this main idea of exterior storage medium 50 and be notified to control Process portion 24.Then, control process portion 24 can not perform selected external data (step S199), and exterior storage medium dismounts Test section 30 will remind the message installing exterior storage medium 50 to be shown in display part 13 (step S200), and process terminates.
Figure 34 and Figure 35 is the one of the state of the execution process schematically showing the external data involved by embodiment 6 The figure of individual example.As shown in Figure 34 (a), it is in following state, i.e. external data 351 is transferred to from exterior storage medium 50 The external data in storage inside portion 103 preserves region 1031, and empty exterior storage medium 50 is installed on control device 10.At this shape Under state, if being instructed to perform external data to preserve the external data 351 in region 1031, then CPU 101 is confirmed whether to connect Have and there is the classification information being associated with external data 351 or the exterior storage medium 50 of individual identification information.
Then, as shown in Figure 34 (b), install in the connection and exterior storage medium 50 confirming exterior storage medium 50 Under the state controlling device 10, CPU 101 is able to carry out external data and preserves the external data 351 in region 1031.
On the other hand, as shown in Figure 35 (a), in the case of having unloaded exterior storage medium 50 from control device 10, CPU 101 carry out the confirmation whether exterior storage medium 50 is connected with control device 10.Now, CPU 101 confirms outside storage Jie Matter 50 is not connected with control device 10.If exterior storage medium 50 is not connected, then such as Figure 35 (b) institute with control device 10 Showing, CPU 101 becomes performing the state of external data 351.
Additionally, due to be mounted with the feelings that the process in the case of exterior storage medium 50 and exterior storage medium 50 depart from Process under condition is roughly the same with the process illustrated by embodiment 5, and therefore the description thereof will be omitted.
In embodiment 6, by external data after exterior storage medium 50 is transferred to external data storage unit 14, as Fruit is not that the exterior storage medium 50 originally preserving this external data is installed on the state controlling device 10, then can not perform External data.Thus, it is present in situation about controlling near device 10 if not user, then can not perform originally to be stored by outside The external data that medium 50 is preserved.Its result, extracts exterior storage medium 50 and attached from controlling device 10 such as user When closely leaving, even if the third party installs other exterior storage mediums 50 at control device 10, control device 10 and also will not go out The action that user expects.
Embodiment 7
In the above-described embodiment, in the situation that the external data of external data storage unit is written back to exterior storage medium Under, with form write-back in plain text.The situation of the form write-back with ciphertext is described in embodiment 7.
Control device 10 in embodiment 7 is identical with the structure controlling device 10 of above-mentioned embodiment, but external number Function according to write-back portion 22 is different.If performing the order of write-back process, have input password, then external data write-back portion 22 makes With the password (password being associated with the external data as object) inputted to the conduct in outside data saving part 14 The external data of object is encrypted, and the external data after encryption is copied to exterior storage medium 50.It addition, the number after Fu Zhiing According to comparison be by copying to the external data after the encryption of exterior storage medium 50 and as outside after the encryption of copy source Portion's data are carried out.
Below, the write-back to said external data processes and illustrates.Additionally, for outside being mounted with in embodiment 7 Process in the case of portion's storage medium 50, due to identical with above-mentioned embodiment, therefore omits the description.Figure 36 and Figure 37 is to show Meaning property ground represents the figure of an example of the step of the write-back process of the external data involved by embodiment 7.Additionally, at this In, the major part only processed write-back illustrates.
First, as shown in Figure 36 (a), it is in following state, i.e. controlling device 10, exterior storage medium 50 is installed, The data that exterior storage medium 50 is preserved are transferred to external data storage unit 14.In this condition, user is via operating surface Plate 105 and indicate execution unloading of exterior storage medium 50 issue orders.
If performing unloading of exterior storage medium 50 to issue orders, then, as shown in Figure 36 (b), the input picture of password is shown It is shown in display part 13, user inputs password via guidance panel 105.To the password inputted whether with password-external data Password in corresponding informance 1032 unanimously compares.
Then, as shown in Figure 37 (a), external data write-back portion 22 utilize the password that inputted and to the password inputted The external data 351 that the external data being associated preserves in region 1031 is encrypted, and generates not shown encryption external data. Then, encryption external data is copied to exterior storage medium 50 by external data write-back portion 22, to duplicated encryption external number Whether compare with as the encryption external data of copy source is consistent according to 301A.
Then, in the case of the two is consistent, as shown in Figure 37 (b), replicate the outside after encryption external data 301A Storage medium 50 becomes can be from controlling the state that device 10 unloads.Additionally, to work as illustrated by above-mentioned embodiment External data 351 for the basis of encryption external data 301A processes.It addition, add for generation in controlling device 10 Close external data, both can delete, it is also possible to former state residues in data save area after comparison.It addition, as mentioned above will control External data 351 in device 10 processed is written back to the process of exterior storage medium 50 and can fit as encryption external data 301A For the respective embodiments described above.
In embodiment 7, it is written back to exterior storage medium carrying out the external data by external data storage unit 14 Encryption external data write-back in the case of the process of 50, after being encrypted using the password set for this external data To exterior storage medium 50.Thus there is following effect, i.e. in the state that external data is written back to exterior storage medium 50 Under, even if in the case of exterior storage medium 50 is stolen, it is also possible to the external data reduced in exterior storage medium 50 is read The probability look at.
Embodiment 8
In embodiment 2, the external number that the idle capacity at outside data saving part is preserved than exterior storage medium According to total size less in the case of, high for priority external data is preserved to external data storage unit, priority is low External data former state residue in exterior storage medium.In embodiment 8, illustrate the data residuing in exterior storage medium Situation about being encrypted.
Control device 10 involved by embodiment 8 is relative to the control device 10 of embodiment 2, at external data preservation The function in reason portion 18 is different.That is, external data preservation process portion 18 also has following function: by outside exterior storage medium 50 When portion's data conversion storage is to external data storage unit 14, at the idle capacity of outside data saving part 14 than exterior storage medium 50 In the case of the total size of external data is less, unloading external data is copied to external data storage unit 14, and utilizes Set password and the residual external data residuing in exterior storage medium 50 is encrypted and generates encryption external data, And preserve to exterior storage medium 50, delete residual external data.
Figure 38 is to represent the process in the case of the control device involved by embodiment 8 is mounted with exterior storage medium The flow chart of one example of step.First, in the same manner as step S51 of Figure 10 of embodiment 2~S57, if outside is deposited Storage media 50 is mounted to control device 10, then external data preserves region setting part 15 in storage inside portion to external data Preservation region is set, the total size of the external data of the Capacity Ratio exterior storage medium 50 in outside data save area In the case of less, based on can unloading data capacity and distributing be transferred to external data storage unit 14 unloading external data and Residue in the residual external data of exterior storage medium 50.Then, password during write back data is set, by set Password preserves to password-external data corresponding informance (step S211~S217).
Then, use the password set in step S216 that the residual external data in exterior storage medium 50 is carried out Encrypt and generate encryption residual external data (step S218), encryption residual external data is preserved to exterior storage medium 50, Remove the residual external data (step S219) in exterior storage medium 50.Now, external data preservation process portion 18 can also Would indicate that and the data (residual external data) in addition to unloading external data are encrypted and preserve to exterior storage medium 50 The display of this main idea exports to display part 13.
Then, the unloading external data in exterior storage medium 50 is copied to the external data of external data storage unit 14 Preserve region (step S220).Then, in the same manner as step S59 of Figure 10 of embodiment 2~S63, carry out outside storage and be situated between Comparison between the unloading external data of matter 50 and external data storage unit 14, the unloading that external data storage unit 14 is preserved The save location registration of external data, to password-external data corresponding informance, is removed outside the unloading in exterior storage medium 50 Data (step S221~S225).Thus, process terminates.
Figure 39 is the figure schematically showing the situation processing external data involved by embodiment 8.At figure In 39 (a), it is assumed that the external data 301,302 in exterior storage medium 50 is unloading external data, external data 303,304 quilt It is appointed as remaining external data.If setting password, then as shown in Figure 39 (b), residual external data 303,304 is by set Password be encrypted, as encryption external data 303X, 304X and preserve to exterior storage medium 50.Then, by external number Remove from exterior storage medium 50 according to 303,304.On the other hand, by unloading external data 301,302 in the same manner as embodiment 2 Copy to the clear area 1031B in storage inside portion 103.
By exterior storage medium 50 from controlling in the case of device 10 departs from, it is also possible to be as shown in Figure 39 (c), outside Unloading external data 301,302 in external data storage unit 14 is copied to exterior storage medium 50 by write back data portion 22, and And use the password that inputted that encryption external data 303X in exterior storage medium 50,304X are decrypted and by plaintext Residual external data 303,304 preserves to exterior storage medium 50, removes encryption external data 303X, 304X.In this case, The function that external data write-back portion 22 has use password and is decrypted the encryption data in exterior storage medium 50.
Or, it is also possible to be as shown in Figure 39 (d), external data write-back portion 22 use the password that inputted and to external number It is encrypted according to the unloading external data 301,302 in storage unit 14 and generates encryption external data 301X, 302X, by this encryption External data 301X, 302X copy to exterior storage medium 50.In this case, external data write-back portion 22 has use password Function external data in outside data saving part 14 being encrypted and preserve to exterior storage medium 50.
In embodiment 8, the conjunction of the external data of the Capacity Ratio exterior storage medium 50 in outside data save area Meter size is less, and an only part for external data is transferred to external data storage unit 14, and other parts residue in outside storage and are situated between In the case of matter 50, the external data of residual is encrypted.Thus there is following effect, i.e. even in operation process In the case of having extracted exterior storage medium 50, it is also possible to the content reducing the external data in exterior storage medium 50 is seen Probability.
Embodiment 9
In the above-described embodiment, outside for exterior storage medium being installed on control device, external data being transferred to The relation between the action and the installment state that control device after portion's data saving part, not specifically mentioned in addition to embodiment 7. The situation making exterior storage medium depart from the case of controlling device execution process is described in embodiment 9.
Figure 40 is the block diagram schematically showing the functional structure controlling device involved by embodiment 9.This control fills Put 10 to have at exterior storage medium interface 11, input unit 12, display part 13, external data storage unit 14, external data preservation Reason portion 18, control process portion 24 and exterior storage medium dismounting test section 30.
Whether exterior storage medium dismounting test section 30 is installed on control device 10 to exterior storage medium 50 is detected. Such as, control process portion 24, when the program of execution, inquires to exterior storage medium dismounting test section 30, outside storage is situated between The installment state of matter 50 notifies to control process portion 24.
If received from user, the external data of exterior storage medium 50 copies to control the instruction in device 10, then The external data of exterior storage medium 50 is copied to external data storage unit 14 by external data preservation process portion 18.
Control process portion 24, in the case of accessing the external data that external data storage unit 14 is preserved, stores to outside Medium dismounting test section 30 is inquired whether exterior storage medium 50 is in and is installed on the state controlling device 10.In outside, storage is situated between In the case of matter 50 is in installment state, forbidding the access of external data to outside data saving part 14, in outside, storage is situated between In the case of matter 50 is in disengaged position, it is possible to carry out the access to external data.It is intended that prevent external data to control Device 10 processed continues to be provided with the state of exterior storage medium 50 after replicating.Additionally, to above-mentioned embodiment illustrated by The identical element of element mark same label, the description thereof will be omitted.
Below, the process involved by embodiment 9 is illustrated.Figure 41 is to represent the installation involved by embodiment 9 The flow chart of one example of the process step in the case of exterior storage medium.First, exterior storage medium 50 (step is installed Rapid S231).Then, if sent from user, the external data of exterior storage medium 50 is replicated to outside data saving part 14 Instruction (step S232), then the external data in exterior storage medium 50 is copied to external number by external data preservation process portion 18 According to storage unit 14 (step S233).Additionally, in embodiment 9, as mentioned above, it is also possible to unclear except in exterior storage medium 50 External data.
Then, the connection of exterior storage medium 50 is confirmed, externally by exterior storage medium dismounting test section 30 Whether portion's storage medium 50 has disengaged from carrying out judging (step S234).Situation (the step of exterior storage medium 50 is being installed S234 is the situation of No) under, forbid the access (step S235) of external data in duplicated external data storage unit 14, Return step S234.
On the other hand, in the situation (step S234 is the situation of Yes) that exterior storage medium 50 has disengaged from, control processes Portion 24 can access the external data (step S236) in duplicated external data storage unit 14.Then, control process portion 24 carry out the access (step S237) to external data, and process terminates.
Figure 42 is to schematically show the control dress being mounted with in the case of exterior storage medium involved by embodiment 9 The figure of the process state put.As shown in Figure 42 (a), if exterior storage medium 50 is installed in control device 10, outside indicating The duplication of the external data 301 in portion's storage medium 50, then external data 301 is copied to inside as external data 351 Storage part 103.
Then, CPU 101 to exterior storage medium 50 whether with control device 10 and be connected and confirm.Here, due to Connect have an exterior storage medium 50 controlling device 10, the external number in therefore CPU 101 can not carry out internally storage part 103 According to the access of 351.
Then, as shown in Figure 42 (b), if having extracted exterior storage medium 50 from controlling device 10, then CPU 101 detects Depart to exterior storage medium 50 from controlling device 10, it becomes able to carry out external data 351 in internally storage part 103 Access.Further, it is possible to perform to employ the process of external data 351.
In embodiment 9, if being mounted with exterior storage medium 50, then by the external data in exterior storage medium 50 Copy to external data storage unit 14, then, have the period of exterior storage medium 50 to forbid to duplicated external number connecting According to access, exterior storage medium 50 depart from after can carry out the access to duplicated external data.Thus have following Effect, i.e. be prevented from exterior storage medium 50 and be installed on the state controlling device 10 constantly, it is possible to prevent from being carried by the third party Walk exterior storage medium 50.
Embodiment 10
Following situation is described in embodiment 10, i.e. from embodiment 9, exterior storage medium is installed on control Device rises and is encrypted the external data in exterior storage medium after the stipulated time.
Figure 43 is the block diagram schematically showing the functional structure controlling device involved by embodiment 10.Control device 10 have exterior storage medium interface 11, input unit 12, display part 13, external data storage unit 14, user authentication information storage Portion 31, user authentication portion 32, external data preservation process portion 18, external data protection portion 33, external data decryption part 34, control Process portion 24 and exterior storage medium dismounting test section 30.
User authentication information storage part 31 stores for the user authentication using the user controlling device 10 to be authenticated Information.User authentication information comprises the password etc. that the ID being such as identified user is associated with ID.
If being connected to exterior storage medium 50, then user authentication portion 32 carries out user authentication.Specifically, at display part 13 display user authentication pictures, judge input to the content of user authentication picture is the most consistent with user authentication information. In the case of input content is consistent with user authentication information, permit later operation, at input content and user authentication information In the case of inconsistent, disapprove later operation.
After being mounted with exterior storage medium 50, even more than predetermined external data guard period the most not by outside In the case of storage medium 50 unloads, external data protection portion 33 using user authentication information (password etc.) as key to outside The external data that storage medium 50 is preserved is encrypted, and preserves to exterior storage medium 50, removes as initial data External data in plain text.
If receiving the instruction that the encryption external data in exterior storage medium 50 is decrypted, then external data solution Compact part 34 shows that user authentication picture carries out user authentication, if user authentication normally terminates, then to exterior storage medium The encryption external data that 50 are preserved is decrypted, and removes encryption external data.It addition, in the not successful situation of user authentication Under, encryption external data is not decrypted but maintains its state constant.
Additionally, the element identical with the element that above-mentioned embodiment is used is marked same label, omit Its explanation.
Below, the action process controlling device 10 involved by embodiment 10 is illustrated.Figure 44 is to represent enforcement The flow chart of one example of the process step controlling device involved by mode 10.First, if exterior storage medium 50 quilt Connection (installation) in controlling device 10 (step S251), then starts timing (step S252), and user authentication portion 32 carries out user and recognizes Card (step S253).As user authentication, it is possible to exemplify the input of ID and password.User authentication portion 32 is to user authentication The most successfully carry out judging (step S254).In the unsuccessful situation (step S254 is the situation of No) of user authentication, i.e. use In the case of the authentification failure of family, process terminates.
It addition, in the successful situation of user authentication (step S254 is the situation of Yes), external data preservation process portion 18 External data in exterior storage medium 50 is copied to external data storage unit 14 (step S255).Exterior storage medium dismounts Test section 30 confirms the connection of exterior storage medium 50, to exterior storage medium 50 the most from control device 10 depart from into Row judges (step S256).In the situation (step S256 is the situation of Yes) that exterior storage medium 50 has disengaged from, it becomes able to Carry out the access (step S257) to the external data copying to external data storage unit 14.Then, control process portion 24 is carried out To the access (step S258) of external data, process terminates.
Exterior storage medium 50 without departing from situation (step S256 is the situation of No) under, forbid to copying to external number Access (step S259) according to the external data of storage unit 14.Then, to the external data that whether have passed through regulation from timing Guard period carries out judging (step S260).In the situation without the external data guard period specified, (step S260 is No Situation) under, return step S256.It addition, in the situation (step of the external data guard period that have passed through regulation from timing S260 is the situation of Yes) under, using user authentication information (password etc.) as key to the external number in exterior storage medium 50 According to being encrypted, and preserve to exterior storage medium 50 (step S261).It addition, delete as encrypt source data, in plain text External data (step S262).
Then, if the instruction such as the deciphering of the external data after the encryption that user sends in exterior storage medium 50 (walks Rapid S263), the most again carry out user authentication (step S264).(step S265 is the feelings of No to the situation unsuccessful at user authentication Condition), i.e. in the case of user authentication failure, process terminates.
It addition, in the successful situation of user authentication (step S265 is the situation of Yes), use user authentication information to adding External data after close is decrypted, and stores to exterior storage medium 50 (step S266).It addition, deletion exterior storage medium External data (step S267) after encryption in 50.Thus, process terminates.
Figure 45 is the figure of the situation of the encryption schematically showing the exterior storage medium involved by embodiment 10.Such as figure Shown in 45 (a), if exterior storage medium 50 is mounted to control device 10, then use by user via guidance panel 105 ID and the password of input carry out user authentication.If user authentication success, then by the external number in exterior storage medium 50 Storage inside portion 103 is copied to according to 301.Whether CPU 101 has exterior storage medium 50 to confirm to connecting, in the phase connected Between forbid the access to the external data 351 copying to storage inside portion 103.
If exterior storage medium 50 is placed the time of regulation when being connected to control device 10, then outside is deposited External data 301 in storage media 50 is encrypted.Then, as shown in Figure 45 (b), preserve outside encryption in exterior storage medium 50 Portion's data 301X, delete external data 301.Additionally, by the most again carrying out user authentication such that it is able to outside Encryption external data 301X in storage medium 50 is decrypted.
In embodiment 10, the external data in exterior storage medium 50 is copied to external data storage unit 14 After, even if having passed through the stipulated time from installing exterior storage medium 50, exterior storage medium 50 still without departing from the case of, right External data in exterior storage medium 50 is encrypted and preserves.Thus, there is following effect, i.e. even if outside storage is situated between Matter 50 becomes the state being connected chronically with control device 10, and exterior storage medium 50 is extracted by the third party, also due to external number According to encrypted, therefore the probability of the leakage of content of exterior storage medium 50 is little.
Additionally, password, various input are not limited to the input unit 12 of guidance panel 105 etc., it is possible to use computer, or Engineering tools etc. can also be used via network.
Industrial applicibility
As it has been described above, control device involved in the present invention, for from the storage medium read-in programme that can carry or It is useful for Programmable Logic Controller that external datas such as parameter and carrying out process or numerical control device equal controller.
The explanation of label
10 control device, and 11 exterior storage medium interfaces, 12 input units, 13 display parts, 14 external data storage units, outside 15 Configuration part, data save area, portion, 16 external data detection units, 17 password setting portions, 18 external data preservation process portions, 19 is close Code-external data corresponding informance storage part, 20 external data removing portions, 21 password detection units, 22 external data write-back portions, 23 Internal data process portion, 24 control process portions, 25 data cutting parts, 26 data combining, 27 exterior storage medium acquisition of informations Portion, 28 set information process portions, 29 set information storage parts, 30 exterior storage medium dismounting test sections, 31 user authentication informations Storage part, 32 user authentication portions, 33 external data protection portion, 34 external data decryption parts, 50 exterior storage mediums, 101CPU, 102RAM, 103 storage inside portions, 104,104A~104C memory interface, 105 guidance panels, 106 buses.

Claims (16)

1. controlling a device, it has:
Storage inside portion;And
Control process portion, it uses the program that stored of described storage inside portion or parameter to carry out computing, carries out for institute The control of the control object connected processes,
This control device is characterised by having:
Password setting portion, if exterior storage medium is mounted to this control device, then password is set by this password setting portion Fixed;
External data preserves region setting part, and outside data save area is set by it in described storage inside portion, and this is outer The external data that described exterior storage medium is stored by data save area, portion preserves;
External data preservation process portion, described external data storage to described external data is preserved region by it, by described outside Save location and the described password of data are associated in password-external data corresponding informance;And
External data removing portion, if described external data is saved to described external data and preserves region, then this external data Removing portion removes the described external data in described exterior storage medium.
Control device the most according to claim 1, it is characterised in that also have:
Password detection unit, its judge the input password that inputted when the described exterior storage medium installed is extracted whether with The described password that described password-external data corresponding informance is stored is consistent;And
External data write-back portion, described external data, in the case of described input password is consistent with described password, is preserved by it Described external data in region copies to described exterior storage medium.
Control device the most according to claim 2, it is characterised in that
Also there is internal data process portion, after described external data is copied to described exterior storage medium, this internal data Process portion removes described external data and preserves the described external data in region.
Control device the most according to claim 1, it is characterised in that
Also having external data detection unit, this external data detection unit is to the described external data in described exterior storage medium The size adding up to the clear area in size and described storage inside portion compares,
In the case of the total size of described external data is bigger than the size of the clear area in described storage inside portion, described The amount that the size of described clear area is accommodated by external data preservation process portion according to set priority described outside Portion's data preserve to described external data preservation region.
Control device the most according to claim 1, it is characterised in that also have:
External data detection unit, total size and the described inside of the described external data in described exterior storage medium are deposited by it The size of the clear area in storage portion compares;And
Data cutting part, it is bigger than the size of the clear area in described storage inside portion in the total size of described external data In the case of, described external data is divided into multiple,
Described external data preservation process portion collects from each described outside with the amount corresponding with the quantity of described external data At least 1 partition data that data acquisition arrives, and preserve to described external data preservation region.
Control device the most according to claim 5, it is characterised in that
Also having data combining, this data combining preserves region from described external data and obtains partition data, and obtains From the partition data of described exterior storage medium, it is combined and described external data is recovered.
Control device the most according to claim 2, it is characterised in that
If described external data is updated, the most described external data preservation process portion will update after external data as renewal External data and preserve to described external data and preserve region, by the save location of described renewal external data and described password- The described password being associated with described external data of external data corresponding informance preserves explicitly,
Described external data write-back portion by the write back data selected from described external data and described renewal external data to Described exterior storage medium.
Control device the most according to claim 2, it is characterised in that have:
Exterior storage medium information acquiring section, if described exterior storage medium is mounted to this control device, then deposits outside this Storage media information acquiring section obtains the intrinsic information relevant to described exterior storage medium;And
Set information process portion, in the case of it does not exist the data with described intrinsic information in set information, wraps The presence or absence of the data protection containing described exterior storage medium, the write-back target information of described external data and described storage inside Data dump in portion processes in the setting of interior described set information,
Described password setting portion, described external data preserve region setting part, described external data preservation process portion, described outside Data dump portion and described external data write-back portion process based on described set information.
Control device the most according to claim 8, it is characterised in that
Described set information process portion is by License Info write to described exterior storage medium, and this License Info represents could be by institute State external data write-back portion and carry out the write-back of described external data,
Described external data write-back portion is when replicating the described external data that described external data preserves region, with reference to described outside The described License Info of storage medium judges whether the write-back to described exterior storage medium is permitted, licensed-in In the case of replicate described external data, in the case of the most licensed-in, do not replicate described external data.
Control device the most according to claim 8, it is characterised in that
Also have exterior storage medium dismounting test section, this exterior storage medium dismounting test section to exterior storage medium relative to The dismounting state of this control device detects,
In the case of being provided with described exterior storage medium, described exterior storage medium dismounting test section is to described outside storage Intrinsic information and the script obtained from described set information of medium preserve the external data performed by described control process portion The intrinsic information of exterior storage medium the most unanimously judge,
Described control process portion is only at the intrinsic information of described exterior storage medium and the intrinsic letter that obtains from described set information Perform described external data in the case of breath is consistent, in the case of in addition, do not perform described external data.
11. control devices according to claim 2, it is characterised in that
The described external data that described external data write-back portion uses described password to preserve described external data in region is carried out Encrypt and generate encryption external data, described encryption external data is copied to described exterior storage medium.
12. control devices according to claim 4, it is characterised in that
Described external data preservation process portion utilizes described password and to the described external number residuing in described exterior storage medium Generate encryption external data according to being encrypted, described encryption external data is copied to described exterior storage medium, delete and make Described external data for the source data of encryption.
13. control devices according to claim 12, it is characterised in that
Described external data write-back portion preserves to described outside in the described external data described external data preserved in region During storage medium, described password is utilized the described encryption external data in described exterior storage medium to be decrypted and preserves To described exterior storage medium.
14. control devices according to claim 12, it is characterised in that
Described external data write-back portion preserves to described outside in the described external data described external data preserved in region During storage medium, use described password that the described external data that described external data preserves in region is encrypted and preserve to Described exterior storage medium.
15. 1 kinds control device, and it has:
Storage inside portion;And
Control process portion, it uses the program that stored of described storage inside portion or parameter to carry out computing, carries out for institute The control of the control object connected processes,
This control device is characterised by having:
External data preservation process portion, if exterior storage medium is mounted to this control device, then at this external data preservation External data in described exterior storage medium is copied to described storage inside portion by reason portion immediately;And
Exterior storage medium dismounting test section, after replicating described external data, this exterior storage medium dismounting test section is to institute The dismounting state stating exterior storage medium confirms,
Described control process portion forbids to copying to described inside in the case of described exterior storage medium is in installment state The access of the described external data of storage part, can be carried out to multiple in the case of described exterior storage medium is in disengaged position System is to the access of the described external data in described storage inside portion.
16. control devices according to claim 15, it is characterised in that also have:
User authentication portion, its user authentication carrying out using the user of this control device;
External data protection portion, described exterior storage medium from being mounted to this control device the scheduled period still without departing from In the case of, this external data protection portion use the information that used when described user authentication and to described exterior storage medium In described external data be encrypted and generate encryption external data, preserve to described exterior storage medium, and delete institute State external data;And
External data decryption part, the described encryption external data in described exterior storage medium is decrypted by it,
If after being generated described encryption external data by described external data protection portion, carry out being made by described user authentication portion The described user authentication again gone out, described encryption external data is decrypted by the most described external data decryption part.
CN201480077498.XA 2014-05-14 2014-05-14 Control device Expired - Fee Related CN106133744B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/062842 WO2015173912A1 (en) 2014-05-14 2014-05-14 Control device

Publications (2)

Publication Number Publication Date
CN106133744A true CN106133744A (en) 2016-11-16
CN106133744B CN106133744B (en) 2019-02-19

Family

ID=54479482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480077498.XA Expired - Fee Related CN106133744B (en) 2014-05-14 2014-05-14 Control device

Country Status (3)

Country Link
JP (1) JP6150943B2 (en)
CN (1) CN106133744B (en)
WO (1) WO2015173912A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7119736B2 (en) * 2018-08-08 2022-08-17 京セラドキュメントソリューションズ株式会社 Information processing device, information management method and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215833A1 (en) * 2007-02-19 2008-09-04 Toshio Suzuki Information storage device and stored data processing method
CN101382920A (en) * 2007-09-03 2009-03-11 京乐产业株式会社 Access control device, access control method and access control program
JP2009284286A (en) * 2008-05-23 2009-12-03 Kyocera Mita Corp Image forming apparatus
JP2011043881A (en) * 2009-08-19 2011-03-03 Canon Inc Information processing apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4508636B2 (en) * 2003-12-26 2010-07-21 キヤノン株式会社 Data processing apparatus, control method thereof, and program
JP2006107376A (en) * 2004-10-08 2006-04-20 Konica Minolta Business Technologies Inc Storage information outputting device for external storage device
JP4860619B2 (en) * 2005-05-09 2012-01-25 パナソニック株式会社 Memory card, application program holding method, and holding program
JP4311474B2 (en) * 2007-05-10 2009-08-12 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus, media management method in image forming apparatus, and media management program
JP2010176367A (en) * 2009-01-29 2010-08-12 Canon Inc Image forming device
JP5555642B2 (en) * 2011-01-31 2014-07-23 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP5847531B2 (en) * 2011-10-19 2016-01-27 株式会社アルサ Management storage device for portable storage media
JP5307917B1 (en) * 2012-06-13 2013-10-02 日本電波株式会社 Control device for index table

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215833A1 (en) * 2007-02-19 2008-09-04 Toshio Suzuki Information storage device and stored data processing method
CN101382920A (en) * 2007-09-03 2009-03-11 京乐产业株式会社 Access control device, access control method and access control program
JP2009284286A (en) * 2008-05-23 2009-12-03 Kyocera Mita Corp Image forming apparatus
JP2011043881A (en) * 2009-08-19 2011-03-03 Canon Inc Information processing apparatus

Also Published As

Publication number Publication date
JPWO2015173912A1 (en) 2017-04-20
WO2015173912A1 (en) 2015-11-19
JP6150943B2 (en) 2017-06-21
CN106133744B (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN102156840B (en) Controller and managing device thereof
US20180152296A1 (en) Electronic data protection method and device and terminal device
TW200832427A (en) Virtual secure on-chip one time programming
JP2007286679A (en) Information processor with information dividing/recording function
CN102254124A (en) Information security protecting system and method of mobile terminal
JP5354001B2 (en) Information processing apparatus, information processing system, and program
CN104517061B (en) The method of the method and carry encrypted file system of encrypted file system
JP2004310727A (en) Method with functions of virtual space for concealing encrypted information
JP3735300B2 (en) Information recording / reproducing system capable of restricting access and access restriction method thereof
JP7074371B2 (en) Information management terminal device
CN100447765C (en) Mapping method for mobile memory device
US10754979B2 (en) Information management terminal device
CN106845261A (en) A kind of method and device of destruction SSD hard disc datas
CN106844005B (en) Data recovery method and system based on virtualization environment
CN106133744B (en) Control device
JP2008527518A (en) Portable data carrier with digital watermark function
CN107085900B (en) Data processing method, device, system and POS terminal
CN210691364U (en) Encrypted USB flash disk
US10162984B2 (en) Method of destroying file contents
JP2010191531A (en) Network attached storage apparatus, setting method therefor, and network attached storage setting system
JPH09282235A (en) Access control method
CN111199049A (en) File authority management method and device
JP2011108151A (en) Security adaptor for external storage
TW200411392A (en) Data protection method and system for storage unit
CN108197489A (en) A kind of processing method and processing unit for intelligent terminal secret file

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190219

Termination date: 20200514

CF01 Termination of patent right due to non-payment of annual fee