WO2014184959A1 - Control device and remote controller - Google Patents

Control device and remote controller Download PDF

Info

Publication number
WO2014184959A1
WO2014184959A1 PCT/JP2013/063834 JP2013063834W WO2014184959A1 WO 2014184959 A1 WO2014184959 A1 WO 2014184959A1 JP 2013063834 W JP2013063834 W JP 2013063834W WO 2014184959 A1 WO2014184959 A1 WO 2014184959A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
unit
response
control
response data
Prior art date
Application number
PCT/JP2013/063834
Other languages
French (fr)
Japanese (ja)
Inventor
知晃 行田
成憲 中田
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2015516866A priority Critical patent/JP6099736B2/en
Priority to PCT/JP2013/063834 priority patent/WO2014184959A1/en
Publication of WO2014184959A1 publication Critical patent/WO2014184959A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • G09G2360/127Updating a frame memory using a transfer of data from a source area to a destination area

Definitions

  • the present invention relates to a control device and a remote controller provided with the control device.
  • remote controllers for operating home appliances and equipment to include a full-dot liquid crystal display and a GUI (graphical user interface) to improve user convenience.
  • GUI graphical user interface
  • Patent Document 1 discloses a technique of separately providing a drawing arithmetic device as dedicated hardware for executing drawing processing.
  • the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a control device and a remote controller that can prevent a delay in main processing even during screen drawing.
  • a control device provides: A control unit that generates a drawing command for causing a drawing arithmetic unit configured by a hardware circuit dedicated to the drawing process to execute a specific drawing process; A command transmission unit that transmits the drawing command generated by the control unit to the drawing arithmetic device; A response data transmission unit that executes response communication to the data request from the drawing arithmetic device without passing through the control unit after transmitting the drawing command;
  • the control unit When the control unit generates the drawing command, response data to the drawing arithmetic device corresponding to the drawing command and control data for the response data transmitting unit to transmit the response data to the drawing arithmetic device And storing the generated response data and the control data in a predetermined memory,
  • the response data transmission unit executes the response communication based on the response data and the control data.
  • control device can execute the main processing without delay while the drawing processing is being executed by the drawing arithmetic device.
  • FIG. 2 is a block diagram illustrating a configuration of a central processing unit (control device) according to the first embodiment. It is a figure which shows an example of a setting content table. It is a figure which shows an example of the fluctuation
  • FIG. 4 is a diagram for explaining data stored in a RAM according to the first embodiment.
  • FIG. 3 is a block diagram illustrating a configuration of a response data transmission unit according to the first embodiment. It is a figure which shows an example of the response data sequence of Embodiment 1.
  • 6 is a diagram illustrating an example of a transfer control data string according to the first embodiment.
  • FIG. 1 is a block diagram illustrating a configuration of a central processing unit (control device) according to the first embodiment. It is a figure which shows an example of a setting content table. It is a figure which shows an example of the fluctuation
  • FIG. 4 is a diagram for explaining data stored in a RAM according to the first embodiment.
  • FIG. 3 is
  • FIG. 6 is a flowchart (part 1) illustrating a procedure of a drawing control process according to the first embodiment.
  • 5 is a flowchart (part 2) illustrating a procedure of a drawing control process according to the first embodiment.
  • FIG. 6 is a diagram for explaining data stored in a RAM according to the second embodiment. It is a figure which shows an example of a head response data sequence. It is a figure which shows an example of a back response data sequence.
  • 6 is a block diagram illustrating a configuration of a response data transmission unit according to Embodiment 2.
  • FIG. 9 is a flowchart (part 1) illustrating a procedure of a drawing control process according to the second embodiment.
  • 12 is a flowchart (part 2) illustrating a procedure of a drawing control process according to the second embodiment.
  • 10 is a diagram illustrating an example of a transfer control data string according to the third embodiment. It is a block diagram which shows the structure of the response data transmission part of Embodiment 3. 14 is a flowchart illustrating a procedure of drawing control processing according to the third embodiment.
  • FIG. 1 is a diagram illustrating a configuration of a remote controller 1 according to the first embodiment of the present invention.
  • the remote controller 1 is a device for a user to operate an air conditioner (control target device) (not shown).
  • the control target device may be an illuminator, a security system, or the like, and various home appliances and facility devices may be the operation target of the remote controller 1.
  • the remote controller 1 includes an operation receiving unit 2, a display unit 3, a screen data storage unit 4, a drawing arithmetic device 5, and a central arithmetic device 6.
  • the operation reception unit 2 includes a touch panel, a touch pad, and the like, receives an input operation from the user, and outputs a signal (operation signal) corresponding to the received input operation to the central processing unit 6.
  • the display unit 3 is a liquid crystal device including a full-dot LCD (Liquid Crystal Display) panel, for example.
  • the display unit 3 displays a screen drawn (generated) by the drawing calculation device 5.
  • the screen data storage unit 4 includes, for example, an EEPROM (ElectricallyrErasable Programmable Read-Only Memory), a serial flash ROM (Read Only Memory), a parallel flash ROM, or the like.
  • the screen data storage unit 4 stores screen data, a drawing sequence, and the like that are read and used by the drawing arithmetic unit 5 at the time of screen drawing.
  • the drawing arithmetic unit 5 is composed of a hardware circuit dedicated to drawing processing.
  • the drawing calculation device 5 reads screen data corresponding to the drawing command from the screen data storage unit 4. Then, the drawing operation device 5 generates a display screen based on the read screen data and outputs the screen to the display unit 3.
  • the central processing unit 6 (control device) is a microcomputer that performs overall control of the remote controller 1. As shown in FIG. 2, the central processing unit 6 includes a control unit 60, a setting content storage unit 61, a ROM 62, a RAM (Random Access Memory) 63, an input port 64, a command transmission unit 65, and response data. A transmission unit 66.
  • the control unit 60 includes a CPU (Central Processing Unit) and the like, interprets a software program (hereinafter referred to as “program”) read from the ROM 62, and performs arithmetic processing and control of each component according to the contents. .
  • program a software program
  • the setting content storage unit 61 is a readable / writable nonvolatile memory composed of, for example, an EEPROM. As shown in FIG. 3, a setting content table 610 is stored in the setting content storage unit 61.
  • the setting content table 610 indicates the control content for the control target device (in this example, the air conditioner) set by the user operation, information indicating the screen being displayed on the display unit 3, or the screen to be displayed next by the user operation. It is a data table in which the information etc. which are shown are stored.
  • one or a plurality of records each including a data ID and a data value are registered in the setting content table 610.
  • the user has made settings for causing the air conditioner to perform a cooling operation with a target temperature of 25 ° C.
  • the display unit 3 shows that the screen corresponding to the screen ID “0” is being displayed or is the next screen to be displayed.
  • the data ID and the data value are expressed in decimal numbers.
  • the ROM 62 is a nonvolatile read-only memory that stores various programs executed by the control unit 60 and various definition tables referred to when the programs are executed.
  • the ROM 62 stores a variable screen element table 620 as shown in FIG. 4 as one of various definition tables.
  • the variable screen element table 620 defines information about screen elements that may vary (that is, not fixed) depending on the contents of the setting content table 610 for each screen to be displayed on the display unit 3. It is a data table.
  • the screen element information includes a data ID and a data length when data corresponding to the data ID is transmitted to the drawing arithmetic device 5.
  • response data (details will be described later) corresponding to each piece of screen element information is sent to the drawing arithmetic unit 5 in the arrangement order. It matches the order to do.
  • the data ID is expressed in decimal.
  • the RAM 63 is a memory used as a work area of the control unit 60.
  • the response data string 630 and the transfer control data string 631 generated by the control unit 60 are temporarily stored. Details of the response data string 630 and the transfer control data string 631 will be described later.
  • the input port 64 is a port for inputting the operation signal output from the operation receiving unit 2.
  • the command transmission unit 65 is a communication interface for transmitting the drawing command generated by the control unit 60 to the drawing arithmetic device 5.
  • a clock synchronous serial method, an asynchronous serial communication method, a general-purpose bus method, or the like can be adopted.
  • the response data transmission unit 66 When the response data transmission unit 66 detects a signal (data request signal) for requesting response data from the drawing operation device 5, the response data transmission unit 66 transmits the response data read from the response data sequence 630 stored in the RAM 63 to the drawing operation device 5. To do.
  • the response data transmission unit 66 includes a first DMAC 660, a second DMAC 661, a third DMAC 662, a timer 663, and a data transmission unit 664.
  • the first DMAC 660 is a DMA (Direct Memory Access) controller that executes one data transfer triggered by detection of a data request signal output from the drawing arithmetic unit 5.
  • the first DMAC 660 includes a read start address register, a read data size register, an offset value register, and the like.
  • the read start address register is a register for storing a memory address (read start address) of a transfer source that starts reading data.
  • the read data size register is a register for storing the size (byte unit) of data read from the transfer source memory address in one data transfer.
  • the offset value register is a register for storing an offset value (in bytes) for updating the read start address every time one data transfer is completed.
  • the read start address register of the first DMAC 660 is stored in the memory indicating the storage destination of the transfer control initial value 665 in the memory determined in advance by the control unit 60. An address is set.
  • the transfer control initial value 665 is 1-byte data (for example, “0x01”), and is used to start a timer 663 described later.
  • the transfer control initial value 665 is stored in a nonvolatile memory such as the setting content storage unit 61 or the ROM 62.
  • the first DMAC 660 “1” is set to the read data size register by the control unit 60 and “0” is set to the offset value register in the same initialization process as described above. Each time the first DMAC 660 detects a data request signal from the drawing arithmetic unit 5, the first DMAC 660 reads the transfer control initial value 665 and transfers it to the start register of the timer 663.
  • the second DMAC 661 is a DMA controller that executes one data transfer triggered by detection of a timeout signal output from the timer 663. Similar to the first DMAC 660, the second DMAC 661 includes a read start address register, a read data size register, an offset value register, and the like. In the read start address register of the second DMAC 661, a memory address indicating the storage destination of the response data string 630 in the RAM 63 is set by the control unit 60 in a drawing control process described later. Further, “1” is set in the read data size register and the offset value register of the second DMAC 661 by the control unit 60 in the initialization process when the remote controller 1 is powered on.
  • the response data column 630 is data in which a plurality of response data in which a data ID and a data value corresponding to the data ID are paired are stored. As shown in FIG. 7, the data ID is stored in the area for the first byte of each response data. The data value is set in the subsequent data portion area. The data length of each response data is acquired from the variable screen element table 620.
  • the response data string 630 is obtained by the control unit 60 on the condition that the display content in the display unit 3 needs to be updated and the above-described changing screen element is included in the new display target screen. Generated and stored in the RAM 63.
  • the control unit 60 generates a response data string 630 based on the setting content table 610 stored in the setting content storage unit 61 and the variable screen element table 620 stored in the ROM 62.
  • control unit 60 refers to the record corresponding to the screen that requests display to the drawing arithmetic device 5 in the variable screen element table 620, and in order from the screen element information 1 set in this record. Each data ID and data length are acquired. Further, the control unit 60 acquires a data value corresponding to the acquired data ID from the setting content table 610. The control unit 60 sequentially generates response data corresponding to each screen element information using the data ID, data value, and data length acquired in this way, and stores the response data side by side to store the response data string 630. Generate. Further, the control unit 60 adds dummy response data indicating the end to the end of the response data string 630 (response data 3 in the example of FIG. 7). Note that the example of the response data string 630 illustrated in FIG. 7 corresponds to the record of the screen ID “0” in the variable screen element table 620 of FIG.
  • the second byte of the data part stores a value (0x25) representing the target temperature data value (25 ° C.) in BCD (binary decimal number). Has been.
  • the second DMAC 661 Each time the second DMAC 661 detects a time-out signal output from the timer 663, the second DMAC 661 reads data of a predetermined size (1 byte in the present embodiment) from the response data string 630 and transmits the data by the data transmission unit 664. Transfer to register.
  • the third DMAC 662 is a DMA controller that executes one data transfer triggered by detection of a transmission completion signal output from the data transmission unit 664. Similar to the first DMAC 660 and the second DMAC 661, the third DMAC 662 includes a read start address register, a read data size register, an offset value register, and the like. In the read start address register of the third DMAC 662, a memory address indicating the storage destination of the transfer control data string 631 in the RAM 63 is set by the control unit 60 in a drawing control process described later. Further, the read data size register and the offset value register of the third DMAC 662 are set to “1” by the control unit 60 in the initialization process when the remote controller 1 is turned on.
  • the transfer control data string 631 is data that stores a plurality of data (transfer control data) for controlling the data transfer of the second DMAC 661 (see FIG. 8).
  • Each transfer control data corresponds to each response data in the response data string 630. That is, in the example shown in FIGS. 7 and 8, response data 1 and transfer control data 1, response data 2, transfer control data 2, response data 3 and transfer control data 3 correspond to each other.
  • the data length of each transfer control data in the transfer control data string 631 is the same as the data length of the corresponding response data.
  • data indicating “start of transfer” in this embodiment, “0x01”
  • data indicating “transfer stop” is stored.
  • the transfer control data sequence 631 is generated by the control unit 60 along with the generation of the response data sequence 630 and stored in the RAM 63.
  • the control unit 60 generates a transfer control data sequence 631 based on the response data sequence 630 generated previously.
  • the third DMAC 662 Each time the third DMAC 662 detects a transmission completion signal output from the data transmission unit 664, the third DMAC 662 reads data of a predetermined size (1 byte in the present embodiment) from the transfer control data string 631, and the timer 663 Transfer to the start register.
  • the timer 663 (transfer signal output unit) includes a start register, and starts counting when data indicating the start of timing (in this embodiment, “0x01”) is stored in the start register.
  • 1 is set in advance as a count value until timeout, and a timeout signal (transfer signal) is output when a predetermined time has elapsed after the start of timing.
  • the data transmission unit 664 is a communication interface for transmitting response data to the drawing arithmetic device 5.
  • the communication interface method for example, a clock synchronous serial method, an asynchronous serial communication method, a general-purpose bus method, or the like can be adopted.
  • the data transmission unit 664 starts transmission when data is stored in the transmission register, and outputs a transmission completion signal when transmission is completed.
  • the remote controller 1 includes an interface (not shown) for communicating with a control target device such as an air conditioner in addition to the above-described components.
  • FIG. 9 and FIG. 10 are flowcharts showing the procedure of the drawing control processing (drawing control processing) executed by the central processing unit 6. This drawing control process is repeatedly executed while the remote controller 1 is powered on. Note that, in the following drawing control processing, in order to facilitate understanding, it is assumed that the updated display screen when the display content needs to be updated includes a changing screen element.
  • the control unit 60 determines whether or not the display content of the display unit 3 needs to be updated (step S101). . For example, when the user performs an operation for switching the display screen, the control unit 60 determines that the display content needs to be updated. When it is determined that the display content needs to be updated (step S101; YES), the control unit 60 generates the response data string 630 and the transfer control data string 631 as described above, and stores them in the RAM 63 (step S101). S102).
  • control unit 60 sets the read start address in the read start address register of each of the second DMAC 661 and the third DMAC 662 (step S103). More specifically, the control unit 60 sets a memory address indicating the storage destination of the response data string 630 in the RAM 63 in the read start address register of the second DMAC 661. In addition, the control unit 60 sets a memory address indicating the storage destination of the transfer control data string 631 in the RAM 63 in the read start address register of the third DMAC 662.
  • the control unit 60 generates a drawing command for requesting the drawing operation device 5 to update the display contents, and transmits the drawing command to the drawing operation device 5 via the command transmission unit 65 (step S104).
  • This drawing command includes information (screen specifying information) for specifying a screen to be displayed. Examples of the screen specifying information include a screen ID and information indicating a storage destination of target screen data in the screen data storage unit 4.
  • the drawing calculation device 5 that has received the drawing command reads the corresponding screen data from the screen data storage unit 4 based on the screen specifying information included in the drawing command. Then, the drawing operation device 5 generates a display screen based on the read screen data and outputs the screen to the display unit 3. At that time, if the data request flag indicating that specific data needs to be acquired from the central processing unit 6 is stored in the read screen data, the drawing processing unit 5 stores the data in the central processing unit 6. On the other hand, a data request signal is output.
  • the data request flag is stored in the screen data so as to correspond to the screen element information in the variable screen element table 620 shown in FIG. That is, in the screen data corresponding to the screen ID “0”, a data request flag indicating a target temperature acquisition request and a data request flag indicating an operation mode acquisition request are stored.
  • the output order of the data request signal by the drawing operation device 5 matches the arrangement order of the screen element information in the corresponding record of the variable screen element table 620. To do. That is, for the screen data corresponding to the screen ID “0”, the drawing arithmetic unit 5 first outputs a data request signal for requesting data indicating the target temperature. Then, after receiving response data from the central processing unit 6 with respect to this data request signal, a data request signal for requesting data indicating the operation mode is output.
  • the drawing operation device 5 when the drawing operation device 5 receives response data (for example, data indicating the operation mode) according to the last data request flag from the central processing device 6, the drawing operation device 5 receives the data request signal once more. It is a specification to output. In response to the data request signal at this time, the central processing unit 6 transmits the last response data indicating “end” (response data 3 in the example of FIG. 7) to the drawing operation device 5.
  • response data for example, data indicating the operation mode
  • the central processing unit 6 transmits the last response data indicating “end” (response data 3 in the example of FIG. 7) to the drawing operation device 5.
  • the first DMAC 660 of the response data transmission unit 66 detects the data request signal from the drawing arithmetic unit 5 (step S105 in FIG. 10; YES)
  • the first DMAC 660 reads the transfer control initial value 665 and transfers it to the start register of the timer 663 (step S105).
  • the timer 663 is activated to start measuring time.
  • the second DMAC 661 reads data of a predetermined size (1 byte in the present embodiment) from the response data string 630, The data is transferred to the transmission register of the data transmission unit 664 (step S108).
  • the data transmission unit 664 transmits this data to the drawing arithmetic unit 5.
  • the third DMAC 662 receives data of a predetermined size (1 byte in the present embodiment) from the transfer control data sequence 631. Is transferred to the start register of the timer 663 (step S110).
  • step S111 When the data transferred to the start register of the timer 663 does not indicate “transfer stop” (step S111; NO), the operation of the response data transmission unit 66 waits for the output of a timeout signal by the timer 663 (step S107). ).
  • step S111 if the data transferred to the start register of the timer 663 indicates "transfer stop" (step S111; YES), and there is untransferred response data (step S112; NO), response data transmission
  • step S105 When there is no untransferred response data (step S112; YES), that is, when all the response data is transmitted to the drawing arithmetic unit 5, the drawing control process by the central arithmetic unit 6 ends for the update of the display contents this time. .
  • the control unit 60 When the updated display screen does not include a fluctuating screen element, the control unit 60 does not generate the response data sequence 630 and the transfer control data sequence 631, but simply transmits a drawing command and immediately The drawing control process ends. In this case, a data request signal is not output from the drawing arithmetic unit 5, and the response data transmission unit 66 does not perform the operation described above.
  • the control unit 60 of the central processing unit 6 corresponds to the screen.
  • a response data string 630 is generated in advance and stored in the RAM 63.
  • the response data transmission unit 66 performs response communication to the drawing arithmetic device 5 without going through the control unit 60, that is, the CPU, in response to the detection of the data request signal from the drawing arithmetic device 5. Execute. For this reason, even if it is a screen display by a liquid crystal device of a full dot format, the load of the control part 60 (CPU) can be reduced, ensuring the response speed to the drawing arithmetic unit 5. Therefore, the control part 60 can perform the main process regarding control of an air conditioner (control object apparatus) without delay.
  • response data transmission unit 66 can be realized by a memory transfer circuit having a simple configuration, the cost of the central processing unit 6 is not increased.
  • the central processing unit It is not necessary to increase the capacity of the memory mounted on the device 6, and the cost can be reduced.
  • the execution of data transfer by the third DMAC 662 is triggered by the detection of the transmission completion signal output from the data transmission unit 664.
  • the detection of other signals may be triggered.
  • the response data transmission unit 66 is provided with a timer different from the timer 663. This timer starts timing every time a time-out signal is output from the timer 663, and outputs a time-out signal to the third DMAC 662 when a predetermined time elapses. That is, the added timer outputs a time-out signal to the third DMAC 662 when a predetermined time has elapsed from the start of data transmission by the data transmission unit 664.
  • the third DMAC 662 may execute one data transfer with the detection of the timeout signal as a trigger.
  • control unit 60 of the central processing unit 6 generates a top response data sequence 632 and a backward response data sequence 633 as shown in FIG. 11 instead of the response data sequence 630, Save in the RAM 63.
  • the head response data string 632 stores a plurality of head response data that is data corresponding to a predetermined size (1 byte in the present embodiment) from the head of each response data in the response data string 630 (see FIG. 7). It is data.
  • the backward response data string 633 is data in which a plurality of pieces of data (in this embodiment, data in the data portion area) excluding the portion corresponding to the head response data in each response data of the response data string 630 are stored as backward response data. is there.
  • the top response data string 632 and the backward response data string 633 are data in a form in which the response data string 630 is divided. An example of the top response data string 632 is shown in FIG. 12, and an example of the backward response data string 633 is shown in FIG.
  • the response data transmission unit 66a of this embodiment includes a first DMAC 660, a second DMAC 661, a third DMAC 662, a timer 663, and a data transmission unit 664, as in the first embodiment.
  • every time the first DMAC 660 detects a data request signal from the drawing arithmetic unit 5 data corresponding to a predetermined size (1 byte in this example) is read from the top response data string 632. Read and transfer to the transmission register of the data transmission unit 664.
  • the second DMAC 661 detects a time-out signal output from the timer 663, the second DMAC 661 reads data of a predetermined size (1 byte in this example) from the backward response data string 633, and the data transmission unit 664 Transfer to the send register.
  • the operations of the third DMAC 662, the timer 663, and the data transmission unit 664 are the same as in the first embodiment.
  • 15 and 16 are flowcharts showing the procedure of the drawing control process executed by the central processing unit 6. Note that, as in the first embodiment, in the following drawing control processing, in order to facilitate understanding, it is assumed that the updated display screen when the display content needs to be updated includes a changing screen element. To do.
  • the control unit 60 determines whether or not the content displayed on the display unit 3 needs to be updated (step S201). ). As a result, when it is determined that the display content needs to be updated (step S201; YES), the control unit 60 generates a top response data string 632, a backward response data string 633, and a transfer control data string 631, and the RAM 63 (Step S202).
  • the control unit 60 sets the read start address in the read start address register of each of the first DMAC 660 to the third DMAC 662 (step S203). More specifically, the control unit 60 sets a memory address indicating the storage destination of the head response data string 632 in the RAM 63 in the read start address register of the first DMAC 660. Further, the control unit 60 sets a memory address indicating the storage destination of the backward response data string 633 in the RAM 63 in the read start address register of the second DMAC 661. In addition, the control unit 60 sets a memory address indicating the storage destination of the transfer control data string 631 in the RAM 63 in the read start address register of the third DMAC 662.
  • the control unit 60 generates a drawing command for requesting the drawing calculation device 5 to update the display contents, and transmits the drawing command to the drawing calculation device 5 via the command transmission unit 65 (step S204).
  • the first DMAC 660 of the response data transmitting unit 66a determines in advance from the head response data string 632. Data corresponding to the size (1 byte in the present embodiment) is read and transferred to the transmission register of the data transmission unit 664 (step S206).
  • the data transmission unit 664 transmits this data to the drawing arithmetic unit 5.
  • the third DMAC 662 determines a predetermined size (in this embodiment, from the transfer control data sequence 631). 1 byte) of data is read out and transferred to the start register of the timer 663 (step S208).
  • step S209 When the data transferred to the start register of the timer 663 does not indicate “transfer stop” (step S209; NO), the operation of the response data transmission unit 66a waits for the timer 663 to output a timeout signal (step S210). ). Thereafter, when a time-out signal is output from the timer 663 (step S210; YES), the second DMAC 661 reads data of a predetermined size (1 byte in the present embodiment) from the backward response data string 633. Then, the data is transferred to the transmission register of the data transmission unit 664 (step S211). Thereafter, the operation of the response data transmitter 66a waits for the output of the transmission completion signal by the data transmitter 664 (step S207).
  • step S209; YES if the data transferred to the start register of the timer 663 indicates "transfer stop" (step S209; YES), and there is untransferred top response data or backward response data (step S212; NO) )
  • the operation of the response data transmission unit 66a waits for the next data request signal to be output by the drawing arithmetic unit 5 (step S205).
  • step S212; YES when there is no untransferred top response data and backward response data (step S212; YES), in other words, when all the response data is transmitted to the drawing arithmetic unit 5, the central arithmetic unit 6 regarding the update of the display contents this time
  • the drawing control process ends.
  • the control unit 60 of the central processing unit 6 responds with the head response corresponding to the screen.
  • a data string 632 and a backward response data string 633 are generated in advance and stored in the RAM 63.
  • the response data transmission unit 66a executes response communication without using the control unit 60, that is, the CPU, in response to the detection of the data request signal from the drawing arithmetic unit 5. Therefore, the same effect as that of the remote controller 1 of the first embodiment can be obtained.
  • the control unit 60 of the central processing unit 6 generates a top response data string 632 and a backward response data string 633 by the same method as in the second embodiment, and stores it in the RAM 63 (See FIGS. 11 to 13).
  • the contents of the transfer control data string 631 generated by the control unit 60 are different from those of the first and second embodiments.
  • each transfer control data in the transfer control data string 631 includes a data length of the corresponding head response data in the head response data string 632 and a data length of the corresponding back response data in the rear response data string 633. Based data, that is, data based on the data length of corresponding response data (see FIG. 7) is stored. More specifically, each transfer control data in the transfer control data string 631 of this embodiment stores a numerical value indicating the data length ⁇ 1 of the corresponding response data (see FIG. 17).
  • FIG. 18 is a block diagram illustrating a configuration of the response data transmission unit 66b of the present embodiment.
  • the response data transmission unit 66b includes a first DMAC 660, a second DMAC 661, a third DMAC 662, and a data transmission unit 664. That is, the response data transmission unit 66b has a configuration in which the timer 663 provided in each of the response data transmission units 66 and 66a is removed.
  • the first DMAC 660 of the response data transmission unit 66b detects a data request signal from the drawing arithmetic unit 5 every time it detects a data request signal from the head response data string 632 (in this example, 1 byte). ) Portion of data is read out and transferred to the transmission register of the data transmission unit 664.
  • the second DMAC 661 of the response data transmission unit 66b further includes an untransferred number register (not shown) in addition to the registers included in the second DMAC 661 of the first and second embodiments.
  • the untransferred number register is a register for storing the remaining number of times (untransferred number) that the second DMAC 661 should perform data transfer.
  • the data for a predetermined size (1 byte in this example) is read and transferred to the transmission register of the data transmission unit 664.
  • the second DMAC 661 decrements the value stored in the untransferred number register.
  • the third DMAC 662 of the response data transmission unit 66b reads data of a predetermined size (1 byte in this example) from the transfer control data sequence 631 every time it detects a data request signal from the drawing arithmetic unit 5. , Transfer to the untransferred number register of the second DMAC 661.
  • the data transmission unit 664 of the response data transmission unit 66b performs the same operation as the data transmission unit 664 of the first and second embodiments. However, in the response data transmission unit 66b, the output destination of the transmission completion signal is the second DMAC 661.
  • the third DMAC 662 is determined in advance from the transfer control data string 631.
  • the data corresponding to the size (1 byte in this embodiment) is read and transferred to the untransferred number register of the second DMAC 661 (step S302).
  • the first DMAC 660 reads data of a predetermined size (1 byte in this embodiment) from the head response data string 632 and transfers it to the transmission register of the data transmission unit 664. (Step S303).
  • the data transmission unit 664 transmits this data to the drawing arithmetic unit 5.
  • the second DMAC 661 has a storage value (that is, an untransferred number) in the untransferred number register of 1 or more. Whether or not (step S305).
  • the second DMAC 661 When the number of untransferred is 1 or more (step S305; YES), the second DMAC 661 reads data for a predetermined size (1 byte in the present embodiment) from the backward response data string 633, and transmits the data transmission unit. The data is transferred to the transmission register 664 (step S306). The second DMAC 661 decrements the stored value of the untransferred number register (step S307).
  • step S305; NO when the number of untransferred is not 1 or more (step S305; NO) and there is untransferred top response data or backward response data (step S308; NO), the operation of the response data transmitting unit 66b is drawn.
  • the operation device 5 waits for the next data request signal to be output (step S301).
  • step S308; YES when there is no untransferred top response data and backward response data (step S308; YES), in other words, when all the response data is transmitted to the drawing arithmetic unit 5, the central arithmetic unit 6 for updating the display contents this time
  • the drawing control process ends.
  • the control unit 60 of the central processing unit 6 causes the head corresponding to the screen to be displayed.
  • a response data string 632 and a backward response data string 633 are generated in advance and stored in the RAM 63.
  • the response data transmission unit 66b executes response communication without using the control unit 60, that is, the CPU, in response to detection of the data request signal from the drawing arithmetic unit 5. Therefore, the same effects as those of the remote controller 1 of the first embodiment and the remote controller of the second embodiment can be obtained.
  • the size of the transfer control data string 631 can be reduced as compared with the cases of the first and second embodiments, so that the amount of memory such as the RAM 63 in the central processing unit 6 is reduced. it can.
  • response data transmission unit 66b after the transmission completion signal is output by data transmission unit 664, the next data is set in the transmission register by one data transfer operation. For this reason, the response speed with respect to the drawing arithmetic unit 5 can be further improved.
  • the present invention can be suitably employed in a remote controller for operating home appliances, equipment, and the like.
  • 1 remote controller 2 operation accepting unit, 3 display unit, 4 screen data storage unit, 5 drawing arithmetic unit, 6 central processing unit, 60 control unit, 61 setting content storage unit, 62 ROM, 63 RAM, 64 input port, 65 Command transmission unit, 66, 66a, 66b Response data transmission unit, 610 Setting content table, 620 Fluctuating screen element table, 630 Response data column, 631 Transfer control data column, 632 First response data column, 633 Back response data column, 660 1DMAC, 661 2nd DMAC, 662 3rd DMAC, 663 timer, 664 data transmitter, 665 transfer control initial value

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Details Of Television Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A remote controller according to the present invention comprises a central calculation device (6) in which a control unit (60) generates a drawing command that is used to make a drawing calculation device perform drawing processing. A command transmission unit (65) transmits the drawing command that is generated by the control unit (60) to the drawing calculation device. After transmission of the drawing command, a response data transmission unit (66) performs response communication concerning a data request from the drawing calculation device without said response communication being mediated by the control unit (60). When generating the drawing command, the control unit (60) generates the following data in advance and stores said data in RAM (63): response data intended for the drawing calculation device that corresponds to the drawing command; and control data that is used when the response data transmission unit (66) transmits the response data to the drawing calculation device. The response data transmission unit (66) performs response communication on the basis of the response data and the control data.

