| CPC H04L 69/22 (2013.01) [H04L 61/2514 (2013.01); H04L 69/16 (2013.01)] | 11 Claims |

|
1. A communication control device, which is capable of using at least one communication line and controls communication between each of a plurality of applications executed in a vehicle and an external device using the at least one communication line, the communication control device comprising at least one processor and memory configured to:
receive, from one of the plurality of applications, a start request of communication of data between the one of the plurality of applications and the external device;
acquire, from the one of the plurality of applications corresponding to a request source of the start request, a communication condition indicating a condition related to the communication of data between the one of the plurality of applications and the external device;
determine whether the communication of data satisfying the communication condition is possible based on a state of the at least one communication line and a communication condition of a preceding application which is another one of the plurality of applications being executed at a reception time of the start request from the request source application, using the at least one communication line assigned to the preceding application;
set a communication path from the request source to the external device in response to determining that the communication between the request source and the external device is possible; and
return information indicating a determination result of whether the communication of data satisfying the communication condition is possible to the request source,
wherein
the setting of the communication path includes assignment of a source port number to the request source, and
the at least one processor and memory are configured to notify the request source of the source port number when it is determined that the communication of data is possible.
|