Vehicle cloud communication method and system

By using a long connection protocol gateway as a data transmission transfer station in vehicle cloud communication, the problem of unstable data transmission of key data in autonomous driving vehicles is solved, and data transmission with stable and low latency is achieved, which simplifies equipment maintenance and transformation costs.

CN119211269APending Publication Date: 2024-12-27HAOMO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310711158.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-15
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In autonomous driving technology, the key data recorded by vehicles are complex and diverse in form. If the vehicle cloud communication link fails, it cannot be transmitted stably to the cloud server, resulting in unstable data transmission.

Method used

Use the long-connection protocol gateway as the data transmission transfer station, and use the long-connection protocol to receive data acquisition requests from the cloud server, forward them to the vehicle, and send vehicle data to the cloud server, providing a data transmission link with strong stability and low latency , reduces the additional overhead of creating and disconnecting.

Benefits of technology

It improves the stability of vehicle cloud communication and the reliability of data transmission, reduces the probability of connection interruption during data transmission, simplifies equipment maintenance and performance optimization, reduces transformation costs, and adapts to changes in data structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211269A_ABST
    Figure CN119211269A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a vehicle cloud communication method and system which are applied to a long connection protocol gateway, and the long connection protocol gateway receives a data acquisition request sent by a cloud server through a long connection protocol and forwards the data acquisition request to a vehicle. A vehicle can send vehicle data to a long connection protocol gateway by using a long connection protocol according to a data acquisition request, and the long connection protocol gateway sends the received vehicle data to a cloud server by using the long connection protocol. That is to say, the long connection protocol gateway is used as a transfer station for data transmission between the vehicle and the cloud server, the long connection protocol gateway can provide a data transmission link with high stability and low time delay, and the vehicle and the long connection protocol gateway as well as the cloud server and the long connection protocol gateway are connected through a long connection protocol. The stability of data transmission can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle-to-cloud communications, and in particular to a vehicle-to-cloud communications method and system. Background Art

[0002] Autonomous driving technology is one of the current hot research projects. One of the more important technologies in autonomous driving technology is vehicle-to-cloud communication technology. Vehicle-to-cloud communication technology is mainly used in autonomous driving vehicles. In order to track the status of autonomous driving vehicles and analyze various event information that occurs during autonomous driving, autonomous driving vehicles need to transmit some recorded key data to cloud servers. Cloud servers can issue certain instructions to autonomous driving vehicles based on key data. In other words, vehicle-to-cloud communication technology is a technology that provides a communication link between vehicles and cloud servers.

[0003] However, in practical applications, the key data recorded by vehicles has a complex structure and various forms. If the link of the vehicle-to-cloud communication fails, the key data recorded by these vehicles cannot be transmitted to the cloud server. Therefore, a vehicle-to-cloud communication method that can provide stable data transmission is urgently needed. Summary of the invention

[0004] The embodiments of the present application provide a vehicle-cloud communication method and system, which can provide a stable data transmission link and improve the stability of vehicle-cloud communication.

[0005] The embodiment of the present application provides a vehicle-cloud communication method, which is applied to a persistent connection protocol gateway, wherein the persistent connection protocol gateway corresponds to at least one vehicle and at least one cloud server, and the method includes:

[0006] The persistent connection protocol gateway receives a data acquisition request sent by a cloud server using a persistent connection protocol;

[0007] The long connection protocol gateway forwards the data acquisition request to the vehicle using the long connection protocol;

[0008] The long connection protocol gateway receives the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol;

[0009] The long connection gateway sends the vehicle data to the cloud server using the long connection protocol.

[0010] Optionally, the cloud server and the vehicle both have a subscription sub interface and a publishing pub interface;

[0011] The long connection protocol gateway receives the data acquisition request sent by the cloud server using the long connection protocol, including:

[0012] The long connection protocol gateway receives a data acquisition request sent by a sub interface of a cloud server;

[0013] The long connection protocol gateway receives the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol, including:

[0014] The long connection protocol gateway receives vehicle data sent by the vehicle pub interface.

