Vehicle data uploading processing method and system, vehicle and storage medium

By introducing the Beidou short message communication module in T-Box and using configuration files, uploading of cellular network, Beidou short message or priority cellular network is realized, which solves the problem of insufficient cellular network coverage and improves the flexibility and flexibility of vehicle data upload. The success rate ensures the availability and user experience of vehicle networking functions.

CN118540343APending Publication Date: 2024-08-23GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410504402.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, the application potential of Beidou short messages in the field of Internet of Vehicles has not been fully realized, and when the cellular network coverage is insufficient, vehicle data upload is limited, and the data upload method cannot be flexibly configured, which affects the user experience.

Method used

By introducing the Beidou short message communication module into the T-Box, the configuration file is used to flexibly configure the data upload method, and support cellular network, Beidou short message or priority cellular network upload, thereby improving the flexibility and success rate of data upload.

Benefits of technology

In an environment without a cellular network, data can still be uploaded through Beidou short messages, which improves the communication capabilities of T-Box products, ensures the availability of vehicle networking functions, and enables rapid and low-cost demand changes through dynamic configuration files, improving the Data upload success rate and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540343A
    Figure CN118540343A
Patent Text Reader

Abstract

The invention discloses a vehicle data uploading processing method, which comprises the following steps that the data type of to-be-uploaded data is acquired, a pre-configured data reporting mode is determined according to the data type, and the data uploading mode is that only a cellular network is adopted for uploading, only a Beidou short message is adopted for uploading or the cellular network is preferentially adopted for uploading; packaging the to-be-uploaded data in a packaging mode adaptive to the data uploading mode of the to-be-uploaded data; and carrying out uploading processing on the packaged data by adopting the data uploading mode. The invention further discloses a corresponding system, a vehicle and a storage medium. According to the invention, cellular network communication and Beidou short message communication are fused, the data uploading mode of the application data is flexibly configured through the configuration file, the flexibility and success rate of data uploading are effectively improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication between a vehicle and a remote server, and in particular to a method, system, vehicle and storage medium for uploading vehicle data for implementing Beidou short message application in a telematics-BOX (T-Box). Background Art

[0002] The communication method between the T-Box product in the vehicle and the telematics service provider (TSP) server is basically a cellular network, such as 4G / 5G communication. The T-Box uploads all the collected vehicle data to the TSP server through the 4G / 5G cellular network, such as real-time monitoring data, alarm data, and distress data. Therefore, in areas where 4G / 5G base stations cannot cover, the T-Box network transmission capacity is limited, and all application data cannot be uploaded to the server.

[0003] The BeiDou-3 navigation system can achieve global service capabilities. The BeiDou-3 system inherits the two technical systems of BeiDou active service and passive service, and can provide three services for global users: positioning, navigation and timing (RNSS), global short message communication (GSMC) and international search and rescue (SAR); and provide four services for users in China and surrounding areas: satellite-based augmentation (SBAS), ground-based augmentation (GAS), precise point positioning (PPP) and regional short message communication (RSMC). Among them, the regional short message function supports the communication capacity of 1,000 Chinese characters per time.

[0004] In the existing technology, some solutions have emerged for the in-vehicle application of Beidou short messages. For example, in the existing technology, a smart in-vehicle device for rapid vehicle rescue services is provided, which strongly binds the work of Beidou short messages to a specific single function and only uploads vehicle location information, motion status information, time information, etc. to the rescue command center. In this existing technology, since the work of Beidou short messages is strongly bound to a specific single function, the communication value of Beidou short messages cannot be fully utilized, which limits its application potential in the field of vehicle networking; and if the binding relationship needs to be changed, the software of the T-Box can only be designed and changed, which is very inconvenient. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a vehicle data upload processing method, system, vehicle and storage medium, which integrates cellular network communication and Beidou short message communication, and flexibly configures the data upload method of application data through configuration files, effectively improving the flexibility and success rate of data upload, and improving user experience.

