Online vehicle selection method, system and terminal for task distribution in Internet of Vehicles

Through the online quality-aware and cost-aware vehicle selection scheme, combined with the multi-armed bandit problem, the QVS and QCVS algorithms are developed to solve the problem that the vehicle selection method is not suitable for actual needs, and achieve the task replication quality maximization and cost under unknown conditions. reduce.

CN113592327BActive Publication Date: 2024-10-15CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110898408.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-05
Publication Date
2024-10-15
Estimated Expiration
2041-08-05

AI Technical Summary

Technical Problem

Existing vehicle selection methods cannot adapt to actual needs, occupy a lot of resources, and the selection plan is not optimal. The task vehicle does not know the network status and processing cost of the service vehicle in advance, resulting in the inability to make the optimal solution for task allocation.

Method used

An online vehicle selection method for task distribution in the Internet of Vehicles is proposed. By constructing an online quality-aware and cost-aware vehicle selection scheme, an appropriate vehicle selection scheme is selected based on the information of whether the task vehicle clearly serves the vehicle, which is modeled as a multi-arm For the slot machine problem, combining cost and learning reward for vehicle selection, QVS and QCVS algorithms were developed to maximize task replication quality.

Benefits of technology

Effectively select service vehicles under unknown network conditions, reduce processing costs, and improve task replication quality. Experimental results show that the proposed algorithm is 10% higher than traditional methods in task replication quality, and maximizes task replication quality under limited budget.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113592327B_ABST
    Figure CN113592327B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of vehicle networking, and discloses an online vehicle selection method, system and terminal for task distribution in the vehicle networking, constructs an online quality-aware vehicle selection scheme and an online vehicle selection scheme based on cost perception and quality perception. When the task vehicle in the vehicle networking knows part of the information of the service vehicle, but does not know the information of the vehicle's task completion quality, the online quality-aware vehicle selection scheme is selected for vehicle selection; when the task vehicle in the vehicle networking does not know all the information of the service vehicle, such as the cost and the task completion quality, the online vehicle selection scheme based on cost perception and quality perception is selected for vehicle selection. The present invention comprehensively considers the cost of the service vehicle, the learning reward of the task vehicle and the cost to select the vehicle. The present invention can effectively select the service vehicle on the basis of ensuring the efficient completion of the task, and can also reduce the processing cost and improve the processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of vehicle networking, and in particular, relates to an online vehicle selection method, system and terminal for task distribution in vehicle networking. Background Art

[0002] Currently, with the development of autonomous driving, the demand for computing resources has increased dramatically. And due to the differences between individual vehicles, how to make vehicles work together to complete delay-sensitive tasks is a challenging problem. To address this problem, many solutions have been proposed, such as vehicle temporary networks and vehicle edge cloud systems based on vehicle-to-vehicle communication technology. In the vehicle edge cloud, vehicles are divided into two categories: task vehicles, which have tasks to process, and server vehicles, which have remaining resources and want to process other people's tasks. In this case, the task vehicle needs to copy the task and then copy it to the server vehicle.

[0003] How to select the service vehicle has always been a problem that needs to be continuously optimized. Existing vehicle selection schemes can be divided into two types: centralized models and decentralized models. In the centralized model, the task vehicle knows all the information of the service vehicle, such as channel information, and can select the best service vehicle to replicate the task. In the decentralized method, since the vehicle moves fast and the network is dynamic, the information of the service vehicle is an unknown prior knowledge, so it relies on learning methods to select the service vehicle.

[0004] Through the above analysis, the problems and defects of the existing technology are as follows: the existing vehicle selection method cannot adapt to actual needs, occupies a lot of resources, and the selection scheme is not optimal. Most of the existing technologies assume that all the information of the service vehicle is fully known, but this is difficult to achieve because the tasks issued by the task vehicles are different and are affected by the actual environmental factors, and the effect of the service vehicle completing the task will change.