[0015] Optionally, the data acquisition request carries information on the data format;

[0016] The long connection protocol gateway receives the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol, including:

[0017] The long connection protocol gateway receives the vehicle data sent by the vehicle, and the data format of the vehicle data is the same as the data format in the data acquisition request.

[0018] Optionally, the data format includes at least: protobuf type, json type, bson type and string type.

[0019] Optionally, before the persistent connection protocol gateway forwards the data acquisition request to the vehicle using the persistent connection protocol, the method further includes:

[0020] A long connection between the long connection protocol gateway and the vehicle is established using a long connection protocol.

[0021] Optionally, before the persistent connection protocol gateway forwards the data acquisition request to the vehicle using the persistent connection protocol, the method further includes:

[0022] The vehicle is verified, and after passing the verification, the subsequent steps are continued.

[0023] Optionally, the long connection protocol is the Web Socket protocol.

[0024] Optionally, the vehicle data at least includes:

[0025] The vehicle’s sensor data and autonomous driving data.

[0026] Optionally, the vehicle data is data encrypted using the Transport Layer Security (TLS) protocol.

[0027] An embodiment of the present application provides a vehicle-cloud communication system, the system comprising: a long connection protocol gateway, the long connection protocol gateway corresponding to at least one vehicle and at least one cloud server;

[0028] The long connection protocol gateway is used to receive a data acquisition request sent by a cloud server using a long connection protocol;

[0029] The long connection protocol gateway is used to forward the data acquisition request to the vehicle using the long connection protocol;

[0030] The long connection protocol gateway is used to receive the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol;

[0031] The long connection gateway is used to send the vehicle data to the cloud server using the long connection protocol.

[0032] The embodiment of the present application provides a vehicle-cloud communication method, which is applied to a long connection protocol gateway. The long connection protocol gateway uses a long connection protocol to receive a data acquisition request sent by a cloud server and forwards the data acquisition request to the vehicle. The vehicle can use the long connection protocol to send vehicle data to the long connection protocol gateway according to the data acquisition request, and the long connection protocol gateway sends the received vehicle data to the cloud server using the long connection protocol. That is to say, the vehicle-cloud communication method provided in the embodiment of the present application uses a long connection protocol gateway as a transfer station for data transmission between the vehicle and the cloud server. The long connection protocol gateway can provide a data transmission link with strong stability and low latency, and the vehicle and the long connection protocol gateway, the cloud server and the long connection protocol gateway are connected using the long connection protocol, which can improve the stability of data transmission. Compared with creating multiple vehicle-cloud communication connections for data transmission, the use of the stable long connection protocol provided by the long connection protocol gateway to transmit data can reduce the additional overhead of creating and disconnecting connections. In addition, the use of a unified long connection protocol gateway and a long connection protocol is convenient for later equipment maintenance and performance optimization, and the modification of the vehicle-cloud communication is small, which can reduce the modification cost. Even if the data structure changes later, it will not affect the vehicle-cloud communication, and the long connection protocol gateway can still be used to forward data. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 A flow chart of a vehicle-to-cloud communication method provided in an embodiment of the present application;

[0035] Figure 2 A communication schematic diagram of a vehicle-to-cloud communication method provided in an embodiment of the present application;

[0036] Figure 3 A structural block diagram of a vehicle-to-cloud communication system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] 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.

[0038] In practical applications, the key data recorded by autonomous vehicles has complex structures and various forms. If the vehicle-to-cloud communication link fails, the key data recorded by these vehicles cannot be transmitted to the cloud server. Therefore, a vehicle-to-cloud communication method that can provide stable data transmission is urgently needed.

