Network switching method of vehicle-mounted equipment, equipment and storage medium

By monitoring the network transmission speed, signal quality and network delay of on-board equipment and adjusting the transmission channel, the problem that existing on-board equipment network switching cannot adapt to complex network environments is solved, and more stable and efficient network transmission is achieved, improving the user experience.

CN119653446AActive Publication Date: 2025-03-18LIVEFAN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411772523.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-18
Estimated Expiration
2044-12-04

AI Technical Summary

Technical Problem

The network switching of existing vehicle-mounted devices will only switch based on signal strength, and cannot adapt to the complex network environment of vehicle-mounted devices, resulting in poor user experience.

Method used

By monitoring network transmission speed, signal quality and network delay, adjust the default transmission channel according to the preset transmission channel table to achieve network switching. Specific steps include: switching the network channel when the transmission speed is poor; switching the network channel when the signal quality is poor; and opening the secondary transmission channel when the network delay is high.

Benefits of technology

It improves the network transmission stability and environmental adaptability of vehicle-mounted equipment, solves the problem that existing vehicle-mounted equipment network switching cannot adapt to complex network environments, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653446A_ABST
    Figure CN119653446A_ABST
Patent Text Reader

Abstract

The invention relates to the field of vehicle-mounted networks, and discloses a network switching method and device for vehicle-mounted equipment and a storage medium. The method comprises the following steps: receiving a network transmission request of vehicle-mounted equipment; transmitting transmission data corresponding to the network transmission request according to the default transmission channel, and monitoring a transmission speed corresponding to the transmission data; judging whether the transmission speed is smaller than a preset speed threshold value or not; when the speed is not less than the preset speed threshold value, analyzing a signal-to-noise ratio and signal strength corresponding to the transmission data to obtain signal quality; judging whether the signal quality is greater than a preset monitoring threshold; when the network delay is greater than the preset monitoring threshold value, judging whether the network delay exceeds a preset delay threshold value or not; and when the preset delay threshold value is exceeded, executing transmission data corresponding to the network transmission request based on the auxiliary transmission channel and the default transmission channel. In the embodiment of the invention, the network transmission channel is adjusted by gradually analyzing each characteristic of the network, so that the network transmission stability and the environmental adaptability of the vehicle-mounted equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle-mounted networks, and in particular to a network switching method, device and storage medium for vehicle-mounted equipment. Background Art

[0002] In the past few decades, due to the rapid development of society, various means of transportation have developed rapidly, from walking and bicycles at the beginning to various cars now. The means of transportation are becoming more and more advanced, and the internal on-board equipment is becoming more and more technological. The initial on-board equipment had very few functions. Now there are various dual-screen and triple-screen devices with rich functions. Some on-board equipment also have independent communication functions and can communicate with the outside world. Most on-board equipment will have some Internet of Things card jacks. After inserting the Internet of Things card, you can use the ground base station to connect to the ordinary 4G network and 5G network to communicate with some on-board applications. However, in some ground base stations with weak signals or in some tunnels, the communication of these on-board applications is affected due to signal problems, which will bring some bad experience to users.

[0003] During the use of vehicle-mounted devices, it is necessary to monitor the communication of vehicle-mounted devices in real time and automatically switch networks when the communication signal is poor to achieve the purpose of seamless communication switching, which can greatly enhance the user experience. At present, the vehicle-mounted devices on the market only switch networks on a small part of the devices. For example, the vehicle navigation will switch to Beidou positioning in a tunnel with poor signal. However, the network switching of existing vehicle-mounted devices is only based on signal strength and cannot adapt to the complex network environment of vehicle-mounted devices, which brings a poor experience to car owners. Therefore, a new technology is needed to solve the current problem. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem that the network switching of the existing vehicle-mounted equipment is only based on the signal strength and cannot adapt to the complex network environment of the vehicle-mounted equipment.

[0005] A first aspect of the present invention provides a network switching method for an in-vehicle device, comprising the steps of:

[0006] Receive network transmission requests from onboard equipment;

