The invention belongs to the field of
mobile edge computing, and particularly relates to a
resource pricing problem based on a Stackelberg game in
mobile edge computing. The method comprises the following steps: constructing a
mobile edge computing model, wherein the mobile
edge computing model comprises a
server base station, task equipment and cooperative equipment; in a task execution period, for a
server base station profit maximization problem of
resource pricing based on a Stackelberg game in mobile
edge computing,
delay brought by task unloading is fully considered in problem modeling, and the
delay requirement of a task is met to the maximum extent; analyzing and establishing a dynamic punishment and redistribution mechanism for task unloading failure of the cooperative equipment, wherein the mechanism comprises a punishment
cost calculation module, a task value reevaluation module and a
game strategy updating module; and obtaining an unloading strategy of the task equipment, a task allocation strategy of the
server base station and a
resource pricing strategy after the server base
station and the cooperative equipment carry out the Stackelberg game by utilizing a greedy strategy, thereby obtaining a final task allocation scheme for maximizing the profit of the server base
station. According to the method, the optimal task execution and
resource allocation strategy of the server base
station is formulated, and the relationship among the task value, the resource cost and the additional resource
purchase cost is balanced as required, so that more flexible and efficient task scheduling service can be provided.