[0039] Based on this, an embodiment of the present application provides a vehicle-cloud communication method, which is applied to a long connection protocol gateway. The long connection protocol gateway uses a long connection protocol to receive a data acquisition request sent by a cloud server and forwards the data acquisition request to the vehicle. The vehicle can use the long connection protocol to send vehicle data to the long connection protocol gateway according to the data acquisition request, and the long connection protocol gateway sends the received vehicle data to the cloud server using the long connection protocol. That is to say, the vehicle-cloud communication method provided in the embodiment of the present application uses a long connection protocol gateway as a transfer station for data transmission between the vehicle and the cloud server. The long connection protocol gateway can provide a data transmission link with strong stability and low latency, and the vehicle and the long connection protocol gateway, the cloud server and the long connection protocol gateway are connected using the long connection protocol, which can improve the stability of data transmission. Compared with creating multiple vehicle-cloud communication connections for data transmission, using a stable long connection protocol to transmit data can reduce the additional overhead of creating and disconnecting connections.

[0040] In order to better understand the technical solution and technical effects of the present application, specific embodiments will be described in detail below with reference to the accompanying drawings.

[0041] See also Figure 1, this figure is a flow chart of a vehicle-cloud communication method provided in an embodiment of the present application. The vehicle-cloud communication method provided in an embodiment of the present application can be applied to a long connection protocol gateway, a vehicle establishes a connection with the long connection protocol gateway, and a cloud server establishes a connection with the long connection protocol gateway. The long connection protocol gateway can correspond to at least one vehicle and at least one cloud server, that is, the long connection protocol gateway can serve as a data transmission transfer station between any one of multiple vehicles and any one of multiple cloud servers. The vehicle can be an autonomous driving vehicle, and the number of cloud servers can be one or more.

[0042] The vehicle-to-cloud communication method provided in this embodiment includes the following steps:

[0043] S101, the persistent connection protocol gateway receives a data acquisition request sent by a cloud server using a persistent connection protocol.

[0044] In an embodiment of the present application, the long connection protocol gateway can serve as a transfer station for data transmission between the vehicle and the cloud server. As a transfer station, the long connection protocol gateway can provide a data transmission link with strong stability and low latency. The long connection protocol gateway can use the long connection protocol to receive data acquisition requests sent by the cloud server. The long connection protocol gateway can pre-establish a long connection with the cloud server using the long connection protocol. The long connection protocol can be a Web Socket protocol, and two-way authentication can be performed when establishing a long connection. The long connection protocol can improve the stability of data transmission and reduce the probability of disconnection during data transmission.

[0045] S102, the long connection protocol gateway forwards the data acquisition request to the vehicle using the long connection protocol.

[0046] In an embodiment of the present application, the long connection protocol gateway uses the long connection protocol to send the data acquisition request to the vehicle so that the vehicle is aware of the data acquisition request of the cloud server. Before forwarding the data acquisition request, the long connection protocol can be used to pre-establish a long connection between the vehicle and the long connection protocol gateway.

[0047] In practical applications, before establishing a long connection between a vehicle and a long connection protocol gateway, the vehicle can also be verified. The purpose of verifying the vehicle is to verify whether the vehicle can establish a connection with the long connection protocol gateway for data transmission, to ensure that illegal vehicles do not connect to the long connection protocol gateway to transmit data. Only after the verification is passed, a long connection between the vehicle and the long connection protocol gateway is established. The specific verification method can be to verify the vehicle's connection password or to verify the vehicle's unique identification. These two methods can be used to verify whether the vehicle has the authority to connect to the long connection protocol gateway.

[0048] In the embodiment of the present application, the vehicle and the cloud server can configure the communication address of the long connection protocol gateway, and use the communication address and communication link to realize communication transmission. As a data transfer station, the long connection protocol gateway can distinguish the two connection identities of the cloud server and the vehicle, record the connection, and forward the data to the corresponding identity.

[0049] S103, the long connection protocol gateway uses the long connection protocol to receive the vehicle data sent by the vehicle according to the data acquisition request.

[0050] In an embodiment of the present application, a long connection protocol gateway can use a long connection protocol to receive vehicle data sent by a vehicle, and the vehicle data can be sent according to a data acquisition request. The vehicle data can include at least: sensor data and autonomous driving data of the vehicle. When using the long connection protocol for data transmission, a data packet can be used as a transmission unit. The vehicle data can be data encrypted using the secure transport layer protocol TLS to improve the security of the vehicle data during transmission.