[0005] The difficulty in solving the above problems and defects is that the task vehicle does not know the network status and processing cost of the service vehicle in advance, so it is impossible to obtain the optimal solution for task allocation.

[0006] The significance of solving the above problems and defects is: after solving the above problems, we can obtain the optimal solution for task allocation without prior knowledge, and the situation we assume is more in line with the actual situation, which is conducive to completing the optimal solution allocation of tasks at the lowest cost and obtaining the greatest benefit. Summary of the invention

[0007] In view of the problems existing in the prior art, the present invention provides an online vehicle selection method, system and terminal for task distribution in a connected vehicle network.

[0008] The present invention is implemented as follows: an online vehicle selection method for task distribution in a vehicle network, comprising:

[0009] Construct an online quality-aware vehicle selection scheme as well as an online vehicle selection scheme based on cost awareness and quality awareness, and determine different online vehicle selection schemes and perform vehicle selection based on the information of whether the task vehicle in the Internet of Vehicles is a clear service vehicle.

[0010] Further, the service vehicle information includes the cost of completing the task.

[0011] Further, the determining of different online vehicle selection schemes and performing vehicle selection based on information of whether the task vehicle in the Internet of Vehicles clearly defines the service vehicle includes:

[0012] When the task vehicle in the IoV knows the information of some service vehicles, the online quality-aware vehicle selection scheme is used for vehicle selection;

[0013] When the task vehicle in the Internet of Vehicles does not know the information of the service vehicle, an online vehicle selection scheme based on cost perception and quality perception is used to select the vehicle.

[0014] Furthermore, the online vehicle selection method for task distribution in the Internet of Vehicles includes the following steps:

[0015] Step 1: determine whether the task vehicle knows the information of some service vehicles; if so, execute step 2; if not, execute step 4;

[0016] Step 2: Allocate tasks to all service vehicles. After completing the tasks, the service vehicles return the task results and determine the task information of the service vehicles. Calculate based on the acquired task information to obtain the best task expectation and then proceed to step 3.

[0017] Step 3, based on the obtained task expectation data, selection is made, and when the budget is not exhausted or the task is not completed, the best service vehicle is continuously selected according to the indicator;

[0018] Step 4: Select a vehicle based on the online vehicle selection scheme based on cost perception and quality perception.

[0019] Furthermore, in step 2, the task information of the service vehicle includes: the task completion quality and task benefit of the service vehicle.

[0020] Furthermore, in step 2, the optimal task expectation is the most suitable indicator for the selected service vehicle under comprehensive circumstances.

[0021] Furthermore, the step three also includes: updating the best task expectation obtained previously after each vehicle selection.

[0022] Furthermore, the online vehicle selection method for task distribution in the Internet of Vehicles also includes:

[0023] The vehicle selection problem is modeled as a new multi-armed bandit problem, where each vehicle is regarded as an arm and its processing completion time is regarded as the corresponding reward, that is, vehicle selection is virtualized as pulling the arm.

[0024] Furthermore, the online vehicle selection method for task distribution in the Internet of Vehicles further includes: selecting a vehicle by comprehensively considering the cost of the service vehicle, the learning reward of the task vehicle, and the cost.

[0025] Further, the vehicle selection includes: selecting multiple vehicles each time to ensure the task processing result.

[0026] Another object of the present invention is to provide an online vehicle selection control system for task distribution in a vehicle network, comprising:

[0027] A service vehicle task analysis module is used to determine whether the task vehicle knows the information of some service vehicles;

[0028] The best task expectation acquisition module is used to assign tasks to all service vehicles. After the service vehicle completes the task, it returns the task result and determines the task information of the service vehicle; based on the acquired task information, calculation is performed to obtain the best task expectation;

[0029] The best service vehicle selection module is used to select based on the obtained task expectation data, and continuously select the best service vehicle according to the indicator when the budget is not exhausted or the task is not completed;

[0030] The online vehicle selection scheme selection module is used for selecting a vehicle according to an online vehicle selection scheme based on cost perception and quality perception.

