Research Article

An MSCN-Based Virtual Computing Cell-Oriented BSM Dissemination Mechanism

Table 1

Explanation for Algorithm 1 variables and functions.

Variable/functionExplanation

BSMvehicle_brocast (X)Vehicle X broadcast BSMvehicle to neighbors
TneighborNeighbor table for saving neighbor BSM
cal_MSCNcriteria (T)Calculate MSCN selection criteria based on neighbor table T
WThe MSCN selection criteria
Getposition (X)Get the position coordinates of node X
VirCCnumThe VirCC number that the node belongs to
getVirCC_num (X, Y)Obtain the VirCC number of coordinate X according to equation (5)
setW_min (X, Y)Set Y to the minimum MSCN selection criteria in VirCC X
getW_min (X)Get the minimum MSCN selection criteria in VirCC X
getid (X)Get the node ID of node X
MSCNidThe node ID of MSCN
Set_MSCN (X, Y)Set Y as the MSCN node ID in VirCC X
get_MSCN (X)Get the MSCN node ID in VirCC X
nThe number of VirCC calculated according to equation (2)