[0051] S104, the long connection gateway sends the vehicle data to the cloud server using the long connection protocol.

[0052] In an embodiment of the present application, after the long connection protocol gateway receives the vehicle data, it continues to send the vehicle data to the cloud server using the long connection protocol so that the cloud server obtains the vehicle data corresponding to the data acquisition request.

[0053] In actual applications, when vehicles communicate with cloud servers, a subscription sub / pub model can be used, that is, both cloud servers and vehicles can have a subscription sub interface and a publication pub interface. At this time, the cloud server can obtain the vehicle data it wants through the sub interface, and the vehicle can send the vehicle data through the pub interface, and the vehicle data can be sent when the cloud server subscribes to the sub, which can save communication bandwidth. When multiple cloud servers sub the same vehicle data, the vehicle can send the vehicle data only once, and multiple cloud servers can obtain the corresponding vehicle data. There is no need for the vehicle to send multiple vehicle data to multiple cloud servers, reducing the number of data copies, which can further save communication bandwidth and avoid bandwidth waste.

[0054] That is to say, the long connection protocol gateway can receive the data acquisition request sent by the cloud server sub interface, and then receive the vehicle data sent by the vehicle pub interface, and send the vehicle data to the cloud server sub interface.

[0055] It can be seen that the long connection protocol gateway and long connection protocol provided in the embodiment of the present application can maintain a long connection between the vehicle and the cloud server. The cloud server obtains the vehicle data to obtain the vehicle status information, and the data transmission is more secure. The use of a unified long connection protocol gateway and long connection protocol facilitates later equipment maintenance and performance optimization, and the modification of the vehicle-cloud communication is relatively small, which can reduce the modification cost. Even if the data structure changes later, it will not affect the vehicle-cloud communication. The long connection protocol gateway can still be used to forward data, and the upper-level business only needs to use the sub interface and pub interface to obtain and send vehicle data. There is no need to care about the communication technology details in the vehicle-cloud communication, which realizes the simple access of the vehicle-cloud communication between the vehicle and the cloud server, simplifies the difficulty of business development, and further reduces the modification cost.

[0056] In an embodiment of the present application, the data acquisition request sent by the cloud server also carries information on the data format, so that after the vehicle obtains the data acquisition request, it returns the vehicle data corresponding to the data format, that is, the data format of the vehicle data sent by the vehicle to the long connection protocol gateway is the same as the data format in the data acquisition request. The data formats of vehicle data include at least the following: protobuf type, json type, bson type and string type.

[0057] When the vehicle sends vehicle data to the long connection protocol gateway, the message packet header of the vehicle data can be a data format identifier. After the cloud server receives the vehicle data, the data format of the vehicle data can be determined according to the data format identifier of the message packet header.

[0058] It is also possible that when the vehicle sends vehicle data to the long connection protocol gateway, the vehicle additionally sends a data format definition message of the vehicle data to the long connection protocol gateway, so that after the cloud server receives the data format definition message, it can determine the data format of the vehicle data according to the data format definition message and correctly parse the data format of the vehicle data.

[0059] In practical applications, the long connection protocol can also add a ping / pong keep-alive mechanism, use the ping buffer and pong buffer to achieve continuous data transmission, and improve the rate and efficiency of data transmission.

[0060] In an embodiment of the present application, the cloud server may be other business terminals, and the other business terminals may obtain autonomous driving vehicle data for processing in order to perform other businesses.

[0061] refer to Figure 2 Shown is a communication schematic diagram of a vehicle-to-cloud communication method provided in an embodiment of the present application.

[0062] S201, sending a data acquisition request.

[0063] In an embodiment of the present application, first, the cloud server uses a pre-established long connection to send a data acquisition request to a long connection protocol gateway to obtain vehicle data, especially vehicle data of an autonomous driving vehicle.

[0064] S202, forwarding a data acquisition request.