[0006] In order to solve the above technical problems, as one aspect of the present invention, a method for uploading and processing vehicle data is provided, which at least comprises the following steps:

[0007] Obtaining a data type of data to be uploaded, and determining a pre-configured data reporting mode according to the data type, wherein the data uploading mode is: uploading only through a cellular network, uploading only through a Beidou short message, or uploading through a cellular network first;

[0008] The uploaded data is packaged in a packaging method that is suitable for its data uploading method;

[0009] The encapsulated data is uploaded using the data upload method.

[0010] The step of obtaining the data type of the data to be uploaded and determining the pre-configured data reporting method according to the data type includes:

[0011] According to the data type of the data to be uploaded, a pre-stored configuration file is queried to determine the reporting method corresponding to the data type, wherein in the configuration file, different indication fields are used to record the corresponding relationship between different reporting methods and each data type.

[0012] The uploaded data is packaged in a packaging method that is suitable for the data upload method, including:

[0013] If the data upload method is to upload only through the cellular network or to upload through the cellular network first, the cellular network protocol is used to encapsulate the data to be uploaded;

[0014] If the data upload method is to upload only using Beidou short messages, the Beidou short message related protocols are used to encapsulate the uploaded data.

[0015] The encapsulated data is uploaded using the data upload method, including:

[0016] When the data upload method is to upload data only through the cellular network, a network connection is established between the T-Box and the TSP server, and the encapsulated data to be uploaded is placed in the buffer pool of the TCP / IP protocol stack, waiting for the cellular communication module to send data;

[0017] When the data upload method is to use only Beidou short message upload, the encapsulated data to be uploaded is placed in the Beidou short message module of the T-Box, sent to the Beidou system ground receiving station via Beidou short message, and then transmitted to the TSP server via Ethernet;

[0018] When the data uploading method is to prioritize cellular network uploading, the cellular network uploading method is used for uploading first; if it fails, the uploaded data is encapsulated according to the Beidou short message protocol and uploaded in Beidou short message mode.

[0019] Among them, further include:

[0020] If the T-Box does not receive an ACK response from the TSP server after uploading the data after exceeding the predetermined timeout threshold, the encapsulated data to be uploaded will be stored, and when the cellular network data or Beidou short message module meets the upload conditions, the data to be uploaded will be re-uploaded in the determined data upload method.

[0021] Among them, further include:

[0022] After the T-Box is started and successfully connected to the TSP server, a version matching request of the configuration file is reported to the TSP server, and the version matching request carries the current version number of the configuration file;

[0023] The T-Box receives a version matching reply message from the TSP server, which contains the latest version number and download address of the configuration file; if the latest version number is the same as the current version number, the download address in the reply message is empty;

[0024] T-Box downloads the latest configuration file through the download address and updates the current configuration file.

[0025] Accordingly, as another aspect of the present invention, a vehicle data upload processing system is also provided, which at least includes:

[0026] A reporting mode acquisition unit, used to acquire a data type of data to be uploaded, and determine a pre-configured data reporting mode according to the data type, wherein the data uploading mode is: uploading only through a cellular network, uploading only through a Beidou short message, or uploading through a cellular network in priority;

[0027] The encapsulation processing unit is used to encapsulate the uploaded data using an encapsulation method that is compatible with the data uploading method;

[0028] The upload processing unit is used to upload the encapsulated data using the data upload method.

[0029] Among them, the reporting method acquisition unit queries the indication field in the pre-stored configuration file according to the data type of the data to be uploaded to determine the reporting method corresponding to the data type, wherein in the configuration file, different indication fields are used to record the correspondence between different reporting methods and each data type.

[0030] Wherein, the packaging processing unit further includes:

[0031] A first encapsulation unit is used to encapsulate the data to be uploaded by using a cellular network protocol when the data upload mode is to upload only by using a cellular network or to upload by using a cellular network first;