[0031] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes an online vehicle selection method for task distribution in the Internet of Vehicles.

[0032] Another object of the present invention is to provide an information data processing terminal, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes an online vehicle selection method for task distribution in the Internet of Vehicles.

[0033] Combining all the above technical solutions, the advantages and positive effects of the present invention are as follows: the present invention can effectively select service vehicles on the basis of ensuring efficient completion of tasks, while reducing processing costs and improving processing efficiency. We introduce the vehicle selection problem for task replication in vehicle networks under the unknown cost of service vehicles, and simulate it as an optimization problem, with the aim of maximizing the quality of task replication under the limited budget of task vehicles. Based on the multi-armed bandit theory, and considering whether the cost of service vehicles is fixed or dynamic, we developed the QVS algorithm and the QCVS algorithm, respectively. In addition, we also compared and analyzed the regret bounds of the two algorithms. We conducted extensive experiments to demonstrate the effectiveness of the proposed algorithm. Experimental results show that the proposed algorithm can improve the quality of task replication compared with traditional vehicle selection algorithms. For example, the quality of our proposed QVS algorithm is 10% higher than that of other algorithms.

[0034] We propose a vehicle selection scheme for task replication under unknown network conditions and service vehicle costs to maximize the task replication quality with a limited budget. We formulate this problem as a multi-armed bandit problem with a budget. Specifically, we first propose a quality-aware vehicle selection scheme, considering that the service vehicle cost is fixed and after selecting the service vehicle once. Then, we consider service vehicles with unknown variable costs and propose a quality-aware and cost-aware vehicle selection scheme. Finally, experiments demonstrate the effectiveness of our scheme.

[0035] The experimental results are as follows Figure 3-Figure 8 As shown, the solution of the present invention is compared with several common solutions currently. The above experimental result diagram shows that the solution proposed by the present invention performs better in all aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of an online vehicle selection method for task distribution in a connected vehicle network provided by an embodiment of the present invention.

[0037] Figure 2 It is a flow chart of an online vehicle selection method for task distribution in a connected vehicle network provided by an embodiment of the present invention.

[0038] Figure 3-Figure 8 1 is a comparison chart of the experimental results of the present invention and the prior art provided by the embodiment of the present invention. Figure 3 is the quality of task replication under different task vehicle selection methods, Figure 4 It represents the gap between the optimal solution and the actual solution under different mission vehicle selection conditions. Figure 5 ,6,7 respectively demonstrate the impact of different budgets, different mission vehicles, and different service vehicles on mission quality. Figure 8 It represents the performance of the algorithm. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0040] In view of the problems existing in the prior art, the present invention provides an online vehicle selection method for task distribution in a connected vehicle network. The present invention is described in detail below with reference to the accompanying drawings.

[0041] like Figure 1 As shown, the online vehicle selection method for task distribution in the Internet of Vehicles provided by the embodiment of the present invention includes:

[0042] Construct an online quality-aware vehicle selection scheme as well as an online vehicle selection scheme based on cost awareness and quality awareness, and determine different online vehicle selection schemes and perform vehicle selection based on the information of whether the task vehicle in the Internet of Vehicles is a clear service vehicle.

[0043] The information of the service vehicle provided by the embodiment of the present invention includes the cost of completing the task.

[0044] The embodiment of the present invention provides a method for determining different online vehicle selection schemes and performing vehicle selection based on information about whether a task vehicle in a vehicle network clearly defines a service vehicle, including:

[0045] When the task vehicle in the IoV knows the information of some service vehicles, the online quality-aware vehicle selection scheme is used for vehicle selection;

[0046] When the task vehicle in the Internet of Vehicles does not know the information of the service vehicle, an online vehicle selection scheme based on cost perception and quality perception is used to select the vehicle.

[0047] like Figure 2 As shown, the online vehicle selection method for task distribution in the Internet of Vehicles provided by the embodiment of the present invention includes the following steps:

[0048] S101, determining whether the task vehicle knows the information of some service vehicles; if so, executing step S102; if not, executing step S104;

[0049] S102, assigning tasks to all service vehicles. After completing the tasks, the service vehicles return the task results and determine the task information of the service vehicles. Calculate based on the acquired task information to obtain the best task expectation, and then go to step S103;

[0050] S103, based on the obtained task expectation data, selecting, and when the budget is not exhausted or the task is not completed, continuously selecting the best service vehicle according to the indicator;

[0051] S104, selecting a vehicle according to an online vehicle selection scheme based on cost perception and quality perception.

[0052] The task information of the service vehicle provided by the embodiment of the present invention includes: the task completion quality and task benefit of the service vehicle.

[0053] The optimal task expectation provided by the embodiment of the present invention is the most suitable indicator of the selected service vehicle under comprehensive conditions.

[0054] Step S103 provided in the embodiment of the present invention further includes: updating the previously obtained optimal task expectation each time a vehicle is selected.

[0055] The online vehicle selection method for task distribution in the Internet of Vehicles provided by the embodiment of the present invention also includes:

[0056] The vehicle selection problem is modeled as a new multi-armed bandit problem, where each vehicle is regarded as an arm and its processing completion time is regarded as the corresponding reward, that is, vehicle selection is virtualized as pulling the arm.

[0057] The online vehicle selection method for task distribution in the Internet of Vehicles provided by the embodiment of the present invention further includes: comprehensively considering the cost of the service vehicle, the learning reward and cost of the task vehicle to select the vehicle.

[0058] The vehicle selection provided by the embodiment of the present invention includes: selecting multiple vehicles each time to ensure the task processing result.

[0059] The technical solution of the present invention is further described below in conjunction with specific embodiments.

[0060] Embodiment 1:

[0061] The solution of the present invention is mainly divided into two specific models in two cases. The first is the online quality-aware vehicle selection solution:

[0062] In the first case, the task vehicle knows the information of some service vehicles, such as the cost of completing the task, etc. The whole process is divided into two parts: exploration part and practice part. In the exploration part, the task is assigned to all service vehicles, and the service vehicles return the task results after completing the task. From this, the task completion quality, task benefits, etc. of the service vehicle can be known. By calculating with the obtained information, the best task expectation can be obtained, that is, the most suitable service vehicle indicator under comprehensive conditions; practice part: after the exploration part is completed, the obtained task expectation data is used for selection, and when the budget is not exhausted or the task is not completed, the best service vehicle is continuously selected according to the indicator, and the best task expectation obtained before will be updated after each selection.

[0063] In the second case, under normal circumstances, the task vehicle does not know any information about the service vehicle in advance, so the present invention proposes an online vehicle selection scheme based on cost perception and quality perception for this situation. The principle in the exploration and practice stage is basically similar to that in the first case. The specific model structure is shown in the figure below.

[0064] The technical effect of the present invention is further described below in conjunction with simulation experiments.

[0065] The GPS data of the mobility trajectories of 500 taxis for one month was selected as the dataset for the experiment. For vehicle network communication, we set the wireless channel and considered the distance between vehicles. In addition, we set the channel bandwidth of the vehicle to W = 30MHz, the transmission power to P = 0.2W, and also considered the noise component. For the task vehicle, we assume that the task vehicle has the same input data size and task result size (that is, the input data size is S t = 2Mbits, and the task result size is λ t =0.5mbits); the CPU cycles required for the task are ω t = 200M. In addition, to describe the heterogeneity of the maintenance vehicles, the service vehicles are randomly selected from a uniform distribution to set [2,8] GHz as the CPU frequency assigned to the task. For the cost parameter of the service vehicle, we randomly generate it from (0,1).

[0066] The main experimental results are as follows Figure 3-Figure 8 As shown, the solution of the present invention is compared with several common solutions currently. The above experimental result diagram shows that the solution proposed by the present invention performs better in all aspects.