[0065] In an embodiment of the present application, after the persistent connection protocol gateway receives the data acquisition request sent by the cloud server, the request is forwarded to the vehicle so that the vehicle knows that the cloud server wants to obtain vehicle data. Specifically, if the pub / sub model is adopted, the data acquisition request is a data subscription request from the cloud server, and after receiving the data subscription request, the vehicle sends the vehicle data corresponding to the data subscription request.

[0066] S203, sending vehicle data.

[0067] In an embodiment of the present application, after receiving a data acquisition request, the vehicle sends the generated vehicle data to the persistent connection protocol gateway. As mentioned above, if the pub / sub model is adopted, after receiving a data subscription request, the vehicle uses the pub interface to send the vehicle data corresponding to the data subscription request.

[0068] S204, forwarding vehicle data.

[0069] In an embodiment of the present application, after the long connection protocol gateway receives the vehicle data sent by the vehicle, it forwards the vehicle data to the cloud server.

[0070] It can be seen that the embodiment of the present application provides a vehicle-cloud communication method, which is applied to a long connection protocol gateway. The long connection protocol gateway uses a long connection protocol to receive a data acquisition request sent by a cloud server and forwards the data acquisition request to the vehicle. The vehicle can use the long connection protocol to send vehicle data to the long connection protocol gateway according to the data acquisition request, and the long connection protocol gateway sends the received vehicle data to the cloud server using the long connection protocol. That is to say, the vehicle-cloud communication method provided in the embodiment of the present application uses a long connection protocol gateway as a transit station for data transmission between the vehicle and the cloud server. The long connection protocol gateway can provide a data transmission link with strong stability and low latency, and the vehicle and the long connection protocol gateway, the cloud server and the long connection protocol gateway are connected using the long connection protocol, which can improve the stability of data transmission. Compared with creating multiple vehicle-cloud communication connections for data transmission, using a stable long connection protocol to transmit data can reduce the additional overhead of creating and disconnecting connections.

[0071] Based on the vehicle-cloud communication method provided in the above embodiment, the embodiment of the present application also provides a vehicle-cloud communication system, and its working principle is described in detail below in conjunction with the accompanying drawings.

[0072] See also Figure 3 , which is a structural block diagram of a vehicle-cloud communication system provided in an embodiment of the present application.

[0073] The vehicle-to-cloud communication system 300 provided in this embodiment includes: a long connection protocol gateway 310;

[0074] The long connection protocol gateway 310 is used to receive a data acquisition request sent by the cloud server 320 using the long connection protocol;

[0075] The long connection protocol gateway 310 is used to forward the data acquisition request to the vehicle 330 using the long connection protocol;

[0076] The long connection protocol gateway 310 is used to receive the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol;

[0077] The long connection gateway 310 is used to send the vehicle data to the cloud server using the long connection protocol.

[0078] Optionally, the cloud server and the vehicle both have a subscription sub interface and a publishing pub interface;

[0079] The long connection protocol gateway 310 is specifically used to receive data acquisition requests sent by the cloud server sub interface, and to receive vehicle data sent by the vehicle pub interface.

[0080] Optionally, the data acquisition request carries information on the data format;

[0081] The long connection protocol gateway 310 is specifically used to receive the vehicle data sent by the vehicle, and the data format of the vehicle data is the same as the data format in the data acquisition request.

[0082] Optionally, the data format includes at least: protobuf type, json type, bson type and string type.

[0083] Optionally, the long connection protocol gateway 310 is specifically used to establish a long connection between the long connection protocol gateway and the vehicle using a long connection protocol.

[0084] Optionally, the system further comprises: a verification module; the verification module is used to verify the vehicle, and after the verification passes, proceed to subsequent steps.

[0085] Optionally, the long connection protocol is the Web Socket protocol.

[0086] Optionally, the vehicle data at least includes:

[0087] The vehicle’s sensor data and autonomous driving data.

[0088] Optionally, the vehicle data is data encrypted using the Transport Layer Security (TLS) protocol.

