Mobile-vehicle interconnection cross-network communication method, and assembly, system and storage medium
By monitoring and decoding multicast requests, the cross-network communication method solves the problems of medium and high latency and instability of vehicle-machine interconnection, and realizes low-latency and stable communication between different local area networks, enhancing the user experience.
Patent Information
- Application Number
- PCT/CN2024/143249
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-30
- Filing Date
- 2024-12-27
- Publication Date
- 2025-08-07
AI Technical Summary
In the prior art, the vehicle-machine interconnection solution has the problem of high latency and unstable, especially when the multi-host system and the mobile phone are not on the same local area network, low latency and stable communication cannot be achieved.
By monitoring and decoding the multicast requests of mobile devices, a mapping relationship is formed, data is forwarded between different local area networks, and cross-network communication is realized, including assembling discovery request data and secure communication through encrypted data transmission module.
Low latency and stable communication between mobile devices and vehicle-machine systems that are not on the same LAN provide more flexibility and convenience.
Smart Images

Figure CN2024143249_07082025_PF_FP_ABST
Abstract
Description
A method, component, system and storage medium for vehicle-machine interconnection and cross-network communication
[0001] The application claims priority of the Chinese patent application filed with the State Intellectual Property Office on January 30, 2024, with application number 202410122873.3 and application name “A method, component, system and storage medium for vehicle-machine interconnection and cross-network communication”, the entire contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the technical field of vehicle-machine interconnection network communication, and in particular to a method, component, system and storage medium for vehicle-machine interconnection cross-network communication. Background Art
[0003] Car-to-machine connectivity refers to connecting and interconnecting a vehicle's entertainment or navigation system with a mobile phone or other smart device to achieve more functionality and interactivity. Through car-to-machine connectivity, drivers can use applications, navigation services, music, and other functions on their mobile phone, display them on the vehicle's screen, and play them through the vehicle's audio system.
[0004] Typically, vehicle-to-machine connectivity can be achieved using a variety of communication technologies, such as Bluetooth, Wi-Fi, USB connections, or internet connections. However, with the development of hypervisor-based cockpit technology, multiple host systems have emerged. This means that multiple host systems exist within the vehicle-to-machine interface. These systems and the mobile phone are often not on the same local area network, making it impossible for the mobile phone to interact with multiple host systems simultaneously.
[0005] Currently, some existing technologies enable communication between mobile phones and vehicle systems through cloud services or intermediary servers. The mobile phone can establish a connection with the cloud server or intermediary server, which in turn communicates with multiple host systems within the vehicle system. This allows the mobile phone to interact and control multiple host systems through the cloud server or intermediary server. However, this solution may introduce latency or rely on an internet connection, making it unstable when unavailable and unsuitable for interactions requiring high real-time performance.
[0006] Therefore, the current existing technology still lacks a low-latency and stable solution for multi-vehicle interconnection. Summary of the Invention
[0007] To address the technical issues of high latency and instability in existing vehicle-to-machine interconnection solutions described in the background art, this application provides a method, component, system, and storage medium for cross-network communication between vehicles and machines. This application overcomes the limitations of local area networks (LANs), enabling mobile devices to connect to vehicle-to-machine systems that are not on the same LAN, thus enabling communication between devices on different LANs.
[0008] In a first aspect, the present application provides a method for inter-network communication between a vehicle and a mobile device that is not on the same local area network, the method comprising:
[0009] monitoring and decoding a multicast request within the first local area network sent by a mobile device;
[0010] Assembling the decoded data information of the multicast request into discovery request data that can be transmitted in the second local area network, and recording the original data of the multicast request and the discovery request data to form a mapping relationship;
[0011] Sending the discovery request data to a vehicle system connected to the second local area network through the second local area network, and waiting for a response from the vehicle system;
[0012] Receiving and processing the response information of the vehicle system;
[0013] According to the mapping relationship, the response information is sent to the mobile device via the first local area network to complete the communication between the mobile device and the vehicle system in a different local area network.
[0014] In some preferred embodiments, monitoring and decoding a multicast request sent by a mobile device within the first local area network includes:
[0015] monitoring a multicast request within the first local area network sent by a mobile device;
[0016] The multicast request is decoded according to a discovery protocol type of the multicast request.
[0017] In some preferred embodiments, recording the original data of the multicast request and the discovery request data to form a mapping relationship includes:
[0018] Storing the original data of the multicast request and the discovery request data;
[0019] Determining whether the multicast request is an existing request;
[0020] If not, a unique session identifier is created to identify the discovery request data of this time to form a mapping relationship.
[0021] In some preferred embodiments, the receiving and processing the response information of the vehicle system includes:
[0022] Receive and decode the response information of the vehicle system;
[0023] The decoded data information of the response message is assembled into response information that can be transmitted within the first local area network.
[0024] In some preferred embodiments, the method further comprises:
[0025] The mobile device communicates with the vehicle system via an encrypted data transmission module.
[0026] In a second aspect, the present application provides a cross-network communication component for executing the vehicle-machine interconnection and cross-network communication method as described in the first aspect through a processor, the component comprising:
[0027] A request information processing module for discovering, decoding and transcoding multicast requests from mobile devices;
[0028] Response information processing module, used to receive, decode and transcode the response information of the vehicle system;
[0029] The discovery manager module is used to store and manage the multicast request and the response information to form a mapping relationship.
[0030] In some preferred embodiments, the request information processing module includes:
[0031] A request protocol receiving module, used to monitor and decode multicast request data sent by mobile devices;
[0032] a first protocol converter, configured to convert the decoded multicast request into discovery request data that can be transmitted within the second local area network;
[0033] The request protocol sending module is used to send the discovery request data to the vehicle system through the second local area network.
[0034] In some preferred embodiments, the cross-network communication component further includes a first data transmission module for encrypted communication, and the first data transmission module is arranged between the first protocol converter and the request protocol sending module.
[0035] In some preferred embodiments, the response information processing module includes:
[0036] Response protocol receiving module, used to receive and analyze the response information of the vehicle system;
[0037] a second protocol converter, configured to convert the decoded response information into response information data that can be transmitted within the first local area network;
[0038] The response protocol sending module is used to send the response request data to the mobile device through the first local area network.
[0039] In some preferred embodiments, the cross-network communication component further includes a second data transmission module for encrypted communication, and the second data transmission module is arranged between the second protocol converter and the response protocol receiving module.
[0040] In a third aspect, the present application provides an automobile system capable of cross-network communication, comprising:
[0041] Vehicle system, setting processor; and
[0042] The cross-network communication component as described in the second aspect;
[0043] The vehicle system is connected to the response interface of the cross-network communication component through a second local area network; the processor executes the vehicle-machine interconnection and cross-network communication method as described in the first aspect through the cross-network communication component to enable the mobile device to be connected to the vehicle system for cross-network communication.
[0044] In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for vehicle-machine interconnection and cross-network communication as described in the first aspect is implemented.
[0045] The beneficial effects are:
[0046] This application uses cross-network communication to achieve a connection between a mobile phone and a vehicle system that is not on the same local area network. By monitoring and decoding the discovery request sent by a mobile device in the first local area network, and forwarding the discovery request to the vehicle system through the second local area network; at the same time, receiving the response from the vehicle system, and forwarding the response to the mobile device through the first local area network according to the mapping relationship. This application overcomes the limitations of the local area network and enables mobile devices and vehicle systems that are not on the same local area network to discover and establish communication with each other with low latency and stability, providing users with more flexibility and convenience. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] FIG1 shows a first implementation flowchart of a method for vehicle-machine interconnection and cross-network communication provided by an embodiment of the present application.
[0048] FIG2 shows a second implementation flowchart of a method for vehicle-machine interconnection and cross-network communication provided by an embodiment of the present application.
[0049] FIG3 shows a schematic structural diagram of a cross-network communication component provided in an embodiment of the present application.
[0050] FIG4 shows a schematic structural diagram of a cross-network communication component provided by another embodiment of the present application.
[0051] FIG5 shows a schematic structural diagram of an automobile system capable of cross-network communication provided by an embodiment of the present application.
[0052] Among them: d-inter-network communication component, 10-request information processing module, 11-request protocol receiving module, 12-first protocol converter, 13-request protocol sending module, 14-first data transmission module; 20-discovery manager module; 30-response information processing module, 31-response protocol receiving module, 32-second protocol converter, 33-response protocol sending module, 34-second data transmission module;
[0053] a-Automotive system capable of cross-network communication, b-In-vehicle system, c-Processor. Modes for Carrying Out the Invention
[0054] The preferred embodiments of the present application are described in detail below in conjunction with the accompanying drawings to make the advantages and features of the present application easier to understand for those skilled in the art, thereby making a clearer definition of the scope of protection of the present application.
[0055] Please refer to the drawings, in which the same component symbols represent the same components. The principles of this application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of this application and should not be considered as limiting other specific embodiments of this application that are not described in detail herein.
[0056] As used herein, the term "module" may refer to a software or hardware object executed on the computing system. The various components, modules, engines, and services described herein may be implemented on the computing system. The devices and methods described herein may be implemented in software or hardware, and are all within the scope of this application.
[0057] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0058] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "installed," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections, electrical connections, or mutual communication; they can refer to direct connections or indirect connections through an intermediate medium; they can refer to internal communication between two components or the interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on specific circumstances.
[0059] Example 1
[0060] Please refer to Figure 1, which shows a first implementation flow chart of a method for inter-network communication between a vehicle and a mobile device that is not on the same local area network. The method is used to establish an inter-network communication connection between a vehicle and a mobile device that is not on the same local area network. The steps include:
[0061] Step 101: Monitor and decode a multicast request sent by a mobile device within a first local area network.
[0062] Step 102: Assemble the decoded multicast request data information into discovery request data that can be transmitted in the second local area network, and record the original data of the multicast request and the discovery request data to form a mapping relationship.
[0063] Step 103: Send the discovery request data to the vehicle system connected to the second local area network through the second local area network, and wait for a response from the vehicle system.
[0064] Step 104: Receive and process the response information from the vehicle system.
[0065] Step 105: Send the response information to the mobile device through the first local area network according to the mapping relationship, so as to complete the communication between the mobile device and the vehicle system in the different local area network.
[0066] In step 101, the processor monitors a multicast request in a first local area network sent from a mobile device through a cross-network communication component, and decodes the multicast request according to various discovery protocols supported by the multicast request.
[0067] In this embodiment, the supported discovery protocols may include commonly used standard discovery protocols, such as mDns, ssdp, etc., or they may be discovery protocols defined by each project itself, for example, through the external plug-in mDnsRecv, or ssdpRecv, or privateDsvDpRecv to realize the reception of data of different protocol types.
[0068] In this embodiment, the mobile device may be a mobile phone, a pocket computer, or a tablet computer.
[0069] In step 102, the processor assembles the decoded multicast request data information into discovery request data that can be transmitted within the second local area network through the cross-network communication component, and stores the original data and discovery request data of the multicast request to determine whether the multicast request is an existing request; if the current multicast request is not an existing request, it is necessary to establish a unique session identifier to identify the current discovery request data to form a mapping relationship, the purpose of which is to uniquely match the subsequent response message of the vehicle system with the multicast request to prevent information confusion.
[0070] In step 103, the processor sends the processed discovery request data to the vehicle-mounted system via the second local area network and waits for a response from the vehicle-mounted system. Because the vehicle-mounted system and the mobile device are not on the same local area network, cross-network communication requires sending the discovery request data to the vehicle-mounted system via the second local area network to establish a link.
[0071] In step 104, when the vehicle system has feedback response information, the processor receives the response information and decodes it according to its protocol. After assembling the data information of the decoded response message into response information that can be transmitted within the first local area network, step 105 is performed, that is, according to the unique identifier, the response information and the multicast request are mapped, and finally the response information is sent to the mobile device through the first local area network, thereby completing the communication between the mobile device and the vehicle system in different local area networks.
[0072] Please refer to Figure 2, which shows a second implementation flow chart of a method for vehicle-machine interconnection and cross-network communication provided by an embodiment of the present application. Similarly, if the vehicle-machine system needs to actively establish communication with a mobile device, it can also communicate with the mobile device across networks by performing the reverse operation of steps 101 to 105, that is, performing the following steps:
[0073] Step 201: monitor and decode the multicast request sent by the vehicle system in the second local area network.
[0074] Step 202: Assemble the decoded multicast request data information into discovery request data that can be transmitted in the first local area network, and record the original data of the multicast request and the discovery request data to form a mapping relationship.
[0075] Step 203: Send the discovery request data to a mobile device connected to the first local area network through the first local area network, and wait for a response from the mobile device.
[0076] Step 204: Receive and process the response information from the mobile device.
[0077] Step 205: According to the mapping relationship, the response information of the mobile device is sent to the vehicle system through the second local area network to complete the reverse communication between the mobile device and the vehicle system in a different local area network.
[0078] In this embodiment, in order to ensure the security of network communication between the mobile device and the vehicle system, communication can also be performed through an encrypted data transmission module.
[0079] The embodiments of the present application overcome the limitations of the local area network, enabling mobile devices and vehicle-mounted systems that are not in the same local area network to discover and establish communication with each other in a low-latency and stable manner, providing users with more flexibility and convenience.
[0080] Example 2
[0081] Please refer to Figure 3, which shows a schematic diagram of the structure of a cross-network communication component c provided in an embodiment of the present application. This component is used to execute the vehicle-machine interconnection and cross-network communication method described in the previous embodiment through a processor. This component includes a request information processing module 10, a discovery manager module 20, and a response information processing module 30.
[0082] The request information processing module 10 is primarily responsible for discovering, decoding, and transcoding multicast requests from mobile devices. The response information processing module 30 is primarily responsible for receiving, decoding, and transcoding responses from the vehicle-mounted system. The discovery manager module 20 is primarily responsible for storing and managing multicast requests and responses, mapping them to each other.
[0083] As shown in FIG. 4 , in this embodiment, the request information processing module 10 may further include a request protocol receiving module 11 , a first protocol converter 12 , and a request protocol sending module 13 .
[0084] The request protocol receiving module 11 is mainly used to monitor and decode multicast request data sent by mobile devices. The multicast request can be a commonly used standard discovery protocol, such as mDns, ssdp, etc., or it can be a discovery protocol defined by each project. Usually, the request is a UDP multicast or broadcast request. This module will plug in different protocol discovery implementation components to receive different discovery protocol request data. Currently, three modules, mDnsRecv, ssdpRecv, and privateDsvDpRecv, can be plugged in to implement the reception of data of different protocol types. After receiving the discovery request in the local area network, the module will parse the key information related to device identification in the protocol, such as IP address, device name, and MAC address, so that the first protocol converter 12 below can convert the discovery request of the mobile device.
[0085] The first protocol converter 12 is mainly used to convert the decoded multicast request into discovery request data that can be transmitted within the second local area network. After receiving the multicast request from the request protocol receiving module 11, the first protocol converter 12 needs to convert the multicast request content into a discovery request of this cross-network communication component. Its specific operations are as follows, for example, converting the IP address, device name, MAC address and other device identifiers received from the mobile device into a response representation in this cross-network communication component. Since the definitions of the identification fields in different protocols are different, the first protocol converter 12 will not define them specifically, but will adapt them specifically according to the specific protocol module used.
[0086] The request protocol sending module 13 is primarily used to send discovery request data to the vehicle-mounted system via the second local area network. The request protocol sending module 13 receives the data transmission from the first protocol converter 12 and sends it to the second local area network based on the broadcast or multicast protocol used by the specific protocol, for the corresponding vehicle-mounted system in the second local area network to respond to the request.
[0087] In this embodiment, the request information processing module 10 may further include a first data transmission module 14, which is disposed between the first protocol converter 12 and the request protocol sending module 13. The first data transmission module 14 is primarily used for encrypted communication. The first protocol converter 12 may choose to transmit data directly to the request protocol sending module 13, or may choose to transmit the data first through the first data transmission module 14 before transmitting the data to the request protocol sending module 13.
[0088] In this embodiment, the response information processing module 30 may include a response protocol receiving module 31 , a second protocol converter 32 , and a response protocol sending module 33 .
[0089] The response protocol receiving module 31 is primarily used to receive and parse the response information from the vehicle-mounted system. The response protocol receiving module 31 receives the request response information from the vehicle-mounted system via the second local area network and parses the key information related to the vehicle-mounted system identification in the protocol, such as the IP address, device name, and MAC address, for conversion by the second protocol converter 32.
[0090] The function of the second protocol converter 32 is the same as that of the first protocol converter 12, and is mainly used to convert the decoded response information into response information data that can be transmitted within the first local area network.
[0091] The response protocol sending module 33 is mainly used to send the response request data to the mobile device through the first local area network. The response protocol sending module 33 receives the response information transmitted by the second protocol converter 32 and replies to the mobile device through the first local area network based on the broadcast or multicast protocol used by the specific protocol.
[0092] In this embodiment, the cross-network communication component c further includes a second data transmission module 34 for encrypted communication. The second data transmission module 34 is disposed between the second protocol converter 32 and the response protocol receiving module 31 .
[0093] In this embodiment, the discovery manager module 20 mainly includes the following functions:
[0094] The original request data and the converted data are saved in pairs; the original response data and the converted response data are saved; the discovery protocol type used for this request is saved; whether the new request is an existing request is mainly determined by whether the reqIp / reqName / reqMac / type value matches the saved data; a unique sessionid is established to identify this discovery request; the device uniqueness data is recorded, including the reqIp, original device name reqName, original device reqMAC, and original port reqPort of the original requesting device, and this data is saved when the request is passed in; the respIp, device name respName, device respMAC, and response port respPort of the responding device are saved, and this data is saved after there is device response data; record whether the local sending type is encrypted or unencrypted, and the sending type is determined by each specific project according to actual conditions; return data records for use by the first protocol converter 12 or the second protocol converter 32.
[0095] Through the above structural connection, the working principle of the embodiment of the present application can be:
[0096] The request protocol receiving module 11 monitors and decodes the multicast request data sent by the mobile device in the first local area network, the first protocol converter 12 converts the decoded multicast request into discovery request data that can be transmitted in the second local area network, and the request protocol sending module 13 sends the discovery request data to the vehicle system through the second local area network.
[0097] The response protocol receiving module 31 receives and parses the response information of the vehicle system, the second protocol converter 32 converts the decoded response information into response information data that can be transmitted within the first local area network, and the response protocol sending module 33 sends the response request data to the mobile device through the first local area network. At this point, the mobile device in the first local area network can receive the discovery response from the vehicle system in the second local area network, and the cross-network discovery process is established.
[0098] It is worth noting that the above process can be reversed, that is, the vehicle system can also actively send out multicast requests, and the mobile device can also respond according to the multicast requests sent by the vehicle system.
[0099] Example 3
[0100] 5 , an embodiment of the present application provides an automobile system a capable of cross-network communication, including a vehicle system b and a cross-network communication component c as described in Example 2. The vehicle system a is provided with a processor and is located in a local area network different from that of the mobile device.
[0101] The vehicle system a is connected to the response interface of the cross-network communication component c via the second local area network. The processor executes the vehicle-machine interconnection and cross-network communication method described in Example 1 through the cross-network communication component c to connect the mobile device to the vehicle system a via cross-network communication.
[0102] Example 4
[0103] An embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for vehicle-machine interconnection and cross-network communication as described in the first embodiment or the second embodiment is implemented.
[0104] The above describes the implementation methods of the present application in detail in conjunction with the accompanying drawings, but the present application is not limited to the above implementation methods. Various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present application.
Claims
1. A method for cross-network communication between a vehicle and a computer system, for cross-network communication between a vehicle and a mobile device that is not on the same local area network, wherein: The method comprises: monitoring and decoding a multicast request within the first local area network sent by a mobile device; Assembling the decoded data information of the multicast request into discovery request data that can be transmitted in the second local area network, and recording the original data of the multicast request and the discovery request data to form a mapping relationship; Sending the discovery request data to a vehicle system connected to the second local area network through the second local area network, and waiting for a response from the vehicle system; Receiving and processing the response information of the vehicle system; According to the mapping relationship, the response information is sent to the mobile device via the first local area network to complete the communication between the mobile device and the vehicle system in a different local area network.
2. The method for vehicle-machine interconnection and cross-network communication according to claim 1, wherein: The monitoring and decoding of a multicast request sent by a mobile device within the first local area network includes: monitoring a multicast request within the first local area network sent by a mobile device; The multicast request is decoded according to a discovery protocol type of the multicast request.
3. The method for inter-vehicle communication according to claim 1, wherein: The recording of the original data of the multicast request and the discovery request data to form a mapping relationship includes: Storing the original data of the multicast request and the discovery request data; Determining whether the multicast request is an existing request; If not, a unique session identifier is created to identify the discovery request data of this time to form a mapping relationship.
4. The method for inter-vehicle communication according to claim 1, wherein: The receiving and processing the response information of the vehicle system includes: Receive and decode the response information of the vehicle system; The decoded data information of the response message is assembled into response information that can be transmitted within the first local area network.
5. The method for inter-vehicle communication according to claim 1, wherein: The method further comprises: The mobile device communicates with the vehicle system via an encrypted data transmission module.
6. A cross-network communication component, wherein: The component is configured to execute, by a processor, the method for vehicle-machine interconnection and cross-network communication according to any one of claims 1 to 5, comprising: A request information processing module for discovering, decoding and transcoding multicast requests from mobile devices; Response information processing module, used to receive, decode and transcode the response information of the vehicle system; The discovery manager module is used to store and manage the multicast request and the response information to form a mapping relationship.
7. The cross-network communication component according to claim 6, wherein: The request information processing module includes: A request protocol receiving module, used to monitor and decode multicast request data sent by mobile devices; a first protocol converter, configured to convert the decoded multicast request into discovery request data that can be transmitted within the second local area network; The request protocol sending module is used to send the discovery request data to the vehicle system through the second local area network.
8. The cross-network communication component according to claim 7, wherein: The cross-network communication component also includes a first data transmission module for encrypted communication, and the first data transmission module is arranged between the first protocol converter and the request protocol sending module.
9. The cross-network communication component according to claim 6, wherein: The response information processing module includes: Response protocol receiving module, used to receive and analyze the response information of the vehicle system; a second protocol converter, configured to convert the decoded response information into response information data that can be transmitted within the first local area network; The response protocol sending module is used to send the response request data to the mobile device through the first local area network.
10. The cross-network communication component according to claim 9, wherein: The cross-network communication component also includes a second data transmission module for encrypted communication, and the second data transmission module is arranged between the second protocol converter and the response protocol receiving module.
11. An automobile system capable of communicating across networks, wherein: include: A vehicle computer system, including a processor; as well as The cross-network communication component according to any one of claims 6 to 10; The vehicle system is connected to the response interface of the cross-network communication component through a second local area network; the processor executes the vehicle-machine interconnection and cross-network communication method as described in any one of claims 1 to 5 through the cross-network communication component to enable the mobile device to be connected to the vehicle system for cross-network communication.
12. A storage medium, wherein: The storage medium stores a computer program, which, when executed by a processor, implements the method for vehicle-machine interconnection and cross-network communication according to any one of claims 1 to 5.
Citation Information
Patent Citations
Communication method and device between terminals in LAN
CN101267378A
Method for realizing multicast spanning virtual local area networks based on optical network unit
CN101594243A
Screen projection method and system in different local area networks and intelligent device
CN110830841A
Vehicle-machine interconnection cross-network communication method, assembly, system and storage medium
CN118301174A
Apparatus for vehicle internetworks
US7484008B1