[0032] The second encapsulation unit is used to encapsulate the uploaded data using Beidou short message related protocols when the data upload method is to upload only Beidou short messages.

[0033] The upload processing unit includes:

[0034] The first uploading unit is used to establish a network connection between the T-Box and the TSP server when the data uploading method is to upload data only through the cellular network, put the encapsulated data to be uploaded into the buffer pool of the TCP / IP protocol stack, and wait for the cellular communication module to send data;

[0035] The second uploading unit is used to put the encapsulated data to be uploaded into the Beidou short message module of the T-Box when the data uploading mode is to upload only the Beidou short message, send it to the Beidou system ground receiving station through the Beidou short message mode, and then transmit it to the TSP server through Ethernet;

[0036] The third uploading unit is used to first upload the data using the cellular network upload method when the data upload method is to prioritize the cellular network upload method; if it fails, encapsulate the uploaded data according to the Beidou short message protocol and upload it in the Beidou short message method.

[0037] Among them, further include:

[0038] The retransmission processing unit is used to store the encapsulated data to be uploaded after the T-Box uploads data. If no ACK response is received from the TSP server after exceeding the predetermined timeout threshold, the data to be uploaded will be re-uploaded in the determined data upload method when the cellular network data or Beidou short message module meets the upload conditions.

[0039] Among them, further include:

[0040] The configuration file updating unit is used to report a configuration file version matching request to the TSP server after the T-Box is started and successfully connected to the TSP server, wherein the version matching request carries the current version number of the configuration file; and receive a version matching reply message from the TSP server, download the latest configuration file according to the download address in the version matching reply message, and update the current configuration file.

[0041] As another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned method are implemented.

[0042] As another aspect of the present invention, a vehicle is provided, on which a T-Box is disposed, and the aforementioned system is deployed on the T-Box.

[0043] The implementation of the embodiments of the present invention has the following beneficial effects:

[0044] The present invention provides a method, system, vehicle and storage medium for uploading vehicle data. By adding a Beidou short message communication module to a T-Box product, a configuration file is used to pre-set the upload method of different application data of the T-Box; when the T-Box application function is triggered, the application data to be uploaded is uploaded to the cloud platform according to the preset data upload method, and the data upload method includes: uploading only using a cellular network, uploading only using a Beidou short message, and preferentially using a cellular network to upload (if it fails, Beidou short message upload is used). At the same time, the configuration file can be downloaded and updated in real time when the vehicle is started, so as to realize dynamic configuration of the network upload method of each application data. Since the system adds a Beidou short message communication module, the vehicle can still be uploaded to the cloud platform through the Beidou short message method in an environment without a cellular network, thereby improving the communication capability of the T-Box product and ensuring the availability of the vehicle networking function under different network environments.

[0045] In this embodiment, the data upload method of each application data of T-Box can be flexibly configured based on the data importance level and actual needs. When the upload method of application data needs to be changed, only the configuration file needs to be modified, avoiding design changes to the T-Box software and achieving fast and low-cost response to demand changes.

[0046] At the same time, for the important data collected by T-Box, alternative data upload channels have been added, which greatly improves the success rate of data upload, improves the vehicle's data monitoring stability and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For a person skilled in the art, other drawings obtained based on these drawings still belong to the scope of the present invention without creative labor.

[0048] Figure 1 A schematic diagram of the main process of an embodiment of a method for uploading and processing vehicle data provided by the present invention;

[0049] Figure 2 A schematic diagram of a flow chart of a configuration file updating process involved in the present invention;

[0050] Figure 3 A more detailed flowchart of the present invention for uploading using only a cellular network;

[0051] Figure 4 A more detailed flowchart of the present invention for uploading using only Beidou short messages;

[0052] Figure 5 A more detailed flowchart of the present invention for preferentially adopting cellular network uploading;

[0053] Figure 6 A schematic diagram of the structure of an embodiment of a vehicle data upload processing system provided by the present invention;

[0054] Figure 7 for Figure 6 A schematic diagram of the structure of the encapsulation processing unit;

