Vehicle data return method, device, system, equipment and medium
By matching cloud script data on the return node to determine the storage path for offline return, the problem of poor data migration performance in traditional storage solutions is solved, and efficient data return is achieved.
Patent Information
- Application Number
- CN202511035838.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-09-26
AI Technical Summary
Traditional centralized storage solutions struggle to cope with massive amounts of data, resulting in poor data migration performance and low processing efficiency.
By obtaining the data to be returned at the return node, matching the return script data of the cloud server, determining the storage path, and performing offline return based on the script data, the data is uploaded to the cloud server using the corresponding storage path.
It improves the efficiency and performance of data backhaul, avoids data migration during cloud transmission, ensures that data arrives at the designated cloud as expected, and provides a stable and efficient cloud access channel.
Smart Images

Figure CN120711044A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission technology, and in particular to a vehicle data return control method, a vehicle data return device, a vehicle data return system, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the widespread adoption of autonomous driving technology and the expansion of test fleets, the amount of data collected is growing exponentially. Traditional centralized storage solutions often struggle to cope with such massive data volumes. Furthermore, centralized storage increases the workload of data migration, impacting data processing efficiency. Summary of the Invention
[0003] One of the purposes of the present invention is to provide a vehicle data feedback control method to solve the problems of poor data migration performance and low processing efficiency in the prior art; the second purpose is to provide a vehicle data feedback device; the third purpose is to provide a vehicle data feedback system; the fourth purpose is to provide a vehicle; and the fifth purpose is to provide a computer-readable storage medium.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] A vehicle data backhaul method, applied to a backhaul node, wherein the backhaul node is connected to a vehicle and a cloud server, comprises:
[0006] When the vehicle is connected, obtaining data to be transmitted back;
[0007] Obtaining the return script data matching the data to be returned from the cloud server;
[0008] Determine the storage path of the data to be returned based on the returned script data;
[0009] The data to be returned is uploaded to the cloud server based on the storage path.
[0010] Optionally, the step of obtaining the return script data matching the data to be returned from the cloud server includes:
[0011] Classify the data to be returned and determine the data type;
[0012] Match the returned script data that matches the data type in the cloud server.
[0013] Optionally, the step of determining a storage path of the data to be returned based on the returned script data includes:
[0014] Determining a return strategy based on the return script data;
[0015] A storage path for the data to be returned is determined based on the return strategy.
[0016] Optionally, the step of determining a return strategy based on the return script data includes:
[0017] Execute the returned script data to generate a path mapping table;
[0018] The path mapping table is determined to be a backhaul strategy.
[0019] Optionally, the step of determining the storage path of the data to be returned based on the return policy includes:
[0020] In the path mapping table, a storage path corresponding to the data to be returned is determined.
[0021] Optionally, the vehicle has an external storage medium, and the external storage medium stores the data to be transmitted back; the method further includes:
[0022] In response to the external storage medium being inserted, determining that the vehicle is connected;
[0023] The step of obtaining the data to be returned includes:
[0024] The data to be transmitted back is read from the external storage medium.
[0025] Optionally, the method further includes:
[0026] receiving a modification instruction for the returned script data, wherein the modification instruction carries modification data;
[0027] The return script data is updated based on the modification data.
[0028] A vehicle data return device, applied to a return node end, wherein the return node end is connected to the vehicle and a cloud server, and the device comprises:
[0029] A first acquisition module is used to acquire the data to be returned when the vehicle is connected;
[0030] A second acquisition module is used to obtain the return script data matching the data to be returned from the cloud server;
[0031] A path determination module, configured to determine a storage path for the data to be returned based on the returned script data;
[0032] The uploading module is used to upload the data to be returned to the cloud server based on the storage path.
[0033] A vehicle data return system includes a vehicle, a return node, and a cloud server, wherein the cloud server is connected to the return node, which is connected to the vehicle; the vehicle stores data to be returned, and the cloud server stores return script data; the return node is configured to perform the following steps:
[0034] When the vehicle is connected, obtaining data to be transmitted back;
[0035] Obtaining the return script data matching the data to be returned from the cloud server;
[0036] Determine the storage path of the data to be returned based on the returned script data;
[0037] The data to be returned is uploaded to the cloud server based on the storage path.
[0038] Optionally, the backhaul node is connected to the cloud server via a dedicated network.
[0039] An electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the vehicle data return method described above.
[0040] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the vehicle data return transmission method described above.
[0041] Beneficial effects of the present invention:
[0042] The embodiment of the present invention performs offline backhaul through the backhaul node end, and controls the backhaul position based on the backhaul node end by sending down script configuration; and determines the corresponding backhaul script data based on the characteristics of the data to be returned, and adopts the corresponding storage path for backhaul determination, so as to ensure that the scene data uploaded by the corresponding node can reach the designated cloud as expected, thereby avoiding data migration during cloud transmission, and improving the efficiency and performance of data backhaul. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A flowchart of a method for transmitting vehicle data according to an embodiment of the present invention;
[0044] Figure 2 A flowchart of another embodiment of a vehicle data transmission method according to the present invention;
[0045] Figure 3 A flowchart illustrating the steps of a vehicle data transmission method according to the present invention;
[0046] Figure 4 This is a schematic diagram of an example of a vehicle data return system of the present invention;
[0047] Figure 5 A schematic diagram of a vehicle data return system example of the present invention;
[0048] Figure 6 A schematic diagram of a mapping relationship of a path mapping table of the present invention;
[0049] Figure 7 A flowchart of the operating steps of an example of a vehicle data return system of the present invention;
[0050] Figure 8 This is a structural block diagram of an embodiment of a vehicle data return device of the present invention;
[0051] Figure 9 is a schematic diagram of an electronic device embodiment of the present invention;
[0052] Figure 10 A schematic diagram of an embodiment of a computer storage medium of the present invention. DETAILED DESCRIPTION
[0053] The following describes the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the various details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.
[0054] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0055] Reference Figure 1, which shows a flowchart of the steps of an embodiment of a vehicle data backhaul method according to the present invention. The vehicle data backhaul method is applied to a backhaul node, which is connected to the vehicle and a cloud server. A backhaul node is a device with data storage and transmission capabilities. The backhaul node can be an offline backhaul node, consisting of data storage, data processing, and transmission equipment deployed in a computer room. The backhaul node can be connected to the vehicle and the cloud server respectively, meaning that vehicle data is forwarded to the cloud server via the backhaul node as a relay. Backhaul nodes can be deployed in different locations based on different application scenarios and geographical environments. In terms of vehicle test scenario distribution, for example, in complex urban road scenarios or extremely cold weather scenarios, where vehicle data requires processing under extreme conditions, backhaul nodes can be deployed in these locations to upload test data collected in these scenarios. In terms of geographical environment, backhaul nodes can also be deployed in areas with large land areas, sparse populations, and lower construction costs compared to other cities, for large-scale data collection and upload. In terms of network coverage, backhaul nodes can also be deployed in areas with excellent network coverage to upload data with high real-time requirements.
[0056] The vehicle data transmission method specifically includes the following steps:
[0057] Step 101, when the vehicle is connected, obtaining the data to be returned;
[0058] When connected to a vehicle, the data to be transmitted back can be obtained from the vehicle.
[0059] Step 102: Obtaining the return script data matching the data to be returned from the cloud server;
[0060] According to the data characteristics of the data to be returned, return script data matching the data to be returned is obtained from the cloud server.
[0061] Step 103: determining a storage path of the data to be returned based on the returned script data;
[0062] Determine the storage path for the data to be returned based on the return method specified in the return script. The storage path represents the storage index location of the data to be returned in the cloud service.
[0063] Step 104: Upload the data to be returned to the cloud server based on the storage path.
[0064] Based on the index location corresponding to the storage path, the data to be returned is uploaded to the corresponding location on the cloud server. Subsequently, specialized analysis and processing of various types of data are performed based on the data in the cloud server. For example, the data can be used to train autonomous driving algorithms, accelerating model iteration through simulation of different scenarios to meet technical R&D requirements; core sensitive data can be desensitized and declassified to ensure data compliance and meet legal and regulatory requirements; and the data can be used to analyze historical user behavior data, generate personalized service models, and optimize the user experience.
[0065] The embodiment of the present invention obtains the data to be transmitted back when connected to the vehicle; obtains the transmission script data matching the data to be transmitted back in the cloud server; determines the storage path of the data to be transmitted back based on the transmission script data; and uploads the data to be transmitted back to the cloud server based on the storage path. Offline transmission is performed through the transmission node end, and the transmission position of the transmission node end is controlled by sending the script configuration; and the corresponding transmission script data is determined based on the characteristics of the data to be transmitted back, and the corresponding storage path is used for transmission back, so as to ensure that the scene data uploaded by the corresponding node can reach the designated cloud as expected, thereby avoiding data migration during cloud transmission and improving the efficiency and performance of data transmission.
[0066] Reference Figure 2 , showing a flow chart of the steps of another embodiment of the vehicle data return method of the present invention. The vehicle data return method is applied to the return node end, and the return node end is connected to the vehicle and the cloud server. The vehicle has an external storage medium, and the external storage medium stores the data to be returned. When the vehicle collects data, the data collected by the sensors in the vehicle is stored in the external storage medium to form the data to be returned. The return node end can be connected to multiple storage media. The cloud server is the server where the cloud storage space is located. Including but not limited to Baidu Cloud, Volcano Cloud, Tencent Cloud, etc. The return node end is connected to the vehicle and the cloud server respectively.
[0067] The vehicle data transmission method specifically includes the following steps:
[0068] Step 201, in response to the external storage medium being inserted, determining that the vehicle is connected;
[0069] When the external storage medium in the vehicle is inserted into the backhaul node, it can be determined that the vehicle is connected to the backhaul node. Therefore, the backhaul node can determine that the vehicle is connected in response to the insertion of the external storage medium.
[0070] The external storage medium can be inserted into the backhaul node via SATA (Serial Bus) access, USB (Universal Serial Bus) access, or the like.
[0071] Step 202: When the vehicle is connected, obtain the data to be transmitted back;
[0072] When a vehicle is connected to the backhaul node, the data to be returned can be obtained. Therefore, when a vehicle is connected, the data to be returned can be obtained from it.
[0073] Furthermore, the step of obtaining the data to be transmitted back includes: reading the data to be transmitted back from the external storage medium.
[0074] The data to be transmitted back can be read directly from the external storage medium, so that when the vehicle is connected, the data to be transmitted back can be directly read through the port, avoiding abnormal data transmission due to network fluctuations, and ensuring the transmission efficiency and reliability of the data to be transmitted back.
[0075] Step 203: Obtaining the return script data matching the data to be returned from the cloud server;
[0076] The return script data that matches the data to be returned can be obtained in the cloud server
[0077] In an optional embodiment of the present invention, the step of obtaining the return script data in the cloud server that matches the data to be returned includes: classifying the data to be returned and determining the data type; and matching the return script data that matches the data type in the cloud server.
[0078] Step 204: determining a storage path for the data to be returned based on the returned script data;
[0079] The storage path of the data to be returned can be determined based on the method in the returned script data.
[0080] In an optional embodiment of the present invention, the step of obtaining the return script data matching the data to be returned from the cloud server includes:
[0081] Sub-step S2041, classifying the data to be returned and determining the data type;
[0082] The data to be returned is classified based on source, timeliness, etc. to determine the data type of the data to be returned.
[0083] Sub-step S2042, matching the returned script data that matches the data type in the cloud server.
[0084] The cloud server matches the data type of the data to be returned with the return script data. This allows for automated processing of the data based on the return script data, improving processing efficiency.
[0085] In an optional embodiment of the present invention, the step of determining the storage path of the data to be returned based on the return script data includes: determining a return strategy based on the return script data; and determining the storage path of the data to be returned based on the return strategy.
[0086] A corresponding return strategy can be determined based on the configuration information in the returned script data, and a storage path for the data to be returned can be determined based on the return strategy.
[0087] Specifically, the step of determining the return strategy based on the return script data includes: executing the return script data to generate a path mapping table; and determining the path mapping table as the return strategy.
[0088] In actual applications, the script data can be executed and based on the corresponding configuration content, a mapping table is established between the data type and the storage space on the cloud server, that is, a path mapping table. The path mapping table is determined as the return strategy.
[0089] For example, data collected on city roads, parking lots, and highways are stored in / share / nas / cityroad, / share / nas / parking, and / share / nas / expressway, respectively. A mapping is established between the data storage path and the cloud server.
[0090] Furthermore, the step of determining the storage path of the data to be returned based on the return strategy includes: determining a storage path corresponding to the data to be returned in the path mapping table.
[0091] After the path mapping table is determined, a match can be performed based on the data type of the data to be returned from the path mapping table, and the corresponding mapping relationship can be queried to determine the storage path corresponding to the data to be returned.
[0092] Step 205: uploading the data to be returned to the cloud server based on the storage path;
[0093] The data to be returned can be uploaded to the cloud server using a certain storage path, and the cloud space in the cloud server will be used for data storage.
[0094] Step 206: receiving a modification instruction for the returned script data, wherein the modification instruction carries modification data;
[0095] When the returned script data needs to be modified, a modification instruction can be issued. A modification instruction for the returned script data can be received. The modification instruction carries the modification data.
[0096] Step 207: Update the return script data based on the modified data.
[0097] The return script data is updated based on the modified data, so that the corresponding return strategy in the return script data can be dynamically adjusted, so that the return strategy can adapt to more different scenarios and improve practicality.
[0098] The embodiment of the present invention determines vehicle access in response to the insertion of an external storage medium; obtains data to be transmitted back when the vehicle is connected; obtains transmission script data in the cloud server that matches the data to be transmitted back; determines the storage path of the data to be transmitted back based on the transmission script data; uploads the data to be transmitted back to the cloud server based on the storage path; receives a modification instruction for the transmission script data, the modification instruction carries modification data; and updates the transmission script data based on the modification data. Offline transmission is performed through the transmission node end, and the transmission position of the transmission node end is controlled by sending the script configuration; and the corresponding transmission script data is determined based on the characteristics of the data to be transmitted back, and the corresponding storage path is used for transmission back, so as to ensure that the scene data uploaded by the corresponding node can reach the designated cloud as expected, thereby avoiding data migration during cloud transmission, and improving the efficiency and performance of data transmission. By deploying an offline return terminal, a stable and efficient cloud access channel is provided for the vehicle, solving the problems of slow return speed and unstable return channel. By updating the return script data, the corresponding return strategy in the return script data can be dynamically adjusted, so that the return strategy can adapt to more different scenarios and improve practicality.
[0099] In order to make the implementation process of the embodiment of the present invention clear to those skilled in the art, an example is used to illustrate: Figure 3 ,
[0100] Step S11, establishing and maintaining cloud script server information on the offline data recovery strategy management system;
[0101] Step S12: Complete the writing of the data return script and upload it to the offline data recovery strategy management system;
[0102] Step S13: publish and deploy the data return script to the cloud script server;
[0103] Step S14: After the vehicle completes data collection, the storage medium storing the collected data is connected to the offline backhaul node (i.e., the backhaul node end);
[0104] Step S15: The offline return node pulls the script from the corresponding cloud script server and executes it;
[0105] Step S16, scanning the data storage path in the storage medium and uploading the data to the designated cloud object storage according to the mapping relationship between the storage path in the script and the cloud object storage data upload path;
[0106] Step S17: Perform special analysis and processing on various types of data for different cloud object storages.
[0107] An embodiment of the present invention also discloses a vehicle data return system. The vehicle data return system includes a vehicle, a return node, and a cloud server. The cloud server is connected to the return node, which is in turn connected to the vehicle. The vehicle stores data to be returned, and the cloud server stores return script data. The return node is configured to perform the following steps: upon accessing the vehicle, obtain the data to be returned; obtain return script data from the cloud server that matches the data to be returned; determine a storage path for the data to be returned based on the return script data; and upload the data to be returned to the cloud server based on the storage path.
[0108] The vehicle data backhaul system includes the vehicle, a backhaul node, and a cloud server. An external storage medium is connected to the test vehicle to store data collected by the vehicle's sensors. Based on different test scenarios, testers categorize and store the collected data for different scenarios on the storage medium. After the storage medium completes data collection and storage, the backhaul node serves as a data upload channel, enabling efficient transmission from local storage to the cloud. Backhaul nodes can be deployed in various regions based on factors such as the distribution of vehicle test scenarios, geographic environment, and network coverage. Each backhaul node consists of a data storage device (such as a network-attached storage device) and a script module deployed in the computer room. The operating system of the data storage device is initialized to ensure it can correctly identify and read the data content of the storage medium. Regarding network configuration, a 10G switching network is constructed within the computer room to ensure efficient communication between the data storage device and external ports. Scripts controlling the data backhaul location can be uploaded to the cloud server and published to the cloud script server. When the data storage device in the return node is connected to the storage medium, it will pull the script from the cloud script server, deploy it locally and execute it, and then upload the data in the storage medium to the specified cloud object storage according to the return location configured in the script, thereby achieving precise control of the return location. The specific upload method can refer to the above embodiment. For an example of a vehicle data return system, Figure 4 As shown, it includes a vehicle 301, a vehicle sensor 3011, an external storage medium 3012 of the vehicle, an offline return node 302 (i.e., a return node end), a data storage device 3021, a script module 3022, and a cloud object storage 303 (i.e., a cloud server).
[0109] Vehicle 301 is connected to sensors 3011 and storage media 3012. When the vehicle collects data, the sensor data is stored in the storage media. Offline backhaul node 302 includes a data storage device 3021 and a script module 3022. Each data storage device can access multiple storage media. After data collection is complete, the vehicle's external storage media is removed and transferred to the data storage device 3021 of the offline backhaul node 302. At this point, the script module 3022 in the offline backhaul node 302 retrieves the script from the cloud-based script server and executes it locally.
[0110] The embodiment of the present invention obtains the data to be transmitted back when connected to the vehicle; obtains the transmission script data matching the data to be transmitted back in the cloud server; determines the storage path of the data to be transmitted back based on the transmission script data; and uploads the data to be transmitted back to the cloud server based on the storage path. Offline transmission is performed through the transmission node end, and the transmission position of the transmission node end is controlled by sending the script configuration; and the corresponding transmission script data is determined based on the characteristics of the data to be transmitted back, and the corresponding storage path is used for transmission back, so as to ensure that the scene data uploaded by the corresponding node can reach the designated cloud as expected, thereby avoiding data migration during cloud transmission and improving the efficiency and performance of data transmission.
[0111] In an optional embodiment of the present invention, the backhaul node is connected to the cloud server via a dedicated network line. By setting up a dedicated network line between the backhaul node and the cloud server, a high-speed transmission channel is established from the computer room to the cloud object storage, thereby ensuring stable transmission and improving transmission quality and performance.
[0112] In order to make the implementation process of the embodiments of the present invention clear to those skilled in the art, some examples are used below for illustration:
[0113] The framework for data return can be as follows Figure 5As shown, the system may include an offline data recovery policy management system 101, a cloud-based script server 102, an offline data return node 103, and a cloud-based object storage 104. The offline data recovery policy management system 101 manages the cloud-based script server 102. Depending on the data return policy, the offline data recovery policy management system 101 uploads a script for controlling the data return location and deploys the script to the corresponding cloud-based script server 102. The cloud-based script server 102 acts as a proxy between the offline data recovery policy management system 101 and the offline data return node 103. Because the offline data return node networks in different regions are isolated from each other, multiple cloud-based script servers are required for management. When the offline data return node 103 accesses the storage medium where vehicle data has been collected, it pulls the script from the corresponding cloud-based script server and stores it locally. Based on the correspondence between the storage medium data storage path and the cloud-based object storage data upload path specified in the script, the offline data return node 103 categorizes and uploads the data to the designated cloud-based object storage 104. The cloud-based object storage 104 stores the uploaded collected data, and subsequent specialized analysis and processing of each type of data is performed based on the different cloud-based object storages 104.
[0114] Furthermore, the mapping relationship in the path mapping table of the return process can be referred to Figure 6 The structure of the data return location consists of the following parts: offline return node 501 (data return end), data storage device 5011, script module 5012, cloud object storage 502 (cloud server), Tencent Cloud object storage 5021, Baidu Cloud object storage 5022 and Volcano Cloud object storage 5023.
[0115] The data collected on urban roads, parking lots and highways are stored in / share / nas / cityroad, / share / nas / parking and / share / nas / expressway respectively. The script module 5012 in the offline return node 501 will pull the scripts in the cloud script server to the local computer. Each script will establish a mapping from the data storage path to the cloud object storage data upload path. For example, the data collected and stored in the parking lot / share / nas / parking will be scanned and uploaded to the / cos / bucket / parking path of Tencent Cloud 5021 by the script. According to the expansion and adjustment of the collection test scenario, the content of the script mapping table can be continuously added, deleted or modified, and the script mapping tables under different offline return nodes 501 can also be adjusted as needed, realizing flexible control of the data return location. When performing subsequent data processing, it is only necessary to extract data from the designated cloud object storage according to the agreement. For example, when it is necessary to analyze the collected data on the highway, it is only necessary to go to the / tos / bucket / expressway path of Volcano Cloud to extract data for analysis, which reduces the workload of cloud data migration and solves the problem of chaotic cloud data processing.
[0116] For the specific process of data return, please refer to Figure 7 :
[0117] Step S21, the vehicle is connected to the sensor and storage medium;
[0118] Step S22, storing the data collected by the sensor in an external storage medium when the vehicle is tested;
[0119] Step S23: After the vehicle completes the data collection test, the external storage medium is removed from the vehicle and migrated to the data storage device of the offline backhaul node (i.e., the backhaul node end);
[0120] Step S24: The script module of the offline return node pulls the script from the cloud script server to the local computer and executes it;
[0121] In step S25, the script scans the storage path in the storage medium and transmits the data in the storage medium back to the corresponding cloud object storage through the network dedicated line.
[0122] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0123] Reference Figure 8 , shows a structural block diagram of an embodiment of a vehicle data return transmission device of the present invention. The vehicle data return transmission device is applied to a return transmission node end, and the return transmission node end is connected to the vehicle and the cloud server. The vehicle data return transmission device may specifically include the following modules:
[0124] A first acquisition module 801 is used to acquire data to be returned when the vehicle is connected;
[0125] The second acquisition module 802 is used to obtain the return script data matching the data to be returned from the cloud server;
[0126] A path determination module 803 is configured to determine a storage path for the data to be returned based on the returned script data;
[0127] The uploading module 804 is configured to upload the data to be returned to the cloud server based on the storage path.
[0128] In an optional embodiment of the present invention, the second obtaining module 802 includes:
[0129] A classification submodule, configured to classify the data to be returned and determine the data type;
[0130] The matching submodule is used to match the returned script data that matches the data type in the cloud server.
[0131] In an optional embodiment of the present invention, the path determination module 803 includes:
[0132] A strategy determination submodule, configured to determine a return strategy based on the return script data;
[0133] The path determination submodule is configured to determine a storage path for the data to be returned based on the return strategy.
[0134] In an optional embodiment of the present invention, the policy determination submodule includes:
[0135] An execution unit, configured to execute the returned script data and generate a path mapping table;
[0136] The strategy determining unit is configured to determine that the path mapping table is a backhaul strategy.
[0137] In an optional embodiment of the present invention, the path determination submodule includes:
[0138] A mapping unit is used to determine a storage path corresponding to the data to be returned in the path mapping table.
[0139] In an optional embodiment of the present invention, the vehicle has an external storage medium, and the external storage medium stores the data to be transmitted back; the device further includes:
[0140] an access module, configured to determine access of the vehicle in response to insertion of the external storage medium;
[0141] The first acquisition module 801 includes:
[0142] The reading submodule is used to read the data to be transmitted back from the external storage medium.
[0143] In an optional embodiment of the present invention, the device further comprises:
[0144] A receiving module, configured to receive a modification instruction for the returned script data, wherein the modification instruction carries modification data;
[0145] An updating module is used to update the return script data based on the modification data.
[0146] The embodiment of the present invention obtains the data to be transmitted back when connected to the vehicle; obtains the transmission script data matching the data to be transmitted back in the cloud server; determines the storage path of the data to be transmitted back based on the transmission script data; and uploads the data to be transmitted back to the cloud server based on the storage path. Offline transmission is performed through the transmission node end, and the transmission position of the transmission node end is controlled by sending the script configuration; and the corresponding transmission script data is determined based on the characteristics of the data to be transmitted back, and the corresponding storage path is used for transmission back, so as to ensure that the scene data uploaded by the corresponding node can reach the designated cloud as expected, thereby avoiding data migration during cloud transmission and improving the efficiency and performance of data transmission.
[0147] Reference Figure 9 An embodiment of the present invention further provides an electronic device, comprising: a processor 901, a memory 902, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the vehicle data return method described above. The vehicle data return method is applied to a return node end, wherein the return node end is connected to the vehicle and a cloud server, and the method includes:
[0148] When the vehicle is connected, obtaining data to be transmitted back;
[0149] Obtaining the return script data matching the data to be returned from the cloud server;
[0150] Determine the storage path of the data to be returned based on the returned script data;
[0151] The data to be returned is uploaded to the cloud server based on the storage path.
[0152] Optionally, the step of obtaining the return script data matching the data to be returned from the cloud server includes:
[0153] Classify the data to be returned and determine the data type;
[0154] Match the returned script data that matches the data type in the cloud server.
[0155] Optionally, the step of determining a storage path of the data to be returned based on the returned script data includes:
[0156] Determining a return strategy based on the return script data;
[0157] A storage path for the data to be returned is determined based on the return strategy.
[0158] Optionally, the step of determining a return strategy based on the return script data includes:
[0159] Execute the returned script data to generate a path mapping table;
[0160] The path mapping table is determined to be a backhaul strategy.
[0161] Optionally, the step of determining the storage path of the data to be returned based on the return policy includes:
[0162] In the path mapping table, a storage path corresponding to the data to be returned is determined.
[0163] Optionally, the vehicle has an external storage medium, and the external storage medium stores the data to be transmitted back; the method further includes:
[0164] In response to the external storage medium being inserted, determining that the vehicle is connected;
[0165] The step of obtaining the data to be returned includes:
[0166] The data to be transmitted back is read from the external storage medium.
[0167] Optionally, the method further includes:
[0168] receiving a modification instruction for the returned script data, wherein the modification instruction carries modification data;
[0169] The return script data is updated based on the modification data.
[0170] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.
[0171] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0172] The embodiment of the present invention obtains the data to be transmitted back when connected to the vehicle; obtains the transmission script data matching the data to be transmitted back in the cloud server; determines the storage path of the data to be transmitted back based on the transmission script data; and uploads the data to be transmitted back to the cloud server based on the storage path. Offline transmission is performed through the transmission node end, and the transmission position of the transmission node end is controlled by sending the script configuration; and the corresponding transmission script data is determined based on the characteristics of the data to be transmitted back, and the corresponding storage path is used for transmission back, so as to ensure that the scene data uploaded by the corresponding node can reach the designated cloud as expected, thereby avoiding data migration during cloud transmission and improving the efficiency and performance of data transmission.
[0173] Reference Figure 10 The present invention also provides a computer-readable storage medium 1001, which stores a computer program. When executed by a processor, the computer program executes the steps of the vehicle data return method described in any one of the embodiments of the present invention. The vehicle data return method is applied to a return node, which is connected to a vehicle and a cloud server. The method includes:
[0174] When the vehicle is connected, obtaining data to be transmitted back;
[0175] Obtaining the return script data matching the data to be returned from the cloud server;
[0176] Determine the storage path of the data to be returned based on the returned script data;
[0177] The data to be returned is uploaded to the cloud server based on the storage path.
[0178] Optionally, the step of obtaining the return script data matching the data to be returned from the cloud server includes:
[0179] Classify the data to be returned and determine the data type;
[0180] Match the returned script data that matches the data type in the cloud server.
[0181] Optionally, the step of determining a storage path of the data to be returned based on the returned script data includes:
[0182] Determining a return strategy based on the return script data;
[0183] A storage path for the data to be returned is determined based on the return strategy.
[0184] Optionally, the step of determining a return strategy based on the return script data includes:
[0185] Execute the returned script data to generate a path mapping table;
[0186] The path mapping table is determined to be a backhaul strategy.
[0187] Optionally, the step of determining the storage path of the data to be returned based on the return policy includes:
[0188] In the path mapping table, a storage path corresponding to the data to be returned is determined.
[0189] Optionally, the vehicle has an external storage medium, and the external storage medium stores the data to be transmitted back; the method further includes:
[0190] In response to the external storage medium being inserted, determining that the vehicle is connected;
[0191] The step of obtaining the data to be returned includes:
[0192] The data to be transmitted back is read from the external storage medium.
[0193] Optionally, the method further includes:
[0194] receiving a modification instruction for the returned script data, wherein the modification instruction carries modification data;
[0195] The return script data is updated based on the modification data.
[0196] The embodiment of the present invention obtains the data to be transmitted back when connected to the vehicle; obtains the transmission script data matching the data to be transmitted back in the cloud server; determines the storage path of the data to be transmitted back based on the transmission script data; and uploads the data to be transmitted back to the cloud server based on the storage path. Offline transmission is performed through the transmission node end, and the transmission position of the transmission node end is controlled by sending the script configuration; and the corresponding transmission script data is determined based on the characteristics of the data to be transmitted back, and the corresponding storage path is used for transmission back, so as to ensure that the scene data uploaded by the corresponding node can reach the designated cloud as expected, thereby avoiding data migration during cloud transmission and improving the efficiency and performance of data transmission.
[0197] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to in detail.
[0198] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, embodiments of the present invention may take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining software and hardware. Furthermore, embodiments of 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 magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0199] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the 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 the 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 terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process 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.
[0200] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0201] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0202] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or modification made by those skilled in the art based on the present invention is within the protection scope of the present invention.
Claims
1. A vehicle data return method, characterized in that: Applied to a backhaul node, the backhaul node is connected to a vehicle and a cloud server, and the method includes: When the vehicle is connected, obtaining data to be transmitted back; Obtaining the return script data matching the data to be returned from the cloud server; Determine the storage path of the data to be returned based on the returned script data; The data to be returned is uploaded to the cloud server based on the storage path.
2. The method according to claim 1, characterized in that The step of obtaining the return script data matching the data to be returned from the cloud server includes: Classify the data to be returned and determine the data type; Match the returned script data that matches the data type in the cloud server.
3. The method according to claim 1, characterized in that The step of determining the storage path of the data to be returned based on the returned script data includes: Determining a return strategy based on the return script data; A storage path for the data to be returned is determined based on the return strategy.
4. The method according to claim 3, characterized in that The step of determining the return strategy based on the return script data includes: Execute the returned script data to generate a path mapping table; The path mapping table is determined to be a backhaul strategy.
5. The method according to claim 4, characterized in that The step of determining the storage path of the data to be returned based on the return strategy includes: In the path mapping table, a storage path corresponding to the data to be returned is determined.
6. The method according to claim 1, wherein The vehicle has an external storage medium, and the external storage medium stores the data to be transmitted back; The method further comprises: In response to the external storage medium being inserted, determining that the vehicle is connected; The step of obtaining the data to be returned includes: The data to be transmitted back is read from the external storage medium.
7. The method according to claim 1, characterized in that The method further comprises: receiving a modification instruction for the returned script data, wherein the modification instruction carries modification data; The return script data is updated based on the modification data.
8. A vehicle data return device, characterized in that: Applied to a backhaul node end, the backhaul node end is connected to a vehicle and a cloud server, and the device includes: A first acquisition module is used to acquire the data to be returned when the vehicle is connected; A second acquisition module is used to obtain the return script data matching the data to be returned from the cloud server; A path determination module, configured to determine a storage path for the data to be returned based on the returned script data; The uploading module is used to upload the data to be returned to the cloud server based on the storage path.
9. A vehicle data return system, characterized in that: The system comprises a vehicle, a backhaul node, and a cloud server, wherein the cloud server is connected to the backhaul node, and the backhaul node is connected to the vehicle; the vehicle stores data to be backhauled, and the cloud server stores backhaul script data; the backhaul node is configured to perform the following steps: When the vehicle is connected, obtaining data to be transmitted back; Obtaining the return script data matching the data to be returned from the cloud server; Determine the storage path of the data to be returned based on the returned script data; The data to be returned is uploaded to the cloud server based on the storage path.
10. The vehicle data return system according to claim 9, characterized in that: The backhaul node is connected to the cloud server via a dedicated network.
11. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the vehicle data return method according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the vehicle data return method according to any one of claims 1 to 9 are implemented.