[0089] The embodiment of the present application provides a vehicle-cloud communication system, including a long connection protocol gateway. The long connection protocol gateway uses a long connection protocol to receive a data acquisition request sent by a cloud server and forwards the data acquisition request to the vehicle. The vehicle can use the long connection protocol to send vehicle data to the long connection protocol gateway according to the data acquisition request, and the long connection protocol gateway sends the received vehicle data to the cloud server using the long connection protocol. That is to say, the vehicle-cloud communication system provided in the embodiment of the present application uses a long connection protocol gateway as a transfer station for data transmission between the vehicle and the cloud server. The long connection protocol gateway can provide a data transmission link with strong stability and low latency, and the vehicle and the long connection protocol gateway, the cloud server and the long connection protocol gateway are connected using the long connection protocol, which can improve the stability of data transmission. Compared with creating multiple vehicle-cloud communication connections for data transmission, using a stable long connection protocol to transmit data can reduce the additional overhead of creating and disconnecting connections.

[0090] When introducing elements of various embodiments of the present application, the articles "a," "an," "the," and "said" are intended to mean that there are one or more elements. The words "comprising," "including," and "having" are all inclusive and mean that there may be additional elements in addition to the listed elements.

[0091] It should be noted that a person skilled in the art can understand that all or part of the processes in the above method embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes in the above method embodiments. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0092] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system 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. The system embodiment described above is merely schematic, and the units and modules described as separate components may or may not be physically separated. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0093] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A vehicle-cloud communication method, characterized in that: Applied to a long connection protocol gateway, the long connection protocol gateway corresponds to at least one vehicle and at least one cloud server, the method includes: The persistent connection protocol gateway receives a data acquisition request sent by a cloud server using a persistent connection protocol; The long connection protocol gateway forwards the data acquisition request to the vehicle using the long connection protocol; The long connection protocol gateway receives the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol; The long connection gateway sends the vehicle data to the cloud server using the long connection protocol.

2. The method according to claim 1, characterized in that The cloud server and the vehicle both have a subscription sub interface and a publishing pub interface; The long connection protocol gateway receives the data acquisition request sent by the cloud server using the long connection protocol, including: The long connection protocol gateway receives a data acquisition request sent by a sub interface of a cloud server; The long connection protocol gateway receives the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol, including: The long connection protocol gateway receives vehicle data sent by the vehicle pub interface.

3. The method according to claim 1, characterized in that The data acquisition request carries information on the data format; The long connection protocol gateway receives the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol, including: The long connection protocol gateway receives the vehicle data sent by the vehicle, and the data format of the vehicle data is the same as the data format in the data acquisition request.

4. The method according to claim 3, characterized in that The data formats include at least: protobuf type, json type, bson type and string type.

5. The method according to claim 1, characterized in that: Before the long connection protocol gateway forwards the data acquisition request to the vehicle using the long connection protocol, the method further includes: A long connection between the long connection protocol gateway and the vehicle is established using a long connection protocol.

6. The method according to claim 5, characterized in that Before the long connection protocol gateway forwards the data acquisition request to the vehicle using the long connection protocol, the method further includes: The vehicle is verified, and after passing the verification, the subsequent steps are continued.

7. The method according to any one of claims 1 to 6, characterized in that: The long connection protocol is the Web Socket protocol.

8. The method according to any one of claims 1 to 6, characterized in that: The vehicle data at least includes: The vehicle’s sensor data and autonomous driving data.

9. The method according to any one of claims 1 to 6, characterized in that: The vehicle data is data encrypted using the Transport Layer Security (TLS) protocol.

10. A vehicle-to-cloud communication system, characterized in that: The system includes: a long connection protocol gateway, the long connection protocol gateway corresponding to at least one vehicle and at least one cloud server; The long connection protocol gateway is used to receive a data acquisition request sent by a cloud server using a long connection protocol; The long connection protocol gateway is used to forward the data acquisition request to the vehicle using the long connection protocol; The long connection protocol gateway is used to receive the vehicle data sent by the vehicle according to the data acquisition request using the long connection protocol; The long connection gateway is used to send the vehicle data to the cloud server using the long connection protocol.