[0055] Figure 8 for Figure 6 Schematic diagram of the structure of the upload processing unit. DETAILED DESCRIPTION

[0056] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0057] like Figure 1 FIG. 1 is a schematic diagram showing a main flow chart of an embodiment of a method for uploading and processing vehicle data provided by the present invention; and FIG. Figures 2 to 5 As shown, in this embodiment, the vehicle data upload processing method includes the following steps:

[0058] Step S10, the T-Box obtains the data type of the data to be uploaded, and determines a pre-configured data reporting method according to the data type, wherein the data uploading method is: uploading only through the cellular network, uploading only through the Beidou short message, or uploading through the cellular network first;

[0059] In a specific example, the step S10 includes:

[0060] According to the data type of the data to be uploaded, a pre-stored configuration file is queried to determine the reporting method corresponding to the data type, wherein in the configuration file, different indication fields are used to record the corresponding relationship between different reporting methods and each data type.

[0061] In the present invention, the data types of data to be uploaded are classified through configuration files. It can be understood that T-Box has rich interactive functions with TSP services, and there are many data types. According to the importance of different data types of T-Box and the actual monitoring needs, the present invention classifies the data uploaded by T-Box. The first category is to upload only by cellular network, such as uploading high-frequency periodic monitoring data; the second category is to upload only by Beidou short message, such as uploading alarm data in special scenarios; the third category is to upload by cellular network first. If the upload of such data fails, it will be converted to Beidou short message upload, such as collision or distress data.

[0062] The data upload method of T-Box application data is integrated into a configuration file according to the established format for T-Box software configuration. In the specific example, the first type of application data is uploaded only by cellular network, corresponding to the application data type under the cellularNetwork field in the configuration file; the second type of application data is uploaded only by Beidou short message, corresponding to the application data type under the rdss field in the configuration file; the third type of application data is uploaded preferentially by cellular network, corresponding to the application data type under the priorityCN field in the configuration file.

[0063] In a specific example, the configuration file may contain the following fields:

[0064] version: indicates the version number of the configuration file, which is used by T-BOX to match the configuration file version with the TSP server.

[0065] payload, indicating the main content of the configuration file. This field contains the contents of the cellularNetwork, rdss, and priorityCN fields.

[0066] cellularNetwork: indicates that data is uploaded via a cellular network, such as 4G / 5G network. This field contains multiple topics, appids, etc.

[0067] rdss, indicating that Beidou short messages are used to upload data. This field contains multiple topics, appids, etc.

[0068] priorityCN indicates that the cellular network is used to upload data first. If the upload fails, the Beidou short message is used to upload the data. This field contains multiple topics, appids, etc.

[0069] Topic: indicates the type of T-Box application data.

[0070] appid: indicates the type identifier of T-Box application data.

[0071] In the embodiment of the present invention, it is necessary to ensure that the configuration file stored on the T-Box end is the latest version of the file as much as possible, so a process for updating the configuration file is also set in the present invention.

[0072] In a specific example, the configuration file update process is as follows Figure 2 As shown, it further includes:

[0073] After the T-Box is started and successfully connected to the TSP server, a version matching request of the configuration file is reported to the TSP server, and the version matching request carries the current version number of the configuration file;

[0074] The T-Box receives a version matching reply message from the TSP server, which contains the latest version number and download address of the configuration file; if the latest version number is the same as the current version number, the download address in the reply message is empty;

[0075] Locally, T-Box downloads the latest configuration file through the download address and updates the current configuration file. After the new version of the configuration file is verified and confirmed to be correct, T-Box stores the new version of the configuration file in a storage area where data will not be lost during power failure, and starts to take effect and executes, while deleting the existing version of the configuration file. Optionally, in other examples, after the new version of the configuration file is stored, it can also take effect and execute at the next ignition cycle of the vehicle, and delete the existing version of the configuration file at the same time; and the existing version of the configuration file is still executed during this ignition cycle.

