Data transmission method, system, device and vehicle
By wirelessly connecting T-box and electronic devices in the vehicle's IVI navigation system, the problem of low GNSS data acquisition efficiency is solved, real-time data acquisition and efficient data transmission are realized.
Patent Information
- Application Number
- CN202210951763.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-09
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2042-08-09
AI Technical Summary
In the prior art, electronic devices have low efficiency in collecting GNSS data, which is mainly due to the complex and cumbersome GNSS data transmission methods, making it difficult to achieve high efficiency in the data acquisition process.
By introducing T-box into the IVI navigation system of the vehicle and wirelessly connecting it with GNSS and electronic devices, the electronic device sends data requests to the IVI navigation system through a wireless connection. The IVI navigation system receives the request and forwards the GNSS data to the electronic device. Simplifies the data transmission process and avoids direct disassembly and wiring operations of the T-box.
Real-time acquisition of GNSS data by electronic devices is realized, the data transmission process is simplified, data transmission efficiency and acquisition efficiency are improved, and data acquisition process of electronic devices is reduced.
Smart Images

Figure CN115442397B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and more specifically, to a data transmission method, system, device and vehicle. Background Art
[0002] With the development of society and the improvement of people's living standards, cars have become widely popular. Obtaining vehicle driving road information and vehicle positioning information is crucial to analyzing vehicle driving conditions. At present, electronic devices can provide high-precision positioning for vehicle navigation, automatic driving and emergency rescue by analyzing the data of the Global Navigation Satellite System (GNSS). In related technologies, since the way GNSS data is transmitted to electronic devices is complex and cumbersome, the collection of GNSS data by electronic devices is inefficient. Summary of the invention
[0003] The present application proposes a data transmission method, system, device and vehicle to improve the above-mentioned problems.
[0004] In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to an IVI navigation system of a vehicle, wherein the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system, respectively, and the IVI navigation system is used to connect to an electronic device via a wireless connection, the method comprising: receiving a data request sent by the electronic device via the wireless connection, and sending the data request to the T-box; receiving target data sent by the T-box in response to the data request, wherein the target data is sent by the GNSS to the T-box; and sending the target data to the electronic device via the wireless connection so that the electronic device processes the target data.
[0005] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a data transmission system, wherein the data transmission system includes an IVI navigation system and an electronic device of a vehicle, and the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system, respectively, and the IVI navigation system is connected to the electronic device via a wireless connection, and the method includes: the electronic device sends a data request to the IVI navigation system via the wireless connection; the IVI navigation system receives the data request and sends the data request to the T-box; the IVI navigation system receives target data sent by the T-box in response to the data request, wherein the target data is sent by the GNSS to the T-box; the IVI navigation system sends the target data to the electronic device via the wireless connection; and the electronic device processes the target data.
[0006] In the third aspect, the embodiment of the present application also provides a data transmission device, which is applied to the IVI navigation system of a vehicle, wherein the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to the electronic device through a wireless connection, and the device includes: a request receiving unit, a target data receiving unit, and a data sending unit. Among them, the request receiving unit is used to receive the data request sent by the electronic device through the wireless connection, and send the data request to the T-box; the target data receiving unit is used to receive the target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; the data sending unit is used to send the target data to the electronic device through the wireless connection, so that the electronic device processes the target data.
[0007] In a fourth aspect, an embodiment of the present application further provides a data transmission system, which includes an IVI navigation system and an electronic device of a vehicle, wherein the vehicle further includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system, respectively, and the IVI navigation system is connected to the electronic device via a wireless connection, wherein: the electronic device is used to send a data request to the IVI navigation system via the wireless connection; the IVI navigation system is used to receive the data request and send the data request to the T-box; the IVI navigation system is used to receive target data sent by the T-box in response to the data request, wherein the target data is sent by the GNSS to the T-box; the IVI navigation system is used to send the target data to the electronic device via the wireless connection; the electronic device is used to process the target data.
[0008] In a fifth aspect, an embodiment of the present application further provides a vehicle, comprising: one or more processors, a memory, and one or more applications. The one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to be executed to implement the method described in the first aspect or the second aspect.
[0009] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the method described in the first aspect or the second aspect above.
[0010] The technical solution provided in the present application is applied to the IVI navigation system of the vehicle, and the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to the electronic device through a wireless connection, by receiving a data request sent by the electronic device through a wireless connection, and sending the data request to the T-box; receiving the target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; sending the target data to the electronic device through a wireless connection, so that the electronic device processes the target data. Therefore, by adopting the above method of the present application, through the wireless connection established between the electronic device and the IVI navigation system, the electronic device can obtain GNSS data in real time, which greatly facilitates the real-time collection of GNSS data by the electronic device, and the process is simple, while reducing the data collection process of the electronic device, the efficiency of data transmission is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1 A schematic diagram showing an application scenario of a data transmission method provided by an embodiment of the present application;
[0013] Figure 2 A schematic diagram of a data transmission method according to an embodiment of the present application is shown;
[0014] Figure 3 A schematic diagram of a data transmission method according to an embodiment of the present application is shown;
[0015] Figure 4 A timing diagram of a data transmission method provided by an embodiment of the present application is shown;
[0016] Figure 5 A schematic diagram of a data transmission method according to an embodiment of the present application is shown;
[0017] Figure 6 A schematic diagram of a data transmission method according to an embodiment of the present application is shown;
[0018] Figure 7 A schematic diagram showing a flow chart of a data transmission method provided by another embodiment of the present application is shown;
[0019] Figure 8 A timing diagram of a data transmission method provided by an embodiment of the present application is shown;
[0020] Fig. 9 A structural block diagram of a data transmission device provided by an embodiment of the present application is shown;
[0021] Fig.10 A structural block diagram of a data transmission system provided by an embodiment of the present application is shown;
[0022] Fig.11 A structural block diagram of a vehicle provided by an embodiment of the present application is shown;
[0023] Fig.12 A structural block diagram of a computer storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] GNSS is an airborne radio navigation and positioning system that can provide users with all-weather three-dimensional coordinates, speed and time information at any location on the earth's surface or near-earth space. With the popularization of automobiles, in related technologies, the on-board telematics processor (Telematics BOX, T-box) usually integrates an external GNSS to provide high-precision positioning functions for automobile navigation, automatic driving and emergency rescue. The performance and stability of GNSS are crucial to the normal operation of the entire vehicle function. Therefore, during the actual vehicle road test and the actual vehicle GNSS problem positioning process, it is necessary to collect GNSS data in real time to analyze the operating status and performance of GNSS.
[0026] At present, the vehicle-mounted T-box device is generally installed in a hidden location such as the buckle plate under the vehicle instrument panel or the buckle of the gear lever seat plate, and is well sealed. If an external data cable is used to collect real-time GNSS data, the vehicle-mounted T-box device needs to be disassembled and wired, which is a complicated and cumbersome process, difficult and unsafe. Therefore, due to the complicated and cumbersome way of transmitting GNSS data to electronic devices, the collection of GNSS data by electronic devices in related technologies is inefficient.
[0027] In order to alleviate the above problems, the inventor of the present application has proposed a data transmission method, system, device and vehicle provided in an embodiment of the present application, which is applied to the IVI navigation system of the vehicle, and the vehicle also includes GNSS and T-box, wherein T-box is connected to GNSS and IVI navigation system respectively, and IVI navigation system is used to connect with electronic equipment through wireless. The method includes: receiving a data request sent by an electronic device through a wireless connection, and sending the data request to T-box; receiving target data sent by T-box in response to the data request, wherein the target data is sent to T-box by GNSS; sending the target data to the electronic device through the wireless connection, so that the electronic device processes the target data. Therefore, the above method of the present application is adopted, and the real-time collection of GNSS data by the electronic device is realized through the wireless connection established between the electronic device and the IVI navigation system, without the need for a data line to directly connect to T-box for data collection, reducing the cumbersome process of data collection by the electronic device, simplifying the process of data transmission, and improving the efficiency of data transmission while improving the efficiency of data collection by the electronic device.
[0028] Before describing the technical solution proposed in this application in detail, the terms involved in this application are explained as follows:
[0029] UDP protocol: User Datagram Protocol (UDP) provides a method for applications to send encapsulated IP data packets without establishing a connection. It is a connectionless transport layer protocol in the Open System Interconnection (OSI) reference model, providing simple, transaction-oriented, unreliable information transmission services.
[0030] UDP server: UDP server means that the source IP is not verified on the basis of UDP. After receiving the UDP data packet, the target IP is changed to the data source IP. In this mode, the module records a target IP by default. When there is data in the serial port, the data is sent to the recorded IP. At the same time, the module is in the position of a server, receiving data packets sent to the module from the network, and adjusting the target IP to the IP of the data source at any time. It is suitable for the working mode of multiple IP corresponding modules. Among them, the program used on the computer side is exactly the same as the UDP mode, and no changes are required.
[0031] UDPclient: UDP client refers to the module that listens to the set port after power is turned on. It does not actively establish a link. When the serial port device sends data to the module serial port, the serial port server sends the data to the set target IP and port. The personal computer side can set the target IP and port to the module's own IP and port, and then the personal computer side sends data, which can be sent to the serial port of the module.
[0032] IP protocol: Internet Protocol, a protocol for transmitting information between networks.
[0033] Mobile WiFi hotspot: It is a technology that converts the General Packet Radio Service (GPRS), 3G or 4G signals received by mobile phones into WiFi signals and sends them out. It allows mobile phones, tablets or notebooks and other portable devices to access the Internet outdoors or in places without network through wireless network cards or WLAN modules, thereby realizing network resource sharing.
[0034] The following describes an application environment in which the data transmission method provided in the embodiments of the present application can be used.
[0035] See also Figure 1 , Figure 1 A schematic diagram of an application environment that can be used for the data transmission method provided in the embodiment of the present application is shown. Figure 1 As shown, the application environment includes a vehicle 30, a target router 10, and an electronic device 20. The target router 10 can provide a WiFi hotspot, and the IVI (In-Vehicle Infotainment, IVI) navigation system in the vehicle 30 can be connected to the WiFi hotspot provided by the target router 10; the electronic device 20 can also be connected to the WiFi hotspot provided by the target router 10. When the IVI navigation system of the vehicle 30 and the electronic device 20 are respectively connected to the WiFi hotspot provided by the target router 10, the vehicle 30, the target router 10, and the electronic device 20 form a local area network, and the vehicle 30 and the electronic device 20 can be wirelessly connected based on the local area network, and the vehicle 30 and the electronic device 20 can exchange data through the wireless connection.
[0036] Among them, the target router 10 can be a mobile phone, computer, smart wearable device or other device that can provide a WiFi hotspot; the electronic device 20 can be a tablet computer, smart phone, vehicle or other device that can transmit data via wireless connection; the vehicle 30 can also include GNSS and T-box, wherein the T-box is connected to the GNSS and IVI navigation systems respectively. Figure 1 Only a schematic diagram showing that the electronic device 20 is a tablet computer and the target router 10 is a mobile phone is shown.
[0037] Among them, the mobile phone is used to provide a WiFi hotspot for the vehicle's IVI navigation system and tablet computer to connect, and to provide a WiFi network for the IVI navigation system and tablet computer, so that the mobile phone, IVI navigation system and tablet computer form a local area network communication, and then the IVI navigation system and tablet computer are wirelessly connected.
[0038] Among them, the IVI navigation system is used to receive a data request sent by the tablet computer via a wireless connection, and send the data request to the T-box; receive target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; send the target data to the electronic device via a wireless connection, so that the electronic device receives the target data, analyzes, saves, and other processes the target data.
[0039] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0040] See also Figure 2 , Figure 2 This is a flow chart of a data transmission method according to an embodiment of the present application, which is applied to the IVI navigation system of a vehicle, wherein the vehicle further includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to an electronic device via wireless. The electronic device may be a tablet computer, a smart phone, a smart wearable device, a vehicle, or other device that can transmit data via wireless connection, which is not limited here. Figure 2 As shown, the method at least includes steps S110 to S130.
[0041] Step S110: receiving a data request sent by the electronic device through the wireless connection, and sending the data request to the T-box.
[0042] In some embodiments, the IVI navigation system is wirelessly connected to the electronic device, and the IVI navigation system can receive a data request sent by the electronic device through the wireless connection, wherein the data request can be used to request target data from the electronic device; wherein the target data can be GNSS data.
[0043] Among them, the IVI navigation system is wirelessly connected to the electronic device and can interact with data through a connectionless data transmission protocol (such as UDP protocol, IP protocol, etc.).
[0044] In some embodiments, the wireless connection between the IVI navigation system and the electronic device can be established by activating the data function of the mobile phone, so that the IVI navigation system and the electronic device can access the Internet wirelessly through the mobile phone (i.e., a portable router) or a wireless network card, thereby realizing the wireless connection between the IVI navigation system and the electronic device; or it can be based on a traditional local area network, using an unlimited AP and a wireless network card to build a wireless Internet access method for the IVI navigation system and the electronic device, thereby realizing the wireless connection between the IVI navigation system and the electronic device.
[0045] In one possible implementation provided in an embodiment of the present application, taking into account the large amount of target data and high transmission rate requirements, a method for achieving wireless connection between the IVI navigation system and the electronic device can be to provide a WiFi hotspot through a portable router, and the IVI navigation system and the electronic device are respectively connected to the WiFi hotspot, thereby achieving wireless connection between the IVI navigation system and the electronic device to meet the requirements of high speed and high data volume in data transmission and reduce the delay of data transmission.
[0046] Further, after receiving the data request sent by the electronic device, the IVI navigation system forwards the data request to the T-box connected to the IVI navigation system. The IVI navigation system and the T-box may be connected via a network port, Ethernet, Universal Serial Bus (USB), or other communication methods, which are not limited here.
[0047] Step S120: receiving target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS.
[0048] In some embodiments, the IVI navigation system forwards the data request to the T-box, and the T-box can respond to the data request and receive the target data sent by the GNSS to the T-box. The target data is GNSS data, which is sent to the T-box by the GNSS. The GNSS data can be GNSS debugging data, high-precision positioning data, etc.; the GNSS data is high-speed data with a rate of up to 100 milliseconds, and is transmitted in accordance with the National Marine Electronics Association (NMEA) international protocol.
[0049] It should be noted that the GNSS sends GNSS data to the T-box in real time. When the T-box receives the data request and responds to the data request, it starts to receive the GNSS data sent by the GNSS in real time and forwards the GNSS to the IVI navigation system.
[0050] It can be understood that when the T-box receives a data request and responds to the data request, it starts to receive the GNSS data sent by the GNSS in real time, and forwards the GNSS to the IVI navigation system. After receiving the data request, the received GNSS data can obtain GNSS real-time data in a targeted manner, reducing the power consumption of data transmission and saving the storage space of the T-box. While reducing the power consumption of the vehicle, it improves the work efficiency of the vehicle.
[0051] Among them, GNSS can be plugged into the T-box and can communicate with the T-box through serial port protocols (RS-232, RS-422, RS-485, etc.).
[0052] Step S130: sending the target data to the electronic device via the wireless connection, so that the electronic device processes the target data.
[0053] In some embodiments, after the IVI navigation system receives the target data sent by the T-box, the target data is sent to the electronic device via a wireless connection so that the electronic device processes the target data. Among them, the electronic device may include a data analysis tool for GNSS data, and the electronic device can use the data analysis tool to process the target data. Among them, the data analysis tool processes the target data by analyzing the target data and saving the GNSS data to the memory of the electronic device, so that the electronic device can provide high-precision positioning for the navigation, automatic driving and emergency rescue of the car based on the GNSS data.
[0054] The technical solution provided in the embodiment of the present application is applied to the IVI navigation system of the vehicle, and the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to the electronic device through a wireless connection, by receiving a data request sent by the electronic device through a wireless connection, and sending the data request to the T-box; receiving the target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; sending the target data to the electronic device through a wireless connection, so that the electronic device processes the target data. Therefore, using the above method of the present application, the electronic device obtains GNSS data in real time through a wireless connection established with the IVI navigation system, which greatly facilitates the real-time collection of GNSS data by the electronic device, and improves the efficiency of data transmission while reducing the data collection process of the electronic device.
[0055] See also Figure 3 , Figure 3The present invention is a flowchart of a data transmission method according to an embodiment of the present invention, which is applied to an IVI navigation system of a vehicle, wherein the vehicle further includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to the electronic device via wireless. Figure 3 As shown, the method at least includes steps S210 to S240.
[0056] Step S210: Establishing a wireless connection with the electronic device.
[0057] In some embodiments, the IVI navigation system can achieve wireless connection with the electronic device by activating the data function through a portable router, so that the IVI navigation system and the electronic device can access the Internet wirelessly through the portable router or wireless network card, thereby establishing a wireless connection between the IVI navigation system and the electronic device.
[0058] Optionally, the IVI navigation system establishes a wireless connection with the electronic device by, based on a target local area network formed by connecting the target routers to the electronic device respectively, establishing a wireless communication connection with the electronic device through a UDP protocol.
[0059] The target router may be a portable router that provides a WiFi hotspot, such as a mobile phone; or a wireless switch, a wireless access point (Wireless Access Point, wireless AP), etc. for a wireless network. The target router is used to form a target local area network with the IVI navigation system and the electronic device, so that the IVI navigation system and the electronic device establish a wireless connection based on the target local area network, that is, the target router is used to provide a network, providing a network path between the IVI navigation system and the electronic device.
[0060] For example, see Figure 4, the user turns on the mobile phone WiFi hotspot, the IVI navigation system (IVI navigation) and the electronic device (laptop) are respectively connected to the WiFi hotspot of the mobile phone (i.e., the target router), and the mobile phone, IVI navigation system and electronic device that provide the WiFi hotspot form a target local area network. Among them, after the electronic device is connected to the mobile phone, based on the target local area network, the IVI navigation system obtains the WiFi network card IP of the mobile phone by querying the mobile phone, sets the WiFi network card IP and port to be connected to the IVI navigation system, and creates a UDPclient; wherein, after the IVI navigation system is connected to the mobile phone, a UDP server that listens to port 8888 is created. If the user operates the electronic device to start the data analysis tool for GNSS data, the electronic device generates a GNSS data request; the electronic device and the IVI navigation system establish a wireless connection through the UDP protocol based on the target local area network and the WiFi network card IP of the IVI navigation system connected to the mobile phone obtained by the electronic device querying the mobile phone, and the electronic device can send a GNSS data request to the UDP server of the IVI navigation based on the wireless connection.
[0061] It is understandable that users only need to provide a WiFi hotspot through their mobile phones for the IVI navigation and laptop computers to connect at the same time. Then the laptop computer can query the IVI navigation's WiFi network card IP through the mobile phone, and then run the laptop computer's GNSS data analysis tool, which is wirelessly connected to the IVI navigation through the UDP protocol. The IVI navigation can send GNSS data to the laptop computer through UDP, and the GNSS data analysis tool on the laptop computer can receive GNSS data in real time through UDP, analyze the data, and save the GNSS data to the local laptop computer. In this way, it greatly facilitates the real-time collection of GNSS data by electronic equipment during actual vehicle testing, and there is no need to connect an additional data cable directly to the T-box for GNSS data transmission. The process is simple and efficient.
[0062] Step S220: receiving a data request sent by the electronic device through the wireless connection, and sending the data request to the T-box.
[0063] Step S230: receiving target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS.
[0064] Step S240: sending the target data to the electronic device via the wireless connection, so that the electronic device processes the target data.
[0065] For the detailed description of steps S220 to S240 , please refer to the detailed description of steps S110 to S130 above, which will not be repeated here.
[0066] For example, please refer to Figure 4 After receiving the GNSS data request sent by the laptop, the IVI navigation UDPserver forwards the request to the T-box (T-box). After receiving the request, the T-box forwards the received GNSS data to the IVI navigation in real time. The IVI navigation sends the real-time GNSS data received from the T-box to the GNSS data analysis tool on the laptop. The GNSS data analysis tool performs real-time processing and analysis on the GNSS data, and continuously loops the steps of T-box forwarding the received GNSS data to the IVI navigation in real time. The IVI navigation sends the real-time GNSS data received from the T-box to the GNSS data analysis tool on the laptop. The GNSS data analysis tool performs real-time processing and analysis on the GNSS data.
[0067] By adopting the technical solution of the present application, a wireless connection with the electronic device is established before receiving a data request sent by the electronic device through a wireless connection and sending the data request to the T-box. In the process of real-time collection of GNSS data by the electronic device, there is no need to dismantle the device or the casing for wiring. It is only necessary to realize the wireless connection between the in-vehicle entertainment information system and the electronic device, and transmit the data of GNSS data through the wireless connection. While improving the data transmission efficiency, it reduces the process of data collection by the electronic device, can make the processing of GNSS data by the electronic device more convenient and simple, and also improve the efficiency of data processing by the electronic device.
[0068] See also Figure 5 , Figure 5 The present invention is a flowchart of a data transmission method according to an embodiment of the present invention, the method is applied to an IVI navigation system of a vehicle, the vehicle further includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to the electronic device via wireless. Figure 5 As shown, the method at least includes steps S310 to S340.
[0069] Step S310: receiving a data request sent by the electronic device through the wireless connection, and sending the data request to the T-box.
[0070] Step S320: receiving target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS.
[0071] Step S330: sending the target data to the electronic device via the wireless connection, so that the electronic device processes the target data.
[0072] For the detailed description of steps S310 to S330 , please refer to the detailed description of steps S110 to S130 above, which will not be repeated here.
[0073] Step S340: When it is determined that the electronic device has completed processing the target data, the wireless connection with the electronic device is disconnected.
[0074] In some implementations, the IVI navigation system establishes a wireless communication connection with the electronic device through the UDP protocol based on a target local area network formed by connecting the electronic device to a target router respectively.
[0075] As an embodiment, the IVI navigation system may determine that the electronic device has completed processing the target data by, if the IVI navigation system detects that the electronic device is disconnected from the target router through a wireless connection established with the electronic device, then determining that the electronic device has completed processing the target data.
[0076] As another implementation, the IVI navigation system may determine that the electronic device has completed processing the target data by, if the IVI navigation system detects that a target local area network formed by target routers connected to the electronic devices is disconnected, then determining that the electronic device has completed processing the target data.
[0077] As another embodiment, the IVI navigation system may determine that the electronic device has completed processing the target data by, if the IVI navigation system detects that the T-box stops running for a preset time period, and the IVI navigation system sends all the target data received from the T-box to the electronic device, determining that the electronic device has completed processing the target data.
[0078] In the embodiment of the present application, the IVI navigation system determines that the electronic device completes the processing of the target data in a manner not limited herein. It is understandable that, when it is determined that the electronic device completes the processing of the target data, disconnecting the wireless connection with the electronic device can reduce the energy consumption of data transmission and extend the life of the IVI navigation system.
[0079] In some embodiments, after the T-box detects that the IVI navigation system is disconnected from the wireless connection with the electronic device, it can stop sending target data to the IVI navigation system or stop receiving target data sent by the GNSS to reduce the energy consumption and storage space of the T-box.
[0080] In some implementations, after the IVI navigation system disconnects the wireless connection with the electronic device, it may stop receiving the target data sent by the T-box to reduce energy consumption and data storage space.
[0081] Using the technical solution of this application, compared with Figure 2 The technical solution shown also disconnects the wireless connection with the electronic device when it is determined that the electronic device has completed processing the target data, so that the electronic device can obtain GNSS data through the wireless connection, thereby improving data transmission efficiency, reducing the data collection process of the electronic device, and reducing the energy consumption of data transmission.
[0082] See also Figure 6 , Figure 6 The present invention is a flowchart of a data transmission method according to an embodiment of the present invention, the method is applied to an IVI navigation system of a vehicle, the vehicle further includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to the electronic device via wireless. Figure 6 As shown, the method at least includes steps S410 to S440.
[0083] Step S410: receiving a data request sent by the electronic device through the wireless connection, and sending the data request to the T-box.
[0084] Step S420: receiving target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS.
[0085] In some implementations, before the IVI navigation system receives the target data sent by the T-box in response to the data request, the T-box receives the target data sent by the GNSS in response to the data request and sends the target data to the IVI navigation system.
[0086] Step S430: sending the target data to the electronic device via the wireless connection, so that the electronic device processes the target data.
[0087] For the detailed description of steps S410 to S430 , please refer to the detailed description of steps S110 to S130 above, which will not be repeated here.
[0088] Step S440: When it is determined that the electronic device has received a disconnection instruction, disconnect the wireless connection with the electronic device.
[0089] In some embodiments, the electronic device includes a data analysis tool for target data. If the IVI navigation system detects that the data analysis tool has received a stop working instruction through a wireless connection established with the electronic device, it is determined that the electronic device has received a connection disconnection instruction, and the IVI navigation system disconnects the wireless connection with the electronic device.
[0090] As an implementation mode, if the IVI navigation system detects that the data analysis tool of the electronic device stops working through the wireless connection established with the electronic device, it is determined that the electronic device receives a disconnection instruction, and the IVI navigation system disconnects the wireless connection with the electronic device.
[0091] As another implementation, if the IVI navigation system detects that the data analysis tool of the electronic device stops working through the wireless connection established with the electronic device, and continues to detect the working status of the data analysis tool, if the data analysis tool has been in a stopped working state within a preset time period, the IVI navigation system determines that the electronic device has received a disconnection instruction, and the IVI navigation system disconnects the wireless connection with the electronic device.
[0092] For example, please refer again Figure 4 ,When the laptop receives the instruction to disconnect the WiFi hotspot, the laptop disconnects from the mobile phone WiFi hotspot, and the GNSS analysis tool closes the UDPclient. The IVI navigation system detects that the electronic device has disconnected from the WiFi hotspot provided by the mobile phone through the wireless connection established with the electronic device, and then determines that the electronic device has received the disconnection instruction, and determines that the GNSS data analysis is completed, disconnects the IVI navigation from the mobile phone WiFi hotspot, and the IVI navigation closes the UDP server.
[0093] Using the technical solution of this application, compared with Figure 2 The technical solution shown also disconnects the wireless connection with the electronic device when it is determined that the electronic device has completed processing the target data, so that the electronic device can obtain GNSS data through the wireless connection, thereby improving data transmission efficiency, reducing the data collection process of the electronic device, and reducing the energy consumption of data transmission.
[0094] See also Figure 7 , Figure 7 The present invention is a flowchart of a data transmission method according to an embodiment of the present invention. The method is applied to a data transmission system. The data transmission system includes an IVI navigation system and an electronic device of a vehicle. The vehicle also includes a GNSS and a T-box. The T-box is connected to the GNSS and the IVI navigation system respectively. The IVI navigation system is connected to the electronic device via wireless. Figure 7 As shown, the method at least includes steps S510 to S550.
[0095] Step S510: the electronic device sends a data request to the IVI navigation system via the wireless connection.
[0096] In some embodiments, the data transmission system may establish a wireless communication connection between the IVI navigation system and the electronic device through the UDP protocol based on a target local area network formed by connecting the IVI navigation system and the electronic device to a target router respectively.
[0097] The target router may be a portable router that provides a WiFi hotspot, such as a mobile phone; or a wireless switch, a wireless access point (Wireless Access Point, wireless AP), etc. used in a wireless network.
[0098] In some embodiments, the IVI navigation system in the data transmission system can create a UDP servier when the IVI navigation system is connected to a target router; the electronic device in the data transmission system can create a UDP client in response to a data acquisition instruction when the electronic device is connected to the target router and obtains the data acquisition instruction; the data transmission system can establish a wireless communication connection between the IVI navigation system and the electronic device based on the target LAN, UDP servier and UDP client formed by the IVI navigation system and the electronic device being respectively connected to the target router.
[0099] The electronic device may include a data processing function. Optionally, the electronic device may generate a function selection interface, which may include a function selection control, and the user may issue a data acquisition instruction by touching the function selection control to turn on the electronic device's data processing function; the electronic device may also include a function button, and the user may issue a data acquisition instruction by pressing the function button of the electronic device to turn on the electronic device's data processing function. After the electronic device turns on the data processing function, it may create a UDPclient in response to the data acquisition instruction.
[0100] In some embodiments, the electronic device may include a GNSS analysis tool. When the GNSS analysis tool is turned on, the electronic device receives a data acquisition instruction and creates a UDPclient in response to the data acquisition instruction. Further, the data transmission system may establish a wireless communication connection between the IVI navigation system and the electronic device based on the target LAN, UDPservier, and UDPclient formed by the IVI navigation system and the electronic device being connected to the target router respectively.
[0101] In some embodiments, when the electronic device starts the data processing function, it can generate a data request and send the data request to the IVI navigation system via a wireless connection.
[0102] Step S520: the IVI navigation system receives the data request and sends the data request to the T-box.
[0103] Step S530: the IVI navigation system receives target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS.
[0104] Step S540: the IVI navigation system sends the target data to the electronic device via the wireless connection.
[0105] Step S550: The electronic device processes the target data.
[0106] In some embodiments, if the electronic device obtains a disconnection instruction, the electronic device disconnects from the target router in response to the disconnection instruction and closes the UDP client. When the IVI navigation system detects that the electronic device is disconnected from the target router, it disconnects from the target router and closes the UDP servier to disconnect the wireless communication connection with the electronic device.
[0107] In some embodiments, the IVI navigation system may disconnect the wireless connection with the electronic device when it determines that the electronic device has completed processing the target data; or may disconnect the wireless connection with the electronic device when it detects that the electronic device has received a connection disconnection instruction.
[0108] As an implementation mode, during the process of the electronic device processing the target data, a tool state selection interface may be generated, and the tool state selection interface may include a tool state selection control, and the user may control the data analysis tool in the electronic device to stop working by touching the tool state selection control. When the IVI navigation system detects through a wireless connection that the data analysis tool in the electronic device stops working, the IVI navigation system determines that the electronic device has completed processing the target data and disconnects the wireless connection with the electronic device.
[0109] As another embodiment, the electronic device may also include a tool control button, and the user may control the data analysis tool in the electronic device to stop working by pressing the tool control button of the electronic device. When the IVI navigation system detects through a wireless connection that the data analysis tool in the electronic device stops working, the IVI navigation system determines that the electronic device has completed processing of the target data and disconnects the wireless connection with the electronic device.
[0110] For example, see Figure 8 , Figure 8A data transmission system provided by an embodiment of the present application is shown, which is composed of a GNSS module, a vehicle-mounted T-box, an IVI navigation and a laptop computer. The external GNSS module communicates with the T-box through a serial port protocol, and sends high-speed GNSS data to the T-box; after the T-box receives the GNSS data sent by the GNSS module, it forwards the data to the IVI navigation via USB. Among them, in order to collect GNSS data in real time, a mobile phone can be used to provide a WiFi hotspot for the IVI navigation and the laptop computer to connect, and a WiFi network can be provided for the IVI navigation and the laptop computer, so that the IVI navigation, the mobile phone and the laptop computer form a local area network communication, and the IVI navigation sends the GNSS data to the laptop computer via UDP; the data analysis tool of the GNSS on the laptop computer receives the GNSS data in real time in UDP mode, analyzes the data and saves the GNSS data locally to the laptop computer.
[0111] Among them, IVI navigation forwards the GNSS data forwarded by the T-box to the laptop through the mobile phone WiFi network via the UDP protocol, realizing the real-time collection of GNSS data by the laptop. There is no need to directly connect the T-box to collect data through a data cable, which reduces the tedious process of data collection by the laptop and improves efficiency.
[0112] The technical solution of the present application is adopted and applied to a data transmission system, wherein the data transmission system includes an IVI navigation system and an electronic device of a vehicle, and the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is connected to the electronic device by wireless connection, and a data request is sent to the IVI navigation system by the electronic device through a wireless connection; the IVI navigation system receives the data request and sends the data request to the T-box; the IVI navigation system receives the target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; the IVI navigation system sends the target data to the electronic device through a wireless connection; and the electronic device processes the target data. Therefore, by adopting the above method of the present application, through the wireless connection established between the electronic device and the IVI navigation system, the electronic device can obtain GNSS data in real time, which greatly facilitates the real-time collection of GNSS data by the electronic device, that is, data is transmitted through a wireless connection, which improves the efficiency of data transmission, thereby reducing the data collection process of the electronic device and improving the efficiency of data collection by the electronic device.
[0113] See also Fig. 9, which shows a data transmission device provided by an embodiment of the present application, which is applied to the IVI navigation system of a vehicle, and the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, and the IVI navigation system is used to connect to the electronic device through a wireless connection. The device 600 includes: a request receiving unit 610, a target data receiving unit 620, and a data sending unit 630. Specifically, the request receiving unit 610 is used to receive a data request sent by the electronic device through the wireless connection, and send the data request to the T-box; the target data receiving unit 620 is used to receive the target data sent by the T-box in response to the data request, wherein the target data is sent by the GNSS to the T-box; the data sending unit 630 is used to send the target data to the electronic device through the wireless connection, so that the electronic device processes the target data.
[0114] In one embodiment, the request receiving unit 610 is further configured to establish a wireless connection with the electronic device before receiving a data request sent by the electronic device via a wireless connection and sending the data request to the T-box.
[0115] In one embodiment, the request receiving unit 610 is further configured to establish a wireless communication connection with the electronic device through a UDP protocol based on a target local area network formed by connecting the electronic device to a target router respectively.
[0116] In one embodiment, the data sending unit 630 is further used to disconnect the wireless connection with the electronic device after sending the target data to the electronic device via a wireless connection so that the electronic device processes the target data and when it is determined that the electronic device has completed processing the target data.
[0117] It should be noted that each embodiment of this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Any processing method described in the method embodiment can be implemented by the corresponding processing module in the device embodiment, and will not be repeated one by one in the device embodiment.
[0118] See also Fig.10, which shows a structural block diagram of a data transmission system provided by an embodiment of the present application. The data transmission system 700 includes an IVI navigation system 710 and an electronic device 720 of a vehicle F00, and the vehicle F00 also includes a GNSS712 and a T-box714, wherein the T-box714 is connected to the GNSS712 and the IVI navigation system 710 respectively, and the IVI navigation system 710 is connected to the electronic device 720 via a wireless connection, wherein: the electronic device 720 is used to send a data request to the IVI navigation system 710 via a wireless connection; the IVI navigation system 710 is used to receive the data request and send the data request to the T-box714; the IVI navigation system 710 is used to receive the target data sent by the T-box714 in response to the data request, wherein the target data is sent to the T-box714 by the GNSS712; the IVI navigation system 710 is used to send the target data to the electronic device 720 via a wireless connection; the electronic device 720 is used to process the target data.
[0119] In one of the embodiments, based on the target local area network formed by the IVI navigation system 710 and the electronic device 720 being respectively connected to the target router, a wireless communication connection between the IVI navigation system 710 and the electronic device 720 is established through the UDP protocol; the electronic device 720 sends a data request to the IVI navigation system 710 through the wireless communication connection.
[0120] In one of the embodiments, when the IVI navigation system 710 is connected to the target router, a UDP servier is created; when the electronic device 720 is connected to the target router and obtains a data acquisition instruction, a UDP client is created in response to the data acquisition instruction; based on the target LAN, UDP servier and UDP client formed by the IVI navigation system 710 and the electronic device 720 being respectively connected to the target router, a wireless communication connection is established between the IVI navigation system 710 and the electronic device 720.
[0121] In one embodiment, after the electronic device 720 processes the target data, if the electronic device 720 obtains a disconnection instruction, the electronic device 720 disconnects from the target router in response to the disconnection instruction and closes the UDP client; when the IVI navigation system 710 detects that the electronic device 720 is disconnected from the target router, it disconnects from the target router and closes the UDP servier to disconnect the wireless communication connection with the electronic device.
[0122] In one embodiment, before the IVI navigation system 710 receives the target data sent by the T-box 714 in response to the data request, the T-box 714 receives the target data sent by the GNSS 712 in response to the data request and sends the target data to the IVI navigation system 710 .
[0123] See also Fig.11 Based on the above data transmission method, the present application also provides another vehicle 800 that can execute the above data transmission method, and the vehicle 800 also includes one or more processors 810, a memory 820, and one or more application programs. The memory 820 stores a program that can execute the content of the above embodiment, and the processor 810 can execute the program stored in the memory 820.
[0124] Among them, the processor 810 may include one or more cores for processing data and a message matrix unit. The processor 810 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions and processes data of the vehicle 800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 820, and calling data stored in the memory 820. Optionally, the processor 810 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 810 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor, but may be implemented separately through a communication chip.
[0125] The memory 820 may include an EMMC memory, may include a random access memory (RAM), and may also include a read-only memory (Read-Only Memory). The memory 820 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as audio and video data, debugging data, high-precision positioning data) created by the terminal during use, etc.
[0126] See also Fig.12 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium 900 stores a program code 910, and the program code 910 can be called by a processor to execute the method described in the above method embodiment.
[0127] The computer readable storage medium 900 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer readable storage medium 900 has storage space for program codes 910 that perform any method steps in the above method. These program codes 910 can be read from or written to one or more computer program products. The program code can be compressed, for example, in an appropriate form.
[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements 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 the present application.
Claims
1. A data transmission method, characterized in that: An IVI navigation system applied to a vehicle, the vehicle further comprising a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, the IVI navigation system is used to be wirelessly connected to an electronic device, the electronic device comprising a data analysis tool, and the method comprises: Connecting the electronic devices to target routers to form a target local area network, and establishing a wireless communication connection with the electronic devices through the UDP protocol; receiving a data request sent by the electronic device via the wireless communication connection, and sending the data request to the T-box; receiving target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; sending the target data to the electronic device via the wireless connection so that the electronic device processes the target data; When it is determined that the electronic device has received a disconnection instruction, the wireless connection with the electronic device is disconnected, wherein the situation where the electronic device receives the disconnection instruction includes that the IVI navigation system detects that the data analysis tool stops working or detects that the data analysis tool receives a stop working instruction through the wireless connection established with the electronic device.
2. A data transmission method, characterized in that: Applied to a data transmission system, the data transmission system includes an IVI navigation system and an electronic device of a vehicle, the vehicle also includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, the IVI navigation system is connected to the electronic device via wireless, the electronic device includes a data analysis tool, and the method includes: The data transmission system establishes a wireless communication connection between the IVI navigation system and the electronic device through the UDP protocol based on a target local area network formed by connecting the IVI navigation system and the electronic device to a target router respectively; The electronic device sends a data request to the IVI navigation system via the wireless communication connection; The IVI navigation system receives the data request and sends the data request to the T-box; The IVI navigation system receives target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; The IVI navigation system sends the target data to the electronic device via the wireless connection; The electronic device processes the target data; The IVI navigation system disconnects the wireless connection with the electronic device when it is determined that the electronic device has received a disconnection instruction, wherein the situation where the electronic device receives the disconnection instruction includes that the IVI navigation system detects that the data analysis tool stops working or detects that the data analysis tool receives a stop working instruction through the wireless connection established with the electronic device.
3. The method according to claim 2, characterized in that The target local area network formed by connecting the IVI navigation system and the electronic device to a target router respectively, and establishing a wireless communication connection between the IVI navigation system and the electronic device through the UDP protocol, includes: When the IVI navigation system is connected to the target router, a UDP servier is created; When the electronic device is connected to the target router and obtains a data acquisition instruction, creating a UDP client in response to the data acquisition instruction; Based on the IVI navigation system and the electronic device being respectively connected to the target local area network formed by the target router, the UDP servier and the UDP client, a wireless communication connection between the IVI navigation system and the electronic device is established.
4. The method according to claim 3, characterized in that After the electronic device processes the target data, the method further includes: If the electronic device obtains a disconnection instruction, the electronic device disconnects from the target router in response to the disconnection instruction and closes the UDP client; When the IVI navigation system detects that the electronic device is disconnected from the target router, it disconnects from the target router and closes the UDP servier to disconnect the wireless communication connection with the electronic device.
5. The method according to claim 2, characterized in that: Before the IVI navigation system receives the target data sent by the T-box in response to the data request, the system further includes: The T-box receives the target data sent by the GNSS in response to the data request, and sends the target data to the IVI navigation system.
6. A data transmission device, characterized in that: An IVI navigation system applied to a vehicle, the vehicle further comprising a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, the IVI navigation system is used to be wirelessly connected to an electronic device, the electronic device comprising a data analysis tool, and the device comprises: a request receiving unit, configured to connect the target routers with the electronic devices to form a target local area network, and establish a wireless communication connection with the electronic devices through the UDP protocol; receive a data request sent by the electronic devices through the wireless communication connection, and send the data request to the T-box; a target data receiving unit, configured to receive target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; A data sending unit is used to send the target data to the electronic device through the wireless connection so that the electronic device processes the target data; when it is determined that the electronic device has received a connection disconnection instruction, disconnect the wireless connection with the electronic device, wherein the situation where the electronic device receives the connection disconnection instruction includes that the IVI navigation system detects that the data analysis tool stops working or detects that the data analysis tool receives a stop working instruction through the wireless connection established with the electronic device.
7. A data transmission system, characterized in that: The data transmission system includes an IVI navigation system and an electronic device of a vehicle, wherein the vehicle further includes a GNSS and a T-box, wherein the T-box is connected to the GNSS and the IVI navigation system respectively, the IVI navigation system is connected to the electronic device via a wireless connection, and the electronic device includes a data analysis tool, wherein: The data transmission system is used to establish a wireless communication connection between the IVI navigation system and the electronic device through the UDP protocol based on a target local area network formed by connecting the IVI navigation system and the electronic device to a target router respectively; the electronic device being configured to send a data request to the IVI navigation system via the wireless communication connection; The IVI navigation system is used to receive the data request and send the data request to the T-box; The IVI navigation system is configured to receive target data sent by the T-box in response to the data request, wherein the target data is sent to the T-box by the GNSS; The IVI navigation system is used to send the target data to the electronic device via the wireless connection; The electronic device is used to process the target data; The IVI navigation system is used to disconnect the wireless connection with the electronic device when it is determined that the electronic device has received a disconnection instruction, wherein the situation where the electronic device receives the disconnection instruction includes that the IVI navigation system detects that the data analysis tool stops working or detects that the data analysis tool receives a stop working instruction through the wireless connection established with the electronic device.
8. A vehicle, characterized in that: include: one or more processors; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Internet of vehicles information interaction system and vehicle
CN214381416U