[0007] Sending transmission data corresponding to the network transmission request according to the default transmission channel;

[0008] Monitoring the transmission speed corresponding to the transmission data, and determining whether the transmission speed is less than a preset speed threshold;

[0009] When the speed is less than a preset speed threshold, adjusting the default transmission channel corresponding to the transmission data according to the preset transmission channel table to obtain a first adjusted transmission channel;

[0010] When the speed is not less than a preset speed threshold, the signal-to-noise ratio and signal strength corresponding to the transmission data are analyzed to obtain the signal quality;

[0011] Determining whether the signal quality is greater than a preset monitoring threshold;

[0012] When it is not greater than the preset monitoring threshold, adjusting the default transmission channel corresponding to the transmission data according to the preset transmission channel table to obtain a second adjusted transmission channel;

[0013] When it is greater than a preset monitoring threshold, the network delay corresponding to the transmission data is analyzed, and it is determined whether the network delay exceeds a preset delay threshold;

[0014] When the preset delay threshold is exceeded, a secondary transmission channel for the transmission data is added based on the preset transmission channel table, and the transmission data corresponding to the network transmission request is executed based on the secondary transmission channel and the default transmission channel.

[0015] Optionally, in a first implementation manner of the first aspect of the present invention, executing the transmission data corresponding to the network transmission request based on the secondary transmission channel and the default transmission channel includes:

[0016] Using the secondary transmission channel, establishing a channel connection of the network transmission request to the default transmission channel;

[0017] According to the default transmission channel, transmission data corresponding to the network transmission request is transmitted.

[0018] Optionally, in a second implementation manner of the first aspect of the present invention, adding a secondary transmission channel for transmitting data based on a preset transmission channel table includes:

[0019] Sending a network delay detection signal to all channels in a preset transmission channel table, receiving delay values ​​fed back by all channels, and obtaining a delay value set;

[0020] The channel corresponding to the smallest delay value in the delay value set is determined as the secondary transmission channel.

[0021] Optionally, in a third implementation manner of the first aspect of the present invention, analyzing the signal-to-noise ratio and signal strength corresponding to the transmission data to obtain the signal quality includes:

[0022] Analyzing a signal-to-noise ratio corresponding to the transmission data, and analyzing a signal strength corresponding to the transmission data;

[0023] Based on a preset signal-to-noise ratio setting range, the signal-to-noise ratio is normalized to obtain a normalized signal-to-noise ratio;

[0024] Based on a preset signal strength setting range, the signal strength is normalized to obtain a normalized signal strength;

[0025] According to a preset dynamic weight algorithm, dynamic weight calculation is performed on the signal-to-noise ratio setting range and the signal strength setting range to obtain a dynamic weight;

[0026] Based on a preset quality evaluation formula, the dynamic weight, the normalized signal-to-noise ratio, and the normalized signal strength are evaluated and calculated to obtain signal quality.

[0027] Optionally, in a fourth implementation of the first aspect of the present invention, the quality evaluation formula includes:

[0028] SQI=(SNR norm +RSSI norm *D) / (1+D),

[0029] Among them, SQI is signal quality, SNR norm is the normalized signal-to-noise ratio, RSSI norm is the normalized signal strength, and D is the dynamic weight.

[0030] Optionally, in a fifth implementation of the first aspect of the present invention, performing dynamic weight calculation on the signal-to-noise ratio setting range and the signal strength setting range according to a preset dynamic weight algorithm to obtain the dynamic weight includes:

[0031] D=(RSSI max -RSSI min ) / (SNR max -SNR min ),

[0032] Where D is the dynamic weight, RSSI max Set the maximum value of the range for signal strength, RSSI min Set the minimum value of the range for signal strength, SNR max Set the maximum value of the range for the signal-to-noise ratio, SNR max Sets the minimum value of the range for the signal-to-noise ratio.

[0033] Optionally, in a sixth implementation manner of the first aspect of the present invention, adjusting, according to a preset transmission channel table, a default transmission channel corresponding to the transmission data to obtain a first adjusted transmission channel includes:

[0034] Sending a network speed detection signal to all channels in the preset transmission channel table, receiving network speed values ​​fed back by all channels, and obtaining a network speed value set;

[0035] The channel corresponding to the largest network speed value in the network speed value set is determined as a first adjusted transmission channel, and the first adjusted transmission channel replaces the default transmission channel.

[0036] Optionally, in a seventh implementation manner of the first aspect of the present invention, adjusting, according to a preset transmission channel table, a default transmission channel corresponding to the transmission data to obtain a second adjusted transmission channel includes:

[0037] Reading a selected transmission channel in the transmission channel table according to a sort count value of the preset transmission channel table;

[0038] The selected transmission channel is determined as a second adjusted transmission channel, and the second adjusted transmission channel replaces the default transmission channel.

[0039] A second aspect of the present invention provides a network switching device for a vehicle-mounted device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the network switching device of the vehicle-mounted device executes the above-mentioned network switching method for the vehicle-mounted device.

[0040] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned network switching method for an in-vehicle device.

[0041] In an embodiment of the present invention, the network transmission speed of the vehicle-mounted device is monitored, and the network channel is switched immediately when the network transmission speed is not good. When the network transmission speed is qualified, the signal quality obtained based on the signal-to-noise ratio and signal strength is monitored, and the network channel is switched when the signal quality is not good. When the signal quality is qualified, the network delay of the vehicle-mounted device is monitored, and the secondary transmission channel is opened when the network delay is high. By gradually analyzing the various characteristics of the network and adjusting the network transmission channel, the network transmission stability and environmental adaptability of the vehicle-mounted device are improved, and the problem that the network switching of the existing vehicle-mounted device is only based on the signal strength and cannot adapt to the complex network environment of the vehicle-mounted device is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of an embodiment of a network switching method for an on-vehicle device in an embodiment of the present invention;

[0043] Figure 2 This is an embodiment of step 105 of the network switching method of the vehicle-mounted device in an embodiment of the present invention;

[0044] Figure 3 It is a schematic diagram of an embodiment of a network switching device of an on-vehicle device in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The embodiments of the present invention provide a network switching method, a device and a storage medium for an in-vehicle device.

[0046] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.

[0047] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0048] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the network switching method of the vehicle-mounted device in the embodiment of the present invention includes:

[0049] 101. Receive a network transmission request from an on-board device;

[0050] In this embodiment, the transmission request of the vehicle-mounted device is divided into two types. One is the internal data transmission of the vehicle-mounted device, such as the central control of the air conditioner, windows, seats, etc. This is the data transmission inside the vehicle-mounted device. The second is the application data transmission on the vehicle screen, the emergency button, etc. This type of transmission request is a network transmission request, which requires external data transmission. Determine whether there is network data consumption during operation. By determining the device receiving data during data transmission and whether there is network data consumption when the device is working, it can be determined whether the vehicle-mounted device needs to be connected to the Internet or network communication.

[0051] 102. Send transmission data corresponding to the network transmission request according to a default transmission channel;

[0052] In this embodiment, the transmission data indicated in the network transmission request is sent to the address corresponding to the request through the preset default transmission channel. Since the data transmission process is not completed instantly, there will be a certain duration, and the transmission speed of the transmission data in the transmission process is monitored during the transmission process. It should be noted that the transmission includes data uploading and data downloading. When accessing an external address through the software, the networking mode is used by default to turn on the networking mode. The monitoring is performed by monitoring the amount of data uploaded and downloaded per second during the process of monitoring the software's usage traffic.

[0053] 103. Monitor a transmission speed corresponding to the transmission data, and determine whether the transmission speed is less than a preset speed threshold;

[0054] In this embodiment, the monitored transmission speed is continuously analyzed to see whether it is less than a preset speed threshold. For example, the monitored transmission speed is 10kB / s, and the speed threshold is 5kB / s. Therefore, if the transmission speed of 10kB / s is not less than the speed threshold of 5kB / s, the current network characteristics are considered to be in a normal state.