[0076] Step S11, encapsulating the data to be uploaded using a packaging method that is compatible with the data uploading method;

[0077] In a specific example, the step S11 includes:

[0078] If the data uploading method is to upload only through the cellular network or to upload through the cellular network first, the cellular network protocol is used to encapsulate the uploaded data; in a specific example, the cellular network protocol may be, for example, the MQTT protocol or the enterprise-specific ACP protocol;

[0079] If the data upload method is to upload only using Beidou short messages, the Beidou short message related protocol is used to encapsulate the uploaded data. In a specific example, the Regional Short Message Communication (RSMC) protocol provided by the Beidou navigation system can be used.

[0080] Step S12, uploading the encapsulated data using the data uploading method.

[0081] In a specific example, the step S12 further includes:

[0082] Step S120, when the data upload method is to upload only via the cellular network, a network connection is established between the T-Box and the TSP server, and the packaged data to be uploaded is placed in the buffer pool of the TCP / IP protocol stack, waiting for the cellular communication module to send data;

[0083] For details, please refer to Figure 3 As shown, for the T-Box application data type under the cellularNetwork field, it is first determined whether the network connection channel based on the cellular network is connected. If the T-Box is connected to the TSP server, the data to be uploaded is placed in the buffer pool of the TCP / IP protocol stack, waiting for the cellular communication module to send data; if the T-Box is not connected to the TSP server, a connection is created between the T-Box and the TSP server according to the communication protocol between the T-Box and the TSP server. After the connection is successful, the data to be uploaded is placed in the buffer pool of the TCP / IP protocol stack, waiting for the cellular communication module to send data.

[0084] Step S121, when the data upload mode is to upload only the Beidou short message mode, the encapsulated data to be uploaded is placed in the Beidou short message module of the T-Box, sent to the Beidou system ground receiving station via the Beidou short message mode, and then transmitted to the TSP server via Ethernet;

[0085] For details, please refer to Figure 4 As shown, for the T-Box application data type under the rdss field, the data to be uploaded is encapsulated according to the Beidou short message protocol, and the data to be uploaded is placed in the Beidou short message module, and the data is sent to the Beidou system ground receiving station through the Beidou short message method, and is transmitted to the TSP server through Ethernet.

[0086] Step S122, when the data uploading method is to prioritize the cellular network uploading method, the cellular network uploading method is used for uploading first; if it fails, the uploaded data is encapsulated according to the Beidou short message protocol and uploaded in Beidou short message mode.

[0087] For details, please refer to Figure 5As shown, for the T-Box application data type under the priorityCN field, it is first determined whether the network connection channel based on the cellular network is connected. If the T-Box is connected to the TSP, the data to be uploaded is placed in the buffer pool of the TCP / IP protocol stack, waiting for the cellular communication module to send data; if the T-Box is not connected to the TSP server, a connection between the T-Box and the TSP server is created according to the communication protocol between the T-Box and the TSP server. After the connection is successful, the data to be uploaded is placed in the buffer pool of the TCP / IP protocol stack, waiting for the cellular communication module to send data. If the application data fails to be sent through the cellular network channel, the data to be uploaded is encapsulated according to the Beidou short message protocol, and the data to be uploaded is placed in the Beidou short message module, and the data is sent to the Beidou system ground receiving station through the Beidou short message method, and transmitted to the TSP server through Ethernet.

[0088] In a specific example, the method provided by the present invention further comprises:

[0089] If the T-Box does not receive an ACK response from the TSP server after uploading the data after exceeding the predetermined timeout threshold, the encapsulated data to be uploaded will be stored, and when the cellular network data or Beidou short message module meets the upload conditions, the data to be uploaded will be re-uploaded in the determined data upload method.