Description

制御装置及びリモートコントローラControl device and remote controller
 本発明は、制御装置及びこの制御装置を備えたリモートコントローラに関する。 The present invention relates to a control device and a remote controller provided with the control device.
 近年、家電機器や設備機器などを操作するためのリモートコントローラにおいては、ユーザの利便性を向上させるため、フルドット液晶表示器を備え、GUI(グラフィカルユーザインタフェース)を採用するものも珍しくない。 In recent years, it is not uncommon for remote controllers for operating home appliances and equipment to include a full-dot liquid crystal display and a GUI (graphical user interface) to improve user convenience.
 このようなリモートコントローラでは、画像を描画するための処理負荷が大きいため、描画処理によって、家電機器や設備機器などを制御するメイン処理が遅延してしまうという問題があった。 In such a remote controller, since the processing load for drawing an image is large, there has been a problem that a main process for controlling home appliances and equipment is delayed by the drawing process.
 これに対し、例えば特許文献1には、描画処理を実行する専用のハードウェアとして描画演算装置を別途設ける技術が開示されている。 On the other hand, for example, Patent Document 1 discloses a technique of separately providing a drawing arithmetic device as dedicated hardware for executing drawing processing.
特開2010-175638号公報JP 2010-175638 A
 上記のような構成においても、マイコン(マイクロコンピュータ)側で管理される操作状態に関する情報等を含む画像(画面)を描画するためには、マイコンと描画演算装置との間で、対象となる操作状態の整合を取るための通信が必要となる。したがって、描画の対象となる操作状態の種類が多いと、マイコンでは描画演算装置と通信するための処理負荷が大きくなってしまう。このような状況では、搭載されるCPUが高スペックでないと、マイコンが実行すべきメイン処理の遅延を招く可能性があった。 Even in the configuration as described above, in order to draw an image (screen) including information related to the operation state managed on the microcomputer (microcomputer) side, the target operation is performed between the microcomputer and the drawing arithmetic unit. Communication is required to maintain state consistency. Therefore, if there are many types of operation states to be drawn, the processing load for the microcomputer to communicate with the drawing arithmetic device increases. In such a situation, if the CPU to be mounted is not of high specifications, there is a possibility that the main process to be executed by the microcomputer may be delayed.
 本発明は、上記課題を解決するためになされたものであり、画面描画の際にも、メイン処理の遅延を防止できる制御装置及びリモートコントローラを提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a control device and a remote controller that can prevent a delay in main processing even during screen drawing.
 上記目的を達成するため、本発明に係る制御装置は、
 描画処理専用のハードウェア回路で構成された描画演算装置に特定の描画処理を実行させるための描画コマンドを生成する制御部と、
 前記制御部が生成した前記描画コマンドを前記描画演算装置に送信するコマンド送信部と、
 前記描画コマンドの送信後、前記描画演算装置からのデータ要求に対する応答通信を前記制御部を介さずに実行する応答データ送信部と、を備え、
 前記制御部は、前記描画コマンドを生成する際、前記描画コマンドに対応した前記描画演算装置への応答データと、前記応答データを前記応答データ送信部が前記描画演算装置に送信するための制御データと、を予め生成し、生成した前記応答データ及び前記制御データを予め定めたメモリに保存し、
 前記応答データ送信部は、前記応答データ及び前記制御データに基づいて、前記応答通信を実行する。
