A method for transmitting information in a car and the car
By introducing a gateway-level module design into the vehicle, the sub-device transmits signals to the master device, which then transmits them through to the central control device. This solves the problem of the limited carrying capacity of the central control device and achieves more stable information transmission.
Patent Information
- Application Number
- CN202310159293.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2043-02-23
AI Technical Summary
In a car cabin, when peripheral devices connect wirelessly to the central control unit, the limited capacity of the central control unit leads to poor information transmission stability and problems such as channel congestion and adjacent channel interference.
The module design adopts a gateway level, with the main device connected to the central control device. The sub-devices transmit signals to the main device through the optimal path, and then the main device transmits them to the central control device, reducing the processing pressure on the central control device.
It improves the stability of information transmission, reduces channel congestion and adjacent channel interference, and enhances the user experience.
Smart Images

Figure CN116193399B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of intelligent vehicle technology, and in particular relates to a method for transmitting information in a vehicle and a vehicle. Background Technology
[0002] With the development of automobiles, car cockpits have also been upgraded, and smart cockpits are increasingly favored by people. Peripheral devices in the car cockpit need to be interconnected with the central control system in the car to achieve data exchange.
[0003] Currently, peripheral devices and central control devices can be connected via wired or wireless connections. However, wired connections are problematic due to the numerous wiring routes in a car, making repairs difficult if problems arise. Therefore, wireless connections are widely used. When peripheral devices connect wirelessly to the central control device, each device needs to establish a point-to-point connection. As the number of peripheral devices increases, and multiple devices simultaneously send information to the central control device, the limited capacity of the central control device leads to poor information transmission stability between the peripheral devices and the central control device. Summary of the Invention
[0004] This application provides a method for transmitting information in a car and a car in general, which can solve the problem of poor information transmission stability between peripheral devices and central control devices in a car.
[0005] In a first aspect, embodiments of this application provide a method for transmitting information in a vehicle, applied to a vehicle, wherein the vehicle is equipped with multiple peripheral devices, the multiple peripheral devices including a main device and multiple sub-devices, the main device is communicatively connected to a central control device in the vehicle, and the sub-devices are not communicatively connected to the central control device, the method comprising:
[0006] When the first sub-device needs to send a device signal to the central control device, the first sub-device sends the device signal to the main device through a target path, wherein there are N second sub-devices on the target path, N≥0, and the first sub-device and the second sub-device are both devices among multiple sub-devices;
[0007] The master device receives the device signal and sends the device signal to the central control device.
[0008] Secondly, embodiments of this application provide a vehicle including multiple peripheral devices and a central control device. The multiple peripheral devices include a main device and multiple sub-devices. The main device is communicatively connected to the central control device in the vehicle, while the sub-devices are not communicatively connected to the central control device.
[0009] The first sub-device is used to send the device signal to the main device through a target path when it is necessary to send the device signal to the central control device. There are N second sub-devices on the target path, where N≥0. Both the first sub-device and the second sub-device are devices among multiple sub-devices.
[0010] The master device is used to send the device signal to the central control device after receiving the device signal.
[0011] The beneficial effects of the first aspect of this application compared with the prior art are as follows: When the first sub-device in the car needs to send a device signal to the central control device, the sub-device sends the device signal to the main device through the target path, and there are N second sub-devices on the target path, where N≥0; the main device receives the device signal and sends the device signal to the central control device.
[0012] When the sub-devices transmit device signals to the central control device, they all need to be transmitted to the master device first, and then the master device sends the device signals to the central control device. The central control device only needs to receive and process the device signals sent by the master device, which reduces the pressure on the central control device and makes the signal transmission between the peripheral devices and the central control device more stable.
[0013] It is understandable that the beneficial effects of the second aspect mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 This is a schematic diagram of the connection structure between peripheral devices and central control devices in the prior art provided by an embodiment of this application;
[0016] Figure 2 This is a schematic diagram of the connection structure between the peripheral device and the central control device in this application, provided in an embodiment of this application;
[0017] Figure 3 This is a schematic flowchart of an embodiment of the information transmission method in a car provided in this application;
[0018] Figure 4 This is a schematic diagram of the structure of an optimal path in this application provided in an embodiment of this application;
[0019] Figure 5This is a flowchart illustrating a method for determining a target peripheral device according to an embodiment of this application;
[0020] Figure 6 This is a flowchart illustrating a method for determining a target peripheral device based on channel parameters according to an embodiment of this application. Detailed Implementation
[0021] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0022] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0023] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0024] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.
[0025] Currently, peripheral devices in the car cabin can be connected to the central control system via wired or wireless connections. When using wireless connections, Wi-Fi or Bluetooth are commonly used. Currently, cars primarily rely on the central control system, which connects to various peripheral devices one-to-one, point-to-point. Figure 1 The connection method shown in the diagram involves each peripheral device being directly connected to the central control device. Each peripheral device needs to be online at all times to provide a response or service.
[0026] However, as the number of peripheral devices increases, the capacity of the central control device needs to be stronger, but the capacity of the central control device is very limited. Currently, central control devices with Bluetooth connectivity can connect to a maximum of 7 peripheral devices simultaneously; while those using Wi-Fi connectivity can generally connect to 3-5 peripheral devices. Furthermore, when central control devices interconnect with peripheral devices via Bluetooth or Wi-Fi, it is based on the frequency band of around 2.4 GHz. When multiple peripheral devices need to send information to the central control device simultaneously, it can cause channel congestion and adjacent channel interference.
[0027] Based on the above, if the central control equipment needs to process equipment signals sent by multiple peripheral devices simultaneously, on the one hand, the central control equipment will be under great pressure to process information, which may easily cause information processing delays and instability; on the other hand, when the central control equipment receives equipment signals sent by multiple peripheral devices, it may easily cause channel congestion and adjacent channel interference, resulting in problems such as large fluctuations, high noise, and poor stability of equipment signals.
[0028] Based on the above problems, this application proposes a method for transmitting information in a vehicle. The vehicle is equipped with multiple peripheral devices, including a master device and multiple sub-devices. The master device has a communication connection with the vehicle's central control system, while the sub-devices do not have communication connections with the central control system. In this application, each peripheral device adopts a gateway-level module selection. The master device can connect to a large number of sub-devices, increasing the overall network load and signal processing capabilities. Furthermore, the master device supports a rich set of underlying interfaces and protocols, such as dual-mode, transparent transmission, unicast, multicast, and broadcast interfaces, improving the overall network load capacity and the flexibility and agility of secondary development. All peripheral devices can use the same hardware structure, supporting intelligent networking between master and slave devices. In addition, each peripheral device includes a processor, Bluetooth module, Wi-Fi module, and a dedicated gateway module to achieve transparent signal transmission.
[0029] Specifically, such as Figure 2 As shown in the diagram, A, F, and E are all peripheral devices. Among them, peripheral device A is the master device, and B, C, D, E, and F are all sub-devices. Master device A is connected to the central control unit H in the car.
[0030] In this application, peripheral devices can self-organize to form a network. Each sub-device can also select the optimal path based on channel parameters, enabling it to transmit signals to the master device, which then transmits the signals to the central control device. Specifically, after multiple peripheral devices detect a networking command, they perform self-organizing operations to interconnect with each other. For example, pressing the networking button on a sub-device for 5 seconds after powering on triggers its network configuration, allowing it to begin networking. Similarly, pressing the networking button on the master device for 5 seconds after powering on triggers its network configuration, enabling it to begin networking. Pressing the reset button on a peripheral device allows it to exit the network and restore to its factory settings.
[0031] Specifically, during signal transmission, the sub-device transmitting the signal can transmit it to the master device via an optimal path. There can be N sub-devices along this optimal path (between the sub-device and the master device), where N ≥ 0. In this application, only the master device is connected to the central control device; all signals received by the central control device are processed signals from the master device. This solves the channel occupancy problem while maintaining multiple peripheral devices online simultaneously, preventing channel congestion and adjacent-channel interference when peripheral devices transmit signals to the central control device. This ensures stable signal transmission, improves communication, and enhances the user experience.
[0032] It should be noted that peripheral devices in a car can include child seats, smart refrigerators, in-car karaoke systems, mobile cinemas, game consoles, or game controllers, etc.
[0033] The following combination Figure 2 The method for transmitting information in a vehicle according to embodiments of this application will be described in detail.
[0034] Figure 3 A schematic flowchart of the information transmission method in a vehicle provided in this application is shown, with reference to... Figure 3 The method is described in detail below:
[0035] S101, when the first sub-device needs to send a device signal to the central control device, the first sub-device sends the device signal to the main device through the target path, wherein there are N second sub-devices on the target path, and N≥0.
[0036] In this embodiment, both the first sub-device and the second sub-device are devices among a plurality of sub-devices. The first sub-device can be any one of the plurality of sub-devices.
[0037] For example, if the sub-devices in a car include B, C, D, E, and F, then the first sub-device can be any one of B, C, D, E, and F.
[0038] The device signal contains a destination address, and the destination address is the central control device.
[0039] The starting point of the target path is the first sub-device, and the ending point is the master device. Sub-devices between the first and master devices on the target path are called second sub-devices. The two devices with communication connections on the target path are determined by the optimal path selection requirements.
[0040] In this embodiment, the target path is an optimal transmission path, which can transmit device signals.
[0041] For example, if there is a second sub-device on the target path, the first sub-device sends a device signal to the second sub-device with which it has a communication connection, and the second sub-device sends a device signal to the master device.
[0042] If there are two second sub-devices on the target path, the first sub-device sends a device signal to the first second sub-device with which it has a communication connection, the first second sub-device sends a device signal to the second second sub-device with which it is connected, and the second second sub-device sends a device signal to the master device. Specifically, the device signal may include the device's MAC address, device number, product serial number (SN code), and related service information. Among them, the service information may include status display information and / or setting information.
[0043] Specifically, the first sub-device contains a processor and a wireless communication module, and the processor transmits device signals to the target peripheral device through the wireless communication module.
[0044] S102, the master device receives the device signal and sends the device signal to the central control device.
[0045] In this embodiment, since there is a communication connection between the master device and the central control device, after the device signal is transmitted to the master device, the master device can transmit the device signal to the central control device through transparent transmission. After receiving the device signal, the central control device analyzes and processes the device signal and then performs the corresponding operation.
[0046] like Figure 4 As shown in the example, if the first sub-device is peripheral device E, and the peripheral device that has a communication connection with peripheral device E is peripheral device F, then the second peripheral device is peripheral device F. A target path is formed between peripheral device E, peripheral device F, and the main device A.
[0047] In this embodiment, when a first sub-device in the vehicle needs to send a device signal to the central control device, the sub-device sends the device signal to the main device via a target path. There are N second sub-devices along the target path, where N ≥ 0. The main device receives the device signal and then sends it to the central control device. In this application, when a sub-device transmits a device signal to the central control device, it first transmits the signal to the main device, and then the main device sends the signal to the central control device. The central control device only needs to receive and process the device signal sent by the main device, reducing the load on the central control device and making the signal transmission between peripheral devices and the central control device more stable.
[0048] The sub-devices in this application can transmit information to each other. A sub-device can transmit device signals to the master device through another sub-device, and finally the master device transmits the device signals to the central control device. In this application, the device signals of all sub-devices converge to the master device. The central control device is only connected to the master device. The number of devices connected to the central control device is relatively small, which will not cause channel congestion and ensures the stability of information transmission between the sub-devices and the central control device.
[0049] In one possible implementation, an optimal transmission path needs to be selected before or during device signal transmission to ensure that the device signal can be transmitted to the central control device via the optimal path. In this application, the selection of the optimal transmission path refers to which peripheral device the sub-device should establish a communication connection with.
[0050] In this embodiment, each sub-device can select the optimal path according to a preset time period. For example, after the preset period is reached, each sub-device begins selecting the optimal path. Alternatively, if a faulty path exists among the already selected optimal paths, each sub-device can reselect the optimal path. For example, if a communication connection has been established between sub-device B and sub-device E (i.e., there is an optimal path between sub-device B and sub-device E), and this communication connection fails, then a new optimal path needs to be selected, and network operation will not be affected. Furthermore, from the perspective of network layering, path selection only operates at the physical layer, data link layer, and part of the network layer; it is imperceptible to upper layers, and upper-layer functions (such as seamless roaming, IP, Domain Name System (DNS), etc.) will not be affected.
[0051] For ease of explanation, we will take the process of a sub-device selecting the optimal path as an example. Each sub-device can execute the following optimal path selection method, and eventually each sub-device can find a device with which it has a communication connection in order to transmit signals.
[0052] like Figure 5 As shown, specifically, the optimal path selection method can include:
[0053] S201, The sub-device searches for other peripheral devices that can establish a communication connection with the sub-device.
[0054] The other peripheral devices refer to peripheral devices other than the sub-devices among the plurality of peripheral devices. These other peripheral devices may include sub-devices and main devices.
[0055] In this embodiment, the sub-device searches for peripheral devices emitting Bluetooth signals via the Bluetooth module and records each peripheral device emitting a Bluetooth signal as another peripheral device; or, the sub-device searches for peripheral devices emitting WIFI signals via the WIFI module and records each peripheral device emitting a WIFI signal as another peripheral device.
[0056] For example, if a sub-device needs to search for peripheral devices with Bluetooth signals, and the sub-device finds peripheral devices C, D, and E that emit Bluetooth signals, then the other peripheral devices that can establish a communication connection with the sub-device are determined to be C, D, and E.
[0057] S202, the sub-device acquires the channel parameters of each target channel, wherein the target channel is the communication channel between the first sub-device and the other peripheral devices.
[0058] In this embodiment, a communication channel can be formed between the sub-device and each other peripheral device, and the communication channel between the sub-device and each other peripheral device is referred to as the target channel.
[0059] For example, if sub-device A searches for other peripheral devices C, D, and E, then the communication channel between A and C is a target channel. The communication channel between A and D is a target channel. The communication channel between A and E is a target channel.
[0060] Specifically, the channel parameters can be historical parameters recorded when the sub-device communicates with other peripheral devices; or channel parameters determined by the sub-device based on the response information of each other peripheral device when sending test information to each other peripheral device at the current moment.
[0061] Optionally, after the previous optimal path selection, the sub-device collects channel parameters between each target channel at preset time intervals, determines the final channel parameters of the target channel based on the multiple sets of channel parameters collected for each target channel, and uses the final channel parameters to select the optimal path for this time.
[0062] For example, if the optimal path selection period is 30 minutes, after the third optimal path selection, the sub-device collects the channel parameters of the target channel a every 10 minutes to obtain 3 sets of channel parameters corresponding to the target channel a, calculates the average value of the 3 sets of channel parameters to obtain the final channel parameters of the target channel a, and uses the final channel parameters of the target channel a to select the fourth optimal path.
[0063] In this embodiment, channel parameters include one or more of the following: signal strength, signal-to-noise ratio, packet loss rate, number of signal transmission timeouts, channel congestion coefficient, and network delay coefficient. The channel congestion coefficient can be characterized by the number of wireless access points (APs) in the channel. The network delay coefficient can be characterized using PING values or by the variance of PING values collected within the sampling period.
[0064] S203, the sub-device determines the target peripheral device from the other peripheral devices according to the channel parameters of each target channel, wherein the target peripheral device is the other peripheral device that meets the optimal path selection requirement.
[0065] In this embodiment, the sub-device obtains the preset weight values of each channel parameter, calculates the product of each channel parameter and its weight value to obtain the parameter coefficient; the parameter coefficients of all target channels are added together to obtain the channel communication coefficient corresponding to the target channel. The maximum value among the channel communication coefficients of all target channels is found, and the other peripheral devices in the target channel corresponding to the maximum value are recorded as target peripheral devices.
[0066] In this embodiment, the channel parameters of each target channel are input into the trained neural network model to obtain the optimal target channel, and the other peripheral devices corresponding to the optimal target channel are denoted as target peripheral devices.
[0067] S204, the sub-device establishes a communication connection with the selected target peripheral device, so that when the sub-device needs to transmit the device signal, the sub-device sends the device signal to the selected target peripheral device.
[0068] In this embodiment, after the sub-device selects the corresponding target peripheral device, it establishes a communication connection with the target peripheral device. When the sub-device needs to transmit device signals, it sends the device signals to the corresponding target peripheral device, ensuring that the device signals can be transmitted through the optimal path, thus guaranteeing the speed and reliability of device signal transmission. Furthermore, the sub-device selects the optimal path for signal transmission based on the channel parameters of the target channel, making the selected communication path more suitable for the current network. Figure 6 As shown, in one possible implementation, step S203 may include:
[0069] S2031, the sub-device determines, based on the channel parameters, whether there is a candidate peripheral device among the other peripheral devices, wherein the candidate peripheral device is another peripheral device that meets the first preset requirement.
[0070] The optimal path selection requirements include the first preset requirement. The first preset requirement includes that the signal strength is greater than a first threshold, the signal-to-noise ratio is greater than a second threshold, the packet loss rate is less than a third threshold, the channel congestion coefficient is less than a fourth threshold, the network delay coefficient is less than a fifth threshold, and the number of signal transmission timeouts is less than a sixth threshold. Of course, the first preset requirement can also be set as needed.
[0071] In this embodiment, the first threshold can be set as needed, for example, it can be set to 85 dBm or 90 dBm. The second threshold can be set as needed, for example, it can be set to 35 dB or 38 dB. The third threshold can be set as needed, for example, it can be set to 5% or 6%. The fourth threshold can be set as needed, for example, it can be set to 5 or 6 times. The sixth threshold can be set as needed, for example, it can be set to 2 times or 3 times.
[0072] S2032, if there is a candidate peripheral device among the other peripheral devices that meets the first preset requirement, then the candidate peripheral device is determined as the target peripheral device.
[0073] S2033, if there are multiple candidate peripheral devices among the other peripheral devices, obtain the importance of the preset channel parameters of various types.
[0074] In this embodiment, the importance of each type of channel parameter can be preset. For example, the importance of the channel parameters from high to low is as follows: signal strength, signal-to-noise ratio, network delay coefficient, packet loss rate, signal transmission timeout number, and channel congestion coefficient.
[0075] S2034, compare the various channel parameters in the target parameters in descending order of importance to obtain the target peripheral device, wherein the target parameters are the channel parameters of the target channels corresponding to the multiple candidate peripheral devices.
[0076] Specifically, first, compare the channel parameters with the highest importance in each target channel. If there is an optimal value among the channel parameters with the highest importance in each target channel (for example, if the highest importance is signal strength, then the maximum value among all signal strengths is the optimal value), then the other peripheral device corresponding to this optimal value is recorded as the target peripheral device. If the channel parameters with the highest importance in each target channel are all the same, then continue to compare the channel parameters with the second highest importance in each target channel, and finally determine the target peripheral device according to the above method.
[0077] In one possible implementation, after step S2031, step S203 may further include:
[0078] If there are multiple candidate peripheral devices among the other peripheral devices, obtain the distance value between each candidate peripheral device and the sub-device; determine the candidate peripheral device corresponding to the minimum distance value as the target peripheral device.
[0079] In this embodiment, the distance values between the peripheral devices can be pre-stored. Since the greater the distance between two peripheral devices, the greater the probability of signal transmission problems, when there are multiple candidate peripheral devices, the candidate peripheral device closest to the sub-device is selected as the target peripheral device to ensure that the probability of signal transmission problems is minimized.
[0080] In one possible implementation, after step S2031, step S203 may further include:
[0081] If no candidate peripheral device is found among the other peripheral devices, the number of target parameters in each group of channel parameters is determined. Each target channel contains a group of channel parameters, and the target parameters are those that meet the parameter requirements. The optimal path selection requirements include parameter requirements for various types of channel parameters. The other peripheral devices corresponding to the first channel are determined as the target peripheral devices, where the first channel is the target channel with the most target parameters.
[0082] In this embodiment, the optimal path selection requirements include: signal strength greater than a first threshold (parameter requirement corresponding to signal strength); signal-to-noise ratio (SNR) greater than a second threshold (parameter requirement corresponding to SNR); packet loss rate less than a third threshold (parameter requirement corresponding to packet loss rate); channel congestion coefficient less than a fourth threshold (parameter requirement corresponding to channel congestion coefficient); network delay coefficient less than a fifth threshold (parameter requirement corresponding to network delay coefficient); and signal transmission timeout count less than a sixth threshold (parameter requirement corresponding to signal transmission timeout count).
[0083] For example, if the target channel includes channel 1, channel 2, and channel 3, and channel 1 has three channel parameters that meet the requirements (e.g., signal strength greater than a first threshold, signal-to-noise ratio greater than a second threshold, and packet loss rate less than a third threshold), and channel 2 has one channel parameter that meets the requirements, and channel 3 has two channel parameters that meet the requirements, then channel 1 has the most channel parameters that meet the requirements. Therefore, channel 1 is considered the optimal path, and the other peripheral devices corresponding to channel 1 are denoted as the target peripheral devices.
[0084] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0085] Corresponding to the information transmission method in a car described in the above embodiments, this application provides a car. The car includes multiple peripheral devices and a central control device. The multiple peripheral devices include a main device and multiple sub-devices. The main device has a communication connection with the central control device in the car, while the multiple sub-devices do not have a communication connection with the central control device.
[0086] The first sub-device is used to send the device signal to the target peripheral device when it is necessary to send the device signal to the central control device. The first sub-device is any one of the plurality of sub-devices, and the target peripheral device is the peripheral device selected by the first sub-device that meets the optimal path selection requirement. The target peripheral device is not the main device.
[0087] The target peripheral device is used to send the device signal to the second peripheral device, the second peripheral device being the peripheral device selected by the target peripheral device that meets the optimal path selection requirement, and the second peripheral device being the master device;
[0088] The main device is used to send the device signal to the central control device.
[0089] In one possible implementation, the first sub-device is also used to implement the method implemented by the first sub-device in the above method.
[0090] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method of transmitting information in an automobile, characterized by, The application is applied to a car, the car is provided with a plurality of peripheral devices, the plurality of peripheral devices include a master device and a plurality of slave devices, the master device is in communication connection with a central control device in the car, and the slave devices cannot be in communication connection with the central control device. When a first slave device needs to send a device signal to the central control device, the first slave device sends the device signal to the master device through a target path, wherein N second slave devices exist on the target path, N is greater than or equal to 0, and the first slave device and the second slave devices are devices in the plurality of slave devices. The master device receives the device signal and sends the device signal to the central control device.
2. The method for transmitting information in a vehicle as described in claim 1, characterized in that, Before the first slave device sends the device signal to the master device through the target path, the method further includes the following steps. Each slave device performs the following operations: the slave device searches for other peripheral devices that can establish communication connection with the slave device; the slave device acquires channel parameters of each target channel, wherein the target channel is a communication channel between the slave device and the other peripheral devices; the slave device determines a target peripheral device from the other peripheral devices according to the channel parameters of each target channel, wherein the target peripheral device is a peripheral device that meets an optimal path selection requirement; and the slave device establishes communication connection with the selected target peripheral device, so that when the slave device needs to transmit the device signal, the slave device sends the device signal to the selected target peripheral device. The channel parameters include one or more of signal strength, signal-to-noise ratio, packet loss rate, signal transmission timeout times, channel congestion coefficient, and network delay coefficient. The channel parameters include the signal strength, the signal-to-noise ratio, the packet loss rate, the signal transmission timeout times, the channel congestion coefficient, and the network delay coefficient. The slave device determines a target peripheral device from the other peripheral devices according to the channel parameters of each target channel, including:
3. The method of claim 2, wherein the information is transmitted to the vehicle by a wireless communication method. The slave device determines whether a candidate peripheral device exists in the other peripheral devices based on the channel parameters, wherein the candidate peripheral device is a peripheral device that meets a first preset requirement, and the optimal path selection requirement includes the first preset requirement; the first preset requirement includes that the signal strength is greater than a first threshold value, the signal-to-noise ratio is greater than a second threshold value, the packet loss rate is less than a third threshold value, the channel congestion coefficient is less than a fourth threshold value, the network delay coefficient is less than a fifth threshold value, and the signal transmission timeout times are less than a sixth threshold value; and if the other peripheral devices exist and there is one candidate peripheral device that meets the first preset requirement, the candidate peripheral device is determined as the target peripheral device.
4. The method of claim 3, wherein the information is transmitted to the vehicle by a wireless communication method. After the slave device determines whether a candidate peripheral device exists in the other peripheral devices based on the channel parameters, the method further includes the following steps. If the other peripheral devices exist and there are a plurality of candidate peripheral devices, the importance of each type of channel parameter is acquired. 5. The method of claim 4, wherein the information is transmitted to the vehicle by a wireless communication method. The method comprises: comparing each type of channel parameter in a target parameter in order from high to low according to the importance, and obtaining a target peripheral device, wherein the target parameter is a channel parameter of a target channel corresponding to a plurality of candidate peripheral devices.
6. The method of claim 4, wherein the information is transmitted to the vehicle by a wireless communication method. After the sub-device determines whether there is a candidate peripheral device in the other peripheral devices based on the channel parameter, the method further comprises: If there is a plurality of candidate peripheral devices in the other peripheral devices, obtaining a distance value between each candidate peripheral device and the sub-device; Determining the candidate peripheral device corresponding to the minimum value in the distance value as the target peripheral device.
7. The method of claim 4, wherein the information is transmitted to the vehicle by a wireless communication method. After the sub-device determines whether there is a candidate peripheral device in the other peripheral devices based on the channel parameter, the method further comprises: If there is no candidate peripheral device in the other peripheral devices, determining the number of target parameters in each group of channel parameters, wherein the channel parameters in each target channel are a group of channel parameters, the target parameters are channel parameters that meet the parameter requirements, and the optimal path selection requirements include parameter requirements for each type of channel parameter; Determining the other peripheral device corresponding to the first channel as the target peripheral device, wherein the first channel is a target channel with the most target parameters.
8. The method of claim 2 to 7, wherein Before the sub-device searches for other peripheral devices that can establish a communication connection with the sub-device, the method further comprises: After the plurality of peripheral devices detect the network formation instruction, the plurality of peripheral devices perform self-networking operation to make the plurality of peripheral devices in an interconnected state.
9. An automobile characterized by comprising: The plurality of peripheral devices comprise a master device and a plurality of sub-devices, the master device is in communication connection with the central control device in the vehicle, and the sub-devices cannot be in communication connection with the central control device; A first sub-device is configured to send a device signal to the master device through a target path when the device signal needs to be sent to the central control device, wherein N second sub-devices exist on the target path, N≥0, and the first sub-device and the second sub-device are devices in the plurality of sub-devices; The master device is configured to send the device signal to the central control device after receiving the device signal.
10. The vehicle of claim 9, wherein, Each sub-device is configured to perform the following operations: The sub-device searches for other peripheral devices that can establish a communication connection with the sub-device; The sub-device obtains a channel parameter of each target channel, wherein the target channel is a communication channel between the sub-device and the other peripheral devices; The sub-device determines a target peripheral device from the other peripheral devices according to the channel parameter of each target channel, wherein the target peripheral device is a peripheral device that meets the optimal path selection requirements; The sub-device establishes a communication connection with the selected target peripheral device, and when the sub-device needs to transmit the device signal, the sub-device sends the device signal to the selected target peripheral device.
Citation Information
Patent Citations
Peripheral control method, electronic equipment and system
CN115033295A
Central domain controller data transmission method and device, electronic equipment and vehicle
CN115524958A