[0090] Specifically, T-Box allocates a certain size of space in the memory where data is not lost when power is off. After T-Box uploads to the TSP server, the TSP server will generally reply an ACK message to T-Box. If the T-Box application layer still does not receive an ACK reply from the TSP server after waiting for the preset timeout period, it can be considered that T-Box has failed to upload data, and the data to be uploaded should be stored in the storage space where data is not lost when power is off. When the cellular network data or Beidou short message module is ready for upload, the data to be uploaded will be re-uploaded according to the data upload method in the configuration file.

[0091] In the present invention, by setting a data retransmission step, it is possible to avoid data loss caused by data upload failure when the vehicle is temporarily in an abnormal cellular network environment or an environment without Beidou satellite signals, thereby further improving the security and timeliness of the data.

[0092] It is understandable that the solution provided by the present invention is based on adding a Beidou short message communication module to the T-Box product, and setting different application data upload methods of the T-Box by means of configuration files. When the T-Box application function is triggered, the application data to be uploaded is uploaded to the cloud platform according to the preset data upload method. The data upload method includes: uploading only using the cellular network, uploading only using the Beidou short message, and preferentially using the cellular network to upload (if it fails, the Beidou short message is used for uploading). At the same time, the configuration file can be downloaded and updated in real time when the vehicle is started, so that the network transmission method of each application data can be dynamically configured. Since the system has added a Beidou short message communication module, the vehicle can still be uploaded to the cloud platform through the Beidou short message method in an environment without a cellular network, thereby improving the communication capability of the T-Box product and ensuring the availability of the vehicle network function under different network environments.

[0093] like Figure 6 FIG. 1 is a schematic diagram showing a structure of an embodiment of a vehicle data upload processing system provided by the present invention. Figure 7 and Figure 8 As shown, in this embodiment, the vehicle data upload processing system 1 at least includes:

[0094] The reporting mode acquisition unit 10 is used to obtain the data type of the data to be uploaded, and determine the pre-configured data reporting mode according to the data type, and the data uploading mode is: uploading only by cellular network, uploading only by Beidou short message, or uploading by cellular network first;

[0095] The encapsulation processing unit 11 is used to encapsulate the data to be uploaded using an encapsulation method that is compatible with the data uploading method;

[0096] An upload processing unit 12, used for uploading the encapsulated data using the data uploading method;

[0097] The retransmission processing unit 13 is used for storing the encapsulated data to be uploaded after the T-Box uploads the data, if no ACK reply is received from the TSP server after exceeding a predetermined timeout threshold, and re-uploading the data to be uploaded in the determined data upload mode when the cellular network data or Beidou short message module meets the upload conditions;

[0098] The configuration file updating unit 14 is used to report a version matching request of the configuration file to the TSP server after the T-Box is started and successfully connected to the TSP server, wherein the version matching request carries the current version number of the configuration file; and receive a version matching reply message from the TSP server, download the latest configuration file according to the download address in the version matching reply message, and update the current configuration file.

[0099] More specifically, the reporting method acquisition unit 10 queries the indication field in a pre-stored configuration file according to the data type of the data to be uploaded to determine the reporting method corresponding to the data type, wherein in the configuration file, different indication fields are used to record the correspondence between different reporting methods and each data type.

[0100] like Figure 7 As shown, the encapsulation processing unit 11 further includes:

[0101] The first encapsulation unit 110 is used to encapsulate the data to be uploaded by using the cellular network protocol when the data uploading mode is to upload only by using the cellular network or to upload by using the cellular network first;

[0102] The second encapsulation unit 111 is used to encapsulate the data to be uploaded by using Beidou short message related protocols when the data upload mode is to upload only Beidou short messages.

[0103] like Figure 8 As shown, the upload processing unit 12 includes:

[0104] The first uploading unit 120 is used to establish a network connection between the T-Box and the TSP server when the data uploading method is to upload data only through the cellular network, put the packaged data to be uploaded into the buffer pool of the TCP / IP protocol stack, and wait for the cellular communication module to send data;