In order to achieve the above object, a control device according to the present invention provides:
A control unit that generates a drawing command for causing a drawing arithmetic unit configured by a hardware circuit dedicated to the drawing process to execute a specific drawing process;
A command transmission unit that transmits the drawing command generated by the control unit to the drawing arithmetic device;
A response data transmission unit that executes response communication to the data request from the drawing arithmetic device without passing through the control unit after transmitting the drawing command;
When the control unit generates the drawing command, response data to the drawing arithmetic device corresponding to the drawing command and control data for the response data transmitting unit to transmit the response data to the drawing arithmetic device And storing the generated response data and the control data in a predetermined memory,
The response data transmission unit executes the response communication based on the response data and the control data.
 本発明によれば、制御装置は、描画演算装置によって描画処理が実行されている間も、メイン処理を遅延なく実行できる。 According to the present invention, the control device can execute the main processing without delay while the drawing processing is being executed by the drawing arithmetic device.
本発明の実施形態1に係るリモートコントローラの構成を示すブロック図である。It is a block diagram which shows the structure of the remote controller which concerns on Embodiment 1 of this invention. 実施形態1の中央演算装置(制御装置)の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a central processing unit (control device) according to the first embodiment. 設定内容テーブルの一例を示す図である。It is a figure which shows an example of a setting content table. 変動画面要素テーブルの一例を示す図である。It is a figure which shows an example of the fluctuation | variation screen element table. 実施形態1のRAMに保存されるデータについて説明するための図である。FIG. 4 is a diagram for explaining data stored in a RAM according to the first embodiment. 実施形態1の応答データ送信部の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a response data transmission unit according to the first embodiment. 実施形態1の応答データ列の一例を示す図である。It is a figure which shows an example of the response data sequence of Embodiment 1. 実施形態1の転送制御データ列の一例を示す図である。6 is a diagram illustrating an example of a transfer control data string according to the first embodiment. FIG. 実施形態1の描画制御処理の手順を示すフローチャート(その1)である。6 is a flowchart (part 1) illustrating a procedure of a drawing control process according to the first embodiment. 実施形態1の描画制御処理の手順を示すフローチャート(その2)である。5 is a flowchart (part 2) illustrating a procedure of a drawing control process according to the first embodiment. 実施形態2のRAMに保存されるデータについて説明するための図である。FIG. 6 is a diagram for explaining data stored in a RAM according to the second embodiment. 先頭応答データ列の一例を示す図である。It is a figure which shows an example of a head response data sequence. 後方応答データ列の一例を示す図である。It is a figure which shows an example of a back response data sequence. 実施形態2の応答データ送信部の構成を示すブロック図である。6 is a block diagram illustrating a configuration of a response data transmission unit according to Embodiment 2. FIG. 実施形態2の描画制御処理の手順を示すフローチャート(その1)である。9 is a flowchart (part 1) illustrating a procedure of a drawing control process according to the second embodiment. 実施形態2の描画制御処理の手順を示すフローチャート(その2)である。12 is a flowchart (part 2) illustrating a procedure of a drawing control process according to the second embodiment. 実施形態3の転送制御データ列の一例を示す図である。FIG. 10 is a diagram illustrating an example of a transfer control data string according to the third embodiment. 実施形態3の応答データ送信部の構成を示すブロック図である。It is a block diagram which shows the structure of the response data transmission part of Embodiment 3. 実施形態3の描画制御処理の手順を示すフローチャートである。14 is a flowchart illustrating a procedure of drawing control processing according to the third embodiment.
 以下、本発明の実施形態について図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(実施形態1)
 図1は、本発明の実施形態1に係るリモートコントローラ1の構成を示す図である。このリモートコントローラ1は、ユーザが、図示しない空調機(制御対象機器)を操作するための装置である。なお、制御対象機器は、この他にも、照明器やセキュリティシステムなどであってもよく、様々な家電機器や設備機器が、リモートコントローラ1の操作対象となり得る。