[0055] 104. When the speed is less than a preset speed threshold, adjusting the default transmission channel corresponding to the transmission data according to a preset transmission channel table to obtain a first adjusted transmission channel;

[0056] In this embodiment, when the transmission speed is less than the speed threshold, it means that the network channel is blocked, the network transmission speed is not good, and a more reasonable network channel needs to be switched for data transmission. Multiple transmission channels are pre-set, and different transmission channels correspond to different location server addresses and network transmission links. Multiple transmission channels are collected in a table to obtain a transmission channel table. The transmission channel in the transmission channel table is used to replace the default transmission channel corresponding to the transmission data to obtain a first adjusted transmission channel. The transmission data is transmitted using the first adjusted transmission channel, and the process returns to step 103 to re-determine whether the transmission speed is less than the preset speed threshold.

[0057] Furthermore, step 104 includes the following specific implementations:

[0058] 1041. Send a network speed detection signal to all channels in a preset transmission channel table, receive network speed values ​​fed back by all channels, and obtain a network speed value set;

[0059] 1042. Determine a channel corresponding to a maximum network speed value in the network speed value set as a first adjusted transmission channel, and replace the default transmission channel with the first adjusted transmission channel.

[0060] In steps 1041-1042, a network speed detection signal is sent to all channels in the transmission channel table, network speed values ​​fed back by all transmission channels are received, the transmission speed of each transmission channel is obtained, and all network speed values ​​are combined into a network speed value set. The largest network speed value in the network speed value set is screened out, the transmission channel corresponding to the largest network speed value is determined as the first adjustment transmission channel, and the first adjustment transmission channel replaces the default transmission channel.

[0061] 105. When the speed is not less than a preset speed threshold, the signal-to-noise ratio and signal strength corresponding to the transmission data are analyzed to obtain signal quality;

[0062] In this embodiment, if the transmission speed is not less than the speed threshold, it is considered that the current transmission speed meets the transmission requirements. Therefore, the signal-to-noise ratio SNR and signal strength RSSI corresponding to the transmission data are first analyzed, and then the signal quality = signal-to-noise ratio SNR*weight W1+signal strength RSSI*weight W2 is calculated based on the preset weights W1 and W2, and whether the transmission channel needs to be switched is determined based on the value of the signal quality.

[0063] For details, please refer to Figure 2 , Figure 2 This is an embodiment of step 105 of the network switching method for the vehicle-mounted device in the embodiment of the present invention, and step 105 includes the following specific implementation methods:

[0064] 1051. Analyze a signal-to-noise ratio corresponding to the transmission data, and analyze a signal strength corresponding to the transmission data;

[0065] 1052. Based on a preset signal-to-noise ratio setting range, normalize the signal-to-noise ratio to obtain a normalized signal-to-noise ratio;

[0066] 1053. Based on a preset signal strength setting range, normalize the signal strength to obtain a normalized signal strength;

[0067] 1054. Perform dynamic weight calculation on the signal-to-noise ratio setting range and the signal strength setting range according to a preset dynamic weight algorithm to obtain a dynamic weight;

[0068] 1055. Based on a preset quality evaluation formula, evaluate and calculate the dynamic weight, the normalized signal-to-noise ratio, and the normalized signal strength to obtain signal quality.

[0069] In steps 1051-1055, the signal-to-noise ratio SNR corresponding to the transmission data is first analyzed, and then the signal strength RSSI corresponding to the transmission data is analyzed.

[0070] The preset signal-to-noise ratio setting range is set to [SNRmin , SNR max ], the signal-to-noise ratio SNR is normalized based on SNR norm =(SNR-SNR min ) / (SNR max -SNR min ) is normalized to obtain the normalized signal-to-noise ratio.

[0071] The default signal strength setting range is set to [RSSI min , RSSI max ], the signal strength RSSI is normalized based on RSSI norm =(RSSI-RSSI min ) / (RSSI max -RSSI min ) to obtain the normalized signal intensity.

