CONTROL SYSTEM AND REQUEST PROCESSING METHOD THEREIN
The control system efficiently handles multiple execution requests by using a two-tiered electronic device architecture with priority-based arbitration, ensuring rapid processing and adaptability to design changes.
Patent Information
- Application Number
- JP2022137214
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-02-08
- Filing Date
- 2022-08-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-08-30
AI Technical Summary
Existing control systems face challenges in efficiently handling the increasing types and frequency of processing execution requests from in-vehicle devices or applications, leading to difficulties in processing load and speed.
A control system architecture involving a first electronic device and a second electronic device, where the first device processes execution requests based on assigned priorities and the second device manages transmission orders, utilizing arbitration tables to distribute priorities and ensure efficient processing.
The system enables quick arbitration and processing of multiple execution requests, accommodating design changes by updating only the second device's arbitration table without altering the first device's table, thus maintaining efficient operation.
Smart Images

Figure 0007539439000001 
Figure 0007539439000002 
Figure 0007539439000004
Abstract
Description
[Technical field]
[0001] The present invention relates to a control system for processing execution requests from a plurality of devices, and a request processing method in a control system. [Background technology]
[0002] Patent Document 1 discloses a parallel processing device that connects multiple electronic control devices via a bus. When this parallel processing device receives multiple processing requests from independent applications for the electronic control device, it arbitrates the multiple processing requests according to their respective priorities and executes multiple processes according to the processing requests. Patent Document 2 discloses a control device for controlling the brakes of a vehicle. This control device arbitrates a plurality of motion requests for actuators received from a plurality of application request units according to a predetermined criterion, and controls each of the plurality of actuators based on the arbitration result. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2018 / 096755 [Patent Document 2] JP 2020-32892 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, for example, as the functions in a vehicle become more diverse and complex, and the types and frequency of processing execution requests from on-board devices or applications increase, there is a concern that it will become difficult from the standpoint of processing load and / or processing speed for a single processing device or control device to arbitrate all processing requests. An object of the present invention is to realize a control system capable of quickly arbitrating a plurality of received execution requests. [Means for solving the problem]
[0005] One aspect of the present invention is a control system including a first electronic device that processes execution requests from a plurality of devices, and a second electronic device that receives execution requests from a portion of the plurality of devices and transmits the execution requests to the first electronic device, wherein the first electronic device includes a first arbitration unit that determines a processing order of the execution requests from the plurality of devices in accordance with a first priority assigned to each execution request, and the second electronic device includes a second arbitration unit that determines a transmission order of the execution requests from a portion of the plurality of devices to the first electronic device in accordance with a second priority assigned to each execution request, and a transmission unit that transmits the execution requests to the first electronic device in the transmission order determined by the second arbitration unit. and when receiving an execution request from the second electronic device, the first arbitration unit of the first electronic device determines a processing order for all of the unprocessed execution requests received by the first electronic device, including the execution request received from the second electronic device, in accordance with the first priority order. It is a control system. According to another aspect of the present invention, in the first electronic device, the first priority is set so that empty ranks to which no execution requests are assigned are distributed along the ranks among ranks to which execution requests are assigned. According to another aspect of the present invention, the execution requests include a first execution request to which the first priority is assigned in the first electronic device, and a second execution request to which the first priority is not assigned in the first electronic device, and the second arbitration unit of the second electronic device arbitrates the second execution request. A predetermined execution request among the above When a The first electronic device is configured to receive the first execution request from the first electronic device. One of the vacancies Divide and the transmission unit of the second electronic device transmits the second execution request. The predetermined execution request is At the same time, the second arbitration unit Predefined execution request Assigned to The vacancy order is Priority information indicating the first priority is transmitted to the first electronic device. According to another aspect of the present invention, the first electronic device stores a first arbitration table indicating a correspondence between each of the first execution requests and the first priority, and the first arbitration unit of the first electronic device determines a processing order of the received execution requests, including the first execution request and the second execution request, based on the first arbitration table and the priority information of the second execution requests received from the second electronic device. According to another aspect of the present invention, the second electronic device stores a second arbitration table indicating a correspondence between each of the execution requests and the second priority and the available rank to be assigned to the second execution requests, and the second arbitration unit of the second electronic device assigns the first priority, which is the available rank, to the second execution request based on the second arbitration table, and determines the order of transmission of the execution requests to the first electronic device. According to another aspect of the present invention, the first electronic device includes an execution unit that processes the execution requests in an order determined by the first arbitration unit, and when the execution unit receives the execution request from the second electronic device, it transmits execution information, which is information about the execution status of the received execution request, to the second electronic device. According to another aspect of the present invention, the execution request includes requested processing information indicating the content of the processing to be performed by the first electronic device. Another aspect of the present invention is a method for processing execution requests, executed by a control system including a first electronic device that processes execution requests from a plurality of devices, and a second electronic device that receives execution requests from a portion of the plurality of devices and transmits the execution requests to the first electronic device, in which a second processor of the second electronic device determines a transmission order in which the execution requests from the portion of the plurality of devices are transmitted to the first electronic device in accordance with a second priority assigned to each execution request. No. 1 and transmitting the execution requests to the first electronic device in the determined transmission order by the second processor. Second and a first processor of the first electronic device determining a processing order of the execution requests from the plurality of devices according to a first priority assigned to each of the execution requests. Third Steps and fruit , In the third step, when the first processor of the first electronic device receives an execution request from the second electronic device, the first processor determines a processing order of all the unprocessed execution requests received by the first electronic device, including the execution request received from the second electronic device, in accordance with the first priority order.A request processing method. Effect of the Invention
[0006] According to the present invention, it is possible to realize a control system capable of quickly arbitrating a plurality of received execution requests. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a diagram showing a configuration of a control system according to an embodiment of the present invention. [Diagram 2] 2 is a diagram showing an example of the configuration of a third zone ECU which is a first electronic device and a central ECU2 which is a second electronic device. FIG. [Diagram 3] FIG. 4 is a diagram showing an example of the configuration of a first arbitration table. [Figure 4] FIG. 13 is a diagram showing an example of the configuration of a second arbitration table. [Diagram 5] FIG. 13 is a diagram showing an example of the configuration of an updated second arbitration table. [Figure 6] FIG. 13 is a diagram showing a modified example of the first arbitration table. [Figure 7] FIG. 13 is a diagram showing a modified example of the second arbitration table. [Figure 8] FIG. 4 is a flow chart showing the procedure of the operation of the control system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] FIG. 1 is a diagram showing a control system 1 for a vehicle. The control system 1 includes a central ECU 2 that performs overall control and information processing of the vehicle. The central ECU 2 is connected to communication lines including a first communication line 3a and second communication lines 4a, 4b, and 4c. The central ECU 2 realizes a gateway function that manages the transmission and reception of communication data between these communication lines. The central ECU 2 also executes OTA (Over The Air) management. The OTA management includes control related to a process of downloading an update program for an in-vehicle device provided in the vehicle from a server outside the vehicle, and a process of applying the downloaded update program to the in-vehicle device.
[0009] The first communication line 3a and the second communication lines 4a, 4b, and 4c are configured as buses that perform communication in compliance with standards such as CAN and Ethernet (registered trademark), or communication lines that perform P2P (Peer to Peer) communication. The first communication line 3a may be configured as multiple communication lines that perform communication in compliance with the same standard, or multiple communication lines that perform communication in compliance with different standards. The same applies to the second communication lines 4a, 4b, and 4c.
[0010] A TCU (Telematics Control Unit) 12 is connected to the first communication line 3a. The TCU 12 is a wireless communication device that complies with the communication standard of a mobile communication system. In addition to the TCU 12, an IVI (In-Vehicle Infotainment)-ECU, a rear camera, a speaker, a microphone, a meter panel, a steering switch, a V2X (Vehicle to Everything) communication device, a GNSS sensor (GNSS; Global Navigation Satellite System), and / or a touch panel may be connected to the first communication line 3a.
[0011] The first zone ECU 23 is connected to the second communication line 4a. The first zone ECU 23 is connected to ECUs 39a, 39b, and 39c. The first zone ECU 23 is, for example, a control device related to a driver assistance system. The ECUs 39a, 39b, and 39c may be, for example, a Map Positioning Unit (MPU), a Multi View Camera (MVC-ECU), a Parking Support (PKS)-ECU, and an Advanced Driver Assistance System (ADAS-ECU), etc.
[0012] The second zone ECU 24 is connected to the second communication line 4b. The second zone ECU 24 is connected to a drive unit 25, a battery 26, a steering operation device 27, and a VSA (Vehicle Safety Assistant). Stability A s The steering operation device 27 may include a brake, an accelerator, an EPS (Electric Power Steering), etc. The drive device 25 is, for example, a motor or an internal combustion engine that drives the vehicle.
[0013] The third zone ECU 29 is connected to the second communication line 4c. The third zone ECU 29 is connected to a light body 30 and a window motor 31. The light body 30 includes, for example, a head lamp, a tail lamp, a turn signal lamp, and the like. The window motor 31 opens and closes the vehicle window. The third zone ECU 29 is also connected to a door sensor 32, a door lock mechanism 33, an ESL (Electronic Steering Lock) 34, and an air conditioner 35. The door sensor 32 detects an operation on the vehicle door. The door lock mechanism 33 locks and unlocks the vehicle door. The third zone ECU 29 is connected to an entry ECU 36. The entry ECU 36 is connected to an LF / RF antenna 37 that wirelessly communicates with an electronic key of the vehicle. The electronic key is an electronic device having a wireless communication function, and is called a smart key or FOB key. The electronic key may also be a mobile terminal such as a smartphone. The entry ECU 36 cooperates with other vehicle-mounted ECUs to process user access to the control system 1 from outside the vehicle, and realizes the so-called smart entry operation.
[0014] In this embodiment, the third zone ECU 29 is also connected to a buzzer 38 that issues a warning sound both inside and outside the vehicle. Here, the third zone ECU 29 shown in FIG. 1 corresponds to the first electronic device in the present disclosure, and the central ECU 2 shown in FIG. 1 corresponds to the second electronic device in the present disclosure.
[0015] The third zone ECU 29, which is a first electronic device, processes execution requests from the multiple devices according to a first priority assigned to each execution request, and the central ECU 2, which is a second electronic device, transmits execution requests from some of the multiple devices to the third zone ECU 29, which is also a first electronic device, in the order of the second priority assigned to each execution request.
[0016] In this embodiment, the process requested by the third zone ECU 29 is, for example, the issuance of various types of warning sounds by the buzzer 38.
[0017] 2 is a diagram showing an example of the configuration of the third zone ECU 29 and the central ECU 2. In FIG. 2, a buzzer 38, a door sensor 32, an entry ECU, a TCU 12, and a second zone ECU 24 that cooperate with the third zone ECU 29 and the central ECU 2 in this embodiment are also shown. Show The door sensor 32, the entry ECU, the TCU 12, and the second zone ECU 24 correspond to the "plurality of devices" in the present disclosure that transmit execution requests to be processed by the first electronic device.
[0018] First, the configuration of the third zone ECU 29, which is the first electronic device, will be described. The third zone ECU 29 includes a first processor 50, a first memory 51, and a first communicator 52. The first memory 51 is, for example, a volatile and / or non-volatile semiconductor memory. The first communicator 52 is a transceiver for communicating with the central ECU 2, the entry ECU 36, and other ECUs.
[0019] The first processor 50 is, for example, a computer including a CPU (Central Processing Unit) and the like. The first processor 50 may have a ROM (Read Only Memory) in which a program is written, a RAM (Random Access Memory) for temporarily storing data, and the like. The first processor 50 includes a first receiving unit 53, a first arbitration unit 54, and an execution unit 55 as functional elements or functional units.
[0020] These functional elements of the first processor 50 are realized, for example, by the first processor 50, which is a computer, executing a first control program 57 stored in the first memory 51. The first control program 57 can be stored in any computer-readable storage medium. Alternatively, all or part of the above-mentioned functional elements of the first processor 50 may be configured by hardware including one or more electronic circuit components.
[0021] The first receiving unit 53 receives requests to execute an operation for the buzzer 38, which are transmitted from the entry ECU 36, the door sensor 32, the second zone ECU 24, and the TCU 12. Here, the execution requests from the second zone ECU 24 and the TCU 12 are received via the central ECU 2, which is a second electronic device.
[0022] The first arbitration unit 54 determines the processing order of execution requests from a plurality of devices including the door sensor 32, the entry ECU, the TCU 12, and the second zone ECU 24 according to a first priority assigned to each execution request. In this embodiment, a first arbitration table 56 indicating the correspondence between each execution request and the first priority is stored in the first memory 51. The first arbitration unit 54 refers to the first arbitration table 56 stored in the first memory 51 to determine the processing order of the received execution requests.
[0023] In this embodiment, the execution requests received via the central ECU 2 may be a first execution request to which the third zone ECU 29 has assigned the first priority, and a second execution request to which the third zone ECU 29 has not assigned the first priority. Specifically, the first execution request is an execution request for which a correspondence with the first priority is indicated in the first arbitration table 56. The second execution request may be, for example, an execution request that is newly added as an execution request to be transmitted by the second zone ECU 24 or the TCU 12 connected to the central ECU 2 due to a design change or the like in the control system 1 after the first arbitration table 56 is created or stored.
[0024] As will be described later, when the central ECU 2 receives a second execution request from the second zone ECU 24 or the TCU 12, the central ECU 2 assigns a first priority to the second execution request. When the central ECU 2 transmits the second execution request to the third zone ECU 29, the central ECU 2 transmits priority information indicating the first priority assigned to the second execution request together with the second execution request.
[0025] In this case, the first arbitration unit 54 determines the processing order of the received execution requests, including the first execution request and the second execution request, based on the first arbitration table 56 and the priority information of the second execution request received from the central ECU 2.
[0026] In this embodiment, particularly in the third zone ECU 29 (more specifically, in the first arbitration table 56), the first priority is set so that vacant ranks to which no execution request is assigned are distributed along the ranks among the ranks to which execution requests are assigned. As described above, an execution request to which the first priority is assigned in the third zone ECU 29 (more specifically, in the first arbitration table 56) is referred to as a first execution request.
[0027] As will be described later, the first priority indicated by the priority order information transmitted from the central ECU 2 together with the second execution request is set to one of the vacant priorities.
[0028] Fig. 3 is a diagram showing an example of the first arbitration table 56. In the first arbitration table 56 shown in Fig. 3, the left column indicates the first priority and the right column indicates the execution requests. In Fig. 3, the rows are arranged from top to bottom in order of the first priority, and a row with a blank execution request indicates that the first priority of that row is an empty priority. In Fig. 3, REQ1001, REQ1002, etc., which are execution requests assigned the first priority, are first execution requests.
[0029] In the example shown in FIG. 3, in addition to the ranks "1," "2," ..., "5" to which execution requests REQ1001, REQ1002, etc. are assigned, three vacant ranks, "High," "Middle," and "Low," to which no execution requests are assigned, are distributed in the order of the first priority (specifically, at the top, bottom, and fourth from the top).
[0030] Here, the execution requests REQ1001, REQ1002, etc., which are assigned the first priority in the first arbitration table 56 shown in Figure 3, are execution requests transmitted from any of the entry ECU 36, the door sensor 32, the second zone ECU 24, and the TCU 12 in this embodiment.
[0031] As described later, the execution requests transmitted from the central ECU 2 may include a first execution request to which the first priority has already been assigned in the first arbitration table 56. When transmitting a first execution request, the central ECU 2 does not transmit priority information. When all received execution requests are first execution requests, the first arbitration unit 54 determines the processing order of these execution requests according only to the first priority indicated by the first arbitration table 56.
[0032] 2, the execution unit 55 processes the execution requests according to the processing order determined by the first arbitration unit 54. In this embodiment, the execution requests include requested processing information indicating the content of the processing, such as the tone, number of times, and volume of the sound to be emitted by the buzzer 38. The execution unit 55 processes each execution request based on the requested processing information included in the execution request.
[0033] Next, the configuration of the central ECU 2, which is the second electronic device, will be described. The central ECU 2 includes a second processor 60, a second memory 61, and a second communicator 62. The second memory 61 is, for example, a volatile and / or non-volatile semiconductor memory. The second communicator 62 is a transceiver for communicating with the third zone ECU 29, the second zone ECU 24, the TCU 12, and other ECUs.
[0034] The second processor 60 is, for example, a computer including a CPU, etc. The second processor 60 may have a configuration including a ROM in which a program is written, a RAM for temporarily storing data, etc. The second processor 60 includes a second receiving unit 63, a second arbitration unit 64, and a transmitting unit 65 as functional elements or functional units.
[0035] These functional elements of the second processor 60 are realized, for example, by the second processor 60, which is a computer, executing a second control program 67 stored in the second memory 61. The second control program 67 can be stored in any computer-readable storage medium. Alternatively, all or part of the above-mentioned functional elements of the second processor 60 may be configured by hardware including one or more electronic circuit components.
[0036] The second receiving unit 63 receives, for example, requests to execute an operation of the buzzer 38, transmitted from the second zone ECU 24 and the TCU 12, which are "part of the plurality of devices" in the present disclosure described above. These execution requests may include a first execution request to which a first priority is assigned in the first arbitration table 56 of the third zone ECU 29, and a second execution request to which a first priority is not assigned in the first arbitration table 56, as described above.
[0037] The second arbitration unit 64 determines the transmission order when transmitting the execution requests received by the second receiving unit 63 to the third zone ECU 29, in accordance with the second priority assigned to each execution request. In this embodiment, a second arbitration table 66 indicating the correspondence between each execution request and the second priority is stored in the second memory 61. When determining the transmission order, the second arbitration unit 64 refers to the second arbitration table 66 and identifies the second priority of the received execution request.
[0038] The transmitting unit 65 transmits the received execution requests to the third zone ECU 29 in the transmission order determined by the second arbitration unit 64.
[0039] In the above, when the second receiving unit 63 receives the second execution request, the second arbitration unit 64 assigns one of the vacant ranks in the first arbitration table 56 of the third zone ECU 29 as a first priority to the received second execution request. The second arbitration unit 64 also generates priority information indicating the assigned first priority. Then, the transmission unit 65 transmits the priority information together with the second execution request to the third zone ECU 29.
[0040] In this embodiment, the second arbitration table 66 indicates the available priority order to be assigned to the second execution requests, in addition to the correspondence between each execution request and the second priority order. The second arbitration unit 64 assigns the available priority order, that is, the first priority order, to the second execution requests based on the second arbitration table 66, and determines the transmission order of the execution requests to be transmitted to the third zone ECU 29.
[0041] Fig. 4 is a diagram showing an example of the second arbitration table 66. In the second arbitration table 66 shown in Fig. 4, the left column shows the second priority order, and the center column shows the execution request. In addition, the right column of this second arbitration table 66 shows the first priority order to be assigned to the execution request in the center column when the execution request is the second execution request. In addition, in Fig. 4, the rows are arranged from top to bottom in order of the second priority order.
[0042] In the second arbitration table 66 shown in Figure 4, the three execution requests shown in the center column, REQ1001, REQ1002, and REQ1003, are all first execution requests assigned the first priority in the first arbitration table 56 of the third zone ECU 29 shown in Figure 3, and therefore the "First Priority" column on the right side of the second arbitration table 66 is left blank.
[0043] Fig. 5 is a diagram showing an example of the updated second arbitration table 66. In the updated second arbitration table 66 shown in Fig. 5, execution requests REQ2001, REQ2002, and REQ2003 are newly added. Such an update of the second arbitration table 66 may be performed, for example, when a type of execution request received by the central ECU 2 is added due to a design change of the second zone ECU 24 or the TCU 12, etc.
[0044] In the updated second arbitration table 66 shown in Figure 5, the "First Priority" column in the rows corresponding to the newly added second execution requests REQ2001, REQ2002, and REQ2003 that have not yet been assigned a first priority in the third zone ECU 29 shows the vacant priorities "High," "Middle," and "Low" shown in the first arbitration table 56 shown in Figure 3 as the first priorities to be assigned to each second execution request.
[0045] In this case, for example, when the second receiving unit 63 receives the execution request REQ2001, the second arbitration unit 64 determines the transmission order of the execution requests currently received according to the second priority order indicated in the updated second arbitration table 66 shown in Fig. 5. At that time, the second arbitration unit 64 assigns the first priority order "High" indicated in the "First Priority Order" column to the received second execution request REQ2001 according to the updated second arbitration table 66 shown in Fig. 5. Then, the transmission unit 65 transmits the execution request REQ2001 to the third zone ECU 29 together with priority order information indicating the assigned first priority order "High".
[0046] The first arbitration unit 54 of the third zone ECU 29 that receives the transmitted execution request REQ2001 determines the processing order of all of the execution requests (including REQ2001) currently being received in accordance with the first priority order, based on the first arbitration table 56 and the priority order information received together with the execution request REQ2001, as described above. As a result, the execution unit 55 processes the execution requests currently being received, including the second execution request REQ2001, in the processing order according to the first priority order.
[0047] In the control system 1 having the above configuration, some of the execution requests to be processed in the third zone ECU 29, which is the first electronic device, are received by the central ECU 2, which is the second electronic device, and then transmitted to the third zone ECU 29 in a transmission order that complies with the second arbitration table 66. In other words, the third zone ECU 29 receives the execution requests from the central ECU 2 in descending order of priority, and therefore can quickly determine the execution order of the execution requests, i.e., arbitrate the execution order of the execution requests.
[0048] In the third zone ECU 29, the first priority order is set so that vacant ranks to which no execution request is assigned are distributed among ranks to which execution requests are assigned along the order of ranks. Therefore, in the control system 1, when a type of execution request mediated by the central ECU 2, which is the second electronic device, is added due to a design change or the like, the vacant rank can be assigned as the first priority order to the newly added execution request (i.e., the second execution request). Therefore, in the control system 1, even when the types of execution requests are increased or added, the design change can be accommodated by only updating the second arbitration table 66 in the central ECU 2 without updating the first arbitration table 56 in the third zone ECU 29.
[0049] Note that the vacant ranks set as the first priority in the third zone ECU 29 do not necessarily have to be set in the manner shown in Fig. 3 as long as they are distributed along the order of the first priority. For example, the first priority set in the first arbitration table of the third zone ECU 29 may include at least one vacant rank to which no execution request is assigned for each of a plurality of rank groups into which execution requests are divided along the first priority.
[0050] Fig. 6 is a diagram showing an example of the configuration of a first arbitration table 56-1, which indicates the first priority including the rank of vacancies for each group, and is a modified example of the first arbitration table 56. The first arbitration table 56-1 shown in Fig. 6 can be used in place of the first arbitration table 56 in Fig. 2.
[0051] In the first arbitration table 56-1 shown in FIG. 6, the first priority is divided into a first rank group from ranks "1" to "7", a second rank group from ranks "8" to "10", a third rank group from ranks "11" to "13", and a fourth rank group from ranks "14" to "15", and each rank group contains one or more vacant ranks distributed along the ranks within each rank group.
[0052] In the example shown in Fig. 6, each ranking group is set in association with a group of execution requests having the same predetermined attribute. For example, the first ranking group is associated with a group of execution requests related to compliance with laws and diagnostic functions, and the second ranking group is associated with a group of execution requests generated in association with user operations. In addition, the third and fourth ranking groups are associated with groups of execution requests generated in association with autonomous driving functions and stationary functions, respectively.
[0053] Fig. 7 is a diagram showing an example of the configuration of a second arbitration table 66-1, which is a modified example of the second arbitration table 66 and can be used in the central ECU 2 in correspondence with the first arbitration table 56-1 shown in Fig. 6. The second arbitration table 66-1 has a similar configuration to the second arbitration table 66, but instead of "High", "Middle", and "Low", the second arbitration table 66-1 shows vacant priorities "1", "8", and "15" set in the first arbitration table 56-1 shown in Fig. 6 as first priorities to be assigned to the added execution requests REQ2001, REQ2002, and REQ2003.
[0054] Next, the procedure of processing an execution request in the central ECU 2 and the third zone ECU 29 of the control system 1 will be described. Fig. 8 is a flow diagram particularly showing the procedure until an execution request received in the central ECU 2 is processed in the third zone ECU 29. The process in Fig. 8 is executed repeatedly. As described above, the third zone ECU 29 corresponds to the first electronic device in this disclosure, and the central ECU 2 corresponds to the second electronic device.
[0055] When the process starts, first, the second receiving unit 63 of the central ECU 2 determines whether or not an execution request has been received from another in-vehicle device such as the TCU 12 or the second zone ECU 24 (S100). If an execution request has not been received (S100, NO), the second receiving unit 63 returns to step S100 and repeats the process, waiting for reception of an execution request.
[0056] On the other hand, when an execution request is received in step S100 (S100, YES), the second arbitration unit 64 of the central ECU 2 judges whether the received execution request is a first execution request to which the first priority is assigned in the third zone ECU 29 (S102). Then, when the received execution request is a second execution request to which the first priority is not assigned in the third zone ECU 29 (S102, NO), the second arbitration unit 64 assigns the first priority to the received second execution request (S104). As described above, the first priority assigned here is one of the vacant priorities in the first arbitration table 56 of the third zone ECU 29. The second arbitration unit 64 creates priority information indicating the assigned first priority.
[0057] Next, the second arbitration unit 64 determines the transmission order of the received execution requests according to the second priority, and the transmission unit 65 transmits these execution requests to the third zone ECU 29 in the determined transmission order (S106). At this time, for the execution requests to which the second arbitration unit 64 has assigned the first priority, the transmission unit 65 transmits the priority information together with the execution requests to the third zone ECU 29.
[0058] On the other hand, in step S102, when the execution request received by the second receiving unit 63 is the first execution request (S102, YES), the second arbitration unit 64 moves the process to step S106.
[0059] Next, the first receiving unit 53 of the third zone ECU 29 receives the execution requests transmitted by the transmitting unit 65 of the central ECU 2 (S108). The first arbitration unit 54 of the third zone ECU 29 determines the processing order of the received execution requests in accordance with the first priority order, and the execution unit 55 processes the received execution requests in the determined processing order (S110) and ends the operation.
[0060] In the above embodiment, the third zone ECU 29 emits a sound from the buzzer 38 as a process based on the execution request. However, in another embodiment, the third zone ECU 29 may control the operation of any device or equipment, not limited to the buzzer 38, based on the execution request. For example, the third zone ECU 29 may control one or more operations of any device or equipment, such as a sounder (not shown), a light body 30 including a headlight, a stop lamp, a hazard lamp, an interior light, etc., a wiper (not shown), a door lock mechanism 33, etc., based on the execution request. As described above, the execution request may include requested processing information indicating the content of the process to be performed by the third zone ECU 29 (i.e., the content of the specific operation to be instructed to these devices or equipment).
[0061] In another embodiment, when the execution unit 55 of the third zone ECU 29 receives an execution request from the central ECU 2, the execution unit 55 may further transmit execution information, which is information on the execution status of the processing of the received execution request, to the central ECU 2. As a result, when, for example, the processing of an execution request related to a user operation is delayed in the third zone ECU 29, the central ECU 2 can notify the user through an in-vehicle speaker (not shown) based on the execution information, such as "control has been delayed due to overlapping control signals," thereby improving the convenience of the control system 1.
[0062] In addition, although the first electronic device in the present disclosure is the third zone ECU 29 in the above-described embodiment, the first electronic device may be any electronic device different from the second electronic device. For example, the present invention may be applied to the second zone ECU 24 as the first electronic device.
[0063] The present invention is not limited to the configurations of the above-described embodiments, and can be embodied in various forms without departing from the spirit and scope of the present invention.
[0064] The above-described embodiment and its modified examples support the following configurations. (Configuration 1) A control system comprising a first electronic device that processes execution requests from a plurality of devices, and a second electronic device that receives execution requests from some of the plurality of devices and transmits them to the first electronic device, wherein the first electronic device comprises a first arbitration unit that determines a processing order of the execution requests from the plurality of devices in accordance with a first priority assigned to each execution request, and the second electronic device comprises a second arbitration unit that determines a transmission order of sending execution requests from some of the plurality of devices to the first electronic device in accordance with a second priority assigned to each execution request, and a transmission unit that transmits the execution requests to the first electronic device in the transmission order determined by the second arbitration unit. According to the control system of configuration 1, the first electronic device receives execution requests from the second electronic device in order of priority, so that the execution order of the execution requests can be determined quickly, i.e., arbitration regarding the execution order of the execution requests can be performed quickly.
[0065] (Configuration 2) In the first electronic device, the first priority level is set so that empty ranks to which no execution requests are assigned are distributed along the ranks among ranks to which execution requests are assigned. According to the control system of configuration 2, for example, when the types of execution requests are increased or added due to a design change, the first priority of the vacant order can be assigned to the increased or added execution requests, so that it is possible to easily respond to the design change.
[0066] (Configuration 3) The control system described in Configuration 2, wherein the execution requests include a first execution request to which the first priority is assigned in the first electronic device and a second execution request to which the first priority is not assigned in the first electronic device, and when the second execution request is received, the second arbitration unit of the second electronic device assigns one of the available ranks as the first priority to the second execution request, and the transmission unit of the second electronic device transmits, together with the second execution request, priority information indicating the first priority assigned to the second execution request by the second arbitration unit to the first electronic device. According to the control system of configuration 3, for example, the second electronic device assigns the first priority to an execution request added due to a design change using an available first priority, so that it may be easy to respond to the design change.
[0067] (Configuration 4) The first electronic device stores a first arbitration table indicating a correspondence between each of the first execution requests and the first priority, and the first arbitration unit of the first electronic device determines a processing order of the received execution requests, including the first execution request and the second execution request, based on the first arbitration table and the priority information of the second execution request received from the second electronic device. The control system described in Configuration 3. According to the control system of configuration 4, even if the types of execution requests are increased or added due to a design change, the design change can be easily accommodated without changing the first arbitration table.
[0068] (Configuration 5) The second electronic device stores a second arbitration table indicating the correspondence between each of the execution requests and the second priority order and the available rank to be assigned to the second execution requests, and the second arbitration unit of the second electronic device assigns the first priority order, which is the available rank, to the second execution request based on the second arbitration table, and determines the order of sending the execution requests to the first electronic device. A control system as described in configuration 3 or 4. According to the control system of configuration 5, for example, when the types of execution requests increase or are added due to a design change, it is necessary to change or update only the second arbitration table without changing the first arbitration table, so that it is possible to easily respond to the above design change.
[0069] (Configuration 6) A control system described in any of configurations 1 to 5, wherein the first electronic device is provided with an execution unit that processes the execution requests in an order determined by the first arbitration unit, and when the execution unit receives the execution request from the second electronic device, the execution unit transmits execution information, which is information about the execution status of the received execution request, to the second electronic device. According to the control system of configuration 6, for example, the second electronic device can learn from the execution information that processing of an execution request in the first electronic device has been delayed and notify the user, thereby improving user convenience.
[0070] (Configuration 7) The control system according to any one of configurations 1 to 6, wherein the execution request includes requested processing information indicating the content of the processing to be performed by the first electronic device. According to the control system of configuration 7, the content of the operation requested in each execution request can be easily modified.
[0071] (Configuration 8) A request processing method for execution requests executed by a control system including a first electronic device that processes execution requests from a plurality of devices and a second electronic device that receives execution requests from some of the plurality of devices and transmits them to the first electronic device, the request processing method including a step of a second processor of the second electronic device determining a transmission order in which execution requests from some of the plurality of devices are transmitted to the first electronic device in accordance with a second priority assigned to each execution request, a step of the second processor transmitting the execution requests to the first electronic device in the determined transmission order, and a step of a first processor of the first electronic device determining a processing order of the execution requests from the plurality of devices in accordance with a first priority assigned to each execution request. According to the request processing method of configuration 8, the first electronic device receives execution requests from the second electronic device in order of priority, so that the execution order of the execution requests can be determined, i.e., arbitration regarding the execution order of the execution requests can be performed quickly. [Explanation of symbols]
[0072] 1...Control system, 2...Central ECU, 3a…First communication line, 4a, 4b, 4c...second communication line, 12...TCU, 23...first zone ECU, 24...second zone ECU, 25...drive unit, 26...battery, 27...controller, 28...VSA unit, 29...third zone ECU, 30...light body, 31...window motor, 32...door sensor, 33...door lock mechanism, 34...ESL, 35...air conditioner, 36...entry ECU, 37...LF / RF antenna, 38...buzzer , 39a, 39b, 39c...ECU, 50...first processor, 51...first memory, 52...first communication device, 53...first receiving unit, 54...first arbitration unit, 55...execution unit, 56, 56-1...first arbitration table, 57...first control program, 60...second processor, 61...second memory, 62...second communication device, 63...second receiving unit, 64...second arbitration unit, 65...transmitting unit, 66, 66-1...second arbitration table, 67...second control program.
Claims
1. A control system comprising: a first electronic device that processes execution requests from a plurality of devices; and a second electronic device that receives execution requests from some of the plurality of devices and transmits the execution requests to the first electronic device, The first electronic device is a first arbitration unit that determines a processing order of execution requests from the plurality of devices in accordance with a first priority assigned to each execution request; The second electronic device is a second arbitration unit that determines a transmission order of execution requests from a part of the plurality of devices to the first electronic device in accordance with a second priority assigned to each execution request; a transmission unit that transmits the execution request to the first electronic device in a transmission order determined by the second arbitration unit; Equipped with the first arbitration unit of the first electronic device, when receiving an execution request from the second electronic device, determines a processing order for all of the unprocessed execution requests received by the first electronic device, including the received execution request from the second electronic device, in accordance with the first priority order; Control system.
2. In the first electronic device, the first priority order is set such that vacant ranks to which no execution requests are assigned are distributed along the rank order among ranks to which execution requests are assigned. The control system of claim 1 .
3. The execution requests include a first execution request to which the first priority is assigned in the first electronic device, and a second execution request to which the first priority is not assigned in the first electronic device, the second arbitration unit of the second electronic device, when a predetermined execution request among the second execution requests is received, assigns one of the vacant ranks of the first priority order in the first electronic device to the predetermined execution request; the transmission unit of the second electronic device transmits, together with the predetermined execution request that is the second execution request, priority order information indicating the first priority order, which is the available order assigned to the predetermined execution request by the second arbitration unit, to the first electronic device; The control system of claim 2.
4. the first electronic device stores a first arbitration table indicating a correspondence between each of the first execution requests and the first priority order; the first arbitration unit of the first electronic device determines a processing order of the received execution requests, including the first execution request and the second execution request, based on the first arbitration table and the priority order information of the second execution requests received from the second electronic device; The control system of claim 3.
5. the second electronic device stores a second arbitration table indicating a correspondence between each of the execution requests and the second priority order and the vacant rank to be assigned to the second execution requests; the second arbitration unit of the second electronic device assigns the first priority, which is the vacant rank, to the second execution request based on the second arbitration table, and determines a transmission order of the execution requests to the first electronic device; The control system of claim 3.
6. the first electronic device includes an execution unit that processes the execution requests in an order determined by the first arbitration unit; when the execution unit receives the execution request from the second electronic device, the execution unit transmits execution information, which is information on an execution status of the received execution request, to the second electronic device; The control system of claim 1 .
7. The control system according to claim 1 , wherein the execution request includes requested processing information indicating the content of the processing to be performed by the first electronic device.
8. 1. A method for processing execution requests, the method being executed by a control system including a first electronic device that processes execution requests from a plurality of devices, and a second electronic device that receives execution requests from some of the plurality of devices and transmits the execution requests to the first electronic device, the method comprising: a first step of determining, by a second processor of the second electronic device, a transmission order in which execution requests from a portion of the plurality of devices are transmitted to the first electronic device according to a second priority assigned to each execution request; a second step of the second processor transmitting the execution requests to the first electronic device in the determined transmission order; a third step of a first processor of the first electronic device determining a processing order of the execution requests from the plurality of devices according to a first priority assigned to each execution request; Including, In the third step, when the first processor of the first electronic device receives an execution request from the second electronic device, the first processor determines a processing order of all the unprocessed execution requests received by the first electronic device, including the execution request received from the second electronic device, in accordance with the first priority order. The request handling method.
Citation Information
Patent Citations
Data processor
JP1990004025A
Field network system and field controller
JP2010028505A
Image processing apparatus, image processing program and image processing method
JP2010142375A
Image forming apparatus
JP2012008401A
Information collection program, information collection method, and information collection device
JP2015125764A
