## 4 Conflict Resolution in the Actual Scheduling Process
A value of 1 is assigned for expression of messages from comfort areas; 2 is assigned to messages with a mixture of comfort and safety areas; and 3 is assigned to messages from the security area. The messages with a weight of 3 are provided first. \(H_{j}\) is the set of parameters that indicate the importance of the message, including its importance for future decisions. The values are assigned as follows:  
* When the message should be stored for a longer time, and its value will be used for historical assessment needs, the assignment of the message weight is equal to 1;
* If the message is not important for future decisions, it is assigned a weight of 0. The parameter \(Ex_{j}\) expresses the data exchange area and digital values are assigned within the range [1; 4] as follows: 1--when the message is from _Vehicle to Manager (V2M)_ communication; 2--when the message is in the local environment of the vehicle (_INV_); 3--when the message is from _Vehicle to Infrastructure (V2l)_ communication; 4--when the message is from _Vehicle to Vehicle (V2V)_. In addition, a set of parameters \(Cr_{j}\) expresses the coordinates at which the data message was generated at the real-time point \(t_{i}\); these values are expressed as \(cr_{i}^{\dagger}\ i=\{cr_{j}^{\dagger}\ i=\{cr_{i}^{\dagger}\ i=\{cr_{j}^{ \dagger}\ i=\{cr_{j}^{\dagger}\ i=\{cr_{j}^{\dagger}\ i=\{cr_{j}^{\dagger}\} \}}}\}\). The message priority can be calculated by the formula \(Pr_{j}=1+\frac{l_{j}}{\Lambda_{j}}\), and values are assigned according to the normalized values of the set [1; 2; 3]:  
* If the assignment for the message is \(Pr_{i}:=3\), it means that the message \(m^{ij}{}_{i}\) priority at the moment \({}^{ij}\) is critical and it must be sent immediately to the driver and stored in the corresponding DW;
* If the assignment for the message is \(Pr_{i}:=2\), it means that the message \(m^{ij}{}_{i}\) at the moment \({}^{ij}\) has a medium priority;
* If the assignment of the message is \(Pr_{i}:=1\), it means that the message \(m^{ij}{}_{i}\) at the moment \({}^{ij}\) is not important and can be rejected. The importance of the message can be assigned within the set range [0, 1], where 1 indicates a safety-related message and 0 indicates a comfort/information message. \(l_{j}\) is the function for expression of the message age with normalized values, which can be chosen from the set of values from within the interval [1; 3], which is calculated according to the algorithm that is expressed in (3), where \(T_{M}\) is the difference between the current time moment and the time moment when the message was created. \[A=\left\{ \begin{array}{rl}1,&\text{if }T_{M}>5s\\ 2,&\text{if }1<T_{M}<5s\\ 3\text{ if }T_{M}<1s\end{array} \right. \tag{3}\]  
To reduce the number of data transitions, the structure and algorithms were developed to help achieve better conditions in the provision of selected messages. The matrix \(M_{O}\) is used for storing the context utility values. The items \(d_{oln}\) of the matrix \(M_{O}\) indicate the importance of the data, where the \(l\) index indicates the data from a message (\(m\)) provided for the vehicle \(n\) (\(v\)) (4), where \(v\) represents vehicle. \[M_{O}=\left( \begin{array}{cccc}d_{o_{11}}&d_{o_{12}}&\ldots&d_{o_{1n}}\\ d_{o_{21}}&d_{o_{22}}&\ldots&d_{o_{2n}}\\ \ldots&\ldots&\ldots&\ldots\\ d_{o_{11}}&d_{o_{12}}&\ldots&d_{o_{1n}}\end{array} \right) \tag{4}\]  
The predictive usefulness of a contextual data message is weighted by a function that assigns a value \(m_{l}\) to each message to be transmitted to the vehicle (car) \(v_{n}\).