[0072] Because the signal-to-noise ratio and signal strength fluctuation data of vehicle-mounted equipment are larger than those of indoor equipment, in order to reduce the evaluation deviation of the overall signal quality value due to this fluctuation, based on [RSSI min , RSSI max ] and [SNR min , SN R max ] to calculate a dynamic weight D.

[0073] Based on the quality assessment formula, the normalized signal-to-noise ratio and the normalized signal strength are weighted and calculated through the dynamic weight D to obtain the value of the signal quality.

[0074] Specifically, step 1054 includes the following specific implementation methods:

[0075] D=(RSSI max -RSSI min ) / (SNR max -SNR min ),

[0076] Where D is the dynamic weight, RSSI max Set the maximum value of the range for signal strength, RSSI min Set the minimum value of the range for signal strength, SNR max Set the maximum value of the range for the signal-to-noise ratio, SNR max Sets the minimum value of the range for the signal-to-noise ratio.

[0077] Specifically, the quality assessment formula includes:

[0078] SQI=(SNR norm +RSSI norm*D) / (1+D),

[0079] Among them, SQI is signal quality, SNR norm is the normalized signal-to-noise ratio, RSSI norm is the normalized signal strength, and D is the dynamic weight.

[0080] 106. Determine whether the signal quality is greater than a preset monitoring threshold;

[0081] In this embodiment, it is determined whether the signal quality, such as 0.65, is greater than a monitoring threshold of 0.13. If the signal quality is greater than the monitoring threshold, it is considered that the signal quality of the current channel is qualified.

[0082] 107. When the value is not greater than the preset monitoring threshold, adjusting the default transmission channel corresponding to the transmission data according to the preset transmission channel table to obtain a second adjusted transmission channel;

[0083] In this embodiment, the default transmission channel corresponding to the transmission data is replaced by the transmission channel in the preset transmission channel table to obtain the second adjusted transmission channel, and then the process returns to step 103 to perform re-monitoring and analysis.

[0084] Specifically, step 107 includes the following specific implementation methods:

[0085] 1071. Read a selected transmission channel in the transmission channel table according to a sort count value of the preset transmission channel table;

[0086] 1072. Determine the selected transmission channel as a second adjusted transmission channel, and replace the default transmission channel with the second adjusted transmission channel.

[0087] In steps 1071-1072, the transmission channel table is provided with sorting channels 1, 2, 3..., 15. When the sorting count value is 2, the transmission channel numbered 2 in the selected transmission channel in the transmission channel table is read, and then the sorting count value is adjusted to 3. The selected transmission channel is determined as the second adjusted transmission channel, and the second adjusted transmission channel replaces the default transmission channel, and then returns to step 103. When the signal quality is unqualified after cyclic confirmation, the transmission channel numbered 3 in the transmission channel table is extracted, and then the sorting count value is adjusted to 4, and the replacement is cyclically performed and returned to step 103 until the signal quality is greater than the monitoring threshold. Analyze the network delay corresponding to the transmission data, and determine whether the network delay exceeds the preset delay threshold

[0088] 108. When it is greater than a preset monitoring threshold, analyzing the network delay corresponding to the transmission data, and determining whether the network delay exceeds a preset delay threshold;

[0089] In this embodiment, after the signal quality meets the set requirements, the network delay corresponding to the transmission data is analyzed, and it is determined whether the network delay exceeds a preset delay threshold.

[0090] 109. When the preset delay threshold is exceeded, a secondary transmission channel for the transmission data is added based on a preset transmission channel table, and based on the secondary transmission channel and the default transmission channel, the transmission data corresponding to the network transmission request is executed.

[0091] In this embodiment, a transmission channel with low network delay is found in the preset transmission channel table as a secondary transmission channel, the secondary transmission channel is used as the channel for executing the connection server channel construction, and then the default transmission channel is used as the channel for data entity data transmission to realize network transmission.

[0092] Specifically, in step 109, “adding a secondary transmission channel for transmitting data based on a preset transmission channel table” includes the following specific implementations:

[0093] 1091. Send a network delay detection signal to all channels in a preset transmission channel table, receive delay values ​​fed back by all channels, and obtain a delay value set;

[0094] 1092. Determine a channel corresponding to a minimum delay value in the delay value set as a secondary transmission channel.

[0095] In steps 1091-1092, a network delay detection signal is first sent to all channels in the transmission channel table, and the delay values ​​fed back by all channels are received, and all the feedbacks are obtained to obtain a delay value set. Then, the channel corresponding to the smallest delay value in the delay value set is determined as the secondary transmission channel.

[0096] Specifically, in step 109, "based on the secondary transmission channel and the default transmission channel, executing the transmission data corresponding to the network transmission request" includes the following specific implementation methods:

[0097] 1093. Use the secondary transmission channel to establish a channel connection of the network transmission request to the default transmission channel;

[0098] 1094. Transmit transmission data corresponding to the network transmission request according to the default transmission channel.

[0099] In steps 1093-1094, the secondary transmission channel is first used to reconstruct the channel connection of the network transmission request to the default transmission channel, and a three-way handshake process is performed. Then, the default transmission channel is used to transmit the transmission data corresponding to the network transmission request. This process can avoid the disadvantages of excessive delay and slow transmission speed.

[0100] In an embodiment of the present invention, the network transmission speed of the vehicle-mounted device is monitored, and the network channel is switched immediately when the network transmission speed is not good. When the network transmission speed is qualified, the signal quality obtained based on the signal-to-noise ratio and signal strength is monitored, and the network channel is switched when the signal quality is not good. When the signal quality is qualified, the network delay of the vehicle-mounted device is monitored, and the secondary transmission channel is opened when the network delay is high. By gradually analyzing the various characteristics of the network and adjusting the network transmission channel, the network transmission stability and environmental adaptability of the vehicle-mounted device are improved, and the problem that the network switching of the existing vehicle-mounted device is only based on the signal strength and cannot adapt to the complex network environment of the vehicle-mounted device is solved.

[0101] Figure 3 It is a structural diagram of a network switching device of a vehicle-mounted device provided in an embodiment of the present invention. The network switching device 300 of the vehicle-mounted device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the network switching device 300 of the vehicle-mounted device. Furthermore, the processor 310 can be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the network switching device 300 of the vehicle-mounted device.

[0102] The vehicle-mounted device-based network switching device 300 may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that Figure 3 The network switching device structure of the vehicle-mounted device shown does not constitute a limitation on the network switching device based on the vehicle-mounted device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0103] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the network switching method of the vehicle-mounted device.

[0104] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0105] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0106] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A network switching method for a vehicle-mounted device, characterized in that: Includes steps: Receive network transmission requests from onboard equipment; Sending transmission data corresponding to the network transmission request according to the default transmission channel; Monitoring the transmission speed corresponding to the transmission data, and determining whether the transmission speed is less than a preset speed threshold; When the speed is less than a preset speed threshold, adjusting the default transmission channel corresponding to the transmission data according to the preset transmission channel table to obtain a first adjusted transmission channel; When the speed is not less than a preset speed threshold, the signal-to-noise ratio and signal strength corresponding to the transmission data are analyzed to obtain the signal quality; Determining whether the signal quality is greater than a preset monitoring threshold; When it is not greater than the preset monitoring threshold, adjusting the default transmission channel corresponding to the transmission data according to the preset transmission channel table to obtain a second adjusted transmission channel; When it is greater than a preset monitoring threshold, the network delay corresponding to the transmission data is analyzed, and it is determined whether the network delay exceeds a preset delay threshold; When the preset delay threshold is exceeded, a secondary transmission channel for the transmission data is added based on the preset transmission channel table, and the transmission data corresponding to the network transmission request is executed based on the secondary transmission channel and the default transmission channel.

