Network connection method, network device, vehicle end and related device
By receiving latency values and obtaining hardware resource usage information in the network connection between the vehicle terminal and the edge node, determining the target latency threshold, and switching the edge node, the problem of low communication quality between the vehicle terminal and the edge node is solved, and stable network transmission is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD
- Filing Date
- 2023-06-19
- Publication Date
- 2026-05-19
AI Technical Summary
In communication between vehicle terminals and edge nodes, existing technologies cannot be scaled up in scenarios with high resource consumption, resulting in data transmission interruptions even with low latency.
When establishing a network connection between the vehicle and the edge node, the system receives and compares latency values, obtains information on the hardware resource usage of the edge node, determines the target latency threshold, and sends a switching command when the latency value exceeds the threshold, switching to an edge node with lower latency.
This improved the communication quality between the vehicle terminal and the edge node, ensuring stable network transmission and preventing data transmission interruptions.
Smart Images

Figure CN116709450B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, specifically to a network connection method, network device, vehicle terminal and related equipment. Background Technology
[0002] In vehicle-to-everything (V2X) communication, vehicle terminals and edge nodes communicate to transmit data. Related technologies employ dynamic scheduling methods for edge nodes, scaling them up or down based on resource usage to avoid resource shortages or waste. However, this dynamic scaling up or down is only feasible when the overall resource utilization of edge nodes is low. For computational scenarios consuming significant edge node resources, further scaling is not possible, and even with low latency between the edge node and the vehicle terminal, data transmission interruptions can occur in such cases.
[0003] It is evident that existing technologies suffer from low communication quality between vehicle terminals and edge nodes. Summary of the Invention
[0004] This disclosure provides a network connection method, network device, vehicle terminal, and related devices to address the problem of low communication quality between vehicle terminals and edge nodes in the prior art.
[0005] To solve the above problems, this disclosure is implemented as follows:
[0006] In a first aspect, embodiments of this disclosure provide a network connection method applied to a central node in a target network, the target network including the central node and at least two edge nodes, the method comprising:
[0007] When a network connection is established between the vehicle and the first edge node, the system receives a first delay value and a second delay value sent by the vehicle. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of the at least two edge nodes.
[0008] If the first delay value is greater than the second delay value, obtain the hardware resource usage information of the first edge node;
[0009] The target latency threshold is determined based on the hardware resource occupancy information of the first edge node;
[0010] If the first latency value is greater than the target latency threshold, a switching instruction is sent to the vehicle terminal, which is used to instruct the vehicle terminal to switch the edge node of the network connection.
[0011] In one embodiment, the hardware resource occupancy information includes multiple target occupancy values for different hardware, which are used to characterize the real-time status of resource occupancy for the corresponding hardware.
[0012] In one embodiment, the hardware resource usage information also includes the resource usage warning value for each of the plurality of different hardware components;
[0013] The determination of the target latency threshold based on the hardware resource occupancy information of the first edge node includes:
[0014] Calculate the target parameter, wherein the target parameter is the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value;
[0015] The product of the target parameter, the preset weight value, and the preset initial delay threshold is set as the intermediate adjustment value;
[0016] The difference between the initial delay threshold and the intermediate adjustment value is set as the target delay threshold.
[0017] In one embodiment, after sending the switching command to the vehicle, the method further includes:
[0018] The target latency threshold is sent to the vehicle terminal, and the target latency threshold is greater than the latency between the edge node and the vehicle terminal after the handover.
[0019] In one embodiment, before receiving the first delay value and the second delay value sent by the vehicle terminal, the method further includes:
[0020] Receive a connection request sent by the vehicle terminal, the connection request being used to obtain the connection address of the edge node;
[0021] The vehicle sends the connection addresses of multiple edge nodes to the vehicle terminal. The multiple edge nodes are edge nodes that the vehicle terminal can establish network connections with. The first edge node is the edge node with the smallest real-time latency value with the vehicle terminal among the multiple edge nodes.
[0022] Secondly, embodiments of this disclosure provide a network connection method applied to a vehicle, wherein the vehicle is connected to an edge node network in a target network, the target network including a central node and at least two edge nodes, the method comprising:
[0023] When a network connection is established between the vehicle and the first edge node, a first delay value and a second delay value are sent to the central node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of the at least two edge nodes.
[0024] The central node receives a switching instruction sent by the central node. The switching instruction is a command sent by the central node to the vehicle terminal when the central node obtains the hardware resource occupancy information of the first edge node, determines a target latency threshold based on the hardware resource occupancy information of the first edge node, and sends the instruction to the vehicle terminal when the first latency value is greater than the target latency threshold. The switching instruction is used to instruct the vehicle terminal to switch the edge node of the network connection.
[0025] Switch the edge node for network connection.
[0026] In one embodiment, before sending the first delay value and the second delay value to the central node, the method further includes:
[0027] A connection request is sent to the central node, the connection request being used to obtain the connection address of the edge node;
[0028] The system receives the connection addresses of multiple edge nodes sent by the central node, where the multiple edge nodes are edge nodes that can establish network connections with the vehicle.
[0029] Obtain the real-time latency value between the vehicle terminal and the connection address of each of the plurality of edge nodes;
[0030] Establish a network connection with the first edge node, which is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0031] In one embodiment, prior to the switching of network connectivity at the edge node, the method further includes:
[0032] Receive the target delay threshold sent by the central node;
[0033] Obtain the real-time latency value between the vehicle terminal and the address of each of the plurality of edge nodes;
[0034] If the real-time latency value of the target edge node is less than the target latency threshold, a network connection is established between the vehicle and the target edge node, wherein the target edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0035] Thirdly, embodiments of this disclosure also provide a network device, including:
[0036] The first receiving module is used to receive a first delay value and a second delay value sent by the vehicle when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes.
[0037] The acquisition module is used to acquire the hardware resource occupancy information of the first edge node when the first delay value is greater than the second delay value;
[0038] The processing module is used to determine the target latency threshold based on the hardware resource occupancy information of the first edge node;
[0039] The first sending module is used to send a switching instruction to the vehicle when the first delay value is greater than the target delay threshold. The switching instruction is used to instruct the vehicle to switch the edge node of the network connection.
[0040] In one embodiment, the hardware resource occupancy information includes multiple target occupancy values for different hardware, which are used to characterize the real-time status of resource occupancy for the corresponding hardware.
[0041] In one embodiment, the hardware resource usage information also includes the resource usage warning value for each of the plurality of different hardware components;
[0042] The processing module includes:
[0043] The first processing unit is used to calculate the target parameter, wherein the target parameter is the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value;
[0044] The second processing unit is used to set the product of the target parameter, the preset weight value and the preset initial delay threshold as the intermediate adjustment value;
[0045] The third processing unit is used to set the difference between the initial delay threshold and the intermediate adjustment value as the target delay threshold.
[0046] In one embodiment, after the first transmitting module, the network device further includes:
[0047] The second sending module is used to send the target latency threshold to the vehicle terminal, wherein the target latency threshold is greater than the latency between the edge node after the handover and the vehicle terminal.
[0048] In one embodiment, prior to the first receiving module, the network device further includes:
[0049] The second receiving module is used to receive the connection request sent by the vehicle terminal, the connection request being used to obtain the connection address of the edge node;
[0050] The third sending module is used to send the connection addresses of multiple edge nodes to the vehicle terminal. The multiple edge nodes are edge nodes that the vehicle terminal can establish network connections with. The first edge node is the edge node with the smallest real-time latency value with the vehicle terminal among the multiple edge nodes.
[0051] Fourthly, embodiments of this disclosure also provide a vehicle-end, including:
[0052] The first sending module is used to send a first delay value and a second delay value to the central node when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes.
[0053] The first receiving module is used to receive a switching instruction sent by the central node. The switching instruction is an instruction sent by the central node to the vehicle terminal when the central node obtains the hardware resource occupancy information of the first edge node and determines a target latency threshold based on the hardware resource occupancy information of the first edge node, and when the first latency value is greater than the target latency threshold. The switching instruction is used to instruct the vehicle terminal to switch the edge node of the network connection.
[0054] The first processing module is used to switch the edge nodes of the network connection.
[0055] In one embodiment, prior to the first transmitting module, the vehicle terminal further includes:
[0056] The second sending module is used to send a connection request to the central node, the connection request being used to obtain the connection address of the edge node;
[0057] The second receiving module is used to receive the connection addresses of multiple edge nodes sent by the central node, wherein the multiple edge nodes are edge nodes that can establish network connections with the vehicle.
[0058] The first acquisition module is used to acquire the real-time latency value between the connection address of the vehicle terminal and each of the plurality of edge nodes;
[0059] The second processing module is used to establish a network connection with the first edge node, which is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0060] In one embodiment, prior to the first processing module, the vehicle terminal further includes:
[0061] The third receiving module is used to receive the target delay threshold sent by the central node;
[0062] The second acquisition module is used to acquire the real-time latency value between the vehicle terminal and the address of each of the plurality of edge nodes;
[0063] The third processing module is used to establish a network connection between the vehicle and the target edge node when the real-time latency value of the target edge node is less than the target latency threshold. The target edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0064] Fifthly, embodiments of this disclosure also provide a network device, including a transceiver and a processor.
[0065] The transceiver is used to receive a first delay value and a second delay value sent by the vehicle when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes.
[0066] The transceiver is further configured to obtain hardware resource occupancy information of the first edge node when the first delay value is greater than the second delay value;
[0067] The processor is used to determine the target latency threshold based on the hardware resource occupancy information of the first edge node;
[0068] The transceiver is further configured to send a switching instruction to the vehicle when the first delay value is greater than the target delay threshold. The switching instruction is used to instruct the vehicle to switch the edge node of the network connection.
[0069] In one embodiment, the hardware resource occupancy information includes multiple target occupancy values for different hardware, which are used to characterize the real-time status of resource occupancy for the corresponding hardware.
[0070] In one embodiment, the hardware resource usage information also includes the resource usage warning value for each of the plurality of different hardware components;
[0071] The processor is further configured to calculate target parameters, wherein the target parameters are the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value;
[0072] The processor is further configured to set the product of the target parameter, the preset weight value, and the preset initial delay threshold as an intermediate adjustment value;
[0073] The processor is further configured to set the difference between the initial delay threshold and the intermediate adjustment value as the target delay threshold.
[0074] In one embodiment, the transceiver is further configured to send the target latency threshold to the vehicle terminal, the target latency threshold being greater than the latency between the switched edge node and the vehicle terminal.
[0075] In one embodiment, the transceiver is further configured to receive a connection request sent by the vehicle terminal, the connection request being used to obtain the connection address of the edge node;
[0076] The transceiver is also used to send the connection addresses of multiple edge nodes to the vehicle terminal. The multiple edge nodes are edge nodes that the vehicle terminal can establish network connections with. The first edge node is the edge node with the smallest real-time latency value with the vehicle terminal among the multiple edge nodes.
[0077] Sixthly, embodiments of this disclosure also provide a vehicle-side component, including a transceiver and a processor.
[0078] The transceiver is used to send a first delay value and a second delay value to the central node when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes.
[0079] The transceiver is also used to receive a switching instruction sent by the central node. The switching instruction is an instruction sent by the central node to the vehicle terminal when the central node obtains the hardware resource occupancy information of the first edge node and determines a target latency threshold based on the hardware resource occupancy information of the first edge node, and when the first latency value is greater than the target latency threshold. The switching instruction is used to instruct the vehicle terminal to switch the edge node of the network connection.
[0080] The processor is used to switch the edge nodes of the network connection.
[0081] In one embodiment, the transceiver is further configured to send a connection request to the central node, the connection request being used to obtain the connection address of the edge node;
[0082] The transceiver is also used to receive the connection addresses of multiple edge nodes sent by the central node, wherein the multiple edge nodes are edge nodes that can establish network connections with the vehicle end.
[0083] The transceiver is also used to obtain the real-time latency value between the vehicle terminal and the connection address of each of the plurality of edge nodes;
[0084] The processor is also configured to establish a network connection with the first edge node, which is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0085] In one embodiment, the transceiver is further configured to receive a target latency threshold sent by the central node;
[0086] The transceiver is also used to obtain the real-time latency value between the vehicle terminal and the address of each of the plurality of edge nodes;
[0087] The processor is further configured to establish a network connection between the vehicle and the target edge node when the real-time latency value of the target edge node is less than the target latency threshold, wherein the target edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0088] In a seventh aspect, embodiments of this disclosure also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the network connection method described in the first aspect above, or implements the steps of the network connection method described in the second aspect above.
[0089] Eighthly, embodiments of this disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the network connection method described in the first aspect above, or implements the steps of the network connection method described in the second aspect above.
[0090] In this embodiment of the disclosure, when a network connection is established between the vehicle and the first edge node, a first latency value and a second latency value are received from the vehicle. If the first latency value is greater than the second latency value, the hardware resource occupancy information of the first edge node is obtained, and a target latency threshold is determined based on the hardware resource occupancy information of the first edge node. If the first latency value is greater than the target latency threshold, a switching command is sent to the vehicle, so that the vehicle switches to another edge node with lower latency after receiving the switching command, thereby ensuring stable network transmission between the vehicle and the target network and improving communication quality. Attached Figure Description
[0091] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments of this disclosure will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0092] Figure 1 This is a flowchart of a network connection method provided in an embodiment of this disclosure;
[0093] Figure 2 This is a schematic diagram of the target network and vehicle-side connection provided in the embodiments of this disclosure;
[0094] Figure 3 This is a flowchart of a network connection method provided in an embodiment of this disclosure;
[0095] Figure 4 This is a schematic diagram of the structure of a network device provided in an embodiment of this disclosure;
[0096] Figure 5 This is a schematic diagram of a vehicle end structure provided in an embodiment of this disclosure;
[0097] Figure 6 This is a schematic diagram of the structure of a network device provided in an embodiment of this disclosure;
[0098] Figure 7 This is a schematic diagram of a vehicle end structure provided in an embodiment of this disclosure;
[0099] Figure 8 This is a structural diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0100] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0101] Please see Figure 1 , Figure 1 This is a flowchart of a network connection method provided in an embodiment of this disclosure, applied to a central node in a target network, wherein the target network includes the central node and at least two edge nodes, such as... Figure 1 As shown, the method includes the following steps:
[0102] Step 101: When a network connection is established between the vehicle and the first edge node, receive a first delay value and a second delay value sent by the vehicle. The first delay value is the data transmission delay between the vehicle and the first edge node at the current time, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current time. The first edge node is one of at least two edge nodes.
[0103] The aforementioned vehicle-mounted terminal is a mobile terminal installed on a vehicle. It should be understood that when the vehicle is stationary, the distance between the vehicle-mounted terminal and the first edge node remains unchanged, and there is no need to switch edge nodes. However, when the vehicle is moving, the distance between the vehicle-mounted terminal and the first edge node changes. In this case, the latency between the vehicle-mounted terminal and the first edge node changes, and data transmission between the vehicle-mounted terminal and the first edge node may be interrupted. It is necessary to confirm whether the vehicle-mounted terminal needs to switch the edge node with which it has a network connection.
[0104] The first delay value and the second delay value are real-time delay values sent by the vehicle at fixed intervals, used to determine the network connection status between the vehicle and the first edge node. For example, after establishing a network connection with the first edge node, the vehicle sends a real-time delay value every 5 minutes.
[0105] It should be understood that the first delay value and the second delay value sent by the vehicle can be delay values sent to the central node, or they can be sent by the vehicle to the first edge node and then forwarded to the central node by the first edge node, or they can be processed directly by the first edge node. See the following embodiments for details.
[0106] The target network described above is a network that connects to the vehicle, including a central node and at least two edge nodes, such as... Figure 2As shown, the first edge node is one of at least two edge nodes. If the network connection between the first edge node and the vehicle cannot meet the data transmission requirements, the vehicle can switch to establishing a network connection with another edge node other than the first edge node among the at least two edge nodes to improve the communication quality of the network connection, as detailed in subsequent embodiments.
[0107] Step 102: If the first delay value is greater than the second delay value, obtain the hardware resource occupancy information of the first edge node.
[0108] The first delay value is the delay value at the current moment, and the second delay value is the delay value before the current moment. The distance between the vehicle and the first edge node is determined by comparing the first delay value and the second delay value. Specifically, if the first delay value is greater than the second delay value, the vehicle is determined to be moving away from the first edge node; if the first delay value is less than the second delay value, the vehicle is determined to be moving closer to the first edge node; if the first delay value is equal to the second delay value, the distance between the vehicle and the first edge node has not changed.
[0109] It should be understood that when the vehicle is close to the first edge node, or when the distance between the vehicle and the first edge node remains unchanged, the network connection quality between the vehicle and the first edge node will be better or unchanged, and there will be no abnormal interruption. However, when the vehicle is far away from the first edge node, the network connection quality between the vehicle and the first edge node deteriorates. In this case, data transmission interruption may occur between the vehicle and the first edge node. Therefore, it is necessary to obtain the hardware resource usage information of the first edge node and determine whether the vehicle needs to switch the edge node for network connection based on the hardware resource usage information of the first edge node. For details, please refer to the following embodiments.
[0110] The comparison can be performed either directly through the central node or through the first edge node. When comparing directly through the central node, the central node maintains an information table corresponding to the vehicle-side device. This table includes latency values at different times after the vehicle-side device connects to the first edge node's network. The last received latency value is set as the first latency value, and the latency value received before the first latency value is set as the second latency value. The first and second latency values are then compared. If the first latency value is greater than the second latency value, the hardware resource usage information of the first edge node is then obtained.
[0111] When comparing the first latency value and the second latency value through the first edge node, the first edge node maintains a connection table. After establishing a network connection between the first edge node and the vehicle, the vehicle's identifier is added to the connection table, along with the first latency value and the second latency value sent by the vehicle. If the first latency value is greater than the second latency value, the first edge node sends an acquisition instruction to the central node, which includes the vehicle's identifier, and then deletes the vehicle's identifier from the connection table. After receiving the acquisition instruction, the central node obtains the hardware resource occupancy information of the first edge node. If the vehicle needs to switch edge nodes, the central node sends a switching command to the vehicle based on the vehicle's identifier.
[0112] Step 103: Determine the target latency threshold based on the hardware resource occupancy information of the first edge node.
[0113] The aforementioned hardware resource usage information is a comprehensive overview of the usage status of various hardware resources in the first edge node, such as the utilization rates of resources like the Central Processing Unit (CPU), memory, network bandwidth, and Graphics Processing Unit (GPU). The aforementioned target latency threshold is the maximum latency value required to maintain uninterrupted data transmission between the vehicle and the first edge node. It should be understood that when the hardware resource usage of the first edge node is high, the number of hardware resources that the first edge node can utilize is reduced. To ensure uninterrupted data transmission between the vehicle and the first edge node, a low real-time latency value is required between the vehicle and the first edge node to guarantee network connection quality, as detailed in subsequent embodiments.
[0114] Step 104: If the first delay value is greater than the target delay threshold, a switching instruction is sent to the vehicle terminal. The switching instruction is used to instruct the vehicle terminal to switch the edge node of the network connection.
[0115] It should be understood that since the target latency threshold is the maximum latency value that ensures uninterrupted data transmission between the vehicle and the first edge, if the first latency value is greater than the target latency threshold, data transmission between the vehicle and the first edge may be interrupted. In this case, a switching command is sent to the vehicle to instruct it to switch the edge node to which it is connected to the network. After receiving the switching command, the vehicle switches to another edge node with lower latency, thereby ensuring stable network transmission between the vehicle and the target network.
[0116] In this embodiment of the disclosure, when a network connection is established between the vehicle and the first edge node, a first latency value and a second latency value are received from the vehicle. If the first latency value is greater than the second latency value, the hardware resource occupancy information of the first edge node is obtained, and a target latency threshold is determined based on the hardware resource occupancy information of the first edge node. If the first latency value is greater than the target latency threshold, a switching command is sent to the vehicle, so that the vehicle switches to another edge node with lower latency after receiving the switching command, thereby ensuring stable network transmission between the vehicle and the target network and improving communication quality.
[0117] In one embodiment, the hardware resource occupancy information includes multiple target occupancy values for different hardware, which are used to characterize the real-time status of resource occupancy for the corresponding hardware.
[0118] The target occupancy value mentioned above is the utilization rate of one piece of hardware in the first edge node. The first edge node includes multiple pieces of hardware, such as CPU, memory, network bandwidth, GPU, etc. The target latency threshold is determined by the target occupancy values corresponding to multiple pieces of hardware, and then the vehicle needs to switch the edge node for network connection based on the target latency threshold.
[0119] The target latency threshold can be determined by the target occupancy value corresponding to multiple hardware components. This can be done by determining the target latency threshold by the largest target occupancy value among the target occupancy values corresponding to multiple hardware components, by determining the target latency threshold by the average of all target occupancy values among the target occupancy values corresponding to multiple hardware components, or by determining the target latency threshold by multiplying the target occupancy value corresponding to multiple hardware components by a weighting coefficient. For details, please refer to the following embodiments.
[0120] In this embodiment of the disclosure, the hardware resource occupancy information includes multiple target occupancy values for different hardware. The target occupancy value is used to characterize the real-time state of resource occupancy of the corresponding hardware. A target latency threshold is determined by multiple target occupancy values for different hardware, thereby enabling the determination of whether the vehicle needs to switch the edge node of the network connection based on the target latency threshold.
[0121] In one embodiment, the hardware resource usage information also includes the resource usage warning value for each of the plurality of different hardware components;
[0122] The determination of the target latency threshold based on the hardware resource occupancy information of the first edge node includes:
[0123] Calculate the target parameter, wherein the target parameter is the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value;
[0124] Set the product of the target parameter, the preset weight value, and the preset initial delay threshold as the intermediate adjustment value;
[0125] Set the difference between the initial delay threshold and the intermediate adjustment value as the target delay threshold.
[0126] The above initial delay threshold is the delay value when the vehicle terminal and the first edge node maintain a stable network connection under sufficient hardware resources. It should be understood that when the real-time delay value between the vehicle terminal and the first edge node is less than or equal to the initial delay threshold under sufficient hardware resources, data transmission between the vehicle terminal and the first edge node can be kept uninterrupted.
[0127] The above resource occupancy warning value is a warning value preset for each hardware. When the target occupancy value of the hardware exceeds the resource occupancy warning value corresponding to the hardware, the hardware resources are no longer sufficient, and the data transmission between the vehicle terminal and the first edge node is affected. In this case, it is necessary to determine the target delay threshold, and then determine whether to instruct the vehicle terminal to switch the edge node of the network connection according to the target delay threshold.
[0128] Among them, the target delay threshold is obtained by adjusting the initial delay threshold based on the hardware resource occupancy information, specifically including:
[0129] Calculate the target parameter according to the target occupancy value and the resource occupancy warning value of each hardware in multiple hardware;
[0130] Calculate the intermediate adjustment value according to the target parameter, the preset weight value, and the initial delay threshold. The preset weight value is an adjustment coefficient configured for each hardware, which can be the same or different. In the embodiments of the present disclosure, it is set to be the same for convenience of calculation;
[0131] Calculate the target delay threshold according to the initial delay threshold and the intermediate adjustment value.
[0132] The above calculation process can be determined by the following formula 1:
[0133]
[0134] Among them, s1 is the target delay threshold, s0 is the initial delay threshold, k is the weight coefficient, and 0 < k < 1, n is the number of hardware of the first edge node, ε() is the step function, u i is the target occupancy value corresponding to the i-th hardware, l i is the resource occupancy warning value corresponding to the i-th hardware.
[0135] For example, the first edge node includes 4 hardware components: CPU, memory, network bandwidth, and GPU. The resource occupancy warning value of the CPU is 60%, the resource occupancy warning value of the memory is 80%, the resource occupancy warning value of the network bandwidth is 70%, and the resource occupancy warning value of the GPU is 70%. The initial delay threshold is 50 ms, and the weight coefficient is 5%. The central node obtains the hardware resource occupancy information of the first edge node: the target occupancy value of the CPU is 61%, the target occupancy value of the memory is 80%, the target occupancy value of the network bandwidth is 60%, and the target occupancy value of the GPU is 66%. Then, the target delay threshold can be calculated as s1 = 50×(1 - 5%×2) = 45, that is, the target delay threshold is 45 ms.
[0136] It should be understood that it is also possible to calculate the target parameter based on the sum of the products of the target occupancy value of each hardware and the weight coefficient when the target occupancy value of each hardware is greater than the resource occupancy warning value, and then calculate the target delay threshold through the target parameter and the initial delay threshold. For example, Formula II below:
[0137]
[0139] i where, s1 is the target delay threshold, s0 is the initial delay threshold, k is the weight coefficient, and 0 < k < 1, n is the number of hardware components of the first edge node, ε() is the step function, u i is the target occupancy value corresponding to the i-th hardware component, and l is the resource occupancy warning value corresponding to the i-th hardware component.
[0140] In the embodiments of the present disclosure, the hardware resource occupancy information further includes the resource occupancy warning value of each hardware component among multiple different hardware components. By calculating the target parameter, the product of the target parameter, the preset weight value, and the preset initial delay threshold is set as the intermediate adjustment value, and then the difference between the initial delay threshold and the intermediate adjustment value is set as the target delay threshold, so as to enable the central node to determine whether to send a switching instruction to the vehicle terminal based on the target delay threshold and the first delay value.
[0141] After sending the switching instruction to the vehicle terminal, the method further includes:
[0142] Sending the target delay threshold to the vehicle terminal, where the target delay threshold is greater than the delay between the switched edge node and the vehicle terminal.It should be noted that the hardware resource usage of the first edge node is affected by data transmission in the network connection. That is, after the vehicle switches the edge node for network connection, the real-time usage of each hardware resource of the first edge node decreases, while the real-time usage of each hardware resource of the edge node for network connection increases. There is a possibility of data transmission interruption between the vehicle and the switched edge node. Therefore, higher requirements are needed for the latency of the switched edge node.
[0143] Before establishing a network connection between the vehicle and the edge nodes, the edge nodes that the vehicle may establish a network connection with are located in adjacent areas of the road, and the loads of different edge nodes are similar. After establishing a network connection between the vehicle and different edge nodes, the changes in hardware resource usage of different edge nodes are similar. Based on this, it is assumed that if the real-time latency between the vehicle and the switched edge nodes is less than or equal to the target latency threshold, the vehicle and the switched edge nodes can maintain a stable network connection.
[0144] In this embodiment of the disclosure, by sending a target latency threshold to the vehicle, the target latency threshold being greater than the latency between the switched edge node and the vehicle, ensures that the real-time latency value of the vehicle after switching the network connection edge node is less than the target latency threshold, and that the vehicle and the switched edge node can maintain a stable network connection.
[0145] In one embodiment, before receiving the first delay value and the second delay value sent by the vehicle terminal, the method further includes:
[0146] Receive a connection request sent by the vehicle terminal, the connection request being used to obtain the connection address of the edge node;
[0147] The vehicle sends the connection addresses of multiple edge nodes to the vehicle terminal. The multiple edge nodes are edge nodes that the vehicle terminal can establish network connections with. The first edge node is the edge node with the smallest real-time latency value with the vehicle terminal among the multiple edge nodes.
[0148] The connection request mentioned above is sent by the vehicle-mounted device before it initially establishes a network connection with an edge node in the target network. It should be understood that when the vehicle-mounted device initially establishes a connection with the target network, it cannot determine the edge nodes that can be connected within the target network; only the central node of the target network can be identified. Since the latency between the central node and the vehicle-mounted device is relatively large, it is not suitable for transmitting large amounts of data. In this case, the vehicle-mounted device sends a connection request to the central node, which then sends the connection addresses of multiple edge nodes to the vehicle-mounted device. The vehicle-mounted device then selects one edge node from these edge nodes to establish a network connection.
[0149] Among them, the first edge node is the edge node with the smallest real-time latency value with the vehicle among multiple edge nodes, so as to maintain stable network transmission between the vehicle and the first edge node.
[0150] Specifically, after the vehicle receives the connection addresses of multiple edge nodes, it sends multiple delay determination messages to each connection address at intervals to obtain multiple delay values between the vehicle and each edge node. Then, it calculates the average value based on the multiple delay values of each edge node and sets the average value as the delay value between the vehicle and the edge node. Finally, it selects the edge node with the smallest average value as the first edge node for network connection.
[0151] Please see Figure 3 , Figure 3 This is a flowchart of a network connection method provided in an embodiment of this disclosure, applied to a vehicle-side network. The vehicle-side network is connected to an edge node network in a target network, which includes a central node and at least two edge nodes, such as... Figure 3 As shown, the method includes the following steps:
[0152] Step 301: When a network connection is established between the vehicle and the first edge node, a first delay value and a second delay value are sent to the central node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current time, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current time. The first edge node is one of the at least two edge nodes.
[0153] Step 302: Receive a switching instruction sent by the central node. The switching instruction is an instruction sent by the central node to the vehicle when the first delay value is greater than the second delay value, after obtaining the hardware resource occupancy information of the first edge node, determining a target delay threshold based on the hardware resource occupancy information of the first edge node, and when the first delay value is greater than the target delay threshold. The switching instruction is used to instruct the vehicle to switch the edge node of the network connection.
[0154] Step 303: Switch the edge node of the network connection.
[0155] In one embodiment, before sending the first delay value and the second delay value to the central node, the method further includes:
[0156] A connection request is sent to the central node, the connection request being used to obtain the connection address of the edge node;
[0157] The system receives the connection addresses of multiple edge nodes sent by the central node, where the multiple edge nodes are edge nodes that can establish network connections with the vehicle.
[0158] Obtain the real-time latency value between the vehicle terminal and the connection address of each of the plurality of edge nodes;
[0159] Establish a network connection with the first edge node, which is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0160] In one embodiment, prior to the switching of network connectivity at the edge node, the method further includes:
[0161] Receive the target delay threshold sent by the central node;
[0162] Obtain the real-time latency value between the vehicle terminal and the address of each of the plurality of edge nodes;
[0163] If the real-time latency value of the target edge node is less than the target latency threshold, a network connection is established between the vehicle and the target edge node, wherein the target edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0164] In this embodiment of the disclosure, when a network connection is established between the vehicle and the first edge node, the vehicle sends a first latency value and a second latency value. This allows the central node to obtain the hardware resource occupancy information of the first edge node when the first latency value is greater than the second latency value, and to determine a target latency threshold based on the hardware resource occupancy information of the first edge node. When the first latency value is greater than the target latency threshold, a switching command is sent to the vehicle, causing the vehicle to switch to another edge node with lower latency after receiving the switching command. This ensures stable network transmission between the vehicle and the target network and improves communication quality.
[0165] like Figure 4 As shown, this disclosure also provides a network device 400, which includes:
[0166] The first receiving module 401 is used to receive a first delay value and a second delay value sent by the vehicle when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current time, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current time. The first edge node is one of at least two edge nodes.
[0167] The acquisition module 402 is used to acquire the hardware resource occupancy information of the first edge node when the first delay value is greater than the second delay value;
[0168] Processing module 403 is used to determine the target latency threshold based on the hardware resource occupancy information of the first edge node;
[0169] The first sending module 404 is used to send a switching instruction to the vehicle when the first delay value is greater than the target delay threshold. The switching instruction is used to instruct the vehicle to switch the edge node of the network connection.
[0170] In one embodiment, the hardware resource occupancy information includes multiple target occupancy values for different hardware, which are used to characterize the real-time status of resource occupancy for the corresponding hardware.
[0171] In one embodiment, the hardware resource usage information also includes the resource usage warning value for each of the plurality of different hardware components;
[0172] The processing module 403 includes:
[0173] The first processing unit is used to calculate the target parameter, wherein the target parameter is the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value;
[0174] The second processing unit is used to set the product of the target parameter, the preset weight value and the preset initial delay threshold as the intermediate adjustment value;
[0175] The third processing unit is used to set the difference between the initial delay threshold and the intermediate adjustment value as the target delay threshold.
[0176] In one embodiment, after the first transmitting module 404, the network device 400 further includes:
[0177] The second sending module is used to send the target latency threshold to the vehicle terminal, wherein the target latency threshold is greater than the latency between the edge node after the handover and the vehicle terminal.
[0178] In one embodiment, prior to the first receiving module 401, the network device 400 further includes:
[0179] The second receiving module is used to receive the connection request sent by the vehicle terminal, the connection request being used to obtain the connection address of the edge node;
[0180] The third sending module is used to send the connection addresses of multiple edge nodes to the vehicle terminal. The multiple edge nodes are edge nodes that the vehicle terminal can establish network connections with. The first edge node is the edge node with the smallest real-time latency value with the vehicle terminal among the multiple edge nodes.
[0181] In the application, network device 400 is deployed in the target network and periodically receives real-time latency values sent by the vehicle. When the real-time latency value of the vehicle increases, it periodically obtains the hardware resource occupancy information of the first edge node, determines the target latency threshold based on the hardware resource occupancy information, and then determines whether to send a handover command to the vehicle by comparing the real-time latency value between the vehicle and the first edge node with the target latency threshold. The period for receiving the real-time latency value sent by the vehicle is generally 5 minutes, and the period for obtaining the hardware resource occupancy information of the first edge node is generally 1 minute.
[0182] The network device 400 provided in this embodiment can achieve the above-mentioned functions. Figure 1 The various processes in the method embodiments shown achieve the same technical effect, and will not be described again here to avoid repetition.
[0183] like Figure 5 As shown, this disclosure also provides a vehicle-end 500, the vehicle-end 500 comprising:
[0184] The first sending module 501 is used to send a first delay value and a second delay value to the central node when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current time, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current time. The first edge node is one of at least two edge nodes.
[0185] The first receiving module 502 is used to receive a switching instruction sent by the central node. The switching instruction is an instruction sent by the central node to the vehicle terminal when the central node obtains the hardware resource occupancy information of the first edge node and determines a target latency threshold based on the hardware resource occupancy information of the first edge node, and when the first latency value is greater than the target latency threshold. The switching instruction is used to instruct the vehicle terminal to switch the edge node of the network connection.
[0186] The first processing module 503 is used to switch the edge node of the network connection.
[0187] In one embodiment, before the first transmitting module 501, the vehicle terminal further includes:
[0188] The second sending module is used to send a connection request to the central node, the connection request being used to obtain the connection address of the edge node;
[0189] The second receiving module is used to receive the connection addresses of multiple edge nodes sent by the central node, wherein the multiple edge nodes are edge nodes that can establish network connections with the vehicle.
[0190] The first acquisition module is used to acquire the real-time latency value between the connection address of the vehicle terminal and each of the plurality of edge nodes;
[0191] The second processing module is used to establish a network connection with the first edge node, which is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0192] In one embodiment, before the first processing module 503, the vehicle terminal further includes:
[0193] The third receiving module is used to receive the target delay threshold sent by the central node;
[0194] The second acquisition module is used to acquire the real-time latency value between the vehicle terminal and the address of each of the plurality of edge nodes;
[0195] The third processing module is used to establish a network connection between the vehicle and the target edge node when the real-time latency value of the target edge node is less than the target latency threshold. The target edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0196] The vehicle-side 500 provided in this embodiment can achieve the above-mentioned... Figure 3 The various processes in the method embodiments shown achieve the same technical effect, and will not be described again here to avoid repetition.
[0197] For details, see Figure 6 The present invention also provides a network device, including a bus 601, a transceiver 602, an antenna 603, a bus interface 604, a processor 605, and a memory 606.
[0198] The transceiver 602 is used to receive a first delay value and a second delay value sent by the vehicle when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current time, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current time. The first edge node is one of at least two edge nodes.
[0199] The transceiver 602 is also used to obtain hardware resource occupancy information of the first edge node when the first delay value is greater than the second delay value;
[0200] The processor 605 is used to determine the target latency threshold based on the hardware resource occupancy information of the first edge node;
[0201] The transceiver 602 is further configured to send a switching instruction to the vehicle when the first delay value is greater than the target delay threshold. The switching instruction is used to instruct the vehicle to switch the edge node of the network connection.
[0202] In one embodiment, the hardware resource occupancy information includes multiple target occupancy values for different hardware, which are used to characterize the real-time status of resource occupancy for the corresponding hardware.
[0203] In one embodiment, the hardware resource usage information also includes the resource usage warning value for each of the plurality of different hardware components;
[0204] The processor 605 is further configured to calculate target parameters, wherein the target parameters are the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value;
[0205] The processor 605 is further configured to set the product of the target parameter, the preset weight value and the preset initial delay threshold as an intermediate adjustment value;
[0206] The processor 605 is further configured to set the difference between the initial delay threshold and the intermediate adjustment value as the target delay threshold.
[0207] In one embodiment, the transceiver 602 is further configured to send the target latency threshold to the vehicle terminal, the target latency threshold being greater than the latency between the switched edge node and the vehicle terminal.
[0208] In one embodiment, the transceiver 602 is further configured to receive a connection request sent by the vehicle terminal, the connection request being used to obtain the connection address of the edge node;
[0209] The transceiver 602 is also used to send the connection addresses of multiple edge nodes to the vehicle terminal. The multiple edge nodes are edge nodes that the vehicle terminal can establish network connections with. The first edge node is the edge node with the smallest real-time latency value with the vehicle terminal among the multiple edge nodes.
[0210] exist Figure 6In this document, a bus architecture (represented by bus 601) is used. Bus 601 can include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 605 and memory represented by memory 606. Bus 601 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 604 provides an interface between bus 601 and transceiver 602. Transceiver 602 can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 605 is transmitted over a wireless medium via antenna 603, which further receives data and transmits data to processor 605.
[0211] Processor 605 manages bus 601 and general processing, and also provides various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Memory 606 can be used to store data used by processor 605 during operation.
[0212] Optionally, the processor 605 can be a CPU, ASIC, FPGA, or CPLD.
[0213] For details, see Figure 7 The present invention also provides a vehicle-mounted terminal, including a bus 701, a transceiver 702, an antenna 703, a bus interface 704, a processor 705, and a memory 706.
[0214] The transceiver 702 is used to send a first delay value and a second delay value to the central node when the vehicle-end establishes a network connection with the first edge node. The first delay value is the data transmission delay between the vehicle-end and the first edge node at the current time, and the second delay value is the data transmission delay between the vehicle-end and the first edge node before the current time. The first edge node is one of at least two edge nodes.
[0215] The transceiver 702 is also used to receive a switching instruction sent by the central node. The switching instruction is an instruction sent by the central node to the vehicle terminal when the central node obtains the hardware resource occupancy information of the first edge node and determines a target latency threshold based on the hardware resource occupancy information of the first edge node, and when the first latency value is greater than the target latency threshold. The switching instruction is used to instruct the vehicle terminal to switch the edge node of the network connection.
[0216] The processor 705 is used to switch the edge node of the network connection.
[0217] In one embodiment, the transceiver 702 is further configured to send a connection request to the central node, the connection request being used to obtain the connection address of the edge node;
[0218] The transceiver 702 is also used to receive the connection addresses of multiple edge nodes sent by the central node, wherein the multiple edge nodes are edge nodes that can establish network connections with the vehicle end;
[0219] The transceiver 702 is also used to obtain the real-time latency value between the vehicle terminal and the connection address of each of the plurality of edge nodes;
[0220] The processor 705 is also configured to establish a network connection with the first edge node, wherein the first edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0221] In one embodiment, the transceiver 702 is further configured to receive the target delay threshold sent by the central node;
[0222] The transceiver 702 is also used to obtain the real-time latency value between the vehicle terminal and the address of each of the plurality of edge nodes;
[0223] The processor 705 is further configured to establish a network connection between the vehicle and the target edge node when the real-time latency value of the target edge node is less than the target latency threshold, wherein the target edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
[0224] exist Figure 7 In this document, a bus architecture (represented by bus 701) is used. Bus 701 can include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 705 and memory represented by memory 706. Bus 701 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 704 provides an interface between bus 701 and transceiver 702. Transceiver 702 can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 705 is transmitted over a wireless medium via antenna 703, which further receives data and transmits data to processor 705.
[0225] Processor 705 manages bus 701 and general processing, and also provides various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Memory 606 can be used to store data used by processor 705 during operation.
[0226] Optionally, the processor 705 can be a CPU, ASIC, FPGA, or CPLD.
[0227] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure, such as... Figure 8 As shown, the electronic device includes: a processor 801, a memory 802, and a program 8021 stored in the memory 802 and executable on the processor 801.
[0228] When program 8021 is executed by processor 801, it can achieve the following: Figure 1 Any step in the corresponding method embodiment can achieve the same beneficial effect, or implement... Figure 3 Any steps in the corresponding method embodiments and the achievement of the same beneficial effects will not be repeated here.
[0229] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by hardware related to program instructions, and the program can be stored in a readable medium.
[0230] This disclosure also provides a readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described functions. Figure 1 Any step in the corresponding method embodiment, or, implementing the above Figure 3 Any step in the corresponding method embodiment can achieve the same technical effect, and will not be repeated here to avoid repetition.
[0231] The computer-readable storage medium of this disclosure can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. For example, a computer-readable storage medium can be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0232] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0233] The program code contained on the storage medium can be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0234] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or terminal. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0235] The above description represents the preferred embodiments of this disclosure. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles described herein, and these improvements and modifications should also be considered within the scope of protection of this disclosure.
Claims
1. A network connection method, characterized in that, The method, applied to a central node in a target network, the target network including the central node and at least two edge nodes, comprises: When a network connection is established between the vehicle and the first edge node, the system receives a first delay value and a second delay value sent by the vehicle. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of the at least two edge nodes. If the first delay value is greater than the second delay value, obtain the hardware resource usage information of the first edge node; The target latency threshold is determined based on the hardware resource occupancy information of the first edge node; If the first latency value is greater than the target latency threshold, a switching instruction is sent to the vehicle terminal, the switching instruction being used to instruct the vehicle terminal to switch the edge node of the network connection; The hardware resource occupancy information includes multiple target occupancy values for different hardware, and the target occupancy value is used to characterize the real-time status of the corresponding hardware's resources being occupied. The hardware resource usage information also includes the resource usage warning value for each of the multiple different hardware components; The determination of the target latency threshold based on the hardware resource occupancy information of the first edge node includes: Calculate the target parameter, wherein the target parameter is the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value; The product of the target parameter, the preset weight value, and the preset initial delay threshold is set as the intermediate adjustment value; The difference between the initial delay threshold and the intermediate adjustment value is set as the target delay threshold.
2. The method according to claim 1, characterized in that, After sending the switching command to the vehicle, the method further includes: The target latency threshold is sent to the vehicle terminal, and the target latency threshold is greater than the latency between the edge node and the vehicle terminal after the handover.
3. The method according to claim 1, characterized in that, Before receiving the first delay value and the second delay value sent by the vehicle terminal, the method further includes: Receive a connection request sent by the vehicle terminal, the connection request being used to obtain the connection address of the edge node; The vehicle sends the connection addresses of multiple edge nodes to the vehicle terminal. The multiple edge nodes are edge nodes that the vehicle terminal can establish network connections with. The first edge node is the edge node with the smallest real-time latency value with the vehicle terminal among the multiple edge nodes.
4. A network connection method, characterized in that, The method, applied to a vehicle-side device connected to an edge node network in a target network, wherein the target network includes a central node and at least two edge nodes, comprises: When a network connection is established between the vehicle and the first edge node, a first delay value and a second delay value are sent to the central node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of the at least two edge nodes. The central node receives a switching instruction, wherein, if a first latency value is greater than a second latency value, the central node obtains the hardware resource occupancy information of the first edge node, determines a target latency threshold based on the hardware resource occupancy information of the first edge node, the target latency threshold being the difference between an initial latency threshold and an intermediate adjustment value, the intermediate adjustment value being the product of a target parameter, a preset weight value, and a preset initial latency threshold, and the target parameter being the number of hardware devices among multiple different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value; and, if the first latency value is greater than the target latency threshold, sends an instruction to the vehicle terminal, the switching instruction being used to instruct the vehicle terminal to switch the edge node of the network connection. Switch the edge node for network connection.
5. The method according to claim 4, characterized in that, Before sending the first delay value and the second delay value to the central node, the method further includes: A connection request is sent to the central node, the connection request being used to obtain the connection address of the edge node; The system receives the connection addresses of multiple edge nodes sent by the central node, where the multiple edge nodes are edge nodes that can establish network connections with the vehicle. Obtain the real-time latency value between the vehicle terminal and the connection address of each of the plurality of edge nodes; Establish a network connection with the first edge node, which is the edge node with the smallest real-time latency value among the plurality of edge nodes.
6. The method according to claim 5, characterized in that, Prior to the switching of network connections at the edge node, the method further includes: Receive the target delay threshold sent by the central node; Obtain the real-time latency value between the vehicle terminal and the address of each of the plurality of edge nodes; If the real-time latency value of the target edge node is less than the target latency threshold, a network connection is established between the vehicle and the target edge node, wherein the target edge node is the edge node with the smallest real-time latency value among the plurality of edge nodes.
7. A network device, characterized in that, include: The first receiving module is used to receive a first delay value and a second delay value sent by the vehicle when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes. The acquisition module is used to acquire the hardware resource occupancy information of the first edge node when the first delay value is greater than the second delay value; The processing module is used to determine the target latency threshold based on the hardware resource occupancy information of the first edge node; The first sending module is used to send a switching instruction to the vehicle when the first delay value is greater than the target delay threshold. The switching instruction is used to instruct the vehicle to switch the edge node of the network connection. The hardware resource occupancy information includes multiple target occupancy values for different hardware, and the target occupancy value is used to characterize the real-time status of the corresponding hardware's resources being occupied. The hardware resource usage information also includes the resource usage warning value for each of the multiple different hardware components; The processing module includes: The first processing unit is used to calculate the target parameter, wherein the target parameter is the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value; The second processing unit is used to set the product of the target parameter, the preset weight value and the preset initial delay threshold as the intermediate adjustment value; The third processing unit is used to set the difference between the initial delay threshold and the intermediate adjustment value as the target delay threshold.
8. A vehicle end, characterized in that, include: The first sending module is used to send a first delay value and a second delay value to the central node when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes. The first receiving module is configured to receive a switching instruction sent by the central node. The switching instruction is as follows: when the central node obtains hardware resource occupancy information of the first edge node in the case that a first latency value is greater than a second latency value, it determines a target latency threshold based on the hardware resource occupancy information of the first edge node. The target latency threshold is the difference between an initial latency threshold and an intermediate adjustment value. The intermediate adjustment value is the product of a target parameter, a preset weight value, and a preset initial latency threshold. The target parameter is the number of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value. When the first latency value is greater than the target latency threshold, the central node sends an instruction to the vehicle terminal. The switching instruction is used to instruct the vehicle terminal to switch the edge node connected to the network. The first processing module is used to switch the edge nodes of the network connection.
9. A network device, characterized in that, Including transceivers and processors, The transceiver is used to receive a first delay value and a second delay value sent by the vehicle when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes. The transceiver is further configured to obtain hardware resource occupancy information of the first edge node when the first delay value is greater than the second delay value; The processor is used to determine the target latency threshold based on the hardware resource occupancy information of the first edge node; The transceiver is further configured to send a switching instruction to the vehicle terminal when the first delay value is greater than the target delay threshold, the switching instruction being used to instruct the vehicle terminal to switch the edge node of the network connection; The hardware resource occupancy information includes multiple target occupancy values for different hardware, and the target occupancy value is used to characterize the real-time status of the corresponding hardware's resources being occupied. The hardware resource usage information also includes the resource usage warning value for each of the multiple different hardware components; The processor is further configured to calculate target parameters, wherein the target parameters are the number of hardware devices among the plurality of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value; The processor is further configured to set the product of the target parameter, the preset weight value, and the preset initial delay threshold as an intermediate adjustment value; The processor is further configured to set the difference between the initial delay threshold and the intermediate adjustment value as the target delay threshold.
10. A vehicle end, characterized in that, Including transceivers and processors, The transceiver is used to send a first delay value and a second delay value to the central node when a network connection is established between the vehicle and the first edge node. The first delay value is the data transmission delay between the vehicle and the first edge node at the current moment, and the second delay value is the data transmission delay between the vehicle and the first edge node before the current moment. The first edge node is one of at least two edge nodes. The transceiver is further configured to receive a switching instruction sent by the central node. The switching instruction is as follows: when the central node obtains hardware resource occupancy information of the first edge node if a first latency value is greater than a second latency value, and determines a target latency threshold based on the hardware resource occupancy information of the first edge node. The target latency threshold is the difference between an initial latency threshold and an intermediate adjustment value. The intermediate adjustment value is the product of a target parameter, a preset weight value, and a preset initial latency threshold. The target parameter is the number of different hardware devices whose target occupancy value is greater than the corresponding resource occupancy warning value. When the first latency value is greater than the target latency threshold, the central node sends an instruction to the vehicle terminal. The switching instruction is used to instruct the vehicle terminal to switch the edge node connected to the network. The processor is used to switch the edge nodes of the network connection.
11. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when executed by the processor, the computer program implements the steps of the method as claimed in any one of claims 1 to 3, or implements the steps of the method as claimed in any one of claims 4 to 6.
12. A readable storage medium, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method as described in any one of claims 1 to 3, or implements the steps of the method as described in any one of claims 4 to 6.