[0105] The second uploading unit 121 is used for putting the encapsulated data to be uploaded into the Beidou short message module of the T-Box when the data uploading mode is to upload only the Beidou short message, sending it to the Beidou system ground receiving station through the Beidou short message mode, and then transmitting it to the TSP server through Ethernet;

[0106] The third uploading unit 122 is used to first upload the data using the cellular network upload method when the data upload method is to prioritize the cellular network upload method; if it fails, encapsulate the uploaded data according to the Beidou short message protocol and upload it in the Beidou short message method.

[0107] For more details, please refer to and combine the above Figures 1 to 5 The description is not repeated here.

[0108] As another aspect of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the above-mentioned Figures 1 to 5 For more details, please refer to and combine with the above Figures 1 to 5 The description is not repeated here.

[0109] As another aspect of the present invention, a vehicle is provided, on which a T-Box is arranged. Figures 6 to 8 For more details, please refer to and combine the above Figures 6 to 8 The description is not repeated here.

[0110] The implementation of the embodiments of the present invention has the following beneficial effects:

[0111] The present invention provides a method, system, vehicle and storage medium for uploading vehicle data. By adding a Beidou short message communication module to a T-Box product, a configuration file is used to pre-set the upload method of different application data of the T-Box; when the T-Box application function is triggered, the application data to be uploaded is uploaded to the cloud platform according to the preset data upload method, and the data upload method includes: uploading only using a cellular network, uploading only using a Beidou short message, and preferentially using a cellular network to upload (if it fails, Beidou short message upload is used). At the same time, the configuration file can be downloaded and updated in real time when the vehicle is started, so as to realize dynamic configuration of the network upload method of each application data. Since the system adds a Beidou short message communication module, the vehicle can still be uploaded to the cloud platform through the Beidou short message method in an environment without a cellular network, thereby improving the communication capability of the T-Box product and ensuring the availability of the vehicle networking function under different network environments.

[0112] In this embodiment, the data upload method of each application data of T-Box can be flexibly configured based on the data importance level and actual needs. When the upload method of application data needs to be changed, only the configuration file needs to be modified, avoiding design changes to the T-Box software and achieving fast and low-cost response to demand changes.

[0113] At the same time, for the important data collected by T-Box, alternative data upload channels have been added, which greatly improves the success rate of data upload, improves the vehicle's data monitoring stability and user experience.

[0114] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0115] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0116] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A method for uploading and processing vehicle data, characterized in that: At least the following steps are included: Obtaining a data type of data to be uploaded, and determining a pre-configured data reporting mode according to the data type, wherein the data uploading mode is: uploading only through a cellular network, uploading only through a Beidou short message, or uploading through a cellular network first; The uploaded data is packaged in a packaging method that is suitable for its data uploading method; The encapsulated data is uploaded using the data upload method.

2. The method according to claim 1, obtaining the data type of the data to be uploaded, and determining the pre-configured data reporting method according to the data type, comprising: According to the data type of the data to be uploaded, a pre-stored configuration file is queried to determine the reporting method corresponding to the data type, wherein in the configuration file, different indication fields are used to record the corresponding relationship between different reporting methods and each data type.

3. The method according to claim 2, characterized in that The uploaded data is packaged in a manner that is appropriate for the data upload method, including: If the data upload method is to upload only through the cellular network or to upload through the cellular network first, the cellular network protocol is used to encapsulate the data to be uploaded; If the data upload method is to upload only using Beidou short messages, the Beidou short message related protocols are used to encapsulate the uploaded data.

4. The method according to claim 3, characterized in that The encapsulated data is uploaded using the data upload method, including: When the data upload method is to upload data only through the cellular network, a network connection is established between the T-Box and the TSP server, and the encapsulated data to be uploaded is placed in the buffer pool of the TCP / IP protocol stack, waiting for the cellular communication module to send data; When the data upload method is to use only Beidou short message upload, the encapsulated data to be uploaded is placed in the Beidou short message module of the T-Box, sent to the Beidou system ground receiving station via Beidou short message, and then transmitted to the TSP server via Ethernet; When the data uploading method is to prioritize cellular network uploading, the cellular network uploading method is used for uploading first; if it fails, the uploaded data is encapsulated according to the Beidou short message protocol and uploaded in Beidou short message mode.