[0067] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0068] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. An online vehicle selection method for task distribution in a vehicle network, characterized in that: The online vehicle selection method for task distribution in the Internet of Vehicles includes: Construct online quality-aware vehicle selection schemes and online vehicle selection schemes based on cost awareness and quality awareness, and determine different online vehicle selection schemes and perform vehicle selection based on the information of whether the task vehicle in the Internet of Vehicles is a clear service vehicle; The online vehicle selection method for task distribution in the Internet of Vehicles comprises the following steps: Step 1: determine whether the task vehicle knows the information of some service vehicles; if so, execute step 2; if not, execute step 4; Step 2: Allocate tasks to all service vehicles. After completing the tasks, the service vehicles return the task results and determine the task information of the service vehicles. Calculate based on the acquired task information to obtain the best task expectation and proceed to step 3. Step 3: Select the service vehicle based on the obtained task expectation data, and continuously select the best service vehicle according to the indicators when the budget is not exhausted or the task is not completed; Step 4: Select a vehicle based on the online vehicle selection scheme based on cost perception and quality perception; In step 2, the optimal task expectation is the most suitable indicator of the selected service vehicle under comprehensive conditions; The step three also includes: updating the best task expectation obtained previously after each vehicle selection.

2. The online vehicle selection method for task distribution in the Internet of Vehicles as claimed in claim 1, characterized in that: The service vehicle information includes the cost of completing the task.

3. The online vehicle selection method for task distribution in the Internet of Vehicles as claimed in claim 1, characterized in that The determining of different online vehicle selection schemes and performing vehicle selection based on information of whether the task vehicle in the Internet of Vehicles clearly defines the service vehicle comprises: When the task vehicle in the IoV knows the information of some service vehicles, the online quality-aware vehicle selection scheme is used for vehicle selection; When the task vehicle in the Internet of Vehicles does not know the information of the service vehicle, an online vehicle selection scheme based on cost perception and quality perception is used to select the vehicle.

4. The online vehicle selection method for task distribution in the Internet of Vehicles as claimed in claim 1, characterized in that: In step 2, the task information of the service vehicle includes: the task completion quality and task benefit of the service vehicle.

5. The online vehicle selection method for task distribution in the Internet of Vehicles as claimed in claim 1, characterized in that: The online vehicle selection method for task distribution in the Internet of Vehicles also includes: The vehicle selection problem is modeled as a new multi-armed bandit problem, where each vehicle is regarded as an arm and its processing completion time is regarded as the corresponding reward, that is, the vehicle selection is virtualized as pulling the arm; The online vehicle selection method for task distribution in the Internet of Vehicles further includes: comprehensively considering the cost of the service vehicle, the learning reward and the cost of the task vehicle to select the vehicle; The vehicle selection includes: selecting a plurality of vehicles each time to ensure the task processing result.

6. An online vehicle selection control system for task distribution in an Internet of Vehicles that implements the online vehicle selection method for task distribution in an Internet of Vehicles as claimed in any one of claims 1 to 5, characterized in that: The online vehicle selection control system for task distribution in the Internet of Vehicles includes: A service vehicle task analysis module is used to determine whether the task vehicle knows the information of some service vehicles; The best task expectation acquisition module is used to assign tasks to all service vehicles. After the service vehicles complete the tasks, they return the task results and determine the task information of the service vehicles. Based on the acquired task information, calculations are performed to obtain the best task expectation. The best service vehicle selection module is used to select based on the obtained task expectation data, and continuously select the best service vehicle according to the indicators when the budget is not exhausted or the task is not completed; The online vehicle selection scheme selection module is used for selecting a vehicle according to an online vehicle selection scheme based on cost perception and quality perception.

7. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the online vehicle selection method for task distribution in a connected vehicle network as claimed in any one of claims 1 to 5.

8. An information data processing terminal, characterized in that: The information data processing terminal includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the online vehicle selection method for task distribution in the vehicle network as described in any one of claims 1 to 5.