Device wireless network self-matching method and device
By sending network configuration data to the controller via a wired connection when the device is powered on, the problem of matching the vehicle networking system with the controller's wireless network is solved, ensuring the timeliness and reliability of the wireless network connection and guaranteeing the smooth progress of software upgrades.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2026-04-10
AI Technical Summary
When the device is powered on, the vehicle networking system and the controller cannot automatically match the wireless network connection, resulting in reduced system efficiency and stability.
The network configuration data is sent to the controller via a wired connection. The controller attempts to connect to the wireless network based on the configuration data. If successful, it requests an upgrade; otherwise, it requests a reconnection and resends the configuration data. The vehicle networking system then re-establishes the connection via the wired connection.
This ensures the timeliness and reliability of the wireless network connection when the device is powered on, and guarantees that the controller can establish a wireless network connection with the vehicle networking system to perform software upgrades.
Smart Images

Figure CN116321519B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of over-the-air download, in particular to a device wireless network self-matching method and device. BACKGROUND
[0002] With the rapid development of intelligent networking, over-the-air download technology (OTA technology) is widely used in both the automotive field and the engineering machinery field, thereby realizing remote upgrading of devices, meeting the needs of customers, and prolonging the software life cycle of devices.
[0003] At the same time, wireless communication of device electronic and electrical architecture networks is increasingly proposed, and the data interaction mode based on wireless Ethernet communication is the mainstream development direction of current device internal wireless communication technology due to mature technology and wide application, but it also brings problems of wireless device matching and local area network construction.
[0004] In the system structure of actual engineering application of over-the-air download technology, the CAN bus transmission rate is low, and for a controller with a large amount of upgrade data, wireless network connection needs to be used for transmission. However, for a wireless network environment, when a device is offline or re-powered, the problem of automatic matching of the vehicle networking system and the controller cannot be solved, which greatly reduces the efficiency and stability of the system.
[0005] In summary, how to ensure that the vehicle networking system and each controller can establish a wireless network connection after each device power-on to perform software upgrading is a technical problem to be solved in the field. SUMMARY
[0006] Therefore, the present application provides a device wireless network self-matching method and device, which can ensure that the vehicle networking system and each controller can establish a wireless network connection after each device power-on to perform software upgrading.
[0007] In a first aspect, the application provides a device wireless network self-matching method, comprising: a vehicle networking system sending network configuration data to one or more controllers through a wired connection; the controller obtaining the network configuration data, and the controller establishing a wireless network connection with the vehicle networking system according to the network configuration data; the vehicle networking system sending connection success information to the controller that has successfully established a wireless network connection and sending connection failure information to the controller that has failed to establish a wireless network connection through the wired connection; and if the controller receives the connection success information, sending an upgrade request to the vehicle networking system, or if the controller receives the connection failure information, sending a reconnection request to the vehicle networking system, and if the vehicle networking system obtains the reconnection request, re-sending the network configuration data to the controller corresponding to the reconnection request through the wired connection, so that the controller re-establishes a wireless network connection with the vehicle networking system.
[0008] In use, the present aspect can enable the vehicle networking system to send network configuration data for wireless network connection to each controller through a wired connection when the device is powered on, and the wired transmission does not need to rely on wireless network connection, thereby ensuring the timeliness and reliability of data transmission. The controller attempts to establish a wireless network connection with the vehicle networking system according to the network configuration data, and if the connection is successful, the controller can request software upgrade, and if the connection fails, the controller requests the vehicle networking system to send the network configuration data again, and the vehicle networking system receives the reconnection request and re-sends the network configuration data to the corresponding controller through the wired connection. The present aspect can enable the vehicle networking system to establish a wireless network connection with the controller when the device is powered on, and if the connection fails, the vehicle networking system will attempt to establish a wireless network connection again, thereby ensuring that the controller that needs to be upgraded can establish a wireless network connection with the vehicle networking system for software upgrade.
[0009] In combination with the first aspect, in a possible implementation, the vehicle networking system sending network configuration data to one or more controllers through a wired connection comprises: the vehicle networking system sending a vehicle networking system hotspot name, a vehicle networking system hotspot key, an IP address of the vehicle networking system, an IPv4 subnet prefix length of the vehicle networking system, and a gateway IP address of the vehicle networking system to the controller through the wired connection.
[0010] In combination with the first aspect, in a possible implementation, the controller obtaining the network configuration data and the controller establishing a wireless network connection with the vehicle networking system according to the network configuration data comprises: the controller performing wireless network configuration according to the network configuration data, and the controller sending a response packet to the vehicle networking system through the wired connection.
[0011] With reference to the first aspect, in a possible implementation manner, the controller sends the response message to the vehicle Internet system through the wired connection, including: if the controller has performed the wireless network configuration, the controller generates feedback data of a network communication protocol; the controller sends the feedback data to the vehicle Internet system through the wired connection; and the controller sends an IP address of the controller to the vehicle Internet system through the wired connection.
[0012] With reference to the first aspect, in a possible implementation manner, after the controller sends the response message to the vehicle Internet system through the wired connection, the method further includes: the vehicle Internet system determines, according to a network connection test method, whether the controller that has sent the response message is a connection success or a connection failure.
[0013] With reference to the first aspect, in a possible implementation manner, after the vehicle Internet system sends the network configuration data to one or more controllers through the wired connection, the method further includes: the vehicle Internet system detects whether there is a controller that has not sent a response message, according to a sending amount of the network configuration data that has been sent, and according to a message amount of the received response message; and if there is a controller that has not sent a response message, the vehicle Internet system marks the controller that has not sent a response message as the controller of the connection failure.
[0014] With reference to the first aspect, in a possible implementation manner, the vehicle Internet system sends, through the wired connection, connection success information to the controller of the wireless network connection success, and sends, through the wired connection, connection failure information to the controller of the connection failure, including: the vehicle Internet system sends, through the wired connection, the connection success information to the controller of the wireless network connection success according to a preset period; and the vehicle Internet system sends, through the wired connection, the connection failure information to the controller of the connection failure according to a preset period.
[0015] With reference to the first aspect, in a possible implementation manner, the method further includes: in a single power-on of the device, if the controller sends a reconnection request to the vehicle Internet system more than a preset upper limit of times, the controller no longer sends the reconnection request.
[0016] With reference to the first aspect, in a possible implementation manner, the method further includes: at each power-on of the device, the controller sends controller network information to the vehicle Internet system through the wired connection; and at each power-on of the device, the vehicle Internet system sends vehicle Internet system network information to the controller through the wired connection.
[0017] In a second aspect, the application provides a device wireless network self-matching apparatus, comprising: an Internet of Vehicles system configured to: send network configuration data to one or more controllers through a wired connection; send connection success information to the controllers that have successfully connected to the wireless network and send connection failure information to the controllers that have failed to connect to the wireless network through the wired connection; and if the Internet of Vehicles system obtains a reconnection request, resend the network configuration data to the controller corresponding to the reconnection request through the wired connection, so that the controller reestablishes a wireless network connection with the Internet of Vehicles system; and a plurality of controllers configured to: the controllers obtain the network configuration data, and the controllers establish a wireless network connection with the Internet of Vehicles system according to the network configuration data; if the controllers receive the connection success information, send an upgrade request to the Internet of Vehicles system; or if the controllers receive the connection failure information, send a reconnection request to the Internet of Vehicles system.
[0018] The second aspect is an apparatus corresponding to the first aspect, and the technical effects of the second aspect are not repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 Fig. 1 shows a method step schematic diagram of a device wireless network self-matching method provided by an embodiment of the application.
[0020] Figure 2 Fig. 2 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application.
[0021] Figure 3 Fig. 3 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application.
[0022] Figure 4 Fig. 4 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application.
[0023] Figure 5 Fig. 5 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application.
[0024] Figure 6 Fig. 6 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application.
[0025] Figure 7 Fig. 7 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application.
[0026] Figure 8Fig. 1 shows a schematic diagram of method steps of a device wireless network self-matching method according to an embodiment of the present application.
[0027] Figure 9 Fig. 1 shows a schematic diagram of method steps of a device wireless network self-matching method according to an embodiment of the present application.
[0028] Figure 10 Fig. 2 shows a schematic diagram of a general flow according to an embodiment of the present application.
[0029] Figure 11 Fig. 3 shows a system structure diagram according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0031] Exemplary device wireless network self-matching method
[0032] Figure 1 Fig. 1 shows a schematic diagram of method steps of a device wireless network self-matching method according to an embodiment of the present application. The present application provides a device wireless network self-matching method. In an embodiment, the device is a car, an engineering vehicle, or an engineering machine, etc., such as Figure 1 Fig. 1 shows a schematic diagram of method steps of a device wireless network self-matching method according to an embodiment of the present application. The present application provides a device wireless network self-matching method. In an embodiment, the device is a car, an engineering vehicle, or an engineering machine, etc., such as
[0033] determining whether the device is powered on, and if so, performing step 110, the Internet of Vehicles system sends network configuration data to one or more controllers through a wired connection.
[0034] In this step, after the device is powered on, the Internet of Vehicles system (TBOX) sends network configuration data in a wired form. The wired form does not need to rely on wireless network connection, thereby ensuring the timeliness and reliability of data transmission. Specifically, the network configuration data includes the hotspot name of the Internet of Vehicles system, the hotspot key of the Internet of Vehicles system, the IP address of the Internet of Vehicles system, the IPv4 subnet prefix length of the Internet of Vehicles system, and the gateway IP address of the Internet of Vehicles system. The wired connection can adopt a CAN bus or other wired connection mode. The hotspot name is consistent with the factory number of the Internet of Vehicles system, the data length is 12 bytes, the data type is ASCII code, and multiple frames need to be transmitted; the hotspot key adopts an 8-byte random code composed of letters / numbers / characters, the data length is 8 bytes, the data type is ASCII code, and multiple frames need to be transmitted; the IP address of the Internet of Vehicles system adopts a 4-byte 16 hexadecimal number transmission; the IPv4 subnet prefix length of the Internet of Vehicles system adopts a 1-byte 16 hexadecimal number transmission; and the gateway IP address of the Internet of Vehicles system adopts a 4-byte 16 hexadecimal number transmission. The controller is a device inside the device that needs to be upgraded by over-the-air download.
[0035] In step 120, the controller acquires network configuration data, and the controller performs wireless network connection with the Internet of Vehicles system according to the network configuration data.
[0036] In this step, the controller attempts to establish a wireless network connection with the Internet of Vehicles system based on the network configuration data. Specifically, the controller attempts to perform wireless network configuration and IP information configuration according to the hotspot name, the hotspot key, the IP address, the IPv4 subnet prefix length, and the gateway IP address of the Internet of Vehicles system.
[0037] In step 130, the Internet of Vehicles system sends connection success information to the controller that successfully establishes a wireless network connection and sends connection failure information to the controller that fails to establish a wireless network connection through wired connection.
[0038] In this step, the Internet of Vehicles system determines which controllers successfully establish a wireless network connection with the Internet of Vehicles system and which controllers fail to establish a wireless network connection with the Internet of Vehicles system. After the determination is completed, the Internet of Vehicles system broadcasts connection success information to the controllers that successfully establish a wireless network connection and broadcasts connection failure information to the controllers that fail to establish a wireless network connection.
[0039] The controller determines whether the connection success information or the connection failure information is received. If the controller receives the connection success information, the controller performs step 140, and sends an upgrade request to the Internet of Vehicles system.
[0040] In this step, if the connection is successful, it means that the controller successfully establishes a wireless network connection with the Internet of Vehicles system. When the controller needs to upgrade software information, the controller sends an upgrade request, and the Internet of Vehicles system sends matching software information to the controller for upgrading.
[0041] If the controller receives the connection failure information, step 150 is performed, and the controller sends a reconnection request to the vehicle networking system.
[0042] In this step, the connection failure indicates that the controller has not successfully established a wireless network connection with the vehicle networking system according to the network configuration data. At this time, the controller needs to reattempt to establish a wireless network connection with the vehicle networking system and sends a reconnection request to request the vehicle networking system to send network configuration data again. The reconnection request of this step can be sent through a wired connection to ensure the timeliness and reliability of data transmission.
[0043] The vehicle networking system determines whether the reconnection request is obtained. If the reconnection request is obtained, step 160 is performed, and the network configuration data is re-sent to the controller corresponding to the reconnection request through a wired connection to enable the controller to reestablish a wireless network connection with the vehicle networking system.
[0044] In this step, the vehicle networking system re-sends the network configuration data to the controller that needs to be reconnected through a wired connection. The controller reattempts to establish a wireless network connection with the vehicle networking system according to the network configuration data, thereby being able to perform the upgrade task.
[0045] In use, the embodiment can enable the vehicle networking system to send network configuration data for a wireless network connection to each controller through a wired connection when the device is powered on. The wired transmission does not need to rely on a wireless network connection, thereby ensuring the timeliness and reliability of data transmission. The controller attempts to establish a wireless network connection with the vehicle networking system according to the network configuration data. If the connection is successful, the controller can request the upgrade software information. If the connection fails, the controller requests the vehicle networking system to re-sent the network configuration data. The vehicle networking system receives the reconnection request and re-sends the network configuration data to the corresponding controller through a wired connection. The embodiment can enable the vehicle networking system to establish a wireless network connection with the controller when the device is powered on. When the connection fails, the vehicle networking system reattempts to establish a wireless network connection again, thereby ensuring that the controller that needs to be upgraded can establish a wireless network connection with the vehicle networking system to perform software upgrade.
[0046] Figure 2 FIG. 1 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application. In an embodiment, as shown in FIG. 1, if the device is powered on, step 110 includes: Figure 2
[0047] Step 111: The vehicle networking system sends a vehicle networking system hotspot name, a vehicle networking system hotspot key, an IP address of the vehicle networking system, an IPv4 subnet prefix length of the vehicle networking system, and a gateway IP address of the vehicle networking system to the controller through a wired connection.
[0048] Figure 3 Fig. 1 shows a flowchart of a method for self-matching of a wireless network of a device according to an embodiment of the present application. In an embodiment, as shown in Fig. 1, the method comprises the following steps: Figure 3 Step 120 comprises:
[0049] Step 121, the controller configures the wireless network according to the network configuration data.
[0050] Step 122, the controller sends a response message to the vehicle networking system through the wired connection.
[0051] In use, the controller first attempts to configure the wireless network and IP information according to the hotspot name, the hotspot key, the IP address, the IPv4 subnet prefix length, and the gateway IP address of the vehicle networking system. After the attempt, the controller sends a response message to the vehicle networking system to indicate that the controller has attempted to connect to the wireless network. The response message includes the IP address of the controller. The vehicle networking system marks the controllers that have attempted to connect to the wireless network according to the response message, so as to test the network connection of the marked controllers later.
[0052] Figure 4 Fig. 2 shows a flowchart of a method for self-matching of a wireless network of a device according to another embodiment of the present application. In an embodiment, as shown in Fig. 2, the method comprises the following steps: Figure 4 Step 122 comprises:
[0053] The controller determines whether the wireless network configuration has been performed. If the wireless network configuration has been performed, the controller generates feedback data for the network communication protocol in step 1221.
[0054] In this step, after the controller performs the wireless network connection according to the network configuration data, the controller generates a response to the network communication protocol, i.e., generates feedback data to indicate that the controller has attempted to connect to the wireless network.
[0055] Step 1222, the controller sends the feedback data to the vehicle networking system through the wired connection.
[0056] In this step, the controller sends the feedback data to the vehicle networking system, so that the vehicle networking system knows which controllers have attempted to connect to the wireless network.
[0057] Step 1223, the controller sends the IP address of the controller to the vehicle networking system through the wired connection.
[0058] In this step, the controller sends the IP address of the controller to the vehicle networking system, so that the vehicle networking system can distinguish different controllers according to the IP addresses.
[0059] In use, if the controller performs wireless network configuration, the controller triggers the generation of feedback data and sends the feedback data to the vehicle networking system, i.e., the response message is sent to the vehicle networking system in the form of feedback data. At the same time, the IP address of the controller itself is also sent, i.e., the response message contains the IP address of the controller itself. Then, the vehicle networking system can identify which controllers send the response message according to the IP address, and distinguish different controllers through the IP address.
[0060] Figure 5 As shown in the method steps schematic diagram of the device wireless network self-matching method provided by another embodiment of the application, after the controller sends the response message to the vehicle networking system through the wired connection, the method further includes: Figure 5
[0061] Step 170, the vehicle networking system judges whether the controller that has sent the response message is connected successfully or failed according to the network connection test method.
[0062] In use, the vehicle networking system tests the controllers that have attempted wireless network connection to know whether these controllers are connected successfully, so as to send the connection success information to the controllers connected successfully and send the connection failure information to the controllers connected failed. Specifically, the network connection test method can use common methods, for example, the vehicle networking system pings the IP address of the controller. If the ping is successful, it means that the controller has successfully established the wireless network connection. If the ping fails, it means that the establishment fails.
[0063] Figure 6 As shown in the method steps schematic diagram of the device wireless network self-matching method provided by another embodiment of the application, after the controller sends the response message to the vehicle networking system through the wired connection, the method further includes: Figure 6
[0064] Step 180, the vehicle networking system performs a judgment step according to the amount of sent network configuration data and according to the amount of received response messages, i.e., detects whether there is a controller that has not sent the response message.
[0065] If there is a controller that has not sent the response message, step 190 is performed, i.e., the vehicle networking system marks the controller that has not sent the response message as a controller connected failed.
[0066] In use, if some controllers do not send the response message, it indicates that these controllers can not have received the network configuration data, and these controllers can not have performed the wireless network connection. If the sending amount of the network configuration data is greater than the amount of the received response message, it indicates that some controllers do not send the response message. Each response message contains the IP address of the corresponding controller, and the vehicle networking system can distinguish the controller corresponding to the response message through the IP address in the response message, so as to know which controllers do not send the response message. The vehicle networking system marks these controllers which do not send the response message as the connection-failed controllers.
[0067] Figure 7 Fig. 6 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application. In an embodiment, as shown in Fig. 6, step 130 includes: Figure 7
[0068] Step 131: The vehicle networking system sends the connection-success information to the connection-successful controllers through the wired connection according to a preset period.
[0069] Step 132: The vehicle networking system sends the connection-failure information to the connection-failed controllers through the wired connection according to a preset period.
[0070] In use, the connection-success information and the connection-failure information can be periodically sent to avoid too large data amount and too much energy consumption caused by frequent sending. Specifically, the sending period can be 3s, 10s or 15s.
[0071] Figure 8 Fig. 6 shows a method step schematic diagram of a device wireless network self-matching method provided by another embodiment of the application. In an embodiment, as shown in Fig. 6, step 130 includes: Figure 8
[0072] In a single power-on of the device, the judgment step is performed: whether the number of times that the controller sends the reconnection request to the vehicle networking system exceeds a preset upper limit. If yes, step 210 is performed: the controller no longer sends the reconnection request.
[0073] In use, if the controller sends the reconnection request too many times, it indicates that the controller may have a connection failure and cannot establish a wireless network connection with the Internet of Vehicles system. At this time, the controller is controlled not to send the reconnection request, so as to avoid repeatedly requesting the Internet of Vehicles system to send network configuration data, and to avoid resource waste caused by meaningless data transmission. Subsequently, after the device is repaired, the wireless network connection is tried again. When the device is powered on next time, the controller can send the reconnection request again until the preset upper limit of the number of times is exceeded or the connection is successful. Specifically, the preset upper limit of the number of times can be set to 3, 5 or 10 times, etc.
[0074] Figure 9 Fig. 1 shows a schematic diagram of method steps of a device wireless network self-matching method provided by another embodiment of the application. In an embodiment, as shown in Fig. 1, the method further includes: Figure 9
[0075] Step 220: The controller sends the controller network information to the Internet of Vehicles system through the wired connection when the device is powered on each time.
[0076] Step 230: The Internet of Vehicles system sends the Internet of Vehicles system network information to the controller through the wired connection when the device is powered on each time.
[0077] The embodiment can enable the Internet of Vehicles system to update the network information of each controller, and the controller can also update the network information of the Internet of Vehicles system. Subsequently, the Internet of Vehicles system and the controller can use the latest network information to interact with, connect with and upgrade each other.
[0078] In the application, the communication between the Internet of Vehicles system and the controller can adopt a message format. The message format mainly includes two main parts:
[0079] One part is data for describing message format information, including data information identifier and data packet serial number. The data information identifier is used to describe the data content contained in the CAN bus data field. The data packet serial number is used to identify the order of multiple messages when the data information length exceeds the length of a single message that can be sent.
[0080] The other part is the actual data of the message.
[0081] The description of the message format information is as shown in Table 1:
[0082]
[0083] Table 1
[0084] The message data required for the vehicle-to-everything (V2X) system and controller to complete the handshake is shown in Table 1, containing seven categories of message data: V2X hotspot name, V2X hotspot key, V2X IP address and IPv4 subnet prefix length, V2X gateway IP address, controller connection status, controller reconnection request, and controller response message. Descriptions of the seven categories of message data are as follows:
[0085] Table 2:
[0086]
[0087] Table 2
[0088] Figure 10 The diagram shown is a general flowchart of this application. Referring to Table 2, the general flowchart of this application is as follows: Figure 10 As shown, after the device is powered on, the vehicle-to-everything (V2X) system sends messages 1, 2, 3, and 4 to the controller. The controller configures the wireless network based on messages 1 and 2, and configures the IP information based on messages 3 and 4. After configuring the wireless network and IP information, the controller sends message 7 to the V2X system. Upon receiving message 7, the V2X system sends message 5 to the controller. Upon receiving message 5, the controller sends message 6 to the V2X system to request reconnection. Upon receiving message 6, the V2X system again sends messages 1, 2, 3, and 4 to the controller. During a single power-on, the device is configured to send a maximum of 3 messages of message 6.
[0089] Exemplary device wireless network self-matching apparatus
[0090] Figure 11 The diagram shown is a system architecture diagram of this application. This application also provides a device for self-matching wireless networks, such as... Figure 11 As shown, the device includes a vehicle networking system 1101 and multiple controllers 1102.
[0091] The vehicle networking system 1101 is configured as follows: when the device is powered on, the vehicle networking system sends network configuration data to one or more controllers via a wired connection; the vehicle networking system sends connection success information to controllers that have successfully connected to the wireless network and connection failure information to controllers that have failed to connect to the wireless network via a wired connection; if the vehicle networking system receives a reconnection request, it resends the network configuration data to the controller corresponding to the reconnection request via a wired connection so that the controller and the vehicle networking system can re-establish the wireless network connection.
[0092] The controller 1102 is configured to: if the controller acquires the network configuration data, the controller performs wireless network connection with the vehicle networking system according to the network configuration data; if the controller receives the connection success information, the controller sends an upgrade request to the vehicle networking system; or if the controller receives the connection failure information, the controller sends a reconnection request to the vehicle networking system.
[0093] When the vehicle networking system and the controller are connected through the WIFI wireless network, the vehicle networking system is set to a wireless access point mode, the Ethernet gateway is used as a communication intermediate device, the Ethernet gateway is set to a bridge mode, each controller is connected with the Ethernet gateway through a wireless network, and each controller is further connected with the vehicle networking system or the vehicle networking gateway through the Ethernet gateway, that is, the controller is connected with the vehicle networking system or the vehicle networking gateway through the Ethernet gateway.
[0094] The above describes the basic principles of the application in combination with specific embodiments, but it should be pointed out that the advantages, advantages, effects and the like mentioned in the application are only examples and are not limited, and these advantages, advantages, effects and the like cannot be considered as the must-haves of each embodiment of the application. In addition, the above specific details are only for the purpose of example and for the purpose of understanding, and are not limited to the application, and the above details do not limit the application to be realized by the above specific details.
[0095] The block diagrams of the devices, apparatuses, equipment, systems involved in the application are only illustrative examples and are not intended to require or imply the connection, arrangement, configuration shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, equipment, systems can be connected, arranged, configured in any way. Words such as "include", "contain", "have" and the like are open-ended words, which mean "include but not limited to", and can be used interchangeably. The words "or" and "and" used herein mean the word "and / or", and can be used interchangeably unless the context clearly indicates otherwise. The word "such as" used herein means the phrase "such as but not limited to", and can be used interchangeably.
[0096] It should also be noted that in the devices, equipment and methods of the application, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions of the application.
[0097] The above description of the disclosed aspects is provided so that any person skilled in the art can make or use the application. Various modifications to these aspects will be apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the application. Therefore, the application is not intended to be limited to the aspects shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0098] The above descriptions are only the preferred embodiment of the present application, not intended to limit the present application. Any modification, equivalent replacement and the like made within the principle and the scope of the present application should be included in the protection scope of the present application.
Claims
1. A device wireless network self-matching method, characterized in that, The method comprises the following steps: The vehicle networking system sends network configuration data to one or more controllers through a wired connection; the network configuration data comprises a hotspot name of the vehicle networking system, a hotspot key of the vehicle networking system, an IP address of the vehicle networking system, an IPv4 subnet prefix length of the vehicle networking system, and a gateway IP address of the vehicle networking system; The controller acquires the network configuration data, and the controller performs wireless network connection with the vehicle networking system according to the network configuration data; The vehicle networking system sends connection success information to the controller that has successfully performed wireless network connection through the wired connection, and sends connection failure information to the controller that has failed to perform wireless network connection; The vehicle networking system sends connection success information to the controller that has successfully performed wireless network connection through the wired connection, and sends connection failure information to the controller that has failed to perform wireless network connection through the wired connection comprises that the vehicle networking system sends the connection success information to the controller that has successfully performed wireless network connection through the wired connection according to a preset period, and the vehicle networking system sends the connection failure information to the controller that has failed to perform wireless network connection through the wired connection according to a preset period; and If the controller receives the connection success information, the controller sends an upgrade request to the vehicle networking system; or If the controller receives the connection failure information, the controller sends a reconnection request to the vehicle networking system; If the controller sends the reconnection request to the vehicle networking system more than a preset upper limit of times in a single power-on of the device, the controller no longer sends the reconnection request; and If the vehicle networking system acquires the reconnection request, the vehicle networking system re-sends network configuration data to the controller corresponding to the reconnection request through the wired connection, so that the controller re-establishes wireless network connection with the vehicle networking system.
2. The device wireless network self-matching method of claim 1, wherein, The controller acquires the network configuration data, and the controller performs wireless network connection with the vehicle networking system according to the network configuration data comprises: The controller performs wireless network configuration according to the network configuration data; and The controller sends a response message to the vehicle networking system through the wired connection.
3. The device wireless network self-matching method of claim 2, wherein, The controller sends a response message to the vehicle networking system through the wired connection comprises: If the controller has performed the wireless network configuration, the controller generates feedback data of a network communication protocol; The controller sends the feedback data to the vehicle networking system through the wired connection; and The controller sends an IP address of the controller to the vehicle networking system through the wired connection.
4. The device wireless network self-matching method of claim 2, wherein, After the controller sends the response message to the vehicle networking system through the wired connection, the method further comprises: The vehicle networking system determines whether the controller that has sent the response message is successful in connection or failed in connection according to a network connection test method.
5. The device wireless network self-matching method of claim 2, wherein, After the vehicle networking system sends network configuration data to one or more controllers through a wired connection, the method further comprises: The vehicle networking system detects whether there is a controller that has not sent a response message according to a sending amount of the network configuration data that has been sent, and according to a message amount of a received response message; and If the controller without sending the response message exists, the vehicle networking system marks the controller without sending the response message as the controller with connection failure.
6. The device wireless network self-matching method of claim 1, wherein, Also included are: The controller sends controller network information to the vehicle networking system through a wired connection every time the device is powered on. And The vehicle networking system sends vehicle networking system network information to the controller through a wired connection every time the device is powered on.
7. A device wireless network self-matching apparatus, comprising: Including: A vehicle networking system configured to: the vehicle networking system sends network configuration data to one or more controllers through a wired connection; the network configuration data includes the hotspot name of the vehicle networking system, the hotspot key of the vehicle networking system, the IP address of the vehicle networking system, the IPv4 subnet prefix length of the vehicle networking system, and the gateway IP address of the vehicle networking system; the vehicle networking system sends connection success information to the controller with successful wireless network connection and sends connection failure information to the controller with connection failure through a wired connection; the vehicle networking system sends connection success information to the controller with successful wireless network connection through a wired connection according to a preset period; And the vehicle networking system sends connection failure information to the controller with connection failure through a wired connection according to a preset period; If the vehicle networking system obtains a reconnection request, it re-sends network configuration data to the controller corresponding to the reconnection request through a wired connection, so that the controller re-establishes wireless network connection with the vehicle networking system; And A plurality of controllers, the controller is configured: the controller obtains the network configuration data, the controller establishes wireless network connection with the vehicle networking system according to the network configuration data; if the controller sends more than a preset number of reconnection requests to the vehicle networking system in a single power-on of the device, the controller no longer sends the reconnection request; If the controller receives the connection success information, it sends an upgrade request to the vehicle networking system; or if the controller receives the connection failure information, it sends a reconnection request to the vehicle networking system.
Citation Information
Patent Citations
Vehicle-mounted terminal wireless configuration method and device, server and storage medium
CN112584356A