2. The network switching method of the vehicle-mounted device according to claim 1, characterized in that: The executing the transmission data corresponding to the network transmission request based on the secondary transmission channel and the default transmission channel comprises: Using the secondary transmission channel, establishing a channel connection of the network transmission request to the default transmission channel; According to the default transmission channel, transmission data corresponding to the network transmission request is transmitted.

3. The network switching method of the vehicle-mounted device according to claim 1, characterized in that: The adding of the secondary transmission channel for transmitting the data based on the preset transmission channel table comprises: Sending a network delay detection signal to all channels in a preset transmission channel table, receiving delay values ​​fed back by all channels, and obtaining a delay value set; The channel corresponding to the smallest delay value in the delay value set is determined as the secondary transmission channel.

4. The network monitoring method of the vehicle-mounted device according to claim 1, characterized in that: The analyzing the signal-to-noise ratio and signal strength corresponding to the transmission data to obtain the signal quality includes: Analyzing a signal-to-noise ratio corresponding to the transmission data, and analyzing a signal strength corresponding to the transmission data; Based on a preset signal-to-noise ratio setting range, the signal-to-noise ratio is normalized to obtain a normalized signal-to-noise ratio; Based on a preset signal strength setting range, the signal strength is normalized to obtain a normalized signal strength; According to a preset dynamic weight algorithm, dynamic weight calculation is performed on the signal-to-noise ratio setting range and the signal strength setting range to obtain a dynamic weight; Based on a preset quality evaluation formula, the dynamic weight, the normalized signal-to-noise ratio, and the normalized signal strength are evaluated and calculated to obtain signal quality.

5. The network monitoring method for vehicle-mounted equipment according to claim 4, characterized in that: The quality assessment formula includes: <h2 style=";text-align:left;direction:ltr">SQI = (SNR<h2 style=";text-align:left;direction:ltr"> norm <h2 style=";text-align:left;direction:ltr"> +RSSI<h2 style=";text-align:left;direction:ltr"> norm <h2 style=";text-align:left;direction:ltr"> *D) / (1+D), Among them, SQI is signal quality, SNR norm is the normalized signal-to-noise ratio, RSSI norm is the normalized signal strength, and D is the dynamic weight.

6. The network monitoring method for vehicle-mounted equipment according to any one of claims 4 or 5, characterized in that: The step of performing dynamic weight calculation on the signal-to-noise ratio setting range and the signal strength setting range according to a preset dynamic weight algorithm to obtain the dynamic weight includes: D=(RSSI max -RSSI min ) / (SNR max -SNR min ), Where D is the dynamic weight, RSSI max Set the maximum value of the range for signal strength, RSSI min Set the minimum value of the range for signal strength, SNR max Set the maximum value of the range for the signal-to-noise ratio, SNR max Sets the minimum value of the range for the signal-to-noise ratio.

7. The network switching method of the vehicle-mounted device according to claim 1, characterized in that: The adjusting the default transmission channel corresponding to the transmission data according to the preset transmission channel table to obtain the first adjusted transmission channel comprises: Sending a network speed detection signal to all channels in the preset transmission channel table, receiving network speed values ​​fed back by all channels, and obtaining a network speed value set; The channel corresponding to the largest network speed value in the network speed value set is determined as a first adjusted transmission channel, and the first adjusted transmission channel replaces the default transmission channel.

8. The network monitoring method of the vehicle-mounted device according to claim 1, characterized in that: The adjusting the default transmission channel corresponding to the transmission data according to the preset transmission channel table to obtain the second adjusted transmission channel comprises: Reading a selected transmission channel in the transmission channel table according to a sort count value of the preset transmission channel table; The selected transmission channel is determined as a second adjusted transmission channel, and the second adjusted transmission channel replaces the default transmission channel.

9. A network switching device for an in-vehicle device, characterized in that: The network switching device of the vehicle-mounted device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory to enable the network switching device of the in-vehicle device to execute the network switching method of the in-vehicle device according to any one of claims 1-8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the network switching method for an in-vehicle device according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Data transmission method and device based on port verification and storage medium

    CN117978483A

  • Secure and automated vehicular control using multi-factor authentication

    US20200202648A1