(Embodiment 1)
FIG. 1 is a diagram illustrating a configuration of a remote controller 1 according to the first embodiment of the present invention. The remote controller 1 is a device for a user to operate an air conditioner (control target device) (not shown). In addition, the control target device may be an illuminator, a security system, or the like, and various home appliances and facility devices may be the operation target of the remote controller 1.
 リモートコントローラ1は、図1に示すように、操作受付部2と、表示部3と、画面データ記憶部4と、描画演算装置5と、中央演算装置6と、を備える。操作受付部2は、タッチパネル、タッチパッド等を含んで構成され、ユーザからの入力操作を受け付け、受け付けた入力操作に応じた信号(操作信号)を中央演算装置6に出力する。 As shown in FIG. 1, the remote controller 1 includes an operation receiving unit 2, a display unit 3, a screen data storage unit 4, a drawing arithmetic device 5, and a central arithmetic device 6. The operation reception unit 2 includes a touch panel, a touch pad, and the like, receives an input operation from the user, and outputs a signal (operation signal) corresponding to the received input operation to the central processing unit 6.
 表示部3は、例えば、フルドット形式のLCD(Liquid Crystal Display)パネル等を含んで構成される液晶デバイスである。表示部3は、描画演算装置5が描画した(生成した)画面を表示する。 The display unit 3 is a liquid crystal device including a full-dot LCD (Liquid Crystal Display) panel, for example. The display unit 3 displays a screen drawn (generated) by the drawing calculation device 5.
 画面データ記憶部4は、例えば、EEPROM(Electrically Erasable Programmable Read-Only Memory)、シリアルフラッシュROM(Read Only Memory)、パラレルフラッシュROM等から構成される。画面データ記憶部4は、画面描画の際に、描画演算装置5により読み出され、使用される画面データや描画シーケンス等を記憶する。 The screen data storage unit 4 includes, for example, an EEPROM (ElectricallyrErasable Programmable Read-Only Memory), a serial flash ROM (Read Only Memory), a parallel flash ROM, or the like. The screen data storage unit 4 stores screen data, a drawing sequence, and the like that are read and used by the drawing arithmetic unit 5 at the time of screen drawing.
 描画演算装置5は、描画処理専用のハードウェア回路で構成される。描画演算装置5は、中央演算装置6からの後述する描画コマンドを受信すると、かかる描画コマンドに対応する画面データを画面データ記憶部4から読み出す。そして、描画演算装置5は、読み出した画面データに基づいて表示用の画面を生成し、表示部3に出力する。 The drawing arithmetic unit 5 is composed of a hardware circuit dedicated to drawing processing. When receiving a drawing command (to be described later) from the central processing unit 6, the drawing calculation device 5 reads screen data corresponding to the drawing command from the screen data storage unit 4. Then, the drawing operation device 5 generates a display screen based on the read screen data and outputs the screen to the display unit 3.
 中央演算装置6(制御装置)は、リモートコントローラ1の統括的な制御を行うマイクロコンピュータである。中央演算装置6は、図2に示すように、制御部60と、設定内容記憶部61と、ROM62と、RAM(Random Access Memory)63と、入力ポート64と、コマンド送信部65と、応答データ送信部66と、を備える。 The central processing unit 6 (control device) is a microcomputer that performs overall control of the remote controller 1. As shown in FIG. 2, the central processing unit 6 includes a control unit 60, a setting content storage unit 61, a ROM 62, a RAM (Random Access Memory) 63, an input port 64, a command transmission unit 65, and response data. A transmission unit 66.
 制御部60は、CPU(Central Processing Unit)等を含んで構成され、ROM62から読み込んだソフトウェアプログラム(以下、「プログラム」という。)を解釈し、その内容に従って演算処理や各構成部の制御を行う。 The control unit 60 includes a CPU (Central Processing Unit) and the like, interprets a software program (hereinafter referred to as “program”) read from the ROM 62, and performs arithmetic processing and control of each component according to the contents. .
 設定内容記憶部61は、例えば、EEPROM等から構成される読み書き可能な不揮発性のメモリである。設定内容記憶部61には、図3に示すように、設定内容テーブル610が保存されている。設定内容テーブル610は、ユーザ操作により設定された制御対象機器(本例では、空調機)に対する制御内容や、表示部3で表示中の画面を示す情報又はユーザ操作により次に表示すべき画面を示す情報等が格納されたデータテーブルである。 The setting content storage unit 61 is a readable / writable nonvolatile memory composed of, for example, an EEPROM. As shown in FIG. 3, a setting content table 610 is stored in the setting content storage unit 61. The setting content table 610 indicates the control content for the control target device (in this example, the air conditioner) set by the user operation, information indicating the screen being displayed on the display unit 3, or the screen to be displayed next by the user operation. It is a data table in which the information etc. which are shown are stored.
 具体的には、設定内容テーブル610には、データIDと、データ値とからなるレコードが1又は複数登録される。図3に示す例では、ユーザにより、空調機に対して目標温度が25℃の冷房運転を行わせるための設定が行われたことが判る。また、表示部3により、画面ID“0”に対応する画面が表示中、又は、次に表示すべき画面であることが判る。なお、図3において、データID及びデータ値は10進数で表記している。 Specifically, one or a plurality of records each including a data ID and a data value are registered in the setting content table 610. In the example shown in FIG. 3, it is understood that the user has made settings for causing the air conditioner to perform a cooling operation with a target temperature of 25 ° C. Further, the display unit 3 shows that the screen corresponding to the screen ID “0” is being displayed or is the next screen to be displayed. In FIG. 3, the data ID and the data value are expressed in decimal numbers.
 図2に戻り、ROM62は、制御部60が実行する各種のプログラムや、プログラムの実行時に参照される各種の定義テーブル等を記憶する不揮発性の読み出し専用メモリである。本実施形態では、ROM62には、各種の定義テーブルの一つとして、図4に示すような変動画面要素テーブル620が記憶されている。変動画面要素テーブル620は、表示部3への表示対象となる画面毎に、設定内容テーブル610の内容に応じて変動する可能性がある(即ち、固定でない)画面要素についての情報が定義されたデータテーブルである。 Returning to FIG. 2, the ROM 62 is a nonvolatile read-only memory that stores various programs executed by the control unit 60 and various definition tables referred to when the programs are executed. In the present embodiment, the ROM 62 stores a variable screen element table 620 as shown in FIG. 4 as one of various definition tables. The variable screen element table 620 defines information about screen elements that may vary (that is, not fixed) depending on the contents of the setting content table 610 for each screen to be displayed on the display unit 3. It is a data table.
 具体的には、変動画面要素テーブル620には、図4に示すように、画面IDと、1又は複数の画面要素情報と、からなるレコードが、表示対象となる画面の数分、登録されている。画面要素情報は、データIDと、このデータIDに対応するデータを描画演算装置5に送信する際のデータ長とから構成される。変動画面要素テーブル620において、1つのレコードに複数の画面要素情報が設定されている場合、その並び順は、各画面要素情報に対応する応答データ(詳細は後述する)を描画演算装置5に送信する順番と一致する。なお、図4においても図3と同様、データIDは10進数で表記している。 Specifically, as shown in FIG. 4, records including a screen ID and one or more pieces of screen element information are registered in the variable screen element table 620 by the number of screens to be displayed. Yes. The screen element information includes a data ID and a data length when data corresponding to the data ID is transmitted to the drawing arithmetic device 5. When a plurality of pieces of screen element information are set in one record in the variable screen element table 620, response data (details will be described later) corresponding to each piece of screen element information is sent to the drawing arithmetic unit 5 in the arrangement order. It matches the order to do. In FIG. 4, as in FIG. 3, the data ID is expressed in decimal.
 図2に戻り、RAM63は、制御部60の作業領域として使用されるメモリである。本実施形態では、図5に示すように、制御部60によって生成された、応答データ列630と、転送制御データ列631とが一時的に保存される。応答データ列630及び転送制御データ列631の詳細については後述する。 Returning to FIG. 2, the RAM 63 is a memory used as a work area of the control unit 60. In the present embodiment, as shown in FIG. 5, the response data string 630 and the transfer control data string 631 generated by the control unit 60 are temporarily stored. Details of the response data string 630 and the transfer control data string 631 will be described later.
 図2に戻り、入力ポート64は、操作受付部2から出力された操作信号を入力するポートである。コマンド送信部65は、制御部60が生成した描画コマンドを描画演算装置5に送信するための通信インタフェースである。この通信インタフェースの方式として、例えば、クロック同期型シリアル方式、非同期型シリアル通信方式、汎用バス方式等が採用され得る。 2, the input port 64 is a port for inputting the operation signal output from the operation receiving unit 2. The command transmission unit 65 is a communication interface for transmitting the drawing command generated by the control unit 60 to the drawing arithmetic device 5. As the communication interface method, for example, a clock synchronous serial method, an asynchronous serial communication method, a general-purpose bus method, or the like can be adopted.
 応答データ送信部66は、描画演算装置5から、応答データを要求する信号(データ要求信号)を検出すると、RAM63に保存されている応答データ列630から読み出した応答データを描画演算装置5に送信する。 When the response data transmission unit 66 detects a signal (data request signal) for requesting response data from the drawing operation device 5, the response data transmission unit 66 transmits the response data read from the response data sequence 630 stored in the RAM 63 to the drawing operation device 5. To do.
 応答データ送信部66は、図6に示すように、第1DMAC660と、第2DMAC661と、第3DMAC662と、タイマ663と、データ送信部664と、を備える。第1DMAC660は、描画演算装置5から出力されるデータ要求信号の検出をトリガとして、1回のデータ転送を実行するDMA(Direct Memory Access)コントローラである。第1DMAC660は、読出開始アドレスレジスタ、読出データサイズレジスタ、オフセット値レジスタ等を備える。 As shown in FIG. 6, the response data transmission unit 66 includes a first DMAC 660, a second DMAC 661, a third DMAC 662, a timer 663, and a data transmission unit 664. The first DMAC 660 is a DMA (Direct Memory Access) controller that executes one data transfer triggered by detection of a data request signal output from the drawing arithmetic unit 5. The first DMAC 660 includes a read start address register, a read data size register, an offset value register, and the like.
 読出開始アドレスレジスタは、データの読み出しを開始する転送元のメモリアドレス(読出開始アドレス)を格納するためのレジスタである。読出データサイズレジスタは、1回のデータ転送で、転送元のメモリアドレスから読み出すデータのサイズ(バイト単位)を格納するためのレジスタである。オフセット値レジスタは、1回のデータ転送が終了する度に読出開始アドレスを更新するためのオフセット値(バイト単位)を格納するためのレジスタである。 The read start address register is a register for storing a memory address (read start address) of a transfer source that starts reading data. The read data size register is a register for storing the size (byte unit) of data read from the transfer source memory address in one data transfer. The offset value register is a register for storing an offset value (in bytes) for updating the read start address every time one data transfer is completed.
 本実施形態では、リモートコントローラ1の電源オン時における初期化処理にて、第1DMAC660の読出開始アドレスレジスタには、制御部60により、予め定めたメモリにおける転送制御初期値665の格納先を示すメモリアドレスが設定される。転送制御初期値665は、本実施形態では、1バイトのデータ(例えば、“0x01”)であり、後述するタイマ663を起動させるために使用される。転送制御初期値665は、設定内容記憶部61あるいはROM62等の不揮発性のメモリに記憶される。 In the present embodiment, in the initialization process when the remote controller 1 is turned on, the read start address register of the first DMAC 660 is stored in the memory indicating the storage destination of the transfer control initial value 665 in the memory determined in advance by the control unit 60. An address is set. In this embodiment, the transfer control initial value 665 is 1-byte data (for example, “0x01”), and is used to start a timer 663 described later. The transfer control initial value 665 is stored in a nonvolatile memory such as the setting content storage unit 61 or the ROM 62.
 また、第1DMAC660において、上記同様の初期化処理にて、読出データサイズレジスタには、制御部60により“1”が設定され、オフセット値レジスタには、“0”が設定される。第1DMAC660は、描画演算装置5からのデータ要求信号を検出する度に、転送制御初期値665を読み出し、タイマ663の開始レジスタに転送する。 In the first DMAC 660, “1” is set to the read data size register by the control unit 60 and “0” is set to the offset value register in the same initialization process as described above. Each time the first DMAC 660 detects a data request signal from the drawing arithmetic unit 5, the first DMAC 660 reads the transfer control initial value 665 and transfers it to the start register of the timer 663.
 第2DMAC661は、タイマ663から出力されるタイムアウト信号の検出をトリガとして、1回のデータ転送を実行するDMAコントローラである。第2DMAC661は、第1DMAC660と同様、読出開始アドレスレジスタ、読出データサイズレジスタ、オフセット値レジスタ等を備える。第2DMAC661の読出開始アドレスレジスタには、後述する描画制御処理において、制御部60により、RAM63における応答データ列630の格納先を示すメモリアドレスが設定される。また、第2DMAC661の読出データサイズレジスタ及びオフセット値レジスタには、リモートコントローラ1の電源オン時における初期化処理にて、それぞれ制御部60により“1”が設定される。 The second DMAC 661 is a DMA controller that executes one data transfer triggered by detection of a timeout signal output from the timer 663. Similar to the first DMAC 660, the second DMAC 661 includes a read start address register, a read data size register, an offset value register, and the like. In the read start address register of the second DMAC 661, a memory address indicating the storage destination of the response data string 630 in the RAM 63 is set by the control unit 60 in a drawing control process described later. Further, “1” is set in the read data size register and the offset value register of the second DMAC 661 by the control unit 60 in the initialization process when the remote controller 1 is powered on.
 応答データ列630は、データIDと、これに対応するデータ値とを組にした応答データを複数格納したデータである。図7に示すように、データIDは、各応答データの先頭1バイト分の領域に格納される。データ値は、その後に続くデータ部領域に設定される。各応答データのデータ長は、変動画面要素テーブル620より取得される。 The response data column 630 is data in which a plurality of response data in which a data ID and a data value corresponding to the data ID are paired are stored. As shown in FIG. 7, the data ID is stored in the area for the first byte of each response data. The data value is set in the subsequent data portion area. The data length of each response data is acquired from the variable screen element table 620.
 応答データ列630は、表示部3における表示内容の更新が必要とされる場合であって、新たな表示対象画面に前述した変動する画面要素が含まれている場合を条件として、制御部60により生成され、RAM63に格納される。制御部60は、設定内容記憶部61に保存されている設定内容テーブル610と、ROM62に保存されている変動画面要素テーブル620とに基づいて応答データ列630を生成する。 The response data string 630 is obtained by the control unit 60 on the condition that the display content in the display unit 3 needs to be updated and the above-described changing screen element is included in the new display target screen. Generated and stored in the RAM 63. The control unit 60 generates a response data string 630 based on the setting content table 610 stored in the setting content storage unit 61 and the variable screen element table 620 stored in the ROM 62.
 より詳細には、制御部60は、変動画面要素テーブル620における、描画演算装置5に対して表示を要求する画面に対応するレコードを参照し、このレコードに設定されている画面要素情報1から順番に、それぞれのデータID及びデータ長を取得する。さらに、制御部60は、取得したデータIDに対応するデータ値を設定内容テーブル610から取得する。制御部60は、このようにして取得したデータID、データ値及びデータ長を用いて、各画面要素情報に対応する応答データを順次生成し、これを並べて格納することで、応答データ列630を生成する。また、制御部60は、終端を示すダミーの応答データを応答データ列630の末端に付加する(図7の例では、応答データ3)。なお、図7に示す応答データ列630の例は、図4の変動画面要素テーブル620における画面ID“0”のレコードに対応する。 More specifically, the control unit 60 refers to the record corresponding to the screen that requests display to the drawing arithmetic device 5 in the variable screen element table 620, and in order from the screen element information 1 set in this record. Each data ID and data length are acquired. Further, the control unit 60 acquires a data value corresponding to the acquired data ID from the setting content table 610. The control unit 60 sequentially generates response data corresponding to each screen element information using the data ID, data value, and data length acquired in this way, and stores the response data side by side to store the response data string 630. Generate. Further, the control unit 60 adds dummy response data indicating the end to the end of the response data string 630 (response data 3 in the example of FIG. 7). Note that the example of the response data string 630 illustrated in FIG. 7 corresponds to the record of the screen ID “0” in the variable screen element table 620 of FIG.
 図7に示す応答データ列630では、応答データ1において、データ部の2バイト目には、目標温度のデータ値(25℃)をBCD(二進化十進数)で表した値(0x25)が格納されている。 In the response data string 630 shown in FIG. 7, in the response data 1, the second byte of the data part stores a value (0x25) representing the target temperature data value (25 ° C.) in BCD (binary decimal number). Has been.
 第2DMAC661は、タイマ663から出力されたタイムアウト信号を検出する度に、応答データ列630から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する。 Each time the second DMAC 661 detects a time-out signal output from the timer 663, the second DMAC 661 reads data of a predetermined size (1 byte in the present embodiment) from the response data string 630 and transmits the data by the data transmission unit 664. Transfer to register.
 第3DMAC662は、データ送信部664から出力される送信完了信号の検出をトリガとして、1回のデータ転送を実行するDMAコントローラである。第3DMAC662は、第1DMAC660及び第2DMAC661と同様、読出開始アドレスレジスタ、読出データサイズレジスタ、オフセット値レジスタ等を備える。第3DMAC662の読出開始アドレスレジスタには、後述する描画制御処理において、制御部60により、RAM63における転送制御データ列631の格納先を示すメモリアドレスが設定される。また、第3DMAC662の読出データサイズレジスタ及びオフセット値レジスタには、リモートコントローラ1の電源オン時における初期化処理にて、それぞれ制御部60により“1”が設定される。 The third DMAC 662 is a DMA controller that executes one data transfer triggered by detection of a transmission completion signal output from the data transmission unit 664. Similar to the first DMAC 660 and the second DMAC 661, the third DMAC 662 includes a read start address register, a read data size register, an offset value register, and the like. In the read start address register of the third DMAC 662, a memory address indicating the storage destination of the transfer control data string 631 in the RAM 63 is set by the control unit 60 in a drawing control process described later. Further, the read data size register and the offset value register of the third DMAC 662 are set to “1” by the control unit 60 in the initialization process when the remote controller 1 is turned on.
 転送制御データ列631は、第2DMAC661のデータ転送を制御するためのデータ(転送制御データ)を複数格納したデータである(図8参照)。各転送制御データは、応答データ列630の各応答データと対応する。即ち、図7及び図8に示す例において、応答データ1と転送制御データ1、応答データ2と転送制御データ2及び応答データ3と転送制御データ3とがそれぞれ対応している。また、図8に示すように、転送制御データ列631の各転送制御データのデータ長は、対応する応答データのデータ長と同一である。各転送制御データには、先頭から1バイトずつ、そのデータ長-1バイト目まで、「転送開始」を示すデータ(本実施形態では、“0x01”)が格納される。そして、各転送制御データの末端には、「転送停止」を示すデータ(本実施形態では、“0x00”)が格納される。 The transfer control data string 631 is data that stores a plurality of data (transfer control data) for controlling the data transfer of the second DMAC 661 (see FIG. 8). Each transfer control data corresponds to each response data in the response data string 630. That is, in the example shown in FIGS. 7 and 8, response data 1 and transfer control data 1, response data 2, transfer control data 2, response data 3 and transfer control data 3 correspond to each other. As shown in FIG. 8, the data length of each transfer control data in the transfer control data string 631 is the same as the data length of the corresponding response data. In each transfer control data, data indicating “start of transfer” (in this embodiment, “0x01”) is stored for each byte from the beginning up to the data length minus the first byte. At the end of each transfer control data, data indicating “transfer stop” (in this embodiment, “0x00”) is stored.
 転送制御データ列631は、制御部60により、応答データ列630の生成に伴って生成され、RAM63に格納される。制御部60は、先に生成した応答データ列630に基づいて、転送制御データ列631を生成する。 The transfer control data sequence 631 is generated by the control unit 60 along with the generation of the response data sequence 630 and stored in the RAM 63. The control unit 60 generates a transfer control data sequence 631 based on the response data sequence 630 generated previously.
 第3DMAC662は、データ送信部664から出力される送信完了信号を検出する度に、転送制御データ列631から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、タイマ663の開始レジスタに転送する。 Each time the third DMAC 662 detects a transmission completion signal output from the data transmission unit 664, the third DMAC 662 reads data of a predetermined size (1 byte in the present embodiment) from the transfer control data string 631, and the timer 663 Transfer to the start register.
 タイマ663(転送信号出力部)は、開始レジスタを備え、開始レジスタに計時開始を示すデータ(本実施形態では、“0x01”)が格納されると計時を開始する。タイマ663には、予めタイムアウトまでのカウント値として1が設定されており、計時開始後、予め定めた時間が経過するとタイムアウト信号(転送信号)を出力する。 The timer 663 (transfer signal output unit) includes a start register, and starts counting when data indicating the start of timing (in this embodiment, “0x01”) is stored in the start register. In the timer 663, 1 is set in advance as a count value until timeout, and a timeout signal (transfer signal) is output when a predetermined time has elapsed after the start of timing.
 データ送信部664は、描画演算装置5に応答データを送信するための通信インタフェースである。この通信インタフェースの方式として、例えば、クロック同期型シリアル方式、非同期型シリアル通信方式、汎用バス方式等が採用され得る。データ送信部664は、送信レジスタにデータが格納されると送信を開始し、送信が完了すると送信完了信号を出力する。 The data transmission unit 664 is a communication interface for transmitting response data to the drawing arithmetic device 5. As the communication interface method, for example, a clock synchronous serial method, an asynchronous serial communication method, a general-purpose bus method, or the like can be adopted. The data transmission unit 664 starts transmission when data is stored in the transmission register, and outputs a transmission completion signal when transmission is completed.
 以上、リモートコントローラ1の構成について説明したが、リモートコントローラ1には、上述した各構成部に加え、空調機等の制御対象機器と通信するためのインタフェース(図示せず)等も備わっている。 Although the configuration of the remote controller 1 has been described above, the remote controller 1 includes an interface (not shown) for communicating with a control target device such as an air conditioner in addition to the above-described components.
 続いて、リモートコントローラ1の中央演算装置6が実行する描画制御に関する動作について説明する。図9及び図10は、中央演算装置6が実行する描画制御に関する処理(描画制御処理)の手順を示すフローチャートである。この描画制御処理は、リモートコントローラ1の電源がオンの間、繰り返し実行される。なお、以下の描画制御処理では、理解を容易にするため、表示内容の更新が必要である場合における更新後の表示画面には、変動する画面要素が含まれるものとして説明する。 Subsequently, operations related to drawing control executed by the central processing unit 6 of the remote controller 1 will be described. FIG. 9 and FIG. 10 are flowcharts showing the procedure of the drawing control processing (drawing control processing) executed by the central processing unit 6. This drawing control process is repeatedly executed while the remote controller 1 is powered on. Note that, in the following drawing control processing, in order to facilitate understanding, it is assumed that the updated display screen when the display content needs to be updated includes a changing screen element.
 制御部60は、ユーザによる操作受付部2を介した操作の結果、設定内容テーブル610の内容が更新されると、表示部3の表示内容の更新が必要か否かを判定する(ステップS101)。例えば、ユーザにより表示画面を切り替える操作が行われた場合、制御部60は、表示内容の更新が必要であると判定する。表示内容の更新が必要と判定した場合(ステップS101;YES)、制御部60は、上述したようにして、応答データ列630と、転送制御データ列631とを生成し、RAM63に保存する(ステップS102)。 When the content of the setting content table 610 is updated as a result of the operation through the operation accepting unit 2 by the user, the control unit 60 determines whether or not the display content of the display unit 3 needs to be updated (step S101). . For example, when the user performs an operation for switching the display screen, the control unit 60 determines that the display content needs to be updated. When it is determined that the display content needs to be updated (step S101; YES), the control unit 60 generates the response data string 630 and the transfer control data string 631 as described above, and stores them in the RAM 63 (step S101). S102).
 そして、制御部60は、第2DMAC661及び第3DMAC662それぞれの読出開始アドレスレジスタに読出開始アドレスを設定する(ステップS103)。より詳細には、制御部60は、第2DMAC661の読出開始アドレスレジスタに、RAM63における応答データ列630の格納先を示すメモリアドレスを設定する。また、制御部60は、第3DMAC662の読出開始アドレスレジスタに、RAM63における転送制御データ列631の格納先を示すメモリアドレスを設定する。 Then, the control unit 60 sets the read start address in the read start address register of each of the second DMAC 661 and the third DMAC 662 (step S103). More specifically, the control unit 60 sets a memory address indicating the storage destination of the response data string 630 in the RAM 63 in the read start address register of the second DMAC 661. In addition, the control unit 60 sets a memory address indicating the storage destination of the transfer control data string 631 in the RAM 63 in the read start address register of the third DMAC 662.
 制御部60は、描画演算装置5に表示内容の更新を要求するための、描画コマンドを生成し、コマンド送信部65を介して描画演算装置5に送信する(ステップS104)。この描画コマンドには、表示を要求する画面を特定するための情報(画面特定情報)が含まれる。画面特定情報として、例えば、画面IDや、画面データ記憶部4における対象の画面データの格納先を示す情報等が該当する。 The control unit 60 generates a drawing command for requesting the drawing operation device 5 to update the display contents, and transmits the drawing command to the drawing operation device 5 via the command transmission unit 65 (step S104). This drawing command includes information (screen specifying information) for specifying a screen to be displayed. Examples of the screen specifying information include a screen ID and information indicating a storage destination of target screen data in the screen data storage unit 4.
 かかる描画コマンドを受信した描画演算装置5は、当該描画コマンドに含まれる画面特定情報に基づいて、対応する画面データを画面データ記憶部4から読み出す。そして、描画演算装置5は、読み出した画面データに基づいて表示用の画面を生成し、表示部3に出力する。その際、描画演算装置5は、読み出した画面データに、中央演算装置6から、特定のデータを取得する必要があることを示すデータ要求フラグが格納されている場合には、中央演算装置6に対して、データ要求信号を出力する。データ要求フラグは、図4に示す変動画面要素テーブル620における画面要素情報と対応するようにして画面データに格納されている。即ち、画面ID“0”に対応する画面データでは、目標温度の取得要求を示すデータ要求フラグと、運転モードの取得要求を示すデータ要求フラグが格納されている。 The drawing calculation device 5 that has received the drawing command reads the corresponding screen data from the screen data storage unit 4 based on the screen specifying information included in the drawing command. Then, the drawing operation device 5 generates a display screen based on the read screen data and outputs the screen to the display unit 3. At that time, if the data request flag indicating that specific data needs to be acquired from the central processing unit 6 is stored in the read screen data, the drawing processing unit 5 stores the data in the central processing unit 6. On the other hand, a data request signal is output. The data request flag is stored in the screen data so as to correspond to the screen element information in the variable screen element table 620 shown in FIG. That is, in the screen data corresponding to the screen ID “0”, a data request flag indicating a target temperature acquisition request and a data request flag indicating an operation mode acquisition request are stored.
 なお、一の画面データに複数のデータ要求フラグが格納されている場合、描画演算装置5によるデータ要求信号の出力順序は、変動画面要素テーブル620の対応するレコードにおける画面要素情報の並び順と一致する。即ち、画面ID“0”に対応する画面データでは、描画演算装置5は、先ず、目標温度を示すデータを要求するためのデータ要求信号を出力する。そして、このデータ要求信号に対する中央演算装置6からの応答データを受信した後、運転モードを示すデータを要求するためのデータ要求信号を出力する。 When a plurality of data request flags are stored in one screen data, the output order of the data request signal by the drawing operation device 5 matches the arrangement order of the screen element information in the corresponding record of the variable screen element table 620. To do. That is, for the screen data corresponding to the screen ID “0”, the drawing arithmetic unit 5 first outputs a data request signal for requesting data indicating the target temperature. Then, after receiving response data from the central processing unit 6 with respect to this data request signal, a data request signal for requesting data indicating the operation mode is output.
 なお、本実施形態では、描画演算装置5は、最後のデータ要求フラグに応じた応答データ(例えば、運転モードを示すデータ)を中央演算装置6から受信すると、データ要求信号をさらにもう1回、出力する仕様となっている。この際のデータ要求信号に応答して、中央演算装置6は、「終端」を示す最後の応答データ(図7の例では、応答データ3)を描画演算装置5に送信する。 In the present embodiment, when the drawing operation device 5 receives response data (for example, data indicating the operation mode) according to the last data request flag from the central processing device 6, the drawing operation device 5 receives the data request signal once more. It is a specification to output. In response to the data request signal at this time, the central processing unit 6 transmits the last response data indicating “end” (response data 3 in the example of FIG. 7) to the drawing operation device 5.
 応答データ送信部66の第1DMAC660は、描画演算装置5からのデータ要求信号を検出すると(図10のステップS105;YES)、転送制御初期値665を読み出し、タイマ663の開始レジスタに転送する(ステップS106)。これによりタイマ663が起動して計時を開始する。しかるのち、タイマ663からタイムアウト信号が出力されると(ステップS107;YES)、第2DMAC661は、応答データ列630から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する(ステップS108)。 When the first DMAC 660 of the response data transmission unit 66 detects the data request signal from the drawing arithmetic unit 5 (step S105 in FIG. 10; YES), the first DMAC 660 reads the transfer control initial value 665 and transfers it to the start register of the timer 663 (step S105). S106). As a result, the timer 663 is activated to start measuring time. Thereafter, when a time-out signal is output from the timer 663 (step S107; YES), the second DMAC 661 reads data of a predetermined size (1 byte in the present embodiment) from the response data string 630, The data is transferred to the transmission register of the data transmission unit 664 (step S108).
 送信レジスタにデータが格納されると、データ送信部664は、このデータを描画演算装置5に対して送信する。そして、データ送信部664によって送信完了信号が出力されると(ステップS109:YES)、第3DMAC662は、転送制御データ列631から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、タイマ663の開始レジスタに転送する(ステップS110)。 When data is stored in the transmission register, the data transmission unit 664 transmits this data to the drawing arithmetic unit 5. When the transmission completion signal is output by the data transmission unit 664 (step S109: YES), the third DMAC 662 receives data of a predetermined size (1 byte in the present embodiment) from the transfer control data sequence 631. Is transferred to the start register of the timer 663 (step S110).
 タイマ663の開始レジスタに転送したデータが“転送停止”を示すものでない場合(ステップS111;NO)、応答データ送信部66の動作は、タイマ663によるタイムアウト信号の出力を待つ状態となる(ステップS107)。 When the data transferred to the start register of the timer 663 does not indicate “transfer stop” (step S111; NO), the operation of the response data transmission unit 66 waits for the output of a timeout signal by the timer 663 (step S107). ).
 一方、タイマ663の開始レジスタに転送したデータが“転送停止”を示すものである場合であって(ステップS111;YES)、未転送の応答データがある場合(ステップS112;NO)、応答データ送信部66の動作は、描画演算装置5による次のデータ要求信号の出力を待つ状態となる(ステップS105)。未転送の応答データがない場合(ステップS112;YES)、即ち、全ての応答データを描画演算装置5に送信した場合、今回の表示内容の更新について、中央演算装置6による描画制御処理が終了する。 On the other hand, if the data transferred to the start register of the timer 663 indicates "transfer stop" (step S111; YES), and there is untransferred response data (step S112; NO), response data transmission The operation of the unit 66 waits for the output of the next data request signal by the drawing arithmetic unit 5 (step S105). When there is no untransferred response data (step S112; YES), that is, when all the response data is transmitted to the drawing arithmetic unit 5, the drawing control process by the central arithmetic unit 6 ends for the update of the display contents this time. .
 なお、更新後の表示画面に、変動する画面要素が含まれない場合では、制御部60は、応答データ列630及び転送制御データ列631を生成することなく、描画コマンドを送信するのみで、直ちに描画制御処理が終了する。この場合は、描画演算装置5からデータ要求信号が出力されることがなく、応答データ送信部66は、上述したような動作を行うことはない。 When the updated display screen does not include a fluctuating screen element, the control unit 60 does not generate the response data sequence 630 and the transfer control data sequence 631, but simply transmits a drawing command and immediately The drawing control process ends. In this case, a data request signal is not output from the drawing arithmetic unit 5, and the response data transmission unit 66 does not perform the operation described above.
 以上説明したように、本実施形態のリモートコントローラ1では、変動する画面要素を含む画面を表示する必要が生じた場合、中央演算装置6(制御装置)の制御部60は、当該画面に対応する応答データ列630を予め生成し、RAM63に保存しておく。そして、以後の処理については、応答データ送信部66が、描画演算装置5からのデータ要求信号の検出に応じて、制御部60、即ち、CPUを介さずに描画演算装置5への応答通信を実行する。このため、フルドット形式の液晶デバイスでの画面表示であっても、描画演算装置5への応答速度を確保しながら、制御部60(CPU)の負荷を軽減することができる。したがって、制御部60は、空調機(制御対象機器)の制御に関するメイン処理を遅延なく実行できる。 As described above, in the remote controller 1 of the present embodiment, when it is necessary to display a screen including a changing screen element, the control unit 60 of the central processing unit 6 (control device) corresponds to the screen. A response data string 630 is generated in advance and stored in the RAM 63. For the subsequent processing, the response data transmission unit 66 performs response communication to the drawing arithmetic device 5 without going through the control unit 60, that is, the CPU, in response to the detection of the data request signal from the drawing arithmetic device 5. Execute. For this reason, even if it is a screen display by a liquid crystal device of a full dot format, the load of the control part 60 (CPU) can be reduced, ensuring the response speed to the drawing arithmetic unit 5. Therefore, the control part 60 can perform the main process regarding control of an air conditioner (control object apparatus) without delay.
 また、応答データ送信部66は、簡易な構成のメモリ転送回路で実現できるため、中央演算装置6の高コスト化を招くことがない。 Further, since the response data transmission unit 66 can be realized by a memory transfer circuit having a simple configuration, the cost of the central processing unit 6 is not increased.
 また、画面データ等を中央演算装置6とは別体の画面データ記憶部4に格納し、描画演算装置5が直接に画面データ記憶部4から画面データ等を取得する構成としているため、中央演算装置6に搭載するメモリの容量を増加させる必要がなく低コスト化が図れる。 Further, since the screen data and the like are stored in the screen data storage unit 4 separate from the central processing unit 6 and the drawing arithmetic unit 5 directly acquires the screen data and the like from the screen data storage unit 4, the central processing unit It is not necessary to increase the capacity of the memory mounted on the device 6, and the cost can be reduced.
 なお、本実施形態では、第3DMAC662によるデータ転送の実行は、データ送信部664から出力された送信完了信号の検出をトリガとしていたが、他の信号の検出をトリガとしてもよい。この場合、例えば、応答データ送信部66には、タイマ663とは別のタイマが設けられている。このタイマは、タイマ663からタイムアウト信号が出力される度に計時を開始し、予め定めた時間が経過するとタイムアウト信号を第3DMAC662に対して出力する。つまり、この追加したタイマは、データ送信部664によるデータ送信の開始から予め定めた時間が経過するとタイムアウト信号を第3DMAC662に出力する。第3DMAC662は、このタイムアウト信号の検出をトリガとして、1回のデータ転送を実行すればよい。 In the present embodiment, the execution of data transfer by the third DMAC 662 is triggered by the detection of the transmission completion signal output from the data transmission unit 664. However, the detection of other signals may be triggered. In this case, for example, the response data transmission unit 66 is provided with a timer different from the timer 663. This timer starts timing every time a time-out signal is output from the timer 663, and outputs a time-out signal to the third DMAC 662 when a predetermined time elapses. That is, the added timer outputs a time-out signal to the third DMAC 662 when a predetermined time has elapsed from the start of data transmission by the data transmission unit 664. The third DMAC 662 may execute one data transfer with the detection of the timeout signal as a trigger.