5. The method according to claim 4, characterized in that Further including: If the T-Box does not receive an ACK response from the TSP server after uploading data after exceeding the predetermined timeout threshold, the encapsulated data to be uploaded will be stored, and when the cellular network data or Beidou short message module meets the upload conditions, the data to be uploaded will be re-uploaded in the determined data upload method.

6. The method according to any one of claims 1 to 5, characterized in that: Further including: After the T-Box is started and successfully connected to the TSP server, a version matching request of the configuration file is reported to the TSP server, and the version matching request carries the current version number of the configuration file; The T-Box receives a version matching reply message from the TSP server, which contains the latest version number and download address of the configuration file; if the latest version number is the same as the current version number, the download address in the reply message is empty; T-Box downloads the latest configuration file through the download address and updates the current configuration file.

7. A vehicle data upload processing system, characterized in that: At least: A reporting mode acquisition unit, used to acquire a data type of data to be uploaded, and determine a pre-configured data reporting mode according to the data type, wherein the data uploading mode is: uploading only through a cellular network, uploading only through a Beidou short message, or uploading through a cellular network in priority; The encapsulation processing unit is used to encapsulate the uploaded data using an encapsulation method that is compatible with the data uploading method; The upload processing unit is used to upload the encapsulated data using the data upload method.

8. The system according to claim 7, wherein the reporting mode acquisition unit queries the indication field in the pre-stored configuration file according to the data type of the data to be uploaded to determine the reporting mode corresponding to the data type, wherein: In the configuration file, different indication fields are used to record the corresponding relationship between different reporting modes and various data types.

9. The system according to claim 8, characterized in that The packaging processing unit further comprises: A first encapsulation unit is used to encapsulate the data to be uploaded by using a cellular network protocol when the data upload mode is to upload only by using a cellular network or to upload by using a cellular network first; The second encapsulation unit is used to encapsulate the uploaded data using Beidou short message related protocols when the data upload method is to upload only Beidou short messages.

10. The device according to claim 9, characterized in that The upload processing unit includes: The first uploading unit is used to establish a network connection between the T-Box and the TSP server when the data uploading method is to upload data only through the cellular network, put the encapsulated data to be uploaded into the buffer pool of the TCP / IP protocol stack, and wait for the cellular communication module to send data; The second uploading unit is used to put the encapsulated data to be uploaded into the Beidou short message module of the T-Box when the data uploading mode is to upload only the Beidou short message, send it to the Beidou system ground receiving station through the Beidou short message mode, and then transmit it to the TSP server through Ethernet; The third uploading unit is used to first upload the data using the cellular network upload method when the data upload method is to prioritize the cellular network upload method; if it fails, encapsulate the uploaded data according to the Beidou short message protocol and upload it in the Beidou short message method.

11. The system according to claim 10, characterized in that Further including: The retransmission processing unit is used to store the encapsulated data to be uploaded after the T-Box uploads data. If no ACK response is received from the TSP server after exceeding the predetermined timeout threshold, the data to be uploaded will be re-uploaded in the determined data upload method when the cellular network data or Beidou short message module meets the upload conditions.

12. The system according to any one of claims 7 to 11, characterized in that Further including: The configuration file updating unit is used to report a configuration file version matching request to the TSP server after the T-Box is started and successfully connected to the TSP server, wherein the version matching request carries the current version number of the configuration file; and receive a version matching reply message from the TSP server, download the latest configuration file according to the download address in the version matching reply message, and update the current configuration file.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A vehicle having a T-Box mounted thereon, characterized in that: The system according to any one of claims 7 to 12 is deployed on the T-Box.

Citation Information

Cited By

  • Vehicle remote control method and device and vehicle-mounted T-BOX

    CN119485225A