Device, method, and program
The field device architecture with separate processing units and prohibition mechanisms effectively manages periodic and non-periodic tasks, ensuring secure and efficient data processing in field devices by preventing interference and maintaining data integrity.
Patent Information
- Application Number
- JP2023046789
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2043-03-23
AI Technical Summary
Existing systems face challenges in efficiently managing periodic and non-periodic processing tasks without interference, particularly in ensuring the security and integrity of critical data processing in field devices.
A field device architecture that includes a first processing unit for periodic processing and a request receiving unit to execute non-periodic processing, with a prohibition mechanism to prevent interference by prohibiting execution requests during a defined period, separating secure and non-secure data areas, and utilizing separate storage devices for critical and non-critical data.
This approach ensures secure and uninterrupted periodic processing while allowing non-periodic tasks without disrupting the regular operations, enhancing data security and efficiency in field devices.
Smart Images

Figure 2024135890000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an apparatus, a method and a program. [Background technology]
[0002] Patent document 1 states, "The processes important to safety performed by the safety process 41 include, for example, processes such as acquiring the measurement results of the sensor unit 10, converting the measurement results of the sensor unit 10 into process values, and transmitting the process values." (paragraph 0024) [Prior art document] [Patent documents] [Patent Document 1] Patent No. 5862614 Summary of the Invention
[0003] In a first aspect of the present invention, there is provided an apparatus comprising a first processing unit which performs periodic processing within each cycle period, and a request receiving unit which, in response to receiving a request to execute non-periodic processing to be performed by the first processing unit, writes content corresponding to the execution request into a storage device and causes the first processing unit to execute the content.
[0004] The above device may further include a prohibition unit that, in response to the request receiving unit writing content corresponding to the execution request to the storage device, prohibits the first processing unit from executing a subsequent non-periodic processing corresponding to the execution request for a prohibition period of a reference length.
[0005] In the above device having a prohibition unit, the prohibition unit may prohibit the request reception unit from receiving the subsequent execution request for the prohibition period.
[0006] In the above device having a prohibition unit, the prohibition unit may prohibit the request acceptance unit from writing content corresponding to the subsequent execution request for the prohibition period.
[0007] In the above-mentioned device having a prohibition unit, the request receiving unit may write content corresponding to the execution request to the storage device and then notify the first processing unit, thereby causing the first processing unit to execute the non-periodic processing corresponding to the execution request, and the prohibition unit may prohibit the notification by the request receiving unit in response to the subsequent execution request for the prohibition period after writing the content corresponding to the execution request to the storage device.
[0008] In any of the above devices having an inhibition section, the inhibition period may be longer than a period of the cycle period.
[0009] In the device of the first aspect above, the first processing unit may execute the non-periodic processing in response to content corresponding to the execution request being written to the storage device and the periodic processing having been executed.
[0010] In any of the above devices, the sum of a periodic processing period during which one periodic process continues and a non-periodic processing period during which the non-periodic process continues may be shorter than the period of the cyclic period.
[0011] In any of the above devices, the first processing unit performs the periodic processing and the non-periodic processing on a secure area of the storage device, and the device may further include a second processing unit that performs processing on a non-secure area of the storage device and sends the execution request to the request receiving unit.
[0012] The above device may further include the storage device, which may include a first storage device having the secure area and a second storage device having the non-secure area.
[0013] In any of the above devices, the device may further include an acquisition unit that acquires measurement data, and the periodic processing may include a process of writing at least one of the measurement data acquired by the acquisition unit or a process value derived from the measurement data to the memory device.
[0014] In a second aspect of the present invention, there is provided a method comprising: a request receiving step of, in response to receiving a request to execute non-periodic processing to be performed by a first processing device which performs periodic processing within each cyclical period, writing contents corresponding to the execution request into the storage device and causing the first processing device to execute the contents.
[0015] In a third aspect of the present invention, there is provided a program that causes a computer to function as a first processing unit that performs periodic processing within a cycle period, and as a request receiving unit that, upon receiving a request to execute non-periodic processing to be performed by the first processing unit, writes content corresponding to the execution request into the storage device and causes the first processing unit to execute the content.
[0016] The above summary of the invention does not list all of the necessary features of the present invention. Also, subcombinations of these features may also be inventions. [Brief description of the drawings]
[0017] [Figure 1] 1 shows a field device 1 according to a first embodiment. [Diagram 2] 4 is a timing chart showing the relationship between periodic processing and non-periodic processing. [Diagram 3] The operation of the processing device 4 is shown. [Figure 4] 1 shows a field device 1A according to a second embodiment. [Diagram 5] 4 is a timing chart showing the relationship between periodic processing and non-periodic processing. [Figure 6] The operation of the processing device 4A is shown. [Figure 7] 22 illustrates an example computer 2200 in which aspects of the present invention may be embodied, in whole or in part. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] The present invention will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0019] 1. First embodiment (1.1. Field device 1) 1 shows a field device 1 according to the first embodiment. The field device 1 may be a device placed at a site where a process is executed, and may be capable of communicating with a controller (not shown) that controls the process. In the present embodiment, as an example, the field device 1 transmits a process value indicating a measurement result to the controller as an analog signal, and communicates with the controller by superimposing various digital signals on the process value. The field device 1 may include a sensor device 2, a communication device 3, and a processing device 4.
[0020] (1.1-1. Sensor device 2) The sensor device 2 measures values indicating physical quantities such as pressure, temperature, humidity, liquid level, pH, speed, or flow rate in a plant process. For example, the sensor device 2 may be a flowmeter that measures the flow rate of a fluid flowing through a pipe, or a pressure gauge that measures the pressure of the fluid. As an example, the sensor device 2 may detect a transmitted signal (ultrasonic signal that has transmitted through the fluid) when an ultrasonic signal is transmitted in a direction along the flow of the fluid, and a transmitted signal when an ultrasonic signal is transmitted in a direction against the flow of the fluid, and measure the flow rate of the fluid based on the detection results of these transmitted signals. The plant may include, for example, factory facilities, machine facilities, production facilities, power generation facilities, storage facilities, and facilities at wellheads for extracting oil, natural gas, and the like.
[0021] The sensor device 2 may perform measurements under the control of the processing device 4. The sensor device 2 may supply measurement data indicating the measurement results to the processing device 4. In the present embodiment, as an example, the sensor device 2 may sequentially supply the measurement data to the processing device 4.
[0022] (1.1-2. Communication device 3) The communication device 3 communicates with a controller (not shown) that controls the process. The communication device 3 is connected to a transmission line (for example, a transmission line used for transmitting a "4 to 20 mA" signal) laid at the plant site, and transmits analog signals of the above-mentioned process values to the controller under the control of the processing device 4, and communicates various digital signals with the controller. The communication device 3 may communicate using a communication protocol for the process industry, such as HART (registered trademark) or BRAIN. The communication device 3 may perform wired communication or wireless communication.
[0023] (1.1-3. Processing device 4) The processing device 4 is an example of a device, and includes an acquisition unit 40, a storage unit 41, a first processing unit 42, a second processing unit 43, a request receiving unit 44, and a prohibition unit 45.
[0024] (1.1-3.1. Acquisition part 40) The acquiring unit 40 acquires the measurement data. The acquiring unit 40 may acquire the measurement data from the sensor device 2 and may supply the acquired measurement data to the first processing unit 42. The acquiring unit 40 may supply the measurement data acquired from the sensor device 2 to the first processing unit 42 every time the acquiring unit 40 acquires the measurement data from the sensor device 2. Alternatively, the acquiring unit 40 may supply the measurement data acquired from the sensor device 2 to the first processing unit 42 every preset period (100 ms, for example). In this case, the acquiring unit 40 may supply the measurement data acquired from the sensor device 2 to the first processing unit 42 every period, may supply the measurement data acquired from the sensor device 2 within the period to the first processing unit 42 all at once, or may average the measurement data acquired from the sensor device 2 within the period and supply it to the first processing unit 42.
[0025] (1.1-3.2. Storage section 41) The storage unit 41 is an example of a storage device, and stores various data. The storage unit 41 may have a first storage device 411 and a second storage device 412. The first storage device 411 and the second storage device 412 may be separate storage devices, and each may be a volatile memory such as a RAM (Random Access Memory), or a non-volatile memory such as a flash ROM (Read Only Memory) or an EEPROM (Electrically Erasable and Programmable ROM).
[0026] (1.1-3.2(1).1st storage device 411) The first storage device 411 may have a secure area 413. The secure area 413 may be a safe area in which information, a system, a communication path, and the like are protected, and may be an area that cannot be directly accessed from the second processing unit 43. The secure area 413 may store safety-critical data among data used in the field device 1, and may have a secure data area 4130 and a buffer area 4131.
[0027] The secure data area 4130 may be an area accessible only to the first processing unit 42. Examples of data stored in the secure area 413 include measurement data (also referred to as raw data) acquired by the sensor device 2, process values derived from the measurement data, "range setting" data for setting the measurement range of the sensor device 2, "calibration" data for adjusting and calibrating the sensor device 2, and "sensor constant" data indicating characteristics specific to a sensor element provided in the sensor device 2. The secure data area 4130 may be write-protected to prevent writing, and writing may be enabled by performing a preset release process.
[0028] The buffer area 4131 may be an area accessible from the first processing unit 42 and the request receiving unit 44, and may store information to be exchanged between the request receiving unit 44 and the first processing unit 42. In the present embodiment, as an example, an access request for the first processing unit 42 to access data in the secure data area 4130 may be written from the request receiving unit 44 to the buffer area 4131. The access request may request the first processing unit 42 to execute non-periodic processing, which will be described later, and is also referred to as a request to execute non-periodic processing. The access request may be a write request for data or a read request. The write request may include data to be written and identification information of the write data. The read request may include identification information of the data to be read. The identification information of the data may indicate the type of data, and may also indicate the address of the data in the secure data area 4130. The buffer area 4131 may store data read by the first processing unit 42 in response to the read request.
[0029] (1.1-3.2(2).Second storage device 412) The second storage device 412 may have a non-secure area 414. Unlike the secure area 413, the non-secure area 414 may be an area in which information, systems, communication paths, etc. are not protected, and may store safety-uncritical data among the data used in the field device 1. The data that has little impact on safety may be data that is not related to the derivation of a process value, etc., and may be, for example, "communication setting" data indicating settings for communication with the controller, "display setting" data indicating display settings for a display device (not shown) provided in the field device 1, etc.
[0030] (1.1-3.3. First processing unit 42) The first processing unit 42 is an example of a first processing device, and performs periodic processing and non-periodic processing. The first processing unit 42 may perform periodic processing and non-periodic processing on the secure area 413 of the storage unit 41. The first processing unit 42 may perform periodic processing within each cycle period (also referred to as cycle period T30; see FIG. 2 described later), and may perform non-periodic processing non-periodically.
[0031] The cycle period T30 may be a period that is repeated periodically, and in this operation example, may be a period that is repeated continuously, that is, without any gap. The cycle period T30 may be equal to the cycle in which the acquisition unit 40 acquires the measurement data from the sensor device 2, and in this embodiment, may be 100 ms, for example.
[0032] The periodic processing may include a process of writing at least one of the measurement data acquired by the acquiring unit 40 and a process value derived from the measurement data to the storage unit 41. In the present embodiment, as an example, the periodic processing may include a process of deriving a process value from the measurement data acquired by the acquiring unit 40, and may include a process of writing both the measurement data and the process value to the storage unit 41. In the process of deriving the process value from the measurement data, the process value may be calculated from the value of the measurement data using "sensor constant" data in the secure data area, and as an example, the process value may be calculated by multiplying the value of the measurement data by the sensor constant.
[0033] The periodic processing may further include a process of supplying the process value to the communication device 3 and transmitting it to the controller as an analog signal. The periodic processing may further include a process of supplying the process value to a later-described communication processing unit 430 in the second processing unit 43 and transmitting it from the communication device 3 to the controller as a digital signal.
[0034] The non-periodic process may be a process executed in response to a request from an external controller (not shown). The non-periodic process may be a process of reading data in the secure data area 4130. The non-periodic process may be a process of writing data to the secure data area 4130, and may be, for example, a process of writing data other than the measurement data and the process value (in this embodiment, as an example, “range setting” data, “calibration” data, or “sensor constant” data) to the secure data area 4130 to change the original data. In this embodiment, as an example, the request from the controller may be supplied to the first processing unit 42 via the communication device 3, the second processing unit 43, the request receiving unit 44, and the buffer area 4131 of the storage unit 41.
[0035] The first processing unit 42 has a signal processing unit 420, an access receiving unit 421, a write processing unit 422, and a read processing unit 423. Note that the first processing unit 42 may be a CPU (Central Processing Unit) as an example, and each unit of the first processing unit 42 may be realized by, for example, a program stored in the storage unit 41 being read out and executed by the CPU.
[0036] (1.1-3.3(1). Signal processing unit 420) The signal processing unit 420 may mainly perform processing related to periodic processing. In this embodiment, as an example, the signal processing unit 420 may perform processing of acquiring measurement data from the acquiring unit 40, processing of converting the measurement data into a process value, processing of supplying a write instruction of the measurement data and the process value to the write processing unit 422 to write the data, processing of supplying the process value to a communication processing unit 430 described later in the second processing unit 43 to transmit the process value from the communication device 3 to the controller as a digital signal, and processing of supplying the process value to the communication device 3 to transmit the process value to the controller as an analog signal. The write instruction supplied to the write processing unit 422 may include data to be written (in this embodiment, as an example, data important to safety) and identification information of the data. The signal processing unit 420 may further perform processing of supplying a read instruction to the read processing unit 423 to read the data. The read instruction supplied to the read processing unit 423 may include identification information of the data to be read.
[0037] (1.1-3.3(2). Access reception unit 421) The access receiving unit 421 reads out the execution request for the above-mentioned non-periodic processing from the buffer area 4131, and supplies an instruction corresponding to the execution request to the write processing unit 422 or the read processing unit 423.
[0038] The access receiving unit 421 may supply a read instruction to the read processing unit 423 to read data in the secure data area 4130 in response to the execution request read from the buffer area 4131 being a read request. Since the read request read from the buffer area 4131 includes identification information of the data to be read, the access receiving unit 421 may include an address corresponding to the identification information in the read instruction to the read processing unit 423. The access receiving unit 421 may have a table (also referred to as an address table) in which an address in the secure data area 4130 is associated with each piece of data identification information, and may specify the address by referring to the address table. The access receiving unit 421 may supply the data supplied from the read processing unit 423 in response to supplying the read instruction to the read processing unit 423 to the communication processing unit 430.
[0039] The access receiving unit 421 may supply a write instruction to the write processing unit 422 to write data into the secure data area 4130 in response to the execution request read from the buffer area 4131 being a write request. Since the write request read from the buffer area 4131 includes the data to be written and identification information of the data, the access receiving unit 421 may include the data and an address corresponding to the identification information in the write instruction supplied to the write processing unit 422. The access receiving unit 421 may specify the address of the write position by referring to the address table described above. The processing by the access receiving unit 421 may be non-periodic processing.
[0040] (1.1-3.3(3). Write processing unit 422) The write processing unit 422 writes data included in a write instruction to the secure data area 4130 in response to a write instruction supplied from the signal processing unit 420 or the access receiving unit 421. In response to a write instruction supplied from the access receiving unit 421, the write processing unit 422 may write data included in the write instruction to the secure data area 4130 to update existing data. The write processing unit 422 may write data in response to a write instruction supplied from the access receiving unit 421 during an idle time when no processing is being performed by the signal processing unit 420. Of the processing performed by the write processing unit 422, processing in response to a write instruction from the signal processing unit 420 may be periodic processing, and processing in response to a write instruction supplied from the access receiving unit 421 may be non-periodic processing.
[0041] (1.1-3.3(4). Readout processing unit 423) The read processing unit 423 reads data from the secure data area 4130 in response to a read instruction supplied from the signal processing unit 420 or the access receiving unit 421. The read processing unit 423 may supply the data read in response to the read instruction from the signal processing unit 420 to the signal processing unit 420, and may supply the data read in response to the read instruction from the access receiving unit 421 to the access receiving unit 421. Of the processes performed by the read processing unit 423, the process in response to the read instruction from the signal processing unit 420 may be periodic processing, and the process in response to the read instruction from the access receiving unit 421 may be non-periodic processing.
[0042] (1.1-3.4. Second processing section 43) The second processing unit 43 performs processing on the non-secure area 414 of the storage unit 41, and transmits a request to execute non-periodic processing to the request receiving unit 44. The second processing unit 43 has a communication processing unit 430, a write processing unit 431, a read processing unit 432, and an access request unit 433. Note that the second processing unit 43 may be a CPU (Central Processing Unit) as an example, and each unit of the second processing unit 43 may be realized by, for example, a program stored in the storage unit 41 being read out and executed by the CPU.
[0043] (1.1-3.4(1). Communication processing unit 430) The communication processing unit 430 performs processing related to digital communication performed between the communication device 3 and a controller (not shown). In response to a process value being supplied from the signal processing unit 420 of the first processing unit 42, the communication processing unit 430 may cause the communication device 3 to transmit the process value as a digital signal to the controller.
[0044] In addition to or instead of this, the communication processing unit 430 may perform processing in response to various requests from the controller to the processing device 4 via the communication device 3. In the present embodiment, as an example, the communication processing unit 430 may perform either processing related to reading data from the storage unit 41 or processing related to writing data to the storage unit 41.
[0045] The communication processing unit 430 may identify the type of data to be written in response to receiving a data write request from the communication device 3. In the present embodiment, as an example, the write request may include the data to be written and identification information indicating the type of the data. The type of data to be written may be any one of "range setting" data, "calibration" data, "sensor constant" data, "communication setting" data, and "display setting" data.
[0046] The communication processing unit 430 may identify whether the data to be written is data important to safety or data with little impact on safety. As an example, the communication processing unit 430 may have a table (also referred to as a type table) in which, for each type of data, data of the type is associated with whether the data is important to safety or data with little impact on safety, and may identify whether the data to be written is data important to safety or data with little impact on safety by referring to this type table.
[0047] In response to identifying that the data to be written is data important to safety (in this embodiment, as an example, any one of "range setting" data, "calibration" data, and "sensor constant" data), the communication processing unit 430 may supply a write request for the data to the access request unit 433. The write request to the access request unit 433 may include the data to be written and identification information of the data.
[0048] The communication processing unit 430 may supply a write instruction for the data to be written to the write processing unit 431 in response to identifying the data to be written as data with little impact on security (in this embodiment, either "communication setting" data or "display setting" data as an example). The write instruction to the write processing unit 431 may include the data to be written and an address of a write position corresponding to identification information of the data. The communication processing unit 430 may have a table (also referred to as an address table) that associates an address of the non-secure area 414 with each piece of data identification information, and may identify the address of the write position by referring to the address table.
[0049] The communication processing unit 430 may specify the type of data to be read in response to receiving a read request from the communication device 3. In the present embodiment, as an example, the read request may include the type of data to be read.
[0050] The communication processing unit 430 may identify whether the data to be read is data that is important to security or data that has little impact on security. The communication processing unit 430 may identify whether the data to be read is data that is important to security or data that has little impact on security by referring to the above-mentioned type table.
[0051] In response to identifying the data to be read as data important to security, the communication processing unit 430 may supply a read request for the data to the access request unit 433. The read request to the access request unit 433 may include identification information of the data to be read.
[0052] In response to identifying that the data to be read is data that has little impact on security, the communication processing unit 430 may supply a read instruction for the data to the read processing unit 432. The read instruction to the read processing unit 432 may include an address corresponding to the identification information of the data to be read. The communication processing unit 430 may identify the address of the data to be read by referring to the address table described above.
[0053] In response to data to be read being supplied from the access receiving unit 321 of the first processing unit 42 or the read processing unit 432, the communication processing unit 430 may supply the data to the communication device 3 and transmit the data to the controller as a digital signal.
[0054] The communication processing unit 430 may check whether the content received via the communication device 3 is valid. For example, the communication processing unit 430 may check whether the sender of the received request is the controller. In addition to this, the communication processing unit 430 may check whether the data to be written is valid, for example, based on the type of the data to be written and the content of the data to be written. As an example, the communication processing unit 430 may check whether the value of the data falls within the settable range of the sensor device 2 in response to the data to be written being "range setting" data.
[0055] (1.1-3.4(2). Write processing unit 431) In response to a write instruction supplied from communication processing unit 430, write processing unit 431 writes data included in the write instruction to non-secure area 414. The data written by write processing unit 431 may be, for example, “communication setting” data or “display setting” data.
[0056] (1.1-3.4(3). Readout processing unit 432) The read processing unit 432 reads data from the non-secure area 414 in response to a read instruction supplied from the communication processing unit 430. The read processing unit 432 may supply the read data to the communication processing unit 430.
[0057] (1.1-3.4(4). Access request unit 433) The access request unit 433 issues a request for execution of non-periodic processing to be performed by the first processing unit 42. The access request unit 433 may supply the write request and read request supplied from the communication processing unit 430 to the request receiving unit 44 as requests for execution of non-periodic processing. The communication between the access request unit 433 and the request receiving unit 44 may be serial communication, for example, but may be another communication method.
[0058] (1.1-3.5. Request reception unit 44) In response to receiving an execution request for non-periodic processing, the request receiving unit 44 writes content corresponding to the execution request into the storage unit 41 and causes the first processing unit 42 to execute the request. In the present embodiment, as an example, in response to receiving an execution request from the access request unit 433 of the second processing unit 43, the request receiving unit 44 may write content corresponding to the execution request into the buffer area 4131 of the storage unit 41. In response to receiving a write request, the request receiving unit 44 may write content of the write request (in the present embodiment, as an example, data to be written and identification information of the data) into the buffer area 4131. In response to receiving a read request, the request receiving unit 44 may write content of the read request (in the present embodiment, as an example, identification information of the data to be read) into the buffer area 4131.
[0059] The request receiving unit 44 may, in response to writing the contents of one or more execution requests (one execution request in this embodiment as an example) for the non-periodic processing into the buffer area 4131, supply a notification to that effect (also referred to as a write completion notification) to the prohibition unit 45. In addition to this, the request receiving unit 44 may supply the write completion notification to the access receiving unit 421 of the first processing unit 42. The request receiving unit 44 may be realized by, as an example, a DMA (Direct Memory Access) controller.
[0060] (1.1-3.6. Prohibited part 45) In response to the request receiving unit 44 writing the content corresponding to the execution request to the memory unit 41, the prohibition unit 45 prohibits the first processing unit 42 from executing the non-periodic processing corresponding to the subsequent execution request for a prohibition period of a reference length (also referred to as prohibition period T33; see FIG. 2 described later). The prohibition unit 45 may prohibit the request receiving unit 44 from receiving the subsequent execution request for only the prohibition period T33. The prohibition unit 45 may be realized by a DMA controller similar to the request receiving unit 44, as an example.
[0061] According to the above-described processing device 4, the first processing unit 42 performs periodic processing within each cycle period T30, and when an execution request for non-periodic processing is received by the request receiving unit 44, content according to the execution request is written to the storage unit 41 and executed by the first processing unit 42. Therefore, since the first processing unit 42 can execute periodic processing and non-periodic processing, unlike the case where non-periodic processing is executed by the second processing unit 43, the security of data subject to non-periodic processing can be improved.
[0062] Furthermore, in response to the request receiving unit 44 writing the content corresponding to the execution request for non-periodic processing to the storage unit 41, execution of non-periodic processing by the first processing unit 42 in response to a subsequent execution request is prohibited for a prohibited period T33. This makes it possible to reliably cause the first processing unit 42 to execute non-periodic processing in response to an execution request, while preventing the execution of periodic processing within each cycle period T30 from being hindered by non-periodic processing in response to a subsequent execution request.
[0063] Furthermore, since the request receiving unit 44 is prohibited from receiving a subsequent execution request, it is possible to reliably prevent the execution of a periodic process from being hindered by a non-periodic process in response to a subsequent execution request.
[0064] The periodic processing also includes a process of writing at least one of the measurement data acquired by the acquisition unit 40 and the process value derived from the measurement data to the storage unit 41. This makes it possible to prevent non-periodic processing from interfering with periodic processing such as writing of measurement data.
[0065] Furthermore, the first processing unit 42 performs periodic processing and non-periodic processing on the secure area 413 of the storage unit 41, and the second processing unit 43 performs processing on the non-secure area 414 of the storage unit 41 while sending an execution request for non-periodic processing to the request receiving unit 44. Therefore, by having the first processing unit 42 perform non-periodic processing on the secure area 413 in response to an execution request from the second processing unit 43, it is possible to keep the secure area 413 secure. Also, unlike the processing on the secure area 413, the processing on the non-secure area 414 can be quickly performed by the second processing unit 43.
[0066] Furthermore, since the first storage device 411 is provided with a secure area 413 and the second storage device 412 is provided with a non-secure area 414, the secure area 413 and the non-secure area 414 can be physically separated, thereby improving the security of the secure area 413.
[0067] (1.2. Timing chart) 2 is a timing chart showing the relationship between periodic processing and non-periodic processing, in which the horizontal axis represents time.
[0068] When the cycle period T30 starts from time t4, the first processing unit 42 executes periodic processing during a periodic processing period T31 within the cycle period T30. The first processing unit 42 may execute periodic processing throughout the periodic processing period T31. The length of each periodic processing period T31 may be any length as long as it is shorter than the cycle period T30, and may be the same for each cycle period T30. The periodic processing may start at any time as long as it falls within the cycle period T30, and in this operation example, it may start at time t4, as an example.
[0069] Similarly, when the next periodic period T30 starts from time t5, the first processing unit 42 executes periodic processing during a periodic processing period T31 (the period from time t5 to time t6 in this operation example, as an example) within the periodic period T30. On the other hand, when the request receiving unit 44 receives an execution request for non-periodic processing from the access request unit 433 of the second processing unit 43 due to a request from the controller to write or read data important to safety, the request receiving unit 44 writes the content corresponding to the execution request into the buffer area 4131 of the storage unit 41. As an example, the request receiving unit 44 may transfer the execution request directly to the buffer area 4131. The start timing of the transfer may be before or after time t6 at which the periodic processing period T31 ends.
[0070] When the transfer of the execution request for the non-periodic process is completed at time t7, the prohibition unit 33 prohibits the first processing unit from executing the non-periodic process in response to the subsequent execution request for a prohibition period T33 of a reference length. In this operation example, as an example, the prohibition unit 45 may prohibit the request receiving unit 44 from receiving a subsequent execution request for only the prohibition period T33. The prohibition period T33 may be longer than the cycle period T30. In this operation example, as an example, the prohibition period T33 is the period from time t7 to time t9, and the end of the prohibition period T33 is time t9 when the next cycle period T30 starts, but it may be before or after time t9.
[0071] On the other hand, when the transfer of the execution request for the non-periodic processing is completed at time t7, the access receiving unit 421 of the first processing unit 42 reads the execution request for the non-periodic processing from the buffer area and executes the non-periodic processing. The access receiving unit 421 may cause the write processing unit 422 to write or the read processing unit 423 to read, depending on the content of the execution request.
[0072] The access receiving unit 421 may detect that writing of the execution request for non-periodic processing has been completed by receiving a write completion notification indicating that writing of the execution request for non-periodic processing has been completed from the request receiving unit 44. Alternatively, the access receiving unit 421 may detect that writing of the execution request for non-periodic processing has been completed by monitoring the buffer area 4131. The access receiving unit 421 may execute the non-periodic processing in response to detecting that writing of the execution request for non-periodic processing has been completed.
[0073] After the first processing unit 42 has performed the periodic processing, the first processing unit 42 may finish performing the non-periodic processing before performing the next periodic processing. In this operation example, the non-periodic processing period T32 during which the non-periodic processing continues may be, for example, the period from time t7 to time t8 at which the next cycle period T30 starts, but the end of the non-periodic processing period T32 may be before time t8 or after time t8.
[0074] The length of the non-periodic processing period T32 may vary depending on the content of the non-periodic processing. However, the length of the non-periodic processing period T32 during which the non-periodic processing continues may be shorter than the length obtained by subtracting the regular processing period T31 from the cycle period T30. In other words, the sum of the regular processing period T31 during which one regular processing continues and the non-periodic processing period T32 during which the non-periodic processing continues may be shorter than the cycle period T30. In order to limit the length of the non-periodic processing period T32, the number of non-periodic processes executed within one non-periodic processing period T32 may be made less than a reference number, or the amount of data of a request to execute a non-periodic process sent from the access request unit 433 to the request receiving unit 44 may be made less than a reference number (255 bytes, for example).
[0075] When the next cycle period T30 starts from time t8, the first processing unit 42 executes periodic processing during a periodic processing period T31 within the cycle period T30. In this operation example, as an example, non-periodic processing ends at time t8, and therefore periodic processing starts at time t8, but if the non-periodic processing ends after time t8, periodic processing may start after the end of the non-periodic processing.
[0076] Then, when the next cyclic period T30 (in this operation example, the period from time t9 to time t10 as an example) starts at time t9, the first processing unit 42 executes periodic processing in periodic processing period T31 within that cyclic period T30. Meanwhile, the prohibition period T33 ends at time t9, and the prohibition on the request receiving unit 44 of receiving subsequent execution requests is lifted. This enables the request receiving unit 44 to receive an execution request for non-periodic processing from the access request unit 433 of the second processing unit 43.
[0077] In this operation example, the first processing unit 42 may be in a standby state when neither periodic processing nor non-periodic processing is being performed, but may also perform diagnostic processing to diagnose whether any of the data in the first storage device 413 that should be maintained at a preset content has changed.
[0078] According to the above operation, since the prohibition period T33 during which the execution of non-periodic processing is prohibited is longer than the cycle period T30, it is possible to prevent one non-periodic processing executed by the first processing unit 42 and a subsequent non-periodic processing executed by the first processing unit 42 after the prohibition period T33 from being executed within the same cycle period T30. Therefore, even if requests to execute non-periodic processing are made frequently, it is possible to reliably prevent the execution of regular processing from being hindered by non-periodic processing.
[0079] In addition, the sum of the periodic processing period T31 during which periodic processing continues and the non-periodic processing period T32 during which non-periodic processing continues is shorter than the cycle period T30, so the period from start to finish of the periodic processing and the period from start to finish of the non-periodic processing fall within the cycle period T30. Therefore, the periodic processing and the non-periodic processing can be separated in time and performed at different times. This makes it possible to prevent the non-periodic processing from interfering with the execution of the periodic processing.
[0080] (1.3.Operation) Fig. 3 shows the operation of the processing device 4. The processing device 4 may perform processing in response to a request from the controller through the processing of steps S11 to S67. Note that the first processing unit 42 may perform periodic processing within each cycle period T30 in addition to the operation shown in Fig. 3.
[0081] In step S11, the communication processing unit 430 of the second processing unit 43 receives a request from the controller via the communication device 3. In the present embodiment, as an example, the request from the controller may be either a write request to the storage unit 41 or a read request from the storage unit 41.
[0082] In step S13, the communication processing unit 430 checks whether the received content is valid. For example, the communication processing unit 430 may check whether the sender of the received request is the controller.
[0083] In step S15, the communication processing unit 430 judges whether the received content is valid or not. If it is judged that the received content is not valid (step S15; No), the operation may end. If it is judged that the received content is valid (step S15; Yes), the process may proceed to step S17.
[0084] In step S17, the communication processing unit 430 determines whether the request content is related to data that is important to security or data that has little impact on security. If it is determined that the request content is related to data that is important to security (step S17; secure), the process may proceed to step S19. If it is determined that the request content is related to data that has little impact on security (step S17; non-secure), the process may proceed to step S61.
[0085] In step S19, the access request unit 433 of the second processing unit 43 makes a request to execute non-periodic processing. The access request unit 433 may supply the write request and read request supplied from the communication processing unit 430 to the request receiving unit 44 as requests to execute non-periodic processing. The access request unit 433 may supply each communication frame of the execution request with a sequence number attached to it.
[0086] In step S21, the request receiving unit 44 determines whether the current time is within the prohibited period T33. If it is determined that the current time is within the prohibited period T33 (step S21; Yes), the operation may end. If it is determined that the current time is not within the prohibited period T33 (step S21; No), the process may proceed to step S23.
[0087] In step S23, the request receiving unit 44 writes the contents according to the execution request into the buffer area 4131 of the storage unit 41. This causes the first processing unit 42 to execute non-periodic processing in the processes of steps S41 to S49 described below. The request receiving unit 44 may diagnose an abnormality in the second processing unit 43 by using a sequence number attached to each communication frame of the execution request received from the access request unit 433 of the second processing unit 43. For example, the request receiving unit 44 may determine that an abnormality has occurred in the second processing unit 43 in response to occurrence of duplication, omission, repetition, or the like in the sequence number. In response to determining that an abnormality has occurred in the second processing unit 43, the request receiving unit 44 may cut off communication with the access request unit 433 to protect the first processing unit 42.
[0088] When writing of the content according to the execution request is completed, the request receiving unit 44 transmits a writing completion notification to the prohibition unit 45 and the first processing unit 42 in step S25.
[0089] When the write completion notification is transmitted from the request receiving unit 44, the prohibition unit 45 starts a prohibition period T33 in step S31. The prohibition unit 45 may prohibit the request receiving unit 44 from receiving a subsequent execution request during the prohibition period T33.
[0090] In step S33, the prohibition unit 45 determines whether or not a reference length of time has elapsed since the start of the prohibition period T33 in step S31. If it is determined that the reference length of time has not elapsed (step S33; No), the process may proceed to step S33. If it is determined that the reference length of time has elapsed (step S33; Yes), the process may proceed to step S35.
[0091] In step S35, the prohibition unit 45 ends the prohibition period T33. The prohibition unit 45 may release the prohibition of receiving a subsequent execution request by the request receiving unit 44. The process of step S35 may be performed after step S49 described later. After the process of step S35 ends, the prohibition unit 45 may enter a standby state until it receives a write completion notification from the request receiving unit 44.
[0092] On the other hand, when a write completion notification is sent from the request receiving unit 44 by the process of step S25, the access receiving unit 421 of the first processing unit 42 reads out the execution request for the non-periodic process written in the buffer area 4131 in step S41.
[0093] In step S43, the access receiving unit 421 judges whether the execution request read from the buffer area 4131 is a read request or a write request. If it is judged that the execution request is a write request (step S43; W), the process may proceed to step S45. If it is judged that the execution request is a read request (step S43; R), the process may proceed to step S47.
[0094] In step S45, the write processing unit 422 of the first processing unit 42 writes the data included in the write request to the address of the secure data area 4130 included in the write request. The write processing unit 422 may perform a process to remove write protection from the secure data area 4130 before writing. When the process of step S45 ends, the processing device 4 may end the operation in response to the request from the controller.
[0095] In step S47, the read processing unit 423 of the first processing unit 42 reads data from the address of the secure data area 4130 included in the read request.
[0096] In step S49, the access receiving unit 421 transmits the data read by the read processing unit 423 in step S47 to the communication processing unit 430 of the second processing unit 43.
[0097] In step S55, the communication processing unit 430 of the second processing unit 43 supplies the data read in response to the read request to the communication device 3 and transmits it as a digital signal to the controller. This causes the data read in response to the read request to be returned to the controller. After the process of step S55 is completed, the processing device 4 may end the operation in response to the request from the controller.
[0098] On the other hand, in step S61, the communication processing unit 430 of the second processing unit 43 determines whether the request from the controller is a read request or a write request. If it is determined that the request from the controller is a write request (step S61; W), the process may proceed to step S63. If it is determined that the request from the controller is a read request (step S61; R), the process may proceed to step S65.
[0099] In step S63, the write processing unit 431 of the second processing unit 43 writes the data included in the write request to the address of the non-secure area 414 included in the write request. When the process of step S63 ends, the processing device 4 may end the operation in response to the request from the controller.
[0100] In step S65, read processing unit 432 of second processing unit 43 reads data at the address in non-secure area 414 included in the read request.
[0101] In step S67, the communication processing unit 430 of the second processing unit 43 supplies the data read in response to the read request to the communication device 3 and causes it to transmit the data as a digital signal to the controller. As a result, the data read in response to the read request is returned to the controller. After the process of step S67 is completed, the processing device 4 may end the operation in response to the request from the controller.
[0102] (1.4. Modifications of the First Embodiment) In the above first embodiment, the processing device 4 has been described as having the prohibition unit 45, but may not have the prohibition unit 45. In this case, when a request to execute non-periodic processing is received by the request receiving unit 44, content corresponding to the execution request may be written to the storage unit 41 and executed by the first processing unit 42.
[0103] In addition, the prohibition unit 45 has been described as prohibiting the request reception unit 44 from receiving a subsequent execution request for the prohibition period T33, thereby prohibiting the first processing unit 42 from executing the non-periodic processing in response to the subsequent execution request. However, the prohibition unit 45 may prohibit the request reception unit 44 from writing the content in response to the subsequent execution request to the buffer area 4131 for the prohibition period T33. In the case where the request reception unit 44 causes the first processing unit 42 to execute the non-periodic processing by notifying the first processing unit 42 of the completion of writing, the prohibition unit 45 may prohibit the request reception unit 44 from notifying the completion of writing in response to the subsequent execution request for the prohibition period T33 after writing the content in response to the execution request of the non-periodic processing to the buffer area 4131. The prohibition unit 45 may prohibit the first processing unit 42 from executing a new non-periodic processing. In this case, the prohibition unit 45 may be realized by having the CPU of the first processing unit 42 read and execute a program stored in the storage unit 41.
[0104] 2. Second Embodiment (2.1. Field device 1A) 4 shows a field device 1A according to the second embodiment. The field device 1A includes a processing device 4A, and the processing device 4A includes a first processing unit 42A. In the field device 1A according to the present embodiment, components that are substantially the same as those shown in FIG. 1 are designated by the same reference numerals, and description thereof will be omitted.
[0105] The first processing unit 42A differs from the first processing unit 42 in the above embodiment in that the content corresponding to the execution request of the non-periodic processing is written to the storage unit 41, and the first processing unit 42A executes the non-periodic processing in response to execution of the periodic processing. The first processing unit 42A may include an access receiving unit 421A.
[0106] The access receiving unit 421A may read out the execution request for non-periodic processing written in the buffer area 4131 by the request receiving unit 44 after the execution of the periodic processing. As a result, the non-periodic processing is executed after the execution of the periodic processing. The access receiving unit 421A may supply an instruction corresponding to the read execution request to the write processing unit 422 or the read processing unit 423 in the same manner as the access receiving unit 421 in the above-mentioned embodiment.
[0107] According to the above-described processing device 4A, the contents corresponding to the execution request are written to the memory unit 41, and non-periodic processing is executed in response to execution of regular processing, thereby making it possible to prevent the execution of non-periodic processing from interfering with the execution of regular processing within each cycle period T30.
[0108] (2.2. Timing chart) 5 is a timing chart showing the relationship between periodic processing and non-periodic processing, in which the horizontal axis represents time.
[0109] When the cycle period T30 starts from time t5, the first processing unit 42A executes the periodic processing during a periodic processing period T31 (the period from time t5 to time t6 in this operation example, as an example) within the cycle period T30. On the other hand, when the request receiving unit 44 receives an execution request for non-periodic processing from the access request unit 433 of the second processing unit 43 due to a request from the controller to write or read data important to safety, the request receiving unit 44 writes the content corresponding to the execution request into the buffer area 4131 of the storage unit 41. As an example, the request receiving unit 44 may transfer the execution request directly to the buffer area 4131. The start timing of the transfer may be before or after time t6 at which the cycle period T31 ends.
[0110] When the transfer of the request to execute the non-periodic processing is completed at time t7 and the next periodic period T30 starts at time t8, the first processing unit 42A executes the periodic processing during periodic processing period T31 within that periodic period T30 (in this operation example, as an example, the period from time t8 to time t81).
[0111] When the periodic processing ends at time t81, the access receiving unit 421A of the first processing unit 42A reads the execution request for the non-periodic processing from the buffer area and executes the non-periodic processing. The access receiving unit 421A may cause the write processing unit 422 to write or the read processing unit 423 to read, depending on the content of the execution request.
[0112] The access receiving unit 421A may detect that writing of the execution request for non-periodic processing has been completed by receiving a write completion notification indicating that writing of the execution request for non-periodic processing has been completed from the request receiving unit 44. Alternatively, the access receiving unit 421A may detect that writing of the execution request for non-periodic processing has been completed by monitoring the buffer area 4131. The access receiving unit 421A may execute the non-periodic processing in response to detecting that writing of the execution request for non-periodic processing has been completed and that periodic processing has been completed.
[0113] In this operation example, the non-periodic processing period T32 during which the non-periodic processing continues may be, as an example, a period from time t81 to time t82. Time t82 may be before or after time t9 at which the next cyclic period T30 starts. The length of the non-periodic processing period T32 may vary depending on the content of the non-periodic processing. However, the length of the non-periodic processing period T32 during which the non-periodic processing continues may be shorter than the length of the cyclic period T30 minus the regular processing period T31. In other words, the sum of the regular processing period T31 during which one regular processing continues and the non-periodic processing period T32 during which the non-periodic processing continues may be shorter than the cyclic period T30.
[0114] Then, when the next cycle period T30 (the period from time t9 to time t10 in this operation example) starts at time t9, the first processing unit 42A executes periodic processing in a periodic processing period T31 within the cycle period T30.
[0115] (2.3. Operation) 6 shows the operation of the processing device 4A. The processing device 4A may perform processing in response to a request from the controller through the processes from step S11 to step S77.
[0116] In this embodiment, in step S19, in response to a request for execution of non-periodic processing being made from the access request unit 433 of the second processing unit 43 to the request receiving unit 44, the request receiving unit 44 writes the content corresponding to the execution request to the buffer area 4131 of the memory unit 41 in step S71.
[0117] When writing of the content according to the execution request is completed, in step S73, the request receiving unit 44 transmits a writing completion notification to the first processing unit 42A.
[0118] On the other hand, in step S75, the signal processing unit 420, the write processing unit 422, and the read processing unit 423 of the first processing unit 42A perform regular processing within the cycle period T30. The processing of step S75 may be performed before the processing of step S73.
[0119] In step S77, the access receiving unit 421A of the first processing unit 42A judges whether or not a write completion notice has been received from the request receiving unit 44, that is, whether or not the contents of the execution request for the non-periodic processing have been written to the buffer area 4131. If it is judged that the write completion notice has not been received (step S77; No), the process may proceed to step S75. If it is judged that the write completion notice has been received (step S77; Yes), the process may proceed to the above-mentioned step S41. As a result, the contents according to the execution request for the non-periodic processing are written to the buffer area 4131, and the non-periodic processing is executed by the first processing unit 42A in response to the execution of the periodic processing. The non-periodic processing may be executed immediately after the periodic processing, or may be executed without any time gap after the end of the periodic processing.
[0120] (3. Modifications) In the above first and second embodiments, the processing device 4, 4A has been described as having the acquisition unit 40, the storage unit 41, and the second processing unit 43, but any of these may not be included. For example, when the processing device 4, 4A does not have the acquisition unit 40, the measurement data by the sensor device 2 may be stored in advance in the storage unit 41. When the processing device 4, 4A does not have the storage unit 41, the first processing unit 42, 42A may perform periodic processing and non-periodic processing on a storage device externally connected to the processing device 4, 4A.
[0121] Further, the processing devices 4, 4A have been described as having the acquisition unit 40 that acquires measurement data from the sensor device 2, but the sensor device 2 itself may be included as the acquisition unit 40.
[0122] Various embodiments of the present invention may also be described with reference to flow charts and block diagrams, where the blocks may represent (1) stages of a process in which operations are performed or (2) sections of an apparatus responsible for performing the operations. Particular stages and sections may be implemented by dedicated circuitry, programmable circuitry provided with computer readable instructions stored on a computer readable medium, and / or a processor provided with computer readable instructions stored on a computer readable medium. Dedicated circuitry may include digital and / or analog hardware circuitry and may include integrated circuits (ICs) and / or discrete circuits. Programmable circuitry may include reconfigurable hardware circuitry including logical AND, logical OR, logical XOR, logical NAND, logical NOR, and other logical operations, memory elements such as flip-flops, registers, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), and the like.
[0123] A computer-readable medium may include any tangible device capable of storing instructions that are executed by a suitable device, such that the computer-readable medium having instructions stored thereon comprises an article of manufacture that includes instructions that can be executed to create means for performing the operations specified in the flowcharts or block diagrams. Examples of computer-readable media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer-readable media may include floppy disks, diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), electrically erasable programmable read-only memories (EEPROMs), static random access memories (SRAMs), compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), Blu-ray (RTM) disks, memory sticks, integrated circuit cards, and the like.
[0124] The computer readable instructions may include either assembler instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk®, JAVA®, C++, etc., and conventional procedural programming languages such as the “C” programming language or similar programming languages.
[0125] Computer readable instructions may be provided to a processor or programmable circuitry of a general purpose computer, special purpose computer, or other programmable data processing apparatus, either locally or over a local area network (LAN), a wide area network (WAN), such as the Internet, etc., to execute the computer readable instructions to create means for performing the operations specified in the flowcharts or block diagrams. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, etc.
[0126] 7 illustrates an example of a computer 2200 in which aspects of the present invention may be embodied in whole or in part. Programs installed on the computer 2200 may cause the computer 2200 to function as or perform operations associated with an apparatus or one or more sections of the apparatus according to an embodiment of the present invention, and / or to perform a process or steps of a process according to an embodiment of the present invention. Such programs may be executed by the CPU 2212 to cause the computer 2200 to perform specific operations associated with some or all of the blocks of the flowcharts and block diagrams described herein.
[0127] The computer 2200 according to this embodiment includes a CPU 2212, a RAM 2214, a graphic controller 2216, and a display device 2218, which are connected to each other by a host controller 2210. The computer 2200 also includes input / output units such as a communication interface 2222, a hard disk drive 2224, a DVD-ROM drive 2226, and an IC card drive, which are connected to the host controller 2210 via an input / output controller 2220. The computer also includes legacy input / output units such as a ROM 2230 and a keyboard 2242, which are connected to the input / output controller 2220 via an input / output chip 2240.
[0128] The CPU 2212 operates according to a program stored in the ROM 2230 and the RAM 2214, thereby controlling each unit. The graphic controller 2216 retrieves image data generated by the CPU 2212 into a frame buffer or the like provided in the RAM 2214 or into the graphic controller 2216 itself, and causes the image data to be displayed on the display device 2218.
[0129] The communication interface 2222 communicates with other electronic devices via a network. The hard disk drive 2224 stores programs and data used by the CPU 2212 in the computer 2200. The DVD-ROM drive 2226 reads programs or data from the DVD-ROM 2201 and provides the programs or data to the hard disk drive 2224 via the RAM 2214. The IC card drive reads programs and data from an IC card and / or writes programs and data to an IC card.
[0130] The ROM 2230 stores therein a boot program or the like executed by the computer 2200 upon activation, and / or a program that depends on the hardware of the computer 2200. The input / output chip 2240 may also connect various input / output units to the input / output controller 2220 via a parallel port, a serial port, a keyboard port, a mouse port, and the like.
[0131] The programs are provided by a computer-readable medium such as a DVD-ROM 2201 or an IC card. The programs are read from the computer-readable medium, installed in the hard disk drive 2224, the RAM 2214, or the ROM 2230, which are also examples of computer-readable media, and executed by the CPU 2212. Information processing described in these programs is read by the computer 2200, and brings about cooperation between the programs and the various types of hardware resources described above. An apparatus or method may be constructed by realizing information manipulation or processing according to the use of the computer 2200.
[0132] For example, when communication is performed between the computer 2200 and an external device, the CPU 2212 may execute a communication program loaded in the RAM 2214 and instruct the communication interface 2222 to perform communication processing based on the processing described in the communication program. Under the control of the CPU 2212, the communication interface 2222 reads transmission data stored in a transmission buffer processing area provided in the RAM 2214, the hard disk drive 2224, the DVD-ROM 2201, or a recording medium such as an IC card, and transmits the read transmission data to the network, or writes reception data received from the network to a reception buffer processing area or the like provided on the recording medium.
[0133] Furthermore, the CPU 2212 may cause all or a necessary portion of a file or database stored in an external recording medium such as the hard disk drive 2224, the DVD-ROM drive 2226 (DVD-ROM 2201), an IC card, etc. to be read into the RAM 2214, and perform various types of processing on the data on the RAM 2214. The CPU 2212 then writes back the processed data to the external recording medium.
[0134] Various types of information, such as various types of programs, data, tables, and databases, may be stored in the recording medium and undergo information processing. The CPU 2212 may perform various types of processing on the data read from the RAM 2214, including various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, information search / replacement, etc., as described throughout this disclosure and specified by the instruction sequence of the program, and write back the results to the RAM 2214. The CPU 2212 may also search for information in a file, database, etc. in the recording medium. For example, when a plurality of entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored in the recording medium, the CPU 2212 may search for an entry that matches a condition, in which an attribute value of the first attribute is specified, from among the plurality of entries, read the attribute value of the second attribute stored in the entry, and thereby obtain the attribute value of the second attribute associated with the first attribute that satisfies a predetermined condition.
[0135] The above-described programs or software modules may be stored in a computer-readable medium on the computer 2200 or in the vicinity of the computer 2200. Also, a recording medium such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet can be used as a computer-readable medium, thereby providing the programs to the computer 2200 via the network.
[0136] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the claims that such modifications and improvements can also be included in the technical scope of the present invention.
[0137] It should be noted that the order of execution of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before," "prior to," etc., and may be realized in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is explained using "first," "next," etc. for convenience, it does not mean that it is essential to perform the process in this order. [Explanation of symbols]
[0138] 1 Field Devices 2. Sensor device 3. Communications equipment 4 Processing Equipment 40 Acquisition Department 41 Storage section 42 First Processing Section 43 Second Processing Section 44 Request Reception Department 45 Prohibited part 411 1st storage device 412 2nd storage device 413 Secure Area 414 Non-secure area 420 Signal Processing Unit 421 Access Reception Department 422 Write Processing Unit 423 Read processing unit 430 Communication Processing Unit 431 Write Processing Unit 432 Read processing unit 433 Access Request Section 2200 Computer 2201 DVD-ROM 2210 Host Controller 2212 CPU 2214 RAM 2216 Graphics Controller 2218 Display Device 2220 Input / Output Controller 2222 Communication Interface 2224 Hard Disk Drive 2226 DVD-ROM drive 2230 ROM 2240 Input / Output Chip 2242 Keyboard 4130 Secure Data Area 4131 Buffer Space
Claims
1. A first processing unit that performs periodic processing within each period; a request receiving unit that, in response to receiving an execution request for a non-periodic process to be performed by the first processing unit, writes content corresponding to the execution request into a storage device and causes the first processing unit to execute the content; An apparatus comprising:
2. The device according to claim 1, further comprising a prohibition unit that, in response to the request receiving unit writing content corresponding to the execution request to the storage device, prohibits the first processing unit from executing a non-periodic processing corresponding to a subsequent execution request for a prohibition period of a reference length.
3. The device according to claim 2 , wherein the prohibition unit prohibits the request acceptance unit from receiving the subsequent execution request for the prohibition period.
4. The device according to claim 2 , wherein the prohibition unit prohibits the request acceptance unit from writing content corresponding to the subsequent execution request for the prohibition period.
5. the request receiving unit writes content corresponding to the execution request into the storage device, and then notifies the first processing unit to cause the first processing unit to execute the non-periodic processing corresponding to the execution request; The device according to claim 2 , wherein the prohibition unit prohibits the notification by the request acceptance unit in response to the subsequent execution request for the prohibition period after writing content in response to the execution request to the storage device.
6. The apparatus of claim 2 , wherein the inhibit period is longer than a period of the cycle period.
7. The device according to claim 1 , wherein the first processing unit executes the non-periodic processing in response to content corresponding to the execution request being written to the storage device and the periodic processing having been executed.
8. The apparatus according to claim 1 , wherein a sum of a periodic processing period during which a periodic processing continues and a non-periodic processing period during which the non-periodic processing continues is shorter than a period of the cyclic period.
9. the first processing unit performs the periodic processing and the non-periodic processing on a secure area of the storage device; The apparatus according to claim 1 , further comprising a second processing unit configured to perform processing on a non-secure area of the storage device and to transmit the execution request to the request receiving unit.
10. The storage device further comprises: The apparatus of claim 9 , wherein the storage comprises a first storage having the secure region and a second storage having the non-secure region.
11. An acquisition unit for acquiring measurement data is further provided, The device according to claim 1 , wherein the periodic processing includes a process of writing at least one of the measurement data acquired by the acquisition unit and a process value derived from the measurement data to the storage device.
12. a request acceptance step of, in response to receiving an execution request for a non-periodic process to be executed by a first processing device which executes periodic processes within each period, writing contents corresponding to the execution request into a storage device and causing the first processing device to execute the content; A method for providing the above.
13. Computer, A first processing unit that performs periodic processing within each period; a request receiving section that, in response to receiving an execution request for a non-periodic process to be performed by the first processing section, writes content corresponding to the execution request into a storage device and causes the first processing section to execute the content. A program that functions as a
Citation Information
Patent Citations
Field apparatus and data processing method
JP2015018448A
Functional unit and control device
JP6423971B2