(実施形態2)
 続いて、本発明の実施形態2に係るリモートコントローラについて説明する。なお、以下の説明において、実施形態1と共通する構成要素等については、同一の符号を付し、その説明を省略する。
(Embodiment 2)
Next, a remote controller according to the second embodiment of the present invention will be described. In the following description, components and the like that are common to the first embodiment are denoted by the same reference numerals, and description thereof is omitted.
 実施形態2のリモートコントローラでは、中央演算装置6の制御部60は、応答データ列630の替わりに、図11に示すように、先頭応答データ列632と、後方応答データ列633とを生成し、RAM63に保存する。 In the remote controller of the second embodiment, the control unit 60 of the central processing unit 6 generates a top response data sequence 632 and a backward response data sequence 633 as shown in FIG. 11 instead of the response data sequence 630, Save in the RAM 63.
 先頭応答データ列632は、応答データ列630(図7参照)における各応答データの先頭から予め定めたサイズ(本実施形態では、1バイト)分に相当するデータである先頭応答データを複数格納したデータである。後方応答データ列633は、応答データ列630の各応答データにおける上記の先頭応答データに相当する部分を除くデータ(本実施形態では、データ部領域のデータ)を後方応答データとして複数格納したデータである。換言すると、先頭応答データ列632及び後方応答データ列633は、応答データ列630を分割した態様のデータである。先頭応答データ列632の一例を図12に、後方応答データ列633の一例を図13に示す。 The head response data string 632 stores a plurality of head response data that is data corresponding to a predetermined size (1 byte in the present embodiment) from the head of each response data in the response data string 630 (see FIG. 7). It is data. The backward response data string 633 is data in which a plurality of pieces of data (in this embodiment, data in the data portion area) excluding the portion corresponding to the head response data in each response data of the response data string 630 are stored as backward response data. is there. In other words, the top response data string 632 and the backward response data string 633 are data in a form in which the response data string 630 is divided. An example of the top response data string 632 is shown in FIG. 12, and an example of the backward response data string 633 is shown in FIG.
 図14に示すように、本実施形態の応答データ送信部66aは、実施形態1と同様、第1DMAC660と、第2DMAC661と、第3DMAC662と、タイマ663と、データ送信部664と、を備える。 As shown in FIG. 14, the response data transmission unit 66a of this embodiment includes a first DMAC 660, a second DMAC 661, a third DMAC 662, a timer 663, and a data transmission unit 664, as in the first embodiment.
 但し、本実施形態では、第1DMAC660は、描画演算装置5からのデータ要求信号を検出する度に、先頭応答データ列632から、予め定められたサイズ(本例では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する。また、第2DMAC661は、タイマ663から出力されるタイムアウト信号を検出する度に、後方応答データ列633から、予め定められたサイズ(本例では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する。第3DMAC662、タイマ663及びデータ送信部664の動作については、実施形態1と同様である。 However, in this embodiment, every time the first DMAC 660 detects a data request signal from the drawing arithmetic unit 5, data corresponding to a predetermined size (1 byte in this example) is read from the top response data string 632. Read and transfer to the transmission register of the data transmission unit 664. Each time the second DMAC 661 detects a time-out signal output from the timer 663, the second DMAC 661 reads data of a predetermined size (1 byte in this example) from the backward response data string 633, and the data transmission unit 664 Transfer to the send register. The operations of the third DMAC 662, the timer 663, and the data transmission unit 664 are the same as in the first embodiment.
 続いて、以上のように構成される本実施形態のリモートコントローラにおいて、中央演算装置6が実行する描画制御に関する動作について説明する。図15及び図16は、中央演算装置6が実行する描画制御処理の手順を示すフローチャートである。なお、実施形態1と同様、以下の描画制御処理では、理解を容易にするため、表示内容の更新が必要である場合における更新後の表示画面には、変動する画面要素が含まれるものとして説明する。 Next, operations relating to drawing control executed by the central processing unit 6 in the remote controller of the present embodiment configured as described above will be described. 15 and 16 are flowcharts showing the procedure of the drawing control process executed by the central processing unit 6. Note that, as in the first embodiment, in the following drawing control processing, in order to facilitate understanding, it is assumed that the updated display screen when the display content needs to be updated includes a changing screen element. To do.
 制御部60は、ユーザによる操作受付部2を介した操作の結果、設定内容テーブル610の内容が更新されると、表示部3が表示する内容の更新が必要か否かを判定する(ステップS201)。その結果、表示内容の更新が必要と判定した場合(ステップS201;YES)、制御部60は、先頭応答データ列632と、後方応答データ列633と、転送制御データ列631とを生成し、RAM63に保存する(ステップS202)。 When the content of the setting content table 610 is updated as a result of the operation through the operation accepting unit 2 by the user, the control unit 60 determines whether or not the content displayed on the display unit 3 needs to be updated (step S201). ). As a result, when it is determined that the display content needs to be updated (step S201; YES), the control unit 60 generates a top response data string 632, a backward response data string 633, and a transfer control data string 631, and the RAM 63 (Step S202).
 そして、制御部60は、第1DMAC660~第3DMAC662それぞれの読出開始アドレスレジスタに読出開始アドレスを設定する(ステップS203)。より詳細には、制御部60は、第1DMAC660の読出開始アドレスレジスタに、RAM63における先頭応答データ列632の格納先を示すメモリアドレスを設定する。また、制御部60は、第2DMAC661の読出開始アドレスレジスタに、RAM63における後方応答データ列633の格納先を示すメモリアドレスを設定する。また、制御部60は、第3DMAC662の読出開始アドレスレジスタに、RAM63における転送制御データ列631の格納先を示すメモリアドレスを設定する。 Then, the control unit 60 sets the read start address in the read start address register of each of the first DMAC 660 to the third DMAC 662 (step S203). More specifically, the control unit 60 sets a memory address indicating the storage destination of the head response data string 632 in the RAM 63 in the read start address register of the first DMAC 660. Further, the control unit 60 sets a memory address indicating the storage destination of the backward response data string 633 in the RAM 63 in the read start address register of the second DMAC 661. In addition, the control unit 60 sets a memory address indicating the storage destination of the transfer control data string 631 in the RAM 63 in the read start address register of the third DMAC 662.
 制御部60は、描画演算装置5に表示内容の更新を要求するための、描画コマンドを生成し、コマンド送信部65を介して描画演算装置5に送信する(ステップS204)。 The control unit 60 generates a drawing command for requesting the drawing calculation device 5 to update the display contents, and transmits the drawing command to the drawing calculation device 5 via the command transmission unit 65 (step S204).
 かかる描画コマンドに応答して描画演算装置5から出力されたデータ要求信号を検出すると(図16のステップS205;YES)、応答データ送信部66aの第1DMAC660は、先頭応答データ列632から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する(ステップS206)。 When the data request signal output from the drawing arithmetic unit 5 in response to the drawing command is detected (step S205 in FIG. 16; YES), the first DMAC 660 of the response data transmitting unit 66a determines in advance from the head response data string 632. Data corresponding to the size (1 byte in the present embodiment) is read and transferred to the transmission register of the data transmission unit 664 (step S206).
 送信レジスタにデータが格納されると、データ送信部664は、このデータを描画演算装置5に対して送信する。そして、データの送信が完了し、データ送信部664から送信完了信号が出力されると(ステップS207:YES)、第3DMAC662は、転送制御データ列631から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、タイマ663の開始レジスタに転送する(ステップS208)。 When data is stored in the transmission register, the data transmission unit 664 transmits this data to the drawing arithmetic unit 5. When the data transmission is completed and a transmission completion signal is output from the data transmission unit 664 (step S207: YES), the third DMAC 662 determines a predetermined size (in this embodiment, from the transfer control data sequence 631). 1 byte) of data is read out and transferred to the start register of the timer 663 (step S208).
 タイマ663の開始レジスタに転送したデータが“転送停止”を示すものでない場合(ステップS209;NO)、応答データ送信部66aの動作は、タイマ663によるタイムアウト信号の出力を待つ状態となる(ステップS210)。しかるのち、タイマ663からタイムアウト信号が出力されると(ステップS210;YES)、第2DMAC661は、後方応答データ列633から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する(ステップS211)。その後、応答データ送信部66aの動作は、データ送信部664による送信完了信号の出力を待つ状態となる(ステップS207)。 When the data transferred to the start register of the timer 663 does not indicate “transfer stop” (step S209; NO), the operation of the response data transmission unit 66a waits for the timer 663 to output a timeout signal (step S210). ). Thereafter, when a time-out signal is output from the timer 663 (step S210; YES), the second DMAC 661 reads data of a predetermined size (1 byte in the present embodiment) from the backward response data string 633. Then, the data is transferred to the transmission register of the data transmission unit 664 (step S211). Thereafter, the operation of the response data transmitter 66a waits for the output of the transmission completion signal by the data transmitter 664 (step S207).
 一方、タイマ663の開始レジスタに転送したデータが“転送停止”を示すものである場合であって(ステップS209;YES)、未転送の先頭応答データ又は後方応答データがある場合(ステップS212;NO)、応答データ送信部66aの動作は、描画演算装置5による次のデータ要求信号の出力を待つ状態となる(ステップS205)。未転送の先頭応答データ及び後方応答データがない場合(ステップS212;YES)、換言すると、全ての応答データを描画演算装置5に送信した場合、今回の表示内容の更新についての中央演算装置6による描画制御処理が終了する。 On the other hand, if the data transferred to the start register of the timer 663 indicates "transfer stop" (step S209; YES), and there is untransferred top response data or backward response data (step S212; NO) ) The operation of the response data transmission unit 66a waits for the next data request signal to be output by the drawing arithmetic unit 5 (step S205). When there is no untransferred top response data and backward response data (step S212; YES), in other words, when all the response data is transmitted to the drawing arithmetic unit 5, the central arithmetic unit 6 regarding the update of the display contents this time The drawing control process ends.
 以上のように、本実施形態のリモートコントローラでは、変動する画面要素を含む画面を表示する必要が生じた場合、中央演算装置6(制御装置)の制御部60は、当該画面に対応する先頭応答データ列632及び後方応答データ列633を予め生成し、RAM63に保存しておく。そして、以後の処理については、応答データ送信部66aが、描画演算装置5からのデータ要求信号の検出に応じて、制御部60、即ち、CPUを介さずに応答通信を実行する。したがって、実施形態1のリモートコントローラ1と同様の効果を奏し得る。 As described above, in the remote controller of the present embodiment, when it becomes necessary to display a screen including a fluctuating screen element, the control unit 60 of the central processing unit 6 (control device) responds with the head response corresponding to the screen. A data string 632 and a backward response data string 633 are generated in advance and stored in the RAM 63. For the subsequent processing, the response data transmission unit 66a executes response communication without using the control unit 60, that is, the CPU, in response to the detection of the data request signal from the drawing arithmetic unit 5. Therefore, the same effect as that of the remote controller 1 of the first embodiment can be obtained.
(実施形態3)
 続いて、本発明の実施形態3に係るリモートコントローラについて説明する。なお、以下の説明において、実施形態1又は2と共通する構成要素等については、同一の符号を付し、その説明を省略する。
(Embodiment 3)
Next, a remote controller according to the third embodiment of the present invention will be described. In the following description, the same reference numerals are given to components common to the first or second embodiment, and the description thereof is omitted.
 実施形態3のリモートコントローラでは、中央演算装置6の制御部60は、実施形態2と同様の手法にて、先頭応答データ列632と、後方応答データ列633とを生成し、RAM63に保存する(図11~図13参照)。但し、実施形態3のリモートコントローラでは、制御部60により生成される転送制御データ列631の内容が、実施形態1、2と異なる。 In the remote controller of the third embodiment, the control unit 60 of the central processing unit 6 generates a top response data string 632 and a backward response data string 633 by the same method as in the second embodiment, and stores it in the RAM 63 ( (See FIGS. 11 to 13). However, in the remote controller of the third embodiment, the contents of the transfer control data string 631 generated by the control unit 60 are different from those of the first and second embodiments.
 本実施形態では、転送制御データ列631の各転送制御データには、先頭応答データ列632の対応する先頭応答データのデータ長と、後方応答データ列633の対応する後方応答データのデータ長とに基づくデータ、即ち、対応する応答データ(図7参照)のデータ長に基づくデータが格納される。さらに詳細には、本実施形態の転送制御データ列631の各転送制御データには、対応する応答データのデータ長-1を示す数値が格納される(図17参照)。 In this embodiment, each transfer control data in the transfer control data string 631 includes a data length of the corresponding head response data in the head response data string 632 and a data length of the corresponding back response data in the rear response data string 633. Based data, that is, data based on the data length of corresponding response data (see FIG. 7) is stored. More specifically, each transfer control data in the transfer control data string 631 of this embodiment stores a numerical value indicating the data length −1 of the corresponding response data (see FIG. 17).
 図18は、本実施形態の応答データ送信部66bの構成を示すブロック図である。応答データ送信部66bは、第1DMAC660と、第2DMAC661と、第3DMAC662と、データ送信部664と、を備える。即ち、応答データ送信部66bは、応答データ送信部66及び66aの各々が備えるタイマ663が除かれた構成となっている。 FIG. 18 is a block diagram illustrating a configuration of the response data transmission unit 66b of the present embodiment. The response data transmission unit 66b includes a first DMAC 660, a second DMAC 661, a third DMAC 662, and a data transmission unit 664. That is, the response data transmission unit 66b has a configuration in which the timer 663 provided in each of the response data transmission units 66 and 66a is removed.
 応答データ送信部66bの第1DMAC660は、実施形態2と同様、描画演算装置5からのデータ要求信号を検出する度に、先頭応答データ列632から、予め定められたサイズ(本例では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する。 As in the second embodiment, the first DMAC 660 of the response data transmission unit 66b detects a data request signal from the drawing arithmetic unit 5 every time it detects a data request signal from the head response data string 632 (in this example, 1 byte). ) Portion of data is read out and transferred to the transmission register of the data transmission unit 664.
 応答データ送信部66bの第2DMAC661は、実施形態1、実施形態2の第2DMAC661が備える各レジスタに加えて、さらに、未転送数レジスタ(図示せず)を備える。未転送数レジスタは、第2DMAC661がデータ転送を行うべき残りの回数(未転送数)を格納するためのレジスタである。第2DMAC661は、データ送信部664から出力された送信完了信号を検出する度に、未転送数レジスタの格納値、即ち、未転送数が1以上であることを条件に、後方応答データ列633から、予め定められたサイズ(本例では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する。第2DMAC661は、データ転送を完了すると、未転送数レジスタの格納値をデクリメントする。 The second DMAC 661 of the response data transmission unit 66b further includes an untransferred number register (not shown) in addition to the registers included in the second DMAC 661 of the first and second embodiments. The untransferred number register is a register for storing the remaining number of times (untransferred number) that the second DMAC 661 should perform data transfer. Each time the second DMAC 661 detects the transmission completion signal output from the data transmission unit 664, the second DMAC 661 starts from the backward response data string 633 on the condition that the stored value of the untransferred number register, that is, the untransferred number is 1 or more. The data for a predetermined size (1 byte in this example) is read and transferred to the transmission register of the data transmission unit 664. When the second DMAC 661 completes the data transfer, the second DMAC 661 decrements the value stored in the untransferred number register.
 応答データ送信部66bの第3DMAC662は、描画演算装置5からのデータ要求信号を検出する度に、転送制御データ列631から、予め定められたサイズ(本例では、1バイト)分のデータを読み出し、第2DMAC661の未転送数レジスタに転送する。 The third DMAC 662 of the response data transmission unit 66b reads data of a predetermined size (1 byte in this example) from the transfer control data sequence 631 every time it detects a data request signal from the drawing arithmetic unit 5. , Transfer to the untransferred number register of the second DMAC 661.
 応答データ送信部66bのデータ送信部664は、実施形態1及び2のデータ送信部664と同様の動作を行う。但し、応答データ送信部66bでは、送信完了信号の出力先が第2DMAC661となっている。 The data transmission unit 664 of the response data transmission unit 66b performs the same operation as the data transmission unit 664 of the first and second embodiments. However, in the response data transmission unit 66b, the output destination of the transmission completion signal is the second DMAC 661.
 続いて、以上のように構成される本実施形態のリモートコントローラにおいて、中央演算装置6が実行する描画制御に関する動作について説明する。なお、本実施形態の中央演算装置6が実行する描画制御処理において、制御部60が描画演算装置5に対して描画コマンドを生成するまでの処理については、実施形態2と同様のため(図15参照)、その説明を省略する。また、実施形態1及び2と同様、理解を容易にするため、表示内容の更新が必要である場合における更新後の表示画面には、変動する画面要素が含まれるものとして説明する。 Next, operations relating to drawing control executed by the central processing unit 6 in the remote controller of the present embodiment configured as described above will be described. Note that, in the drawing control processing executed by the central processing unit 6 of the present embodiment, the processing until the control unit 60 generates a drawing command for the drawing processing device 5 is the same as in the second embodiment (FIG. 15). The description thereof is omitted. Similarly to the first and second embodiments, in order to facilitate understanding, the display screen after updating when the display content needs to be updated will be described as including a changing screen element.
 制御部60が送信した描画コマンドに応答して描画演算装置5から出力されたデータ要求信号を検出すると(図19のステップS301;YES)、第3DMAC662は、転送制御データ列631から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、第2DMAC661の未転送数レジスタに転送する(ステップS302)。 When the data request signal output from the drawing arithmetic unit 5 in response to the drawing command transmitted by the control unit 60 is detected (step S301 in FIG. 19; YES), the third DMAC 662 is determined in advance from the transfer control data string 631. The data corresponding to the size (1 byte in this embodiment) is read and transferred to the untransferred number register of the second DMAC 661 (step S302).
 上記同様にデータ要求信号を検出すると、第1DMAC660は、先頭応答データ列632から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する(ステップS303)。 When the data request signal is detected in the same manner as described above, the first DMAC 660 reads data of a predetermined size (1 byte in this embodiment) from the head response data string 632 and transfers it to the transmission register of the data transmission unit 664. (Step S303).
 送信レジスタにデータが格納されると、データ送信部664は、このデータを描画演算装置5に対して送信する。データの送信が完了し、データ送信部664から送信完了信号が出力されると(ステップS304:YES)、第2DMAC661は、未転送数レジスタの格納値(即ち、未転送数)が1以上であるか否かを判定する(ステップS305)。 When data is stored in the transmission register, the data transmission unit 664 transmits this data to the drawing arithmetic unit 5. When the transmission of data is completed and a transmission completion signal is output from the data transmission unit 664 (step S304: YES), the second DMAC 661 has a storage value (that is, an untransferred number) in the untransferred number register of 1 or more. Whether or not (step S305).
 未転送数が1以上である場合(ステップS305;YES)、第2DMAC661は、後方応答データ列633から、予め定められたサイズ(本実施形態では、1バイト)分のデータを読み出し、データ送信部664の送信レジスタに転送する(ステップS306)。また、第2DMAC661は、未転送数レジスタの格納値をデクリメントする(ステップS307)。 When the number of untransferred is 1 or more (step S305; YES), the second DMAC 661 reads data for a predetermined size (1 byte in the present embodiment) from the backward response data string 633, and transmits the data transmission unit. The data is transferred to the transmission register 664 (step S306). The second DMAC 661 decrements the stored value of the untransferred number register (step S307).
 一方、未転送数が1以上でない場合であって(ステップS305;NO)、未転送の先頭応答データ又は後方応答データがある場合(ステップS308;NO)、応答データ送信部66bの動作は、描画演算装置5による次のデータ要求信号の出力を待つ状態となる(ステップS301)。未転送の先頭応答データ及び後方応答データがない場合(ステップS308;YES)、換言すると、全ての応答データを描画演算装置5に送信した場合、今回の表示内容の更新についての中央演算装置6による描画制御処理が終了する。 On the other hand, when the number of untransferred is not 1 or more (step S305; NO) and there is untransferred top response data or backward response data (step S308; NO), the operation of the response data transmitting unit 66b is drawn. The operation device 5 waits for the next data request signal to be output (step S301). When there is no untransferred top response data and backward response data (step S308; YES), in other words, when all the response data is transmitted to the drawing arithmetic unit 5, the central arithmetic unit 6 for updating the display contents this time The drawing control process ends.
 以上説明したように、本実施形態のリモートコントローラでは、変動する画面要素を含む画面を表示する必要が生じた場合、中央演算装置6(制御装置)の制御部60は、当該画面に対応する先頭応答データ列632及び後方応答データ列633を予め生成し、RAM63に保存しておく。そして、以後の処理については、応答データ送信部66bが、描画演算装置5からのデータ要求信号の検出に応じて、制御部60、即ち、CPUを介さずに応答通信を実行する。したがって、実施形態1のリモートコントローラ1及び実施形態2のリモートコントローラと同様の効果を奏し得る。 As described above, in the remote controller according to the present embodiment, when it is necessary to display a screen including a fluctuating screen element, the control unit 60 of the central processing unit 6 (control device) causes the head corresponding to the screen to be displayed. A response data string 632 and a backward response data string 633 are generated in advance and stored in the RAM 63. For the subsequent processing, the response data transmission unit 66b executes response communication without using the control unit 60, that is, the CPU, in response to detection of the data request signal from the drawing arithmetic unit 5. Therefore, the same effects as those of the remote controller 1 of the first embodiment and the remote controller of the second embodiment can be obtained.
 さらに、本実施形態のリモートコントローラでは、実施形態1及び2の場合と比較し、転送制御データ列631のサイズを小さくすることができるため、中央演算装置6におけるRAM63等のメモリの使用量を低減できる。また、応答データ送信部66bにおいて、データ送信部664による送信完了信号の出力後、1回のデータ転送動作で、次のデータが送信レジスタにセットされる。このため、描画演算装置5に対する応答速度のさらなる向上が図れる。 Further, in the remote controller according to the present embodiment, the size of the transfer control data string 631 can be reduced as compared with the cases of the first and second embodiments, so that the amount of memory such as the RAM 63 in the central processing unit 6 is reduced. it can. In response data transmission unit 66b, after the transmission completion signal is output by data transmission unit 664, the next data is set in the transmission register by one data transfer operation. For this reason, the response speed with respect to the drawing arithmetic unit 5 can be further improved.
 本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention is capable of various embodiments and modifications without departing from the broad spirit and scope of the present invention. Further, the above-described embodiment is for explaining the present invention, and does not limit the scope of the present invention. That is, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.
 本発明は、家電機器や、設備機器などを操作するためのリモートコントローラに好適に採用され得る。 The present invention can be suitably employed in a remote controller for operating home appliances, equipment, and the like.
 1 リモートコントローラ、2 操作受付部、3 表示部、4 画面データ記憶部、5 描画演算装置、6 中央演算装置、60 制御部、61 設定内容記憶部、62 ROM、63 RAM、64 入力ポート、65 コマンド送信部、66,66a,66b 応答データ送信部、610 設定内容テーブル、620 変動画面要素テーブル、630 応答データ列、631 転送制御データ列、632 先頭応答データ列、633 後方応答データ列、660 第1DMAC、661 第2DMAC、662 第3DMAC、663 タイマ、664 データ送信部、665 転送制御初期値 1 remote controller, 2 operation accepting unit, 3 display unit, 4 screen data storage unit, 5 drawing arithmetic unit, 6 central processing unit, 60 control unit, 61 setting content storage unit, 62 ROM, 63 RAM, 64 input port, 65 Command transmission unit, 66, 66a, 66b Response data transmission unit, 610 Setting content table, 620 Fluctuating screen element table, 630 Response data column, 631 Transfer control data column, 632 First response data column, 633 Back response data column, 660 1DMAC, 661 2nd DMAC, 662 3rd DMAC, 663 timer, 664 data transmitter, 665 transfer control initial value

Claims (5)

  1.  描画処理専用のハードウェア回路で構成された描画演算装置に特定の描画処理を実行させるための描画コマンドを生成する制御部と、
     前記制御部が生成した前記描画コマンドを前記描画演算装置に送信するコマンド送信部と、
     前記描画コマンドの送信後、前記描画演算装置からのデータ要求に対する応答通信を前記制御部を介さずに実行する応答データ送信部と、を備え、
     前記制御部は、前記描画コマンドを生成する際、前記描画コマンドに対応した前記描画演算装置への応答データと、前記応答データを前記応答データ送信部が前記描画演算装置に送信するための制御データと、を予め生成し、生成した前記応答データ及び前記制御データを予め定めたメモリに保存し、
     前記応答データ送信部は、前記応答データ及び前記制御データに基づいて、前記応答通信を実行する、制御装置。
    A control unit that generates a drawing command for causing a drawing arithmetic unit configured by a hardware circuit dedicated to the drawing process to execute a specific drawing process;
    A command transmission unit that transmits the drawing command generated by the control unit to the drawing arithmetic device;
    A response data transmission unit that executes response communication to the data request from the drawing arithmetic device without passing through the control unit after transmitting the drawing command;
    When the control unit generates the drawing command, response data to the drawing arithmetic device corresponding to the drawing command and control data for the response data transmitting unit to transmit the response data to the drawing arithmetic device And storing the generated response data and the control data in a predetermined memory,
    The said response data transmission part is a control apparatus which performs the said response communication based on the said response data and the said control data.
  2.  前記制御データは、転送開始を示すデータと、転送停止を示すデータとを含み、
     前記応答データ送信部は、データ送信部と、転送信号出力部と、第1DMAコントロ-ラと、第2DMAコントロ-ラと、第3DMAコントロ-ラと、を備え、
     前記転送信号出力部は、前記転送開始を示すデータを受信すると、予め定めたタイミングで転送信号を出力し、
     前記データ送信部は、受信したデータを前記描画演算装置に送信し、
     前記第1DMAコントローラは、前記描画演算装置からのデータ要求信号を検出する度に、前記転送開始を示すデータを前記転送信号出力部に転送し、
     前記第2DMAコントローラは、前記転送信号を検出する度に、前記応答データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記データ送信部に転送し、
     前記第3DMAコントローラは、前記データ送信部によるデータの送信が完了したことを示す信号を検出する度に、前記制御データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記転送信号出力部に転送する、請求項1に記載の制御装置。
    The control data includes data indicating transfer start and data indicating transfer stop,
    The response data transmission unit includes a data transmission unit, a transfer signal output unit, a first DMA controller, a second DMA controller, and a third DMA controller,
    When the transfer signal output unit receives data indicating the transfer start, the transfer signal output unit outputs a transfer signal at a predetermined timing,
    The data transmission unit transmits the received data to the drawing arithmetic device,
    Each time the first DMA controller detects a data request signal from the drawing arithmetic unit, the first DMA controller transfers data indicating the transfer start to the transfer signal output unit,
    Each time the second DMA controller detects the transfer signal, it sequentially reads data of a predetermined size from the top of the response data, transfers the read data to the data transmission unit,
    Each time the third DMA controller detects a signal indicating that data transmission by the data transmission unit is completed, the third DMA controller sequentially reads data of a predetermined size from the top of the control data, and transfers the read data to the transfer unit. The control device according to claim 1, wherein the control device transfers the signal to a signal output unit.
  3.  前記制御部は、前記応答データを先頭応答データと後方応答データの2つのデータに分割して前記メモリに保存し、
     前記制御データは、転送開始を示すデータと、転送停止を示すデータとを含み、
     前記応答データ送信部は、データ送信部と、転送信号出力部と、第1DMAコントロ-ラと、第2DMAコントロ-ラと、第3DMAコントロ-ラと、を備え、
     前記転送信号出力部は、前記転送開始を示すデータを受信すると、予め定めたタイミングで転送信号を出力し、
     前記データ送信部は、受信したデータを前記描画演算装置に送信し、
     前記第1DMAコントローラは、前記描画演算装置からのデータ要求信号を検出する度に、前記先頭応答データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記データ送信部に転送し、
     前記第2DMAコントローラは、前記転送信号を検出する度に、前記後方応答データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記データ送信部に転送し、
     前記第3DMAコントローラは、前記データ送信部によるデータの送信が完了したことを示す信号を検出する度に、前記制御データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記転送信号出力部に転送する、請求項1に記載の制御装置。
    The control unit divides the response data into two data, a top response data and a back response data, and stores the data in the memory,
    The control data includes data indicating transfer start and data indicating transfer stop,
    The response data transmission unit includes a data transmission unit, a transfer signal output unit, a first DMA controller, a second DMA controller, and a third DMA controller,
    When the transfer signal output unit receives data indicating the transfer start, the transfer signal output unit outputs a transfer signal at a predetermined timing,
    The data transmission unit transmits the received data to the drawing arithmetic device,
    Each time the first DMA controller detects a data request signal from the drawing arithmetic unit, the first DMA controller sequentially reads data of a predetermined size from the top of the head response data, and transfers the read data to the data transmission unit. ,
    Each time the second DMA controller detects the transfer signal, it sequentially reads data of a predetermined size from the head of the backward response data, transfers the read data to the data transmission unit,
    Each time the third DMA controller detects a signal indicating that data transmission by the data transmission unit is completed, the third DMA controller sequentially reads data of a predetermined size from the top of the control data, and transfers the read data to the transfer unit. The control device according to claim 1, wherein the control device transfers the signal to a signal output unit.
  4.  前記制御部は、前記応答データを先頭応答データと後方応答データの2つのデータに分割して前記メモリに保存し、
     前記制御データは、前記後方応答データに対応した、必要なデータ転送回数を示すデータを含み、
     前記応答データ送信部は、データ送信部と、第1DMAコントロ-ラと、第2DMAコントロ-ラと、第3DMAコントロ-ラと、を備え、
     前記データ送信部は、受信したデータを前記描画演算装置に送信し、
     前記第1DMAコントローラは、前記描画演算装置からのデータ要求信号を検出する度に、前記先頭応答データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記データ送信部に転送し、
     前記第2DMAコントローラは、前記データ送信部によるデータの送信が完了したことを示す信号を検出する度に、自己が備える予め定めたレジスタの格納値が1以上であることを条件に、前記後方応答データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記データ送信部に転送し、その転送後に前記レジスタの格納値をデクリメントし、
     前記第3DMAコントローラは、前記データ要求信号を検出する度に、前記制御データの先頭から予め定めたサイズ分のデータを順次読み出し、読み出したデータを前記第2DMAコントローラの前記レジスタに転送する、請求項1に記載の制御装置。
    The control unit divides the response data into two data, a top response data and a back response data, and stores the data in the memory,
    The control data includes data indicating the required number of data transfers corresponding to the backward response data,
    The response data transmission unit includes a data transmission unit, a first DMA controller, a second DMA controller, and a third DMA controller,
    The data transmission unit transmits the received data to the drawing arithmetic device,
    Each time the first DMA controller detects a data request signal from the drawing arithmetic unit, the first DMA controller sequentially reads data of a predetermined size from the top of the head response data, and transfers the read data to the data transmission unit. ,
    Each time the second DMA controller detects a signal indicating that data transmission by the data transmission unit is completed, the backward response is performed on the condition that the value stored in a predetermined register included in the second DMA controller is 1 or more. Read data of a predetermined size sequentially from the beginning of the data, transfer the read data to the data transmission unit, decrement the stored value of the register after the transfer,
    The third DMA controller sequentially reads data of a predetermined size from the top of the control data each time the data request signal is detected, and transfers the read data to the register of the second DMA controller. The control apparatus according to 1.
  5.  ユーザからの操作を受け付ける操作受付部と、
     制御装置と、
     画面データを記憶する画面データ記憶部と、
     前記制御装置から送信される描画コマンドに従って、対応する画面データを前記画面データ記憶部から読み出し、読み出した画面データに基づいて描画処理を行う描画演算装置と、
     前記描画演算装置で描画された画面を表示する表示部と、を備え、
     前記制御装置は、
     前記描画演算装置に特定の描画処理を実行させるための前記描画コマンドを生成する制御部と、
     前記制御部が生成した前記描画コマンドを前記描画演算装置に送信するコマンド送信部と、
     前記描画コマンドの送信後、前記描画演算装置からのデータ要求に対する応答通信を前記制御部を介さずに実行する応答データ送信部と、を備え、
     前記制御部は、前記描画コマンドを生成する際、前記描画コマンドに対応した前記描画演算装置への応答データと、前記応答データを前記応答データ送信部が前記描画演算装置に送信するための制御データと、を予め生成し、生成した前記応答データ及び前記制御データを予め定めたメモリに保存し、
     前記応答データ送信部は、前記応答データ及び前記制御データに基づいて、前記応答通信を実行する、リモートコントローラ。
    An operation accepting unit for accepting an operation from a user;
    A control device;
    A screen data storage unit for storing screen data;
    In accordance with a drawing command transmitted from the control device, the corresponding screen data is read from the screen data storage unit, and a drawing arithmetic device that performs drawing processing based on the read screen data;
    A display unit for displaying a screen drawn by the drawing arithmetic device,
    The controller is
    A control unit that generates the drawing command for causing the drawing arithmetic unit to execute a specific drawing process;
    A command transmission unit that transmits the drawing command generated by the control unit to the drawing arithmetic device;
    A response data transmission unit that executes response communication to the data request from the drawing arithmetic device without passing through the control unit after transmitting the drawing command;
    When the control unit generates the drawing command, response data to the drawing arithmetic device corresponding to the drawing command and control data for the response data transmitting unit to transmit the response data to the drawing arithmetic device And storing the generated response data and the control data in a predetermined memory,
    The response data transmission unit is a remote controller that executes the response communication based on the response data and the control data.
PCT/JP2013/063834 2013-05-17 2013-05-17 Control device and remote controller WO2014184959A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015516866A JP6099736B2 (en) 2013-05-17 2013-05-17 Control device, remote controller, and drawing control method
PCT/JP2013/063834 WO2014184959A1 (en) 2013-05-17 2013-05-17 Control device and remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/063834 WO2014184959A1 (en) 2013-05-17 2013-05-17 Control device and remote controller

Publications (1)

Publication Number Publication Date
WO2014184959A1 true WO2014184959A1 (en) 2014-11-20

Family

ID=51897964

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/063834 WO2014184959A1 (en) 2013-05-17 2013-05-17 Control device and remote controller

Country Status (2)

Country Link
JP (1) JP6099736B2 (en)
WO (1) WO2014184959A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185455A (en) * 1997-09-12 1999-03-30 Nec Corp Graphic drawing and processing system
JP2010175786A (en) * 2009-01-29 2010-08-12 Mitsubishi Electric Corp State display device
JP2013037188A (en) * 2011-08-08 2013-02-21 Mitsubishi Electric Corp Image display device, image display method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010175638A (en) * 2009-01-27 2010-08-12 Mitsubishi Electric Corp Display device and method for display in display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185455A (en) * 1997-09-12 1999-03-30 Nec Corp Graphic drawing and processing system
JP2010175786A (en) * 2009-01-29 2010-08-12 Mitsubishi Electric Corp State display device
JP2013037188A (en) * 2011-08-08 2013-02-21 Mitsubishi Electric Corp Image display device, image display method, and program

Also Published As

Publication number Publication date
JPWO2014184959A1 (en) 2017-02-23
JP6099736B2 (en) 2017-03-22

Similar Documents

Publication Publication Date Title
US9928558B2 (en) Control device and remote controller
TWI401593B (en) Electronic apparatus with touch panel and updating method for touch panel
TWI590160B (en) Firmware update
US9954954B2 (en) System and method for making legacy device internet of things (IoT) aware
US20200186641A1 (en) Electronic device and control method therefor
US10193886B2 (en) Hostless mDNS-SD responder with authenticated host wake service
JP2018055701A5 (en) TERMINAL DEVICE, TERMINAL DEVICE CONTROL METHOD, AND CONTROL PROGRAM
JP2017041849A5 (en)
US10156917B2 (en) Input apparatus and controlling method thereof
JP6193384B2 (en) Client apparatus, host apparatus, method executed by apparatus, computer program, and storage apparatus
JP2016085690A (en) KVM switch
CN109977055A (en) A kind of processing method and handheld device
US20140043267A1 (en) Operation Method of Dual Operating Systems, Touch Sensitive Electronic Device Having Dual Operating Systems, and Computer Readable Storage Medium Having Dual Operating Systems
WO2017112281A1 (en) Secure data transfer with compute stick
JP6099736B2 (en) Control device, remote controller, and drawing control method
US20150081930A1 (en) Tablet computer
JP7205088B2 (en) Terminal device and air conditioner control method
JP6132772B2 (en) Control device and remote control device
EP3671685B1 (en) Electronic apparatus and controlling method thereof
EP3716593B1 (en) User terminal apparatus and control method for controlling same
JP6152020B2 (en) Device and display system
TWI509505B (en) Tablet
US20130293560A1 (en) Rendering device and rendering method
CN115877959A (en) Computer input/output method and system, intelligent terminal and intelligent interface device
KR20120079433A (en) Electronic device and method for updating software thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13884846

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015516866

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13884846

Country of ref document: EP

Kind code of ref document: A1